/* =============================================
   contact.html 専用スタイル
   ============================================= */

.page-header::before {
    content: 'CONTACT';
    position: absolute;
    right: -10px; bottom: -20px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 10rem;
    font-weight: 600;
    color: rgba(255,255,255,0.05);
    letter-spacing: -0.02em;
    pointer-events: none;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/hero_bg.jpg') center 60% / cover no-repeat;
    opacity: 0.45;
    z-index: 0;
}
.page-header-inner {
    position: relative;
    z-index: 1;
}

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 90px 60px 120px;
}

.lead {
    text-align: center;
    margin-bottom: 56px;
    color: #333;
    font-size: 0.93rem;
    line-height: 2;
    font-weight: 400;
}

/* フォーム */
.contact-form .field { margin-bottom: 28px; }

.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--navy);
    letter-spacing: 0.05em;
}
.contact-form label .required {
    background: #b03030;
    color: var(--white);
    font-size: 0.68rem;
    padding: 1px 7px;
    border-radius: 2px;
    margin-left: 8px;
    vertical-align: middle;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d0c9be;
    border-radius: 0;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--white);
    color: var(--navy);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: auto;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,150,90,0.12);
}
.contact-form textarea {
    height: 180px;
    resize: vertical;
}

/* 同意チェック */
.consent-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.93rem;
    color: #333;
    font-weight: 400;
}
.consent-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--navy);
    cursor: pointer;
}
.consent-wrap a { color: var(--navy); }

/* 送信ボタン */
.btn-submit {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 40px;
    font-family: inherit;
}
.btn-submit:hover { background: var(--navy2); }

/* 注記 */
.form-note {
    margin-top: 28px;
    font-size: 0.82rem;
    color: var(--gray);
    text-align: center;
    line-height: 1.9;
    font-weight: 400;
}

/* ステップインジケーター */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 52px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #ccc;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}
.step-num.done {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.step-num.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}
.step-label {
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 0.1em;
}
.step-line {
    width: 80px;
    height: 1px;
    background: #ccc;
    margin-bottom: 24px;
}
.step-line.done { background: var(--navy); }

/* 確認テーブル */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 48px;
}
.confirm-table tr { border-bottom: 1px solid rgba(184,150,90,0.15); }
.confirm-table tr:first-child { border-top: 1px solid rgba(184,150,90,0.15); }
.confirm-table th {
    width: 180px;
    padding: 20px 16px;
    text-align: left;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--navy);
    background: rgba(184,150,90,0.06);
    border-right: 2px solid rgba(184,150,90,0.2);
    vertical-align: top;
    letter-spacing: 0.05em;
}
.confirm-table td {
    padding: 20px 24px;
    font-size: 0.95rem;
    color: #444;
    font-weight: 400;
    line-height: 1.9;
}
.confirm-table td.message-cell {
    white-space: pre-wrap;
    line-height: 1.9;
}

/* 確認画面ボタン */
.confirm-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.confirm-buttons form { flex: 1; max-width: 280px; }
.btn-back {
    display: block;
    width: 100%;
    padding: 16px;
    background: transparent;
    color: var(--navy);
    font-size: 0.93rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border: 1px solid var(--navy);
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-back:hover { background: var(--navy); color: var(--white); }

/* 完了画面 */
.thanks-box {
    text-align: center;
    padding: 20px 0 40px;
}
.thanks-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 28px;
    font-family: 'Cormorant Garamond', serif;
}
.thanks-box h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}
.thanks-box p {
    color: #333;
    font-size: 0.92rem;
    line-height: 2;
    margin-bottom: 12px;
    font-weight: 400;
}
.thanks-note {
    font-size: 0.82rem !important;
    color: var(--gray) !important;
    margin-top: 24px !important;
}
.btn-top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding: 16px 48px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    transition: background 0.2s;
}
.btn-top:hover { background: var(--navy2); }

/* エラーボックス */
.error-box {
    background: #fff0f0;
    border-left: 4px solid #c0392b;
    padding: 16px 20px;
    border-radius: 0;
    margin-bottom: 32px;
    font-size: 0.93rem;
    color: #c0392b;
}
.error-box ul { margin: 8px 0 0 16px; }
.is-error { border-color: #c0392b !important; }

@media (max-width: 900px) {
    main { padding: 60px 24px 80px; }
    .confirm-buttons { flex-direction: column-reverse; align-items: center; }
    .confirm-buttons form { max-width: 100%; width: 100%; }
    .step-line { width: 40px; }
}
