/* ============================================================
   未来あんしん保険 — モバイルファーストスタイル
   ============================================================ */
:root {
    --navy-900: #10233f;
    --navy-800: #16305c;
    --navy-700: #1d3d73;
    --navy-100: #e8edf5;
    --gold-500: #b08d4f;
    --gold-400: #c9a45c;
    --gold-100: #f6efdf;
    --bg: #f4f6f9;
    --card: #ffffff;
    --text: #26313d;
    --text-sub: #5c6672;
    --text-faint: #8b93a0;
    --line: #dde2e9;
    --error: #c0392b;
    --success: #2e7d5b;
    --radius: 14px;
    --shadow: 0 2px 12px rgba(16, 35, 63, .08);
    --shadow-lg: 0 6px 24px rgba(16, 35, 63, .12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'YuGothic', Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* モバイル基準：ページ幅を制限し、PC では中央にカード風表示 */
.page {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 40px rgba(16, 35, 63, .10);
}

.page > main {
    flex: 1;
}

.sp-only {
    display: inline;
}

/* ---------- ヘッダー ---------- */
.site-header {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 8px rgba(16, 35, 63, .25);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand__name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .04em;
}

.brand__sub {
    font-size: 9px;
    letter-spacing: .18em;
    color: rgba(255, 255, 255, .65);
}

.site-header__badge {
    font-size: 10px;
    letter-spacing: .08em;
    border: 1px solid rgba(255, 255, 255, .35);
    color: rgba(255, 255, 255, .85);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- ステップ表示 ---------- */
.steps {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.steps__inner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px 20px 12px;
}

.steps__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 84px;
}

.steps__circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9edf3;
    color: var(--text-faint);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

.steps__label {
    font-size: 11px;
    color: var(--text-faint);
    white-space: nowrap;
}

.steps__line {
    flex: 1;
    height: 2px;
    background: #e9edf3;
    margin-top: 15px;
    max-width: 56px;
}

.steps__item.is-active .steps__circle {
    background: var(--navy-800);
    color: #fff;
    box-shadow: 0 0 0 4px var(--navy-100);
}

.steps__item.is-active .steps__label {
    color: var(--navy-800);
    font-weight: 700;
}

.steps__item.is-done .steps__circle {
    background: var(--gold-400);
    color: #fff;
}

.steps__item.is-done .steps__label {
    color: var(--text-sub);
}

.steps__line.is-done {
    background: var(--gold-400);
}

/* ---------- ヒーロー ---------- */
.hero {
    background: linear-gradient(170deg, var(--navy-800) 0%, var(--navy-900) 78%);
    color: #fff;
    padding: 34px 20px 40px;
    text-align: center;
}

.hero__eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--gold-400);
    margin-bottom: 14px;
}

.hero__title {
    font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: .04em;
    margin-bottom: 16px;
}

.hero__lead {
    font-size: 13px;
    line-height: 2;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 26px;
}

.hero__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, .14);
}

.hero__image img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* ---------- セクション共通 ---------- */
.section {
    padding: 34px 16px;
}

.section--navy {
    background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
    color: #fff;
}

.section-head {
    text-align: center;
    margin-bottom: 24px;
}

.section-head__en {
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--gold-500);
    font-weight: 700;
    margin-bottom: 4px;
}

.section-head__title {
    font-family: 'Noto Serif JP', serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: .08em;
    position: relative;
    padding-bottom: 12px;
}

.section-head__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 36px;
    height: 2px;
    background: var(--gold-400);
}

.section-head__lead {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-sub);
}

.section-head--light .section-head__title {
    color: #fff;
}

.section-head--light .section-head__en {
    color: var(--gold-400);
}

/* ---------- 選ばれる理由 ---------- */
.merits {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merit {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.merit__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--gold-500);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.merit__title {
    font-size: 15px;
    font-weight: 700;
    width: calc(100% - 50px);
}

.merit__text {
    font-size: 13px;
    color: var(--text-sub);
    width: calc(100% - 50px);
    line-height: 1.7;
}

/* ---------- 商品カード ---------- */
.product-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px 26px;
    position: relative;
    border-top: 4px solid var(--navy-800);
}

.product-card__badge {
    position: absolute;
    top: -13px;
    right: 14px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 4px 14px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(176, 141, 79, .4);
}

.product-card__name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: 6px;
}

.product-card__tagline {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 18px;
}

.product-card__figures {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}

.figure {
    background: var(--navy-100);
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.figure__label {
    font-size: 11px;
    color: var(--text-sub);
}

.figure__value {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-800);
    font-feature-settings: "palt";
}

.figure--highlight {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    text-align: center;
    padding: 14px 12px;
}

.figure--highlight .figure__label {
    color: rgba(255, 255, 255, .75);
}

.figure__value--gold {
    color: var(--gold-400);
    font-size: 26px;
    letter-spacing: .02em;
}

.figure__value--rate {
    color: var(--gold-500);
}

.product-card__features {
    list-style: none;
    margin-bottom: 16px;
}

.product-card__features li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    border-bottom: 1px dashed var(--line);
    padding-top: 7px;
    padding-bottom: 7px;
}

.product-card__features li:last-child {
    border-bottom: none;
}

.product-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold-500);
    font-weight: 700;
}

.product-card__desc {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* ---------- ボタン ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(.985);
}

.btn--primary {
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    color: #fff;
    box-shadow: 0 4px 14px rgba(22, 48, 92, .35);
}

.btn--ghost {
    background: #fff;
    color: var(--navy-800);
    border: 1px solid var(--navy-800);
}

.btn--block {
    width: 100%;
}

.btn--lg {
    padding: 17px 28px;
    font-size: 16px;
}

.btn--sm {
    padding: 8px 20px;
    font-size: 13px;
}

.btn:disabled {
    background: #c4cad3;
    color: #fff;
    box-shadow: none;
    cursor: not-allowed;
}

.btn__arrow {
    font-weight: 400;
}

.link-back {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-sub);
    text-decoration: underline;
}

.link-back--inline {
    display: inline-block;
    margin-top: 8px;
}

/* ---------- フロー ---------- */
.flow {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.flow__item {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 18px;
}

.flow__step {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--gold-400);
    border: 1px solid var(--gold-400);
    border-radius: 4px;
    padding: 1px 8px;
    margin-bottom: 8px;
}

.flow__title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.flow__text {
    font-size: 13px;
    color: rgba(255, 255, 255, .72);
    line-height: 1.8;
}

/* ---------- ご注意事項 ---------- */
.caution {
    background: #fbf8f1;
    border: 1px solid #ece2cc;
    border-radius: var(--radius);
    padding: 18px;
}

.caution__title {
    font-size: 13px;
    font-weight: 700;
    color: var(--gold-500);
    margin-bottom: 8px;
}

.caution__list {
    list-style: none;
}

.caution__list li {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.8;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}

.caution__list li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--gold-500);
}

/* ---------- フッター ---------- */
.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .72);
    margin-top: auto;
}

.site-footer__inner {
    padding: 32px 20px calc(28px + env(safe-area-inset-bottom));
}

.site-footer__company {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.site-footer__kana {
    font-size: 11px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .5);
}

.site-footer__info div {
    margin-bottom: 10px;
}

.site-footer__info dt {
    font-size: 11px;
    color: var(--gold-400);
    letter-spacing: .08em;
}

.site-footer__info dd {
    font-size: 13px;
    line-height: 1.7;
}

.site-footer__hours {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.site-footer__notice {
    font-size: 11px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .45);
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 18px;
    padding-top: 16px;
}

.site-footer__copyright {
    font-size: 10px;
    text-align: center;
    margin-top: 18px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .04em;
}

/* ---------- フォーム ---------- */
.main-form {
    padding: 30px 16px 40px;
}

.main-form--center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-product {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold-400);
    padding: 14px 16px;
    margin-bottom: 22px;
}

.selected-product__label {
    font-size: 10px;
    letter-spacing: .14em;
    color: var(--gold-500);
    font-weight: 700;
}

.selected-product__name {
    font-size: 15px;
    font-weight: 700;
    margin: 2px 0 4px;
}

.selected-product__summary {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.8;
}

.em {
    font-weight: 700;
    color: var(--navy-800);
}

.em--gold {
    color: var(--gold-500);
}

.form-section {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 16px;
    margin-bottom: 16px;
}

.form-section__title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

.form-section__title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--gold-400);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: -1px;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.field {
    margin-bottom: 14px;
}

.field:last-child {
    margin-bottom: 0;
}

.field__label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.required {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--error);
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    vertical-align: 1px;
    letter-spacing: .06em;
}

.field__input {
    width: 100%;
    font-family: inherit;
    font-size: 16px; /* iOS 自動ズーム防止 */
    color: var(--text);
    background: #fbfcfd;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color .15s, box-shadow .15s;
    -webkit-appearance: none;
    appearance: none;
}

.field__input:focus {
    outline: none;
    border-color: var(--navy-700);
    box-shadow: 0 0 0 3px var(--navy-100);
    background: #fff;
}

/* 日付入力（生年月日）：モバイル表示補正
   iOS ネイティブの日付コントロールは幅ずれ・アイコンなしのため、
   appearance:none で通常の入力欄と同じ挙動にし、カレンダーアイコンとプレースホルダは自前で描画 */
.field__input[type="date"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    display: block;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a94a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M8 3v4'/%3E%3Cpath d='M16 3v4'/%3E%3Cpath d='M3 10h18'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 20px 20px;
}
/* ネイティブのカレンダーアイコン（Android）は透明にしてタップ領域だけ残す */
.field__input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
}
/* 空のときネイティブの灰色 yyyy/mm/dd を隠し、重ねたプレースホルダを見せる */
.field__input[type="date"].is-empty::-webkit-datetime-edit {
    visibility: hidden;
}
.field__input[type="date"]::-webkit-date-and-time-value {
    text-align: left; /* iOS はデフォルト右揃えのため左揃えに統一 */
}
/* プレースホルダ重ね表示（date入力はplaceholder属性非対応） */
.date-wrap { position: relative; }
.date-wrap__placeholder {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-faint);
    pointer-events: none;
}
.date-wrap.is-filled .date-wrap__placeholder { display: none; }

.field__hint {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 5px;
    line-height: 1.6;
}

.field__error {
    font-size: 12px;
    color: var(--error);
    margin-top: 5px;
    font-weight: 500;
    line-height: 1.6;
}

.privacy-box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    max-height: 140px;
    overflow-y: auto;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.privacy-box p {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.9;
}

/* ---------- チェックボックス ---------- */
.agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.agree input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.agree__mark {
    width: 22px;
    height: 22px;
    border: 2px solid var(--line);
    border-radius: 6px;
    background: #fff;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all .15s;
}

/* 注意：th:field のチェックボックスは hidden フィールドが隣接するため、
   隣接兄弟セレクタ(+)ではなく一般兄弟セレクタ(~)を使用する */
.agree input:checked ~ .agree__mark {
    background: var(--navy-800);
    border-color: var(--navy-800);
}

.agree input:checked ~ .agree__mark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.agree input:focus-visible ~ .agree__mark {
    box-shadow: 0 0 0 3px var(--navy-100);
}

.agree__text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.7;
}

.agree--contract {
    margin-top: 14px;
    background: var(--gold-100);
    border-radius: 10px;
    padding: 12px;
}

.form-actions {
    margin-top: 24px;
}

.form-actions__note {
    font-size: 11px;
    color: var(--text-faint);
    text-align: center;
    margin-top: 10px;
    line-height: 1.7;
}

/* ---------- 契約確認カード ---------- */
.card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 16px;
    margin-bottom: 16px;
}

.card__title {
    font-size: 14px;
    font-weight: 700;
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.card__title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    background: var(--gold-400);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: -1px;
}

.summary div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line);
}

.summary div:last-child {
    border-bottom: none;
}

.summary dt {
    font-size: 13px;
    color: var(--text-sub);
    flex-shrink: 0;
}

.summary dd {
    font-size: 14px;
    text-align: right;
    word-break: break-all;
}

.summary__strong {
    font-weight: 700;
}

.summary__gold {
    font-weight: 700;
    color: var(--gold-500);
}

.contract-box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    max-height: 320px;
    overflow-y: auto;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
}

.contract-box h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-800);
    margin: 14px 0 4px;
}

.contract-box h4:first-child {
    margin-top: 0;
}

.contract-box p {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.9;
}

/* ---------- 署名 ---------- */
.card--signature {
    border: 2px solid var(--gold-400);
}

.signature-help {
    font-size: 13px;
    color: var(--text-sub);
    margin-bottom: 12px;
    line-height: 1.8;
}

.signature-help strong {
    color: var(--navy-800);
}

.signature-wrap {
    position: relative;
    border: 2px dashed var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

#signature-pad {
    display: block;
    width: 100%;
    height: 180px;
    touch-action: none;
    cursor: crosshair;
}

.signature-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--text-faint);
    pointer-events: none;
    letter-spacing: .08em;
}

.signature-placeholder.is-hidden {
    display: none;
}

.signature-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.signature-error {
    font-size: 12px;
    color: var(--error);
    margin-top: 8px;
    font-weight: 500;
}

/* ---------- 完了ページ ---------- */
.complete {
    text-align: center;
    padding-top: 10px;
    width: 100%;
}

.complete__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), #24614a);
    color: #fff;
    font-size: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(46, 125, 91, .35);
}

.complete__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 14px;
}

.complete__lead {
    font-size: 13px;
    color: var(--text-sub);
    line-height: 2;
    margin-bottom: 22px;
}

.complete__box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    margin: 0 auto 22px;
    max-width: 300px;
}

.complete__box-label {
    display: block;
    font-size: 11px;
    color: var(--text-faint);
    letter-spacing: .14em;
}

.complete__box-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-800);
    letter-spacing: .06em;
}

.complete__notes {
    list-style: none;
    text-align: left;
    background: #fbf8f1;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 26px;
}

.complete__notes li {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.8;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}

.complete__notes li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--gold-500);
}

/* ---------- エラーページ ---------- */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: linear-gradient(170deg, var(--navy-800), var(--navy-900));
}

.error-page__box {
    text-align: center;
    color: #fff;
}

.error-page__code {
    font-size: 56px;
    font-weight: 700;
    color: var(--gold-400);
    letter-spacing: .1em;
    line-height: 1.2;
}

.error-page__title {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 16px;
    letter-spacing: .06em;
}

.error-page__text {
    font-size: 13px;
    color: rgba(255, 255, 255, .7);
    line-height: 2.1;
    margin-bottom: 26px;
}

/* ---------- 小さい画面の調整 ---------- */
@media (max-width: 360px) {
    .hero__title {
        font-size: 21px;
    }

    .product-card {
        padding: 20px 14px 22px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }
}

/* ---------- PC では余白を広げる ---------- */
@media (min-width: 768px) {
    body {
        background: #e9edf2;
        padding: 24px 0;
    }

    .page {
        min-height: calc(100vh - 48px);
        border-radius: 18px;
        overflow: hidden;
    }

    .sp-only {
        display: none;
    }
}

/* ==========================================================
   展示サイト（マイページ）専用スタイル
   ========================================================== */

/* ご契約サマリーカード */
.contract-card {
    margin: 0 0 16px;
    padding: 22px 18px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(16, 35, 63, .18);
}

.contract-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.contract-card__name {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    font-family: 'Noto Serif JP', serif;
}

.status-badge {
    flex-shrink: 0;
    padding: 4px 10px;
    border: 1px solid var(--gold-400);
    border-radius: 999px;
    color: var(--gold-400);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    white-space: nowrap;
}

.contract-meta {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contract-meta dt {
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
}

.contract-meta dd {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 700;
}

/* プランカード */
.plan-card {
    margin: 0 0 16px;
    padding: 20px 18px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 35, 63, .05);
}

.plan-card--gold {
    background: linear-gradient(180deg, var(--gold-100) 0%, #fffdf7 100%);
    border-color: var(--gold-400);
}

.plan-card__title {
    margin: 0 0 14px;
    padding-left: 10px;
    border-left: 3px solid var(--gold-400);
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-800);
}

.plan-card__note {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.7;
    color: var(--text-faint);
}

.plan-list {
    margin: 0;
}

.plan-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
}

.plan-list > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.plan-list dt {
    font-size: 13px;
    color: var(--text-sub);
}

.plan-list dd {
    margin: 0;
}

.plan-list__amount {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-800);
    font-variant-numeric: tabular-nums;
}

.plan-list__amount--gold {
    font-size: 20px;
    color: var(--gold-500);
}

/* お知らせ（セッション期限切れ・エラー） */
.notice {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--gold-100);
    border: 1px solid var(--gold-400);
    color: var(--navy-800);
    font-size: 13px;
    line-height: 1.7;
}

.notice--error {
    background: #fdecea;
    border-color: var(--error);
    color: var(--error);
}

.notice p {
    margin: 0;
}

/* お問い合わせ */
.contact-text {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-sub);
}

.contact-hours {
    margin: 10px 0 0;
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
}

/* ホーム画面追加ガイド */
.install-guide {
    padding-top: 8px;
}

.guide-card {
    margin: 0 0 14px;
    padding: 18px 16px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(16, 35, 63, .05);
}

.guide-card__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy-800);
}

.guide-card__icon {
    margin-right: 6px;
}

.guide-card__steps {
    margin: 0;
    padding-left: 20px;
}

.guide-card__steps li {
    margin: 6px 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text);
}

/* iOS共有ボタンアイコン（四角＋上矢印） */
.share-icon {
    vertical-align: -2px;
    margin: 0 1px;
    color: inherit;
}

.guide-card__note {
    margin: 0 0 16px;
    font-size: 12px;
    line-height: 1.8;
    color: var(--text-sub);
    text-align: center;
}
