/* 図解（インフォグラフィック）用。style.css（と style-add.css）の後に読み込む。
   アイコンは icons.svg の <symbol> を <use href="icons.svg#名前"> で使う。 */

.ico { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 34px; height: 34px; stroke-width: 1.5; }
.ico-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--green-soft); color: var(--green); flex-shrink: 0; }
.ico-badge.is-ink { background: #E6EAF1; color: var(--ink); }
.ico-badge.is-warn { background: #FBF4E3; color: #8A6A1F; }
.fig-cap { margin: 14px 0 0; font-size: .82rem; color: var(--sub); }

/* ───── 1. 関係図（発注企業 ⇄ Sビズ ⇄ 加盟事業者） ───── */
.rel { margin: 0; padding: 32px 28px 26px; background: var(--slip); border: 1px solid var(--line); border-radius: 12px; }
.band-tint .rel { background: var(--paper); }
.rel-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: center; }
.rel-node { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 18px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 0; }
.rel-node strong { font-size: 1rem; line-height: 1.4; }
.rel-node > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rel-node span { font-size: .8rem; color: var(--sub); line-height: 1.5; }
.rel-node.is-core { border: 2px solid var(--green); background: var(--green-soft); }
.rel-node.is-core strong { font-family: var(--display); font-size: 1.12rem; }
.rel-node.is-core .ico-badge { background: var(--green); color: #fff; }
.rel-link { display: grid; gap: 14px; min-width: 0; }
.rel-arrow { position: relative; margin: 0; padding: 0 4px 7px; font-size: .8rem; line-height: 1.45; text-align: center; color: var(--ink); border-bottom: 2px solid var(--green); }
.rel-arrow::after { content: ""; position: absolute; bottom: -6px; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.rel-arrow.to-r::after { right: -2px; border-left: 8px solid var(--green); }
.rel-arrow.to-l::after { left: -2px; border-right: 8px solid var(--green); }
.rel-direct { margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--sub); text-align: center; }
.rel-direct b { color: var(--ink); }

/* ───── 2. ロードマップ（時期の流れ） ───── */
.road { list-style: none; margin: 8px 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 16px; }
.road li { position: relative; padding: 30px 4px 0; min-width: 0; }
.road li::before { content: ""; position: absolute; top: 9px; left: 0; right: -16px; height: 2px; background: var(--line); }
.road li:last-child::before { right: 0; background: linear-gradient(90deg, var(--line), transparent); }
.road li::after { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--sub); }
.road li.is-now::after { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.road li.is-done::after { background: var(--sub); }
.road-when { display: block; font-family: var(--mono); font-size: .76rem; color: var(--green); letter-spacing: .05em; margin-bottom: 2px; }
.road strong { display: block; font-size: 1rem; line-height: 1.45; }
.road span:not(.road-when) { display: block; font-size: .84rem; color: var(--sub); line-height: 1.6; margin-top: 4px; }
.road .now-pill { display: inline-block; margin-left: 6px; font-family: var(--body); font-size: .68rem; font-weight: 700; color: #fff; background: var(--green); border-radius: 999px; padding: 0 8px; vertical-align: 2px; letter-spacing: 0; }

/* ───── 3. アイコン付きの一覧（今後の取り組み） ───── */
.ideas.has-ico li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; }
.ideas.has-ico .ico-badge { width: 44px; height: 44px; margin-top: 2px; }

/* ───── 4. 流れ図（手順をカード＋矢印で） ───── */
.steps.flow { gap: 28px; }
.steps.flow li { position: relative; border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); background: var(--slip); padding: 20px 18px 18px; }
.band-tint .steps.flow li { background: var(--paper); }
.steps.flow li::before { margin-bottom: 0; }
.steps.flow .ico-badge { margin: 10px 0 12px; }
.steps.flow li:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -21px; width: 14px; height: 14px;
  border-top: 2.5px solid var(--green); border-right: 2.5px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
}
.steps.flow li.is-warn { border-top-color: #C9A85A; }
.steps.flow li.is-warn::before { color: #8A6A1F; }
.steps.flow li.is-key { border-top-color: var(--ink); }
.steps.flow li.is-key::before { color: var(--ink); }
.flow-tag { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 1px 9px; margin-left: 6px; vertical-align: 1px; border: 1px solid var(--line); color: var(--sub); background: #fff; }
.flow-case { counter-reset: none; }
.flow-case li::before { content: attr(data-when) !important; }

/* ───── 5. 比較カード（委託先の選び方） ───── */
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 8px; }
.cmp-card { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--slip); border: 1px solid var(--line); border-radius: 10px; padding: 22px 20px 18px; min-width: 0; }
.cmp-card.is-best { border: 2px solid var(--green); background: var(--green-soft); }
.cmp-flag { position: absolute; top: -12px; left: 16px; font-size: .74rem; font-weight: 700; color: #fff; background: var(--green); padding: 2px 12px; border-radius: 999px; }
.cmp-head { display: flex; align-items: center; gap: 12px; }
.cmp-head strong { font-size: 1.02rem; line-height: 1.4; }
.cmp-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cmp-rows li { display: grid; grid-template-columns: 6.5em 2em minmax(0, 1fr); gap: 8px; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); font-size: .86rem; }
.cmp-card.is-best .cmp-rows li { border-top-color: #C5DDD1; }
.cmp-rows .k { font-size: .78rem; font-weight: 700; color: var(--sub); }
.cmp-rows .m { font-weight: 700; font-size: 1.05rem; text-align: center; }
.cmp-rows .m.good { color: var(--green); }
.cmp-rows .m.mid { color: #8A6A1F; }
.cmp-rows .m.bad { color: var(--shu); }
.cmp-legend { margin: 12px 0 0; font-size: .8rem; color: var(--sub); }

/* ───── 6. 振り分け図（POIPOI） ───── */
.sort { display: grid; grid-template-columns: minmax(0, 1fr) 36px minmax(0, .8fr) 36px minmax(0, 1.4fr); gap: 8px; align-items: center; margin: 8px 0 0; }
.sort-in, .sort-ai { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 14px; border-radius: 10px; min-width: 0; }
.sort-in { background: var(--slip); border: 1px solid var(--line); }
.sort-in q { font-size: .88rem; quotes: "「" "」"; background: var(--paper); border-radius: 12px 12px 12px 2px; padding: 8px 12px; }
.sort-ai { background: var(--ink); color: #fff; }
.sort-ai strong { font-size: 1rem; }
.sort-ai span { font-size: .78rem; opacity: .8; }
.sort-arrow { justify-self: center; width: 14px; height: 14px; border-top: 2.5px solid var(--green); border-right: 2.5px solid var(--green); transform: rotate(45deg); }
.sort-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.sort-out li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px; align-items: center; padding: 12px 14px; background: var(--slip); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: var(--radius); }
.sort-out li.is-me { border-left-color: var(--ink); }
.sort-out li.is-wait { border-left-color: #C9A85A; }
.sort-out .ico-badge { width: 40px; height: 40px; grid-row: span 2; }
.sort-out strong { font-size: .95rem; }
.sort-out span { font-size: .8rem; color: var(--sub); line-height: 1.5; }
.band-tint .sort-in, .band-tint .sort-out li { background: var(--paper); }

/* ───── 7. 経歴の年表 ───── */
.career.tl { border-top: 0; position: relative; padding-left: 26px; }
.career.tl::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--green), var(--line)); }
.career.tl li { position: relative; border-bottom: 0; padding: 10px 0 18px; }
.career.tl li::before { content: ""; position: absolute; left: -26px; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--sub); }
.career.tl li:first-child::before { background: var(--green); border-color: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
.career.tl .when { font-weight: 500; color: var(--green); }

/* ───── 8. アイコンのタイル（得意な分野など） ───── */
.ico-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ico-tiles li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--slip); border: 1px solid var(--line); border-radius: var(--radius); font-size: .9rem; line-height: 1.5; min-width: 0; }
.ico-tiles .ico-badge { width: 40px; height: 40px; }

/* 写真の枠（写真が届くまでの仮置き用・本番では img に差し替え） */
.photo { margin: 0; min-width: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 10px; object-fit: cover; }

/* ───── 狭い画面 ───── */
@media (max-width: 900px) {
  .rel { padding: 22px 16px 18px; }
  .rel-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .rel-link { gap: 6px; padding: 2px 0; justify-items: center; }
  .rel-arrow { border-bottom: 0; padding: 0; font-size: .8rem; }
  .rel-arrow::after { display: none; }
  .rel-arrow.to-r::before { content: "↓ "; color: var(--green); font-weight: 700; }
  .rel-arrow.to-l::before { content: "↑ "; color: var(--green); font-weight: 700; }
  .rel-node { flex-direction: row; text-align: left; align-items: center; padding: 12px 14px; }

  .road { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 4px; }
  .road li { padding: 0 0 22px 30px; }
  .road li::before { top: 8px; left: 6px; right: auto; width: 2px; height: 100%; }
  .road li:last-child::before { background: linear-gradient(var(--line), transparent); }
  .road li::after { top: 3px; }

  .steps.flow { gap: 26px; }
  .steps.flow li:not(:last-child)::after { top: auto; bottom: -21px; right: auto; left: 50%; transform: translateX(-50%) rotate(135deg); }

  .cmp { grid-template-columns: minmax(0, 1fr); gap: 22px; }

  .sort { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .sort-arrow { transform: rotate(135deg); }
}
@media (max-width: 520px) {
  .ico-tiles { grid-template-columns: minmax(0, 1fr); }
  .cmp-rows li { grid-template-columns: 5.5em 1.6em minmax(0, 1fr); }
}
.photo.is-portrait { max-width: 320px; }
.photo.is-portrait img { aspect-ratio: 3 / 4; box-shadow: 0 10px 28px -14px rgba(24, 35, 58, .45); }
@media (max-width: 900px) { .photo.is-portrait { max-width: 220px; } }

/* ───── 写真の帯（各ページの見出しの下） ───── */
.photo-strip { margin-top: -24px; margin-bottom: 8px; }
.photo.is-banner img { aspect-ratio: 21 / 8; object-fit: cover; border-radius: 12px; }
.article-photo { margin: 0 0 28px; }
.article-photo img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .photo-strip { margin-top: -16px; } .photo.is-banner img { aspect-ratio: 16 / 9; } }

/* ───── お知らせ一覧のサムネイル ───── */
.news-list.has-thumb a { grid-template-columns: 120px 7.5em auto minmax(0, 1fr); align-items: center; }
.news-thumb { width: 120px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 520px) {
  .news-list.has-thumb a { grid-template-columns: 96px minmax(0, 1fr); align-items: start; }
  .news-list.has-thumb .news-thumb { width: 96px; grid-row: span 3; }
  .news-list.has-thumb .news-date, .news-list.has-thumb .news-kind, .news-list.has-thumb .news-title { grid-column: 2; }
}

/* 見積もり診断：考え方のカード */
.policy-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.policy-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--slip); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.policy-card p { margin: 0; color: var(--sub); font-size: .95rem; }
@media (max-width: 900px) { .policy-cards { grid-template-columns: minmax(0, 1fr); } }

/* ───── アイコン付きの要点（who-item をアイコン型に） ───── */
.who.has-ico .who-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; border-left: 0; padding: 16px 18px; background: var(--slip); border: 1px solid var(--line); border-radius: var(--radius); }
.band-tint .who.has-ico .who-item { background: var(--paper); }
.who.has-ico .who-item h3 { margin-top: 4px; }
.service > .ico-badge + h3 { margin-top: 12px; }

/* ───── 数字のタイル ───── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; margin: 0 0 20px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 16px 16px 14px; background: var(--slip); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: var(--radius); min-width: 0; }
.band-tint .stat { background: var(--paper); }
.stat .k { font-size: .78rem; font-weight: 700; color: var(--sub); }
.stat .v { font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.3; color: var(--ink); }
.stat .v small { font-family: var(--body); font-size: .8rem; font-weight: 700; margin-left: 2px; }
.stat .s { font-size: .78rem; color: var(--sub); line-height: 1.5; }

/* ───── 小さな流れ（A → B → C） ───── */
.mini-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; grid-column: 1 / -1; }
.mini-flow li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 700; white-space: nowrap; }
.mini-flow li .ico { width: 18px; height: 18px; color: var(--green); }
.mini-flow li.arrow { border: 0; background: none; padding: 0; color: var(--green); font-weight: 700; }

/* ───── 診断の判定の見本（見積もり診断で分かること） ───── */
.judge { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.judge li { display: flex; flex-direction: column; gap: 6px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: .85rem; color: var(--sub); min-width: 0; }
.judge .mark { align-self: flex-start; margin: 0; font-size: .8rem; }

/* ───── よくある質問 ───── */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--slip); border: 1px solid var(--line); border-radius: var(--radius); }
.band-tint .faq details { background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 16px 18px; font-weight: 700; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--mono); font-weight: 500; color: #fff; background: var(--green); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .82rem; }
.faq summary::after { content: "＋"; color: var(--green); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .a { margin: 0; padding: 0 18px 18px 56px; color: var(--sub); font-size: .95rem; }

@media (max-width: 900px) {
  .judge { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .faq summary { padding: 14px; gap: 10px; }
  .faq .a { padding: 0 14px 16px 50px; }
}

/* 左上の名前（法人格を小さく添える） */
.brand-name { display: inline-flex; align-items: baseline; gap: .35em; }
.brand-kind { font-size: .72em; font-weight: 600; letter-spacing: .02em; }
@media (max-width: 380px) { .brand { font-size: 1.02rem; gap: 8px; } }
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; display: block; }
@media (max-width: 380px) { .brand-mark { width: 26px; height: 26px; } }
@media (max-width: 400px) { .brand { flex-wrap: wrap; row-gap: 2px; white-space: normal; } .brand .tag { white-space: nowrap; } }

/* ───── 提供予定サービスの一覧 ───── */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-card { display: flex; flex-direction: column; background: var(--slip); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.svc-card:hover { border-color: var(--ink); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } .svc-card:hover { transform: none; } }
.svc-card-shot { margin: 0; aspect-ratio: 4 / 3; background: var(--green-soft); display: grid; place-items: center; overflow: hidden; }
.svc-card-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.svc-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 20px; flex: 1; }
.svc-card-body p { margin: 0; font-size: .92rem; color: var(--sub); }
.svc-card-body .svc-status { margin: 0; align-self: flex-start; }
.svc-card-head { display: flex; align-items: center; gap: 12px; }
.svc-card-head > div { display: flex; flex-direction: column; }
.svc-card-head strong { font-size: 1.1rem; }
.svc-card-who { font-size: .78rem; color: var(--sub); }
.svc-card .path-go { margin-top: auto; }
@media (max-width: 900px) { .svc-cards { grid-template-columns: minmax(0, 1fr); } }

/* ───── フッターのグループ分け ───── */
.foot-groups { display: grid; grid-template-columns: repeat(3, minmax(0, auto)); gap: 16px 40px; }
.foot-groups p { margin: 0 0 6px; font-size: .78rem; font-weight: 700; color: var(--ink); }
.foot-groups nav { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 640px) { .foot-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ヘッダー：今いるページは太字にせず下線と色だけ（太字だと幅が変わり、ページごとにメニューがずれて見えるため） */
.head-nav a[aria-current=page] { font-weight: 400; }
@media (min-width: 901px) { .head-nav { gap: 4px 14px; font-size: .86rem; } .head-inner { column-gap: 20px; } }

/* 代表者：肩書きを大きく、名前は小さく */
.person-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.2; letter-spacing: .06em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.person-soon { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--green); border: 1px solid var(--green); background: var(--green-soft); border-radius: 999px; padding: 2px 12px; }
.person-name-sm { margin: 6px 0 22px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: .12em; color: var(--sub); }

/* ───── スマホのヘッダー：1行（ロゴ＋メニューボタン）、メニューは押すと開く ───── */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .head-inner { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .brand { min-width: 0; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; flex-shrink: 0; width: 44px; height: 44px; margin-right: -8px; padding: 0 11px; background: none; border: 0; cursor: pointer; color: var(--ink); }
  .nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .head-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 4px 16px 12px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -16px rgba(24, 35, 58, .35); font-size: 1rem; }
  .is-open .head-nav { display: flex; }
  .head-nav a { padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
  .head-nav a:last-child { border-bottom: 0; }
  .head-nav a[aria-current=page] { text-decoration: none; color: var(--green); font-weight: 700; }
  /* 狭い画面では「設立準備中」を名前の下に小さく */
  .brand { flex-wrap: wrap; row-gap: 0; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }
@media (max-width: 420px) {
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand .tag { font-size: .66rem; padding: 0 7px; }
}

/* ═════ スマホのレイアウト見直し（12/02） ═════ */
/* 見出し：1〜2文字だけ次の行に落ちないよう、言葉の切れ目で折り返す */
h1, h2, h3, .person-title { text-wrap: balance; word-break: auto-phrase; }
@media (max-width: 600px) {
  h1 { font-size: clamp(1.6rem, 7.4vw, 2.1rem); line-height: 1.4; }
  .h1-wide { font-size: clamp(1.75rem, 8.2vw, 2.3rem); }
  h2 { font-size: clamp(1.3rem, 5.6vw, 1.6rem); }
  .band { padding: 48px 0; }
  .section-lead { margin-bottom: 24px; }
  .hero { padding: 36px 0 44px; }
  .page-head { padding: 32px 0 24px; }

  /* 数字のタイル：横長の行にして、2＋1 の隙間を作らない */
  .stats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .stat { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); grid-template-areas: "k v" "k s"; align-items: baseline; column-gap: 12px; padding: 12px 14px; border-top-width: 1px; border-left: 3px solid var(--green); }
  .stat .k { grid-area: k; align-self: center; }
  .stat .v { grid-area: v; font-size: 1.35rem; }
  .stat .s { grid-area: s; }

  /* 手順カード：アイコンを左に置いて背を低く */
  .steps.flow li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 16px; }
  .steps.flow li::before { grid-column: 2; }
  .steps.flow li .ico-badge { grid-column: 1; grid-row: 1 / span 3; margin: 2px 0 0; width: 44px; height: 44px; }
  .steps.flow li h3, .steps.flow li p { grid-column: 2; }
  .steps.flow li h3 { margin-bottom: 4px; }
  .steps.flow { gap: 22px; }
  .steps.flow li:not(:last-child)::after { bottom: -18px; width: 10px; height: 10px; }

  /* アイコン付きのカード（このような方に 等）：アイコンを左に */
  .service:has(> .ico-badge) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px 16px; }
  .service:has(> .ico-badge) > * { grid-column: 2; }
  .service:has(> .ico-badge) > .ico-badge { grid-column: 1; grid-row: 1 / span 4; width: 44px; height: 44px; }
  .service:has(> .ico-badge) > .when { grid-row: 1; margin-bottom: 6px; }
  .service > .ico-badge + h3, .service h3[style] { margin-top: 0 !important; }

  /* 小さな流れ（生成AI→MCP→セーフランサー）：縦に並べて矢印を下向きに */
  .mini-flow { flex-direction: column; align-items: flex-start; gap: 4px; }
  .mini-flow li.arrow { transform: rotate(90deg); margin-left: 18px; }

  /* 代表者の写真は中央に */
  .person > .photo { margin: 0 auto; }

  /* サービス一覧の画面画像は少し低く */
  .svc-card-shot { aspect-ratio: 16 / 10; }
}

/* 代表者のあいさつ文だけ明朝（400 は representative.html だけで読み込む） */
.person .message p { font-family: var(--display); font-weight: 400; font-size: 1.04rem; line-height: 2; letter-spacing: .02em; color: var(--ink); }

/* ご挨拶の署名（文章の下・右寄せ） */
.signature { margin: 28px 0 0; display: flex; justify-content: flex-end; align-items: baseline; gap: 16px; font-family: var(--display); }
.signature-role { font-weight: 600; font-size: .95rem; letter-spacing: .12em; color: var(--sub); }
.signature-name { font-weight: 800; font-size: 1.6rem; letter-spacing: .14em; color: var(--ink); }
@media (max-width: 600px) { .signature-name { font-size: 1.35rem; } }
.career-note { margin: 8px 0 0 26px; font-size: .9rem; color: var(--sub); }

/* ───── 会員の種類（無料会員／加盟会員） ───── */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; background: var(--slip); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.plan.is-paid { border: 2px solid var(--green); background: var(--green-soft); }
.plan-tag { margin: 0; align-self: flex-start; font-size: .76rem; font-weight: 700; color: var(--sub); border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 10px; }
.plan-tag.is-now { color: var(--green); border-color: var(--green); background: var(--green-soft); }
.plan-name { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.35rem; }
.plan-name span { font-family: var(--body); font-size: .85rem; font-weight: 700; color: var(--sub); }
.plan-price { margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.2rem; line-height: 1.2; }
.plan-price small { font-family: var(--body); font-size: .82rem; font-weight: 700; margin-left: 4px; color: var(--sub); }
.plan-list { list-style: none; margin: 8px 0 12px; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan.is-paid .plan-list { border-top-color: #C5DDD1; }
.plan-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 700; font-size: .95rem; line-height: 1.5; }
.plan-list .ico { width: 20px; height: 20px; color: var(--green); margin-top: 2px; }
.plan-list small { display: block; font-weight: 400; font-size: .82rem; color: var(--sub); margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan-note { margin: auto 0 0; font-size: .82rem; color: var(--sub); }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan { padding: 22px 18px 20px; } }
.scope-note { display: flex; gap: 10px; align-items: flex-start; max-width: 920px; margin: -8px 0 24px; padding: 12px 16px; background: var(--slip); border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius); font-size: .92rem; color: var(--sub); }
.scope-note .ico { color: var(--green); margin-top: 2px; }
.scope-note strong { color: var(--ink); }
/* 署名の下の略歴（数行） */
.profile { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .85rem; color: var(--sub); text-align: right; }
@media (max-width: 600px) { .profile { font-size: .82rem; } }
@media (max-width: 360px) { .profile { font-size: .74rem; } }
@media (max-width: 600px) { .profile-br { display: block; } }

/* サービス名の英語表記（h1 の下に小さく） */
.h1-en{display:block;margin-top:.3em;font-family:"IBM Plex Mono",monospace;font-size:.32em;font-weight:500;letter-spacing:.12em;color:var(--muted,#6b6b6b)}

/* 提供予定サービス：開発中の注記 */
.dev-note{font-size:.84rem;color:var(--sub);margin:12px 0 22px}
