/* ========================================================================
 * ARX Corporate Site — common stylesheet
 * Editorial serif × mono accent. Responsive (desktop ≥ 960, mobile < 960).
 * ====================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure { margin: 0; }

/* ---------- Design tokens ---------- */
:root {
  /* さわやか配色: 白ベース × 深いネイビー × ハーバーブルー（2026-09-18） */
  --bg: #f9fbfc;
  --bg-2: #eef3f7;
  --ink: #0f1a2b;
  --ink-2: #33415a;
  --muted: #6b7a90;
  --line: #0f1a2b;
  --line-soft: #d6dee8;
  --accent: #1f5eff;     /* エレクトリックブルー */
  --accent-2: #7fb0ff;   /* ライトブルー（ダーク背景用） */
  --dark: #0b0f17;       /* ほぼ黒（青みあり） */
  --on-dark: #f5f9fc;
  --hover: #edf3f8;

  /* v8: 太いゴシック＋グロテスク（COOL系） */
  --serif: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;        /* 見出し用（変数名は互換のため据え置き） */
  --serif-latin: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;  /* 欧文ディスプレイ */
  --display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --shell: 1240px;
  --gutter: 64px;
  --section-y: 96px;
}

@media (max-width: 960px) {
  :root {
    --gutter: 22px;
    --section-y: 56px;
  }
}

/* ---------- Base typography ---------- */
html { scroll-behavior: smooth; font-synthesis: none; }
html, body { overflow-x: clip; } /* 全幅ブリード（100vw）のスクロールバー分のはみ出しを切る。clip なので sticky は効く */ /* 明朝の偽イタリック・偽ボールドを禁止 */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Editorial primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
.italic, .ital { font-family: var(--serif-latin); font-style: normal; font-weight: 800; letter-spacing: -0.02em; }
.accent-text { color: var(--accent); }

.section {
  padding: var(--section-y) 0;
  border-bottom: 1.5px solid var(--line);
}
.section:first-of-type { border-top: 1.5px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .num {
  font-family: var(--mono);
  font-size: 12px; letter-spacing: 0.22em;
  color: var(--accent);
  align-self: start; padding-top: .35em;
}
.section-head .num::before { content: "("; } .section-head .num::after { content: ")"; }
.section-head h2 { display: flex; flex-direction: column; gap: 6px; }
.section-head h2 .en {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(56px, 7.2vw, 108px); line-height: .92; letter-spacing: -0.045em; text-transform: uppercase;
  color: var(--ink);
}
.section-head h2 .jp {
  font-family: var(--serif); font-weight: 700; font-size: 15px; letter-spacing: .08em; color: var(--ink-2);
}
.section-head .meta {
  font-family: var(--mono);
  font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); text-align: right; padding-bottom: 14px;
}
@media (max-width: 960px) {
  .section-head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 28px; align-items: start; }
  .section-head .num { padding-bottom: 0; }
  .section-head h2 .en { font-size: clamp(44px, 12vw, 64px); }
  .section-head .meta { text-align: left; padding-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--on-dark); }
.btn--sm { padding: 12px 22px; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--bg);
  border-bottom: 1.5px solid var(--line);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(249, 251, 252, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.site-header.is-scrolled .site-header__inner { padding: 12px 0; }
/* ヒーローの上では透明・白文字 */
.site-header.on-dark {
  background: transparent; border-bottom-color: rgba(255,255,255,.14);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
/* ヒーロー上でスクロールしたら、文字が下を通っても読めるよう黒地に */
.site-header.on-dark.is-scrolled {
  background: rgba(11, 15, 23, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.site-header.on-dark .brand__name, .site-header.on-dark .nav-center a, .site-header.on-dark .nav-right { color: #fff; }
.site-header.on-dark .brand__sub { color: rgba(255,255,255,.65); }
.site-header.on-dark .brand__logo { filter: invert(1) brightness(2); }
.site-header.on-dark .nav-center a::after { background: #fff; }
.site-header.on-dark .btn--dark { background: #fff; color: var(--ink); border-color: #fff; }
.site-header.on-dark .nav-toggle { border-color: rgba(255,255,255,.6); }
.site-header.on-dark .nav-toggle span, .site-header.on-dark .nav-toggle span::before, .site-header.on-dark .nav-toggle span::after { background: #fff; }
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 22px 0;
  transition: padding .35s var(--ease);
}
.brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: inherit;
}
.brand__logo { width: 36px; height: 36px; object-fit: contain; }
.brand__name {
  font-family: var(--serif); font-weight: 600; font-size: 20px; letter-spacing: 0.01em;
}
.brand__sub {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.nav-center {
  display: flex; gap: 32px; justify-content: center;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
}
.nav-center a { text-decoration: none; color: inherit; padding: 6px 0; position: relative; }
.nav-center a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-center a:hover::after,
.nav-center a.is-active::after { transform: scaleX(1); }
.nav-right {
  display: flex; align-items: center; gap: 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}

/* mobile nav */
.nav-toggle { display: none; }
.mobile-menu { display: none; }
@media (max-width: 960px) {
  .site-header__inner { grid-template-columns: auto auto; padding: 14px 0; justify-content: space-between; }
  .brand__sub { display: none; }
  .nav-center, .nav-right { display: none; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: none; border: 1px solid var(--ink);
    cursor: pointer; padding: 0;
  }
  .nav-toggle span {
    display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative;
  }
  .nav-toggle span::before,
  .nav-toggle span::after {
    content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .mobile-menu {
    display: none;
    padding: 20px var(--gutter) 28px;
    border-top: 1px solid var(--line-soft);
    background: var(--bg);
  }
  .mobile-menu.open { display: block; }
  .mobile-menu a {
    display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft);
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-menu .btn { margin-top: 18px; width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  padding: 80px 0 40px;
  border-top: 1.5px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer h4 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.site-footer ul li { padding: 6px 0; }
.site-footer a { text-decoration: none; color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 0.5px solid var(--line-soft);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .site-footer__grid > :first-child { grid-column: 1 / -1; text-align: center; }
  .site-footer__grid > :first-child .brand { justify-content: center; }
  .site-footer__grid > :first-child > div[style] { margin-left: auto; margin-right: auto; }
  .site-footer__bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}

/* ---------- CTA band (contact) ---------- */
.cta-band {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 40px;
  align-items: center;
  padding: 80px max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  margin-left: calc(50% - 100vw / 2); margin-right: calc(50% - 100vw / 2);
  background: var(--dark);
  color: var(--on-dark);
  position: relative; overflow: hidden; isolation: isolate;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band .num {
  font-family: var(--serif-latin); font-style: italic; font-weight: 500; font-size: 84px; color: var(--accent-2); line-height: 0.9;
}
.cta-band .num--arrow { display: flex; align-items: center; }
.cta-band .accent-text { color: var(--accent-2); }
.cta-band .btn--dark { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.cta-band .btn--dark:hover { background: var(--accent-2); border-color: var(--accent-2); }
.cta-band h2 {
  font-family: var(--serif); font-size: 36px; font-weight: 500; letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.cta-band p { max-width: 620px; color: #c6d3e2; font-size: 14px; line-height: 1.95; }
@media (max-width: 960px) {
  .cta-band { grid-template-columns: 1fr; padding: 48px var(--gutter); gap: 18px; text-align: left; }
  .cta-band .num { font-size: 52px; }
  .cta-band h2 { font-size: 24px; }
  .cta-band .btn { width: 100%; }
}

/* ---------- Sub-page hero (generic) ---------- */
.page-hero {
  padding: 72px 0 64px;
  border-bottom: 1.5px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero .shell { position: relative; z-index: 1; }
.page-hero__word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(72px, 12.5vw, 190px); line-height: .9; letter-spacing: -0.05em;
  color: var(--ink); margin: 0 0 28px -0.04em;
  font-variant-numeric: tabular-nums;
}
.page-hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.page-hero__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--accent); }
.page-hero h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(28px, 3.2vw, 44px); line-height: 1.4; letter-spacing: -0.01em; max-width: 900px;
}
.page-hero h1 .italic { color: var(--accent); font-family: var(--serif); font-weight: 800; }
.page-hero__lead { font-size: 15px; line-height: 2; color: var(--ink-2); max-width: 640px; margin-top: 24px; }
@media (max-width: 960px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero__word { font-size: clamp(56px, 17vw, 96px); margin-bottom: 18px; }
  .page-hero h1 { font-size: 24px; }
  .page-hero__lead { font-size: 13.5px; margin-top: 16px; }
}

/* ---------- Utility ---------- */
.hr-soft { border: none; border-top: 0.5px solid var(--line-soft); margin: 0; }
.no-wrap { white-space: nowrap; }
.mt-0 { margin-top: 0; }
.mt-s { margin-top: 18px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }

.cursor-dots {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--muted);
  text-transform: uppercase;
}

/* ========================================================================
 * Refinement layer — arrows, motion, hover image, depth (2026-09)
 * ====================================================================== */

/* ---------- SVG arrows ---------- */
.arr {
  display: inline-block; vertical-align: middle; overflow: visible;
  fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.arr line { transform-origin: 100% 50%; transition: transform .35s var(--ease); }
.arr--ne line { transform-origin: 100% 0; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover .arr line { transform: scaleX(1.35); }
.biz-row__cta { display: inline-flex; align-items: center; gap: 8px; }
.biz-row:hover .biz-row__cta .arr line,
.biz-compact__row:hover .arr line { transform: scaleX(1.3); }
.top-hero__foot span { display: inline-flex; align-items: center; gap: 8px; }
.top-hero__foot .arr--down { animation: arrow-bob 2.2s var(--ease) infinite; }
@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ---------- Scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.19, 1, .22, 1), transform 1.1s cubic-bezier(.19, 1, .22, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
  will-change: opacity, transform;
}
/* 見出しはマスクから立ち上がる */
.js .section-head.reveal h2,
.js .section-head.reveal .num {
  clip-path: inset(0 0 100% 0);
  transform: translateY(40%);
  transition: clip-path 1.1s cubic-bezier(.19, 1, .22, 1) .1s, transform 1.1s cubic-bezier(.19, 1, .22, 1) .1s;
}
.js .section-head.reveal.is-inview h2,
.js .section-head.reveal.is-inview .num { clip-path: inset(0 0 -20% 0); transform: none; }
/* 見出し下の罫線が左から伸びる */
.section-head { position: relative; }
.section-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -28px; height: 1px; background: var(--line);
  transform: scaleX(0); transform-origin: left; transition: transform 1.3s cubic-bezier(.19, 1, .22, 1) .25s;
}
.js .section-head.is-inview::after { transform: scaleX(1); }
html:not(.js) .section-head::after { transform: none; }
.js .reveal.is-inview { opacity: 1; transform: none; }

/* ---------- Hero image slow zoom ---------- */
@keyframes kenburns {
  from { transform: scale(1.1); }
  to   { transform: scale(1); }
}
.service-hero__img { animation: kenburns 16s var(--ease) both; transform-origin: 50% 40%; }

/* ---------- Preview panel (top business list) ----------
 * 右側に専用の枠を確保し、行にホバーすると写真がその行の高さへ滑らかに移動する。
 * 文字と重ならない。スマホ・タッチ端末では非表示。 */
.biz-compact.has-preview { position: relative; padding-right: 320px; }
.biz-compact.has-preview .biz-compact__row { grid-template-columns: 60px 1.15fr 1fr 40px; }
.biz-compact.has-preview .biz-compact__desc { white-space: normal; }
.biz-compact.has-preview .biz-compact__en { white-space: nowrap; }
.biz-preview {
  position: absolute; right: 0; top: 0; width: 280px; aspect-ratio: 5 / 4; overflow: hidden;
  background: var(--dark);
  transform: translateY(var(--y, 0px));
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.biz-preview img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.25) contrast(1.05);
  opacity: 0; transform: scale(1.06);
  transition: opacity .55s var(--ease), transform 1.2s var(--ease);
}
.biz-preview img.is-on { opacity: 1; transform: scale(1); }
.biz-preview__label {
  position: absolute; left: 16px; bottom: 14px; z-index: 1;
  font-family: var(--serif-latin); font-style: italic; font-weight: 500; font-size: 22px;
  color: var(--on-dark); letter-spacing: .04em; text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
@media (hover: none), (max-width: 960px) {
  .biz-compact.has-preview { padding-right: 0; }
  .biz-compact.has-preview .biz-compact__desc { white-space: normal; }
  .biz-preview { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .service-hero__img, .top-hero__foot .arr--down, .gp { animation: none; }
  .intro-curtain { display: none; }
  .js .top-hero [data-in], .js .top-hero h1 { opacity: 1; transform: none; transition: none; }
  .js .top-hero__photo, .js .top-hero__frame { opacity: 1; transform: none; transition: none; }
  .js .section-head.reveal h2, .js .section-head.reveal .num { clip-path: none; transform: none; transition: none; }
  .section-head::after { transform: none; }
  .biz-preview { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Reveal variants ---------- */
/* 監視対象そのものを clip すると IntersectionObserver が発火しないため、子要素を clip する */
.js .reveal.reveal--wipe { opacity: 1; transform: none; }
.js .reveal.reveal--wipe > * {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.3s cubic-bezier(.19, 1, .22, 1);
}
.js .reveal.reveal--wipe.is-inview > * { clip-path: inset(0 0 0 0); }
.js .reveal.reveal--wipe > .spread__num { clip-path: none; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-bottom: 1.5px solid var(--line);
  padding: 14px 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { padding-right: 3em; white-space: nowrap; }
.marquee__track em { font-family: var(--serif-latin); font-style: italic; font-weight: 500; font-size: 15px; color: var(--accent); letter-spacing: .06em; text-transform: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Scroll-spy sticky nav ---------- */
.spy-nav {
  position: sticky; top: 70px; z-index: 9;
  background: rgba(249, 251, 252, .84);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.spy-nav .shell { display: flex; gap: 36px; overflow-x: auto; scrollbar-width: none; }
.spy-nav .shell::-webkit-scrollbar { display: none; }
.spy-nav a {
  position: relative; flex-shrink: 0;
  padding: 16px 0; text-decoration: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  transition: color .3s;
}
.spy-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.19, 1, .22, 1);
}
.spy-nav a:hover { color: var(--ink); }
.spy-nav a.is-active { color: var(--accent); }
.spy-nav a.is-active::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .spy-nav { top: 64px; }
  .spy-nav .shell { gap: 24px; }
  .spy-nav a { padding: 13px 0; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .js .reveal.reveal--wipe > * { clip-path: none; transition: none; }
}

/* ======================================================================
 * Background photos (2026-09-18): ところどころに写真を敷く
 * ==================================================================== */
.bg-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg-photo img {
  width: 100%; height: 124%; margin-top: -12%; object-fit: cover; display: block; will-change: transform;
}
.bg-photo::after { content: ""; position: absolute; inset: 0; }

/* 下層ページのヒーロー: 右半分に淡く */
.page-hero .bg-photo { left: auto; width: 60%; }
.page-hero .bg-photo img {
  opacity: .42; filter: saturate(1.02);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 60%);
}
.page-hero .bg-photo::after { /* 文字側（左）と下を白く守る */
  background:
    linear-gradient(90deg, rgba(249,251,252,.85) 0%, rgba(249,251,252,.45) 40%, rgba(249,251,252,0) 75%),
    linear-gradient(180deg, rgba(249,251,252,.15) 0%, rgba(249,251,252,.4) 60%, rgba(249,251,252,.96) 100%);
}

/* ネイビー帯（マニフェスト / お問い合わせ）: 暗く沈めて質感だけ残す */
.manifest .bg-photo, .cta-band .bg-photo { z-index: 0; }
.manifest > *:not(.bg-photo), .cta-band > *:not(.bg-photo) { position: relative; z-index: 1; }
.manifest .bg-photo img { opacity: .34; filter: saturate(.85); }
.manifest .bg-photo::after { background: linear-gradient(100deg, rgba(15,31,56,.92) 0%, rgba(15,31,56,.55) 60%, rgba(15,31,56,.75) 100%); }
.cta-band .bg-photo img { opacity: .42; }
.cta-band .bg-photo::after { background: linear-gradient(90deg, rgba(15,31,56,.9) 0%, rgba(15,31,56,.6) 100%); }

/* 白いセクションの背景: 角に淡く溶かす */
.section--bg { position: relative; overflow: hidden; }
.section--bg > .shell { position: relative; z-index: 1; }
.section--bg .bg-photo img {
  opacity: .18;
  -webkit-mask-image: radial-gradient(70% 90% at 88% 20%, #000 0%, transparent 70%);
          mask-image: radial-gradient(70% 90% at 88% 20%, #000 0%, transparent 70%);
}

/* 全幅の写真帯（インタールード） */
.interlude {
  position: relative; overflow: hidden; color: #fff;
  height: 64vh; min-height: 440px; max-height: 720px;
  display: flex; align-items: flex-end;
}
.interlude .bg-photo::after { background: linear-gradient(180deg, rgba(15,31,56,.05) 0%, rgba(15,31,56,.25) 55%, rgba(15,31,56,.7) 100%); }
.interlude__inner { position: relative; z-index: 1; width: 100%; padding-bottom: 60px; }
.interlude__en {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent-2);
}
.interlude__en::before { content: ""; width: 40px; height: 1px; background: var(--accent-2); }
.interlude__txt {
  font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.3; letter-spacing: -0.015em;
  text-shadow: 0 2px 24px rgba(0,0,0,.35); max-width: 16em;
}
.interlude__txt em { font-family: var(--serif-latin); font-style: italic; font-weight: 500; color: var(--accent-2); }
@media (max-width: 960px) {
  .page-hero .bg-photo { width: 100%; }
  .page-hero .bg-photo img { opacity: .3; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 60%); mask-image: linear-gradient(90deg, transparent 0%, #000 60%); }
  .interlude { height: 52vh; min-height: 320px; }
  .interlude__inner { padding-bottom: 32px; }
}

/* ======================================================================
 * Unified photo grading (2026-09-18): 写真のトーンを全ページで揃える
 *   彩度を少し落とし、ネイビーを薄く重ねて「素材感」を消す
 * ==================================================================== */
.issue-fig img, .reasons__fig img, .spread__media img, .biz-preview img, .biz-row__img, .service-hero__img,
.top-hero__photo img, .interlude .bg-photo img {
  filter: saturate(.82) contrast(1.04) brightness(1.02);
}
.issue-fig::before, .reasons__fig::before, .spread__media a::after, .biz-preview::before, .service-hero__img-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(15,31,56,.14), rgba(15,31,56,0) 45%, rgba(29,111,184,.08) 100%);
  mix-blend-mode: multiply;
}
.spread__media a { position: relative; }

/* capture helper (?static=1) */
.is-static .top-hero { min-height: 0; height: 820px; }

/* ======================================================================
 * v8 type system: 太いゴシック見出し
 * ==================================================================== */
.brand__name { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.spread__title, .issue-card__q, .reasons__list h3, .cta-band h2, .price-col__name, .price-summary__item .name,
.biz-compact__title, .biz-row__title, .faq-item summary, .process-step h4, .pricing-group__title, .contact-intro h2,
.service-hero h1, .scope-row__title, .interlude__txt, .hero-index a, .price-policy h3, .top-hero__art-tag .jp {
  font-weight: 800; letter-spacing: -0.02em;
}
.manifest__quote { font-weight: 800; letter-spacing: -0.02em; }
.manifest__accent { font-family: var(--display); font-weight: 900; }
.reasons__num, .biz-compact__num, .biz-row__num, .scope-row__num, .process-step__num, .pricing-group__roman,
.faq-item__q, .price-policy__num, .spread__num, .hero-index a span, .issue-card__arc, .biz-preview__label,
.interlude__txt em, .marquee__track em, .cta-band .num, .top-hero__art-label {
  font-family: var(--display); font-style: normal; font-weight: 800; letter-spacing: -0.03em;
}
.pricing-group::before, .top-hero::after, .manifest::before { font-family: var(--display); font-style: normal; font-weight: 900; }
.price-col__val, .meta-cell .val, .price-summary__item .from { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.marquee__track em { font-size: 1em; text-transform: none; }

/* big marquee under the hero */
.marquee--big {
  padding: 22px 0; border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -0.04em; text-transform: uppercase;
  color: var(--ink);
}
.marquee--big .marquee__track { animation-duration: 36s; }
.marquee--big .marquee__track span { padding-right: .6em; }
.marquee--big em { color: var(--accent); font-weight: 900; font-size: .9em; }
