/* HIVE PLATFORM — 共通スタイル */
:root {
  --bg: #fbf8f1;          /* アイボリー */
  --surface: #ffffff;
  --surface-2: #f4efe3;
  --ink: #1f2423;         /* 濃い文字色 */
  --ink-2: #4a5250;
  --ink-3: #6f7774;
  --line: #e4ddcd;
  --honey: #b8862b;       /* ハニーゴールド（アクセント） */
  --honey-soft: #f6ead0;
  --honey-text: #8a6418;  /* 小さな文字用の濃い金（背景とのコントラスト約5:1） */
  --teal: #1d5a57;        /* 深い青緑 */
  --teal-soft: #e3efed;
  --point: #1d5a57;       /* ポイント表示 */
  --yen: #7a4b10;         /* 円表示 */
  --cashback: #2f6b2f;    /* 還元額 */
  --warn-bg: #fff6e0;
  --warn-line: #e6c97a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(31,36,35,.05), 0 4px 16px rgba(31,36,35,.05);
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --fab-h: 64px;
}

* { box-sizing: border-box; }
/* hidden 属性を display 指定（.field の flex など）より優先する */
[hidden] { display: none !important; }

/* 受付開始前モード（site-config.js の acceptingMembers: false） */
.prelaunch-bar { background: #1d2a28; color: #fff; font-size: .88rem; line-height: 1.6; }
.prelaunch-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding-top: 10px; padding-bottom: 10px; }
.prelaunch-tag { flex: none; font-size: .74rem; font-weight: 700; letter-spacing: .12em; color: #1d2a28; background: #e0b862; border-radius: 999px; padding: 2px 10px; }
.prelaunch-text { flex: 1 1 260px; color: rgba(255,255,255,.88); }
.prelaunch-link { flex: none; color: #fff; font-weight: 700; text-decoration-color: rgba(224,184,98,.8); }
.join-closed-note { display: none; }
.join-closed .join-closed-note { display: block; }
.join-closed .join-steps, .join-closed #join-msg, .join-closed [data-pane] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  padding-bottom: calc(var(--fab-h) + 24px + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; }

/* ---------- 日本語の改行 ----------
   auto-phrase：文節単位で改行（Chrome系）。pretty：最終行に1〜2文字だけ残る改行を避ける（Chrome・Safari）。
   見出しや表の見出しは balance で行の長さをそろえる。
   .nw：app.js がカタカナ語・「数字＋単位」に付ける、途中で改行させないための印。 */
body { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
h1, h2, h3, h4, th, summary, .pillar-role, .guide-label, .btn, .chip, .seg span, .status-pill { text-wrap: balance; }
.nw { white-space: nowrap; }
/* ボタンなど flex の中では .nw を独立した要素にせず、前後の文字とつなげる（gap による不自然なすき間を防ぐ） */
.btn .nw, .seg span .nw, .status-pill .nw, .pf-tag .nw, .logo .nw, h3:has(> .unit-badge:first-child) .nw, .pillar-badge .nw { display: contents; }
/* 文節改行に未対応のブラウザ（Safari など）：app.js が入れた <wbr> の位置だけで改行。入りきらない時だけ文字の途中で折る */
html.phrase-fallback body { word-break: keep-all; overflow-wrap: break-word; }
/* Safari は text-wrap: pretty で、行末の語を次の行にも重ねて描くことがある（例：「19件なら／なら 5,700p」）。補助を使うブラウザでは通常の折り返しにする */
html.phrase-fallback body, html.phrase-fallback body * { text-wrap: wrap; }
html.phrase-fallback td { overflow-wrap: anywhere; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: #123d3b; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.45; letter-spacing: .03em; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 4.6vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
small { font-size: .82em; }
ul { padding-left: 1.3em; margin: 0 0 1em; }
li { margin: .2em 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: min(1080px, 100%); margin: 0 auto; padding: 0 16px; }
.wrap-narrow { width: min(820px, 100%); margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,241,.94); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; letter-spacing: .14em; font-size: 1.02rem; white-space: nowrap; }
.logo .hex { width: 22px; height: 24px; flex: none; }
.logo .logo-img { display: block; height: 46px; width: auto; }
.site-footer .footer-logo { display: block; height: 56px; width: auto; }
.values-logo { display: block; width: min(420px, 100%); height: auto; margin: 0 0 24px; }
.logo small { font-weight: 500; letter-spacing: .1em; color: var(--ink-3); font-size: .7rem; margin-left: 2px; }
.gnav { margin-left: auto; }
.gnav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.gnav a { display: block; padding: 8px 10px; color: var(--ink-2); text-decoration: none; font-size: .9rem; border-radius: 8px; }
.gnav a:hover { background: var(--surface-2); color: var(--ink); }
.gnav a[aria-current="page"] { color: var(--teal); font-weight: 700; background: var(--teal-soft); }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .9rem; color: var(--ink); min-height: 44px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; gap: 6px; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .gnav.open { display: block; }
  .gnav ul { flex-direction: column; padding: 8px 16px 16px; }
  .gnav a { padding: 12px 10px; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: 20px; width: 340px; height: 380px; background: url("../img/hex-pattern.svg") no-repeat center / contain; opacity: .5; pointer-events: none; }
.hero .eyebrow { color: var(--honey-text); font-weight: 700; letter-spacing: .2em; font-size: .8rem; margin-bottom: 12px; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); margin-bottom: 18px; position: relative; z-index: 1; }
.hero .lead { font-size: clamp(1rem, 2.4vw, 1.12rem); color: var(--ink-2); max-width: 36em; position: relative; z-index: 1; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; position: relative; z-index: 1; }
.hero .note { margin-top: 18px; font-size: .86rem; color: var(--ink-3); position: relative; z-index: 1; }
@media (max-width: 640px) { .hero::after { width: 200px; height: 220px; right: -70px; top: 0; opacity: .35; } }

.page-head { padding: 44px 0 28px; }
.page-head p { color: var(--ink-2); max-width: 40em; }
.breadcrumb { font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; }
.breadcrumb a { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 700; font-size: .96rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #154643; color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05a547; color: #fff; }
.btn-line[aria-disabled="true"], .btn-disabled { background: #d9d6cf; color: #5d605e; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: .88rem; }
.btn-ghost { background: none; color: var(--teal); padding-left: 4px; padding-right: 4px; min-height: 40px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.pillar .tag { display: inline-block; font-size: .76rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--honey-soft); color: #6b4a10; margin-bottom: 10px; }
.pillar .who { font-size: .86rem; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 12px; }
.pillar .num { font-weight: 800; color: var(--honey-text); font-size: .9rem; letter-spacing: .1em; }

.section-title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.section-title .en { font-size: .76rem; letter-spacing: .24em; color: var(--honey-text); font-weight: 700; }
.muted { color: var(--ink-3); }
.center { text-align: center; }

.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.value b { font-size: 1.8rem; color: var(--teal); font-weight: 800; line-height: 1; display: block; margin-bottom: 6px; }
.value > span { display: block; font-weight: 700; }
.value small { color: var(--ink-3); }
.value p { margin: 10px 0 0; font-size: .88rem; line-height: 1.7; color: var(--ink-2); }

/* ---------- Notices ---------- */
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 12px 16px; font-size: .9rem; color: #5b4510; }
.notice-info { background: var(--teal-soft); border-color: #bcd6d2; color: #1b4442; }
.notice p:last-child, .notice ul:last-child { margin-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .86rem; padding: 4px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-pill.closed { background: #eee; color: #666; }
.status-pill.check { background: var(--honey-soft); color: #7a5410; }

/* ---------- 金額表示（ポイントと円を見分ける） ---------- */
.amt { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amt-p { color: var(--point); }
.amt-p::after { content: "p"; font-size: .78em; margin-left: 1px; }
.amt-yen { color: var(--yen); }
.amt-yen::after { content: "円"; font-size: .78em; margin-left: 1px; }
.amt-back { color: var(--cashback); }
/* バッジ付きの見出しは、バッジの横で文字が折り返すようにする（バッジだけが行に残らない） */
h3:has(> .unit-badge:first-child) { display: flex; align-items: baseline; gap: 8px; }
h3 > .unit-badge:first-child { flex: none; margin-right: 0; }
.unit-badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 0 7px; border-radius: 4px; vertical-align: 2px; margin-right: 4px; }
.unit-badge.p { background: var(--teal-soft); color: var(--teal); }
.unit-badge.yen { background: #f7ead6; color: var(--yen); }
.unit-badge.back { background: #e4f0e1; color: var(--cashback); }

/* ---------- Plan switcher ---------- */
.plan-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.plan-switch .label { font-weight: 700; font-size: .9rem; margin-right: 4px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; border: 0; margin: 0; padding: 0; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--ink-2); background: var(--bg); }
.seg input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.seg span .nw { color: inherit; background: none; border: 0; padding: 0; min-height: 0; }
.seg input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: 2px; }

/* ---------- Comparison table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table-scroll:focus-visible { outline: 3px solid var(--honey); }
.swipe-hint { display: none; font-size: .8rem; color: var(--ink-3); margin: 0 0 6px; }
@media (max-width: 760px) { .swipe-hint { display: block; } }
table.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 720px; font-size: .92rem; }
table.compare th, table.compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--surface-2); font-size: .9rem; letter-spacing: .08em; position: sticky; top: 0; }
table.compare tbody th { font-weight: 700; background: var(--surface); position: sticky; left: 0; z-index: 1; width: 8.5em; min-width: 8.5em; box-shadow: 1px 0 0 var(--line); }
table.compare tbody th small { display: block; font-weight: 500; color: var(--ink-3); }
table.compare td { width: 10.5em; }
table.compare { min-width: calc(8.5em + 4 * 10.5em + 140px); }
table.compare thead th:first-child { position: sticky; left: 0; z-index: 2; }
table.compare tr:last-child > * { border-bottom: 0; }
table.compare .col-single { background: #faf8f4; }
table.compare th.is-current, table.compare td.is-current { background: var(--honey-soft); }

table.simple { border-collapse: collapse; width: 100%; font-size: .92rem; background: var(--surface); }
table.simple th, table.simple td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.simple th { background: var(--surface-2); font-weight: 700; }
table.simple td.num { text-align: right; white-space: nowrap; }

/* ---------- Service list ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.chip { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-size: .88rem; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-card { display: flex; flex-direction: column; }
.svc-card .cat { font-size: .74rem; font-weight: 700; color: var(--honey-text); letter-spacing: .1em; }
.svc-card h3 { margin-top: 4px; }
.svc-card .summary { color: var(--ink-2); font-size: .94rem; flex: 1; }
.svc-card .price { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; margin: 10px 0 14px; font-size: .92rem; }
.svc-card .price .for { font-size: .78rem; color: var(--ink-3); display: block; }
.svc-card .card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

dialog.svc-dialog { border: 0; padding: 0; border-radius: 18px; width: min(760px, calc(100% - 24px)); max-height: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.25); color: var(--ink); background: var(--bg); }
dialog.svc-dialog::backdrop { background: rgba(20,24,23,.45); }
.dlg-head { position: sticky; top: 0; background: var(--bg); padding: 18px 20px 12px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; z-index: 1; }
.dlg-head h2 { margin: 0; font-size: 1.3rem; }
.dlg-close { margin-left: auto; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.3rem; cursor: pointer; color: var(--ink); }
.dlg-body { padding: 18px 20px 24px; }
.dlg-body h3 { margin-top: 1.4em; font-size: 1rem; border-left: 4px solid var(--honey); padding-left: 10px; }
.dlg-body h3:first-child { margin-top: 0; }
.kv { display: grid; grid-template-columns: 9em 1fr; gap: 6px 12px; font-size: .92rem; }
.kv dt { font-weight: 700; color: var(--ink-2); }
.kv dd { margin: 0; }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; } .kv dd { margin-bottom: 8px; } }
.price-table td.num { font-variant-numeric: tabular-nums; }

/* ---------- Forms / calculators ---------- */
.calc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 16px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label, .field .flabel { font-weight: 700; font-size: .88rem; }
.field .hint { font-size: .78rem; color: var(--ink-3); }
input[type="text"], input[type="email"], input[type="number"], input[type="search"], select, textarea {
  font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; min-height: 46px;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(29,90,87,.18); }
.input-unit { display: flex; align-items: center; gap: 6px; }
.input-unit span { font-size: .86rem; color: var(--ink-3); white-space: nowrap; }
.result { margin-top: 18px; border-top: 2px solid var(--line); padding-top: 16px; }
.result table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.result td { padding: 7px 4px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.result td:last-child { text-align: right; white-space: nowrap; }
.result tr.total td { border-bottom: 0; font-weight: 800; padding-top: 12px; font-size: 1.02rem; }
.result tr.sub td { color: var(--ink-3); font-size: .86rem; }
.big-result { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0 6px; }
.big-result > div { flex: 1 1 160px; background: var(--surface-2); border-radius: 12px; padding: 12px 14px; }
.big-result .k { font-size: .8rem; color: var(--ink-3); display: block; }
.big-result .v { font-size: 1.5rem; }
.disclaimer { font-size: .82rem; color: var(--ink-3); margin-top: 12px; }
.kind-tag { font-size: .7rem; padding: 0 6px; border-radius: 4px; background: #eee; color: #555; margin-left: 6px; white-space: nowrap; }

/* ---------- Steps / FAQ ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 16px 16px 16px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin: 0; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 16px; width: 34px; height: 38px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--teal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.steps b { display: block; }
.faq-tools { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 44px 14px 16px; font-weight: 700; list-style: none; position: relative; min-height: 48px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font-size: 1.3rem; color: var(--teal); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .a { padding: 0 16px 14px; color: var(--ink-2); }
.faq-item .cat { font-size: .72rem; color: var(--honey-text); display: block; font-weight: 700; }

/* ---------- Terms ---------- */
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.toc ul { columns: 2 220px; margin: 0; }
.policy-block { margin-bottom: 28px; scroll-margin-top: 80px; }
.policy-block h3 { border-left: 4px solid var(--teal); padding-left: 10px; }
.policy-block:target h3 { background: var(--honey-soft); }

/* ---------- Copy template ---------- */
.copy-out { background: #fff; border: 1.5px dashed var(--teal); }
.copy-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.copy-status { font-size: .86rem; color: var(--cashback); font-weight: 700; }

/* ---------- Floating LINE ---------- */
.fab { position: fixed; z-index: 40; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); width: min(420px, calc(100% - 32px)); }
.fab .btn { width: 100%; min-height: 52px; box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.fab .fab-note { display: block; font-size: .72rem; font-weight: 500; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: #1f2423; color: #d8dcd9; padding: 40px 0 24px; margin-top: 40px; font-size: .9rem; }
.site-footer a { color: #e9ddc0; }
.site-footer .fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer .copy { border-top: 1px solid #3a403e; margin-top: 24px; padding-top: 14px; font-size: .8rem; color: #9aa19e; }

/* ---------- 3本の支援軸 ---------- */
body.no-fab { padding-bottom: 0; }
.pillar-icon { width: 48px; height: 52px; flex: none; color: var(--teal); }
.pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.pillar-card { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.pillar-card:hover { border-color: var(--honey); color: inherit; }
.pillar-card .pillar-no { position: absolute; top: 18px; right: 20px; font-weight: 800; font-size: 1.6rem; color: var(--honey); letter-spacing: .06em; line-height: 1; }
.pillar-card .pillar-word { display: inline-block; align-self: flex-start; margin-top: 10px; font-size: .78rem; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); }
.pillar-card h3 { margin: 6px 0 0; font-size: 1.15rem; }
.pillar-card .pillar-role { font-weight: 700; color: var(--ink-2); margin: 0; font-size: .95rem; }
.pillar-card p { font-size: .92rem; margin: 6px 0 0; }
.pillar-card .more { margin-top: auto; padding-top: 12px; font-size: .86rem; font-weight: 700; color: var(--teal); }
.how-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.how-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; scroll-margin-top: 80px; }
.how-block:target { border-color: var(--honey); box-shadow: 0 0 0 3px var(--honey-soft); }
.how-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.how-head small { color: var(--honey-text); font-weight: 700; letter-spacing: .08em; }
.how-head h3 { margin: 0; font-size: 1.05rem; }
.how-steps { list-style: none; padding: 0; margin: 0 0 12px; counter-reset: hs; }
.how-steps li { counter-increment: hs; position: relative; padding: 8px 0 8px 36px; margin: 0; font-weight: 700; font-size: .94rem; }
.how-steps li::before { content: counter(hs); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; line-height: 24px; text-align: center; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-variant-numeric: tabular-nums; }
.how-steps li + li::after { content: ""; position: absolute; left: 11px; top: -8px; height: 16px; border-left: 2px dotted var(--line); }
.how-ex { font-size: .88rem; margin-bottom: 14px; }
.ex-chip { display: inline-block; margin: 2px 6px 2px 0; padding: 1px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.member-table th small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; }
.member-table { min-width: 560px; }
.member-table tbody th { white-space: nowrap; }
table.simple th { min-width: 6.5em; }
table.cancel-table th { width: 46%; }
.pillar-badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.pillar-badge .pillar-icon { width: 34px; height: 37px; }
.pillar-badge span { font-weight: 700; line-height: 1.35; }
.pillar-badge small { display: block; font-size: .72rem; color: var(--honey-text); letter-spacing: .08em; }
.cross-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; text-decoration: none; color: inherit; }
.cross-link .pillar-badge { margin: 0; }

/* ---------- サービスカード・目安・契約前確認 ---------- */
.svc-card .incl-head { font-size: .78rem; font-weight: 700; color: var(--ink-3); margin: 0 0 2px; }
.svc-card .incl { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; padding-left: 1.2em; }
.svc-card .incl li { margin: 1px 0; }
.guide-label { font-weight: 700; margin-bottom: 4px; }
.guide-label small { font-weight: 500; color: var(--ink-3); margin-left: 4px; }
.guide-price { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; font-size: 1.05rem; margin-bottom: 14px; }
.result h4, .dlg-body h4 { font-size: .95rem; margin: 1.2em 0 .4em; }
.contract-box { margin-top: 22px; padding: 16px 18px; border: 1.5px solid var(--teal); border-radius: 14px; background: #fff; }
.contract-box h3 { margin-top: 0 !important; border-left-color: var(--teal) !important; }
.site-footer .f-head { font-size: .78rem; color: #9aa19e; margin: 0 0 4px; letter-spacing: .08em; }
details.memo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
details.memo > summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 48px; }
details.memo[open] { padding-bottom: 18px; }
details.memo .calc { box-shadow: none; padding: 0; border: 0; }

/* ---------- 制作実績 ---------- */
.pf-group { margin: 8px 0 40px; padding: 0; border-top: 0 !important; scroll-margin-top: 80px; }
.pf-group > h2 { display: flex; align-items: baseline; gap: 10px; font-size: 1.3rem; padding-bottom: 8px; margin-bottom: 16px; border-bottom: 2px solid var(--line); }
.pf-group > h2 small { font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.pf-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.pf-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; scroll-margin-top: 80px; }
.pf-img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 12px; border: 0; border-bottom: 1px solid var(--line); background: #fff; cursor: zoom-in; }
.pf-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pf-count { position: absolute; right: 10px; bottom: 10px; background: rgba(31,36,35,.78); color: #fff; font-size: .74rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.pf-body { padding: 16px 18px 18px; }
.pf-body .cat { font-size: .74rem; font-weight: 700; color: var(--honey-text); letter-spacing: .08em; }
.pf-body h3 { margin: 4px 0 2px; font-size: 1.02rem; }
.pf-client { font-size: .82rem; color: var(--ink-3); margin-bottom: 8px; }
.pf-body p { font-size: .9rem; }
.pf-note { font-size: .8rem !important; color: var(--ink-3); }
.pf-tags { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .82rem; }
.pf-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal); text-decoration: none; font-weight: 700; font-size: .76rem; }
.pf-figure { margin: 0 0 16px; }
.pf-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(31,36,35,.72); color: #fff; display: grid; place-items: center; font-size: 1.2rem; padding-left: 4px; }
.pf-figure video { display: block; width: 100%; max-height: 75vh; border-radius: 10px; background: #000; }
.pf-figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); }
.pf-figure figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 4px; }
.pf-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-bottom: 6px; }
.pf-thumb { display: block; text-decoration: none; color: var(--ink-2); font-size: .76rem; line-height: 1.4; }
.pf-thumb img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 4px; background: var(--surface-2); }

.placeholder { display: inline-block; background: var(--warn-bg); border: 1px dashed var(--warn-line); color: #7a5410; padding: 0 8px; border-radius: 6px; font-size: .9em; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .fab, .site-footer { display: none; } body { padding: 0; } }

/* ---------- トップ：支援軸カード（概要と使い方を1枚に） ---------- */
.pillar-card .how-steps { margin: 14px 0 10px; }
.pillar-card .how-ex { margin: 0 0 14px; }
.pillar-card .card-actions { margin-top: auto; }
.pillar-card { scroll-margin-top: 80px; }
.pillar-card:target { border-color: var(--honey); box-shadow: 0 0 0 3px var(--honey-soft); }

/* ---------- トップ：ヒーロー画像（site-config の heroImages を設定すると表示） ---------- */
.hero-visual[hidden] { display: none; }
.hero.has-visual .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.hero.has-visual::after { display: none; }
.hero-visual { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; z-index: 1; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2); }
.hero-visual img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
@media (max-width: 860px) {
  .hero.has-visual .wrap { grid-template-columns: 1fr; }
  .hero-visual { grid-template-columns: repeat(3, 1fr); }
  .hero-visual img, .hero-visual img:first-child { grid-row: auto; aspect-ratio: 1; height: auto; }
}

/* ---------- スマホ：切替は横スクロールの1行に ---------- */
@media (max-width: 640px) {
  .plan-switch { flex-wrap: nowrap; overflow-x: auto; padding: 10px 12px; -webkit-overflow-scrolling: touch; }
  .plan-switch .label { flex: none; font-size: .82rem; }
  .plan-switch .seg { flex-wrap: nowrap; }
  .plan-switch .seg span, .filters .chip { white-space: nowrap; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 16px; padding: 0 16px 4px; -webkit-overflow-scrolling: touch; }
  .filters > * { flex: none; }
  /* 横にスクロールできることが分かるよう、右端をぼかす */
  .plan-switch, .filters {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent);
    padding-right: 36px;
  }
  .page-sub { display: none; }
}

/* ---------- 資金還元：対象／対象外 ---------- */
.target-grid ul { margin: 0; padding-left: 1.2em; }
.target-grid li { margin: 4px 0; }
.target-grid .card h3 { margin-top: 0; font-size: 1rem; }
.unit-badge.off { background: var(--surface-2); color: var(--ink-2); }

/* ---------- トップ：写真1枚のヒーロー（右半分いっぱいに置き、グラデーションで背景になじませる） ---------- */
.hero.has-single { min-height: 640px; display: flex; align-items: center; isolation: isolate; }
.hero.has-single .wrap { display: block; position: static; }
.hero.has-single .hero-text { position: relative; z-index: 2; max-width: 600px; }
.hero.has-single .lead { max-width: 30em; }
.hero.has-single .hero-text > p.muted { max-width: 24em; }
.hero-visual.single { position: absolute; top: 0; right: 0; bottom: 0; width: 60%; display: block; z-index: 0; }
.hero-visual.single img {
  width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 42% 40%;
  border: 0; border-radius: 0; box-shadow: none; background: #0b1a24;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0,0,0,.6) 30%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 10%, rgba(0,0,0,.6) 30%, #000 50%);
}
/* 金色の光をうっすら重ねて、サイトの配色とつなぐ */
.hero-visual.single::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 78% 22%, rgba(184,134,43,.28), transparent 70%);
  mix-blend-mode: screen;
}
/* 写真と文章の境目に細い金のライン */
.hero.has-single .hero-text::before {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--honey), transparent); margin-bottom: 20px;
}
@media (max-width: 1180px) { .hero-visual.single img { object-position: 70% 40%; } }
@media (max-width: 860px) {
  .hero.has-single { display: block; min-height: 0; padding-top: 0; }
  .hero-visual.single { position: relative; width: auto; height: auto; margin: 0 -16px; aspect-ratio: 16 / 9; }
  .hero-visual.single img { -webkit-mask-image: none; mask-image: none; }
  .hero.has-single .wrap { display: flex; flex-direction: column; }
  .hero.has-single .hero-visual.single { order: -1; }
  .hero.has-single .hero-text { margin-top: 8px; }
}

/* ---------- 各ページ見出しの写真（トップと同じく、右側に大きく置いてグラデーションでなじませる） ---------- */
.page-head.has-photo { position: relative; overflow: hidden; isolation: isolate; min-height: 460px; display: flex; align-items: center; padding: 56px 0 48px; }
.page-head.has-photo .wrap { position: relative; z-index: 2; }
.page-head.has-photo .wrap > * { max-width: 520px; }
/* 支援軸のバッジがあるページは金のラインを省く（飾りを重ねない） */
.page-head.has-photo:has([data-pillar-badge] *) h1::before { display: none; }
.page-head.has-photo { margin-bottom: 48px; }
.page-head.has-photo h1::before {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--honey), transparent); margin: 6px 0 16px;
}
.page-visual { position: absolute; top: 0; right: 0; width: 60%; height: 460px; z-index: 0; }
.page-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); display: block; background: #0b1a24;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,.6) 30%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0%, transparent 8%, rgba(0,0,0,.6) 30%, #000 50%);
}
.page-visual::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(55% 50% at 75% 20%, rgba(184,134,43,.22), transparent 70%);
  mix-blend-mode: screen;
}
@media (max-width: 860px) {
  .page-head.has-photo { display: block; min-height: 0; padding: 0 0 24px; }
  .page-visual { position: relative; width: auto; height: auto; aspect-ratio: 16 / 9; margin-bottom: 28px; }
  .page-visual img { -webkit-mask-image: none; mask-image: none; object-position: var(--pos-m, var(--pos, center)); }
  .page-head.has-photo { margin-bottom: 0; }
  .page-head.has-photo .wrap > * { max-width: none; }
}

/* ---------- トップ：活動の流れで見る、HIVEが手伝えること ---------- */
.flow-steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.flow-step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; box-shadow: var(--shadow); }
.flow-step::after { content: ""; position: absolute; right: -13px; top: 32px; width: 10px; height: 10px; border-top: 2px solid var(--honey); border-right: 2px solid var(--honey); transform: rotate(45deg); }
.flow-step:last-child::after { display: none; }
.flow-no { font-weight: 800; color: var(--honey-text); font-size: .85rem; letter-spacing: .08em; }
.flow-step h3 { margin: 2px 0 6px; font-size: 1.05rem; }
.flow-step p { font-size: .88rem; color: var(--ink-2); margin: 0 0 8px; }
.flow-svcs .ex-chip { text-decoration: none; color: var(--ink); font-size: .8rem; }
.flow-svcs .ex-chip:hover { border-color: var(--honey); }
@media (max-width: 860px) {
  .flow-steps { grid-template-columns: 1fr; gap: 14px; }
  .flow-step::after { right: auto; left: 28px; top: auto; bottom: -11px; transform: rotate(135deg); }
}

/* ---------- 料金：1か月の支払い例 ---------- */
.month-table { min-width: 640px; }
.month-table tbody th small { display: block; font-weight: 500; color: var(--ink-3); font-size: .78rem; margin-top: 2px; }
.month-table td.num small { display: block; font-size: .72rem; font-weight: 700; color: var(--honey-text); }
.month-table td.best { background: var(--honey-soft); font-weight: 700; }

/* ---------- 資金還元：具体例 ---------- */
.cb-steps { margin: 0; padding-left: 1.4em; }
.cb-steps li { margin: 6px 0; }

/* ---------- HIVEについて：代表者メッセージ ---------- */
.rep-message { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: start; }
.rep-photo { margin: 0; position: sticky; top: 96px; }
.rep-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.rep-text p { line-height: 2; margin: 0 0 1.1em; }
.rep-sign { text-align: right; font-weight: 700; margin-top: 1.6em !important; }
.rep-sign > span { margin-left: 1em; font-size: 1.1rem; }
@media (max-width: 760px) {
  .rep-message { grid-template-columns: 1fr; gap: 20px; }
  .rep-photo { position: static; max-width: 280px; }
}

/* ---------- 見積もりの例 ---------- */
.quote-ex p { margin-bottom: 4px; }
.quote-ex small { display: block; font-weight: 400; }
.quote-ex ul { margin: 4px 0 0; padding-left: 1.2em; font-size: .92rem; }

/* ---------- 料金：はじめての方へ（単発で試す流れ） ---------- */
.trial-card { margin-top: 20px; border-left: 4px solid var(--honey); }
.trial-card h3 { margin-top: 0; }
.trial-steps { margin: 8px 0 10px; padding-left: 1.4em; }
.trial-steps li { margin: 4px 0; }

/* ---------- マッチング：HIVEメンバーは仕事を受ける側にもなれる ---------- */
.member-pro { border-color: var(--honey); background: var(--honey-soft); }
.member-pro h2 { margin: 2px 0 12px; font-size: clamp(1.15rem, 3.2vw, 1.4rem); }
.member-pro .eyebrow-sm { color: var(--honey-text); font-weight: 700; letter-spacing: .16em; font-size: .75rem; margin: 0; }

/* ---------- 一般的な相場との比較 ---------- */
.market-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: -2px 0 12px; padding: 0 2px; font-size: .84rem; }
.market-badge span { color: var(--ink-3); }
.market-badge strong { color: var(--yen); font-size: .98rem; }
.market-table { min-width: 620px; }
.market-table tbody th small, .market-table td small { display: block; font-weight: 500; font-size: .76rem; color: var(--ink-3); }
.market-table td small.cheaper { color: var(--yen); font-weight: 700; font-size: .8rem; }
.market-table td:nth-child(2) { color: var(--ink-3); }
.home-market { margin: 4px 0 24px; padding: 18px 20px; border: 1px solid var(--honey); border-radius: var(--radius); background: var(--honey-soft); }
.home-market-title { margin: 0 0 12px; font-weight: 700; font-size: 1.05rem; }
.home-market-title strong { color: var(--yen); }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.mk-item { background: var(--surface); border-radius: 10px; padding: 12px 14px; border: 1px solid var(--line); }
.mk-item p { margin: 0; }
.mk-name { font-weight: 700; font-size: .92rem; }
.mk-market { font-size: .8rem; color: var(--ink-3); margin-top: 4px !important; }
.mk-hive { font-size: .86rem; margin-top: 2px !important; }
.mk-hive { margin-top: 8px !important; }
.mk-lbl { display: block; font-size: .76rem; color: var(--ink-2); font-weight: 700; }
.mk-price { display: block; color: var(--yen); font-size: clamp(1.25rem, 5.4vw, 1.5rem); font-weight: 800; line-height: 1.25; white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.mk-price small { font-size: .62em; margin-left: 2px; }
.mk-off { display: inline-block; margin-top: 6px !important; padding: 1px 8px; border-radius: 999px; background: var(--yen); color: #fff; font-size: .76rem; font-weight: 700; }
@media (max-width: 760px) { .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- トップ：活動支援のサービスカード（写真つき） ---------- */
.home-svc { text-decoration: none; color: inherit; padding-top: 0; overflow: hidden; }
.home-svc-img { display: block; margin: 0 -22px 14px; aspect-ratio: 16 / 9; background: #0b1a24; overflow: hidden; }
.home-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-svc-img.is-work { background: #fff; }
.home-svc-img.is-work img { object-fit: contain; padding: 10px; }
.home-svc .cat { font-size: .76rem; font-weight: 700; color: var(--honey-text); }
.home-svc h3 { margin: 2px 0 6px; }
.home-svc p { font-size: .9rem; margin: 0; }

/* ---------- スマホ：支払い例・相場比較を1行＝1枚のカードに ---------- */
@media (max-width: 640px) {
  .month-table, .market-table { min-width: 0; }
  .month-table thead, .market-table thead { display: none; }
  .month-table, .month-table tbody, .month-table tr, .market-table, .market-table tbody, .market-table tr { display: block; width: 100%; }
  .month-table tr, .market-table tr { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: var(--surface); }
  .month-table tbody th, .market-table tbody th { display: block; border: 0; border-bottom: 1px solid var(--line); }
  .month-table td, .market-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 0; border-bottom: 1px solid var(--line); text-align: right; }
  .month-table td:last-child, .market-table td:last-child { border-bottom: 0; }
  .month-table td::before, .market-table td::before { content: attr(data-label); font-weight: 700; color: var(--ink-2); text-align: left; flex: none; }
  .month-table td small, .market-table td small { display: inline; margin-left: 6px; }
  #month-examples-section .swipe-hint { display: none; }
  #month-examples-section .table-scroll, #market .table-scroll { overflow: visible; border: 0; background: none; box-shadow: none; }
}

/* トップの活動支援カードは4枚を1列に */
#home-services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { #home-services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { #home-services { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .month-table td .amt, .market-table td strong { margin-left: auto; }
  .month-table td, .market-table td { justify-content: flex-start; flex-wrap: wrap; }
}

/* ---------- 料金：あなたに合うプラン ---------- */
.finder { border-left: 4px solid var(--honey); }
.finder h2 { margin-top: 0; }
.finder-q { display: grid; gap: 12px; margin: 12px 0 16px; }
.finder-seg { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 0; padding: 0; margin: 0; }
.finder-seg legend { position: static; width: 100%; height: auto; overflow: visible; clip: auto; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.finder-best { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 1.05rem; margin: 0 0 10px; }
.finder-best strong { font-size: 1.5rem; color: var(--teal); }
.finder-table th small { display: block; font-weight: 500; font-size: .76rem; color: var(--ink-3); }
.finder-table tr.best th, .finder-table tr.best td { background: var(--honey-soft); font-weight: 700; }
.seg legend span { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font: inherit; color: inherit; }

/* ---------- お問い合わせフォーム ---------- */
.contact-form .field { margin-bottom: 14px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea { width: 100%; }
.contact-form .req { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: 4px; background: var(--honey-soft); color: var(--honey-text); font-size: .72rem; font-weight: 700; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; }
.consent input { margin-top: 4px; }

body[data-page="contact"] .fab { display: none; }

/* ---------- HIVEの循環（トップ） ---------- */
.cycle { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.cycle li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px 16px; }
.cycle li b { display: block; font-size: 1.08rem; margin: 8px 0 4px; }
.cycle li p { margin: 0; font-size: .9rem; color: var(--ink-2); line-height: 1.75; }
.cycle .cy-no { display: inline-block; width: 28px; height: 28px; border-radius: 50%; background: var(--honey); color: #fff; font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; font-size: .9rem; line-height: 28px; text-align: center; }
.cycle li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -20px; width: 12px; height: 12px; border-top: 2px solid var(--honey); border-right: 2px solid var(--honey); transform: translateY(-50%) rotate(45deg); }
.cycle-back { margin: 18px 0 8px; padding: 12px 16px; border-radius: var(--radius); background: var(--honey-soft); font-weight: 700; color: var(--ink); }
.cycle-back::before { content: "↻ "; color: var(--honey-text); }
@media (max-width: 860px) {
  .cycle { grid-template-columns: 1fr; gap: 22px; }
  .cycle li:not(:last-child)::after { top: auto; bottom: -17px; right: auto; left: 30px; transform: rotate(135deg); }
}

/* ---------- HIVEの思想（トップ・HIVEについて） ---------- */
.philosophy { border-left: 4px solid var(--honey); padding: 4px 0 4px 22px; max-width: 860px; }
.philosophy .eyebrow-sm { color: var(--honey-text); font-weight: 700; letter-spacing: .2em; font-size: .76rem; margin: 0 0 6px; }
.philosophy h2 { font-size: clamp(1.3rem, 3.6vw, 1.8rem); line-height: 1.5; margin: 0 0 14px; }
.philosophy p { color: var(--ink-2); }
.philosophy h2.mission { font-size: clamp(1.45rem, 4.2vw, 2.1rem); letter-spacing: .04em; margin-bottom: 10px; }
.philosophy .mission-sub { font-weight: 700; color: var(--teal); font-size: 1.05rem; margin: 0 0 14px; }

/* ---------- トップのミッション（濃い帯で中央に大きく） ---------- */
.mission-band { background: #1d2a28; color: #fff; padding: clamp(56px, 9vw, 96px) 0; border: 0; }
.mission-band .philosophy { border: 0; padding: 0; margin: 0 auto; max-width: 760px; text-align: center; }
.mission-band .philosophy .eyebrow-sm { color: #e0b862; letter-spacing: .32em; }
.mission-band .philosophy h2.mission { color: #fff; font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.45; margin: 10px 0 18px; }
.mission-band .philosophy .mission-sub { color: #e0b862; font-size: clamp(1rem, 2.4vw, 1.15rem); margin-bottom: 20px; }
.mission-band .philosophy p { color: rgba(255,255,255,.82); }
.mission-band .philosophy a { color: #fff; text-decoration-color: rgba(224,184,98,.8); }
.mission-band .philosophy p:not(.mission-sub) { max-width: 640px; margin-left: auto; margin-right: auto; }
.mission-band .philosophy p.mission-link { margin: 4px auto 0; }

/* ---------- 自己ブランディングの強み（トップ） ---------- */
.brand-callout { border-left: 4px solid var(--teal); background: var(--teal-soft); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px; margin: 4px 0 20px; }
.brand-callout .eyebrow-sm { color: var(--teal); font-weight: 700; letter-spacing: .2em; font-size: .74rem; margin: 0 0 4px; }
.brand-callout h3 { margin: 0 0 8px; font-size: clamp(1.08rem, 2.8vw, 1.3rem); line-height: 1.5; }
.brand-callout p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- 入会時の「得意」の質問（トップの循環） ---------- */
.cycle-skill { margin: 18px 0 6px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--honey); }
.cycle-skill .eyebrow-sm { color: var(--honey-text); font-weight: 700; letter-spacing: .2em; font-size: .74rem; margin: 0 0 4px; }
.cycle-skill-q { font-weight: 700; font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.cycle-skill p:last-child { margin: 0; color: var(--ink-2); }

/* ---------- ORIGIN の紹介（トップ） ---------- */
.origin-card { display: grid; grid-template-columns: minmax(0, 280px) 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.origin-flyer img { width: 100%; height: auto; display: block; border-radius: 10px; }
.origin-body .eyebrow-sm { color: var(--honey-text); font-weight: 700; letter-spacing: .2em; font-size: .76rem; margin: 0 0 6px; }
.origin-body h2 { margin: 0 0 12px; }
.origin-next { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 14px 0 18px; padding: 12px 16px; background: var(--surface-2); border-radius: 10px; font-size: .92rem; }
.origin-next dt { font-weight: 700; color: var(--honey-text); }
.origin-next dd { margin: 0; }
@media (max-width: 760px) {
  .origin-card { grid-template-columns: 1fr; padding: 18px; }
  .origin-flyer { max-width: 260px; margin: 0 auto; }
}
