/* ============================================================
   totop corporate site — 下層ページ共通CSS
   トップと同じ文法：英字大見出し×日本語小ラベルの逆転階層／
   カード解体（罫線リスト）／明暗リズム／グレージュ地
   ============================================================ */

/* ---------- 下層トークン（モック style.css の :root 代替） ---------- */
body.subpage {
  --teal: #2cb8b7;
  --teal-ink: #17817f;
  --teal-light: #a6d9d8;
  --teal-pale: #ecf7f7;
  --ink: #363332;
  --ink-soft: #5c5856;
  --gray: #6e6a67;
  --line: #e3dfd7;
  --bg: #f7f5f1;
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  --head: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --logo: "Jost", "Futura", "Inter", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
  --totop-teal: var(--teal);
  --totop-teal-ink: var(--teal-ink);
  --totop-teal-light: var(--teal-light);
  --totop-line: var(--line);
  --totop-ink: var(--ink);
  --totop-ink-soft: var(--ink-soft);
  --totop-noise-cta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background: var(--bg);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}

body.subpage .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

body.subpage .sp-only { display: none; }
@media (max-width: 767px) {
  body.subpage .sp-only { display: inline; }
}

/* セクション見出し（モック最終系・英字巨大×日本語小） */
body.subpage .sec-label {
  font-family: var(--logo);
  font-size: clamp(46px, 6.5vw, 86px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 4px;
}
body.subpage .sec-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-ink);
  letter-spacing: 0.14em;
  line-height: 1.6;
  margin-bottom: 52px;
}
/* 判子は巨大英字 .sec-label のみ（JS注入）。h2.sec-title への CSS 判子は使わない */
body.subpage .sec-title::before {
  content: none;
}
@media (max-width: 767px) {
  body.subpage .sec-label { font-size: clamp(40px, 12vw, 56px); }
  body.subpage .sec-title { margin-bottom: 36px; }
}

/* ---------- ヘッダー：下層は常時ソリッド（透明ヘッダー無効化） ---------- */
body.subpage .site-header {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line);
}
body.subpage .site-header .brand img { filter: none; }
body.subpage .site-header .gnav > ul > li > a { color: var(--ink); }
body.subpage .site-header .menu-btn span { background: var(--ink); }

/* ---------- ページヒーロー（コンパクト・動画なし） ---------- */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 64px;
}
.breadcrumb {
  list-style: none;   /* olの番号を消す（1,2,3が出ていたバグ修正） */
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--gray);
  letter-spacing: 0.04em;
  background: transparent; /* Bootstrap .breadcrumb の灰背景を打ち消し */
  border-radius: 0;
}
.breadcrumb a { color: var(--gray); transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--teal-ink); }
.breadcrumb > li + li::before {
  content: none; /* Bootstrap区切りを消す（下で ::after を使う） */
  padding: 0;
}
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #C9C4BC; }
.breadcrumb li:last-child { color: var(--ink-soft); }

.page-hero-en {
  font-family: var(--logo);
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  line-height: 1.05;
  margin-bottom: 10px;
}
.page-hero h1 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-family: var(--head);
  font-weight: 700;
  color: var(--teal-ink);
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-bottom: 28px;
}
.page-hero h1::before { content: "— "; color: var(--teal); }
.page-lead {
  max-width: 720px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 2.1;
}
/* エンティティ明示文（LLMO用・リード直後に置く） */
.page-entity {
  max-width: 720px;
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 18px;
}
@media (max-width: 767px) {
  .page-hero { padding: calc(var(--header-h) + 44px) 0 48px; }
  .breadcrumb { margin-bottom: 28px; }
}

/* ---------- セクション共通 ---------- */
.sub-section { padding: 88px 0; }
.sub-section.tight { padding: 64px 0; }
@media (max-width: 767px) { .sub-section { padding: 60px 0; } .sub-section.tight { padding: 44px 0; } }

/* ---------- 課題リスト（トップのissue-rowと同文法） ---------- */
.trouble-list { border-top: 1px solid var(--ink); max-width: 840px; }
.trouble-item {
  padding: 26px 6px;
  border-bottom: 1px solid #E3DFD7;
  font-family: var(--head);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.trouble-item span { display: block; font-family: var(--sans); font-weight: 400; font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* ---------- 提供内容・特徴（罫線リスト＝カード解体） ---------- */
.feature-list { border-top: 1px solid var(--ink); }
.feature-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 32px;
  padding: 36px 8px;
  border-bottom: 1px solid #E3DFD7;
}
.feature-num {
  font-family: var(--logo);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--teal);
  line-height: 1;
  padding-top: 4px;
}
.feature-item h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 10px;
}
.feature-item p { font-size: 14.5px; color: var(--ink-soft); max-width: 720px; }
@media (max-width: 767px) {
  .feature-item { grid-template-columns: 1fr; gap: 8px; padding: 26px 4px; }
}

/* ---------- 進め方（フロー） ---------- */
.flow-list { counter-reset: flow; max-width: 840px; }
.flow-step {
  position: relative;
  padding: 26px 8px 26px 76px;
  border-bottom: 1px solid #E3DFD7;
}
.flow-step:first-child { border-top: 1px solid var(--ink); }
.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  position: absolute;
  left: 8px; top: 26px;
  font-family: var(--logo);
  font-weight: 500;
  font-size: 22px;
  color: var(--teal);
  line-height: 1.4;
}
.flow-step h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.flow-step p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 767px) { .flow-step { padding-left: 60px; } }

/* ---------- 料金の型（金額なし・構造だけ。箱にせず罫線で） ---------- */
.fee-box {
  max-width: 840px;
  border-top: 2px solid var(--ink);
  padding: 26px 4px 0;
}
.fee-type {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
}
.fee-type em { font-style: normal; color: var(--teal-ink); }
.fee-note { font-size: 14px; color: var(--ink-soft); max-width: 720px; }
.fee-free {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal-ink);
}
.fee-free::before { content: "— "; color: var(--teal); }

/* ---------- ダーク帯（実物公開・仕組み強調用。トップのmissionと同トーン） ---------- */
.sub-band {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(155deg, #2C4A46 0%, #223D39 60%, #28453F 100%);
  color: #fff;
  padding: 96px 0;
}
.sub-band .sec-label,
body.subpage .sub-band .sec-label { color: #fff; }
.sub-band .sec-title { color: var(--teal-light); }
.sub-band .sec-title::before { color: var(--teal-light); }
.sub-band p { color: rgba(255, 255, 255, 0.8); }
.band-head {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: #fff;
  font-feature-settings: "palt";
  margin-bottom: 20px;
}
.band-check { max-width: 760px; margin-top: 28px; }
.band-check li {
  position: relative;
  padding: 13px 4px 13px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.band-check li::before {
  content: "";
  position: absolute;
  left: 4px; top: 21px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--teal-light);
  border-bottom: 2px solid var(--teal-light);
  transform: rotate(-45deg);
}
@media (max-width: 767px) { .sub-band { padding: 64px 0; } }

/* ---------- 図解（仕組みフロー。カード箱・矢印をやめ、番号＋罫線のエディトリアルで） ---------- */
.diagram-flow {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
  counter-reset: dstep;
}
.diagram-step {
  border-top: 2px solid var(--ink);
  padding: 16px 4px 0;
}
.diagram-step::before {
  counter-increment: dstep;
  content: "0" counter(dstep);
  display: block;
  font-family: var(--logo);
  font-weight: 500;
  font-size: 22px;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 14px;
}
.diagram-step h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--ink);
}
.diagram-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.9; }
@media (max-width: 900px) {
  .diagram-flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 26px; }
}

/* ---------- 実例リスト（AI導入の「できること」等。箱をやめて罫線カラムに） ---------- */
.example-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 48px;
}
.example-card {
  border-top: 2px solid var(--ink);
  padding: 18px 4px 0;
}
.example-card h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.example-card p { font-size: 13.5px; color: var(--ink-soft); }
@media (max-width: 767px) { .example-grid { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- FAQ（details/summary・JS不要） ---------- */
.faq-list { max-width: 840px; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid #E3DFD7; }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 24px 44px 24px 6px;
  position: relative;
  font-family: var(--head);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal-ink); }
.faq-list summary::before {
  content: "Q";
  font-family: var(--logo);
  font-weight: 500;
  font-size: 18px;
  color: var(--teal);
  flex-shrink: 0;
}
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--gray);
  border-bottom: 1.5px solid var(--gray);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a {
  display: flex;
  gap: 18px;
  padding: 0 6px 26px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 2;
}
.faq-a::before {
  content: "A";
  font-family: var(--logo);
  font-weight: 500;
  font-size: 18px;
  color: var(--gray);
  flex-shrink: 0;
  line-height: 1.6;
}

/* ---------- 関連サービス（ページ下部の回遊導線） ---------- */
.related { padding: 72px 0 96px; }
.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  border-top: 2px solid var(--ink);
  padding: 20px 4px 0;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s ease;
}
.related-card:hover,
.related-card:focus,
.related-card:focus-visible,
.related-card:active {
  color: inherit;
  text-decoration: none;
}
.related-card:hover { border-top-color: var(--teal); }
.related-card:hover .arrow { transform: translateX(5px); }
.related-en {
  font-family: var(--logo);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--gray);
  display: block;
  margin-bottom: 6px;
}
.related-card h3 {
  font-family: var(--head);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  color: var(--ink);
  transition: color 0.3s ease;
}
.related-card:hover h3 { color: var(--teal-ink); }
.related-card p { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.related-card .issue-to { font-size: 12.5px; font-weight: 700; color: var(--teal-ink); }
@media (max-width: 900px) { .related-list { grid-template-columns: 1fr; } }

/* ---------- 会社概要・お問い合わせ用 ---------- */
.message-block { max-width: 760px; }
.message-block p { font-size: 15px; line-height: 2.3; color: var(--ink-soft); margin-bottom: 1.6em; }
.message-sign { text-align: right; font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--ink); }

.team-list { border-top: 1px solid var(--ink); max-width: 840px; }
.team-item { padding: 30px 8px; border-bottom: 1px solid #E3DFD7; }
.team-role { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--teal-ink); margin-bottom: 4px; }
.team-name { font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: 0.06em; margin-bottom: 10px; }
.team-item p { font-size: 14px; color: var(--ink-soft); max-width: 720px; }

/* フォーム（モック・たっか実装待ち） */
.contact-form { max-width: 720px; }
.form-row { margin-bottom: 28px; }
.form-row label {
  display: block;
  font-family: var(--head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.form-row .req {
  font-size: 11px;
  color: #fff;
  background: var(--teal-ink);
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 10px;
  font-weight: 700;
  vertical-align: 1px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D8D4CD;
  border-radius: 4px;
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(44, 184, 183, 0.15);
}
.form-row textarea { min-height: 180px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 8px; }
.form-submit { margin-top: 40px; text-align: center; }
.form-submit button {
  font-family: var(--sans);
  border: none;
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.08em;
  padding: 18px 72px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.form-submit button:hover { background: #249D9C; transform: translateY(-1px); }

/* 種別選択（ラジオ・ボタン風） */
.type-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.type-choices label {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid #D8D4CD;
  border-radius: 999px;
  background: #fff;
  padding: 9px 22px;
  cursor: pointer;
  margin-bottom: 0;
  transition: border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.type-choices input { display: none; }
.type-choices label:has(input:checked) {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  font-weight: 700;
}

/* Googleマップ */
.map-wrap { max-width: 840px; }
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: block;
}

/* ============================================================
   タイルモチーフ（下層・2026-07-05）
   ①ページ右上：端で切れる大タイルの透かし（ティール6%）
      ※ page-hero が短いと ::after + overflow:hidden で縦に見切れるため、
        main に置いて横方向だけクリップする
   ②H1頭の「—」は JS 判子へ（CSS 判子は無効）
   ③ダーク帯右下：白タイル特大・角切り（トップのミッション帯と同文法）
   ============================================================ */
body.subpage main {
  position: relative;
  overflow-x: clip;
}

body.subpage main::before {
  content: "";
  position: absolute;
  top: calc(var(--header-h, 72px) + 48px);
  right: -48px;
  width: clamp(220px, 26vw, 380px);
  height: clamp(220px, 26vw, 380px);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%232CB8B7'/%3E%3Cstop offset='1' stop-color='%236FD4D3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='0' width='9.5' height='9.5' rx='2.6' fill='url(%23g)'/%3E%3Crect x='0' y='12' width='9.5' height='9.5' rx='2.6' fill='url(%23g)'/%3E%3Crect x='12' y='12' width='9.5' height='9.5' rx='2.6' fill='url(%23g)'/%3E%3Crect x='12.9' y='0.9' width='7.8' height='7.8' rx='2' fill='%23A6D9D8' transform='rotate(45 16.8 4.8)'/%3E%3C/svg%3E") no-repeat center / contain;
}

body.subpage main > * {
  position: relative;
  z-index: 1;
}

.page-hero {
  position: relative;
  overflow: visible;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero::after { content: none; }

.page-hero h1::before {
  content: none;
}

.sub-band { position: relative; overflow: hidden; }
.sub-band > .container { position: relative; z-index: 1; }
.sub-band::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 400px;
  height: 400px;
  opacity: 0.07;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='0' y='0' width='9.5' height='9.5' rx='2.6' fill='white'/%3E%3Crect x='0' y='12' width='9.5' height='9.5' rx='2.6' fill='white'/%3E%3Crect x='12' y='12' width='9.5' height='9.5' rx='2.6' fill='white'/%3E%3Crect x='12.9' y='0.9' width='7.8' height='7.8' rx='2' fill='white' fill-opacity='0.6' transform='rotate(45 16.8 4.8)'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (max-width: 767px) {
  body.subpage main::before {
    top: calc(var(--header-h, 72px) + 36px);
    right: -36px;
    opacity: 0.06;
  }
  .sub-band::after {
    width: 240px;
    height: 240px;
    right: -80px;
    bottom: -80px;
  }
}

/* ---------- タイル語彙の統一（2026-07-05） ---------- */
/* H1のCSS判子は廃止（JS注入のtile-markに一本化） */
.page-hero h1::before { content: none; }
/* ダーク帯のチェックマーク→回転タイル（ダイヤ）に */
.band-check li::before {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 2px;
  background: var(--teal-light);
  transform: rotate(45deg);
  left: 6px;
  top: 20px;
}

/* ============================================================
   進め方フローの横型化（内田FB 2026-07-05）
   縦の1,2,3は「強みの列挙」用。手順は左→右のボックスで見せる。
   ボックスはロゴのタイル形（squircle番号チップ＋ダイヤの接続）で
   白箱＋矢印のテンプレ感を回避する
   ============================================================ */
.flow-list {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 44px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid #E3DFD7;
  border-radius: 16px;
  border-top-right-radius: 34px;   /* ロゴの回転タイルを思わせる角違い */
  padding: 34px 24px 26px;
}
.flow-step:first-child { border-top: 1px solid #E3DFD7; }
/* 番号＝タイル形（squircle）のチップが上辺に食い込む判子 */
.flow-step::before {
  counter-increment: flow;
  content: counter(flow);
  position: absolute;
  top: -17px;
  left: 22px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2CB8B7, #6FD4D3);
  color: #fff;
  font-family: var(--logo);
  font-weight: 600;
  font-size: 16px;
  border-radius: 30%;
  line-height: 1;
}
/* 接続＝矢印（内田FB：ダイヤより分かりやすい） */
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -33px;
  margin-top: -13px;
  font-family: var(--en);
  font-size: 19px;
  line-height: 1.4;
  color: var(--teal);
}
.flow-step h3 { font-size: 16.5px; }
.flow-step p { font-size: 13.5px; }
@media (max-width: 900px) {
  .flow-list { grid-template-columns: 1fr; gap: 30px; }
  .flow-step { padding: 32px 22px 24px; }
  .flow-step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: auto;
    bottom: -27px;
    left: 50%;
    margin: 0 0 0 -7px;
  }
}

/* ---------- SPヘッダー：backdrop-filterの固定配置バグ対策（2026-07-06） ----------
   subpage.cssはstyle.cssより後に読み込まれるため、style.css v25の修正だけでは
   下層のヘッダーに効かない（同一詳細度・後勝ち）。ここで確実に上書きする */
@media (max-width: 900px) {
  body.subpage .site-header,
  body.subpage .site-header.scrolled,
  body.subpage .site-header.menu-open {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #F7F5F1;
  }
}

