@charset "UTF-8";

/* ----------------
    contact_intro text
* ---------------- */
.contact_intro {
    text-align: left;
}

@media print, screen and (min-width: 768px) {
    .contact_intro {
        text-align: center;
    }
}

/* ----------------
    tel fax
* ---------------- */
.contact_telarea {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

@media print, screen and (min-width: 768px) {
    .contact_telarea {
        flex-direction: row;
    }
}

.contact_telarea .tel,
.contact_telarea .fax{
    text-align: center;
    margin: 10px 0;
}

@media print, screen and (min-width: 768px) {
    .contact_telarea .tel,
    .contact_telarea .fax{
        margin: 10px 30px;
    }
}

.contact_telarea h3{
    line-height: 1.2;
    font-size: 22px;
    letter-spacing: 0.1em;
}

.contact_telarea .number{
    position: relative;
    display: block;
    margin: 10px auto;
    padding-left: 20px;
    width: 300px;
    line-height: 2;
    font-size: 26px;
    letter-spacing: 0.05em;
    color: #fff;
    border-radius: 3px;
    background: #2096ba;
}

@media print, screen and (min-width: 1200px) {
    .contact_telarea .number{
        width: 360px;
        font-size: 32px;
    }
}

.contact_telarea .number.tel::after,
.contact_telarea .number.fax::after{
    content: '';
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    display: block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.contact_telarea .number.tel::after{
    background-image: url(../images/contact/tel_icn.svg);
}
.contact_telarea .number.fax::after{
    background-image: url(../images/contact/fax_icn.svg);
}



/* ----------------
    mail
* ---------------- */
.required {
    padding: 0.1em 0.25em;
    margin: 0 0.1em;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    background: red;
}

/* ----------------
    form
* ---------------- */
/* form required */
.contact_form .required{
    margin-left: 5px;
}

/* form table */
.table-contact {
    line-height: 1.6666;
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #ccc;
    margin-bottom: 20px;
}

.table-contact>tbody>tr {
    border-bottom: 1px solid #ccc;
}

.table-contact>tbody>tr>th, .table-contact>tbody>tr>td {
    padding: 1em 0;
}

.table-contact>tbody>tr>th {
    font-weight: bold;
    text-align: left;
    width: 16em;
    padding-left: 1em;
}

.table-contact>tbody>tr>th.hisu {
    background-image: url("../images/common/hisu.svg");
    background-repeat: no-repeat;
    background-position: right 1em center;
}

.table-contact>tbody>tr>td {
    padding-left: 2em;
}

.table-contact>tbody>tr>td .sm {
    width: auto !important;
    display: inline;
}

.table-contact>tbody>tr>td .md {
    max-width: 360px !important;
}

.table-contact>tbody>tr>td .rei {
    color: #999;
    font-size: 12px;
    line-height: normal;
    display: block;
    margin: 5px 0 0;
}

@media only screen and (max-width: 767px) {
    .table-contact>tbody>tr {
        width: 100%;
        display: block;
    }

    .table-contact>tbody>tr>th, .table-contact>tbody>tr>td {
        width: 100% !important;
        display: block;
        padding: 1em;
        position: relative;
    }

    .table-contact>tbody>tr>th+td {
        padding-top: 0;
    }
}

.img-hisu {
    margin: -.2em .5em 0 0;
}

/* form btn */
.agree {
    text-align: center;
    margin-top: 20px;
}

.form_btn {
    text-align: center;
    margin-top: 20px;
}

.form_btn .btn {
    cursor: pointer;
}

/* policy */
#policy {
    margin-top: 30px;
}

#policy .contents {
    padding: 1.5% 3.4448%;
    border: solid 1px #ccc;
    max-height: 300px;
    overflow: auto;
    line-height: 1.3;
}

#policy h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 1rem 0;
}


#policy .contents h5 {
    font-size: 1rem;
    font-weight: bold;
    margin: 2rem 0 0;
}

#policy .contents p, #policy .contents ol {
    font-size: 0.875em;
    margin: 1rem 0;
}

@media only screen and (max-width: 991px){
    #policy .contents p, #policy .contents ol {
        font-size: 1em;
    }
}

#policy .contents ol {
    padding-left: 0;
    list-style: none;
    counter-reset: number;
}

#policy .contents ol li {
    padding-left: 2em;
    margin-bottom: 5px;
    position: relative;
}

#policy .contents ol li:before {
    position: absolute;
    top: 0;
    left: 0;
    counter-increment: number;
    content: counter(number) " .";
}

#policy .contents p a {
    color: rgb(31, 70, 248);
    border-bottom: 1px solid;
    box-sizing: border-box;
}

.custom-select {
    font-size: 0.9rem;
    color: #004d64!important;
}

.form-control {
    font-size: 0.9rem;
    color: #004d64!important;
}