/* ============================================================
   LocalAd corporate v2 — COMIC theme (2026-07-12)
   「僕のヒーローアカデミア」／アメコミ風。style.css を無改変で温存し、
   HTMLの <link> をこの comic.css に差し替えて全ページを再スタイルする。
   スタイルタイル(comic-tile.html)のトークン/コンポーネントを正とする。
   - 見出し=Dela Gothic One / 効果音=Bangers / 本文=Noto Sans JP 400
   - 紙(--paper)＋22pxドット網点／オフセット黒影／3px黒枠／微傾き
   - 本文の可読性は犠牲にしない：白コマに黒文字が基本。装飾は
     見出し・ボタン・タグ・写真枠・集中線に集中させる。
   - アニメは transform/opacity のみ・全て reduced-motion で無効化(末尾)
   既存クラスをコミック言語で全面再定義。旧レイアウト変数は
   互換エイリアスとして再定義（inline style / services の scoped <style> 用）。
   ============================================================ */

:root {
  /* --- comic tokens (tile) --- */
  --paper: #f7f2e7;
  --ink: #101010;
  --green: #1fae54;
  --green-deep: #0e7a38;
  --red: #e5484d;
  --yellow: #ffd514;
  --blue: #2f7fd1;
  --panel: #ffffff;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --fx: "Bangers", cursive;
  --head: "Dela Gothic One", "Noto Sans JP", sans-serif;
  --body: "Noto Sans JP", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* --- legacy aliases (keep inline styles + services <style> alive, in comic language) --- */
  --c-ink: #101010;
  --c-ink-rgb: 16, 16, 16;
  --c-grey: #57564d;            /* readable sub-text on paper (~6:1) */
  --c-light: #8a897e;
  --c-bg: #ffffff;
  --c-band: #efe6d0;            /* deeper cream = section separation */
  --c-green: #1fae54;
  --c-green-rgb: 31, 174, 84;
  --c-green-deep: #0e7a38;
  --c-red: #e5484d;
  --font-en: "Bangers", "Noto Sans JP", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-serif: "Dela Gothic One", "Noto Sans JP", serif;
  --sec-max: 74rem;
  --p-max: 48rem;
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --block-gap: 2rem;
  --grid-gap: 1.2rem;
  --sec-gap: 5rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 2rem;
  --space-4: 4rem;
  --space-5: clamp(4.5rem, 9vw, 8rem);
  --svc-nigiwase: #FF6B35;
  --svc-nigiwase-bg: rgba(255, 107, 53, 0.12);
  --svc-horesase: #e63946;
  --svc-horesase-bg: rgba(230, 57, 70, 0.10);
  --svc-sitecraft: #c9a227;
  --svc-sitecraft-bg: rgba(201, 162, 39, 0.12);
  --c-dark: #101010;
  --c-dark-t: #f7f2e7;
  --c-dark-green: #5edb60;
  --radius: 0px;
}

/* ---------- base / reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

ul, ol { list-style: none; }

.en { font-family: var(--fx); }

/* ---------- scroll fade → comic pop-in ---------- */
.sf { opacity: 0; transform: scale(0.97); transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out); }
.sf.is-visible { opacity: 1; transform: scale(1); }
.sf-img { opacity: 0; transition: opacity 0.6s ease 0.1s; }
.sf-img.is-visible { opacity: 1; }
@media (max-width: 812px) { .sf, .sf-img { opacity: 1; transform: none; } }

/* line-reveal (JS wraps statement lines) → used as stacked bars, never hidden */
.reveal-line { display: block; overflow: visible; }
.reveal-line-i { display: inline-block; }

::selection { background: var(--yellow); color: var(--ink); }
::-moz-selection { background: var(--yellow); color: var(--ink); }

/* ============================================================
   HEADER — paper band + 3px ink underline
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  z-index: 35;
}
body.scrolled::before { box-shadow: 0 4px 0 rgba(16, 16, 16, 0.16); }

.site-logo {
  position: fixed;
  top: 0; left: 0;
  z-index: 40;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 14px;
}
.site-logo img { width: 104px; height: auto; }

.header-menu {
  position: fixed;
  top: 0; right: 0;
  z-index: 40;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 12px;
}
.header-menu ul { display: flex; gap: 4px; align-items: center; }
.header-menu li { position: relative; display: flex; align-items: center; height: 60px; }
.header-menu a {
  display: block;
  padding: 6px 10px;
  font-family: var(--body);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.header-menu a:hover { color: var(--green-deep); }
.header-menu li.current > a { color: var(--green-deep); }
.header-menu .nav-note { display: none; }

/* CTA (last nav item) = yellow comic button */
.header-menu > ul > li:last-child > a {
  background: var(--yellow);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  padding: 8px 15px;
  transform: rotate(-1deg);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.header-menu > ul > li:last-child > a:hover {
  color: var(--ink);
  transform: rotate(-1deg) translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--ink);
}

/* dropdown = comic panel */
.header-menu .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 16em;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  z-index: 41;
}
.header-menu li:hover .sub-menu { display: flex; }
.header-menu .sub-menu a {
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}
.header-menu .sub-menu a:last-child { border-bottom: 0; }
.header-menu .sub-menu a:hover { background: var(--yellow); color: var(--ink); }

/* vertical side note — hidden in comic (avoids clashing with framed hero) */
.side-note { display: none; }

/* hamburger */
.nav-toggle {
  position: fixed;
  top: 5px; right: 8px;
  z-index: 60;
  width: 50px; height: 50px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
}
.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 26px; height: 3px;
  background: var(--ink);
  transition: all 0.3s ease-in-out;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle span:nth-child(3) { top: 33px; }
body.menu-open .nav-toggle span:nth-child(1) { top: 25px; transform: rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { top: 25px; transform: rotate(-45deg); }

/* mobile panel = comic sheet */
.menu-overlay {
  position: fixed; inset: 0;
  z-index: 49;
  background: rgba(16, 16, 16, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
body.menu-open .menu-overlay { opacity: 1; pointer-events: auto; }

.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  z-index: 50;
  width: min(420px, 86vw);
  height: 100dvh;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.05) 1px, transparent 1.4px);
  background-size: 22px 22px;
  border-left: 4px solid var(--ink);
  transform: translate3d(111vw, 0, 0);
  transition: transform 0.5s var(--ease-out);
  padding: 80px 1.6rem 2rem;
  overflow-y: auto;
}
body.menu-open .mobile-nav { transform: translate3d(0, 0, 0); }
.mobile-nav .mm-main a {
  display: block;
  padding: 0.5em 0.4em;
  font-family: var(--body);
  font-weight: 900;
  font-size: clamp(18px, 3vw, 21px);
  border-bottom: 3px solid var(--ink);
}
.mobile-nav .mm-main a:hover { color: var(--green-deep); }
.mobile-nav .mm-main .en-label {
  display: block;
  font-family: var(--fx);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--red);
  line-height: 1.2;
}
.mobile-nav .mm-sub { margin-top: 1.6rem; border-top: 3px solid var(--ink); padding-top: 1rem; }
.mobile-nav .mm-sub a { display: block; padding: 0.35em 0.4em; font-size: 13px; font-weight: 700; color: var(--ink); }
.mobile-nav .mm-sub a:hover { color: var(--green-deep); }
.mobile-nav .mm-cta { margin-top: 1.6rem; }

/* ============================================================
   SPLASH (index) — green field → yellow burst + LocalAd ドン
   ============================================================ */
.splash {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.7s cubic-bezier(0.8, 0, 0.2, 1);
}
.splash.is-done { transform: translateY(-101%); }
.splash.is-removed { display: none; }
.splash-inner {
  position: relative;
  text-align: center;
  padding: clamp(28px, 6vw, 44px) clamp(32px, 8vw, 56px);
  background: var(--yellow);
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  overflow: hidden;
  transform: rotate(-2deg);
  animation: splash-pop 0.5s var(--ease-out) both;
}
.splash-inner::before {
  content: "";
  position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg, rgba(16, 16, 16, 0.12) 0deg 2.4deg, transparent 2.4deg 10deg);
  pointer-events: none;
}
.splash-bar { display: none; }
.splash-logo {
  position: relative;
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
  letter-spacing: 0.01em;
}
.splash-tagline {
  position: relative;
  margin-top: 0.55em;
  font-family: var(--fx);
  font-size: clamp(15px, 2.8vw, 21px);
  letter-spacing: 0.08em;
  color: var(--ink);
}
@keyframes splash-pop {
  0% { transform: rotate(-2deg) scale(0.7); opacity: 0; }
  60% { transform: rotate(-2deg) scale(1.04); }
  100% { transform: rotate(-2deg) scale(1); opacity: 1; }
}

/* ============================================================
   HERO (index) — wave video inside a big ink panel (大ゴマ)
   ============================================================ */
.hero {
  position: relative;
  margin: clamp(76px, 9vw, 96px) clamp(12px, 3vw, 30px) clamp(16px, 3vw, 26px);
  height: min(84vh, 720px);
  min-height: 440px;
  border: 4px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: #0c2233;
  overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  background: #0c2233;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 46%, rgba(0,0,0,0.72) 100%);
}
.hero::after {
  content: "MEINOHAMA, FUKUOKA";
  position: absolute;
  top: 12px; right: 16px;
  z-index: 4;
  font-family: var(--fx);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 2px 2px 0 var(--ink);
  transform: rotate(2deg);
}
.hero-copy {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding: clamp(18px, 4vw, 40px);
  color: #fff;
}
.hero-copy .tagline { display: block; }
.hero-copy .line {
  display: block;
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(30px, 6.4vw, 66px);
  line-height: 1.16;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.6deg);
  margin: 0.06em 0;
}
.hero-copy .line i { font-style: normal; display: inline-block; clip-path: none; }
.hero-copy .line .em { color: var(--yellow); }
.hero-copy .sub {
  display: block;
  margin-top: 1em;
  font-family: var(--body);
  font-weight: 700;
  font-size: clamp(12px, 2vw, 15px);
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6), 1px 1px 0 var(--ink);
}
.hero-copy .sub i { font-style: normal; display: inline-block; clip-path: none; }
.hero-copy .hero-fact {
  display: block;
  margin-top: 0.75em;
  max-width: 34em;
  font-family: var(--body);
  font-weight: 500;
  font-size: clamp(10.5px, 1.6vw, 12.5px);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero-copy .hero-fact i { font-style: normal; display: inline-block; clip-path: none; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: #fff;
  pointer-events: none;
}
.scroll-cue .sc-word { font-family: var(--fx); font-size: 14px; letter-spacing: 0.14em; text-shadow: 2px 2px 0 var(--ink); }
.scroll-cue .sc-line {
  width: 3px; height: 40px;
  background: #fff;
  box-shadow: 1px 0 0 var(--ink);
  transform-origin: top center;
  animation: sc-stretch 2.4s var(--ease-out) infinite;
}
@keyframes sc-stretch {
  0% { transform: scaleY(0); opacity: 0; }
  28% { opacity: 1; }
  62% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ============================================================
   BUTTONS — offset shadow, lift on hover, press on active
   ============================================================ */
.btn, .btn-pill {
  display: inline-block;
  font-family: var(--body);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn { font-size: 15px; padding: 14px 24px; transform: rotate(-0.5deg); }
.btn-pill { font-size: clamp(14px, 3vw, 16px); text-transform: none; letter-spacing: 0.06em; padding: 15px 30px; transform: rotate(-0.6deg); }
.btn:hover { transform: rotate(-0.5deg) translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn-pill:hover { transform: rotate(-0.6deg) translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); background: var(--yellow); color: var(--ink); }
.btn:active { transform: rotate(-0.5deg) translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn-pill:active { transform: rotate(-0.6deg) translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn .ar { display: inline-block; margin-left: 8px; transition: transform 0.15s; }
.btn:hover .ar { transform: translateX(4px); }
.btn-pill--jp { font-family: var(--body); text-transform: none; }
button.btn-pill { font-family: var(--body); }
button.btn-pill:disabled { opacity: 0.55; cursor: default; transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-center { text-align: center; margin-top: var(--space-3); }

/* round-arrow CTA pair → comic buttons */
.cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: var(--space-3); }
.cta-arrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--body); font-weight: 900; font-size: 15px; letter-spacing: 0.04em;
  color: var(--ink);
  background: #fff;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  padding: 12px 18px;
  transform: rotate(-0.5deg);
  transition: transform 0.12s, box-shadow 0.12s;
}
.cta-arrow > span { line-height: 1.35; }
.cta-arrow.primary { background: var(--yellow); }
.cta-arrow:hover { transform: rotate(-0.5deg) translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.cta-arrow:active { transform: rotate(-0.5deg) translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.cta-arrow .circ {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px;
  border: 3px solid var(--ink); border-radius: 50%;
  background: var(--green); color: #fff;
  font-family: var(--body); font-weight: 900; font-size: 15px; font-style: normal; line-height: 1;
  transition: transform 0.15s;
}
.cta-arrow.primary .circ { background: var(--red); color: #fff; }
.cta-arrow:hover .circ { transform: translateX(3px); }
.edito--dark .cta-arrow { background: #fff; color: var(--ink); }
.edito--dark .cta-arrow.primary { background: var(--yellow); }

/* ============================================================
   EDITORIAL SECTION SHELL + comic headings
   ============================================================ */
.edito { padding: var(--space-5) 0; }
.edito-inner { max-width: var(--sec-max); margin: 0 auto; padding: 0 6vw; }
.edito + .edito { padding-top: clamp(2rem, 4vw, 3.5rem); }
.edito-head { margin-bottom: var(--space-4); text-align: left; }

/* kicker (num/label) = Bangers */
.edito-num {
  font-family: var(--fx);
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.1em;
  color: var(--red);
}
.edito-num::after { content: ""; display: inline-block; width: 40px; height: 3px; background: var(--ink); vertical-align: middle; margin-left: 0.7em; }

/* section statement = Dela; JS wraps each line → stacked ink/green bars */
.edito-statement {
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(23px, 4vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-top: 1rem;
  word-break: keep-all;
  text-wrap: pretty;
}
.edito-statement .accent { color: var(--green-deep); }
.edito-statement .reveal-line + .reveal-line { margin-top: 0.16em; }
.edito-statement .reveal-line-i {
  background: var(--ink); color: #fff;
  padding: 0.05em 0.32em;
  box-shadow: 4px 4px 0 rgba(16, 16, 16, 0.22);
  transform: rotate(-1.2deg);
}
.edito-statement .reveal-line-i .accent { color: var(--green); }
.edito-statement .reveal-line:nth-child(2n) .reveal-line-i { background: var(--green); transform: rotate(0.9deg); }
.edito-statement .reveal-line:nth-child(2n) .reveal-line-i .accent { color: #fff; }

.edito-sub { margin-top: 1.4rem; max-width: 40em; color: var(--c-grey); font-size: 15.5px; line-height: 1.95; }

/* dark gutter section (index PROOF) = ink page, white comic panels pop on it */
.edito--dark {
  background-color: var(--ink);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
  background-size: 22px 22px;
  color: var(--paper);
}
.edito--dark .edito-num { color: var(--yellow); }
.edito--dark .edito-num::after { background: var(--yellow); }
.edito--dark .edito-sub { color: rgba(247, 242, 231, 0.82); }
.edito--dark .edito-statement .reveal-line-i { background: #fff; color: var(--ink); box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5); }
.edito--dark .edito-statement .reveal-line:nth-child(2n) .reveal-line-i { background: var(--yellow); color: var(--ink); }
.edito--dark .edito-statement .reveal-line-i .accent { color: var(--green-deep); }

/* mission (index close) = yellow burst with 集中線 */
.edito--dark.mission {
  background: var(--yellow);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.edito--dark.mission::before {
  content: "";
  position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg, rgba(16, 16, 16, 0.11) 0deg 2.2deg, transparent 2.2deg 9deg);
  pointer-events: none;
}
.edito--dark.mission .edito-inner { position: relative; }
.edito--dark.mission .edito-num { color: var(--red); }
.edito--dark.mission .edito-num::after { background: var(--ink); }
.edito--dark.mission .edito-sub { color: var(--ink); font-weight: 700; }
.edito--dark.mission .edito-statement { font-size: clamp(30px, 5.6vw, 60px); line-height: 1.35; }
.edito--dark.mission .edito-statement .reveal-line-i,
.edito--dark.mission .edito-statement .reveal-line:nth-child(2n) .reveal-line-i {
  background: transparent; color: var(--ink);
  box-shadow: none; transform: none; padding: 0;
}
.edito--dark.mission .edito-statement .accent { color: var(--red); }

/* for-media (index) = smaller statement */
.for-media .edito-statement { font-size: clamp(20px, 3.2vw, 32px); line-height: 1.45; }
.for-media .edito-sub { max-width: 38em; }

/* ============================================================
   TRUSTED band (index) — full-bleed ink strip
   ============================================================ */
.trust-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(1rem, 2.4vw, 1.4rem) 6vw;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.4rem 1.2rem;
  text-align: center;
  background: var(--ink);
  color: #fff;
}
.trust-band .tb-label { font-family: var(--fx); font-size: 15px; letter-spacing: 0.14em; color: var(--yellow); }
.trust-band .tb-text { font-family: var(--body); font-weight: 700; font-size: 14px; color: #fff; }
.trust-band .tb-text strong { color: var(--yellow); font-weight: 900; }

/* ============================================================
   COMIC PRIMITIVES — panel / tag / chips (index SERVICES route)
   ============================================================ */
.panel { background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 26px 28px; position: relative; }
.panel.tilt { transform: rotate(-0.7deg); }
.panel .tag {
  position: absolute; top: -15px; left: 18px;
  background: var(--yellow); border: 3px solid var(--ink);
  font-family: var(--body); font-weight: 900; font-size: 12px; line-height: 1;
  padding: 6px 12px; letter-spacing: 0.1em;
  box-shadow: 3px 3px 0 var(--ink);
}
.svc-route { max-width: 44rem; margin-top: var(--space-3); }
.svc-route-lead { font-family: var(--body); font-weight: 900; font-size: clamp(16px, 2.4vw, 20px); line-height: 1.6; margin-bottom: 1.1rem; }
.svc-chips { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 1.3rem; }
.chipx {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink);
  padding: 9px 15px;
  font-family: var(--body); font-weight: 900; font-size: 14px; color: var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.chipx:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.chipx svg { width: 22px; height: 22px; flex: none; }
.svc-route-btn { margin-top: 0.2rem; }

/* ============================================================
   METRICS — big stat panels (count-up keeps working on .num)
   ============================================================ */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.4vw, 1.8rem); margin-top: var(--space-3); }
@media (max-width: 720px) { .metrics { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; } }
.metric { background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm); padding: 16px 16px 18px; transform: rotate(-1deg); }
.metric:nth-child(2n) { transform: rotate(1deg); }
.metric:nth-child(3n) { transform: rotate(-0.4deg); }
.metric .bar { width: 34px; height: 5px; background: var(--red); margin-bottom: 0.8rem; }
.metric .num {
  font-family: var(--head); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 52px); line-height: 1; letter-spacing: 0;
  color: var(--green-deep); white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.metric .num .u { font-family: var(--body); font-size: 0.32em; font-weight: 900; margin-left: 0.14em; color: var(--ink); letter-spacing: 0; }
.metric .lb { margin-top: 0.7rem; font-family: var(--body); font-weight: 700; font-size: 12.5px; color: var(--c-grey); line-height: 1.5; }
.metrics-asof { margin-top: 1rem; text-align: right; font-size: 11.5px; color: var(--c-grey); }
.edito--dark .metrics-asof { color: rgba(247, 242, 231, 0.6); }

/* ============================================================
   MEDIA band / lead person (white comic panels)
   ============================================================ */
.media-band {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 1rem;
  margin-top: var(--space-3);
  padding: 0.9rem 1rem;
  background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
}
.media-band .mb-label { font-family: var(--fx); font-size: 15px; letter-spacing: 0.1em; color: var(--red); }
.media-band .mb-text { font-family: var(--body); font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.6; }
.media-band .mb-go { margin-left: auto; font-family: var(--fx); font-size: 14px; letter-spacing: 0.06em; color: var(--green-deep); white-space: nowrap; }
@media (max-width: 640px) { .media-band .mb-go { margin-left: 0; } }

.lead-person {
  display: flex; align-items: center; gap: 1.2rem;
  margin-top: var(--space-3); max-width: 36rem;
  background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
  padding: 16px 18px;
}
.lead-person .lp-photo {
  flex: none; width: 84px; height: 84px;
  border-radius: 50%; object-fit: cover; object-position: center 22%;
  border: 3px solid var(--ink);
}
.lead-person .lp-name { font-family: var(--head); font-weight: 400; font-size: 16px; color: var(--ink); line-height: 1.3; }
.lead-person .lp-role { margin-top: 0.35rem; font-size: 12.5px; line-height: 1.6; color: var(--c-grey); }
.lead-person .lp-quote { margin-top: 0.5rem; font-family: var(--head); font-weight: 400; font-size: 13.5px; line-height: 1.5; color: var(--green-deep); }
.lead-person .lp-link { display: inline-block; margin-top: 0.55rem; font-family: var(--fx); font-size: 13px; letter-spacing: 0.06em; color: var(--red); }
.lead-person .lp-link:hover { color: var(--green-deep); }
.lead-person--onband { margin-top: var(--space-3); }

/* ============================================================
   PHOTO — 3px frame + offset shadow + halftone + ink caption bar
   ============================================================ */
.photo-strip {
  position: relative;
  width: min(1120px, 92vw);
  margin: clamp(1.4rem, 4vw, 2.4rem) auto;
  height: clamp(210px, 32vw, 340px);
  border: 3px solid var(--ink);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--paper);
  transform: rotate(-0.5deg);
}
.photo-strip:nth-of-type(2n) { transform: rotate(0.5deg); }
.photo-strip img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transform: scale(1.12);
  will-change: transform;
}
.photo-strip::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.2) 1px, transparent 1.4px);
  background-size: 5px 5px;
  mix-blend-mode: multiply;
  opacity: 0.55;
}
.photo-strip figcaption {
  position: absolute; left: -3px; bottom: -3px; z-index: 3;
  background: var(--ink); color: #fff;
  font-family: var(--fx); font-size: 13px; letter-spacing: 0.08em;
  padding: 7px 14px;
}

/* activity / feature cards (machizukuri) */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(1.4rem, 3vw, 2.2rem); margin-top: var(--space-3); }
.feat { display: block; background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow); padding: 0 0 16px; transition: transform 0.12s, box-shadow 0.12s; }
.feat:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.feat .ph { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-bottom: 3px solid var(--ink); background: var(--paper); }
.feat .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.feat .ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.18) 1px, transparent 1.4px);
  background-size: 5px 5px; mix-blend-mode: multiply; opacity: 0.5;
}
.feat .ttl { margin: 1rem 16px 0; font-family: var(--head); font-weight: 400; font-size: 17px; letter-spacing: 0.02em; }
.feat .tx { margin: 0.6rem 16px 0; font-size: 14px; color: var(--c-grey); line-height: 1.85; }

/* two-column split (about MESSAGE) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: var(--sec-max); margin: 0 auto; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 2rem; } }
.split .media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); border: 3px solid var(--ink); box-shadow: var(--shadow); transform: rotate(-0.6deg); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(16, 16, 16, 0.16) 1px, transparent 1.4px);
  background-size: 5px 5px; mix-blend-mode: multiply; opacity: 0.5;
}
.split .body .lead-serif { font-family: var(--head); font-weight: 400; font-size: clamp(20px, 2.8vw, 30px); line-height: 1.55; letter-spacing: 0.02em; color: var(--ink); }
.split .body p { margin-top: 1.3rem; color: var(--ink); font-size: 15px; line-height: 1.95; }

/* ============================================================
   EVENT strip / NEWS list
   ============================================================ */
.strip { max-width: var(--sec-max); margin: 0 auto; padding: 0 6vw; }
.strip a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 16px 20px;
  background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  transition: transform 0.12s, box-shadow 0.12s;
}
.strip a:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.strip .st-l { font-family: var(--fx); letter-spacing: 0.08em; font-size: 20px; color: var(--red); }
.strip .st-r { font-family: var(--body); font-weight: 700; font-size: 13.5px; color: var(--ink); }
.strip .st-go { font-family: var(--fx); font-size: 15px; letter-spacing: 0.06em; color: var(--green-deep); }
.strip-sub { display: block; margin-top: 0.8rem; text-align: right; font-family: var(--fx); font-size: 14px; letter-spacing: 0.06em; color: var(--green-deep); }
@media (max-width: 640px) { .strip-sub { text-align: left; } }

.news-min { border: 3px solid var(--ink); background: #fff; box-shadow: var(--shadow); margin-top: var(--space-3); }
.news-min li { border-bottom: 3px solid var(--ink); }
.news-min li:last-child { border-bottom: 0; }
.news-min a, .news-min .row { display: grid; grid-template-columns: 9rem 1fr auto; align-items: baseline; gap: 1.2rem; padding: 15px 20px; transition: background 0.15s; }
.news-min a:hover { background: var(--yellow); }
.news-min .dt { font-family: var(--fx); font-size: 15px; letter-spacing: 0.06em; color: var(--c-grey); }
.news-min .tx { font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.7; }
.news-min .cat2 { font-family: var(--fx); font-size: 14px; letter-spacing: 0.04em; color: var(--red); }
@media (max-width: 640px) {
  .news-min a, .news-min .row { grid-template-columns: 1fr; gap: 0.3rem; padding: 13px 16px; }
  .news-min .cat2 { display: none; }
}

/* ============================================================
   MARQUEE — outlined Bangers band
   ============================================================ */
.marquee {
  width: 100vw; margin-left: calc(50% - 50vw);
  padding: clamp(2rem, 6vw, 4rem) 0;
  overflow: hidden;
  -webkit-user-select: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span {
  flex: none;
  font-family: var(--fx);
  font-size: clamp(40px, 8vw, 84px);
  letter-spacing: 0.03em; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  white-space: nowrap;
  padding-right: 0.3em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .marquee:hover .marquee-track { animation-play-state: paused; } }

/* ============================================================
   CLOSING CTA — yellow burst
   ============================================================ */
.cta-final {
  padding: var(--space-5) 6vw;
  text-align: center;
  background: var(--yellow);
  position: relative; overflow: hidden;
  border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink);
}
.cta-final::before {
  content: ""; position: absolute; inset: -40%;
  background: repeating-conic-gradient(from 0deg, rgba(16, 16, 16, 0.10) 0deg 2.2deg, transparent 2.2deg 9deg);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final .big { font-family: var(--head); font-weight: 400; font-size: clamp(28px, 5.4vw, 54px); line-height: 1.3; color: var(--ink); transform: rotate(-1deg); display: inline-block; }
.cta-final .small { margin-top: 1.3rem; color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.85; }
.cta-final .btn-pill { margin-top: 2.2rem; background: #fff; color: var(--ink); }
.cta-final .btn-pill:hover { background: #fff; }

/* ============================================================
   PAGE LEAD (lower pages) — outlined title (白抜き黒縁)
   ============================================================ */
.page-lead { max-width: var(--sec-max); margin: 0 auto; padding: clamp(7rem, 12vw, 10rem) 6vw clamp(2.4rem, 5vw, 3.6rem); text-align: left; }
.page-lead .plabel { font-family: var(--fx); font-size: clamp(16px, 2.4vw, 22px); letter-spacing: 0.1em; color: var(--red); }
.page-lead .plabel::after { content: ""; display: inline-block; width: 40px; height: 3px; background: var(--ink); vertical-align: middle; margin-left: 0.7em; }
.ptitle {
  font-family: var(--head); font-weight: 400;
  font-size: clamp(28px, 5vw, 58px); line-height: 1.28; letter-spacing: 0.01em;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-1.4deg);
  margin-top: 1.1rem;
  word-break: keep-all; text-wrap: pretty;
  display: inline-block;
}
.ptitle .accent { color: var(--yellow); }
.ptitle .reveal-line-i { transform: none; }
.page-lead .psub { margin-top: 1.6rem; max-width: 42em; color: var(--c-grey); font-size: 15.5px; line-height: 1.95; }

/* 404 — jagged shout bubble */
.page-lead--404 { text-align: center; min-height: 56vh; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.page-lead--404 .ptitle {
  color: var(--ink); background: #fff;
  -webkit-text-stroke: 0; text-shadow: none;
  padding: 34px 44px;
  clip-path: polygon(2% 8%, 8% 0, 15% 6%, 24% 0, 31% 7%, 41% 1%, 50% 7%, 60% 0, 68% 6%, 78% 1%, 86% 7%, 95% 0, 99% 9%, 94% 18%, 100% 26%, 94% 35%, 100% 44%, 95% 54%, 100% 63%, 94% 72%, 99% 82%, 93% 90%, 98% 100%, 88% 95%, 79% 100%, 70% 94%, 60% 100%, 51% 94%, 41% 99%, 32% 93%, 22% 99%, 13% 93%, 5% 98%, 0 89%, 5% 80%, 0 70%, 6% 61%, 0 51%, 6% 42%, 0 32%, 6% 23%, 0 13%);
  filter: drop-shadow(5px 5px 0 var(--ink));
  transform: rotate(-1deg);
  font-size: clamp(23px, 4.6vw, 42px); line-height: 1.4;
}
.page-lead--404 .ptitle .accent { color: var(--red); -webkit-text-stroke: 0; }
.page-lead--404 .err-back { margin-top: 2.4rem; }
.err-ar { display: inline-block; margin-left: 0.5em; transition: transform 0.15s; }
@media (hover: hover) { .err-back .btn-pill:hover .err-ar { transform: translateX(0.3em); } }

/* ============================================================
   SUBMENU (services in-page pill nav) → comic chips
   ============================================================ */
.submenu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 60rem; margin: 0 auto var(--space-3); padding: 0 1rem; }
.submenu a {
  display: block; padding: 8px 16px;
  font-family: var(--body); font-weight: 900; font-size: 14px;
  background: #fff; border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); color: var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.submenu a:hover { background: var(--yellow); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }

/* ============================================================
   SERVICES page bits (svc-tag styled by scoped <style>; comic touch here)
   ============================================================ */
.svc-mark { width: 44px; height: 44px; flex-shrink: 0; display: block; }
.svc-mark--nigiwase, .svc-mark--horesase, .svc-mark--sitecraft { background: transparent; border-radius: 0; padding: 0; }
.edito .svc-tag b { font-family: var(--head); font-weight: 400; }

.d-actions { margin-top: 1.6em; display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; }
.d-lp-link { font-family: var(--fx); font-size: 15px; letter-spacing: 0.04em; color: var(--green-deep); border-bottom: 3px solid var(--green-deep); padding-bottom: 1px; }
.d-lp-link:hover { color: var(--red); border-color: var(--red); }
.quiet-note { color: var(--c-grey); font-size: 13.5px; line-height: 1.9; }

.svc-bridge { max-width: var(--p-max); margin: var(--space-3) auto 0; padding: 1.2em 1.2rem; text-align: center; font-family: var(--body); font-weight: 700; font-size: 14.5px; line-height: 1.9; }
.svc-bridge strong { font-family: var(--head); font-weight: 400; }
.svc-bridge .svc-bridge-marks { display: inline-flex; align-items: center; gap: 0.4rem; vertical-align: middle; margin: 0 0.3em; }
.svc-bridge .svc-mark { width: 26px; height: 26px; }
.svc-bridge a { color: var(--green-deep); border-bottom: 2px solid currentColor; padding-bottom: 1px; white-space: nowrap; }
.svc-bridge a:hover { color: var(--red); }

.proof-links { margin-top: 1.4rem; font-size: 13px; line-height: 1.95; color: var(--c-grey); font-weight: 700; }
.proof-links .pl-lead { color: var(--c-grey); }
.proof-links a { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.proof-links a:hover { color: var(--green-deep); border-color: var(--green-deep); }
.proof-links .sep { margin: 0 0.5rem; color: var(--c-light); }

/* ============================================================
   TIMELINE / DL-TABLE / PAGE-BODY (about, privacy, terms)
   ============================================================ */
.timeline { max-width: 52rem; margin: var(--space-3) auto 0; border: 3px solid var(--ink); box-shadow: var(--shadow); background: #fff; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 1.2rem; padding: 14px 20px; border-bottom: 3px solid var(--ink); align-items: baseline; }
.timeline li:last-child { border-bottom: 0; }
.timeline .yr { font-family: var(--fx); font-size: 16px; letter-spacing: 0.04em; color: var(--green-deep); }
.timeline .ev { font-family: var(--body); font-weight: 500; font-size: 14.5px; color: var(--ink); line-height: 1.75; }
@media (max-width: 640px) { .timeline li { grid-template-columns: 5rem 1fr; gap: 0.9rem; } }

.dl-table { max-width: 52rem; margin: var(--space-3) auto 0; border: 3px solid var(--ink); box-shadow: var(--shadow); background: #fff; }
.dl-table .row { display: grid; grid-template-columns: 12rem 1fr; gap: 1.2rem; padding: 14px 20px; border-bottom: 3px solid var(--ink); }
.dl-table .row:last-child { border-bottom: 0; }
.dl-table .row dt { font-family: var(--fx); font-size: 14px; letter-spacing: 0.04em; color: var(--red); }
.dl-table .row dd { font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink); line-height: 1.85; }
.dl-table .row dd a { color: var(--green-deep); border-bottom: 2px solid currentColor; }
@media (max-width: 640px) { .dl-table .row { grid-template-columns: 1fr; gap: 0.3rem; } }

.page-body { max-width: var(--p-max); margin: var(--space-3) auto 0; padding: 0 6vw; }
.page-body h2 { font-family: var(--head); font-weight: 400; font-size: clamp(17px, 3vw, 24px); line-height: 1.5; margin: 2em 0 0.7em; color: var(--ink); transform: rotate(-0.4deg); display: inline-block; }
.page-body p { font-size: 15px; line-height: 1.95; color: var(--ink); }
.page-body p + p { margin-top: 1.1em; }
.page-body a { color: var(--green-deep); border-bottom: 2px solid currentColor; }
.svc-line-foot { margin-top: var(--space-4); }

/* ============================================================
   CONTACT — routes (comic panels) + form (white コマ, yellow focus)
   ============================================================ */
.contact-routes { margin-top: var(--space-3); display: grid; gap: 1rem; }
.contact-routes .route {
  display: flex; align-items: center; gap: 1rem;
  padding: 16px 20px;
  background: #fff; border: 3px solid var(--ink); box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.12s, background 0.15s;
}
.contact-routes .route:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); background: var(--yellow); }
.contact-routes .r-text { flex: 1; }
.contact-routes .r-title { font-family: var(--head); font-weight: 400; font-size: 16px; color: var(--ink); }
.contact-routes .r-desc { font-size: 13px; color: var(--c-grey); margin-top: 0.3em; line-height: 1.7; }
.contact-routes .route:hover .r-desc { color: var(--ink); }
.contact-routes .r-price { font-family: var(--fx); font-size: 16px; letter-spacing: 0.04em; color: var(--red); white-space: nowrap; }
@media (max-width: 640px) { .contact-routes .route { flex-direction: column; align-items: flex-start; gap: 0.5rem; } }

.form-intro { font-size: 14px; color: var(--c-grey); margin: 0.4em 0 var(--space-3); }
.req-note { display: inline-block; margin-left: 0.4em; font-size: 12px; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; max-width: 52rem; margin: 0 auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4em; }
.field-label { font-family: var(--body); font-weight: 900; font-size: 13.5px; letter-spacing: 0.02em; color: var(--ink); }
.field-label em { color: var(--red); font-style: normal; margin-left: 0.1em; }
.contact-form input, .contact-form textarea, .contact-form select {
  font-family: var(--body); font-weight: 500; font-size: 15px; color: var(--ink);
  width: 100%; padding: 0.75em 0.9em;
  border: 2px solid var(--ink); border-radius: 0;
  background: #fff;
  transition: box-shadow 0.15s, background 0.15s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  background: #fffdf2;
  box-shadow: 4px 4px 0 var(--yellow), 0 0 0 2px var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 8em; }
.contact-form select {
  padding-right: 2.4em;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23101010' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.95em center; background-size: 11px 7px;
}
.hp-field { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }
.form-consent { font-size: 12px; color: var(--c-grey); line-height: 1.7; }
.form-consent a { color: var(--green-deep); text-decoration: underline; }
.form-status { text-align: center; font-family: var(--body); font-weight: 700; font-size: 14px; min-height: 1.4em; margin-top: 0.4em; }
.form-status.is-sending { color: var(--c-grey); }
.form-status.is-ok { color: var(--green-deep); }
.form-status.is-err { color: var(--red); }
.form-status a { color: inherit; text-decoration: underline; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.contact-direct { margin-top: var(--space-3); text-align: center; font-size: 14.5px; font-weight: 700; }
.contact-direct a { color: var(--green-deep); border-bottom: 2px solid currentColor; }

/* ============================================================
   MACHIZUKURI ROLES — vertical Dela accent (kept, comic-ok)
   ============================================================ */
.roles-lay .timeline { margin-top: var(--space-3); }
@media (min-width: 813px) {
  .roles-lay { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(2rem, 6vw, 4rem); align-items: start; }
  .roles-lay .edito-head { margin-bottom: 0; }
  .roles-lay .timeline { margin-top: 0; }
}
.tate {
  writing-mode: vertical-rl;
  font-family: var(--head); font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px); line-height: 1.7; letter-spacing: 0.1em;
  color: var(--ink);
  margin-top: 1.2rem; padding-right: 0.9rem;
  border-right: 4px solid var(--red);
}
.tate .accent { color: var(--green-deep); }
@media (max-width: 640px) {
  .tate { writing-mode: horizontal-tb; border-right: 0; border-left: 4px solid var(--red); padding-right: 0; padding-left: 0.9rem; }
}

/* ============================================================
   BACK-TO-TOP (JS-created)
   ============================================================ */
.to-top {
  position: fixed; right: clamp(0.9rem, 2.4vw, 1.6rem); bottom: clamp(0.9rem, 2.4vw, 1.6rem);
  z-index: 30; width: 46px; height: 46px;
  display: grid; place-items: center; cursor: pointer;
  border: 3px solid var(--ink); border-radius: 0;
  background: var(--yellow); color: var(--ink);
  box-shadow: var(--shadow-sm);
  font-family: var(--fx); font-size: 20px; line-height: 1;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), box-shadow 0.12s;
}
.to-top.is-in { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (hover: hover) { .to-top:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); } }

/* ============================================================
   FOOTER — ink field, paper text, yellow accents
   ============================================================ */
footer { margin-top: 0; background: var(--ink); color: var(--paper); padding: 46px 1rem; text-align: center; border-top: 6px solid var(--yellow); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.footer-nav a { padding: 4px 9px; font-weight: 700; font-size: 14px; color: var(--paper); }
.footer-nav a:hover { color: var(--yellow); }
.footer-logo { display: inline-block; padding: 18px 12px; margin-top: 1rem; }
.footer-logo img { width: 120px; filter: brightness(0) invert(1); }
.footer-consult { margin-top: 1.2rem; }
.footer-consult p { font-size: 13px; color: rgba(247, 242, 231, 0.7); margin-bottom: 0.9em; }
.footer-sns { margin-top: 1.6rem; display: flex; justify-content: center; gap: 8px; }
.footer-sns a { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 3px solid var(--paper); color: var(--paper); }
.footer-sns a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.footer-sns svg { width: 22px; height: 22px; fill: currentColor; }
.site-info { margin-top: 1.6rem; font-size: 12px; color: rgba(247, 242, 231, 0.7); }
.site-info .legal-note { display: block; font-size: 11px; margin-top: 0.5em; color: rgba(247, 242, 231, 0.55); line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 812px) {
  .header-menu { display: none; }
  .nav-toggle { display: block; }
  .site-logo img { width: 88px; }
  .hero { height: min(76vh, 620px); }
  /* narrow hero: drop the centered SCROLL cue so it never overlaps the bottom-left copy */
  .scroll-cue { display: none; }
}
@media (min-width: 813px) { .nav-toggle { display: none; } }

/* narrow screens: long Dela titles/statements must wrap (keep-all would clip them off-screen) */
@media (max-width: 700px) {
  .ptitle { display: block; word-break: normal; overflow-wrap: anywhere; font-size: clamp(24px, 8vw, 40px); }
  .edito-statement { word-break: normal; overflow-wrap: anywhere; }
  .edito--dark.mission .edito-statement { font-size: clamp(26px, 8.5vw, 46px); }
}

/* ============================================================
   REDUCED MOTION — kill all motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .splash { display: none; }
  body.is-loading { overflow: auto; }
  .sf, .sf-img { opacity: 1 !important; transform: none !important; transition: none !important; }
  .splash-inner { animation: none; }
  .scroll-cue .sc-line { animation: none; }
  .marquee-track { animation: none; transform: none; }
  .hero-copy .line i, .hero-copy .sub i, .hero-copy .hero-fact i { animation: none !important; clip-path: none !important; transform: none !important; opacity: 1 !important; }
  .btn, .btn:hover, .btn:active,
  .btn-pill, .btn-pill:hover, .btn-pill:active,
  .cta-arrow, .cta-arrow:hover, .cta-arrow:active,
  .cta-arrow .circ, .chipx, .strip a, .feat, .contact-routes .route,
  .submenu a, .to-top, .header-menu > ul > li:last-child > a { transition: none; }
  .err-ar { transition: none; }
}

/* corporate essentials (2026-07-13): skip link */
.skip-link{
  position:fixed; top:-60px; left:16px; z-index:200;
  background:var(--yellow,#ffd514); color:var(--ink,#101010);
  border:3px solid var(--ink,#101010); box-shadow:4px 4px 0 var(--ink,#101010);
  font-weight:900; font-size:14px; padding:12px 18px; text-decoration:none;
  transition:top .15s ease;
}
.skip-link:focus{ top:14px; }

/* service CTA: 自己完結LPを新タブ主役化＝ページ遷移/離脱を減らす (2026-07-14) */
.cta-arrow .nt{ font-weight:700; font-size:0.76em; opacity:0.72; letter-spacing:0; margin-left:0.2em; }
.d-oneline{
  flex-basis:100%; margin-top:0.15rem;
  font-family:var(--body); font-size:13px; font-weight:700; color:#5f564c;
  display:inline-flex; align-items:center; gap:0.45em; line-height:1.45;
}
.d-oneline .nt-ic{
  display:inline-grid; place-items:center; flex:none; width:19px; height:19px;
  border:2px solid var(--ink); border-radius:5px; background:var(--yellow);
  font-family:var(--fx); font-size:12px; line-height:1; transform:rotate(-3deg);
}
.edito--dark .d-oneline{ color:#cfc7ba; }

/* ============================================================
   AI office koma strip (2026-07-19 AI軸改訂)
   4コマ「AIオフィスの一日」＋自社実演バンド
   ============================================================ */
.aio-koma { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(0.9rem, 2vw, 1.4rem); margin-top: var(--space-3); counter-reset: koma; }
.aio-koma .koma { background: var(--panel); border: 3px solid var(--ink); box-shadow: var(--shadow-sm); padding: 18px 16px 20px; position: relative; transform: rotate(-0.8deg); display: flex; flex-direction: column; gap: 0.7rem; }
.aio-koma .koma:nth-child(2n) { transform: rotate(0.7deg); }
.aio-koma .koma:nth-child(3) { transform: rotate(-0.3deg); }
.aio-koma .koma::before { counter-increment: koma; content: counter(koma); position: absolute; top: -14px; left: -12px; width: 30px; height: 30px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--fx); font-size: 17px; border: 3px solid var(--ink); border-radius: 50%; box-shadow: 2px 2px 0 var(--ink); }
.aio-koma .k-time { font-family: var(--fx); font-size: 16px; letter-spacing: 0.12em; color: var(--red); }
.aio-koma .k-scene { font-weight: 900; font-size: 14.5px; line-height: 1.65; color: var(--c-ink); }
.aio-koma .k-balloon { position: relative; background: var(--yellow); border: 2.5px solid var(--ink); border-radius: 14px; padding: 9px 12px 10px; font-weight: 700; font-size: 12.5px; line-height: 1.55; margin-top: auto; }
.aio-koma .k-balloon::after { content: ""; position: absolute; left: 20px; top: -11px; width: 11px; height: 11px; background: var(--yellow); border-left: 2.5px solid var(--ink); border-top: 2.5px solid var(--ink); transform: rotate(50deg) skewX(14deg); }
.aio-koma .k-balloon .who { display: block; font-family: var(--fx); font-size: 11px; letter-spacing: 0.1em; color: var(--green-deep); margin-bottom: 2px; }
.aio-caption { margin-top: 1rem; font-size: 11.5px; color: var(--c-grey); }
@media (max-width: 900px) { .aio-koma { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .aio-koma { grid-template-columns: 1fr; } }

/* 自社実演バンド（事実のみ・ダークコマ） */
.aio-demo { margin-top: var(--space-3); background: var(--ink); color: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(16,16,16,0.25); padding: 22px 26px; transform: rotate(-0.4deg); }
.aio-demo .ad-label { font-family: var(--fx); font-size: 15px; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 0.5rem; }
.aio-demo .ad-title { font-family: var(--head); font-size: clamp(17px, 2.6vw, 22px); line-height: 1.5; color: #fff; margin-bottom: 0.6rem; }
.aio-demo .ad-title .em { color: var(--yellow); }
.aio-demo p { font-size: 13.5px; line-height: 1.9; color: rgba(247, 242, 231, 0.85); }
