@charset "UTF-8";

/*----------フォームレイアウト調整_260730----------*/
.cap {
    color: #999;
}
.form_middle_ttl {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--i_border_color);
}
.form_middle_ttl span {
    box-sizing: border-box;
    background: #000;
    color: #fff;
    width: 100%;
    display: block;
    padding: 1rem;
    font-size: 2rem;
}
@media screen and (max-width: 900px) {
    .form_middle_ttl span {
        font-size: 1.8rem;
    }
}

/* 個人情報項目追加(2026/08/12) */
#form-area + .widget_form form dl:nth-last-of-type(1) dt {
    display: none;
}
#form-area + .widget_form form dl:nth-last-of-type(1) dd {
    text-align: center;
}
#form-area + .widget_form form dl:nth-last-of-type(1) dd span {
    margin-left: 5px;
    padding: 3px 5px;
    background: #D43B3B;
    color: var(--i_btn_txt_color);
    font-size: 1.2rem;
}

/* 個人情報項目のコメント文を表示調整(2026/08/25) */
#form-area + .widget_form form dl:nth-last-of-type(1) dd {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    row-gap: 1em;
}
#form-area + .widget_form form dl:nth-last-of-type(1) dd a {
    text-decoration: underline;
    text-decoration-color: rgba(46, 46, 46, 0.3);
}

/* フォーム送信画面(2026/08/31) */
main:has(#form .wrapper_item .inner_item_txt .form_send_page) > section,
main:has(#form .wrapper_item .inner_item_txt .form_send_page) > div:not(#form),
main:has(#form .wrapper_item .inner_item_txt .form_send_page) ~ footer #fixbtn {
    display: none;
}
main:has(#form .wrapper_item .inner_item_txt .form_send_page) > #form {
    padding-top: 30px;
}
main:has(#form .wrapper_item .inner_item_txt .form_send_page) > #form .inner_item_txt {
    text-align: center;
}

/* フォーム確認画面表示調整(2026/09/07) */
main:has(.widget_form form .submit input[value="戻る"]) > section,
main:has(.widget_form form .submit input[value="戻る"]) > div:not(.widget_form),
main:has(.widget_form form .submit input[value="戻る"]) ~ footer #fixbtn {
    display: none;
}
main:has(.widget_form form .submit input[value="戻る"]) > .widget_form {
    padding: 60px 0;
}

.widget_form form .submit:has(input[onclick="history.back()"][value="戻る"]) {
    display: none;
}
.widget_form form .submit {
    display: block;
}