/*
 * 公開（SEO）用 医科点数表ページのスタイル。
 *
 * このファイルは静的HTMLからのみ読み込まれる。会員側（Tailwind + Vite）とは
 * 完全に独立している。CDN（Bootstrap / jQuery）へ依存しないのは、
 *   - CSPを強制モードへ切り替えるときの障害物を残さないため
 *   - 3,500ページの LCP を外部ホストの応答に左右されないため
 * の2点による。JavaScript は一切使わない。
 */

:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --border: #e3e6ec;
    --text: #1f2430;
    --text-muted: #5b6373;
    --brand: #b45309;
    --brand-strong: #92400e;
    --accent-kokuji: #2563eb;
    --accent-tuti: #059669;
    --accent-jiren: #d97706;
    --radius: 10px;
    --maxw: 1600px;
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
        "Yu Gothic UI", Meiryo, sans-serif;
    font-size: 15px;
    line-height: 1.8;
}

a { color: var(--accent-kokuji); }

/* ── ヘッダー ───────────────────────────────────────── */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.site-header__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.site-brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.site-header__spacer { flex: 1 1 auto; }

.btn {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn--ghost { color: var(--brand); border-color: #e7d5bb; background: #fffdf8; }
.btn--ghost:hover { background: #fdf6ea; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-strong); }

/* ── パンくず ───────────────────────────────────────── */
.breadcrumb {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0.7rem 1rem 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
}

.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: #aab; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── ページ本体 ─────────────────────────────────────── */
.page {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 1rem;
}

.page-title {
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0.6rem 0 0.4rem;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.code-badge {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.8rem;
    background: #eef1f6;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 0.15rem 0.5rem;
    white-space: nowrap;
}

.page-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0 0 1rem;
}

/* ── 2ゾーン構成：参照文書ゾーン ＋ コンテキストパネル ── */
.zones {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: start;
}

.doc-zone {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
}

.doc-col {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1rem 1.1rem;
    min-width: 0;
}

.doc-col__head {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.7rem;
    padding-left: 0.6rem;
    border-left: 4px solid var(--border);
}

.doc-col--kokuji .doc-col__head { border-left-color: var(--accent-kokuji); }
.doc-col--tuti   .doc-col__head { border-left-color: var(--accent-tuti); }
.doc-col--jiren  .doc-col__head { border-left-color: var(--accent-jiren); }

/* マスタ本文（告示・通知・事務連絡のHTMLがそのまま入る） */
.doc-body {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.doc-body > div { margin-bottom: 0.85rem; }
.doc-body a { text-decoration: none; border-bottom: 1px solid currentColor; }
.doc-body a:hover { background: #eff4ff; }

/* リンク先がマスタに存在せず、アンカーを外した箇所 */
.doc-body .i-slink-dead { color: inherit; }

/* 疑義解釈（Q&A） */
.doc-body .gigi-code {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 0.8rem;
    background: #fffdf7;
}
.doc-body .gigi-question { font-weight: 600; }
.doc-body .gigi-question::before { content: "Q. "; color: var(--accent-jiren); }
.doc-body .gigi-answer { margin-top: 0.5rem; }
.doc-body .gigi-answer::before { content: "A. "; color: var(--accent-tuti); font-weight: 600; }

.doc-body table { border-collapse: collapse; max-width: 100%; }
.doc-body th, .doc-body td { border: 1px solid var(--border); padding: 0.3rem 0.5rem; }

/* 表や長い行が本文からはみ出してもページ全体を横スクロールさせない */
.doc-body { overflow-x: auto; }

/* ── コンテキストパネル ─────────────────────────────── */
.panel { display: grid; gap: 1rem; min-width: 0; }

.panel-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
}

.panel-card__head {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.7rem;
    color: var(--text);
}

.poll-teaser { border-top: 1px solid var(--border); padding-top: 0.7rem; margin-top: 0.7rem; }
.poll-teaser:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.poll-teaser__q { font-size: 0.86rem; margin: 0 0 0.3rem; }
.poll-teaser__n { font-size: 0.75rem; color: var(--text-muted); margin: 0; }

/* ── 回遊導線（同じ節の項目・前後の項目） ─────────────
 *
 * 旧WordPressのサイドバー（項目一覧）を静的化で落としたぶんの代替。
 * 検索で1枚だけ見て離脱する動きを減らし、内部リンクも増やす。
 */
.sibling-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 22rem;
    overflow-y: auto;
}

.sibling-list li + li { border-top: 1px solid var(--border); }

.sibling-list a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.8rem;
    line-height: 1.5;
    text-decoration: none;
}

.sibling-list a:hover { text-decoration: underline; }

.sibling-list code {
    display: inline-block;
    min-width: 4.2em;
    margin-right: 0.4em;
    color: var(--text-muted);
    font-size: 0.72rem;
}

.pager {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.pager__link {
    display: block;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    min-width: 0;
}

.pager__link:hover { border-color: var(--accent-kokuji); }

.pager__link--next { text-align: right; }

.pager__dir {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
}

.pager__title {
    display: block;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.pager__title code {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-right: 0.4em;
}

.back-to-index {
    margin: 1rem 0 0;
    font-size: 0.82rem;
}

/* ── 広告枠 ─────────────────────────────────────────
 *
 * 読み込み前から 300×250 ＋ ラベル行の高さを確保する。
 * 公開ページは検索流入の入口であり、CLS（レイアウトのズレ）は順位に効く。
 * 枠が空のまま返ってきても、崩れず「何も無い」ように見える見た目にしている。
 */
.ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 1rem;
}

.ad-slot__label {
    width: 300px;
    max-width: 100%;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.ad-slot__frame {
    width: 300px;
    height: 250px;
    max-width: 100%;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.panel-cta {
    background: #fffdf8;
    border-color: #ecdcc2;
}
.panel-cta p { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 0.8rem; }
.panel-cta .btn { display: block; text-align: center; }
.panel-cta .btn + .btn { margin-top: 0.5rem; }

/* ── 入口の索引（カテゴリ一覧） ─────────────────────── */
.index-lead { font-size: 0.9rem; color: var(--text-muted); margin: 0 0 1.2rem; }

.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.8rem;
}

.category-list a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.8rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-kokuji);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: var(--text);
}

.category-list a:hover { background: #f4f8ff; border-color: var(--accent-kokuji); }
.category-list__name { font-weight: 600; font-size: 0.98rem; }
.category-list__count { font-size: 0.8rem; color: var(--text-muted); white-space: nowrap; }

/* ── 索引ページ ─────────────────────────────────────── */
.index-group { margin-bottom: 2rem; }
.index-group__head {
    font-size: 1.05rem;
    margin: 0 0 0.7rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--border);
}
.index-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.2rem 1rem;
}
.index-list a { text-decoration: none; font-size: 0.85rem; }
.index-list a:hover { text-decoration: underline; }
.index-list code {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-right: 0.35rem;
}

/* ── フォーム（お問い合わせ） ───────────────────────── */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 680px;
}

.form-row { margin-bottom: 1.1rem; }

.form-row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-row .required { color: #b91c1c; font-weight: 400; font-size: 0.75rem; margin-left: 0.3rem; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid #ccd2dc;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 1.6;
    background: #fff;
    color: var(--text);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid #c8dcff;
    outline-offset: 0;
    border-color: var(--accent-kokuji);
}

.form-row textarea { min-height: 11rem; resize: vertical; }

.form-error {
    color: #b91c1c;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.form-note { font-size: 0.8rem; color: var(--text-muted); }

.form-actions { margin-top: 1.3rem; }
.form-actions .btn { width: 100%; text-align: center; border: 0; cursor: pointer; font-size: 0.95rem; padding: 0.7rem 1rem; }
.form-actions button[disabled] { opacity: 0.6; cursor: progress; }

.form-done {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 1.5rem;
    max-width: 680px;
}

/* ── フッター ───────────────────────────────────────── */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--surface);
    margin-top: 2.5rem;
    padding: 1.5rem 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer a { color: var(--text-muted); }

/* ── レスポンシブ ───────────────────────────────────── */
@media (min-width: 768px) {
    .doc-zone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doc-col--jiren { grid-column: 1 / -1; }
    .pager { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1200px) {
    .zones { grid-template-columns: minmax(0, 1fr) 320px; }
    .panel { position: sticky; top: 4.5rem; }
}

@media (min-width: 1500px) {
    .doc-zone { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .doc-col--jiren { grid-column: auto; }
}

@media print {
    .site-header, .panel, .site-footer, .breadcrumb, .ad-slot,
    .pager, .back-to-index { display: none; }
    .zones, .doc-zone { display: block; }
    .doc-col { border: 0; padding: 0; }
}

/* ──────────────────────────────────────────────────────
 * ここから下は「案内ページ」用（トップページ / ・料金 /plans）。
 *
 * 点数表ページは全幅（--maxw 1600px）で3カラムを敷くための寸法だが、
 * 案内ページは読み物なので、行長が伸びすぎないよう .page--narrow で絞る。
 * 追加したクラスはこの区画にまとめてある（点数表側の見た目には触れない）。
 * ────────────────────────────────────────────────────── */

.page--narrow { max-width: 1080px; }

/* ── ヘッダーのサイト内ナビ ─────────────────────────── */
/* ⚠️ このナビは静的HTML（/ika/ 約3,500ページ）にも焼き込まれる。
      項目を変えたら php artisan generate:ika-pages --all で作り直すこと。 */
.site-nav {
    display: none;
    gap: 1rem;
    font-size: 0.85rem;
}
.site-nav a { color: var(--text-muted); text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--brand); text-decoration: underline; }

/* ── ヒーロー ───────────────────────────────────────── */
.hero {
    background: linear-gradient(180deg, #fffdf8 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 3rem 1rem 2.75rem;
}

.hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: 0.06em;
    margin: 0 0 0.7rem;
}

.hero__title {
    font-size: 1.75rem;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 1rem;
}

.hero__lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 0 1.6rem;
    max-width: 46rem;
}

.hero__lead strong { color: var(--text); }

.hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn--lg { padding: 0.7rem 1.5rem; font-size: 0.95rem; }

.hero__note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 1rem 0 0;
}

/* ── セクション ─────────────────────────────────────── */
.lp-section { margin: 2.75rem 0; }

.lp-section__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    padding-left: 0.7rem;
    border-left: 4px solid var(--brand);
}

.lp-section__lead {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 0 1.2rem;
}

/* ── 3つの価値（探す・残す・守る）───────────────────── */
.pillars {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.pillar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    border-top: 3px solid var(--brand);
    padding: 1.25rem;
}

.pillar__label {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.15rem;
}

.pillar__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-strong);
    margin: 0 0 0.6rem;
}

.pillar__body { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── 機能カード ─────────────────────────────────────── */
.feature-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.feature__title { font-size: 0.95rem; font-weight: 700; margin: 0 0 0.35rem; }
.feature__body { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.feature__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--brand-strong);
    background: #fdf6ea;
    border: 1px solid #e7d5bb;
    border-radius: 4px;
    padding: 0.05rem 0.4rem;
    margin-left: 0.4rem;
    vertical-align: middle;
}

/* ── 無料で使える公開コンテンツ ─────────────────────── */
.open-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.open-block__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.open-block h3 { font-size: 0.95rem; margin: 0 0 0.3rem; }
.open-block p { font-size: 0.82rem; color: var(--text-muted); margin: 0 0 0.5rem; }

/* ── お知らせ・導入事例のリンクリスト ───────────────── */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li + li { border-top: 1px solid var(--border); }

.link-list a {
    display: flex;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.6rem 0.2rem;
    text-decoration: none;
    font-size: 0.88rem;
}
.link-list a:hover { text-decoration: underline; }
.link-list time { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }

/* ── 料金カード ─────────────────────────────────────── */
.plan-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: stretch;
}

.plan-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
}

.plan-card--featured { border: 2px solid var(--brand); }

.plan-card__badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 4px;
    padding: 0.1rem 0.5rem;
    margin-bottom: 0.5rem;
}

.plan-card__name { font-size: 1.05rem; font-weight: 700; margin: 0 0 0.2rem; }
.plan-card__for { font-size: 0.8rem; color: var(--text-muted); margin: 0 0 1rem; }

.plan-card__price { margin: 0 0 0.2rem; }
.plan-card__price b { font-size: 1.65rem; font-weight: 700; }
.plan-card__price span { font-size: 0.8rem; color: var(--text-muted); margin-left: 0.3rem; }

.plan-card__sub { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 1.1rem; }

.plan-card__features {
    list-style: none;
    margin: 0 0 1.3rem;
    padding: 0;
    font-size: 0.83rem;
    flex: 1 1 auto;
}
.plan-card__features li { padding-left: 1.2rem; position: relative; margin-bottom: 0.5rem; }
.plan-card__features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-tuti);
    font-weight: 700;
}
.plan-card__features li.is-absent { color: var(--text-muted); }
.plan-card__features li.is-absent::before { content: "−"; color: #aab; }

.plan-card .btn { text-align: center; }

/* ── 機能比較表 ─────────────────────────────────────── */
.compare-wrap { overflow-x: auto; }

.compare {
    border-collapse: collapse;
    width: 100%;
    min-width: 40rem;
    font-size: 0.82rem;
    background: var(--surface);
}
.compare th, .compare td {
    border: 1px solid var(--border);
    padding: 0.55rem 0.7rem;
    text-align: center;
    vertical-align: middle;
}
.compare thead th { background: #eef1f6; font-size: 0.8rem; }
.compare tbody th { text-align: left; font-weight: 500; }
.compare .yes { color: var(--accent-tuti); font-weight: 700; }
.compare .no { color: #aab; }

/* ── 申込みの流れ ───────────────────────────────────── */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
    grid-template-columns: 1fr;
}

.steps li {
    counter-increment: step;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.9rem 1rem 0.9rem 2.9rem;
    position: relative;
    font-size: 0.85rem;
}
.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0.9rem;
    top: 0.85rem;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ── FAQ ────────────────────────────────────────────── */
.faq {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem 1.1rem;
    margin-bottom: 0.7rem;
}
.faq summary { cursor: pointer; font-weight: 600; font-size: 0.88rem; padding: 0.6rem 0; }
.faq p { font-size: 0.83rem; color: var(--text-muted); margin: 0 0 0.9rem; }

/* ── 末尾のCTA帯 ────────────────────────────────────── */
.cta-band {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
}
.cta-band h2 { font-size: 1.1rem; margin: 0 0 0.5rem; }
.cta-band p { font-size: 0.85rem; color: var(--text-muted); margin: 0 0 1.2rem; }
.cta-band .hero__actions { justify-content: center; }

/* ── 注記 ───────────────────────────────────────────── */
.fineprint { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }
.fineprint li { margin-bottom: 0.3rem; }

@media (min-width: 720px) {
    .site-nav { display: flex; }
    .hero__title { font-size: 2.1rem; }
    .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .open-block__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
    .plan-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ── 開発中・準備中の断り書き ───────────────────────── */
/* 「使えるようになっている機能」と「これから使えるようになる機能」を
   同じ見た目で並べない。問い合わせ時に説明が食い違う。 */
.feature__tag--wip {
    color: var(--text-muted);
    background: #eef1f6;
    border-color: var(--border);
}

.compare th small,
.plan-card__features li small {
    display: block;
    font-weight: 400;
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ── 法人（複数施設を運営される法人）向けの区画 ─────── */
.org-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 1.4rem;
}

.org-block__lead { font-size: 0.9rem; margin: 0 0 1.2rem; }

.org-points {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 1fr;
}

.org-points h3 { font-size: 0.92rem; margin: 0 0 0.25rem; }
.org-points p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

@media (min-width: 720px) {
    .org-points { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
