@charset "utf-8";

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

    faq.css

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

#contactArea{
    padding-bottom: 122px;
}

/* ◇ sideBox
-------------------------------- */

.sideBox{
    gap:4vw 11.156351791%;
}

.sideBox .lead{
    flex-shrink: 1;
    flex-grow: 1;
}
.sideBox .details{
    flex-shrink: 0;
    width: calc(65.798045602%);

    @media screen and (max-width: 767px) {
        width: 100%;
    }
}

/* --------------------------------
tableStyle
-------------------------------- */ 

table.tableStyle {
    width: 100%;
}

table.tableStyle tr th, table.tableStyle tr td {
    padding: 24px 0;
    font-size: 1.5rem;
}

/* --------------------------------
■qa
-------------------------------- */ 

.form_wrap form {
    max-width: 809px;
    margin: 34px auto 0;

    p.error {
        font-size: 1.5rem;
        line-height: 1.462;
        color: #C77171;
        margin-top: 8px;
    }
}

.form_section{
    & + .form_section{
        margin-top: 40px;
    }
}

.form_table {
    width: 100%;
}
.form_table th {
    width: 16em;
}

.form_table th label {
    position: relative;
    display: flex;
    justify-content: space-between;
}
.form_table th.required {
    position: relative;
    padding-right: 1em;
}
.form_table th.required label::after {
    content: "必須";
    font-size: 1.2rem;
    font-weight: 400;
    padding: 4px 5px;
    letter-spacing: 0.03em;
    color: #fff;
    background: #C77171;
}

form input.text,
form select,
form textarea {
    width: 100%;
    padding: 16px 20px 15px;
    font-size: 16px !important;
    line-height: 1.4;
}

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;
    line-height: 2.1875;
    letter-spacing: 0.03em;
}

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(--text-color);
}

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(--text-color);
}

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 .radio_wrap label {
    cursor: pointer;
}

form .sample {
    display: block;
    margin-top: 8px;
    font-size: 1.3rem;
    line-height: 1.462;
}

.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 .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%;

    @media screen and (max-width: 767px) {
        max-width: 100%;
    }
}
.submitArea li a,
.submitArea li button{
    width: 100%;
    max-width: 100%;
}

.submitBtn_wrap {
    margin-top: 54px;
}

.submitBtn {
    width: 50%;
}

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

.contents .complete_form .title._lv1 {
    padding-bottom: 0;
}
.contents .complete_form .title._lv1::after {
    display: none;
}
.contents .complete_form .text {
    line-height: 2.0;
    margin-bottom: 40px;
}

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

@media screen and (max-width: 767px) {
    .form_wrap {
        padding-top: 0;
    }

    .form_table th {
        width: auto;
    }

    .form_txt1 br {
        display: none;
    }

    .radio_bl {
        width: 100%;
    }

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

    .checktext{
        font-size: 1.5rem;
    }


    .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;
    }
}
