/* ========================================
   Contact Page Styles
   ======================================== */

/* ── ページ背景・コンテナ ── */
.c-main {
    background: #fafbfc;
    min-height: 60vh;
}

.c-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 96px 24px 80px;
}

/* ================================================================
   3カードグリッド（電話・メール・所在地）
   ================================================================ */

.c-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* ── カード共通（3枚完全同一） ── */
.c-card {
    background: white;
    border: 1px solid rgba(26, 49, 82, 0.07);
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(26, 49, 82, 0.05);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.c-card:hover {
    box-shadow: 0 8px 32px rgba(26, 49, 82, 0.12);
    transform: translateY(-3px);
}

/* ── アイコンボックス（角丸四角・ネイビー薄背景） ── */
.c-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(26, 49, 82, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3152;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* ── ラベル（小さいグレー英字風） ── */
.c-card-label {
    font-size: 10px;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.15em;
    color: #9ca3af;
    font-weight: 400;
    margin-bottom: 8px;
}

/* ── 電話番号（大きく表示） ── */
.c-card-phone {
    font-size: 20px;
    font-family: Georgia, serif;
    font-weight: 700;
    color: #1a3152;
    letter-spacing: 0.06em;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.c-card-phone:hover {
    color: #c9a84c;
}

/* ── メールアドレス ── */
.c-card-email {
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #1a3152;
    text-decoration: none;
    line-height: 1.4;
    word-break: break-all;
    transition: color 0.2s;
}

.c-card-email:hover {
    color: #c9a84c;
}

/* ── 住所テキスト ── */
.c-card-addr {
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #1a3152;
    line-height: 1.4;
}

/* ── サブテキスト（補足・注記） ── */
.c-card-sub {
    font-size: 11px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #9ca3af;
    font-weight: 300;
    line-height: 1.7;
    margin-top: 8px;
}

/* ── アクションボタン（電話・メール） ── */
.c-card-btn {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 12px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    text-decoration: none;
    background-color: rgba(26, 49, 82, 0.08);
    color: #1a3152;
    transition: background-color 0.2s;
}

.c-card-btn:hover {
    background-color: rgba(26, 49, 82, 0.14);
}

/* ================================================================
   お問い合わせフォームカード
   ================================================================ */

.c-form-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 32px rgba(26, 49, 82, 0.08);
    border: 1px solid rgba(26, 49, 82, 0.06);
}

/* ── フォームヘッダー（薄いグラデーション・下線） ── */
.c-form-header {
    padding: 32px;
    background: linear-gradient(135deg, rgba(26, 49, 82, 0.03), rgba(201, 168, 76, 0.04));
    border-bottom: 1px solid rgba(26, 49, 82, 0.07);
}

.c-form-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.c-form-header-icon {
    color: #c9a84c;
    flex-shrink: 0;
}

.c-form-title {
    font-size: 18px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
    color: #1a3152;
    letter-spacing: 0.05em;
    margin: 0;
}

.c-form-subtitle {
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.8;
    margin: 0;
}

/* ── フォームボディ ── */
.c-form-body {
    padding: 32px;
}

/* ── 2カラム行 ── */
.c-form-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* ── フォームグループ ── */
.c-form-group {
    margin-bottom: 24px;
}

/* ── ラベル ── */
.c-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #374151;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ── 必須・任意バッジ ── */
.c-required {
    padding: 1px 6px;
    border-radius: 4px;
    background-color: #c9a84c;
    color: white;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

.c-optional {
    padding: 1px 6px;
    border-radius: 4px;
    background-color: rgba(26, 49, 82, 0.1);
    color: #9ca3af;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.04em;
}

/* ── 入力フィールド共通 ── */
.c-input,
.c-select,
.c-textarea {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(26, 49, 82, 0.15);
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #1a3152;
    background-color: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.c-input:focus,
.c-select:focus,
.c-textarea:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* ── セレクト（カスタム矢印） ── */
.c-select-wrap {
    position: relative;
}

.c-select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.c-select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    pointer-events: none;
}

/* ── テキストエリア ── */
.c-textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.8;
}

/* ── 補足テキスト ── */
.c-note {
    margin-top: 6px;
    font-size: 11px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #9ca3af;
    font-weight: 300;
    line-height: 1.7;
}

/* ── プライバシー同意 ── */
.c-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.c-checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1a3152;
}

.c-checkbox-label {
    font-size: 13px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.8;
    cursor: pointer;
}

.c-checkbox-note {
    display: block;
    font-size: 11px;
    font-family: 'Noto Sans JP', sans-serif;
    color: #9ca3af;
    font-weight: 300;
    margin-top: 4px;
    line-height: 1.7;
}

/* ── 送信ボタン ── */
.c-submit-wrap {
    text-align: center;
    padding-top: 8px;
}

.c-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 56px;
    border-radius: 50px;
    background: linear-gradient(135deg, #1a3152, #243d63);
    color: white;
    font-size: 15px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(26, 49, 82, 0.22);
    transition: box-shadow 0.25s, transform 0.25s;
    min-width: 200px;
}

.c-submit-btn:hover {
    box-shadow: 0 10px 32px rgba(26, 49, 82, 0.3);
    transform: translateY(-2px);
}

.c-submit-btn:active {
    transform: translateY(0);
}

/* ================================================================
   Responsive
   ================================================================ */

/* 640px 以上：カードを2列 */
@media (min-width: 640px) {
    .c-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 768px 以上：カードを3列・フォームpadding拡大 */
@media (min-width: 768px) {
    .c-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .c-form-header {
        padding: 32px 48px;
    }

    .c-form-body {
        padding: 40px 48px;
    }
}

/* 639px 以下：2カラムを1カラムに */
@media (max-width: 639px) {
    .c-form-2col {
        grid-template-columns: 1fr;
    }

    .c-form-header {
        padding: 24px;
    }

    .c-form-body {
        padding: 24px;
    }
}
