/**************

contact

**************/

.contact {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    row-gap: 80px;    
}

@media screen and (max-width: 720px) {
    .contact {
        padding-top: 12vw;
    }
}

/**************

detail

**************/

.contact__detail {
    background-color: #F5F5F5;
    margin: 40px auto 0 auto;
    padding: 64px 40px 40px 40px;
    display: flex;
    flex-direction: column;
    width: 640px;
}

.contact__detail dl {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.contact__detail dl dt {
    width: 25%;
}

.contact__detail dl dt p {
    font-weight: 600;
}

.contact__detail dl dt span {
    color: #AD1414;
    font-size: 12px;
}

.contact__detail dl dd {
    width: 75%;
}

.contact__detail dl dd p input,
.contact__detail dl dd p textarea {
    padding: 8px 4px;
    border: none;
    width: 100%;
}

p input.wpcf7-submit {
    border: 1px solid #1c1c1c;
    border-radius: 50px;
    background-color: #1c1c1c;
    color: #ffffff;
    display: flex;
    letter-spacing: 0;    
    justify-content: center;
    font-weight: 600;
    padding: 12px 0;
    transition: .2s;
    margin: 0 auto;    
    width: 220px;
}

@media screen and (max-width: 720px) {
    .contact__detail {
        padding: 4.0vw;
        width: 80vw;
    }
    .contact__detail dl {
        flex-direction: column;
        row-gap: 2.1vw;
    }
    .contact__detail dl dd {
        width: 76vw;
    }
    .contact__detail dl dt {
        width: 76vw;
    }
    p input.wpcf7-submit {
        width: 50vw;
    } 
}

/**************

box

**************/

.contact__box {
    background-color: #F5F5F5;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    align-items: center;
    justify-content: center;    
    margin-top: 32px;
}

.contact__phone {
    align-items: center;
    display: flex;
    column-gap: 8px;
}

.contact__phone svg {
    font-size: 32px;
}

.contact__phone h3 a {
    font-weight: 600;
    font-size: 40px;
}

.contact__line {
    margin-top: 40px;
}

.contact__line a.btn {
    border: 1px solid #1c1c1c;
    border-radius: 50px;
    color: #1c1c1c;
    display: flex;
    letter-spacing: 0;    
    justify-content: center;
    font-weight: 600;
    padding: 12px 0;
    transition: .2s;
    width: 220px;
}

@media screen and (max-width: 720px) {
    .contact {
        row-gap: 12vw;
    }
    .contact__phone h3 a {
        font-size: 7.8vw;
    } 
    .contact__phone svg {
        font-size: 6vw;
    }  
    .contact__line a.btn {
        width: 60vw;
    }
}

/**************

thanks

**************/

.contact-thanks {
    padding: 160px 0 80px 0;
}

.contact-box {
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    padding: 56px 0;
}

.contact-box h3,
.contact-box p{
    font-weight: 600;
    text-align: center;
}

a.thanksBtn {
    border: 1px solid #1C1C1C;
    border-radius: 50px;
    color: #1C1C1C;
    display: flex;
    justify-content: center;
    font-weight: 600;
    padding: 12px 0;
    transition: .2s;
    margin: 32px auto 0 auto;
    width: 220px; 
}

a.thanksBtn:hover {
    background: #1C1C1C;
    color: #ffffff;
}

@media screen and (max-width: 720px) {
    .contact-box h3 {
        font-size: 4.8vw;
        letter-spacing: 0; 
    }
    .contact-box p {
        font-weight: 300;
        font-size: 3.2vw;
    }
    .contact-box {
        padding: 12vw 4vw;
    }
    a.thanksBtn {
        width: 50vw;
    }
}