@charset "UTF-8";

/* =================================================================
   フォーム関連スタイル（確認画面・送信完了画面）
   ================================================================= */

/* フォーム確認画面 */
#Thanks .TopContentsLayout::before {
    z-index: 0;
}

main#Confirm .input-button {
    height: 40px;
    font-weight: 700;
    cursor: pointer;
}

main#Confirm .reset__btn {
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
    padding-left: 20px;
    padding-right: 20px;
}

/* =================================================================
   フォームバリデーション・エラー表示
   ================================================================= */

.field-error {
    color: #dc3545;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: -15px;
    margin-bottom: 16px;
    padding-left: 8px;
    display: none;
    word-wrap: break-word;
    max-width: 100%;
    text-align: right;
}

.field-error:empty {
    display: none;
}

#privacy_error {
    color: #dc3545 !important;
    font-size: 12px;
    font-weight: 400;
    margin-top: -35px;
    margin-bottom: 20.5px;
    padding-left: 0;
    text-align: center;
}

textarea#comment.error {
    border: solid 2px #dc3545 !important;
}

form input[type="checkbox"] {
    cursor: pointer;
}

/* =================================================================
   送信完了画面専用スタイル
   ================================================================= */

#Thanks .section_1 {
    padding: 80px 0;
    background: #fff;
}

#Thanks .section_1 .inner-box {
    max-width: 1130px;
    margin: 0 auto;
    padding: 0 15px;
}

#Thanks .section_1 .form-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.25);
    text-align: center;
}

#Thanks .success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

#Thanks .success-title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    color: #313131;
    margin: 0;
    position: relative;
    padding-bottom: 20px;
}

#Thanks .success-title::before {
    content: '✓';
    position: absolute;
    width: 1em;
    height: 1em;
    background: linear-gradient(135deg, #28a745 0%, #20a83a 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8em;
    line-height: 1em;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    top: 50%;
    left: -7px;
    padding: 0.3em;
    transform: translate(-100%, -70%);
}

#Thanks .success-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #823C96 0%, #213CB3 100%);
    border-radius: 2px;
}

#Thanks .success-text {
    font-size: 18px;
    line-height: 2.2;
    color: #313131;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* =================================================================
   レスポンシブデザイン
   ================================================================= */

@media screen and (max-width: 767px) {
    main#Confirm,
    main#Thanks {
        margin: 50px auto !important;
        box-shadow: none !important;
    }
    
    .field-error {
        font-size: 11px;
        margin-top: 6px;
        margin-bottom: 12px;
        padding-left: 6px;
    }
    
    #Thanks .section_1 {
        padding: 40px 0;
    }
    
    #Thanks .section_1 .form-inner {
        padding: 40px 20px;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    #Thanks .success-message {
        gap: 30px;
    }
    
    #Thanks .success-title {
        font-size: 26px;
        padding-bottom: 15px;
    }
    
    #Thanks .success-title::before {
        width: 50px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
        margin-bottom: 15px;
    }
    
    #Thanks .success-title::after {
        width: 60px;
        height: 3px;
    }
    
    #Thanks .success-text {
        font-size: 16px;
        line-height: 2;
    }
    
    /* 送信完了画面のstandard-buttonスタイル統一 */
    #Thanks .standard-button {
        min-width: 240px;
        height: 60px;
        font-size: 16px;
        justify-content: right;
    }
}

/* =================================================================
   メール確認画面用スタイル
   ================================================================= */

/* 確認画面のメインコンテナ */
#Confirm .contact {
    background: #fff;
    padding: 60px 0;
}

#Confirm .inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* セクションタイトル */
#Confirm .section__ttl {
    font-size: 32px;
    font-weight: 700;
    color: var(--mainTextColor_1);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

#Confirm .section__ttl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--mainColor_1) 0%, var(--mainColor_2) 100%);
    border-radius: 2px;
}

/* フォーム説明テキスト */
#Confirm .form__txt {
    font-size: 18px;
    line-height: 2;
    color: var(--mainTextColor_1);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* 確認用テーブル */
#Confirm .tbl-form {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--standardRoundedValue);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

#Confirm .tbl-form th,
#Confirm .tbl-form td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

#Confirm .tbl-form th {
    background: var(--mainColor_1);
    color: var(--baseColor);
    font-weight: 600;
    width: 200px;
    text-align: left;
    font-size: 16px;
    line-height: 1.8em;
    letter-spacing: 0.05em;
}

#Confirm .tbl-form td {
    background: #fff;
    color: var(--mainTextColor_1);
    font-size: 16px;
    line-height: 1.8;
    word-break: break-word;
}

#Confirm .tbl-form tr:last-child th,
#Confirm .tbl-form tr:last-child td {
    border-bottom: none;
}

/* ボタンエリア */
#Confirm .form_submit_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    padding: 20px;
}

/* 確認画面のstandard-buttonスタイル統一 */
#Confirm .standard-button.reset__btn .standard-button__arrow-cover::before,
#Confirm .standard-button.reset__btn .standard-button__arrow-cover::after {
    background: url(../image/common/arrow.svg) no-repeat center center / contain;
}

#Confirm .standard-button.reset__btn:hover .standard-button__arrow-cover::before,
#Confirm .standard-button.reset__btn:hover .standard-button__arrow-cover::after {
    background: url(../image/common/arrow-black.svg) no-repeat center center / contain;
}

#Confirm .standard-button.submit__btn .standard-button__arrow-cover::before,
#Confirm .standard-button.submit__btn .standard-button__arrow-cover::after {
    background: url(../image/common/arrow.svg) no-repeat center center / contain;
}

/* =================================================================
   メール確認画面レスポンシブ対応
   ================================================================= */

@media screen and (max-width: 767px) {
    #Confirm .contact {
        padding: 40px 0;
    }
    
    #Confirm .inner {
        padding: 0 10px;
    }
    
    #Confirm .section__ttl {
        font-size: 26px;
        margin-bottom: 30px;
        padding-bottom: 15px;
    }
    
    #Confirm .section__ttl::after {
        width: 60px;
        height: 3px;
    }
    
    #Confirm .form__txt {
        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 30px;
    }
    
    #Confirm .tbl-form {
        margin-bottom: 30px;
    }
    
    #Confirm .tbl-form th,
    #Confirm .tbl-form td {
        padding: 15px;
        font-size: 14px;
    }
    
    #Confirm .tbl-form th {
        width: 120px;
    }
    #Confirm .form_submit_btn {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 15px;
    }
    #Confirm .standard-button {
        width: 100%;
        min-width: auto;
        max-width: 280px;
        height: 60px;
        font-size: 15px;
    }
    #Confirm .standard-button.type_2 {
        justify-content: right;
    }
    #Confirm .tbl-form th {
        width: 200px;
    }
}

@media screen and (max-width: 480px) {
    #Confirm .section__ttl {
        font-size: 22px;
        margin-bottom: 25px;
    }
    #Confirm .form__txt {
        font-size: 14px;
        margin-bottom: 25px;
    }
    #Confirm .tbl-form {
        font-size: 13px;
    }
    
    #Confirm .tbl-form th,
    #Confirm .tbl-form td {
        padding: 12px;
        font-size: 13px;
    }
    #Confirm .standard-button {
        font-size: 14px;
        max-width: 250px;
    }
    #Confirm .tbl-form th {
        width: 150px;
    }
}

#Confirm .back_button {
    background-color: var(--mainTextColor_1);
    border-color: var(--mainTextColor_1);
    justify-content: center;
}
#Confirm .back_button .standard-button__text {
    padding: 0;
}
#Confirm .back_button .standard-button__arrow-cover {
    display: none;
}

#Confirm .section-list-container,
#Thanks .section-list-container {
    display: none;
}