@charset "utf-8";

/* ##############################################################################

    Page-Contact Style

############################################################################## */

.page-contact .content,.page-contact-product section{
    padding: 120px 0;
}
.page-contact section:nth-child(2){
    padding-top: 120px;
}

.contact-common{
    max-width: 1100px;
    width: 100%;
}
.contact-common th{
    width: 360px;
    color: var(--main-color-blue);
    font-weight: bold;
    font-size: 18px;
    text-align: left;
    padding: 20px 0 20px 50px;
    border-bottom: solid 1px var(--main-color-blue);
}
.contact-common th.input-required{
    position: relative;
}
.contact-common th.input-required:after{
    position: absolute;
    top: 25px;
    right: -5px;
    font-size: 16px;
    display: block;
    text-align: center;
    height: auto;
    padding: 0px 10px;
    color: #fff;
    background-color: #C44;
    border-radius: 5px;
    content: "必須";
}
.contact-common td{
    width: calc(1100px - 360px);
    padding: 20px;
    border-bottom: solid 1px var(--main-color-blue);
}
.contact-common tr:last-child th,
.contact-common tr:last-child td{
    border: none;
}

.contact-common td input{
    width: 700px;
    height: 40px;
    background: none;
    border: 1px solid var(--line-color-gray);
    box-sizing: border-box;
    padding: 0 10px;
}

.contact-common td.input-half input{
    width: 335px;
    border-radius: 3px;
}
.contact-common td.input-half input:first-child{
    margin-right: 23px;
}

.contact-common td.input-onethird input{
    width: 213px;
    margin-right: 23px;
}
.contact-common td.input-onethird input:last-child{
    margin-right: 0;
}
.contact-common td.input-twolines input:first-child{
    margin-bottom: 15px;
}
.contact-common td select{
    width: 700px;
    height: 40px;
    background: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 0 10px;
    border-radius: 3px;
    margin-bottom: 15px;
    color-scheme: normal;
}
.contact-common td textarea{
    width: 700px;
    height: auto;
    background: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
    padding: 10px;
    border-radius: 3px;
}
.contact-common td.input-date input{
    width: 180px;
}
.contact-common td.input-date select{
    width: 180px;
    margin-bottom: 0;
}
.policy-txt{
    width: 700px;
    height: 20rem;
    overflow-x: hidden;
    border: 1px solid #ccc;
    color-scheme: normal;
    padding: 10px;
}
.policy-agree{
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}
.policy-agree input{
    width: 20px;
    height: 20px;
    background: none;
    line-height: 20px;
    margin-right: 10px;
    color-scheme: normal;
}

.contact-common input.checkbox{
    width: 1.5rem;
    height: 1.5rem;
}
.section-inner a.btn-sbmit[value]{
    color: #fff;
}
.btn-sbmit, a.btn-sbmit{
    width: 80%;
    height: 60px;
    font-size: 24px;
    line-height: 60px;
    display: block;
    margin: 0 auto;
    background: var(--main-color-blue);
    color: #fff;
    border: none;
    border-radius: 10px;
}
.btn-sbmit:hover, a.btn-sbmit:hover{
    opacity: 0.5;
}
.btn-sbmit:disabled, a.btn-sbmit:disabled{
    background: gray;
    pointer-events: none;
}
.btn-sbmit:disabled:hover, a.btn-sbmit:disabled:hover{
    opacity: 1;
}

.contact-links{
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 500px);
    gap: 30px;
    justify-content: center;
    margin-top: -120px;
    padding-top: 120px;
}
.contact-links:nth-child(2){
    margin-top: -90px;
    padding-top: 90px;
}
.btn-contact-link{
    max-width: 500px;
    font-size: 18px;
    font-weight: bold;
    border: solid 1px var(--line-color-gray);
    padding: 30px;
    border-left: solid 15px var(--main-color-blue);
}
.btn-contact-link:nth-last-child(-n+2){
    margin-bottom: 0;
}
.btn-contact-link span{
    display: block;
    width: 450px;
    position: relative;
    overflow-wrap: break-word;
    padding-right: 5px;
}
.btn-contact-link span:after{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../image/common/icon_circle_arrow.svg") no-repeat;
    background-size: contain;
    position:absolute;
    top: calc(50% - 10px);
    right: 0;
}

.page-contact .contact-tels{
    display: grid;
    grid-template-columns: repeat(auto-fit, 500px);
    gap: 30px;
    justify-content: center;
}
.page-contact .contact-tels .contact-tel{
    max-width: 500px;
    font-size: 18px;
    font-weight: bold;
    border: solid 1px #959595;
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    padding: 30px;
    border-left: 15px solid var(--main-color-blue);
}
.page-contact .contact-tels .contact-tel-box{
    color: var(--main-color-blue);
    width: 100%;
}
.page-contact .contact-tels .contact-tel-box span{
    display: block;
    text-align: center;
    font-size: 20px;
}
.page-contact .contact-tels .contact-tel-box hr{
    background: var(--main-color-blue);
    height: 2px;
    border: none;
}
.page-contact .contact-tels .contact-tel-box .tel-number{
    font-size: 25px;
    position: relative;
}
.page-contact .contact-tels .contact-tel-box .tel-number::before{
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0 10px 0 0;
    background: url("../image/common/icon_contact_tel.svg") no-repeat;
    background-size: contain;
    vertical-align: middle;
}
.page-contact .contact-tels .contact-tel-box .fax-number{
    font-size: 20px;
    margin-top: 0;
}
.page-contact .section-white:last-child h3 span{
    font-size: clamp(70px, 15vw, 200px);
}
.page-contact-product a.gaihi-hantei{
    pointer-events: none;
}
@media screen and (max-width: 1200px){
    .page-contact .contact-links{
        display: flex;
        flex-wrap: wrap;
    }
}

/* Contact SP */
@media screen and (max-width: 767px) {
    /* スマホ向けのスタイル */
    .contact-common{
        width: 100%;
    }
    .contact-common th{
        width: 100%;
        display: block;
        padding-left: 10px;}
    .contact-common th.input-required:after{
        right: 0;
    }
    .contact-common td{
        width: 100%;
        display: block;
    }
    .contact-common td input{
        width: 100%;
    }
    .contact-common td.input-half input{
        width: 45%;
    }
    .contact-common td.input-half input:first-child{
        margin-right: 20px;
    }
    .contact-common td.input-onethird input{
        width: 25%;
    }
    .contact-common td select{
        width: 100%;
    }
    .contact-common td textarea{
        width: 100%;
    }
    .contact-common td.input-date input{
        width: 80%;
        margin-bottom: 15px;
    }
    .contact-common td.input-date select{
        width: 80%;
        margin-bottom: 15px;
    }
    .contact-common td.input-date select:last-child{
        margin-bottom: 0;
    }
    .policy-txt{
        width: 100%;
    }
    .contact-links{
        margin-top: -20px;
        padding-top: 20px;
    }
    .contact-links:nth-child(2){
        margin-top: 0;
        padding-top: 0;
    }
    .btn-contact-link{
        width: 100%;
        padding-left: 20px;
    }
    .btn-contact-link span{
        width: 100%;
        padding-right: 10px;
    }
    .btn-contact-link span:after{
        right: -15px;
    }
    .page-contact .section-white:first-child{
        padding-bottom: 0;
    }
    .page-contact .section-white:last-child h3 span{
        font-size: 45px;
        top: -7px;
    }
    .page-contact .contact-tels{
        display: flex;
        flex-wrap: wrap;
    }
    .page-contact .contact-tels .contact-tel{
        width: 100%;
        font-size: 16px;
        padding: 20px 30px;
    }
    .page-contact .contact-tels .contact-tel:before{
        height: 162px;
    }
    .page-contact .contact-tels .contact-tel-box .tel-number{
        font-size: 28px;
    }
}