@charset "UTF-8";
/* =============================================================
   TEGOU — 動きだした黄色い雑誌
   デザイントークン・基礎・コンポーネント（docs/02_デザイン設計.md 準拠）
   ============================================================= */

/* ---------- tokens ---------- */
:root {
  --yellow: #FFD800;
  --yellow-pale: #FFF3B8;
  --ink: #1A1A1A;
  --paper: #F7F2EA;
  --white: #FFFFFF;
  --line: rgba(26, 26, 26, 0.12);
  --line-strong: rgba(26, 26, 26, 0.25);

  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Oswald", sans-serif;

  --fs-display: clamp(48px, 9vw, 128px);
  --fs-h1: clamp(36px, 5.5vw, 72px);
  --fs-h2: clamp(28px, 4vw, 48px);
  --fs-h3: clamp(20px, 2.5vw, 28px);
  --fs-body: 16px;
  --fs-small: 13px;

  --ls-display: 0.06em;
  --ls-h: 0.1em;
  --ls-h2: 0.12em;
  --ls-en: 0.2em;
  --ls-body: 0.05em;

  --sec-pad: clamp(120px, 16vw, 240px);
  --sec-pad-s: clamp(72px, 10vw, 140px);
  --gutter: clamp(20px, 5vw, 80px);
  --maxw: 1280px;
  --maxw-text: 720px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.8s;
  --radius: 20px;
  --radius-pill: 999px;
}

/* ---------- base（フルードタイポグラフィ: 2026-08-18 修正2） ---------- */
html { font-size: clamp(15px, 1.1111vw, 19px); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 2;
  letter-spacing: var(--ls-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
main { display: block; }

/* ---------- typography ---------- */
.en { font-family: var(--font-en); font-weight: 500; letter-spacing: var(--ls-en); text-transform: uppercase; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; }
.t-display { font-size: var(--fs-display); letter-spacing: var(--ls-display); line-height: 1.15; font-weight: 700; }
.t-h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-h); line-height: 1.3; }
.t-h2 { font-size: var(--fs-h2); letter-spacing: var(--ls-h2); line-height: 1.4; }
.t-h3 { font-size: var(--fs-h3); letter-spacing: var(--ls-h); line-height: 1.5; }
.t-small { font-size: var(--fs-small); line-height: 1.8; }
.t-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  text-stroke: 2px var(--ink);
}
.t-outline--white { -webkit-text-stroke-color: var(--white); }
.t-marker { background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 94%, transparent 94%); }
.t-dot-yellow { color: var(--yellow); }

/* セクション見出しの共通型: 英字ラベル + 巨大見出し */
.sec-head { margin-bottom: clamp(40px, 6vw, 72px); position: relative; }
.sec-head .en-label {
  font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: var(--ls-en);
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.en-label::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.sec-num {
  position: absolute; top: -0.45em; right: 0; z-index: -1;
  font-family: var(--font-en); font-weight: 600; line-height: 1;
  font-size: clamp(7.5rem, 22vw, 18.75rem);
  color: transparent; -webkit-text-stroke: 1.5px var(--line);
  pointer-events: none; user-select: none;
}
.on-dark .sec-num { -webkit-text-stroke-color: rgba(255, 255, 255, 0.14); }
.on-yellow .sec-num { -webkit-text-stroke-color: rgba(26, 26, 26, 0.16); }

/* 縦書きの柱 */
.pillar {
  writing-mode: vertical-rl; font-family: var(--font-en); font-size: 0.75rem;
  letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.78; /* 0.55 では紙色の上で明るさの差が足りない（4.5:1 未満）。2026-09-21 サイト診断 */
}

/* ---------- layout ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--text { max-width: var(--maxw-text); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sec-pad); position: relative; }
.section--s { padding-block: var(--sec-pad-s); }
.bg-paper { background: var(--paper); }
.bg-yellow { background: var(--yellow); }
.bg-ink { background: var(--ink); color: var(--white); }
.on-dark { color: var(--white); }
.grid { display: grid; gap: clamp(24px, 3.5vw, 48px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1079px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* ---------- 抽象図形（SVG共通・装飾） ---------- */
.shape { position: absolute; pointer-events: none; z-index: 0; }
.shape--q { opacity: 0.9; }
.shape--dash circle { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 6 8; }
.section > .container { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s;
  padding-block: 18px;
}
.site-header.is-scrolled { background: rgba(255, 216, 0, 0.9); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(26, 26, 26, 0.15); padding-block: 6px; }
.site-header__logo img { transition: width 0.4s var(--ease-out); }
.site-header.is-scrolled .site-header__logo img { width: clamp(77px, 7.2vw, 103px); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; margin-inline: 0; padding-inline: clamp(16px, 2vw, 32px); }
.site-header__logo img { width: clamp(115px, 10.8vw, 154px); height: auto; } /* 修正7: 120% */
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 44px); }
.site-nav a:not(.btn) { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; position: relative; padding-block: 6px; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

@media (max-width: 1079px) {
  .site-nav {
    position: fixed; inset: 0; background: var(--ink); color: var(--white);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .site-nav a:not(.btn) { font-size: 1.25rem; }
  .site-nav a:not(.btn)::after { background: var(--yellow); }
  body.nav-open .site-nav { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .menu-toggle {
    display: grid; place-items: center; gap: 0; width: 48px; height: 48px;
    position: relative; z-index: 110; border-radius: 50%; background: var(--ink);
  }
  .menu-toggle span { position: absolute; width: 20px; height: 2px; background: var(--white); transition: transform 0.35s var(--ease-out); }
  .menu-toggle span:nth-child(1) { transform: translateY(-4px); }
  .menu-toggle span:nth-child(2) { transform: translateY(4px); }
  body.nav-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { transform: rotate(-45deg); }
  /* 2026-10-12: メニューのボタン（JS なしのリンクも）のフォーカス。サイト共通の黄色の枠は、紙の地・黄色のヘッダーでは見えない
     （Codex 指摘・WCAG 2.4.7）→ 黄色の間隔を挟んだ墨の外周。メニューを開いた墨の地では色を入れ替える */
  .menu-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 3px var(--yellow); }
  body.nav-open .menu-toggle:focus-visible { outline-color: var(--yellow); box-shadow: 0 0 0 3px var(--ink); }
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 34px; border-radius: var(--radius-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; line-height: 1.4;
  overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  background: var(--yellow);
  clip-path: polygon(0 100%, 18% 100%, 0 130%, -18% 130%);
  transition: clip-path 0.5s var(--ease-out);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { clip-path: polygon(-20% -30%, 130% -30%, 130% 130%, -20% 130%); }
.btn .arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .arrow { transform: rotate(-45deg); }
.btn--yellow { --btn-bg: var(--yellow); --btn-fg: var(--ink); }
.btn--yellow::before { background: var(--ink); }
.btn--yellow:hover { color: var(--white); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.on-dark .btn--ghost { --btn-fg: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
/* 修正8: 黄色背景（MV・on-yellow）の上では黄で塗ると消えるので、黒ボタン→白塗り／ゴースト→黒塗り */
.mv .btn::before, .on-yellow .btn::before { background: var(--white); }
.mv .btn:hover, .on-yellow .btn:hover { color: var(--ink); }
.mv .btn--ghost::before, .on-yellow .btn--ghost::before { background: var(--ink); }
.mv .btn--ghost:hover, .on-yellow .btn--ghost:hover { color: var(--white); }
.btn--l { padding: 20px 44px; font-size: 1rem; }

.textlink { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.08em; position: relative; padding-bottom: 4px; }
.textlink::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.textlink:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- reveal（出現アニメ・JSが .is-inview を付与） ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-inview { opacity: 1; transform: none; }
[data-reveal="mask"] { transform: none; overflow: hidden; }
[data-reveal="mask"] > * { display: block; transform: translateY(110%); transition: transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal="mask"].is-inview > * { transform: none; }
/* メインビジュアルだけは、JS を待たずに CSS だけで出す（2026-09-21 サイト診断）。
   main.js は defer なので、細い回線では届くまで2秒以上かかり、その間メインビジュアルの文字が空のままになっていた（LCP 2.4〜2.5秒の原因）。
   動きは上の reveal と同じ値。あとから JS が .is-inview を付けても見た目は変わらない */
.mv [data-reveal] { animation: mv-reveal 0.9s var(--ease-out) var(--d, 0s) both; }
.mv [data-reveal="mask"] { animation-name: mv-reveal-fade; }
.mv [data-reveal="mask"] > * { animation: mv-reveal-mask 1s var(--ease-out) var(--d, 0s) both; }
@keyframes mv-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes mv-reveal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mv-reveal-mask { from { transform: translateY(110%); } to { transform: none; } }

/* ---------- MV ---------- */
.mv { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: clip; }
.mv__bg { position: absolute; inset: 0; z-index: 0; }
.mv__bg canvas, .mv__bg svg { width: 100%; height: 100%; display: block; }
.mv__inner { position: relative; z-index: 2; width: 100%; padding-top: 80px; }
.mv__copy { font-size: var(--fs-display); font-weight: 700; letter-spacing: var(--ls-display); line-height: 1.2; }
.mv__copy .line { display: block; }
.mv__sub { margin-top: 28px; font-size: clamp(0.8125rem, 1.4vw, 1rem); font-weight: 500; max-width: 38em; line-height: 1.9; }
.mv__sub .nobr { white-space: nowrap; }
/* PCは意味の区切りで2行。SPは強制改行なし（自然折り返し） */
@media (max-width: 767px) {
  .mv__sub-br { display: none; }
  .mv__sub { max-width: none; }
}
.mv__cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }
.mv__scroll { position: absolute; right: clamp(20px, 3vw, 44px); bottom: 40px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mv__scroll .bar { width: 2px; height: 64px; background: var(--line-strong); overflow: hidden; position: relative; }
.mv__scroll .bar::after { content: ""; position: absolute; inset: 0; background: var(--ink); animation: scrollbar 2s var(--ease-out) infinite; }
@keyframes scrollbar { 0% { transform: translateY(-100%); } 55% { transform: translateY(0); } 100% { transform: translateY(100%); } }
.mv__meta { position: absolute; left: clamp(20px, 3vw, 44px); bottom: 40px; z-index: 2; font-size: 0.6875rem; }

/* ---------- marquee ---------- */
.marquee { overflow: clip; display: grid; gap: 20px; }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee var(--mq-dur, 42s) linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: calc(var(--mq-dur, 42s) * 1.25); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-card { position: relative; width: clamp(240px, 26vw, 380px); aspect-ratio: 16 / 10.5; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 1px 0 var(--line); flex-shrink: 0; }
.mq-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mq-card figcaption {
  position: absolute; inset: auto 10px 10px 10px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: rgba(26, 26, 26, 0.82); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.5;
  opacity: 0; transform: translateY(6px); transition: 0.35s var(--ease-out);
}
.mq-card:hover figcaption { opacity: 1; transform: none; }

/* ---------- 動画帯 ---------- */
.movieband { position: relative; overflow: clip; background: var(--ink); }
.movieband video { width: 100%; height: min(78vh, 720px); object-fit: cover; display: block; will-change: transform; }
/* 修正8: 横幅の狭い画面（タブレット縦・SP）では切らずに 16:9 で全体を見せる */
@media (max-width: 1079px) { .movieband video { height: auto; aspect-ratio: 16 / 9; } }
.movieband__label { position: absolute; top: 28px; left: clamp(20px, 4vw, 56px); color: var(--white); z-index: 2; display: flex; align-items: center; gap: 16px; }
.movieband__sound { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(6px); color: var(--white); font-size: 0.75rem; letter-spacing: 0.1em; }
.movieband__sound:hover { background: var(--yellow); color: var(--ink); }

/* ---------- cards ---------- */
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(26, 26, 26, 0.28); }
.card__icon { display: block; width: 52px; height: 52px; }
.card__icon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
/* アイコンはゆっくり線描画→保持→消去を定期ループ（M17改・2026-08-18修正） */
.card__icon path, .card__icon circle, .card__icon rect, .card__icon line, .card__icon polyline,
.anim-icon path, .anim-icon circle, .anim-icon rect, .anim-icon line, .anim-icon polyline {
  stroke-dasharray: 240; stroke-dashoffset: 240;
  animation: drawloop 9s var(--ease-out) infinite;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
/* 修正8: 消去を「逆向きに戻す」形にして 100%→0% を同じ値（240）でつなぐ。空白の時間が出ない */
@keyframes drawloop {
  0% { stroke-dashoffset: 240; animation-timing-function: var(--ease-out); }
  28% { stroke-dashoffset: 0; }
  84% { stroke-dashoffset: 0; animation-timing-function: cubic-bezier(0.55, 0, 0.85, 0.35); }
  100% { stroke-dashoffset: 240; }
}
.card__num { position: absolute; top: 20px; right: 26px; font-family: var(--font-en); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.15em; opacity: 0.35; }
.card__num + h3 { padding-right: 2.6em; } /* 修正8: 番号の直後に見出しが来るカードは、見出しを番号の下に潜らせない */
.card h3 { font-size: 1.25rem; letter-spacing: 0.08em; }
.card p { font-size: 0.875rem; line-height: 1.9; }
.card .textlink { margin-top: auto; font-size: 0.875rem; }
.card--mini { padding: 24px 28px; flex-direction: row; align-items: center; gap: 18px; }
.card--mini h3 { font-size: 1rem; }
.card--mini p { font-size: 0.75rem; line-height: 1.7; }

/* ---------- works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 3vw, 40px); }
.work-card { grid-column: span 4; display: block; }
.work-card:nth-child(6n + 1), .work-card:nth-child(6n + 4) { grid-column: span 8; }
@media (max-width: 767px) { .work-card, .work-card:nth-child(n) { grid-column: span 12; } }
.work-card__thumb { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10.5; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.work-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease-out); }
.work-card:hover .work-card__thumb img { transform: scale(1.045); }
.work-card__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 14px; margin-top: 16px; }
.work-card__body h3 { font-size: 1.0625rem; letter-spacing: 0.06em; }
.tag { display: inline-block; padding: 3px 12px; border-radius: var(--radius-pill); font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.7; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.tag--fill { background: var(--yellow); box-shadow: none; font-weight: 700; }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.filterbar button { padding: 8px 20px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.8125rem; letter-spacing: 0.06em; transition: 0.3s; }
.filterbar button:hover { background: var(--yellow-pale); }
.filterbar button.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

/* 実績詳細 */
.workdetail-tables { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 48px); }
@media (max-width: 767px) { .workdetail-tables { grid-template-columns: 1fr; } }
.spec-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.spec-table caption { text-align: left; font-family: var(--font-en); letter-spacing: var(--ls-en); font-size: 0.75rem; text-transform: uppercase; margin-bottom: 12px; opacity: 0.6; }
.spec-table th, .spec-table td { padding: 13px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.spec-table th { width: 32%; font-weight: 700; white-space: nowrap; }
.point-list { counter-reset: pt; display: grid; gap: clamp(24px, 3vw, 40px); }
.point-list > li { position: relative; padding-left: 84px; min-height: 60px; }
.point-list > li::before {
  counter-increment: pt; content: "0" counter(pt);
  position: absolute; left: 0; top: -6px;
  font-family: var(--font-en); font-weight: 600; font-size: 2.75rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.point-list h3 { font-size: 1.1875rem; margin-bottom: 8px; letter-spacing: 0.08em; }
.plan-tags { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 数字バンド ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); text-align: center; }
@media (max-width: 767px) { .numbers { grid-template-columns: repeat(2, 1fr); } }
.numbers .nicon { display: block; width: 44px; height: 44px; margin-inline: auto; }
.numbers .nicon svg { width: 100%; height: 100%; stroke: var(--yellow); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.numbers dt { font-size: 0.8125rem; letter-spacing: 0.1em; order: 2; opacity: 0.8; }
.numbers dd { order: 1; font-family: var(--font-en); font-weight: 600; font-size: clamp(2.75rem, 5.5vw, 4.75rem); line-height: 1.1; color: var(--yellow); }
.numbers dd .unit { font-size: 0.38em; font-family: var(--font-ja); font-weight: 700; color: var(--white); margin-left: 6px; letter-spacing: 0.1em; }
.numbers .item { display: flex; flex-direction: column; gap: 8px; }

/* ---------- price ---------- */
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); align-items: stretch; }
@media (max-width: 1023px) { .price-cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.price-card { background: var(--white); border-radius: var(--radius); padding: clamp(30px, 3vw, 44px); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-card--hot { box-shadow: 0 0 0 2.5px var(--ink); }
.price-card__badge { position: absolute; top: -14px; left: 28px; background: var(--yellow); padding: 4px 16px; border-radius: var(--radius-pill); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.price-card h3 { font-size: 1.1875rem; letter-spacing: 0.08em; }
.price-card .price { font-family: var(--font-en); font-weight: 600; font-size: clamp(2.125rem, 3.4vw, 2.875rem); line-height: 1.1; }
.price-card .price .unit { font-family: var(--font-ja); font-size: 0.42em; font-weight: 700; letter-spacing: 0.06em; }
.price-card ul { display: grid; gap: 8px; font-size: 0.8438rem; line-height: 1.8; }
.price-card ul li { padding-left: 22px; position: relative; }
.price-card ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 7px; border-left: 2.5px solid var(--yellow); border-bottom: 2.5px solid var(--yellow); transform: rotate(-45deg) translateY(-30%); }
.price-note { font-size: 0.75rem; opacity: 0.7; line-height: 1.9; }

.rate-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.rate-table th, .rate-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; line-height: 1.7; }
.rate-table thead th { font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.6; border-bottom: 2px solid var(--ink); }
.rate-table td.num { font-family: var(--font-en); font-weight: 500; white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.table-scroll table { min-width: 560px; }

/* 割引バンド */
.discount { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
@media (max-width: 767px) { .discount { grid-template-columns: 1fr; } }
.discount__card { position: relative; border-radius: var(--radius); padding: clamp(30px, 3.5vw, 48px); background: var(--ink); color: var(--white); overflow: clip; }
.discount__card .off { font-family: var(--font-en); font-weight: 600; font-size: clamp(3.25rem, 6vw, 5.25rem); line-height: 1; color: var(--yellow); }
.discount__card .off .sup { font-size: 0.4em; }
.discount__card h3 { font-size: 1.375rem; margin: 10px 0 12px; letter-spacing: 0.1em; }
.discount__card p { font-size: 0.8438rem; line-height: 1.9; opacity: 0.9; }
.discount__card .shape { right: -40px; top: -40px; opacity: 0.14; }

/* ---------- flow ---------- */
.flow-steps { counter-reset: fs; display: grid; gap: 0; position: relative; }
.flow-step { position: relative; display: grid; grid-template-columns: 96px 1fr auto; gap: clamp(16px, 3vw, 40px); padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.flow-step::before {
  counter-increment: fs; content: "0" counter(fs);
  font-family: var(--font-en); font-weight: 600; font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink);
}
.flow-step:nth-child(-n+9):nth-child(n+10)::before { content: counter(fs); }
.flow-step h3 { font-size: 1.1875rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.flow-step p { font-size: 0.875rem; line-height: 1.9; }
.flow-step .period { font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: 0.1em; padding: 6px 16px; border-radius: var(--radius-pill); background: var(--yellow-pale); white-space: nowrap; font-weight: 500; }
@media (max-width: 767px) { .flow-step { grid-template-columns: 64px 1fr; } .flow-step .period { grid-column: 2; justify-self: start; } }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 32px; gap: 16px;
  align-items: baseline; padding: clamp(20px, 2.5vw, 30px) 4px; font-weight: 700; font-size: 1rem; letter-spacing: 0.06em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { font-family: var(--font-en); font-weight: 600; font-size: 1.375rem; color: transparent; -webkit-text-stroke: 1.3px var(--ink); }
.faq-item summary .x { position: relative; width: 20px; height: 20px; justify-self: end; align-self: center; transition: transform 0.4s var(--ease-out); }
.faq-item summary .x::before, .faq-item summary .x::after { content: ""; position: absolute; inset: 50% auto auto 0; width: 100%; height: 2px; background: var(--ink); }
.faq-item summary .x::after { transform: rotate(90deg); }
.faq-item[open] summary .x { transform: rotate(45deg); }
.faq-item .a { padding: 0 4px clamp(20px, 2.5vw, 30px) 60px; font-size: 0.9062rem; line-height: 2; }
@media (max-width: 767px) { .faq-item .a { padding-left: 4px; } }

/* ---------- CTA（共通下部） ---------- */
.cta { position: relative; overflow: clip; background: var(--ink); color: var(--white); }
.cta__bg { position: absolute; inset: 0; opacity: 0.35; display: grid; align-content: center; gap: 20px; z-index: 0; filter: saturate(0.9); }
.cta__inner { position: relative; z-index: 1; text-align: center; padding-block: var(--sec-pad); background: radial-gradient(ellipse at center, rgba(26, 26, 26, 0.86) 0%, rgba(26, 26, 26, 0.55) 60%, rgba(26, 26, 26, 0.32) 100%); }
.cta__inner h2 { font-size: clamp(1.875rem, 4.5vw, 3.5rem); letter-spacing: var(--ls-h2); }
.cta__inner p { margin-top: 20px; font-size: 0.9375rem; opacity: 0.9; }
.cta__btns { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 80px 0 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.site-footer a:hover { color: var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .flogo img { width: 120px; margin-bottom: 20px; }
.site-footer .fcol h3 { font-family: var(--font-en); font-size: 0.75rem; letter-spacing: var(--ls-en); text-transform: uppercase; opacity: 0.5; margin-bottom: 16px; }
.site-footer .fcol ul { display: grid; gap: 10px; font-size: 0.8438rem; }
.site-footer .faddr { font-size: 0.7812rem; line-height: 2; opacity: 0.85; font-style: normal; }
.site-footer .fbottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: 0.6875rem; opacity: 0.6; }
.site-footer .fbottom__updated { margin-left: 1.6em; white-space: nowrap; }
@media (max-width: 767px) { .site-footer .fbottom__updated { display: block; margin: 6px 0 0; } }
.badge-soon { font-size: 0.625rem; padding: 2px 8px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.14); margin-left: 8px; vertical-align: 1px; }

/* ---------- FAB（ページトップ） ---------- */
.fab {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--white);
  display: grid; place-items: center; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.85); pointer-events: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.fab svg.ring circle { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; }
.fab .arr { position: relative; width: 14px; height: 14px; }
.fab .arr::before { content: ""; position: absolute; left: 50%; top: 2px; width: 9px; height: 9px; border-top: 2.5px solid currentColor; border-left: 2.5px solid currentColor; transform: translateX(-50%) rotate(45deg); }
.fab .arr::after { content: ""; position: absolute; left: 50%; top: 3px; width: 2.5px; height: 11px; background: currentColor; transform: translateX(-50%); }
.fab:hover .arr { animation: fab-jump 0.7s var(--ease-out); }
@keyframes fab-jump { 0% { transform: translateY(0); } 45% { transform: translateY(-22px); opacity: 0; } 46% { transform: translateY(22px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* ---------- 診断フローティングバナー ---------- */
/* 修正8: 小型化（副文削除・アイコン30px）。非表示中は画面外＋visibility:hidden にして上部でのチラ見えをなくす */
.diag-banner {
  position: fixed; left: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px); z-index: 90;
  display: flex; align-items: center; gap: 11px;
  background: var(--white); border-radius: var(--radius-pill); padding: 8px 17px 8px 8px; /* 修正10: 全体を140%に */
  box-shadow: 0 0 0 1.5px var(--ink), 0 12px 24px -12px rgba(26, 26, 26, 0.4);
  transform: translateY(calc(100% + 48px)); visibility: hidden;
  transition: transform 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.diag-banner.is-visible { transform: none; visibility: visible; transition-delay: 0s, 0s; }
.diag-banner.is-visible.is-hidden-temp { transform: translateY(calc(100% + 48px)); visibility: hidden; transition-delay: 0s, 0.6s; }
.diag-banner__icon { width: 42px; height: 42px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-weight: 700; font-size: 1.3125rem; }
.diag-banner a { font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.4; white-space: nowrap; }
.diag-banner__close { width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font-size: 1.125rem; line-height: 1; opacity: 0.55; }
.diag-banner__close:hover { opacity: 1; background: var(--paper); }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 8px; height: 8px; background: var(--ink); margin: -4px 0 0 -4px; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  transition: width 0.3s, height 0.3s, margin 0.3s, background-color 0.3s, border-color 0.3s;
  font-size: 0; font-family: var(--font-en); letter-spacing: 0.1em; color: var(--ink);
}
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 243, 170, 0.35); border-color: rgba(26, 26, 26, 0.2); font-size: 0.625rem; }
.cursor-ring.is-media { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgba(255, 243, 170, 0.55); border-color: transparent; font-size: 0.625rem; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- ローディング ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: var(--paper); }
.loader__logo { width: clamp(64px, 8vw, 96px); opacity: 0; animation: loader-in 0.9s var(--ease-out) 0.15s forwards; }
@keyframes loader-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } to { opacity: 1; transform: none; } }
.loader__curtain { position: absolute; inset: 0; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; }
.loader.is-leaving .loader__curtain { animation: curtain 0.9s var(--ease-out) forwards; }
.loader.is-leaving .loader__logo { animation: loader-out 0.4s ease forwards; }
@keyframes curtain { 0% { transform: scaleY(0); transform-origin: bottom; } 48% { transform: scaleY(1); transform-origin: bottom; } 52% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: top; } }
@keyframes loader-out { to { opacity: 0; transform: translateY(-14px); } }
.loader.is-done { display: none; }

/* ---------- page hero（下層共通） ---------- */
.page-hero { padding: calc(96px + var(--sec-pad-s)) 0 var(--sec-pad-s); position: relative; overflow: clip; }
.page-hero .en-label { font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: var(--ls-en); text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.page-hero h1 { font-size: var(--fs-h1); letter-spacing: var(--ls-h); }
.page-hero .lead { margin-top: 24px; max-width: 48em; font-size: 0.9688rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.7188rem; opacity: 0.65; margin-bottom: 28px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 22px; }
.form-row { display: grid; gap: 8px; }
.form-row label { font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; }
.form-row label .req { display: inline-block; margin-left: 8px; font-size: 0.625rem; background: var(--ink); color: var(--yellow); padding: 2px 8px; border-radius: var(--radius-pill); vertical-align: 2px; }
.form-row input, .form-row textarea, .form-row select {
  font: inherit; letter-spacing: 0.04em; padding: 14px 18px; border: 1.5px solid var(--line-strong);
  border-radius: 12px; background: var(--white); width: 100%;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--yellow-pale); }
.form-row textarea { min-height: 160px; resize: vertical; }

/* ---------- misc ---------- */
.dot-list { display: grid; gap: 8px; font-size: 0.8438rem; line-height: 1.8; } /* 2026-09-26: /guide/ のお願い・お受けできないご依頼の箇条書き */
.dot-list li { position: relative; padding-left: 18px; }
.dot-list li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink) inset; }
.note-band { background: var(--white); border: 4px solid var(--yellow); border-radius: 14px; padding: clamp(24px, 3vw, 36px) clamp(24px, 3.4vw, 44px); /* 修正9-2: 薄黄背景→白＋黄の太枠 */ font-size: 0.8438rem; line-height: 1.9; }
.check-table td.ok { color: var(--ink); font-weight: 700; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin-block: clamp(48px, 6vw, 88px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal="mask"] > * { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- SP調整 ---------- */
@media (max-width: 767px) {
  :root { --sec-pad: clamp(88px, 20vw, 140px); --fs-body: 15px; }
  .mv__copy { font-size: clamp(2.5rem, 12vw, 4rem); }
  /* 修正8: 番号は英字ラベルの行に収め、見出しと重ねない。装飾の破線円はSPでは出さない */
  .sec-num { font-size: clamp(4.5rem, 22vw, 6rem); top: -0.55em; }
}
@media (max-width: 1023px) { .shape--dash { display: none; } } /* 修正8: タブレット縦でも見出しに重なるので消す */

/* ---------- top page 固有 ---------- */
.concept-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); max-width: 920px; }
.concept-grid p + p { margin-top: 1em; }
@media (max-width: 767px) { .concept-grid { grid-template-columns: 1fr; } .concept-grid .pillar { writing-mode: horizontal-tb; } }

.reason-list { display: grid; gap: clamp(28px, 4vw, 48px); max-width: 880px; }
.reason-list li { position: relative; padding-left: clamp(100px, 11.6vw, 152px); } /* 修正7: 数字の右に余白 */
.reason-list .rn { position: absolute; left: 0; top: -10px; font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.reason-list h3 { font-size: clamp(1.1875rem, 2.2vw, 1.5rem); letter-spacing: 0.08em; margin-bottom: 8px; }
.reason-list p { font-size: 0.9062rem; line-height: 2; }
.reason-people { position: absolute; right: clamp(40px, 7vw, 120px); bottom: clamp(24px, 4vw, 64px); width: clamp(200px, 20vw, 320px); height: auto; z-index: 1; pointer-events: none; } /* 修正7 */
@media (max-width: 767px) { .reason-people { position: static; display: block; width: min(70%, 320px); margin: 32px 0 0 auto; } }

.sim-banner {
  margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius); background: var(--yellow);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: clip;
}
.sim-banner::after { content: "?"; position: absolute; right: 5%; top: 50%; transform: translateY(-56%) rotate(30deg); font-family: var(--font-en); font-weight: 600; font-size: clamp(7.5rem, 13vw, 11.25rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(26,26,26,.22); pointer-events: none; }

.flow-strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 12px; scrollbar-width: thin; }
.flow-strip li { flex-shrink: 0; display: flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; white-space: nowrap; }
.flow-strip li .fn { font-size: 0.8125rem; opacity: .5; letter-spacing: .1em; }
.flow-strip li:not(:last-child)::after { content: "→"; margin-left: -2px; margin-right: -10px; opacity: .4; }

/* =============================================================
   2026-08-18 修正対応（TEGOUリニューアルプロンプト（修正））
   ============================================================= */

/* ---------- ナビ: 英字大文字＋ホバーで日本語に切替
   幅は英字だけで決め（日本語は絶対配置で重ねる）、項目の見た目の間隔を均等にする（2026-08-20 修正3） ---------- */
.nav-flip { position: relative; display: inline-block; text-align: center; line-height: 1.5; }
.nav-flip span { display: block; white-space: nowrap; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
/* 英字の字送りは最後の1文字の後ろにも入るため、その分だけ右を詰めて左右の余白を揃える */
.nav-flip .l-en { font-family: var(--font-en); font-weight: 500; font-size: 0.8438rem; letter-spacing: 0.16em; text-transform: uppercase; margin-right: -0.16em; }
.nav-flip .l-jp { position: absolute; left: 50%; top: 50%; font-size: 0.7812rem; font-weight: 700; letter-spacing: 0.08em; opacity: 0; transform: translate(-50%, calc(-50% + 8px)); pointer-events: none; }
.site-nav a:hover .nav-flip .l-en { opacity: 0; transform: translateY(-8px); }
.site-nav a:hover .nav-flip .l-jp { opacity: 1; transform: translate(-50%, -50%); }
@media (max-width: 1079px) {
  .nav-flip .l-en { font-size: 1.25rem; }
  .nav-flip .l-jp { position: static; transform: none !important; opacity: 0.6 !important; font-size: 0.6875rem; justify-content: flex-start; }
  .site-nav a:hover .nav-flip .l-en { transform: none; opacity: 1; }
}

/* ---------- 実績マーキー: 初期は黄フィルター・ホバーでフルカラー ---------- */
.mq-card { background: #F1E7C8; }
.mq-card img { filter: grayscale(1) brightness(1.06) contrast(0.96); transition: filter 0.5s var(--ease-out); }
.mq-card::after { content: ""; position: absolute; inset: 0; background: #EFE3B4; mix-blend-mode: multiply; opacity: 0.75; transition: opacity 0.5s var(--ease-out); pointer-events: none; }
.mq-card:hover img { filter: none; }
.mq-card:hover::after { opacity: 0; }
.mq-card figcaption { z-index: 2; }
.cta .mq-card::after { opacity: 0.55; } /* CTA背景は減光と併用 */

/* ---------- セクション背景アニメ（02黄・04濃色） ---------- */
.secbg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.secbg canvas { width: 100%; height: 100%; display: block; }

/* ---------- WORKSピックアップ（04）: 濃い黄黒背景・ホバーで暗転＋中央情報 ---------- */
.bg-inkyellow { background: #23200B; color: var(--white); }
.works-grid--six { row-gap: clamp(40px, 5vw, 72px); }
.works-grid--six .work-card__body {
  position: absolute; inset: 0; z-index: 2; margin: 0; padding: 20px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.works-grid--six .work-card { position: relative; }
.works-grid--six .work-card__body h3 { color: var(--white); font-size: 1rem; }
.works-grid--six .work-card__thumb::after {
  content: ""; position: absolute; inset: 0; background: rgba(20, 18, 6, 0.68);
  opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.works-grid--six .work-card:hover .work-card__body,
.works-grid--six .work-card:hover .work-card__thumb::after { opacity: 1; }
@media (hover: none) { .works-grid--six .work-card__body, .works-grid--six .work-card__thumb::after { opacity: 1; background: none; position: static; display: flex; flex-direction: row; text-align: left; padding: 12px 0 0; } }

/* ---------- WORKSピックアップ 6枚グリッドの整列 ---------- */
.works-grid--six .work-card:nth-child(5), .works-grid--six .work-card:nth-child(6) { grid-column: span 6; }
@media (max-width: 767px) { .works-grid--six .work-card:nth-child(n) { grid-column: span 12; } }
.on-dark .tag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.on-dark .tag--fill { box-shadow: none; color: var(--ink); }
.on-dark .work-card__thumb { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }

/* ---------- FLOWダイジェスト（カード＋接続ライン＋アイコン） ---------- */
.bg-white { background: var(--white); }
.flow-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px); position: relative; padding-top: 118px; counter-reset: fc; }
.flow-cards::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 85px; height: 2px; background: var(--ink); }
.flow-card { position: relative; background: var(--white); border-radius: 18px; padding: 48px 20px 28px; text-align: center; box-shadow: 0 0 0 1.5px var(--line-strong); }
.flow-card::before { counter-increment: fc; content: "0" counter(fc); position: absolute; top: -118px; left: 50%; transform: translateX(-50%); font-family: var(--font-en); font-weight: 600; font-size: 2.125rem; line-height: 1; letter-spacing: 0.08em; }
.flow-card::after { content: ""; position: absolute; top: -38px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px var(--white); }
.flow-card .ficon { display: block; width: 56px; height: 56px; margin: 0 auto 16px; }
.flow-card .ficon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow-card h3 { font-size: 1.0312rem; letter-spacing: 0.08em; margin-bottom: 8px; }
.flow-card p { font-size: 0.7812rem; line-height: 1.9; text-align: left; }
@media (max-width: 1023px) { .flow-cards { grid-template-columns: repeat(2, 1fr); row-gap: 148px; } .flow-cards::before { display: none; } }
@media (max-width: 599px) { .flow-cards { grid-template-columns: 1fr; } }

/* ---------- ご依頼の流れ: 巨大番号アコーディオン ---------- */
.step-panel { background: var(--white); border-radius: 28px; padding: clamp(8px, 1.5vw, 20px) clamp(20px, 3vw, 44px); box-shadow: 0 0 0 1px var(--line); }
.step-acc { border-bottom: 1.5px dashed var(--line-strong); }
.step-acc:last-child { border-bottom: 0; }
.step-acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: clamp(96px, 13vw, 170px) 1fr 40px; gap: clamp(12px, 2vw, 28px); align-items: center; overflow: hidden; max-height: 104px; padding-block: 8px; }
.step-acc summary::-webkit-details-marker { display: none; }
.step-acc .num { font-family: var(--font-en); font-weight: 600; font-size: clamp(5.5rem, 11vw, 9.25rem); line-height: 0.94; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 2px var(--ink); transform: translateY(26%); transition: transform 0.5s var(--ease-out); }
.step-acc[open] summary { max-height: none; overflow: visible; }
.step-acc[open] .num { transform: none; }
.step-acc .ttl { display: flex; align-items: center; gap: 14px; font-size: clamp(1.0625rem, 2vw, 1.3125rem); font-weight: 700; letter-spacing: 0.08em; }
.step-acc .ttl .sicon { width: 40px; height: 40px; flex-shrink: 0; }
.step-acc .ttl .sicon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.step-acc .chev { justify-self: end; position: relative; width: 18px; height: 18px; }
.step-acc .chev::before, .step-acc .chev::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2.5px; margin-top: -1.25px; background: var(--ink); transition: transform 0.4s var(--ease-out); }
.step-acc .chev::after { transform: rotate(90deg); }
.step-acc[open] .chev::after { transform: rotate(0deg); }
.step-acc .body { padding: 0 40px clamp(24px, 3vw, 36px) clamp(108px, 15vw, 198px); font-size: 0.9062rem; line-height: 2; }
.step-acc .body .period { display: inline-block; margin-top: 12px; font-family: var(--font-en); font-size: 0.7812rem; letter-spacing: 0.1em; padding: 5px 16px; border-radius: var(--radius-pill); background: var(--yellow-pale); font-weight: 500; }
@media (max-width: 767px) { .step-acc .body { padding-left: 4px; } .step-acc summary { max-height: 84px; } .step-acc .num { font-size: 4.5rem; } }

/* ---------- FAQ 白パネル ---------- */
.faq-panel { background: var(--white); border-radius: 28px; padding: clamp(8px, 1.5vw, 16px) clamp(20px, 3vw, 40px); box-shadow: 0 0 0 1px var(--line); }
.faq-panel .faq-list { border-top: 0; }
.faq-panel .faq-item:last-child { border-bottom: 0; }
.faq-anchors { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.faq-anchors a { padding: 9px 22px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; transition: 0.3s; }
.faq-anchors a:hover { background: var(--yellow); box-shadow: none; }

/* ---------- CTA: ゴーストボタンを白に・スクロール拡張 ---------- */
.cta .btn--ghost { --btn-fg: var(--white); box-shadow: inset 0 0 0 2px var(--white); }
.cta .btn--ghost:hover { color: var(--ink); }
.cta__inner { display: grid; align-content: center; will-change: min-height; }

/* ---------- 割引カードのアニメアイコン ---------- */
.discount__card .dicon { display: block; width: 52px; height: 52px; margin-bottom: 14px; }
.discount__card .dicon svg { width: 100%; height: 100%; stroke: var(--yellow); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- シミュレーター: 共通デザインへの調整 ---------- */
.sim-page .tgs { background: transparent; }
.sim-page .tgs__paper, .sim-page .tgs-head { display: none; }
.sim-page .tgs__inner { padding-top: 0; }

/* ---------- 修正2（2026-08-18）追加分 ---------- */
/* 実績詳細タイトル: 長い実績名が1行に収まるサイズ */
.workdetail-title { font-size: clamp(1.375rem, 2.5vw, 2.125rem); letter-spacing: 0.08em; line-height: 1.5; }

/* 実績一覧: カードの文字下に余白 */
.works-grid { row-gap: clamp(36px, 4.5vw, 64px); }

/* お問い合わせ: タブ切替 */
.contact-tabs { display: flex; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.contact-tabs button { flex: 1; padding: 16px 10px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-strong); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.06em; transition: 0.3s; }
.contact-tabs button:hover { background: var(--yellow-pale); }
.contact-tabs button.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

/* ---------- セクション図版（2026-08-20 修正3: Concept / Service / Numbers / Flow） ---------- */
.sec-visual { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.sec-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-visual video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 見出し直下に敷く全幅の帯 */
.sec-visual--band { margin-bottom: clamp(48px, 6vw, 88px); aspect-ratio: 2.35 / 1; }
/* 濃色セクション用の細いストリップ */
.sec-visual--strip { aspect-ratio: 2.4 / 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12); }
/* 本文の隣に立てる図版 */
.concept-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.concept-layout .concept-grid { max-width: none; }
.concept-layout .sec-visual { aspect-ratio: 4 / 3; }
/* 動画は 16:9。4:3 の枠に cover で入れると画面左下のテロップが切れる */
.concept-layout .sec-visual--video { aspect-ratio: 16 / 9; }
@media (max-width: 1023px) {
  .concept-layout { grid-template-columns: 1fr; gap: clamp(28px, 5vw, 48px); }
  .concept-layout .sec-visual { aspect-ratio: 16 / 10; }
  .concept-layout .sec-visual--video { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .sec-visual--band { aspect-ratio: 16 / 10; margin-bottom: clamp(32px, 6vw, 48px); }
  .sec-visual--strip { aspect-ratio: 2 / 1; }
}

/* =============================================================
   2026-08-28 修正4対応（TEGOUリニューアルプロンプト（修正4））
   ============================================================= */

/* ---------- 料金表: 下線をやめ偶数行を白背景に ---------- */
.rate-table th, .rate-table td { border-bottom: none; padding-block: 15px; }
.rate-table thead th { border-bottom: 2px solid var(--ink); }
.rate-table tbody tr:nth-child(even) { background: var(--white); }
.rate-table tbody tr:nth-child(even) td:first-child,
.rate-table tbody tr:nth-child(even) th:first-child { border-radius: 10px 0 0 10px; }
.rate-table tbody tr:nth-child(even) td:last-child,
.rate-table tbody tr:nth-child(even) th:last-child { border-radius: 0 10px 10px 0; }
/* 白パネル内（FAQ等）ではゼブラを淡黄に */
.faq-panel .rate-table tbody tr:nth-child(even),
.step-panel .rate-table tbody tr:nth-child(even) { background: var(--paper); }

/* ---------- トップ MV下マーキー: 透明度を下げて背景になじませる ---------- */
.marquee--soft .mq-card { opacity: 0.42; box-shadow: none; transition: opacity 0.5s var(--ease-out); }
.marquee--soft .mq-card::after { opacity: 0.9; }
.marquee--soft .mq-card:hover { opacity: 1; }
.marquee--soft .mq-card:hover::after { opacity: 0; }

/* ---------- WORKSカード: ホバー時のはみ出し（角丸クリップ抜け）修正 ---------- */
.work-card__thumb { transform: translateZ(0); isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.work-card:hover .work-card__thumb img { transform: scale(1.035); }
/* 実績一覧: カード下の重なり解消（最低1行分の余白） */
.works-grid { row-gap: clamp(56px, 7vw, 96px); }
.work-card__body { align-content: start; }

/* ---------- FLOWダイジェスト: 番号とカードの間を詰める ---------- */
.flow-cards { padding-top: 90px; }
.flow-cards::before { top: 64px; }
.flow-card::before { top: -90px; }
.flow-card::after { top: -31px; }
@media (max-width: 1023px) { .flow-cards { row-gap: 124px; } }

/* ---------- Numbers: 3点構成＋動くアイコン ---------- */
.numbers .nicon path, .numbers .nicon circle, .numbers .nicon rect, .numbers .nicon line, .numbers .nicon polyline {
  stroke-dasharray: 240; stroke-dashoffset: 240; animation: drawloop 9s var(--ease-out) infinite;
}
@media (max-width: 767px) { .numbers { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 料金: サービス別ナビ（5つの主要サービス） ---------- */
.svc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(36px, 5vw, 56px); }
.svc-tabs a { padding: 10px 22px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; transition: 0.3s; }
.svc-tabs a:hover { background: var(--yellow); box-shadow: none; }
.svc-tabs a[aria-current="page"] { background: var(--ink); color: var(--white); box-shadow: none; }

/* ---------- 料金: プラン構成の内訳リスト（アイコン式） ---------- */
.plan-items { display: grid; gap: 0; margin-top: 4px; }
.plan-items li { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 0.8125rem; font-weight: 500; }
.plan-items li:last-child { border-bottom: 0; }
.plan-items .pi { width: 26px; height: 26px; }
.plan-items .pi svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.plan-items .pc { font-family: var(--font-en); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.08em; opacity: 0.7; white-space: nowrap; }
.price-card .price-target { display: grid; gap: 6px; font-size: 0.8125rem; font-weight: 700; }
.price-card .price-target li { padding-left: 24px; position: relative; }
.price-card .price-target li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 13px; height: 8px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translateY(-30%); }

/* ---------- 実績詳細: スクリーンショットスライダー ---------- */
.shots { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; margin-bottom: clamp(40px, 5vw, 72px); }
.shots figure { position: relative; flex: 0 0 auto; scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.shots figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shots .shot--pc { width: min(86%, 900px); aspect-ratio: 16 / 10.5; }
.shots .shot--sp { width: clamp(200px, 24vw, 260px); aspect-ratio: 375 / 812; }
.shots figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 14px; border-radius: var(--radius-pill); background: rgba(26, 26, 26, 0.82); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.08em; }
.shots-hint { font-size: 0.75rem; opacity: 0.55; margin: -28px 0 48px; }
@media (max-width: 767px) { .shots .shot--pc { width: 92%; } }

/* ---------- ご依頼の流れ: フェーズ型（展開式廃止） ---------- */
.phase { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.phase:last-of-type { border-bottom: 0; }
.phase:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.phase:nth-child(even) .phase__visual { order: 2; }
.phase__visual { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.phase__visual img { width: 100%; height: 100%; object-fit: cover; }
.phase__label { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.phase__label .pn { font-family: var(--font-en); font-weight: 600; font-size: clamp(2.5rem, 4.5vw, 3.75rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.8px var(--ink); }
.phase__label h2 { font-size: clamp(1.25rem, 2.4vw, 1.75rem); letter-spacing: 0.1em; }
.phase__steps { display: grid; gap: 14px; margin-top: 20px; }
.phase__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.phase__steps .sicon { width: 36px; height: 36px; margin-top: 2px; }
.phase__steps .sicon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.phase__steps h3 { font-size: 0.9688rem; letter-spacing: 0.06em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.phase__steps p { font-size: 0.8438rem; line-height: 1.9; }
.phase__steps .period { font-family: var(--font-en); font-size: 0.6875rem; letter-spacing: 0.1em; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--yellow-pale); font-weight: 500; white-space: nowrap; }
@media (max-width: 900px) {
  .phase, .phase:nth-child(even) { grid-template-columns: 1fr; }
  .phase:nth-child(even) .phase__visual { order: 0; }
  .phase__visual { aspect-ratio: 16 / 9; }
}

/* ---------- Philosophy: リッチブロック ---------- */
.philosophy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.philosophy-layout .sec-visual { aspect-ratio: 4 / 3; box-shadow: 0 14px 40px -18px rgba(26, 26, 26, 0.35); }
.philosophy-copy { font-size: clamp(1.625rem, 3.6vw, 2.75rem); font-weight: 700; letter-spacing: 0.1em; line-height: 1.6; }
@media (max-width: 900px) { .philosophy-layout { grid-template-columns: 1fr; } }

/* ---------- FAQ・ガイド: 挿入イメージバンド ---------- */
.img-band { border-radius: var(--radius); overflow: hidden; aspect-ratio: 2.35 / 1; background: var(--white); box-shadow: 0 0 0 1px var(--line); margin-block: clamp(36px, 5vw, 60px); }
.img-band img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .img-band { aspect-ratio: 16 / 10; } }

/* ---------- はじめての方へ: 導線カード ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 767px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: 14px; background: var(--white); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); box-shadow: 0 0 0 1px var(--line); }
.guide-card .gq { font-weight: 700; font-size: clamp(1.0625rem, 1.8vw, 1.25rem); letter-spacing: 0.06em; line-height: 1.7; }
.guide-card p { font-size: 0.875rem; line-height: 1.9; }
.guide-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- TEGOU LAB: 自作ツール紹介 ---------- */
.lab-hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.lab-group__lead { max-width: 40em; font-size: 0.9375rem; line-height: 1.9; margin-top: 14px; }
.lab-list { display: grid; gap: clamp(28px, 4vw, 56px); }
.lab-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 1079px) { .lab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .lab-grid { grid-template-columns: 1fr; } }
.lab-card { display: grid; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.lab-list .lab-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
.lab-list .lab-card:nth-child(even) .lab-card__thumb { order: 2; }
@media (max-width: 900px) { .lab-list .lab-card { grid-template-columns: 1fr; } .lab-list .lab-card:nth-child(even) .lab-card__thumb { order: 0; } }
.lab-card__thumb { display: block; aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; }
.lab-list .lab-card__thumb { aspect-ratio: auto; min-height: 100%; }
.lab-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.lab-card:hover .lab-card__thumb img { transform: scale(1.03); }
.lab-card__body { display: flex; flex-direction: column; gap: 10px; padding: clamp(24px, 3vw, 44px); }
.lab-card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.lab-card__en { font-size: 0.6875rem; letter-spacing: var(--ls-en); text-transform: uppercase; opacity: 0.6; margin-top: 6px; }
.lab-card h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); letter-spacing: 0.08em; line-height: 1.4; }
.lab-card__tag { font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.125rem); letter-spacing: 0.06em; line-height: 1.7; }
.lab-card__desc { font-size: 0.875rem; line-height: 1.9; }
.lab-card__points { display: grid; gap: 6px; padding: 14px 18px; border-radius: 14px; background: var(--paper); font-size: 0.8125rem; line-height: 1.8; }
.lab-card__points li { position: relative; padding-left: 18px; }
.lab-card__points li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 1.5px var(--ink) inset; }
.lab-card__aud { font-size: 0.75rem; letter-spacing: 0.04em; opacity: 0.75; }
.lab-card__price { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; }
.lab-card__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; }
.lab-card__note { font-size: 0.75rem; opacity: 0.7; }
.lab-grid .lab-card h3 { font-size: 1.25rem; }
.lab-grid .lab-card__points { display: none; }
.lab-grid .lab-card__desc { font-size: 0.8438rem; }
.lab-feat { display: flex; flex-direction: column; gap: 8px; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--radius); background: var(--white); box-shadow: 0 0 0 1px var(--line); transition: background 0.3s; }
.lab-feat:hover { background: var(--yellow-pale); }
.lab-feat__name { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 700; letter-spacing: 0.06em; }
.lab-feat__desc { font-size: 0.8125rem; line-height: 1.8; opacity: 0.85; }
.lab-qr { border: 0; border-radius: var(--radius); padding: 0; background: var(--white); max-width: min(92vw, 380px); }
.lab-qr::backdrop { background: rgba(26, 26, 26, 0.6); }
.lab-qr__box { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 32px 28px; text-align: center; }
.lab-qr__box img { width: 240px; height: 240px; }
.lab-qr__url { font-family: var(--font-en); font-size: 1.125rem; letter-spacing: 0.08em; }
.lab-qr__hint { font-size: 0.8125rem; line-height: 1.8; opacity: 0.8; }

/* =============================================================
   2026-09-07 修正5対応（TEGOUリニューアルプロンプト（修正5））
   ============================================================= */

/* ---------- トップ MV下マーキー: フィルター色を背景色（紙）に揃えて馴染ませる ---------- */
.marquee--soft .mq-card { background: var(--paper); opacity: 0.55; }
.marquee--soft .mq-card img { filter: grayscale(1) brightness(1.08) contrast(0.9); }
.marquee--soft .mq-card::after { background: var(--paper); opacity: 0.86; }
.marquee--soft .mq-card:hover { opacity: 1; }
.marquee--soft .mq-card:hover::after { opacity: 0; }

/* ---------- セクション末尾のボタン（中央配置） ---------- */
.sec-act { margin-top: clamp(36px, 4.5vw, 56px); text-align: center; }
.sec-act .btn { text-align: left; }
.sim-banner--apart { margin-top: clamp(72px, 9vw, 128px); }
.sim-banner--guide { margin-top: clamp(48px, 6vw, 80px); }
.sim-banner--guide::after { content: "!"; }
.sim-banner--showcase { margin-top: clamp(48px, 6vw, 80px); }
.sim-banner--showcase::after { content: "+"; } /* 2026-10-05: 実績ページ → SHOWCASE 誘導 */

/* ---------- REASON: 「○○力」＋ひとこと ---------- */
.reason-list h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.reason-key { font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: 0.12em; line-height: 1.2; }
.reason-sub { font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); font-weight: 700; letter-spacing: 0.08em; }

/* ---------- 動画の帯は 16:9（テロップが画面下1/3に入るため cover で切らない） ---------- */
.sec-visual--band.sec-visual--video, .sec-visual--video { aspect-ratio: 16 / 9; }
.sec-visual--video video { background: var(--paper); }

/* ---------- 事業内容: 3つの事業（クリエイティブは横いっぱい・残り2つは2カラム） ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.biz-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.biz-card__visual { aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; }
.biz-card__visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease-out); }
.biz-card:hover .biz-card__visual img { transform: scale(1.03); }
.biz-card__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 3vw, 40px); }
.biz-card__en { font-size: 0.6875rem; letter-spacing: var(--ls-en); text-transform: uppercase; opacity: 0.6; }
.biz-card h3 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); letter-spacing: 0.08em; }
.biz-card p { font-size: 0.875rem; line-height: 1.9; }
.biz-card--wide { grid-column: 1 / -1; flex-direction: row; box-shadow: 0 0 0 2.5px var(--ink); }
.biz-card--wide .biz-card__visual { flex: 0 0 56%; aspect-ratio: auto; }
.biz-card--wide .biz-card__body { flex: 1; justify-content: center; padding: clamp(28px, 3.5vw, 56px); }
.biz-card--wide h3 { font-size: clamp(1.375rem, 2.4vw, 1.875rem); }
.biz-card__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.biz-card__list li { padding: 5px 14px; border-radius: var(--radius-pill); background: var(--yellow); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; }
@media (max-width: 900px) {
  .biz-card--wide { flex-direction: column; }
  .biz-card--wide .biz-card__visual { flex: none; aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) { .biz-grid { grid-template-columns: 1fr; } }

/* ---------- サービス詳細: Problems（図版＋困りごと） ---------- */
.problems-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.problems-layout .sec-visual { aspect-ratio: 3 / 2; }
.problems-layout ul { display: grid; gap: clamp(12px, 1.5vw, 18px); }
@media (max-width: 900px) { .problems-layout { grid-template-columns: 1fr; } }

/* ---------- マーケティング: Stock vs Flow（本文の右に動画） ---------- */
.stockflow-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 1023px) { .stockflow-layout { grid-template-columns: 1fr; } }

/* ---------- 会社案内: 理念＝動画・5つのバリュー＝動画＋テキストの2カラム・会社概要＝1カラム ---------- */
.philosophy-layout .sec-visual--video { aspect-ratio: 16 / 9; }
.values-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.values-layout .sec-visual { box-shadow: 0 14px 40px -18px rgba(26, 26, 26, 0.35); }
.values-list { display: grid; gap: clamp(14px, 1.6vw, 20px); }
.values-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: baseline; }
.values-list .vn { font-family: var(--font-en); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.06em; color: transparent; -webkit-text-stroke: 1.3px var(--ink); line-height: 1; }
.values-list b { display: block; font-weight: 700; line-height: 1.9; font-size: clamp(1rem, 1.5vw, 1.125rem); letter-spacing: 0.06em; }
.values-list span.vd { display: block; font-weight: 400; font-size: 0.9375rem; line-height: 1.9; opacity: 0.75; }
@media (max-width: 900px) { .values-layout { grid-template-columns: 1fr; } }
.overview-table { max-width: 920px; }
.overview-table .spec-table th { width: 22%; }
@media (max-width: 767px) { .overview-table .spec-table th { width: 32%; } }

/* ---------- 料金: ウェブ3プランの内訳。黄色いチェックをやめ、アイコンを黄色に ---------- */
.price-card .plan-items li { padding-left: 0; }
.price-card .plan-items li::before { content: none; }
.plan-items .pi svg { stroke: var(--yellow); stroke-width: 2.2; }

/* ---------- 制作実績: タグは全部「罫線＋黒文字」／空きマスの埋めカード ---------- */
.works-grid .tag--fill, .workdetail-hero .tag--fill { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); font-weight: 500; color: var(--ink); }
.works-note { margin-top: 22px; display: grid; gap: 6px; font-size: 0.8125rem; line-height: 1.9; opacity: 0.85; }
.works-note b { font-weight: 700; margin-right: 0.4em; }
.work-filler { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; border-radius: 16px; padding: clamp(24px, 2.6vw, 36px); background: var(--white); box-shadow: 0 0 0 1px var(--line); }
.work-filler--yellow { background: var(--yellow); box-shadow: none; }
.work-filler .wf-icon { display: block; width: 44px; height: 44px; }
.work-filler .wf-icon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.work-filler h3 { font-size: 1.0625rem; letter-spacing: 0.06em; line-height: 1.6; }
.work-filler p { font-size: 0.8438rem; line-height: 1.9; }
.work-filler .btn, .work-filler .textlink { margin-top: auto; align-self: flex-start; font-size: 0.8125rem; }
@media (max-width: 767px) { .work-filler { grid-column: span 12; } }

/* ---------- 実績詳細: 先頭は1枚、CLIENT/PROJECT の下に切り替え式ギャラリー ---------- */
.workdetail-hero { margin-bottom: clamp(40px, 5vw, 72px); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--white); }
.workdetail-hero img { width: 100%; height: auto; display: block; }
.gallery { position: relative; margin-top: clamp(40px, 5vw, 64px); }
.gallery__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.gallery__stage { position: relative; border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); aspect-ratio: 16 / 10.5; }
.gallery__track { display: flex; height: 100%; transition: transform 0.7s var(--ease-out); will-change: transform; }
.gallery__item { flex: 0 0 100%; height: 100%; display: grid; place-items: center; background: var(--paper); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery__item--sp { position: relative; background: var(--paper); }
/* 親が height:auto（aspect-ratio）だと % 高さが効かず画像が枠外にはみ出して切れる。
   絶対配置で枠いっぱいにし、contain で左右余白を許容して全体表示する */
.gallery__item--sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 0; box-shadow: 0 0 0 1px var(--line); }
.gallery__cap { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 5px 16px; border-radius: var(--radius-pill); background: rgba(26, 26, 26, 0.82); color: var(--white); font-size: 0.6875rem; letter-spacing: 0.08em; pointer-events: none; }
.gallery__ctrl { display: flex; align-items: center; gap: 12px; }
.gallery__btn { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out); }
.gallery__btn:hover { background: var(--yellow); color: var(--ink); }
.gallery__btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gallery__dots { display: flex; gap: 8px; }
.gallery__dots button { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); transition: background 0.3s; }
.gallery__dots button[aria-current="true"] { background: var(--ink); }
.gallery__count { font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: 0.12em; opacity: 0.6; }
@media (max-width: 767px) { .gallery__stage { aspect-ratio: 4 / 3; } }

/* ---------- AI駆動SNS運用: モニター枠 ---------- */
.monitor-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; padding: 8px 18px; border-radius: var(--radius-pill); background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.08em; }
.monitor-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------- TEGOU LAB: パスワードゲート・リンクなしカード ---------- */
.lab-gate { max-width: 520px; margin-inline: auto; background: var(--white); border-radius: var(--radius); padding: clamp(32px, 4vw, 48px); box-shadow: 0 0 0 1px var(--line); }
.lab-gate__form { display: flex; gap: 10px; margin-top: 24px; }
.lab-gate__form input { flex: 1; font: inherit; font-family: var(--font-en); font-size: 1.25rem; letter-spacing: 0.3em; padding: 12px 18px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--white); min-width: 0; }
.lab-gate__form input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--yellow-pale); }
.lab-gate__err { margin-top: 14px; font-size: 0.8125rem; font-weight: 700; color: #B42318; }
.lab-card--nolink .lab-card__body { padding-top: clamp(28px, 3vw, 40px); }
.lab-card__url { font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: 0.1em; opacity: 0.55; }
.reason-badge { display: inline-block; margin-bottom: 18px; padding: 6px 18px; border-radius: var(--radius-pill); background: var(--yellow); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.14em; line-height: 1.6; }
/* 実績一覧: 幅の割り当ては nth-child でなくクラス（埋めカードが入っても 8+4 / 4+8 / 4+4 のリズムを保つ） */
.works-grid--list .work-card:nth-child(n) { grid-column: span 4; }
.works-grid--list .work-card.work-card--w8 { grid-column: span 8; }
@media (max-width: 767px) { .works-grid--list .work-card:nth-child(n), .works-grid--list .work-card--w8 { grid-column: span 12; } }
/* ---------- 実績カード: 本文が次の行に被る不具合の根治 ----------
   原因: サムネの <span> が inline のため aspect-ratio が効かず、中の img の height:100% が
   グリッドで引き伸ばされたカードの高さに対して解決される（循環）。img がカードいっぱいに伸び、
   本文（タイトル・タグ）がカードの外に押し出されていた。1行タイトルでは行間隔に隠れ、
   2行になると次の行のカードに被る。→ サムネを block にし、img は絶対配置で cover する */
.work-card__thumb { display: block; }
.work-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =============================================================
   2026-09-07 修正6対応（TEGOUリニューアルプロンプト（修正6））
   ============================================================= */

/* ---------- SP: 見出しの <br> を効かせない
   「、」の直後で改行すると2行目が入りきらず「で。」だけが折り返す（添付スクショ）。SPでは自然に折り返させる ---------- */
@media (max-width: 767px) {
  h1 br, h2 br, h3 br, .t-h2 br, .t-h3 br { display: none; }
}

/* ---------- SP: フッターのサブ項目は2カラム（例: ウェブサイト制作｜マーケティング代行） ---------- */
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .fcol ul { grid-template-columns: 1fr 1fr; column-gap: 18px; }
}

/* ---------- SP: 共通メニュー
   グロナビと同じ8項目を1画面に収める（高さは vh 基準）。
   現れ方: 黄色い幕が降りる → 幕が上がって墨の面が出る → 項目がマスクから順に立ち上がる。
   消え方: 項目が沈む → 黄色い幕が降りて覆う → 幕ごと上へ抜ける。
   ★ヘッダーの backdrop-filter は fixed の基準を自分に変えるので、SPでは使わない（メニューがヘッダーの高さに潰れる） ---------- */
@media (max-width: 1079px) {
  .site-header.is-scrolled { backdrop-filter: none; background: rgba(255, 216, 0, 0.96); }
  .site-nav {
    opacity: 1; visibility: hidden; overflow: hidden;
    padding: calc(64px + 6vh) clamp(20px, 6vw, 40px) 5vh;
    gap: clamp(6px, 1.4vh, 16px);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.55s var(--ease-out) 0.35s, visibility 0s linear 0.9s;
  }
  .site-nav::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--yellow); clip-path: inset(0 0 0 0); transition: clip-path 0.4s var(--ease-out); pointer-events: none; }
  .site-nav::after { content: "MENU"; position: absolute; right: -0.04em; bottom: -0.1em; font-family: var(--font-en); font-weight: 600; font-size: clamp(5.5rem, 26vw, 11rem); line-height: 1; letter-spacing: 0.02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16); pointer-events: none; }
  body.nav-open .site-nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 0.6s var(--ease-out) 0s, visibility 0s; }
  body.nav-open .site-nav::before { clip-path: inset(0 0 100% 0); transition: clip-path 0.6s var(--ease-out) 0.3s; }
  .site-nav > a { position: relative; z-index: 3; overflow: hidden; opacity: 0; transition: opacity 0.22s; }
  .site-nav > a .nav-flip { transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
  body.nav-open .site-nav > a { opacity: 1; transition: opacity 0.35s calc(0.42s + var(--i, 0) * 0.055s); }
  body.nav-open .site-nav > a .nav-flip { transform: none; transition: transform 0.7s var(--ease-out) calc(0.42s + var(--i, 0) * 0.055s); }
  .site-nav > :nth-child(1) { --i: 0; } .site-nav > :nth-child(2) { --i: 1; } .site-nav > :nth-child(3) { --i: 2; } .site-nav > :nth-child(4) { --i: 3; }
  .site-nav > :nth-child(5) { --i: 4; } .site-nav > :nth-child(6) { --i: 5; } .site-nav > :nth-child(7) { --i: 6; } .site-nav > :nth-child(8) { --i: 7; }
  .site-nav a:not(.btn) { font-size: clamp(1.05rem, 2.6vh, 1.4rem); padding-block: 4px; }
  .site-nav .nav-flip .l-en { font-size: clamp(1.05rem, 2.6vh, 1.4rem); }
  .site-nav .nav-flip .l-jp { font-size: 0.65rem; }
  .site-nav .btn { margin-top: clamp(6px, 1.5vh, 18px); }
  body.nav-open .site-header__logo { position: relative; z-index: 111; }
  body.nav-open .site-header__logo img { filter: invert(1) brightness(1.4); }
  body.nav-open .menu-toggle { background: var(--yellow); }
  body.nav-open .menu-toggle span { background: var(--ink); }
}

/* ---------- トップ MV下マーキー: ロールオーバーでカラーに
   修正5の紙色フィルター（.marquee--soft .mq-card img）が :hover の filter:none と同じ詳細度で後勝ちしていた ---------- */
.marquee--soft .mq-card:hover img { filter: none; }

/* ---------- トップ WORKS: ホバー時の情報が左に寄る不具合
   .work-card__body の align-content:start（修正4）が、column＋wrap のフレックスで「行」を左に寄せていた ---------- */
.works-grid--six .work-card__body { align-content: center; flex-wrap: nowrap; }

/* ---------- トップ CONCEPT: 動画→生成イメージ（3:2） ---------- */
.concept-layout .sec-visual--photo { aspect-ratio: 3 / 2; }

/* ---------- 事業内容: クリエイティブ事業の枠線（上辺）が消える不具合
   カードは非配置要素で、position:relative の .page-hero より先に描かれる。box-shadow の上辺2.5pxが
   ヒーローの背景の下に隠れていた → カードを配置要素にして描画順を後ろへ ---------- */
.biz-card { position: relative; }
.biz-card__more { margin-top: auto; padding-top: 12px; font-size: 0.8125rem; } /* 修正8: カード全体がページ内リンク */


/* ---------- 料金: ページタイトル付近の本文とサービス別ナビの間に1行分の余白 ---------- */
.page-hero .svc-tabs { margin-top: 2rem; }

/* ---------- 料金: 白パネルに罫線を引いたテーブル（偶数行ゼブラは廃止）。左列は太字＋左に余白
   見出し行（thead）は黄色ベタ＋墨字の太字。背景色を持たない見出し行はここで共通に決まる ---------- */
.rate-table { border-collapse: separate; border-spacing: 0; background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 14px; overflow: hidden; }
.rate-table th, .rate-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 0; }
.rate-table tr > :last-child { border-right: 0; }
.rate-table tbody tr:last-child > * { border-bottom: 0; }
.rate-table thead th { background: var(--yellow); font-size: 0.875rem; letter-spacing: 0.1em; opacity: 1; color: var(--ink); font-weight: 700; border-bottom: 1.5px solid var(--line-strong); border-right-color: rgba(26, 26, 26, 0.2); }
.rate-table tbody tr:nth-child(even), .faq-panel .rate-table tbody tr:nth-child(even), .step-panel .rate-table tbody tr:nth-child(even) { background: transparent; }
.rate-table tbody tr:nth-child(even) td:first-child, .rate-table tbody tr:nth-child(even) th:first-child,
.rate-table tbody tr:nth-child(even) td:last-child, .rate-table tbody tr:nth-child(even) th:last-child { border-radius: 0; }
.rate-table tr > :first-child { padding-left: 24px; }
.rate-table tbody tr > :first-child { font-weight: 700; }
.rate-table tbody tr:hover { background: rgba(255, 216, 0, 0.1); }
.check-table td.ok { font-weight: 700; }

/* ---------- 料金トップ: セットプラン・サービス別カードのアイコン ---------- */
.price-card__icon { display: block; width: 46px; height: 46px; }
.price-card__icon svg { width: 100%; height: 100%; stroke: var(--ink); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 会社案内: 会社概要をコンテンツ幅いっぱいに ---------- */
.overview-table { max-width: none; }
.overview-table .spec-table th { width: 18%; }

/* ---------- 選ばれる理由: VOICE の右にイメージ ---------- */
.voice-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.voice-layout .sec-visual { aspect-ratio: 3 / 2; box-shadow: 0 14px 40px -18px rgba(26, 26, 26, 0.35); }
@media (max-width: 900px) { .voice-layout { grid-template-columns: 1fr; } }

/* ---------- 実績詳細 SCREENS: 前後のスライドを左右に見せる型
   送りボタンは中央スライドの左右の縁に、ページ送り（ドット・番号）は下に ---------- */
.gallery--peek .gallery__stage { overflow: hidden; border-radius: 0; background: transparent; box-shadow: none; aspect-ratio: auto; padding-block: 6px; }
.gallery--peek .gallery__track { display: flex; align-items: center; height: auto; transition: transform 0.7s var(--ease-out); }
.gallery--peek .gallery__item { flex: 0 0 72%; margin-inline: 1%; aspect-ratio: 16 / 10.5; height: auto; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--line); transform: scale(0.94); opacity: 0.45; transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out); }
.gallery--peek .gallery__item.is-cur { transform: none; opacity: 1; }
/* 幅はPCと同じ。スマホ表示は contain で左右余白を許容し上下切れを防ぐ */
.gallery--peek .gallery__item--sp { background: var(--paper); }
.gallery--peek .gallery__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; box-shadow: 0 8px 22px -8px rgba(26, 26, 26, 0.55); }
.gallery--peek .gallery__btn:hover { transform: translateY(-50%) scale(1.06); }
.gallery--peek .gallery__btn--prev { left: calc(14% - 24px); }
.gallery--peek .gallery__btn--next { right: calc(14% - 24px); }
.gallery--peek .gallery__cap { left: calc(14% + 16px); bottom: 22px; }
.gallery__pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
@media (max-width: 767px) {
  .gallery--peek .gallery__item { flex-basis: 84%; aspect-ratio: 4 / 3; }
  .gallery--peek .gallery__btn { width: 40px; height: 40px; }
  .gallery--peek .gallery__btn--prev { left: calc(8% - 20px); }
  .gallery--peek .gallery__btn--next { right: calc(8% - 20px); }
  .gallery--peek .gallery__cap { left: calc(8% + 12px); bottom: 16px; }
}

/* ---- 修正9: 会社案内 代表メッセージ（旧サイトの背景2枚＋白サイン） ---- */
.ceo-message { position: relative; overflow: hidden; background-color: #020101; color: #fff; --parallax-img: url("/assets/img/pages/message-bg.jpg"); /* 修正10: webp 2枚重ね → 合成した JPG 1枚／修正11: 背景はパララックス用レイヤー（.parallax-bg）に */ }
.ceo-message::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(2, 1, 1, 0.35); pointer-events: none; } /* 修正11: 背景レイヤー(0) < 暗幕(1) < 本文(2) */
.ceo-message > * { position: relative; z-index: 2; }
.ceo-message__title { font-size: clamp(1.25rem, 2.6vw, 1.875rem); line-height: 1.9; letter-spacing: .12em; text-align: center; font-weight: 700; margin-bottom: clamp(36px, 5vw, 64px); }
.ceo-message__body p { font-size: 0.9375rem; line-height: 2.3; font-weight: 500; }
.ceo-message__body p + p { margin-top: 1.6em; }
.ceo-message__sign { margin-top: clamp(36px, 5vw, 56px); text-align: right; }
.ceo-message__sign p { font-size: 0.875rem; letter-spacing: .1em; }
.ceo-message__sign p span { font-size: 1.25rem; margin-left: .3em; }
.ceo-message__sign img { display: inline-block; width: min(300px, 56%); height: auto; margin-top: 10px; }
.ceo-message__link { margin-top: 28px; }
.ceo-message .textlink { color: #fff; }
@media (max-width: 767px) { .ceo-message__title { text-align: left; } .ceo-message__title br { display: none; } }

/* ---- 修正9: お問い合わせ（フォームツール埋め込み・シミュレーター内容の受け渡し） ---- */
.formtool-embed { min-height: 320px; }
.formtool-embed iframe { display: block; width: 100%; border: 0; }
.sim-handoff { background: #fff; border-radius: var(--radius-m, 16px); padding: 24px; margin-bottom: 28px; box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.sim-handoff textarea { width: 100%; font: inherit; font-size: 0.8125rem; line-height: 1.8; padding: 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--paper, #F7F2EA); resize: vertical; }

/* ---- 修正9: SNS運用 モニター枠の残数表示 ---- */
.monitor-chip__left { margin-left: 4px; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink); }
.monitor-slots { display: flex; gap: 10px; margin: 12px 0 14px; }
.monitor-slots span { flex: 0 0 auto; min-width: 84px; padding: 8px 14px; border-radius: var(--radius-pill); text-align: center; font-weight: 700; font-size: 0.75rem; letter-spacing: .08em; background: var(--yellow); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.monitor-slots span.is-taken { background: var(--ink); color: #fff; }

/* ---- 修正9: 空撮 CASE 写真6点（3×2）＋モーダル ---- */
.aerial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.aerial-item { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-m, 12px); overflow: hidden; aspect-ratio: 3 / 2; }
.aerial-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.aerial-item:hover img, .aerial-item:focus-visible img { transform: scale(1.05); }
@media (max-width: 767px) { .aerial-grid { grid-template-columns: repeat(2, 1fr); } }
.aerial-modal { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.aerial-modal[open] { display: flex; align-items: center; justify-content: center; }
.aerial-modal::backdrop { background: rgba(10, 10, 10, 0.88); }
.aerial-modal img { max-width: min(92vw, 1600px); max-height: 86vh; width: auto; height: auto; border-radius: 8px; }
.aerial-modal__close, .aerial-modal__nav { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.aerial-modal__close { top: 20px; right: 20px; }
.aerial-modal__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.aerial-modal__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---- 修正9: 事業内容 MENU カード（イメージ画像→アイコンつきタイトル→本文→リンク） ---- */
.card--media { padding-top: 0; overflow: hidden; }
.card--media .card__media { margin: 0 calc(clamp(28px, 3vw, 44px) * -1) 4px; aspect-ratio: 3 / 2; overflow: hidden; background: #fff; }
.card--media .card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.card--media:hover .card__media img { transform: scale(1.04); }
.card__title { display: flex; align-items: center; gap: 10px; }
.card__icon--inline { flex: 0 0 auto; width: 28px; height: 28px; }
.card__icon--inline svg { stroke-width: 2; }

/* ---- 修正9: 事業内容 PRICE ブロック（2カラム） ---- */
.price-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.price-block__img { margin: 0; aspect-ratio: 3 / 2; border-radius: var(--radius-m, 16px); overflow: hidden; }
.price-block__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.price-block__list { margin-top: 20px; border-top: 1.5px solid var(--ink); }
.price-block__list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid rgba(26, 26, 26, 0.3); }
.price-block__list dt { font-size: 0.9375rem; font-weight: 500; }
.price-block__list dd { font-weight: 700; font-size: 1.0625rem; letter-spacing: .06em; white-space: nowrap; text-align: right; }
.price-block__note { margin-top: 14px; font-size: 0.75rem; opacity: .75; }
.price-block__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.price-block__detail { margin-top: 18px; font-size: 0.8125rem; }
@media (max-width: 767px) { .price-block { grid-template-columns: 1fr; } .price-block__list dd { white-space: normal; } }
.reason-people--gear { width: clamp(260px, 27vw, 430px); }
.ceo-message .container--text { max-width: 980px; }

/* ---- 修正10: 事業内容 3つの事業カードの帯（背景写真をウィンドウ全幅で） ---- */
.biz-band { position: relative; overflow: hidden; background: var(--yellow); --parallax-img: url("/assets/img/pages/bg_hero.jpg"); padding-block: clamp(56px, 7vw, 104px); }
.biz-band > .container { position: relative; }
@media (max-width: 767px) { .biz-band { --parallax-pos: 70% center; } }

/* ---- 修正11: 背景パララックス（AN.parallax）。背景レイヤーを前景より遅らせて動かす ----
   レイヤーは上下に「(画面の高さ + 帯の高さ) × 7.5%」ぶん大きく作り、JS（main.js）が最大その量だけ translateY する。
   background-attachment: fixed は iOS で効かないので使わない。動きを減らす設定の端末では動かさない（位置は中央のまま） */
.parallax-bg { position: absolute; left: 0; right: 0; top: calc(-7.5vh - 7.5%); bottom: calc(-7.5vh - 7.5%); z-index: 0; pointer-events: none; background: var(--parallax-img) var(--parallax-pos, center) / cover no-repeat; will-change: transform; }
.ceo-message > .parallax-bg { position: absolute; z-index: 0; }

/* ---- 修正12: 無料サイト診断 レポートの見本（16:9 のスライド。空撮のグリッド＋モーダルを流用） ---- */
.aerial-grid--slide .aerial-item { aspect-ratio: 16 / 9; box-shadow: 0 0 0 1px var(--line-strong), 0 14px 28px -18px rgba(26, 26, 26, 0.45); }
.aerial-grid--slide .aerial-item:hover img, .aerial-grid--slide .aerial-item:focus-visible img { transform: scale(1.02); }
@media (max-width: 767px) { .aerial-grid--slide { grid-template-columns: 1fr; } }

/* ---- 修正12: 料金「限定公開」ラベル（明るい背景用。薄いグレーの地・角丸） ---- */
.badge-limited { display: inline-block; width: fit-content; align-self: flex-start; margin: 4px 0 0; padding: 3px 10px; border-radius: 6px; background: #ECE9E3; color: #5B5750; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; vertical-align: 1px; }

/* ---- 修正12: トップ WORKS ホバー情報の縦ずれ。狭いカード（2・3枚目）は隣の広いカードと同じ行に入り、
   グリッドの stretch で箱だけ行の高さまで伸びる → inset:0 の中央が画像の中央より下になっていた。箱を画像の高さで止める ---- */
.works-grid--six .work-card { align-self: start; }

/* ---- 修正13: 実績画像を書き出し直し（PC 1200×800＝3:2／スマホ 375×800 に統一）。
   枠が 16:10.5 のままだと下端が約13px切れ、ロゴ・タブレットのモックが中央からずれるので、枠を画像と同じ 3:2 に合わせる ---- */
.mq-card, .work-card__thumb, .gallery--peek .gallery__item { aspect-ratio: 3 / 2; }
@media (max-width: 767px) { .gallery--peek .gallery__item { aspect-ratio: 3 / 2; } }
/* スマホ表示を1スライドに横並び（2〜3枚）。1枚だけのときは従来どおり contain で中央に1枚 */
.gallery--peek .gallery__item--spset { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 3.2%, 36px); }
.gallery--peek .gallery__item--spset img { position: static; inset: auto; width: 27.5%; height: auto; aspect-ratio: 375 / 800; flex: 0 0 auto; object-fit: contain; border-radius: clamp(6px, 1vw, 12px); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -18px rgba(26, 26, 26, 0.35); }

/* ---- 修正14: 空撮 CASE を9点に。スマホは2列なので、端数になる最後の1枚を横いっぱいに（診断ページの見本 --slide は1列なので対象外） ---- */
@media (max-width: 767px) { .aerial-grid:not(.aerial-grid--slide) .aerial-item:last-child:nth-child(odd) { grid-column: span 2; } }

/* ---- 修正15: 動画実績の詳細 MOVIES。縦型サムネイル（375×800）のグリッドから各ショート動画へリンク ---- */
.movie-grid-wrap { margin-top: clamp(40px, 5vw, 64px); }
.movie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.6vw, 36px) clamp(12px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
@media (max-width: 767px) { .movie-grid { grid-template-columns: repeat(2, 1fr); } }
.movie-card { display: block; }
.movie-card__thumb { position: relative; display: block; aspect-ratio: 375 / 800; border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line); transform: translateZ(0); }
.movie-card__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.movie-card:hover .movie-card__thumb img, .movie-card:focus-visible .movie-card__thumb img { transform: scale(1.035); }
.movie-card__play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; transition: transform 0.3s var(--ease-out); }
.movie-card__play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
.movie-card:hover .movie-card__play, .movie-card:focus-visible .movie-card__play { transform: scale(1.1); }
.movie-card__name { display: block; margin-top: 12px; font-size: 0.8438rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; }

/* ---- 修正16: MOVIES の列数は本数で決める（5本＝5列・それ以外4列）。サムネイルの比は画像の実寸からインラインで指定。
   注記（※）と、先頭画像を動画リンクにする型（再生マーク大） ---- */
.movie-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }
@media (max-width: 767px) { .movie-grid { grid-template-columns: repeat(2, 1fr); } }
.movie-notes { list-style: none; margin: clamp(20px, 2.4vw, 28px) 0 0; padding: 0; font-size: 0.75rem; line-height: 1.9; opacity: 0.7; }
.workdetail-hero--video a { position: relative; display: block; }
.workdetail-hero--video img { transition: transform 0.8s var(--ease-out); }
.workdetail-hero--video a:hover img, .workdetail-hero--video a:focus-visible img { transform: scale(1.02); }
.movie-card__play--l { width: clamp(64px, 7vw, 96px); height: clamp(64px, 7vw, 96px); margin: 0; transform: translate(-50%, -50%); }
.movie-card__play--l svg { width: 36%; height: 36%; }
.workdetail-hero--video a:hover .movie-card__play--l, .workdetail-hero--video a:focus-visible .movie-card__play--l { transform: translate(-50%, -50%) scale(1.08); }

/* ---- 修正17: 実績一覧・MORE WORKS のサムネイル。動画は 16:9、左上に種別ラベル（WEB＝黄地に黒／EC・MOVIE＝濃いグレー地に白） ---- */
.work-card__thumb--movie { aspect-ratio: 16 / 9; }
.work-kinds { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 4px; pointer-events: none; }
.work-kind { display: block; padding: 3px 8px 2px; border-radius: 4px; background: #3A3A3A; color: var(--white); font-family: var(--font-en, inherit); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.12em; line-height: 1.4; }
.work-kind--web { background: var(--yellow); color: var(--ink); }

/* ---- 修正18: 絞り込みボタンを英字（ALL / WEB / EC / MOVIE）に。種別ラベルの配色を変更（WEB＝黒地に白／EC・MOVIE＝白地に黒） ---- */
.filterbar button { font-family: var(--font-en); font-weight: 500; letter-spacing: 0.12em; }
.work-kind { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.14); }
.work-kind--web { background: var(--ink); color: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22); }

/* ==========================================================
   修正19（260920）: 空撮パッケージ CASE の先頭に空撮動画2本（2カラム・SPは1カラム）
   ========================================================== */
.aerial-movies { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(10px, 1.6vw, 20px); margin-bottom: clamp(10px, 1.6vw, 20px); }
.aerial-movie { border-radius: var(--radius-m, 12px); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink); }
.aerial-movie video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .aerial-movies { grid-template-columns: 1fr; } }

/* ==========================================================
   修正20（260920）: GRAPHIC 実績のまとめページ（年ごとに積む・サムネイル＋ツール名・拡大なし）
   ＋ 事業内容 デジタルコーチングの研修実績リスト
   ========================================================== */
.gfx-year { display: grid; grid-template-columns: 120px 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-strong); }
.gfx-year__head { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; line-height: 1; position: sticky; top: 100px; align-self: start; }
.gfx-year__head .en { font-family: var(--font-en); letter-spacing: 0.04em; }
.gfx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.8vw, 24px); }
.gfx-item { display: flex; flex-direction: column; gap: 10px; }
.gfx-item__thumb { display: block; position: relative; aspect-ratio: 1 / 1; background: var(--white); border-radius: var(--radius-m, 12px); box-shadow: 0 0 0 1px var(--line, rgba(26,26,26,0.08)); }
.gfx-item__thumb img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(26, 26, 26, 0.22)); }
.gfx-item__name { font-size: 0.8125rem; font-weight: 700; line-height: 1.5; }
@media (max-width: 1023px) { .gfx-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .gfx-year { grid-template-columns: 1fr; gap: 16px; }
  .gfx-year__head { position: static; }
  .gfx-grid { grid-template-columns: repeat(2, 1fr); }
}
.work-kind--graphic { background: var(--yellow); color: var(--ink); box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.14); }

.coach-record { margin-top: clamp(40px, 5vw, 64px); }
.coach-record__title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 20px; }
.coach-record__ai { background: var(--yellow); color: var(--ink); border-radius: var(--radius-m, 12px); padding: clamp(24px, 3vw, 36px); margin-bottom: clamp(20px, 2.4vw, 28px); }
.coach-record__ai h4 { font-size: clamp(1.125rem, 1.8vw, 1.375rem); font-weight: 700; margin-bottom: 8px; }
.coach-record__ai > p { font-size: 0.875rem; margin-bottom: 16px; max-width: 46em; }
.coach-record .coach-record__ai li { font-size: 1rem; font-weight: 700; }
.coach-record__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); }
.coach-record__cols h4 { font-size: 0.9375rem; font-weight: 700; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--line-strong); }
.coach-record ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.coach-record li { position: relative; padding-left: 1.1em; font-size: 0.8438rem; line-height: 1.7; }
.coach-record li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
@media (max-width: 767px) { .coach-record__cols { grid-template-columns: 1fr; } }

/* ==========================================================
   修正21（260920）: 料金ページ「ラッキー。」— 黄色の文字は白地で読みづらいので黒の縁取りを付ける
   ========================================================== */
.t-outline-ink { -webkit-text-stroke: 0.09em var(--ink); paint-order: stroke fill; }

/* ==========================================================
   修正22（260920）: 制作実績一覧のリキッド表示（$WORKS_LIQUID = true のときだけ .works-liquid が出る）
   画面幅いっぱいに、1枚 340px 以上で入るだけ並べる。8+4 の大小はやめて同じ幅に
   ========================================================== */
.works-liquid { padding-inline: var(--gutter); }
.works-liquid .works-grid--list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(20px, 2.2vw, 36px); row-gap: clamp(36px, 4vw, 56px); align-items: start; }
.works-liquid .works-grid--list .work-card:nth-child(n), .works-liquid .works-grid--list .work-card.work-card--w8, .works-liquid .works-grid--list .work-filler { grid-column: auto; }
.works-liquid .works-grid--list .work-filler { align-self: stretch; }

/* ==========================================================
   修正23（2026-09-20）
   ① 制作実績一覧（リキッド）: 同じ大きさで単調 → 大きいカード（2列×2段）を混ぜて強弱をつける。
      列数は幅で固定（1〜6列）。大きいカードは左・右と交互に寄せ、空いたマスは後ろの小さいカードが詰める（dense）
      大きいカードは inc/config.php の $WORKS_BIG で指定。元の並びは $WORKS_LIQUID = false
   ④ LAB の QR モーダルを画面の上下左右中央に（リセットCSSの margin:0 で左上に寄っていた）
   ========================================================== */
.works-liquid .works-grid--list { grid-template-columns: 1fr; grid-auto-flow: row dense; align-items: stretch; }
@media (min-width: 640px)  { .works-liquid .works-grid--list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .works-liquid .works-grid--list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1440px) { .works-liquid .works-grid--list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1860px) { .works-liquid .works-grid--list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 2300px) { .works-liquid .works-grid--list { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.works-liquid .works-grid--list .work-card { align-self: start; }
@media (min-width: 640px) {
  .works-liquid .works-grid--list .work-card.work-card--big { grid-column: span 2; }
  .works-liquid .works-grid--list .work-card--big .work-card__body h3 { font-size: clamp(1.125rem, 1.4vw, 1.375rem); }
}
@media (min-width: 1024px) { /* 3列以上: 2列×2段。サムネイルを枠いっぱいに伸ばして、横の小さいカード2段と高さを揃える */
  .works-liquid .works-grid--list .work-card.work-card--big { grid-row: span 2; align-self: stretch; display: flex; flex-direction: column; }
  .works-liquid .works-grid--list .work-card.work-card--big-r { grid-column: span 2 / -1; }
  .works-liquid .works-grid--list .work-card--big .work-card__thumb { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
}
@media (min-width: 1860px) { /* 5列以上では、末尾近くの大きいカードは横に並ぶ小さいカードが足りないので普通の大きさに戻す */
  .works-liquid .works-grid--list .work-card.work-card--big-late { grid-column: auto; grid-row: auto; align-self: start; display: block; }
  .works-liquid .works-grid--list .work-card--big-late .work-card__thumb { flex: none; aspect-ratio: 3 / 2; }
  .works-liquid .works-grid--list .work-card--big-late .work-card__thumb--movie { aspect-ratio: 16 / 9; }
  .works-liquid .works-grid--list .work-card--big-late .work-card__body h3 { font-size: 1.0625rem; }
}
.lab-qr { margin: auto; inset: 0; position: fixed; max-height: calc(100svh - 32px); overflow: auto; }

/* ==========================================================
   修正24（2026-09-20）フッターの並び順を整理。子の項目は一段下げて「-」を付ける
   SP の2列並び（以前の指示）はそのまま
   ========================================================== */
.site-footer .fcol li.fsub { padding-left: 1.1em; position: relative; }
.site-footer .fcol li.fsub::before { content: "-"; position: absolute; left: 0; opacity: 0.5; }

/* =============================================================
   修正27（2026-09-20）BLOG — 一覧・記事・トップのヘッドライン
   記事は inc/blog/*.md。読みものとして、本文の幅は 720px に絞る
   ============================================================= */
.blog-cat { display: inline-block; font-family: var(--font-en); font-weight: 500; font-size: 0.6875rem; letter-spacing: 0.16em; line-height: 1; padding: 5px 10px 4px; border-radius: var(--radius-pill); background: var(--ink); color: var(--white); }
.blog-flag { font-size: 0.625rem; padding: 2px 8px; border-radius: var(--radius-pill); background: #C8321E; color: #fff; letter-spacing: 0.06em; }

/* カテゴリの絞り込み */
.blog-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 56px); }
.blog-cats a { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 20px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-family: var(--font-en); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.12em; transition: 0.3s; }
.blog-cats a small { font-family: var(--font-ja); font-size: 0.6875rem; letter-spacing: 0.06em; opacity: 0.7; }
.blog-cats a:hover { background: var(--yellow-pale); }
.blog-cats a.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

/* カード */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 44px) clamp(20px, 2.4vw, 36px); }
@media (min-width: 640px)  { .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.blog-thumb { display: block; aspect-ratio: 1200 / 630; border-radius: var(--radius); overflow: hidden; background: var(--white); position: relative; box-shadow: inset 0 0 0 1px var(--line); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb--type { display: flex; flex-direction: column; justify-content: space-between; padding: 7% 8%; container-type: inline-size; transition: transform 0.6s var(--ease-out); }
.blog-card:hover .blog-thumb--type { transform: translateY(-4px); }
.blog-thumb__en { font-family: var(--font-en); font-weight: 600; font-size: 15cqw; line-height: 0.9; letter-spacing: 0.04em; color: transparent; -webkit-text-stroke: 1.5px var(--tc, var(--ink)); }
.blog-thumb__ttl { font-weight: 700; font-size: 4.6cqw; line-height: 1.55; letter-spacing: 0.06em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-thumb--type.c-yellow { background: var(--yellow); color: var(--ink); }
.blog-thumb--type.c-ink    { background: var(--ink); color: var(--white); --tc: var(--yellow); }
.blog-thumb--type.c-ink .blog-thumb__ttl { color: var(--white); }
.blog-thumb--type.c-paper  { background: #EDE5D6; color: var(--ink); }
.blog-thumb--type.c-white  { background: var(--white); color: var(--ink); }
.blog-card__body { display: flex; flex-direction: column; gap: 10px; }
.blog-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 0.75rem; }
.blog-card__meta time { font-family: var(--font-en); letter-spacing: 0.1em; opacity: 0.7; }
.blog-card__ttl { font-weight: 700; font-size: 1.0625rem; line-height: 1.65; letter-spacing: 0.06em; }
.blog-card:hover .blog-card__ttl { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.blog-card__desc { font-size: 0.8125rem; line-height: 1.85; opacity: 0.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 一覧の先頭の1本は横長で大きく */
@media (min-width: 1024px) {
  .blog-card--lead { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: clamp(32px, 4vw, 64px); }
  .blog-card--lead .blog-thumb { flex: 0 0 58%; }
  .blog-card--lead .blog-card__ttl { font-size: clamp(1.375rem, 2vw, 1.875rem); line-height: 1.6; }
  .blog-card--lead .blog-card__desc { font-size: 0.9063rem; -webkit-line-clamp: 4; }
}
@media (min-width: 640px) and (max-width: 1023px) { .blog-card--lead { grid-column: 1 / -1; } }
.blog-pages { display: flex; justify-content: center; gap: 8px; margin-top: clamp(48px, 6vw, 80px); }
.blog-pages a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-pill); font-family: var(--font-en); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.blog-pages a.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

/* 記事 */
.blog-article { padding: calc(96px + clamp(40px, 6vw, 80px)) 0 var(--sec-pad-s); }
.blog-col { max-width: calc(var(--maxw-text) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.blog-col--wide { max-width: calc(960px + var(--gutter) * 2); }
.blog-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.75rem; margin-bottom: 20px; }
.blog-article__meta time { font-family: var(--font-en); letter-spacing: 0.1em; font-size: 0.8125rem; }
.blog-article__meta > span:not(.blog-flag) { opacity: 0.6; }
.blog-article__title { font-size: clamp(1.625rem, 3.4vw, 2.5rem); line-height: 1.55; letter-spacing: 0.06em; }
.blog-article__by { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; }
.blog-article__by img { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--yellow); }
.blog-article__eye { margin-top: clamp(32px, 4vw, 56px); }
.blog-article__head { margin-bottom: clamp(36px, 5vw, 64px); }

.blog-toc { background: var(--paper); border-radius: var(--radius); padding: 24px 28px; margin-bottom: clamp(36px, 5vw, 56px); }
.blog-toc__ttl { font-weight: 700; font-size: 0.8125rem; letter-spacing: 0.12em; margin-bottom: 10px; }
.blog-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 6px; }
.blog-toc li { counter-increment: toc; display: flex; gap: 12px; font-size: 0.875rem; line-height: 1.7; }
.blog-toc li::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-en); font-size: 0.75rem; opacity: 0.5; padding-top: 0.2em; }
.blog-toc a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

.blog-body { font-size: 1rem; line-height: 2.05; letter-spacing: 0.05em; }
.blog-body > * + * { margin-top: 1.7em; }
.blog-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.5625rem); line-height: 1.6; letter-spacing: 0.08em; margin-top: 3em; padding-bottom: 0.6em; border-bottom: 2px solid var(--ink); scroll-margin-top: 110px; }
.blog-body h3 { font-size: 1.125rem; line-height: 1.7; margin-top: 2.4em; padding-left: 14px; border-left: 5px solid var(--yellow); }
.blog-body h4 { font-size: 1rem; margin-top: 2em; }
.blog-body a:not(.blog-embed):not(.btn):not(.blog-banner) { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.blog-body a:not(.blog-embed):not(.btn):not(.blog-banner):hover { background: var(--yellow-pale); }
.blog-body strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--yellow) 62%); }
.blog-body ul, .blog-body ol { padding-left: 1.5em; display: grid; gap: 0.5em; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li::marker { color: rgba(26, 26, 26, 0.5); font-family: var(--font-en); }
.blog-body blockquote { border-left: 4px solid var(--line-strong); padding: 4px 0 4px 20px; opacity: 0.8; font-size: 0.9375rem; }
.blog-body hr { border: 0; text-align: center; margin-block: 3em; }
.blog-body hr::before { content: "・・・"; letter-spacing: 1em; opacity: 0.4; }
.blog-body code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.875em; background: var(--paper); padding: 2px 6px; border-radius: 6px; }
.blog-body pre { background: var(--ink); color: #F2EEE6; border-radius: 14px; padding: 20px 24px; overflow-x: auto; font-size: 0.8125rem; line-height: 1.8; letter-spacing: 0; }
.blog-body pre code { background: none; padding: 0; color: inherit; }
.blog-body figure img { width: 100%; height: auto; border-radius: 14px; }
.blog-body figcaption { font-size: 0.75rem; opacity: 0.65; margin-top: 8px; text-align: center; }
.blog-table { overflow-x: auto; }
.blog-body table { width: 100%; border-collapse: collapse; font-size: 0.875rem; line-height: 1.7; }
.blog-body th, .blog-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.blog-body th { border-bottom: 2px solid var(--ink); white-space: nowrap; }
.blog-video { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); }
.blog-video iframe { width: 100%; height: 100%; border: 0; }
/* 1行にアドレスだけ書いたときのカード */
.blog-embed { display: flex; align-items: stretch; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-strong); transition: 0.3s; line-height: 1.7; }
.blog-embed:hover { background: var(--yellow-pale); }
.blog-embed__img { flex: 0 0 34%; max-width: 220px; }
.blog-embed__img img, .blog-embed__img .blog-thumb { width: 100%; height: 100%; object-fit: cover; border-radius: 0; aspect-ratio: auto; }
.blog-embed__body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 18px; min-width: 0; }
.blog-embed__label { font-family: var(--font-en); font-size: 0.6875rem; letter-spacing: 0.16em; opacity: 0.6; }
.blog-embed__ttl { font-weight: 700; font-size: 0.9375rem; }
.blog-embed__desc { font-size: 0.75rem; opacity: 0.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.blog-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(40px, 5vw, 64px); }
.blog-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.blog-share .en { font-size: 0.75rem; letter-spacing: var(--ls-en); text-transform: uppercase; margin-right: 6px; }
.blog-share a, .blog-share button { padding: 7px 16px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.75rem; letter-spacing: 0.06em; transition: 0.3s; }
.blog-share a:hover, .blog-share button:hover { background: var(--ink); color: var(--white); box-shadow: none; }
.blog-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--paper); font-size: 0.8125rem; line-height: 1.9; }
.blog-author > img { flex: 0 0 56px; width: 56px; height: 56px; padding: 11px; border-radius: 50%; background: var(--yellow); }
.blog-author__name { font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.08em; margin-bottom: 4px; }
.blog-author a { text-decoration: underline; text-underline-offset: 0.3em; }
.blog-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.blog-pager a { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 0.8125rem; line-height: 1.7; font-weight: 700; transition: 0.3s; min-width: 0; }
.blog-pager a:hover { background: var(--yellow-pale); }
.blog-pager .en { font-size: 0.6875rem; letter-spacing: 0.16em; font-weight: 500; opacity: 0.6; }
.blog-pager__next { text-align: right; }
@media (max-width: 639px) { .blog-pager { grid-template-columns: 1fr; } .blog-embed__img { flex-basis: 30%; } .blog-embed__desc { display: none; } }

/* トップ最下部のヘッドライン */
.blog-headline { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 1024px) { .blog-headline { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; } }
.blog-headline__head .sec-act { text-align: left; margin-top: 28px; }
.blog-headline__list { border-top: 1px solid var(--line-strong); }
.blog-headline__list a { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; padding: 22px 8px; border-bottom: 1px solid var(--line-strong); transition: background 0.3s, padding 0.4s var(--ease-out); }
.blog-headline__list a:hover { background: var(--yellow-pale); padding-inline: 18px; }
.blog-headline__list time { font-family: var(--font-en); font-size: 0.8125rem; letter-spacing: 0.1em; opacity: 0.7; }
.blog-headline__list .ttl { font-weight: 700; font-size: 0.9688rem; line-height: 1.7; letter-spacing: 0.06em; }
.blog-headline__list .arrow { font-family: var(--font-en); transition: transform 0.4s var(--ease-out); }
.blog-headline__list a:hover .arrow { transform: translateX(6px); }
@media (max-width: 639px) {
  .blog-headline__list a { grid-template-columns: auto 1fr auto; padding: 18px 4px; }
  .blog-headline__list .ttl { grid-column: 1 / 3; grid-row: 2; }
  .blog-headline__list .arrow { grid-column: 3; grid-row: 1 / 3; }
  .blog-headline__list .blog-cat { justify-self: start; }
}

/* =============================================================
   修正28（2026-09-20）BLOG: 本文の文字を120%に／カテゴリのラベルは一番長い「RELEASE」に合わせて同じ幅／グロナビに BLOG
   ============================================================= */
.blog-body { font-size: 1.2rem; }
.blog-body h2 { font-size: clamp(1.5rem, 2.64vw, 1.875rem); }
.blog-body h3 { font-size: 1.35rem; }
.blog-body h4 { font-size: 1.2rem; }
.blog-body blockquote { font-size: 1.125rem; }
.blog-body pre { font-size: 0.9375rem; }
.blog-body table { font-size: 1.05rem; }
.blog-cat { min-width: 6.9em; text-align: center; white-space: nowrap; }
/* グロナビが8項目になったぶん、PC幅が狭いときは項目の間隔を詰める */
@media (min-width: 1080px) and (max-width: 1279px) { .site-nav { gap: clamp(14px, 1.9vw, 24px); } }

/* ==========================================================
   修正29（2026-09-20）制作実績一覧: サムネイルの比率を必ず守る（WEB系 3:2＝1200x800／動画系 16:9＝1600x900）＋大中小の3パターン
   修正23の「大きいカード」はサムネイルを枠に合わせて伸ばしていたので比率が崩れた → 行組みに変更。
   大＝1行2枚／中＝3枚／小＝4枚（PC）。1行の中は高さを揃え、幅を比率に比例させる（--f・--gn は works/index.php の JS が入れる）
   並びは inc/config.php の $WORKS_ROWS
   ========================================================== */
.works-liquid .works-grid--list.works-just { display: flex; flex-wrap: wrap; align-items: flex-start; --wg: clamp(16px, 2vw, 32px); gap: clamp(36px, 4vw, 56px) var(--wg); }
.works-just > .work-card, .works-just > .work-filler { flex: none; min-width: 0; width: calc((100% - var(--wg) * var(--gn, 2)) * var(--f, 0.33333)); }
.works-just > .work-filler { align-self: stretch; }
.works-just .work-card__thumb { aspect-ratio: 3 / 2; }
.works-just .work-card__thumb--movie { aspect-ratio: 16 / 9; }
.works-just [data-size="L"] .work-card__body h3 { font-size: clamp(1.125rem, 1.4vw, 1.375rem); }
.works-just [data-size="S"] .work-card__body h3 { font-size: 0.9375rem; }
@media (max-width: 639px) { /* JS が効く前・JS なしのとき */
  .works-just:not(.is-laid) > .work-card, .works-just:not(.is-laid) > .work-filler { width: 100%; }
  .works-just [data-size="S"] .work-card__body h3 { font-size: 0.8125rem; line-height: 1.5; }
  .works-just [data-size="S"] .tag { font-size: 0.625rem; }
}

/* =============================================================
   修正31（2026-09-20）BLOG: 記事の文字サイズを note と同程度に／目次・プロフィール・記事内カードの余白／トップの BLOG は4カラムのサムネイル
   note の実測（PC 1280px）: タイトル 32px/48px・大見出し 28px/36px・本文 18px/36px。SP は本文 16px/32px・大見出し 20px。
   ここだけは画面幅で伸び縮みさせず px で固定する（読みものなので、note と同じく幅が変わっても文字の大きさは変えない）
   ============================================================= */
.blog-article__title { font-size: 24px; line-height: 1.5; letter-spacing: 0.04em; }
.blog-body { font-size: 16px; line-height: 2; letter-spacing: 0.02em; }
.blog-body h2 { font-size: 20px; line-height: 1.5; letter-spacing: 0.04em; }
.blog-body h3 { font-size: 18px; line-height: 1.6; }
.blog-body h4 { font-size: 16px; }
.blog-body blockquote { font-size: 15px; }
.blog-body pre { font-size: 13px; }
.blog-body table { font-size: 14px; }
@media (min-width: 768px) {
  .blog-article__title { font-size: 32px; }
  .blog-body { font-size: 18px; }
  .blog-body h2 { font-size: 28px; line-height: 1.45; }
  .blog-body h3 { font-size: 22px; }
  .blog-body h4 { font-size: 18px; }
  .blog-body blockquote { font-size: 16px; }
  .blog-body pre { font-size: 14px; }
  .blog-body table { font-size: 15px; }
}
/* 目次・プロフィール: 内側の余白を広げる */
.blog-toc { padding: clamp(28px, 4vw, 44px) clamp(26px, 4.4vw, 52px); }
.blog-toc__ttl { margin-bottom: 18px; }
.blog-toc ol { gap: 12px; }
.blog-toc li { font-size: 15px; gap: 16px; }
.blog-author { gap: clamp(20px, 3vw, 32px); margin-top: 56px; padding: clamp(28px, 4.4vw, 48px) clamp(26px, 4.4vw, 52px); font-size: 14px; line-height: 2; }
.blog-author__name { font-size: 16px; margin-bottom: 10px; }
.blog-author p + p { margin-top: 10px; }
/* 記事内のカード（WORKS・BLOG）: 文字のまわりの余白を広げる */
.blog-embed__body { gap: 8px; padding: clamp(18px, 3vw, 30px) clamp(20px, 3.6vw, 40px); }
.blog-embed__ttl { font-size: 17px; line-height: 1.6; }
.blog-embed__desc { font-size: 13px; line-height: 1.8; }
@media (max-width: 639px) { .blog-embed__ttl { font-size: 15px; } }

/* トップの BLOG: 見出しの行＋サムネイル4カラム（SP は2カラム） */
.blog-top__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.blog-top__head .sec-act { margin: 0; text-align: right; }
.blog-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(14px, 1.8vw, 28px); }
@media (min-width: 1024px) { .blog-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.blog-grid--4 .blog-card { gap: 14px; }
.blog-grid--4 .blog-thumb { border-radius: 14px; }
.blog-grid--4 .blog-card__ttl { font-size: 0.9375rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-grid--4 .blog-card__desc { display: none; }
@media (max-width: 639px) { .blog-grid--4 .blog-card__ttl { font-size: 0.8125rem; line-height: 1.6; } .blog-grid--4 .blog-cat { min-width: 0; } }

/* 修正32（2026-09-20）BLOG 記事: サムネイルをページの最上部（パンくず・タイトルの上）へ／記事内のバナー */
.blog-article__eye--top { margin-top: 0; margin-bottom: clamp(28px, 4vw, 48px); }
.blog-article:has(.blog-article__eye--top) { padding-top: calc(96px + clamp(40px, 5vw, 72px)); } /* 2026-09-21: サムネの上の余白を広げた（旧 16〜32px） */
.blog-banner { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.blog-banner img { display: block; width: 100%; height: auto; transition: transform 0.8s var(--ease-out); }
.blog-banner:hover img { transform: scale(1.03); }

/* 修正34（2026-09-21）BLOG 記事: 1行にリンクだけ書いたらボタン */
.blog-btn { text-align: center; margin-block: 2.2em; }
.blog-btn .btn { font-size: 16px; }

/* =============================================================
   ヘッダーサブメニュー（2026-09-27）SERVICE・PRICE にマウスを乗せると、黒いパネルが幕のように下りて下層ページが並ぶ
   inc/header.php の nav_item() が .has-sub > a + .sub を出す。PC（1080px以上）だけ。Tab キーでも開く（focus-within）
   ============================================================= */
.has-sub { position: relative; }
.has-sub > a { display: inline-block; }
.has-sub::after { content: ""; position: absolute; left: -16px; right: -16px; top: 100%; height: 22px; } /* 見出しとパネルの隙間でホバーが切れないように橋渡し */
.sub {
  position: absolute; top: calc(100% + 16px); left: 50%; translate: -50% 0; z-index: 5;
  min-width: 232px; padding: 10px 0; background: var(--ink); color: var(--white);
  box-shadow: 0 18px 40px rgba(26, 26, 26, 0.18);
  visibility: hidden; pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.45s var(--ease-out), visibility 0s 0.45s;
}
.sub::before { content: ""; position: absolute; left: 50%; top: -6px; width: 12px; height: 12px; background: var(--ink); transform: translateX(-50%) rotate(45deg); }
.site-nav .sub a { display: block; padding: 7px 26px; font-size: 0.8438rem; font-weight: 500; letter-spacing: 0.06em; white-space: nowrap; opacity: 0; transform: translateY(10px); transition: background 0.25s, padding-left 0.3s var(--ease-out); }
.site-nav .sub a::after { content: none; } /* グロナビの下線は付けない */
.site-nav .sub a:hover { background: rgba(255, 216, 0, 0.16); padding-left: 32px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { visibility: visible; pointer-events: auto; clip-path: inset(0 0 0 0); transition: clip-path 0.55s var(--ease-out), visibility 0s; }
.has-sub:hover .sub a, .has-sub:focus-within .sub a { opacity: 1; transform: none; transition: opacity 0.35s, transform 0.55s var(--ease-out), background 0.25s, padding-left 0.3s var(--ease-out); transition-delay: calc(0.08s + var(--si) * 0.045s), calc(0.08s + var(--si) * 0.045s), 0s, 0s; }
.sub a:nth-child(1) { --si: 0; } .sub a:nth-child(2) { --si: 1; } .sub a:nth-child(3) { --si: 2; } .sub a:nth-child(4) { --si: 3; }
.sub a:nth-child(5) { --si: 4; } .sub a:nth-child(6) { --si: 5; } .sub a:nth-child(7) { --si: 6; }
/* キーボードで開いたときも見出しの日本語を出す（PC だけ。SP は英日併記のまま） */
@media (min-width: 1080px) {
  .has-sub:focus-within > a .nav-flip .l-en { opacity: 0; transform: translateY(-8px); }
  .has-sub:focus-within > a .nav-flip .l-jp { opacity: 1; transform: translate(-50%, -50%); }
}
/* Escape で閉じたあと（main.js が .is-closed を付ける）は、離れるまで開かない */
.has-sub.is-closed:hover .sub, .has-sub.is-closed:focus-within .sub { visibility: hidden; pointer-events: none; clip-path: inset(0 0 100% 0); transition: clip-path 0.3s var(--ease-out), visibility 0s 0.3s; }
.has-sub.is-closed .sub a { opacity: 0; transform: translateY(10px); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .sub, .sub a { transition: none !important; transition-delay: 0s !important; } }
@media (max-width: 1079px) {
  /* SP はサブメニューを出さず、見出しの a はほかの項目と同じ出現アニメにする */
  .sub, .has-sub::after { display: none; }
  .site-nav > .has-sub { position: relative; z-index: 3; }
  .site-nav > .has-sub > a { position: relative; overflow: hidden; opacity: 0; transition: opacity 0.22s; }
  .site-nav > .has-sub > a .nav-flip { transform: translateY(110%); transition: transform 0.4s var(--ease-out); }
  body.nav-open .site-nav > .has-sub > a { opacity: 1; transition: opacity 0.35s calc(0.42s + var(--i, 0) * 0.055s); }
  body.nav-open .site-nav > .has-sub > a .nav-flip { transform: none; transition: transform 0.7s var(--ease-out) calc(0.42s + var(--i, 0) * 0.055s); }
}

/* ---------- SNS動画パッケージ /service/sns-video/（2026-10-05 新設） ---------- */
.snsv-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.snsv-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.snsv-hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.snsv-hero__media { display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 16fr); gap: clamp(12px, 1.6vw, 20px); align-items: end; }
.snsv-hero__media figure { margin: 0; }
.snsv-hero__media video { display: block; width: 100%; height: auto; border-radius: 14px; background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 28px 48px -28px rgba(26, 26, 26, 0.35); }
.snsv-hero__v video { aspect-ratio: 9 / 16; }
.snsv-hero__h video { aspect-ratio: 16 / 9; }
.snsv-hero__media figcaption { margin-top: 10px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; }
.snsv-hero__media figcaption small { font-weight: 400; opacity: 0.7; }
.snsv-hero__note { margin-top: 28px; }
.snsv-points { max-width: 880px; }
.snsv-points p { font-size: 0.9062rem; line-height: 1.9; }
.snsv-note { margin-top: clamp(40px, 5vw, 64px); max-width: 880px; }
.snsv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.snsv-tabs [role="tab"] { appearance: none; border: 0; cursor: pointer; font: inherit; font-size: 0.8438rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; padding: 10px 20px; border-radius: var(--radius-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.snsv-tabs [role="tab"]:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.snsv-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.snsv-tabs [role="tab"]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.snsv-panel__biz { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 20px; }
.snsv-panel__biz span { font-weight: 400; opacity: 0.7; margin-left: 10px; }
.snsv-grid { display: grid; gap: clamp(20px, 3vw, 40px); }
.snsv-grid--v { grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; }
.snsv-grid--h { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.snsv-grid--h:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; margin-inline: auto; }
@media (max-width: 1079px) { .snsv-grid--v { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .snsv-grid--v, .snsv-grid--h, .snsv-grid--h:has(> :nth-child(2):last-child) { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; } }
.snsv-card { margin: 0; }
.snsv-card__frame { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.snsv-card__frame video { display: block; width: 100%; height: auto; }
.snsv-grid--v .snsv-card__frame video { aspect-ratio: 9 / 16; }
.snsv-grid--h .snsv-card__frame video { aspect-ratio: 16 / 9; }
.snsv-card figcaption { margin-top: 12px; }
.snsv-card__plan { display: flex; align-items: center; gap: 10px; }
.snsv-card__meta { font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.1em; opacity: 0.7; }
.snsv-card__title { margin-top: 8px; font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; }
.snsv-card__desc { font-size: 0.75rem; opacity: 0.7; line-height: 1.7; }
.snsv-plan__tag { font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.12em; opacity: 0.6; margin-top: -8px; }
.snsv-options table { min-width: 640px; }
.on-yellow .rate-table th, .on-yellow .rate-table td { border-bottom-color: rgba(26, 26, 26, 0.18); }
.on-yellow .rate-table thead th { border-bottom-color: var(--ink); }
@media (max-width: 1023px) {
  .snsv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .snsv-hero__media { max-width: 640px; }
}
@media (max-width: 767px) {
  .snsv-hero__media { grid-template-columns: minmax(0, 1fr); }
  .snsv-hero__v { max-width: 62%; margin-inline: auto; }
}

/* 2026-10-08 修正: ヒーロー右カラム＝横1本の下に縦2本・見出しの句を途中で折り返さない／事例（Works）・型カタログ（Catalog）・まとめてお得（Set）・素材のご提供ガイド /service/sns-video/materials/ */
.snsv-hero__grid { align-items: center; }
.snsv-hero h1 { font-size: clamp(1.75rem, 3.4vw, 46px); } /* 2行とも句の途中で折り返さない幅に収める（.snsv-nw）。2026-10-09: 上限を 3.25rem→46px（左カラムは約 557px 止まり・rem は画面幅で 19px まで育つので px で止める。1,380px 以上で「SNSの動画が1セット。」が右に切れていた） */
.snsv-nw { white-space: nowrap; display: inline-block; } /* 2026-10-09: 入りきらない幅では句の切れ目で改行する */
.snsv-hero__media { grid-template-columns: minmax(0, 1fr); align-items: start; }
.snsv-hero__vv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.snsv-faq__link { margin-top: 10px; font-size: 0.8125rem; }
/* 事例 */
.snsv-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: center; gap: clamp(20px, 3vw, 40px); align-items: start; }
.snsv-case { margin: 0; }
.snsv-case__frame { border-radius: 14px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.snsv-case__frame video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
.snsv-case--soon .snsv-case__frame { aspect-ratio: 9 / 16; display: grid; place-content: center; text-align: center; background: transparent; box-shadow: none; border: 2px dashed var(--line-strong); color: var(--ink); }
.snsv-case--soon .en { font-size: 0.875rem; letter-spacing: 0.18em; opacity: 0.45; }
.snsv-case--soon small { display: block; margin-top: 8px; font-size: 0.75rem; opacity: 0.55; }
.snsv-case figcaption { margin-top: 14px; }
.snsv-case__client { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; line-height: 1.5; }
.snsv-case__client span { display: block; margin-top: 3px; font-weight: 400; font-size: 0.75rem; opacity: 0.7; }
.snsv-case__title { margin-top: 10px; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; line-height: 1.6; }
.snsv-case__spec { margin-top: 4px; font-size: 0.75rem; opacity: 0.7; }
.snsv-case__desc { margin-top: 10px; font-size: 0.8125rem; line-height: 1.9; }
.snsv-case__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
/* 型カタログ */
.snsv-types { list-style: none; counter-reset: st; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.snsv-type { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 30px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); counter-increment: st; }
.snsv-type::before { content: counter(st, decimal-leading-zero); position: absolute; top: 18px; right: 22px; font-family: var(--font-en); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.12em; opacity: 0.35; }
.snsv-type__en { font-size: 0.6875rem; letter-spacing: 0.14em; opacity: 0.6; }
.snsv-type h3 { font-size: 1.125rem; letter-spacing: 0.06em; line-height: 1.4; padding-right: 2.4em; }
.snsv-type__desc { font-size: 0.8125rem; line-height: 1.85; }
.snsv-type__meta { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.75rem; line-height: 1.7; }
.snsv-type__meta div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 8px; }
.snsv-type__meta dt { opacity: 0.6; font-weight: 700; letter-spacing: 0.04em; }
/* まとめてお得（墨地） */
.snsv-set-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.snsv-set { position: relative; display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 40px); border-radius: var(--radius); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.snsv-set__badge { align-self: flex-start; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.1em; }
.snsv-set h3 { margin-top: 6px; font-size: 1.25rem; letter-spacing: 0.08em; line-height: 1.4; }
.snsv-set__what { font-size: 0.8438rem; opacity: 0.8; line-height: 1.7; }
.snsv-set__price { margin-top: 6px; font-weight: 700; font-size: clamp(1.125rem, 1.8vw, 1.375rem); letter-spacing: 0.04em; color: var(--yellow); }
.snsv-set__desc { font-size: 0.8125rem; line-height: 1.9; opacity: 0.85; }
.snsv-sets .price-note { opacity: 0.7; }
/* 素材のご提供ガイド */
.snsv-mat__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.snsv-mat { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 2.6vw, 36px); background: var(--white); border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.snsv-mat__en { font-size: 0.6875rem; letter-spacing: 0.14em; opacity: 0.6; }
.snsv-mat h3 { font-size: 1.125rem; letter-spacing: 0.06em; line-height: 1.4; }
.snsv-mat .dot-list { margin-top: 2px; }
.snsv-mat__ng { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.75rem; line-height: 1.8; opacity: 0.75; }
.snsv-mat__ng b { color: var(--red, #b3261e); }
.snsv-check { list-style: none; display: grid; gap: 10px; max-width: 760px; }
.snsv-check li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 18px; background: var(--white); border-radius: 14px; box-shadow: 0 0 0 1px var(--line); font-size: 0.875rem; line-height: 1.8; }
.snsv-check li::before { content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--ink); }
.snsv-check li small { display: block; font-size: 0.75rem; opacity: 0.65; }
.snsv-mat__count table { min-width: 560px; }
@media (max-width: 1079px) {
  .snsv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snsv-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .snsv-mat__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .snsv-set-grid { grid-template-columns: minmax(0, 1fr); }
  .snsv-hero h1 { font-size: clamp(1.75rem, 5.2vw, 2.75rem); }
}
@media (max-width: 767px) {
  .snsv-hero__vv .snsv-hero__v { max-width: none; margin: 0; }
  .snsv-cases { grid-template-columns: minmax(0, 1fr); max-width: 360px; margin-inline: auto; }
  .snsv-mat__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .snsv-types { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 419px) {
  .snsv-hero h1 { font-size: clamp(1.375rem, 7.4vw, 1.75rem); }
}

/* 2026-10-08 追記: モニター限定のピル（ヒーロー先頭）と、事例セクションの墨地＋網点アニメ（assets/js/snsvbg.js） */
.snsv-monitor { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 28px; padding: 10px 12px 10px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--yellow); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.08em; line-height: 1.5; }
.snsv-monitor__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: 0 0 auto; }
.snsv-monitor__status { padding: 6px 18px; border-radius: var(--radius-pill); background: var(--yellow); color: var(--ink); font-size: 0.8125rem; letter-spacing: 0.06em; }
.snsv-cases-sec { position: relative; overflow: hidden; }
.snsv-cases-sec > .container { position: relative; z-index: 1; }
.snsv-cases__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.snsv-cases__bg canvas { display: block; width: 100%; height: 100%; }
.snsv-cases__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(26, 26, 26, 0) 16%, rgba(26, 26, 26, 0) 84%, var(--ink) 100%), radial-gradient(120% 70% at 50% 50%, rgba(26, 26, 26, 0) 40%, rgba(26, 26, 26, 0.55) 100%); }
.snsv-cases-sec .snsv-case__frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 28px 48px -28px rgba(0, 0, 0, 0.6); }
.snsv-cases-sec .snsv-case--soon .snsv-case__frame { border-color: rgba(255, 255, 255, 0.35); color: var(--white); box-shadow: none; }
.snsv-cases-sec .snsv-case__client span, .snsv-cases-sec .snsv-case__spec, .snsv-cases-sec .snsv-case__desc { opacity: 0.85; }
.snsv-cases-sec .tag { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); }
.snsv-cases-sec .price-note { opacity: 0.65; }
@media (max-width: 479px) {
  .snsv-monitor { font-size: 0.8125rem; padding-left: 16px; }
  .snsv-monitor__status { font-size: 0.75rem; padding: 5px 14px; }
}

/* ---- TEGOU SHOWCASE（/showcase/ 表現の見本帳） ---- */
.sc-hero__acts { display: flex; flex-wrap: wrap; align-items: end; gap: 20px 40px; margin-top: 32px; }
.sc-hero__count { display: flex; flex-direction: column; letter-spacing: 0.08em; font-size: 0.75rem; opacity: 0.7; }
.sc-hero__count b { font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; letter-spacing: 0; opacity: 1; margin-bottom: 6px; }
.sc-notes { margin-top: 28px; font-size: 0.8125rem; line-height: 1.9; opacity: 0.8; }
.sc-notes p + p { margin-top: 2px; }
.sc-notes a { text-decoration: underline; text-underline-offset: 3px; }
.sc-internal-note { margin-bottom: 28px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: 0.8125rem; line-height: 1.8; }
.sc-internal-note code { font-family: ui-monospace, Menlo, monospace; font-size: 0.75rem; opacity: 0.85; }
.sc-lib { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sc-lib:first-of-type { border-top: 0; padding-top: 0; }
.sc-lib__head { position: sticky; top: 96px; align-self: start; }
.sc-lib__head .t-h2 { margin-top: 10px; font-size: clamp(1.375rem, 2.2vw, 1.625rem); }
.sc-lib__lead { margin-top: 12px; font-size: 0.875rem; line-height: 1.9; }
.sc-lib__ver { margin-top: 12px; font-size: 0.6875rem; letter-spacing: 0.04em; opacity: 0.72; text-transform: none; } /* 2026-10-12: 0.55 は 3.8:1 だったので 4.5:1 以上に（Codex レビュー） */
.sc-lib__note { margin-top: 10px; font-size: 0.75rem; line-height: 1.8; opacity: 0.7; }
.sc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.sc-card { display: flex; flex-direction: column; background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); overflow: hidden; color: inherit; transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out); }
.sc-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(26, 26, 26, 0.28); }
.sc-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.sc-card__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.8s var(--ease-out); }
.sc-card:hover .sc-card__thumb img { transform: scale(1.04); }
.sc-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.sc-card__no { font-size: 0.6875rem; letter-spacing: 0.1em; } /* 2026-10-12: 薄さは .sc-card__meta でまとめて（番号とライブラリ名） */
.sc-card strong { font-size: 1rem; letter-spacing: 0.04em; line-height: 1.5; }
.sc-card__sum { font-size: 0.8125rem; line-height: 1.8; opacity: 0.8; }
.sc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.sc-card__tags .tag { font-size: 0.625rem; padding: 2px 9px; }
.sc-card--internal { box-shadow: 0 0 0 2px var(--yellow); }
.sc-card__internal { margin-top: 8px; font-size: 0.6875rem; line-height: 1.6; padding: 6px 10px; border-radius: 8px; background: var(--yellow); font-weight: 700; }
.sc-foot { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sc-foot__list { margin-top: 20px; display: grid; gap: 8px; font-size: 0.875rem; line-height: 1.9; padding-left: 1.2em; }
.sc-foot__list li { list-style: disc; }
.sc-foot__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 1023px) {
  .sc-lib { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sc-lib__head { position: static; }
  .sc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sc-cards { grid-template-columns: minmax(0, 1fr); }
}
/* 2026-10-12 一覧の並べ替え（ALL・目的別・業種別・部位別・ライブラリ別。assets/js/showcase.js が切り替える。ボタンの形は .filterbar と同じ） */
.sc-sort { margin-bottom: clamp(32px, 4vw, 48px); }
.sc-sort[hidden], .sc-sort__jump[hidden], .sc-cards[hidden] { display: none; }
.sc-sort__label { display: flex; align-items: baseline; gap: 12px; font-size: 0.75rem; letter-spacing: 0.08em; }
.sc-sort__label .en { font-size: 0.8125rem; letter-spacing: 0.14em; }
.sc-sort__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sc-sort__btn { padding: 8px 20px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1.5px var(--line-strong); font-size: 0.8125rem; letter-spacing: 0.06em; line-height: 1.6; transition: background 0.3s, color 0.3s, box-shadow 0.3s; }
.sc-sort__btn.en { letter-spacing: 0.12em; }
.sc-sort__btn:hover { background: var(--yellow-pale); }
.sc-sort__btn[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.sc-sort__btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sc-sort__status { margin-top: 12px; font-size: 0.75rem; line-height: 1.8; opacity: 0.75; }
.sc-sort__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sc-sort__jump a { display: inline-flex; align-items: baseline; gap: 8px; padding: 5px 14px; border-radius: var(--radius-pill); background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.75rem; letter-spacing: 0.04em; line-height: 1.6; transition: background 0.3s; }
.sc-sort__jump a:hover { background: var(--yellow-pale); }
.sc-sort__jump b { font-weight: 500; opacity: 0.7; }
.sc-cards--all { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-group { scroll-margin-top: 110px; }
.sc-group .t-h2, .sc-group .sc-lib__lead { word-break: auto-phrase; } /* 対応ブラウザ（Chrome 系）は文節で折り返す */
.sc-nw { display: inline-block; } /* 見出しの「・」「、」までのひとかたまり（showcase.js が分ける） */
.sc-lib__count { margin-top: 10px; font-size: 0.75rem; letter-spacing: 0.06em; opacity: 0.75; }
.sc-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; opacity: 0.72; } /* 白地で 4.5:1 以上 */
.sc-card__lib { font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: none; } /* p5.js・deck.gl などの大小文字を残す */
@media (max-width: 1199px) { .sc-cards--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) { .sc-cards--all { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sc-cards--all { grid-template-columns: minmax(0, 1fr); }
  .sc-sort__bar { gap: 5px; }
  .sc-sort__btn { padding: 6px 10px; letter-spacing: 0.02em; } /* 375px（バー幅 335px）でも5つが1段に収まる幅 */
  .sc-sort__jump { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .sc-sort__jump a { flex: 0 0 auto; }
}
@media (max-width: 640px), (pointer: coarse) {
  .sc-sort__btn { min-height: 44px; } /* 指で押す端末は高さ 44px（幅は上の指定のまま＝375px でも1段） */
  .sc-sort__jump a { min-height: 44px; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { .sc-sort__btn, .sc-sort__jump a { transition: none; } }

/* ---------- 2026-10-06 実績ページ: 社名を出せない実績（Confidential Works・works/index.php #confidential） ---------- */
.cw { scroll-margin-top: 72px; overflow: hidden; }
/* 背景: assets/js/cwbg.js（ChromaticWaves の移植）が canvas を入れる。上下の端は墨へ溶かし、隣の帯との境目を柔らかく */
.cw__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cw__bg canvas { display: block; width: 100%; height: 100%; }
.cw__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(26, 26, 26, 0) 14%, rgba(26, 26, 26, 0) 86%, var(--ink) 100%), radial-gradient(120% 70% at 50% 50%, rgba(26, 26, 26, 0) 40%, rgba(26, 26, 26, 0.55) 100%); }
.cw__lead { max-width: 46em; font-size: 0.9688rem; line-height: 2; opacity: 0.9; }
.cw__numbers { margin-top: clamp(48px, 6vw, 80px); }
.cw__numbers dd .nicon { margin-bottom: 12px; } /* アイコンを dd の中に入れた（dl の構造を dt → dd に） */
.cw-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: clamp(56px, 7vw, 96px); }
.cw-case { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--radius); background: rgba(26, 26, 26, 0.78); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); } /* 背景の網点の上でも本文が読めるよう、墨の半透明＋ぼかし */
.cw-case__no { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.15em; color: var(--yellow); }
.cw-case h3 { font-size: 1.1875rem; letter-spacing: 0.08em; line-height: 1.5; }
.cw-case__meta { display: grid; gap: 6px; font-size: 0.8125rem; }
.cw-case__meta div { display: flex; align-items: baseline; gap: 12px; }
.cw-case__meta dt { flex: 0 0 auto; padding: 0 10px; border-radius: var(--radius-pill); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); font-size: 0.6875rem; line-height: 1.9; letter-spacing: 0.08em; }
.cw-case__meta dd { line-height: 1.7; }
.cw-case__text { font-size: 0.875rem; line-height: 1.9; opacity: 0.85; }
.cw__note { margin-top: clamp(40px, 5vw, 64px); font-size: 0.75rem; line-height: 1.9; opacity: 0.65; } /* 2026-10-07: 上の一文（.cw__trust）を削除したので、事例カードとの間を空ける */
@media (max-width: 1079px) { .cw-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .cw-cases { grid-template-columns: minmax(0, 1fr); } }

/* 2026-10-09 修正: SNS動画パッケージ FAQ 下の「資料をダウンロード」の上に余白（ヒーロー側の分割は佐桑の指示で戻した） */
.sec-act--wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 12px; } /* FAQ 下のボタン2つ＝折り返したとき「資料をダウンロード」の上に 20px の余白 */
