/* Opportunity House — corporate site v5 (2026-10-29)
   Every component is copied from Yamada Consulting Group (yamada-cg.co.jp), measured 2026-10-29:
   top = full-bleed photo + huge copy + red band link + service grid overlapping the photo (red / navy header cells)
   + grey "迷われた場合は" bar, dot headings with a vertical rule and lead, colour band with offset grey block
   (経営ナレッジ), interview cards (photo + overlapping white box with red number), photo tile grid (トップが語る…),
   photo recruit band with outline MORE button, two-column colour CTA band, light-grey footer + dark copyright strip.
   sub pages = breadcrumb, photo right with colour block overlapping left, sticky side nav + content,
   h2 with red segment on a hairline, label|value table with vertical rule, related cards.
   Square corners everywhere (professional services). Yamada red is replaced by OH navy for large blocks;
   OH red (#E02439) is kept for small accents and the 赤 column. Single light look by design. */
:root {
  --navy: #000B35;
  --navy-2: #0D1C55;
  --red: #E02439;
  --red-dark: #C81D31;
  --sky: #6283C5;
  --white: #FFFFFF;
  --ink: #1F2440;
  --muted: #5A6078;
  --line: #DCDEE5;
  --gray: #EEEFF2;
  --gray-2: #E3E4E8;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --ease: cubic-bezier(.18, .06, .23, 1);
  --header-h: 96px;
  --wrap: 1260px;
  --gutter: 90px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-padding-top: calc(var(--header-h) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.9; letter-spacing: .04em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 700; text-wrap: balance; word-break: auto-phrase; }
p, li, dd { text-wrap: pretty; word-break: auto-phrase; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.nb { white-space: nowrap; }
.sp-only { display: none; }
.pc-br { display: inline; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* arrow (Yamada: thin line arrow) */
.arr { position: relative; display: inline-block; width: 30px; height: 8px; flex: none; transition: transform .4s var(--ease); }
.arr::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.arr::after { content: ""; position: absolute; right: 0; bottom: 0; width: 8px; height: 1px; background: currentColor; transform-origin: right; transform: rotate(35deg); }
a:hover .arr { transform: translateX(6px); }

/* outline button (Yamada MORE) */
.btn-line { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 260px; height: 64px; padding-inline: 32px; border: 1px solid currentColor; font-size: 14px; font-weight: 700; letter-spacing: .1em; transition: background .3s, color .3s; }
.btn-line--navy { color: var(--navy); }
.btn-line--navy:hover { background: var(--navy); color: var(--white); }
.btn-line--white { color: var(--white); }
.btn-line--white:hover { background: var(--white); color: var(--navy); }
.btn-fill { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; min-width: 260px; height: 60px; padding-inline: 32px; background: var(--red); color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: .1em; transition: background .3s; border: 0; cursor: pointer; font-family: inherit; }
.btn-fill:hover { background: var(--red-dark); }

/* ---------- header (Yamada/LiB: logo left, nav right, red square contact cell) ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h); background: var(--white); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; padding-left: max(32px, env(safe-area-inset-left, 0px)); }
.site-logo { display: block; color: var(--navy); line-height: 0; }
.site-logo svg { height: 36px; width: auto; display: block; }
.gnav { margin-left: auto; display: flex; align-items: center; height: 100%; }
.gnav__list { display: flex; gap: 40px; margin-right: 40px; }
.gnav__list a { position: relative; font-size: 15px; font-weight: 700; color: var(--navy); padding-block: 8px; }
.gnav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .4s var(--ease); }
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { height: 100%; width: 104px; display: grid; place-items: center; align-content: center; gap: 4px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .06em; transition: background .3s; padding-right: env(safe-area-inset-right, 0px); }
.header-cta svg { width: 22px; height: 22px; }
.header-cta:hover { background: var(--red-dark); }
.menu-btn, .sp-menu { display: none; }

/* reveal */
.rv-ready .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv-ready .rv.is-in { opacity: 1; transform: none; }

/* ---------- top: hero (Yamada) ---------- */
.hero { position: relative; height: 860px; color: var(--white); }
.hero__media { position: absolute; inset: 0; overflow: hidden; background: var(--navy); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; animation: zoom 3s var(--ease) both; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,11,53,.72) 0%, rgba(0,11,53,.42) 45%, rgba(0,11,53,.05) 80%); }
.hero__copy { position: absolute; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); top: 130px; }
.hero__title { font-size: 88px; line-height: 1.22; letter-spacing: .04em; text-shadow: 0 2px 24px rgba(0,11,53,.25); animation: rise 1.2s .1s var(--ease) both; }
.hero__lead { margin-top: 24px; font-size: 20px; font-weight: 700; letter-spacing: .08em; animation: rise 1.2s .3s var(--ease) both; }
.hero__band { position: absolute; left: 0; top: 500px; width: min(600px, 100%); height: 68px; display: flex; align-items: center; justify-content: space-between; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: 32px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: .08em; transition: background .3s; animation: slide 1s .5s var(--ease) both; }
.hero__band:hover { background: var(--red-dark); }
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: none; } }

/* service grid overlapping the hero (Yamada コンサルティングサービス / 投資事業) */
.sgrid { position: relative; z-index: 3; margin-top: -120px; background: var(--white); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sgrid__head { padding: 18px 24px; color: var(--white); font-size: 15px; font-weight: 700; letter-spacing: .08em; display: flex; align-items: baseline; gap: 14px; }
.sgrid__head b { font-size: 22px; }
.sgrid__head span { font-size: 12px; font-weight: 500; opacity: .85; letter-spacing: .04em; }
.sgrid__head--red { grid-column: span 2; background: var(--red); }
.sgrid__head--navy { grid-column: span 2; background: var(--navy); }
.sgrid__cell { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 92px; padding: 18px 24px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--navy); transition: background .3s, color .3s; }
.sgrid__cell:not(:nth-child(4n+3)) { border-left: 1px solid var(--line); }
.sgrid__cell .arr { color: var(--muted); width: 22px; }
.sgrid__cell--red:hover { background: #FDEFF1; color: var(--red); }
.sgrid__cell--navy { background: #F3F5FA; }
.sgrid__cell--navy:hover { background: var(--navy); color: var(--white); }
.sgrid__cell--navy:hover .arr { color: var(--white); }
.sbar { border: 1px solid var(--line); border-top: 0; }
.sbar__head { background: var(--gray); padding: 14px 24px; font-size: 14px; font-weight: 700; color: var(--navy); }
.sbar__body { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 22px 24px; font-size: 14px; color: var(--muted); }
.sbar__body .btn-fill { min-width: 220px; height: 52px; flex: none; }

/* dot heading + vertical rule + lead (Yamada 新着情報 / 世界展開) */
.dhead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.dhead__title { position: relative; padding-left: 22px; font-size: 32px; line-height: 1.5; color: var(--navy); }
.dhead__title::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 9px; border-radius: 50% !important; background: var(--red); }
.dhead__lead { border-left: 1px solid var(--line); padding-left: 32px; font-size: 15px; color: var(--muted); }
.dhead__lead strong { display: block; font-size: 18px; color: var(--navy); margin-bottom: 8px; }

.section { padding-block: 140px; }
.section--gray { background: var(--gray); }

/* colour band with offset grey block (Yamada 経営ナレッジ) */
.kband { position: relative; padding-block: 120px 0; }
.kband::before { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 68%; background: var(--gray); }
.kband__box { position: relative; background: var(--navy); color: var(--white); margin-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding: 72px 64px 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.kband__title { font-size: 40px; line-height: 1.5; letter-spacing: .04em; }
.kband__text { border-left: 1px solid rgba(255,255,255,.3); padding-left: 40px; font-size: 15px; color: rgba(255,255,255,.88); }
.kband__body { position: relative; padding-block: 64px 120px; }
.voices { border-top: 1px solid var(--line); }
.voice { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: baseline; padding-block: 32px; border-bottom: 1px solid var(--line); }
.voice__q { font-size: 20px; line-height: 1.6; font-weight: 700; color: var(--navy); }
.voice__a { font-size: 15px; color: var(--muted); }

/* interview-style cards (Yamada コンサルタントインタビュー) */
.icards { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.icard { position: relative; }
.icard__img { aspect-ratio: 4 / 3; overflow: hidden; max-width: 86%; }
.icard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.icard:hover .icard__img img { transform: scale(1.05); }
.icard__box { position: relative; margin: -72px 0 0 14%; background: var(--white); padding: 24px 28px 8px; }
.icard__num { font-size: 26px; font-weight: 500; color: var(--red); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.icard__title { margin-top: 6px; font-size: 19px; line-height: 1.6; color: var(--navy); }
.icard__text { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* case (Yamada article card, wide) */
.case { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); background: var(--white); border: 1px solid var(--line); transition: box-shadow .4s; }
.case:hover { box-shadow: 0 16px 40px -24px rgba(0,11,53,.35); }
.case__media { overflow: hidden; min-height: 400px; position: relative; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.case:hover .case__media img { transform: scale(1.04); }
.case__body { padding: 48px 52px; display: flex; flex-direction: column; gap: 16px; }
.case__cat { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.case__title { font-size: 24px; line-height: 1.6; color: var(--navy); }
.case__text { font-size: 15px; color: var(--muted); }
.case__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.case__meta .arr { color: var(--red); }

/* photo tile grid (Yamada トップが語る…) */
.tiles { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; color: var(--white); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,11,53,0) 45%, rgba(0,11,53,.78) 100%); }
.tile:hover img { transform: scale(1.06); }
.tile__plus { position: absolute; top: 0; right: 0; z-index: 2; width: 28px; height: 28px; background: rgba(255,255,255,.3); display: grid; place-items: center; font-size: 18px; line-height: 1; }
.tile__name { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; font-size: 20px; line-height: 1.5; font-weight: 700; }
.tile__name small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; opacity: .85; }
.tile--navy { background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; transition: background .3s; }
.tile--navy::after { display: none; }
.tile--navy:hover { background: var(--navy-2); }
.tile--navy p { font-size: 16px; font-weight: 700; line-height: 1.6; }
.tile--navy .arr { margin-top: 16px; align-self: flex-end; }

/* recruit band (Yamada 採用情報) */
.rband { position: relative; color: var(--white); min-height: 520px; display: flex; align-items: center; overflow: hidden; }
.rband__media { position: absolute; inset: 0; }
.rband__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.rband__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,11,53,.78) 0%, rgba(0,11,53,.4) 55%, rgba(0,11,53,.1) 100%); }
.rband .wrap { position: relative; }
.rband__title { position: relative; padding-left: 22px; font-size: 34px; }
.rband__title::before { content: ""; position: absolute; left: 0; top: .7em; width: 9px; height: 9px; border-radius: 50% !important; background: var(--red); }
.rband__text { margin-top: 16px; font-size: 18px; font-weight: 700; }
.rband .btn-line { margin-top: 56px; }

/* two-column colour CTA (Yamada お問い合わせ / 資料ダウンロード) */
.cta2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--navy); color: var(--white); }
.cta2__col { padding: 72px max(48px, calc((100vw - var(--wrap)) / 2)); }
.cta2__col + .cta2__col { border-left: 1px solid rgba(255,255,255,.22); }
.cta2__col:first-child { padding-right: 72px; }
.cta2__col:last-child { padding-left: 72px; }
.cta2__title { font-size: 28px; }
.cta2__text { margin-top: 12px; font-size: 14px; color: rgba(255,255,255,.85); }
.cta2 .btn-line { margin-top: 32px; min-width: 240px; height: 56px; }
.cta2__col--red { background: var(--red); }

/* footer (Yamada: light grey + dark strip) */
.site-footer { background: var(--gray-2); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; padding-block: 80px 72px; }
.site-footer__addr { margin-top: 24px; font-size: 13px; line-height: 2; color: var(--muted); }
.site-footer__sub { margin-top: 40px; display: grid; gap: 10px; font-size: 12px; color: var(--muted); }
.fnav { display: flex; flex-wrap: wrap; gap: 20px 44px; align-content: start; font-size: 15px; color: var(--ink); }
.fnav a:hover { color: var(--red); }
.fnav__group { width: 100%; margin-top: 16px; padding-left: 12px; border-left: 3px solid var(--red); font-size: 14px; font-weight: 700; color: var(--navy); }
.site-footer__strip { background: #2A2D38; color: rgba(255,255,255,.75); font-size: 11px; text-align: center; padding: 22px 16px; letter-spacing: .06em; }

/* ---------- sub pages (Yamada) ---------- */
.crumb { font-size: 11px; color: var(--muted); padding: 14px max(24px, env(safe-area-inset-left, 0px)); display: flex; gap: 8px; }
.crumb a:hover { color: var(--red); }
.phead { position: relative; height: 420px; }
.phead__media { position: absolute; top: 0; bottom: 0; right: 0; left: 28%; overflow: hidden; background: var(--navy); }
.phead__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.phead__box { position: absolute; left: 0; top: 60px; bottom: 0; width: 35%; min-width: 360px; background: var(--navy); color: var(--white); display: flex; flex-direction: column; justify-content: center; padding: 0 48px 0 max(48px, calc((100vw - var(--wrap)) / 2)); }
.phead__box--plain { position: relative; top: 0; width: 100%; min-width: 0; height: 260px; }
.phead__cat { position: relative; padding-left: 16px; font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.phead__cat::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50% !important; background: var(--red); }
.phead__title { margin-top: 12px; font-size: 40px; line-height: 1.45; letter-spacing: .06em; }
.phead--plain { height: auto; }

.sub { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; padding-block: 96px 140px; }
.side { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.side__group { padding-bottom: 12px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; font-weight: 700; color: var(--navy); }
.side__group::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--red); }
.side__list { margin-top: 16px; display: grid; gap: 2px; font-size: 13px; }
.side__list a { display: block; padding: 6px 10px; color: var(--ink); transition: background .2s, color .2s; }
.side__list a:hover { color: var(--red); }
.side__list a.is-current { background: var(--gray); position: relative; padding-left: 20px; }
.side__list a.is-current::before { content: ""; position: absolute; left: 8px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50% !important; background: var(--red); }
.side__sub { margin: 4px 0 8px 20px; display: grid; gap: 0; }
.side__sub a { font-size: 12px; padding: 4px 10px; color: var(--muted); }
.side__sub a.is-current { background: none; color: var(--red); padding-left: 10px; }
.side__sub a.is-current::before { display: none; }

.content > * + * { margin-top: 96px; }
.intro { font-size: 15px; color: var(--ink); }
.c-h2 { position: relative; padding-top: 40px; border-top: 1px solid var(--line); font-size: 30px; line-height: 1.5; color: var(--navy); }
.c-h2::before { content: ""; position: absolute; left: 0; top: -1px; width: 56px; height: 2px; background: var(--red); }
.c-lead { margin-top: 20px; font-size: 15px; color: var(--muted); }
.c-h3 { font-size: 20px; line-height: 1.6; color: var(--navy); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.c-block > * + * { margin-top: 24px; }
.c-text { font-size: 15px; }
.c-text + .c-text { margin-top: 12px; }

/* label | value table with vertical rule (Yamada 会社概要) */
.vtable { border-top: 1px solid var(--line); }
.vtable > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.vtable dt { padding: 30px 0; font-size: 14px; font-weight: 700; color: var(--navy); }
.vtable dd { margin: 18px 0; border-left: 1px solid var(--line); padding: 12px 0 12px 24px; font-size: 14px; }
.vtable dd ul li { padding-left: 1em; text-indent: -1em; }
.vtable dd ul li::before { content: "・"; }
.vtable .note { display: block; font-size: 12px; color: var(--muted); }
.vtable .note a, .vtable a.u { color: var(--red); }

/* service table (Yamada サービスライン | 役務内容) */
.stable { width: 100%; border-collapse: collapse; font-size: 14px; }
.stable th { text-align: left; padding: 14px 20px; color: var(--white); font-weight: 700; }
.stable th:first-child { width: 36%; }
.stable thead.red th { background: var(--red); }
.stable thead.navy th { background: var(--navy); }
.stable td { padding: 18px 20px; border: 1px solid var(--line); vertical-align: top; }
.stable td:first-child { font-weight: 700; color: var(--navy); }
.stable td ul li { padding-left: 1em; text-indent: -1em; }
.stable td ul li::before { content: "●"; font-size: 7px; vertical-align: middle; margin-right: .6em; color: var(--muted); }

/* step flow (Yamada コンサルティングフロー: STEP circles) */
.flow__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 32px; padding-block: 28px; border-bottom: 1px solid var(--line); }
.flow__no { width: 88px; height: 88px; border-radius: 50% !important; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-align: center; }
.flow__item--red .flow__no { background: var(--red); }
.flow__title { font-size: 19px; color: var(--navy); padding-top: 14px; }
.flow__text { margin-top: 8px; font-size: 15px; }

/* related cards (Yamada 関連コンテンツ) */
.rel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); }
.rel a { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.rel a:first-child { border-left: 0; }
.rel__img { aspect-ratio: 16 / 10; overflow: hidden; }
.rel__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.rel a:hover .rel__img img { transform: scale(1.05); }
.rel__body { padding: 20px 24px 22px; display: grid; gap: 8px; flex: 1; }
.rel__title { font-size: 16px; font-weight: 700; color: var(--navy); }
.rel__text { font-size: 13px; color: var(--muted); }
.rel__body .arr { justify-self: end; color: var(--red); margin-top: auto; }

.person__role { font-size: 13px; color: var(--muted); }
.person__name { font-size: 28px; letter-spacing: .14em; color: var(--navy); }
.quote { padding: 40px 48px; background: var(--gray); }
.quote p { font-size: 22px; font-weight: 700; line-height: 1.7; color: var(--navy); }
.quote cite { display: block; margin-top: 12px; font-size: 13px; font-style: normal; color: var(--muted); }

/* form */
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field label { font-size: 14px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 10px; }
.req { font-size: 11px; color: var(--white); background: var(--red); padding: 1px 8px; letter-spacing: .08em; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); border: 1px solid #C9CCD6; padding: 14px 16px; line-height: 1.7; }
.field textarea { min-height: 220px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field__hint { font-size: 12px; color: var(--muted); }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.agree input { width: 18px; height: 18px; margin-top: 5px; accent-color: var(--navy); }
.agree a { color: var(--red); text-decoration: underline; }
.form__status { font-size: 14px; color: var(--navy); }
.prose h3 { font-size: 18px; color: var(--navy); margin-top: 40px; }
.prose p, .prose ul { margin-top: 12px; font-size: 15px; }
.prose ul li { padding-left: 1em; text-indent: -1em; }
.prose ul li::before { content: "・"; }
.doclinks { border-top: 1px solid var(--line); }
.doclinks a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.doclinks a .arr { color: var(--red); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv-ready .rv { opacity: 1; transform: none; } }

/* ---------- tablet ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 48px; }
  .gnav__list { gap: 24px; margin-right: 24px; }
  .gnav__list a { font-size: 14px; }
  .hero__title { font-size: 68px; }
  .sgrid__cell { font-size: 14px; padding: 16px 18px; }
  .icards { gap: 28px; }
  .sub { grid-template-columns: 200px minmax(0, 1fr); gap: 48px; }
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  :root { --header-h: 64px; --gutter: 20px; }
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .pc-br { display: none; }
  .site-header__inner { padding-left: max(16px, env(safe-area-inset-left, 0px)); }
  .site-logo svg { height: 24px; }
  .gnav__list { display: none; }
  .header-cta { width: 64px; font-size: 9px; }
  .header-cta svg { width: 18px; height: 18px; }
  .menu-btn { display: grid; place-items: center; width: 60px; height: 64px; background: none; border: 0; cursor: pointer; color: var(--navy); }
  .menu-btn span { position: relative; width: 22px; height: 2px; background: currentColor; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; transition: transform .3s; }
  .menu-btn span::before { top: -7px; }
  .menu-btn span::after { top: 7px; }
  .is-menu-open .menu-btn span { background: transparent; }
  .is-menu-open .menu-btn span::before { transform: translateY(7px) rotate(45deg); }
  .is-menu-open .menu-btn span::after { transform: translateY(-7px) rotate(-45deg); }
  .sp-menu:not([hidden]) { display: flex; }
  .sp-menu { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0; z-index: 49; background: var(--white); padding: 8px max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); overflow-y: auto; flex-direction: column; gap: 28px; }
  .sp-menu li a { display: flex; justify-content: space-between; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--navy); }
  .sp-menu .btn-fill { width: 100%; }

  .hero { height: 600px; }
  .hero__media img { object-position: 60% 30%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(0,11,53,.55) 0%, rgba(0,11,53,.25) 55%, rgba(0,11,53,.6) 100%); }
  .hero__copy { left: 20px; right: 20px; top: 56px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 14px; margin-top: 16px; }
  .hero__band { top: auto; bottom: 120px; width: calc(100% - 40px); height: 56px; padding-left: 20px; font-size: 14px; }
  .sgrid { margin-top: -88px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sgrid__head { padding: 12px 16px; font-size: 13px; flex-wrap: wrap; gap: 4px 10px; }
  .sgrid__head b { font-size: 18px; }
  .sgrid__cell { min-height: 64px; font-size: 13px; padding: 12px 14px; }
  .sgrid__cell:not(:nth-child(4n+3)) { border-left: 0; }
  .sgrid__cell:nth-child(even) { border-left: 1px solid var(--line); }
  .sbar__body { flex-direction: column; align-items: stretch; gap: 16px; padding: 18px 16px; }
  .dhead { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dhead__title { font-size: 23px; }
  .dhead__lead { border-left: 0; padding-left: 0; }
  .section { padding-block: 88px; }
  .kband { padding-top: 64px; }
  .kband::before { width: 40%; }
  .kband__box { grid-template-columns: minmax(0, 1fr); margin-right: 20px; padding: 44px 24px 44px 20px; gap: 24px; }
  .kband__title { font-size: 25px; }
  .kband__text { border-left: 0; padding-left: 0; }
  .kband__body { padding-block: 40px 88px; }
  .voice { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-block: 24px; }
  .voice__q { font-size: 17px; }
  .icards { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .case { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .case__media { min-height: 220px; }
  .case__body { padding: 28px 22px; }
  .case__title { font-size: 19px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
  .tile__name { left: 14px; right: 14px; bottom: 14px; font-size: 15px; }
  .rband { min-height: 420px; }
  .rband__title { font-size: 26px; }
  .rband__text { font-size: 15px; }
  .cta2 { grid-template-columns: minmax(0, 1fr); }
  .cta2__col, .cta2__col:first-child, .cta2__col:last-child { padding: 48px 20px; }
  .cta2__col + .cta2__col { border-left: 0; }
  .cta2__title { font-size: 22px; }
  .btn-line, .btn-fill { min-width: 0; width: 100%; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); padding-block: 56px; gap: 32px; }
  .fnav { gap: 14px 28px; font-size: 14px; }
  .crumb { padding-inline: 16px; }
  .phead { height: auto; }
  .phead__media { position: relative; left: 0; height: 220px; }
  .phead__box { position: relative; top: 0; width: calc(100% - 20px); min-width: 0; margin-top: -48px; padding: 28px 20px; }
  .phead__box--plain { margin-top: 0; width: 100%; height: auto; padding: 40px 20px; }
  .phead__title { font-size: 26px; }
  .sub { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 48px 88px; }
  .side { position: static; }
  .content > * + * { margin-top: 64px; }
  .c-h2 { font-size: 22px; padding-top: 28px; }
  .vtable > div { grid-template-columns: 100px minmax(0, 1fr); }
  .vtable dd { padding-left: 14px; }
  .stable { font-size: 13px; }
  .stable th, .stable td { padding: 12px; }
  .flow__item { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .flow__no { width: 60px; height: 60px; font-size: 11px; }
  .flow__title { padding-top: 6px; font-size: 17px; }
  .rel { grid-template-columns: minmax(0, 1fr); }
  .rel a { border-left: 0; border-top: 1px solid var(--line); }
  .rel a:first-child { border-top: 0; }
  .quote { padding: 28px 22px; }
  .quote p { font-size: 18px; }
}
/* hide the stock-comp ID strip at the photo edge until photos are purchased */
.hero__media img { animation: zoom2 3s var(--ease) both; }
@keyframes zoom2 { from { transform: scale(1.12); } to { transform: scale(1.06); } }
.case__media img, .phead__media img, .rband__media img, .tile img, .icard__img img, .rel__img img { scale: 1.06; }
@media (max-width: 860px) {
  .hero__title { font-size: 34px; }
  .sgrid__head--red { order: 0; }
  .sgrid__cell--red { order: 1; }
  .sgrid__head--navy { order: 2; }
  .sgrid__cell--navy { order: 3; }
  .sgrid__cell { border-left: 0 !important; }
  .sgrid__cell--red:nth-of-type(2n), .sgrid__cell--navy:nth-of-type(2n) { border-left: 0; }
}
@media (max-width: 860px) { .sgrid__cell:nth-child(even) { border-left: 1px solid var(--line) !important; } }

/* =================== v6 (2026-10-29) — OH originality =================== */
:root { --blue: #2F5BC0; --blue-tint: #E8EEFA; --red-tint: #FCECEE; }

/* hero: the brand-book line (red from the top = people's intent, navy from below = trusted service) meets at the headline */
.hero--oh { height: min(calc(100svh - var(--header-h)), 820px); min-height: 620px; }
.hero--oh .hero__media::after { background: linear-gradient(90deg, rgba(0,11,53,.78) 0%, rgba(0,11,53,.5) 42%, rgba(0,11,53,.1) 78%); }
.hero__line { position: absolute; z-index: 2; top: 0; bottom: 0; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: 13px; display: flex; flex-direction: column; align-items: center; }
.hero__line-red { width: 2px; height: 34%; background: var(--red); transform-origin: top; animation: ln-down 1.2s .2s var(--ease) both; }
.hero__line-dot { width: 13px; height: 13px; border-radius: 50% !important; background: var(--sky); margin-block: 14px; flex: none; box-shadow: 0 0 0 6px rgba(98,131,197,.25); animation: dot-in .6s 1.2s var(--ease) both; }
.hero__line-navy { width: 2px; flex: 1; background: rgba(255,255,255,.55); transform-origin: bottom; animation: ln-up 1.2s .2s var(--ease) both; }
@keyframes ln-down { from { transform: scaleY(0); } to { transform: none; } }
@keyframes ln-up { from { transform: scaleY(0); } to { transform: none; } }
@keyframes dot-in { from { transform: scale(0); } to { transform: none; } }
.hero--oh .hero__copy { top: calc(34% + 14px - 18px); left: calc(max(var(--gutter), calc((100vw - var(--wrap)) / 2)) + 56px); }
.hero--oh .hero__title { font-size: 76px; line-height: 1.3; }
.hero--oh .hero__lead { margin-top: 32px; font-size: 18px; line-height: 2; font-weight: 500; }
.hero__links { margin-top: 44px; display: flex; gap: 40px; animation: rise 1.2s .5s var(--ease) both; }
.hero__links a { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.6); font-size: 15px; font-weight: 700; letter-spacing: .08em; }
.hero__links a:last-child { border-bottom-color: var(--red); }
.hero__links a:hover { border-bottom-color: var(--white); }

/* issues: quote and answer stay together */
.issues { background: var(--navy); color: var(--white); padding-block: 140px; }
.issues__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; }
.issues__title { font-size: 44px; line-height: 1.5; letter-spacing: .04em; }
.issues__lead { margin-top: 28px; font-size: 16px; color: rgba(255,255,255,.8); }
.issues__list { border-top: 1px solid rgba(255,255,255,.25); }
.voice2 { padding-block: 32px; border-bottom: 1px solid rgba(255,255,255,.25); display: grid; gap: 10px; }
.voice2__q { font-size: 23px; line-height: 1.6; font-weight: 700; text-indent: -.45em; }
.voice2__a { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,.82); }

/* red × blue circles (restored, details fixed) */
.rb3 { padding-block: 150px 140px; background: var(--white); }
.rb3__head { text-align: center; max-width: 800px; margin: 0 auto; }
.rb3__title { font-size: 44px; line-height: 1.5; color: var(--navy); letter-spacing: .04em; }
.rb3__lead { margin-top: 28px; font-size: 16px; color: var(--muted); }
.rb3__fig { position: relative; width: 1100px; max-width: 100%; aspect-ratio: 1100 / 620; margin: 72px auto 0; }
.rb3__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rb3__fill--red { fill: var(--red-tint); }
.rb3__fill--blue { fill: var(--blue-tint); mix-blend-mode: multiply; }
.rb3__shade { fill: rgba(0,11,53,.22); }
.rb3__ring { fill: none; stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease); }
.rb3__ring--red { stroke: var(--red); }
.rb3__ring--blue { stroke: var(--blue); }
.rb3__photo, .rb3__shade { transition: opacity 1.2s 1.1s var(--ease); }
.rv-ready .rb3__fig.rv { opacity: 1 !important; transform: none !important; }
.rv-ready .rb3__fig.rv .rb3__ring { stroke-dashoffset: 100; }
.rv-ready .rb3__fig.rv .rb3__photo, .rv-ready .rb3__fig.rv .rb3__shade { opacity: 0; }
.rv-ready .rb3__fig.rv.is-in .rb3__ring { stroke-dashoffset: 0; }
.rv-ready .rb3__fig.rv.is-in .rb3__photo, .rv-ready .rb3__fig.rv.is-in .rb3__shade { opacity: 1; }
/* each label sits centred in its crescent: left crescent spans x 90–410 (centre 250 = 22.7%), right 690–1010 (centre 850 = 77.3%) */
.rb3__side { position: absolute; top: 50%; width: 24%; transform: translate(-50%, -50%); text-align: center; }
.rb3__side--red { left: 22.7%; }
.rb3__side--blue { left: 77.3%; }
.rb3__key { font-size: 56px; line-height: 1; font-weight: 700; }
.rb3__side--red .rb3__key { color: var(--red); }
.rb3__side--blue .rb3__key { color: var(--blue); }
.rb3__name { margin-top: 18px; font-size: 21px; line-height: 1.5; color: var(--navy); }
.rb3__items { margin-top: 18px; display: grid; gap: 4px; font-size: 14px; color: var(--ink); }
.rb3__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--white); font-size: 18px; line-height: 1.75; font-weight: 700; letter-spacing: .08em; text-align: center; text-shadow: 0 2px 14px rgba(0,11,53,.55); }
.rb3__sp { display: none; }
.rb3__more { margin-top: 64px; text-align: center; }
/* blue in the red/blue explanation is a real blue, not navy */
.stable thead.navy th { background: var(--blue); }
.flow__item:not(.flow__item--red) .flow__no { background: var(--blue); }
.case .case__cat { color: var(--red); }

/* footer: three link columns + brand block, no accent rules */
.site-footer__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; padding-block: 88px 80px; }
.site-footer__lic { margin-top: 20px; font-size: 12px; line-height: 2; color: var(--muted); }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.fcol { display: grid; gap: 12px; align-content: start; }
.fcol__t { font-size: 14px; font-weight: 700; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid #C9CBD3; margin-bottom: 4px; }
.fcol a { font-size: 13px; color: var(--ink); transition: color .3s; }
.fcol a:hover { color: var(--red); }

@media (max-width: 1180px) {
  .hero--oh .hero__title { font-size: 60px; }
  .rb3__name { font-size: 17px; }
  .rb3__key { font-size: 44px; }
  .rb3__items { font-size: 12px; }
}
@media (max-width: 860px) {
  .hero--oh { height: 620px; min-height: 0; }
  .hero__line { left: 20px; }
  .hero__line-red { height: 170px; }
  .hero--oh .hero__copy { top: 176px; left: 52px; right: 20px; }
  .hero--oh .hero__title { font-size: 32px; }
  .hero--oh .hero__lead { font-size: 14px; margin-top: 20px; }
  .hero__links { flex-direction: column; gap: 18px; margin-top: 32px; }
  .hero__links a { justify-content: space-between; }
  .issues { padding-block: 88px; }
  .issues__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .issues__title { font-size: 28px; }
  .voice2 { padding-block: 24px; }
  .voice2__q { font-size: 18px; }
  .voice2__a { font-size: 15px; }
  .rb3 { padding-block: 88px; }
  .rb3__head { text-align: left; }
  .rb3__title { font-size: 28px; }
  .rb3__fig { margin-top: 40px; }
  .rb3__side { display: none; }
  .rb3__mid { font-size: 12px; }
  .rb3__sp { display: grid; gap: 32px; margin-top: 40px; }
  .rb3__spkey { font-size: 16px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid currentColor; }
  .rb3__spcol--red .rb3__spkey { color: var(--red); }
  .rb3__spcol--blue .rb3__spkey { color: var(--blue); }
  .rb3__sp li { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .rb3__more { margin-top: 40px; }
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 56px; }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
}
.rb3__mid { top: auto; bottom: 16%; transform: translateX(-50%); }
.rb3__shade { fill: url(#none); fill: rgba(0,11,53,.28); }
@media (max-width: 860px) { .rb3__mid { display: none; } }

/* v7 — type floor raised (2026-10-29): nothing a reader must read is below 15px; labels that act as headings ≥ 18px */
body { font-size: 16px; }
.c-text, .intro, .prose p, .prose ul, .c-lead { font-size: 16px; }
.c-lead, .dhead__lead, .rb3__lead, .issues__lead { font-size: 17px; }
.vtable dt { font-size: 18px; padding: 28px 0; }
.vtable dd { font-size: 16px; line-height: 1.9; }
.vtable .note { font-size: 14px; }
.side__group { font-size: 16px; }
.side__list { font-size: 15px; }
.side__sub a { font-size: 14px; }
.stable { font-size: 15px; }
.stable th { font-size: 15px; }
.stable td:first-child { font-size: 16px; }
.flow__text, .icard__text, .case__text, .voice__a, .rel__text, .tile__name small { font-size: 15px; }
.icard__title { font-size: 21px; }
.rel__title { font-size: 18px; }
.rb3__items { font-size: 15px; gap: 6px; }
.rb3__name { font-size: 22px; }
.case__meta, .site-footer__addr, .site-footer__lic, .fcol a { font-size: 14px; }
.fcol__t { font-size: 15px; }
.cta2__text, .sbar__body { font-size: 15px; }
.crumb { font-size: 13px; }
.phead__cat { font-size: 14px; }
.person__role { font-size: 14px; }
.quote cite { font-size: 14px; }
.field label { font-size: 15px; }
.field__hint { font-size: 13px; }
@media (max-width: 1180px) { .rb3__items { font-size: 13px; } .rb3__name { font-size: 18px; } }
@media (max-width: 860px) {
  body { font-size: 15px; }
  .c-text, .intro, .prose p, .prose ul { font-size: 15px; }
  .c-lead, .dhead__lead, .rb3__lead, .issues__lead { font-size: 15px; }
  .vtable > div { grid-template-columns: 96px minmax(0, 1fr); }
  .vtable dt { font-size: 16px; padding: 20px 0; }
  .vtable dd { font-size: 15px; }
  .stable { font-size: 14px; }
}

/* v8 — M&A stages, page tree, flow colours */
.mstages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: start; }
.mstage { position: relative; }
.mstage + .mstage { margin-left: 28px; }
.mstage__head { position: relative; height: 72px; display: flex; flex-direction: column; justify-content: center; padding-left: 22px; background: var(--navy); color: var(--white); font-size: 17px; font-weight: 700; letter-spacing: .04em; line-height: 1.4; }
.mstage__head span { font-size: 12px; font-weight: 500; letter-spacing: .12em; opacity: .75; }
.mstage__head::after { content: ""; position: absolute; right: -20px; top: 0; border-style: solid; border-width: 36px 0 36px 20px; border-color: transparent transparent transparent var(--navy); z-index: 1; }
.mstage:last-child .mstage__head::after { display: none; }
.mstage:nth-child(2) .mstage__head { background: #13245F; }
.mstage:nth-child(2) .mstage__head::after { border-left-color: #13245F; }
.mstage:nth-child(3) .mstage__head { background: #2A3B78; }
.mstage__cards { display: grid; gap: 12px; margin-top: 16px; }
.mstage__card { border: 1px solid var(--line); background: var(--white); transition: border-color .3s; }
.mstage__card[open] { border-color: var(--navy); }
.mstage__card summary { list-style: none; cursor: pointer; display: grid; gap: 6px; padding: 20px 44px 20px 20px; position: relative; }
.mstage__card summary::-webkit-details-marker { display: none; }
.mstage__card summary::after { content: "+"; position: absolute; right: 18px; top: 18px; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .3s; }
.mstage__card[open] summary::after { transform: rotate(45deg); color: var(--navy); }
.mstage__no { font-size: 14px; font-weight: 700; color: var(--sky); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.mstage__name { font-size: 17px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.mstage__short { font-size: 15px; line-height: 1.7; color: var(--muted); }
.mstage__detail { padding: 0 20px 20px; font-size: 15px; line-height: 1.9; border-top: 1px solid var(--line); padding-top: 16px; margin-inline: 0; }

/* step circles: navy by default; blue only where it means 青 (case page) */
.flow__item .flow__no { background: var(--navy); }
.flow--case .flow__item:not(.flow__item--red) .flow__no { background: var(--blue); }
.flow--case .flow__item--red .flow__no { background: var(--red); }

/* side nav tree */
.side__sub--3 { margin: 2px 0 6px 14px; padding-left: 10px; border-left: 1px solid var(--line); }
.side__sub--3 a { font-size: 13px; }
.side__sub a.side__page { font-weight: 700; color: var(--ink); }
.side__sub a.is-page { color: var(--red); }
.sp-child a { padding-left: 20px !important; font-size: 15px !important; font-weight: 500 !important; }

@media (max-width: 1180px) { .mstages { grid-template-columns: minmax(0, 1fr); } .mstage + .mstage { margin: 28px 0 0; } .mstage__head::after { display: none; } }
@media (max-width: 860px) { .mstage__name { font-size: 16px; } }
.mstage__name, .mstage__short, .icard__text, .voice2__a, .rel__text, .case__text, .tile__name, .c-lead, .intro, .dhead__lead, .sbar__body p { word-break: auto-phrase; text-wrap: pretty; }
.case--child { margin-top: 0; }
.case--child .case__media { min-height: 300px; }
.case--child .case__title { font-size: 22px; }
.rb3__mid { bottom: 9%; font-size: 16px; }
.c-block > .case--child { margin-top: 32px; }
/* flow circles: navy everywhere except the case page, where blue means 青 */
.flow--ma .flow__item .flow__no, .flow--ma .flow__item:not(.flow__item--red) .flow__no { background: var(--navy); }
.flow--case .flow__item:not(.flow__item--red) .flow__no { background: var(--blue); }
.rb3__head { max-width: 860px; }

/* v9 — 赤×青: two halves meeting at the brand "O" + why both are needed */
.rb4 { padding-block: 150px 140px; background: var(--white); }
.rb4__head { text-align: center; max-width: 860px; margin: 0 auto; }
.rb4__title { font-size: 44px; line-height: 1.5; color: var(--navy); letter-spacing: .04em; }
.rb4__lead { margin-top: 28px; font-size: 17px; color: var(--muted); }
.rb4__pair { position: relative; margin-top: 72px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb4__half { position: relative; overflow: hidden; padding: 64px 150px 64px 64px; min-height: 460px; }
.rb4__half--red { background: var(--red-tint); }
.rb4__half--blue { background: var(--blue-tint); padding: 64px 64px 64px 150px; }
.rb4__big { position: absolute; bottom: -70px; font-size: 300px; line-height: 1; font-weight: 700; opacity: .07; pointer-events: none; }
.rb4__half--red .rb4__big { right: 40px; color: var(--red); }
.rb4__half--blue .rb4__big { left: 40px; color: var(--blue); }
.rb4__key { position: relative; font-size: 52px; line-height: 1; font-weight: 700; }
.rb4__half--red .rb4__key { color: var(--red); }
.rb4__half--blue .rb4__key { color: var(--blue); }
.rb4__name { position: relative; margin-top: 20px; font-size: 26px; line-height: 1.5; color: var(--navy); }
.rb4__x { position: relative; margin-top: 14px; font-size: 16px; line-height: 1.9; color: var(--ink); }
.rb4__items { position: relative; margin-top: 28px; border-top: 1px solid rgba(0,11,53,.14); }
.rb4__items li { padding-block: 12px; border-bottom: 1px solid rgba(0,11,53,.14); font-size: 16px; color: var(--navy); }
.rb4__o { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; transform: translate(-50%, -50%); border-radius: 50% !important; background: var(--white); display: grid; place-items: center; z-index: 2; box-shadow: 0 20px 50px -24px rgba(0,11,53,.35); }
.rb4__o::before { content: ""; position: absolute; inset: 8px; border-radius: 50% !important; border: 3px solid var(--blue); border-top-color: var(--red); border-right-color: var(--red); transform: rotate(-45deg); }
.rb4__o p { position: relative; font-size: 19px; line-height: 1.6; font-weight: 700; color: var(--navy); text-align: center; letter-spacing: .04em; }
.rb4__why { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rb4__case { padding: 36px 32px 40px; }
.rb4__case + .rb4__case { border-left: 1px solid var(--line); }
.rb4__case--both { background: var(--navy); color: var(--white); border-left: 0 !important; }
.rb4__case-h { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 700; color: var(--navy); }
.rb4__case--both .rb4__case-h { color: var(--white); }
.rb4__case-x { margin-top: 14px; font-size: 16px; line-height: 1.9; color: var(--ink); }
.rb4__case--both .rb4__case-x { color: rgba(255,255,255,.9); }
.dot { width: 12px; height: 12px; border-radius: 50% !important; flex: none; }
.dot--red { background: var(--red); }
.dot--blue { background: var(--blue); }
.rb4__case--both .dot--blue { box-shadow: 0 0 0 2px var(--navy); background: #6E93E8; }
.rb4__more { margin-top: 56px; text-align: center; }
@media (max-width: 1180px) {
  .rb4__half { padding: 48px 120px 48px 40px; }
  .rb4__half--blue { padding: 48px 40px 48px 120px; }
  .rb4__o { width: 168px; height: 168px; }
  .rb4__o p { font-size: 16px; }
}
@media (max-width: 860px) {
  .rb4 { padding-block: 88px; }
  .rb4__head { text-align: left; }
  .rb4__title { font-size: 28px; }
  .rb4__lead { font-size: 15px; }
  .rb4__pair { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .rb4__half, .rb4__half--blue { padding: 36px 24px; min-height: 0; }
  .rb4__half--red { padding-bottom: 96px; }
  .rb4__half--blue { padding-top: 96px; }
  .rb4__big { font-size: 180px; bottom: -40px; }
  .rb4__key { font-size: 40px; }
  .rb4__name { font-size: 21px; }
  .rb4__o { width: 140px; height: 140px; }
  .rb4__o p { font-size: 14px; }
  .rb4__why { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .rb4__case + .rb4__case { border-left: 0; border-top: 1px solid var(--line); }
  .rb4__case { padding: 28px 20px; }
  .rb4__case-h { font-size: 17px; }
  .rb4__case-x { font-size: 15px; }
}

/* v9.1 — 赤×青 refined: white panels on grey, colour only in top rules and letters, brand line at the seam */
.rb4 { background: var(--gray); }
.rb4__pair { gap: 0; background: var(--white); }
.rb4__half, .rb4__half--blue { background: var(--white); padding: 64px 96px 64px 64px; min-height: 0; }
.rb4__half--blue { padding: 64px 64px 64px 96px; }
.rb4__half--red { border-top: 4px solid var(--red); }
.rb4__half--blue { border-top: 4px solid var(--blue); }
.rb4__big { display: none; }
.rb4__key { font-size: 64px; }
.rb4__items { border-top-color: var(--line); }
.rb4__items li { border-bottom-color: var(--line); }
.rb4__o { top: 0; bottom: 0; width: auto; height: auto; transform: translateX(-50%); border-radius: 0 !important; background: none; box-shadow: none; display: flex; flex-direction: column; align-items: center; }
.rb4__o::before { content: ""; position: static; inset: auto; flex: 1; width: 2px; border: 0; border-radius: 0 !important; background: var(--red); transform: none; }
.rb4__o::after { content: ""; flex: 1; width: 2px; background: var(--blue); }
.rb4__o p { background: var(--navy); color: var(--white); font-size: 15px; line-height: 1.7; padding: 18px 16px; margin-block: 0; letter-spacing: .08em; }
.rb4__why { margin-top: 32px; background: var(--white); border: 0; }
.rb4__case + .rb4__case { border-left: 1px solid var(--line); }
.rb4__case-h .dot { display: none; }
.rb4__case-h { font-size: 18px; }
.rb4__case:nth-child(1) .rb4__case-h { color: var(--red); }
.rb4__case:nth-child(2) .rb4__case-h { color: var(--blue); }
@media (max-width: 860px) {
  .rb4__half, .rb4__half--blue { padding: 36px 24px; }
  .rb4__half--red { padding-bottom: 36px; }
  .rb4__half--blue { padding-top: 36px; }
  .rb4__key { font-size: 44px; }
  .rb4__o { position: static; transform: none; flex-direction: row; height: auto; padding: 0 24px; }
  .rb4__o::before { height: 2px; width: auto; }
  .rb4__o::after { height: 2px; width: auto; }
  .rb4__o p { padding: 12px 14px; font-size: 13px; }
  .rb4__pair { display: flex; flex-direction: column; }
  .rb4__half--red { order: 1; }
  .rb4__o { order: 2; }
  .rb4__half--blue { order: 3; }
  .rb4__case + .rb4__case { border-left: 0; border-top: 1px solid var(--line); }
}
/* header contact: OH navy rectangle with arrow (not Yamada's red icon cell) */
.header-cta { height: 52px; width: auto; display: inline-flex; align-items: center; gap: 18px; padding: 0 26px; margin-right: max(32px, env(safe-area-inset-right, 0px)); background: var(--navy); color: var(--white); font-size: 14px; letter-spacing: .08em; }
.header-cta:hover { background: var(--red); }
.header-cta .arr { width: 22px; }
@media (max-width: 860px) {
  .header-cta { height: 40px; padding: 0 14px; margin-right: 4px; font-size: 12px; gap: 0; }
  .header-cta .arr { display: none; }
}

/* =========== v10 — remove remaining Yamada signatures =========== */
.dhead__title--plain { padding-left: 0; }
.dhead__title--plain::before { display: none; }
.dhead__lead { border-left: 0; padding-left: 0; padding-top: 10px; }
.dhead { align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }

/* process: photo + title + text, no overlapping box */
.pcards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pcard__img { aspect-ratio: 3 / 2; overflow: hidden; max-width: 100%; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__title { margin-top: 24px; display: flex; align-items: baseline; gap: 14px; font-size: 22px; color: var(--navy); }
.pcard__title span { font-size: 15px; font-weight: 700; color: var(--sky); font-variant-numeric: tabular-nums; }
.pcard__text { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--muted); }

/* service: equal photo cards, text below */
.scards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.scard { display: flex; flex-direction: column; }
.scard__img { aspect-ratio: 4 / 3; overflow: hidden; max-width: 100%; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.scard:hover .scard__img img { transform: scale(1.04); }
.scard__name { margin-top: 24px; font-size: 21px; line-height: 1.5; color: var(--navy); transition: color .3s; }
.scard:hover .scard__name { color: var(--red); }
.scard__text { margin-top: 10px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.scard__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 700; color: var(--navy); }

/* recruit: navy text block + photo */
.jband { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--navy); color: var(--white); }
.jband__body { padding: 112px 64px 112px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); display: flex; flex-direction: column; justify-content: center; }
.jband__title { font-size: 38px; line-height: 1.5; letter-spacing: .04em; }
.jband__text { margin-top: 20px; font-size: 16px; color: rgba(255,255,255,.85); max-width: 440px; }
.jband .btn-line { margin-top: 40px; align-self: flex-start; }
.jband__media { position: relative; min-height: 480px; overflow: hidden; }
.jband__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* contact: one row */
.cband { background: var(--white); padding-block: 112px; }
.cband__inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 56px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
.cband__title { font-size: 36px; line-height: 1.5; color: var(--navy); }
.cband__text { margin-top: 12px; font-size: 16px; color: var(--muted); }
.cband__btn { flex: none; display: inline-flex; align-items: center; gap: 28px; height: 72px; padding: 0 40px; background: var(--red); color: var(--white); font-size: 16px; font-weight: 700; letter-spacing: .08em; transition: background .3s; }
.cband__btn:hover { background: var(--red-dark); }

/* footer: navy, single block */
.site-footer { background: var(--navy); color: rgba(255,255,255,.85); }
.site-footer .site-logo { color: var(--white); }
.site-footer__addr, .site-footer__lic { color: rgba(255,255,255,.7); }
.fcol__t { color: var(--white); border-bottom-color: rgba(255,255,255,.2); }
.fcol a { color: rgba(255,255,255,.8); }
.fcol a:hover { color: var(--white); }
.site-footer__strip { background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.55); text-align: left; padding: 24px max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }

/* sub page head: title + photo strip */
.ph2 { padding-top: 56px; }
.ph2__cat { font-size: 14px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.ph2__title { margin-top: 10px; font-size: 48px; line-height: 1.4; color: var(--navy); letter-spacing: .04em; }
.ph2__photo { margin-top: 48px; aspect-ratio: 1260 / 400; overflow: hidden; max-width: 100%; }
.ph2__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }

/* side nav: no grey fill, no dot */
.side__group { border-bottom: 1px solid var(--navy); }
.side__group::after { display: none; }
.side__list a.is-current { background: none; padding-left: 10px; color: var(--navy); font-weight: 700; }
.side__list a.is-current::before { display: none; }

/* headings and tables */
.c-h2 { border-top: 1px solid var(--navy); padding-top: 36px; }
.c-h2::before { display: none; }
.vtable dd { border-left: 0; margin: 0; padding: 28px 0 28px 24px; }
.vtable dt { padding: 28px 0; }
.rel__body .arr { color: var(--navy); }

@media (max-width: 1180px) { .pcards, .scards { gap: 28px; } }
@media (max-width: 860px) {
  .dhead { padding-bottom: 20px; }
  .pcards, .scards { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 40px; }
  .jband { grid-template-columns: minmax(0, 1fr); }
  .jband__body { padding: 64px 20px; }
  .jband__title { font-size: 26px; }
  .jband__media { min-height: 260px; }
  .cband { padding-block: 64px; }
  .cband__inner { flex-direction: column; align-items: stretch; padding-block: 40px; }
  .cband__title { font-size: 24px; }
  .cband__btn { justify-content: space-between; height: 60px; padding: 0 24px; }
  .ph2 { padding-top: 32px; }
  .ph2__title { font-size: 30px; }
  .ph2__photo { margin-top: 28px; aspect-ratio: 16 / 9; }
  .vtable dd { padding: 20px 0 20px 14px; }
  .vtable dt { padding: 20px 0; }
}
.jband__media img, .ph2__photo img, .pcard__img img, .scard__img img { scale: 1.08; }

/* v11 — final polish */
.flow__no { border-radius: 0 !important; width: 56px; height: 56px; font-size: 22px; letter-spacing: 0; }
.flow__item { grid-template-columns: 56px minmax(0, 1fr); gap: 28px; align-items: start; }
.flow__title { padding-top: 10px; }
.quote { background: none; padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stable td ul li:only-child { padding-left: 0; text-indent: 0; }
.stable td ul li:only-child::before { content: none; }
.mstage__head::after { content: none; }
.mstage__head, .mstage:nth-child(2) .mstage__head, .mstage:nth-child(3) .mstage__head { background: var(--navy); }
.mstage + .mstage { margin-left: 20px; }
.case__meta span { word-break: keep-all; }
@media (max-width: 860px) {
  .flow__item { grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
  .flow__no { width: 44px; height: 44px; font-size: 18px; }
  .flow__title { padding-top: 6px; }
  .stable thead tr { display: block; }
  .stable thead th { display: block; width: auto !important; }
  .stable thead th + th { display: none; }
  .stable tr, .stable td { display: block; width: auto; }
  .stable td:first-child { border-bottom: 0; padding-bottom: 4px; }
  .stable td + td { border-top: 0; padding-top: 4px; }
  .mstage + .mstage { margin: 28px 0 0; }
}

/* v11 — 赤×青: outlined circles on grey, only the overlap (the "O") is filled */
.rb5 { position: relative; width: 1100px; max-width: 100%; aspect-ratio: 1100 / 620; margin: 64px auto 0; }
.rb5__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rb5__fill { fill: var(--white); }
.rb5__lens { fill: var(--navy); }
.rb5__ring { fill: none; stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease); }
.rb5__ring--red { stroke: var(--red); }
.rb5__ring--blue { stroke: var(--blue); }
.rb5__lens, .rb5__mid { transition: opacity 1s 1.2s var(--ease); }
.rv-ready .rb5.rv { opacity: 1 !important; transform: none !important; }
.rv-ready .rb5.rv .rb5__ring { stroke-dashoffset: 100; }
.rv-ready .rb5.rv .rb5__lens, .rv-ready .rb5.rv .rb5__mid { opacity: 0; }
.rv-ready .rb5.rv.is-in .rb5__ring { stroke-dashoffset: 0; }
.rv-ready .rb5.rv.is-in .rb5__lens, .rv-ready .rb5.rv.is-in .rb5__mid { opacity: 1; }
/* crescent centres: left x≈250/1100, right x≈850/1100 */
.rb5__side { position: absolute; top: 50%; width: 24%; transform: translate(-50%, -50%); text-align: center; }
.rb5__side--red { left: 22.7%; }
.rb5__side--blue { left: 77.3%; }
.rb5__key { font-size: 60px; line-height: 1; font-weight: 700; }
.rb5__side--red .rb5__key { color: var(--red); }
.rb5__side--blue .rb5__key { color: var(--blue); }
.rb5__name { margin-top: 18px; font-size: 22px; line-height: 1.5; color: var(--navy); }
.rb5__items { margin: 20px auto 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink); }
.rb5__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--white); font-size: 21px; line-height: 1.7; font-weight: 700; letter-spacing: .08em; text-align: center; }
.rb5__sp { display: none; }
@media (max-width: 1180px) {
  .rb5__key { font-size: 44px; }
  .rb5__name { font-size: 17px; }
  .rb5__items { font-size: 13px; }
  .rb5__mid { font-size: 16px; }
}
@media (max-width: 860px) {
  .rb5 { margin-top: 40px; }
  .rb5__items, .rb5__name { display: none; }
  .rb5__key { font-size: 30px; }
  .rb5__mid { font-size: 12px; }
  .rb5__sp { display: grid; gap: 32px; margin-top: 40px; }
  .rb5__sp li { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: 14px; }
  .rb3__spkey { font-size: 16px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid currentColor; }
  .rb3__spcol--red .rb3__spkey { color: var(--red); }
  .rb3__spcol--blue .rb3__spkey { color: var(--blue); }
}
.person__name { display: flex; align-items: baseline; gap: 20px; font-size: 30px; }
.person__name span { font-size: 15px; letter-spacing: .08em; color: var(--muted); font-weight: 500; }
.quote { border-bottom: 0; }
/* comparison follows the circles: 赤 under left, 青 under right, 両方 centred below the overlap */
.rb4__why { max-width: 1100px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rb4__case { text-align: center; }
.rb4__case-h { justify-content: center; }
.rb4__case--both { grid-column: 1 / -1; border-top: 0; }
.rb4__case--both .rb4__case-x { max-width: 560px; margin-inline: auto; }
@media (max-width: 860px) { .rb4__why { grid-template-columns: minmax(0, 1fr); } .rb4__case { text-align: left; } .rb4__case-h { justify-content: flex-start; } }
/* footer brand: OH mark (H × O from the brand book) + logo + tagline */
.fbrand { display: flex; align-items: center; gap: 28px; }
.ohmark { width: 104px; height: 104px; flex: none; display: block; }
.fbrand__text { display: grid; gap: 12px; }
.fbrand .site-logo svg { height: 30px; }
.fbrand__tag { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: rgba(255,255,255,.85); }
.site-footer__addr { margin-top: 32px; }
@media (max-width: 860px) { .ohmark { width: 76px; height: 76px; } .fbrand { gap: 18px; } .fbrand .site-logo svg { height: 24px; } .fbrand__tag { font-size: 12px; } }
/* footer: oversized wordmark, "Opportunity" white / "House" red */
.fbrand__tag { font-size: 22px; line-height: 1.6; font-weight: 700; letter-spacing: .06em; color: var(--white); }
.site-footer__addr { margin-top: 28px; }
.flogo { padding-block: 24px 40px; overflow: hidden; }
.flogo__link { display: block; line-height: 0; }
.flogo__svg { display: block; width: 100%; height: auto; transform: translateY(0); transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.rv-ready .flogo.rv { opacity: 1 !important; transform: none !important; }
.rv-ready .flogo.rv .flogo__svg { transform: translateY(40%); opacity: 0; }
.rv-ready .flogo.rv.is-in .flogo__svg { transform: none; opacity: 1; }
.site-footer__inner { padding-bottom: 48px; }
@media (max-width: 860px) { .fbrand__tag { font-size: 18px; } .flogo { padding-block: 8px 24px; } }
.flogo__svg { opacity: .1; }
.rv-ready .flogo.rv.is-in .flogo__svg { opacity: .1; }
.rb5__mid { font-size: 26px; line-height: 1.6; letter-spacing: .04em; }
@media (max-width: 1180px) { .rb5__mid { font-size: 19px; } }
@media (max-width: 860px) { .rb5__mid { font-size: 11px; letter-spacing: 0; } }
/* access: building photo + info, map tinted to navy */
.access { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: stretch; }
.access__photo { aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; }
.access__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; scale: 1.1; }
.access__info { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.access__name { font-size: 26px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.access__addr { font-size: 16px; line-height: 1.9; }
.access__rail { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.access__rail > div { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 16px; padding-block: 16px; font-size: 15px; }
.access__rail dt { font-weight: 700; color: var(--navy); }
.access__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 700; color: var(--navy); padding-bottom: 6px; border-bottom: 1px solid var(--navy); }
.map { position: relative; margin-top: 40px; aspect-ratio: 16 / 7; max-width: 100%; background: #DADDE6; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.08) brightness(1.02); }
.map::after { content: ""; position: absolute; inset: 0; background: var(--navy); mix-blend-mode: color; pointer-events: none; }
@media (max-width: 860px) {
  .access { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .access__photo { aspect-ratio: 16 / 10; }
  .access__name { font-size: 21px; }
  .map { aspect-ratio: 4 / 3; margin-top: 28px; }
}
/* access: low-key (shared office) */
.access { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; align-items: center; }
.access__photo { aspect-ratio: 4 / 3; }
.access__info { gap: 10px; }
.access__name { font-size: 16px; font-weight: 700; }
.access__addr { font-size: 15px; line-height: 1.8; }
.access__rail { border: 0; }
.access__rail > div { padding-block: 0; font-size: 15px; grid-template-columns: 5.5em minmax(0, 1fr); }
.access__link { font-size: 14px; margin-top: 6px; }
.map { margin-top: 32px; aspect-ratio: 16 / 6; }
.map img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .access { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; }
  .access__photo { aspect-ratio: 1; }
  .access__name, .access__addr, .access__rail > div { font-size: 14px; }
  .access__rail > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .map { aspect-ratio: 4 / 3; }
}
/* responsive final pass */
.fcol a, .vtable dt, .side__list a, .rel__title, .scard__name, .pcard__title { word-break: auto-phrase; }
@media (max-width: 860px) {
  .side { display: none; }
  .sub { padding-top: 36px; gap: 0; }
  .vtable > div { grid-template-columns: minmax(0, 1fr); }
  .vtable dt { padding: 18px 0 2px; font-size: 15px; }
  .vtable dd { padding: 0 0 18px; }
  .fcol a { line-height: 1.6; }
  .voice2__q br, .voice__q br { display: inline; }
}

/* v13: documentary photo pair for the red service (real workshop photos) */
.docpair { margin: 32px 0 28px; display: grid; grid-template-columns: minmax(0,16fr) minmax(0,8fr); gap: 8px; }
.docpair__main, .docpair__sub { aspect-ratio: auto; height: 100%; overflow: hidden; background: var(--line, #e5e7ee); }
.docpair__main { aspect-ratio: 16/9; }
.docpair img { width: 100%; height: 100%; object-fit: cover; display: block; }
.docpair figcaption { grid-column: 1 / -1; margin-top: 6px; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .docpair { grid-template-columns: minmax(0,1fr); } .docpair__sub { display: none; } }

/* v14: case page – list of past support (plain ruled grid, no chips) */
.rlist__h { margin-top: 40px; font-size: 16px; font-weight: 700; color: var(--navy); }
.rlist { margin-top: 12px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); column-gap: 24px; list-style: none; padding: 0; }
.rlist li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--navy); word-break: auto-phrase; }
@media (max-width: 1100px) { .rlist { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 860px) { .rlist { grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 16px; } .rlist li { font-size: 15px; padding: 14px 0; } }
/* v17 */ #case .rlist{margin-top:0} .case-more{margin-top:40px}
/* v22: 見出しと中身の間の罫線をなくし、余白だけで区切る */
.dhead { padding-bottom: 0; border-bottom: 0; }
.pcards, .scards { margin-top: 64px; }
#case .rlist { margin-top: 40px; }
@media (max-width: 860px) {
  .dhead { padding-bottom: 0; }
  .pcards, .scards { margin-top: 40px; }
  #case .rlist { margin-top: 28px; }
}
/* v22: 許可番号は会社概要に正式記載があるので、フッターでは注記の大きさに */
.site-footer__lic { margin-top: 16px; font-size: 12px; line-height: 1.9; color: rgba(255,255,255,.5); }
/* v22: アクセスの建物写真を外した（エディトリアル専用で会社サイトに使えないため）。文字だけの1列にする */
.access:not(:has(.access__photo)) { grid-template-columns: minmax(0, 1fr); }
/* v23: 迷惑送信よけの見えない欄・Turnstile の余白 */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 8px; }

/* v25: on phones the headline sits below the faces; the sky above the people is cropped so the top doesn't feel empty */
@media (max-width: 860px) {
  .hero--oh { height: 580px; }
  .hero--oh .hero__media img { position: absolute; left: 0; bottom: 0; height: calc(100% + 100px); }
}
