/* 共通ブロック */


.l-page.lower--contact .fv_title_wrap {
    padding: 40px 92px 40px 20px;
}

.l-page.lower--entry .fv_title_wrap {
    padding: 30px 115px 30px 20px;
}

.section_title.faq_title {
    font-size: 40px;
    line-height: calc(40 / 40);
}


/* コンテンツブロック */

/* フォーム全体 */

/* ブロック */

.note_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.form-block {
    padding: 50px 0 10px;
    border-bottom: 1px solid #999999;
}

.form-block:last-of-type {
    border-bottom: none;
}

.form-block__head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.form-label {
    font-size: 16px;
    font-weight: bold;
    color: var(--sub-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
}

/* バッジ */

.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: 6px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: bold;
    color: var(--point-color);
    line-height: calc(11 / 11);
    font-family: var(--main-font);
}

.form-badge--required {
    background-color: #CE000E;
}

.form-badge--optional {
    background-color: #999999;
}

/* 入力系 */

.form-block__field {
    font-size: 14px;
}

.l-page.lower--entry .form-block__field.radio_field {
    flex-direction: row;
}

.form-block__field.radio_field {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#message {
    padding: 5px 15px;
}

.form-control {
    width: 100%;
    padding: 11px 15px;
    border-radius: 2px;
    border: none;
    background-color: #D2D2D2;
    box-sizing: border-box;
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
}

.form-control::placeholder {
    font-size: 16px;
    font-weight: 400;
    color: var(--point-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
}


.form-control:focus {
    outline: 2px solid var(--sub-color);
    outline-offset: 0;
}

.form-control--textarea {
    min-height: 240px;
    resize: vertical;
}

/* ラジオ */

.form-radio {
    display: inline-flex;
    align-items: center;
}

.form-radio span {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
}

.form-block__field.radio_field span {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(16 / 16);
    font-family: var(--main-font);
}

.form-radio input[type="radio"] {
    accent-color: #CE000E;
    margin: 3px 5px 0px 0px;
}

.form-block input[type="radio"] {
    accent-color: #CE000E;
    margin: 3px 5px 0px 0px;
}

/* ファイル入力 */

.form-file {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.form-file input[type="file"] {
    display: none;
}

.form-file__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 11px;
    color: var(--sub-color);
    background-color: #ffffff;
    border: 1px solid #949494;
    cursor: pointer;
}

.form-file__text {
    font-size: 11px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(11 / 11);
    font-family: var(--main-font);
}

/* チェックボックス */

.form-block--privacy {
    padding: 0;
    border-bottom: none;
    margin: 60px 0 40px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
}

.form-checkbox input[type="checkbox"] {
    display: none;
}

.form-checkbox__box {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    position: relative;
}

.form-checkbox input[type="checkbox"]:checked+.form-checkbox__box {
    background-color: #CE000E;
    border-color: #CE000E;
}

.form-checkbox input[type="checkbox"]:checked+.form-checkbox__box::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

.form-checkbox__label {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.important_text {
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 12px;
}

/* FAQ */

.l-page.lower--contact .section_content--faq .title_block {
    margin-bottom: 50px;
}

.faq_list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq_item {
    border-bottom: 1px solid #999999;
    padding-bottom: 8px;
}

.question_title {
    font-size: 20px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(24 / 20);
    font-family: var(--main-font);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 30px;
}

.question_title::before {
    content: "Q";
    font-size: 28px;
    font-weight: bold;
    color: #3D3D3D;
    line-height: calc(28 / 28);

}

.answer_text {
    font-size: 16px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    font-family: var(--main-font);
}

.contact_error {
    margin-top: 5px;
}

.privacy_agree {
    text-align: center;
    margin-top: 10px;
}

@media (min-width: 768px) {


    /* 共通ブロック */

    .section_content--entry-form,
    .section_content--contact-form,
    .section_content--faq {
        padding-inline: 20px;
    }

    .l-page.lower--contact .fv_title_wrap {
        padding: 110px 455px 110px 100px;
    }

    .l-page.lower--entry .fv_title_wrap {
        padding: 115px 225px 115px 100px;
    }

    .section_title.faq_title {
        font-size: 68px;
        line-height: calc(68 / 68);
    }

    /* コンテンツブロック */

    .form__body {
        max-width: 800px;
        margin: 0 auto;
    }

    .note_text {
        max-width: 800px;
        margin: 0 auto 20px;
    }

    .form-block__field.radio_field {
        flex-direction: row;
    }

    .faq_list {
        max-width: 800px;
        margin: 0 auto;
        gap: 50px;
    }

    .faq_item {
        padding-bottom: 25px;
    }

    .question_title {
        align-items: baseline;
    }
}