@charset "utf-8";

/* ==================================================================

    contact.css

=================================================================== */

.font-bold {
    font-weight: 700;
}

#contactBox {
    padding-bottom: 90px;
}

/* ------------------------------
■ コンテンツ
------------------------------ */
.form_txt1 {
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.03em;
}

.form_wrap p.error {
    margin-top: 8px;
    padding: 6px;
    background: #ad1c1f;
    color: #fff;
}

.form_wrap form {
    max-width: 809px;
    margin: 0 auto;
    caret-color: transparent;
}

.form_table {
    width: 100%;
}

.form_table tr {
    display: block;
    margin-top: 30px;
}

.form_table th {
    display: block;
    letter-spacing: 0.03em;
}

.form_table td {
    display: block;
    margin-top: 8px;
}

.form_table th.required::after {
    content: "必須";
    margin-left: 8px;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    color: #f1541d;
}

form input.text,
form select,
form textarea {
    width: 100%;
    padding: 16px 20px 15px;
    background-color: #f2f5f7;
    border: none!important;
    font-size: 15px !important;
    line-height: 1.4;
    caret-color: #333;
}

form input.text:hover,
form textarea:hover {
    border: none;
}

form input.text.short {
    max-width: 148px;
}

form input.text::placeholder,
form textarea::placeholder {
    color: #A4A4A4;
}

form select {
    appearance: none;
    background-image: url("../../images/contact/select_icon.svg");
    background-position: right 18px center;
    background-repeat: no-repeat;
    background-size: 11px auto;
    cursor: pointer;
}

form textarea {
    resize: none;
    height: 219px;
}

form .radio_wrap {
    margin: -2.5px 0;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

form input[type="radio"] {
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 9px 0 0;
    border-radius: 9999px;
    background-color: #dddddd;
    vertical-align: sub;
    cursor: pointer;
}

form input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 10px;
    height: 10px;
    margin: auto;
    border-radius: 9999px;
    background-color: var(--bg-color-green);
}

form input[type="checkbox"] {
    appearance: none;
    position: relative;
    width: 20px;
    height: 20px;
    margin: 0 9px 0 0;
    border-radius: 0;
    background-color: #dddddd;
    vertical-align: sub;
    cursor: pointer;
}

form input[type="checkbox"]:checked {
    background-color: var(--bg-color-green);
}

form input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 4px;
    height: 10px;
    margin: auto;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translateY(-1px) rotate(45deg);
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: solid 2px #00B5AF;
}

form .radio_wrap label {
    cursor: pointer;
}

form .sample {
    display: block;
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.462;
    letter-spacing: 0;
    color: #727272;
}

.form_radio {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 10px;
}

.radio_bl {
    box-sizing: border-box;
    width: calc((100% - 10px) / 2);
    padding: 35px 25px 34px;
    border-radius: 4px;
    border: 1px solid #e2e2e2;
    cursor: pointer;
}

.form_table .hiddenBox th,
.form_table .hiddenBox td {
    display: none;
}

.agreement_wrap {
    margin-top: 49px;
    padding: 35px 35px 34px;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
}
.agreement_wrap.policy {
    overflow: auto;
    height: 300px;
}
.agreement_wrap > div{
    dl{
        dt{
        
        }
        dd{
            padding-left: 1em;
        }
        * + dd{
            margin-top: 8px;
        }
    
    }
    
    dl + dl{
        margin-top: 1em;
    }
}

.agreement_wrap .radio_wrap {
    text-align: center;
}

.agreement_wrap a {
    text-decoration: underline;
}

.checktext{
    text-align: center;
    margin-top: 48px;
}

.submitArea {
    display: flex;
    gap:20px 40px;
    margin-top: 40px;
    
}
.submitArea li{
    max-width: 393px;
    width: 100%;
}
.submitArea li a,
.submitArea li button{
    width: 100%;
}

.submitBtn_wrap {
    margin-top: 54px;
}
/*
.submitBtn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 388px;
    height: 76px;
    margin: 0 auto;
    border: none;
    border-radius: 9999px;
    background-color: #192c55;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #fff !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submitBtn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 17px;
    width: 33px;
    height: 33px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #fff url("../../images/feature/icon_arrow.svg") no-repeat right 11.3px center / 11.3px auto;
    transition: transform 0.3s ease, background-position 0.3s ease;
}

.submitBtn:hover {
    background-color: #040f27;
    color: #fff;
    text-decoration: none;
}

.submitBtn:hover::after {
    transform: translateY(-50%) scale(1.212);
    background-position: right 7.7px center;
}
*/

.submitBtn.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.contents .complete_form .text {
    margin-bottom: 40px;
}

@media screen and (max-width: 1080px) {
    .radio_bl {
        font-size: 1.4rem;
    }
}

@media screen and (max-width: 767px) {

    #contactBox {
        padding-bottom: 60px;
    }

    .form_txt1 br {
        display: none;
    }

    .radio_bl {
        width: 100%;
    }

    .agreement_wrap {
        margin-top: 30px;
        padding: 28px 12px 27px;
        font-size: 1.4rem;
    }

    .checktext{
        font-size: 1.5rem;
        text-align: left;
    }

    .submitBtn_wrap {
        margin-top: 30px;
    }

/*
    .submitBtn {
        max-width: 302px;
        height: 59px;
        font-size: 1.5rem;
    }

    .submitBtn::after {
        width: 26px;
        height: 26px;
        right: 13.4px;
        background-size: 8.8px auto;
        background-position: right 8.8px center;
    }
*/
    .submitArea {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 20px;
    }
    
    .contents .complete_form .title._lv1 {
        line-height: 1.7;
        margin-bottom: 24px;
    }
    .contents .complete_form .title._lv1::after {
        display: none;
    }
    .contents .complete_form .text {
        font-size: 1.5rem;
    }
}