/* =============================================================================
   SEARWES — 公開サイトのスタイル

   方針:
   - モバイルファースト。流入の大半がスマートフォン想定
   - 広告の枠（docs/04 5-4）を邪魔しない。詳細ページは単一カラムの記事型
   - アーカイブであることが一目で伝わること（日付・状態のバッジ）
   - ビルド不要の素のCSS。デプロイ手順を増やさない
   ========================================================================== */

:root {
    /* ブランド。ロゴの "W" の青に合わせる */
    --brand: #1d4ed8;
    --brand-dark: #1e40af;
    --brand-soft: #eff4ff;
    --accent: #ea580c;

    --fg: #111827;
    --fg-sub: #374151;
    --fg-muted: #6b7280;
    --fg-faint: #9ca3af;

    --bg: #f7f8fa;
    --panel: #ffffff;
    --line: #e5e7eb;
    --line-soft: #f0f2f5;

    --ok: #15803d;
    --warn: #b45309;
    --warn-bg: #fffbeb;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;

    --radius: 10px;
    --radius-sm: 6px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06);
    --shadow-md: 0 4px 12px rgba(16, 24, 40, .08);

    --maxw: 1120px;
    --article: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: var(--fg);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.45; }

.inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 16px;
}

.muted { color: var(--fg-muted); }
.muted-small { color: var(--fg-faint); font-size: 12px; }

/* ---- ヘッダ ------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.site-header .inner {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 60px;
    padding-top: 10px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}
.site-logo { flex: 0 0 auto; }
.site-logo img { display: block; width: 148px; height: auto; }
.site-tagline {
    flex: 1 1 auto;
    margin: 0;
    font-size: 12px;
    font-weight: normal;
    color: var(--fg-muted);
    display: none;
}

.searchbox {
    display: flex;
    flex: 1 1 100%;
    order: 3;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}
.searchbox:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.searchbox input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 16px;
    border: 0;
    background: transparent;
    font-size: 15px;
    color: var(--fg);
}
.searchbox input[type="text"]:focus { outline: none; }
.searchbox button {
    flex: 0 0 auto;
    padding: 0 18px;
    border: 0;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.searchbox button:hover { background: var(--brand-dark); }

/* ---- グローバルナビ ------------------------------------------------------ */
.gnav { background: var(--panel); border-bottom: 1px solid var(--line); }
.gnav ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}
.gnav ul::-webkit-scrollbar { display: none; }
.gnav a, .gnav .is-disabled {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    color: var(--fg-sub);
    border-bottom: 2px solid transparent;
}
.gnav a:hover { color: var(--brand); border-bottom-color: var(--brand); text-decoration: none; }
.gnav .is-disabled { color: var(--fg-faint); }

/* ---- パンくず ------------------------------------------------------------ */
.breadcrumb {
    padding: 6px 0 0;
    font-size: 12px;
    /* body の 1.75 を継承すると12pxの文字に21pxの行が付いて帯が厚くなる */
    line-height: 1.45;
    color: var(--fg-muted);
}
.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 4px 8px;
    margin: 0;
    padding: 0 0 2px;
    list-style: none;
    /* 階層が深いと3行に折り返して画面の上を占めるので、狭い画面では横スクロールにする。
       先頭（上位階層＝実際に押されるリンク）が残り、末尾の現在地が隠れる方が都合がよい。 */
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.breadcrumb ol::-webkit-scrollbar { display: none; }
.breadcrumb li { white-space: nowrap; }
.breadcrumb a { color: var(--fg-muted); }
.breadcrumb li::after { content: "›"; margin-left: 8px; color: var(--fg-faint); }
.breadcrumb li:last-child { color: var(--fg-sub); }
.breadcrumb li:last-child::after { content: ""; }

/* ---- レイアウト ---------------------------------------------------------- */
.layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
    padding-bottom: 48px;
}
.main { min-width: 0; }
.side { min-width: 0; }
.layout.is-single .main { width: 100%; max-width: var(--article); margin: 0 auto; }

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 16px;
    margin-bottom: 16px;
}
.panel > :first-child { margin-top: 0; }
.panel > :last-child { margin-bottom: 0; }

.page-title { margin: 0 0 12px; font-size: 22px; letter-spacing: .01em; }
h2.section-title { margin: 0 0 14px; font-size: 17px; letter-spacing: .01em; }
h2.section-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    border-radius: 2px;
    background: var(--brand);
    vertical-align: -2px;
}
h3.section-title { margin: 0 0 8px; font-size: 14px; color: var(--fg-muted); }

/* ---- ボタン -------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; }
.btn-plain { background: #fff; color: var(--fg-sub); border: 1px solid var(--line); }
.btn-plain:hover { background: var(--line-soft); color: var(--fg); }

/* ---- トップのヒーロー ---------------------------------------------------- */
.hero {
    background: linear-gradient(180deg, #fff 0%, var(--brand-soft) 100%);
    border-bottom: 1px solid var(--line);
    padding: 34px 0 30px;
}
.hero h1 { margin: 0 0 10px; font-size: 26px; letter-spacing: .01em; }
.hero p.lead { margin: 0 0 18px; color: var(--fg-sub); font-size: 14px; max-width: 44em; }
.hero-search { max-width: 560px; }
.hero-search .searchbox {
    order: 0;
    background: #fff;
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--fg-muted);
}
.hero-stats b { display: block; font-size: 20px; color: var(--fg); line-height: 1.3; }

/* ---- サービス一覧 -------------------------------------------------------- */
.service-list { margin: 0; padding: 0; list-style: none; }
.service-item {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line-soft);
}
.service-item:first-child { border-top: 0; padding-top: 4px; }
.service-thumb { flex: 0 0 96px; }
.service-thumb img {
    display: block;
    width: 96px;
    height: 72px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}
.service-body { flex: 1 1 auto; min-width: 0; }
.service-name { margin: 0 0 4px; font-size: 16px; }
.service-name a { color: var(--fg); }
.service-name a:hover { color: var(--brand); }
.service-desc { margin: 0 0 6px; color: var(--fg-sub); font-size: 13px; line-height: 1.7; }
.service-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    font-size: 12px;
    color: var(--fg-muted);
}
.price-chip {
    padding: 1px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--line-soft);
}

/* ---- バッジ -------------------------------------------------------------- */
.badge-ended {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #fecaca;
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 11px;
    font-weight: normal;
    white-space: nowrap;
    vertical-align: middle;
}

/* ---- カテゴリ ------------------------------------------------------------ */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.category-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px 14px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.category-card:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.category-card > a { font-weight: bold; color: var(--fg); font-size: 15px; }
.category-card > a:hover { color: var(--brand); text-decoration: none; }
.category-card ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: 12px; line-height: 1.9; }
.category-card li { display: inline; }
.category-card li::after { content: "・"; color: var(--line); }
.category-card li:last-child::after { content: ""; }
.category-card ul a { color: var(--fg-muted); }
.count { color: var(--fg-faint); font-size: 12px; font-weight: normal; }

.child-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.child-chips a {
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--fg-sub);
}
.child-chips a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* ---- 詳細ページ ---------------------------------------------------------- */
.detail-head { display: flex; flex-direction: column; gap: 16px; }
.detail-thumb img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}
.detail-facts { flex: 1 1 auto; min-width: 0; }
.catchphrase {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: bold;
    color: var(--brand-dark);
    line-height: 1.7;
}

.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin: 0 0 10px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--line-soft);
}
.price-list dt { font-size: 12px; color: var(--fg-muted); }
.price-list dd { margin: 2px 0 0; font-size: 17px; font-weight: bold; }
.price-caveat { margin: 0 0 14px; font-size: 12px; color: var(--fg-muted); line-height: 1.7; }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tag-list li {
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
    color: var(--fg-sub);
}
.tag-list li a { color: var(--fg-sub); }

.rich-text { overflow-wrap: anywhere; font-size: 14px; line-height: 1.9; color: var(--fg-sub); }
.rich-text a { overflow-wrap: anywhere; }

table.facts { width: 100%; border-collapse: collapse; font-size: 14px; }
table.facts th, table.facts td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}
table.facts tr:last-child th, table.facts tr:last-child td { border-bottom: 0; }
table.facts th { width: 38%; font-weight: normal; color: var(--fg-muted); font-size: 13px; }
.dead-link { color: var(--fg-faint); text-decoration: line-through; overflow-wrap: anywhere; }

/* ---- アーカイブ表示（docs/04 1章 / 3-2）--------------------------------- */
.archive-note {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--line-soft);
    font-size: 12px;
    color: var(--fg-muted);
}
.archive-note em { font-style: normal; color: var(--warn); }

.ended-banner {
    padding: 16px 18px;
    margin-bottom: 16px;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--danger);
    border-radius: var(--radius);
    background: var(--danger-bg);
}
.ended-banner strong { color: var(--danger); font-size: 16px; }
.ended-banner p { margin: 6px 0 0; font-size: 13px; color: #7f3b36; line-height: 1.8; }

.status-note {
    margin: 0 0 12px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--warn-bg);
    color: var(--warn);
    font-size: 12px;
}

/* 墓標ページの「現役サービス」。本文の主役として大きく出す（docs/04 3-2） */
.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.alt-grid li { display: flex; flex-direction: column; gap: 2px; }
.alt-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .15s;
}
.alt-link:hover img { border-color: var(--brand); }
.alt-name { display: block; margin-top: 6px; font-weight: bold; font-size: 13px; color: var(--fg); line-height: 1.6; }
.alt-desc { font-size: 12px; color: var(--fg-muted); line-height: 1.6; }

.correction-cta p { font-size: 13px; color: var(--fg-sub); }

/* ---- フォーム ------------------------------------------------------------ */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: bold; }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--fg);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.form-row textarea { min-height: 170px; line-height: 1.8; }
.required { color: var(--danger); font-size: 11px; margin-left: 4px; }
.error { color: var(--danger); font-size: 12px; margin: 5px 0 0; }
.hint-text { margin: 6px 0 0; font-size: 12px; color: var(--fg-muted); line-height: 1.7; }
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* 人には見せない（display:none だと見破るボットがいるので位置で隠す） */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- ページャ ------------------------------------------------------------ */
.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    font-size: 14px;
}
.pagination li span, .pagination li a {
    display: block;
    min-width: 38px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    text-align: center;
    color: var(--fg-sub);
}
.pagination li a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination li[aria-current="page"] span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination li[aria-disabled="true"] span { color: var(--fg-faint); }

/* 区切りの「…」は押せないので、枠を付けず幅も詰める */
.pagination li.pg-gap span {
    min-width: 0;
    padding: 7px 2px;
    border: 0;
    background: none;
    color: var(--fg-faint);
}

.result-count { margin: 0 0 12px; color: var(--fg-muted); font-size: 13px; }
.empty { padding: 32px 16px; text-align: center; color: var(--fg-muted); }

/* ---- サイドバー ---------------------------------------------------------- */
.side .panel { padding: 14px 16px; }
.side-list { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.side-list li { padding: 7px 0; border-top: 1px solid var(--line-soft); }
.side-list li:first-child { border-top: 0; padding-top: 0; }
.side-list a { color: var(--fg-sub); }
.side-list a:hover { color: var(--brand); }

/* ---- 広告枠（docs/04 5-3: 出さないときは div ごと出さない / min-height 必須） */
.ad-unit { margin: 0 0 16px; overflow: hidden; }
.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    background: #fff;
    color: var(--fg-faint);
    font-size: 12px;
}

/* ---- 固定ページ ---------------------------------------------------------- */
.doc-page { font-size: 14px; }
.doc-page h2.section-title { margin-top: 30px; }
.doc-page ul { padding-left: 1.3em; }
.doc-page li { margin-bottom: 5px; }
.doc-page p { margin: 0 0 12px; }
.doc-date { margin-top: 28px; color: var(--fg-faint); font-size: 12px; }

/* ---- フッタ -------------------------------------------------------------- */
.site-footer {
    background: #111827;
    color: #cbd5e1;
    padding: 28px 0 32px;
    font-size: 13px;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 16px; }
.site-footer a { color: #e2e8f0; }
.archive-statement {
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid #1f2937;
    max-width: 780px;
    font-size: 12px;
    line-height: 1.9;
    color: #94a3b8;
}
.archive-statement a { color: #cbd5e1; text-decoration: underline; }
.copyright { margin-top: 18px; color: #64748b; font-size: 12px; }

/* ---- タブレット以上 ------------------------------------------------------ */
@media (min-width: 768px) {
    /* 広い画面では折り返してよい */
    .breadcrumb ol { flex-wrap: wrap; overflow-x: visible; }

    .site-header .inner { flex-wrap: nowrap; min-height: 68px; }
    .site-logo img { width: 168px; }
    .site-tagline { display: block; }
    .searchbox { order: 0; flex: 0 1 320px; }

    .hero { padding: 48px 0 42px; }
    .hero h1 { font-size: 32px; }
    .hero p.lead { font-size: 15px; }

    .category-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

    .service-thumb { flex-basis: 132px; }
    .service-thumb img { width: 132px; height: 99px; }

    .detail-head { flex-direction: row; }
    .detail-thumb { flex: 0 0 300px; }
    .detail-thumb img { width: 300px; max-width: none; }

    .panel { padding: 22px; }
    .page-title { font-size: 26px; }
    table.facts th { width: 200px; }
}

/* ---- デスクトップ（2カラム） --------------------------------------------- */
@media (min-width: 1000px) {
    .layout { flex-direction: row; align-items: flex-start; gap: 24px; }
    .layout .main { flex: 1 1 auto; }
    .layout .side { flex: 0 0 300px; position: sticky; top: 84px; }
    .layout.is-single { display: block; }
}

.sp-only { display: inline; }
@media (min-width: 768px) { .sp-only { display: none; } }

.form-error {
    margin: 0 0 16px;
    padding: 10px 14px;
    border: 1px solid #fecaca;
    border-radius: var(--radius-sm);
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 13px;
}

/* ---- フォーム（お問い合わせ・修正依頼） ---------------------------------- */
.form-panel { max-width: 680px; margin-left: auto; margin-right: auto; }

/* 入力 → 確認 → 完了 */
.steps {
    display: flex;
    gap: 6px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}
.steps li {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 4px;
    border-radius: var(--radius-sm);
    background: var(--line-soft);
    color: var(--fg-faint);
    font-size: 12px;
}
.steps-no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
}
.steps li.is-current { background: var(--brand-soft); color: var(--brand-dark); }
.steps li.is-current .steps-no { background: var(--brand); border-color: var(--brand); color: #fff; }
.steps li.is-done { color: var(--ok); }
.steps li.is-done .steps-no { background: var(--ok); border-color: var(--ok); color: #fff; }
.steps-label { font-weight: bold; }

.form-lead { margin: 0 0 16px; font-size: 14px; color: var(--fg-sub); }
.form-notice {
    margin: 0 0 22px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-sm);
    background: #fffaf5;
    font-size: 13px;
    line-height: 1.8;
    color: var(--fg-sub);
}

.field-row { margin-bottom: 20px; }
.field-row label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: bold;
}
.field-row input[type="text"],
.field-row input[type="email"],
.field-row select,
.field-row textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 16px;   /* iOS で拡大されない最小値 */
    font-family: inherit;
    background: #fff;
    color: var(--fg);
}
.field-row input:focus, .field-row select:focus, .field-row textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}
.field-row [aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field-row textarea { min-height: 190px; line-height: 1.8; resize: vertical; }
.field-help { margin: 6px 0 0; font-size: 12px; color: var(--fg-muted); }

.required {
    padding: 1px 7px;
    border-radius: 3px;
    background: var(--danger-bg);
    color: var(--danger);
    font-size: 11px;
    font-weight: normal;
    margin-left: 0;
}

.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.form-actions-split { justify-content: space-between; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.form-foot { margin: 18px 0 0; font-size: 12px; color: var(--fg-muted); }

/* 確認画面 */
.review { margin: 0 0 8px; border-top: 1px solid var(--line); }
.review > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 2px;
    border-bottom: 1px solid var(--line);
}
.review dt { font-size: 12px; color: var(--fg-muted); }
.review dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.review-body { white-space: pre-wrap; line-height: 1.9; }

/* 完了画面 */
.done-mark {
    width: 56px;
    height: 56px;
    margin: 6px auto 16px;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    font-size: 30px;
    line-height: 56px;
    text-align: center;
}
.done-lead { text-align: center; }
.done-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; }

@media (min-width: 768px) {
    .review > div { flex-direction: row; gap: 20px; }
    .review dt { flex: 0 0 160px; padding-top: 3px; }
    .review dd { flex: 1 1 auto; }
    .steps li { flex-direction: row; gap: 8px; font-size: 13px; }
}
