/* ソニー生命ライフプランナーバリュー風デザイントークン・共通コンポーネント */

:root {
    --navy: #14356b;
    --navy-dark: #0d2650;
    --teal: #1f8a6f;
    --olive: #6b7a3a;
    --sage: #8fae5f;
    --sage-light: #eef3e3;
    --border: #d8dce2;
    --text-sub: #5a6270;
    --bg: #eef1f5;
}

body {
    background: var(--bg) !important;
}

.back-link {
    color: var(--navy) !important;
}

/* ヘッダー：紺→ティールのグラデーション */
.theme-header {
    background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%);
    color: #fff;
    padding: 26px 32px;
    border-radius: 8px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(20, 53, 107, 0.25);
}
.theme-header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: .02em;
}
.theme-header p {
    font-size: 14px;
    opacity: .9;
    margin-top: 6px;
}

/* コンテンツ枠：白地に極薄の斜線テクスチャ */
.theme-content {
    background:
        repeating-linear-gradient(135deg, rgba(20,53,107,0.015) 0px, rgba(20,53,107,0.015) 1px, transparent 1px, transparent 14px),
        #ffffff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* リボン型バナー見出し（右端が矢印状） */
.theme-banner {
    position: relative;
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 30px 12px 18px;
    margin: 0 0 18px;
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}
.theme-banner.olive { background: var(--olive); }
.theme-banner.sage { background: var(--sage); color: #2b3a1a; }

/* ボタン */
.theme-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 24px;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background .15s;
}
.theme-btn-primary { background: var(--navy); color: #fff; }
.theme-btn-primary:hover { background: var(--navy-dark); }
.theme-btn-cancel { background: #fff; color: var(--text-sub); border: 1px solid var(--border); }
.theme-btn-cancel:hover { background: #f5f6f8; }

/* ステップインジケーター（ソニー生命の申込手続き画面を参考） */
.step-indicator {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 4px 0 28px;
    padding: 0 10px;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}
.step .circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    background: #fff;
    border: 2px solid #c7ccd4;
    color: #9aa1ab;
    z-index: 1;
}
.step .label {
    margin-top: 8px;
    font-size: 12px;
    color: var(--text-sub);
    text-align: center;
    white-space: nowrap;
}
.step.active .circle,
.step.done .circle {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.step.active .label { color: var(--navy); font-weight: 700; }
.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #c7ccd4;
    z-index: 0;
}
.step.done:not(:last-child)::after { background: var(--navy); }
