/* ============================================================
   AID CRAFT — Design System v2
   White editorial × ink typography × single deep-blue accent
   ============================================================ */

:root {
  --c-ink: #15181e;
  --c-ink-soft: #2a2e37;
  --c-text: #15181e;
  --c-gray: #4d5970;
  --c-gray-2: #78849a;
  --c-line: #e4e7ec;
  --c-hairline: #edeff2;
  --c-white: #ffffff;
  --c-bg-gray: #f5f5f2;
  --c-dark: #101319;
  --c-dark-2: #171b22;
  --c-dark-line: rgba(255, 255, 255, 0.12);

  --c-accent: #e2571c;
  --c-accent-deep: #b8430f;
  --c-accent-weak: rgba(232, 88, 32, 0.1);

  --ff-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-en: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ff-display: "Anton", "Arial Black", sans-serif;

  --header-h: 76px;
  --radius: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-hover: 0 16px 32px -18px rgba(16, 19, 25, 0.22);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--ff-ja);
  background: var(--c-white);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--c-ink); color: #fff; }

:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

.container { width: min(1160px, 92%); margin-inline: auto; position: relative; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled {
  border-color: var(--c-hairline);
  box-shadow: 0 8px 24px -18px rgba(16, 19, 25, 0.25);
}
.site-header .container { display: flex; align-items: center; gap: 32px; width: min(1280px, 94%); }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo__img { height: 38px; width: auto; display: block; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--c-accent);
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 19px; color: #fff; letter-spacing: 0;
}
.logo__text {
  font-family: var(--ff-en); font-weight: 700; font-size: 18px;
  letter-spacing: 0.08em; color: var(--c-ink);
}
.logo__text small { display: block; font-size: 8.5px; letter-spacing: 0.3em; color: var(--c-gray-2); font-weight: 600; margin-top: -2px; }

.gnav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.gnav__link {
  font-size: 13.5px; font-weight: 700; color: var(--c-ink-soft);
  position: relative; padding: 6px 0; transition: color 0.3s;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--c-ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.gnav__link:hover { color: var(--c-ink); }
.gnav__link:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta { flex-shrink: 0; }

.burger {
  display: none; flex-direction: column; gap: 6px; padding: 10px;
  margin-left: auto; z-index: 130; position: relative;
}
.burger span { width: 26px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.98);
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.drawer.open { opacity: 1; visibility: visible; }
.drawer__inner { text-align: center; display: grid; gap: 6px; }
.drawer__link {
  font-size: 22px; font-weight: 900; color: var(--c-ink);
  padding: 10px 20px; display: inline-block;
  transition: color 0.3s, transform 0.3s;
}
.drawer__link span { display: none; }
.drawer__link:hover { color: var(--c-accent); transform: translateY(-2px); }
.drawer__cta { margin-top: 24px; }
.drawer__mail { margin-top: 16px; font-family: var(--ff-en); font-size: 13px; color: var(--c-gray); letter-spacing: 0.05em; }

/* side vertical CTA */
.side-cta {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90;
  writing-mode: vertical-rl;
  background: var(--c-ink);
  color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 0.26em;
  padding: 26px 14px 26px 15px; border-radius: 6px 0 0 6px;
  transition: background 0.3s, padding 0.3s var(--ease);
}
.side-cta:hover { background: var(--c-accent); padding-right: 21px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  font-weight: 700; font-size: 14.5px; letter-spacing: 0.08em;
  padding: 17px 32px; border-radius: 5px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn--primary { background: linear-gradient(135deg, #c2410c, #e85820); color: #fff; box-shadow: 0 8px 20px -10px rgba(194, 65, 12, 0.5); }
.btn--primary:hover { background: linear-gradient(135deg, #9a3412, #d54e14); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(194, 65, 12, 0.55); }
.btn--ghost { border: 1px solid var(--c-ink); color: var(--c-ink); background: transparent; }
.btn--ghost:hover { background: var(--c-ink); color: #fff; transform: translateY(-2px); }
.btn--dark { background: linear-gradient(135deg, #15181e, #2e3542); color: #fff; }
.btn--dark:hover { background: linear-gradient(135deg, #c2410c, #e85820); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn--sm { padding: 12px 22px; font-size: 13px; }
.btn__arrow {
  width: 20px; height: 20px; flex-shrink: 0;
  display: grid; place-items: center;
  transition: transform 0.3s var(--ease);
}
.btn__arrow svg { width: 14px; height: 14px; }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* ============================================================
   Sections scaffolding
   ============================================================ */
.sec { padding: 128px 0; position: relative; overflow: hidden; }
.sec--light, .sec--dark2 { background: var(--c-white); }
.sec--light2, .sec--dark { background: var(--c-bg-gray); }
section { scroll-margin-top: calc(var(--header-h) + 10px); }

.sec__ghost {
  position: absolute; top: 30px; left: 50%; transform: translateX(-50%);
  font-family: var(--ff-display); font-size: clamp(90px, 14vw, 190px);
  line-height: 1; letter-spacing: 0.04em; white-space: nowrap;
  color: rgba(46, 53, 66, 0.055);
  pointer-events: none; user-select: none;
}

.sec__head { margin-bottom: 64px; position: relative; }
.sec__head--center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--ff-en); font-weight: 700; font-size: 12px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--c-ink); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: linear-gradient(135deg, #b8430f, #e85820); }
.eyebrow__num { display: none; }

.sec__title {
  font-size: clamp(28px, 4.1vw, 50px); font-weight: 900; line-height: 1.4;
  letter-spacing: 0.02em; color: var(--c-ink);
}
.sec__title .grad-text { white-space: nowrap; }
.sec__lead { margin-top: 22px; color: var(--c-gray); font-size: 15.5px; max-width: 720px; }
.sec__head--center .sec__lead { margin-inline: auto; }

.grad-text { background: linear-gradient(120deg, var(--gt-a, #b8430f), var(--gt-b, #e85820)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

.marker { background: linear-gradient(transparent 68%, rgba(232, 88, 32, 0.2) 68%); padding: 0 1px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 94svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) 0 0;
  overflow: hidden;
  background:
    radial-gradient(1000px 460px at 88% -8%, rgba(232, 88, 32, 0.075), transparent 60%),
    radial-gradient(700px 420px at -6% 34%, rgba(46, 53, 66, 0.05), transparent 60%),
    var(--c-white);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 24, 30, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 30, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 72% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 72% 30%, #000 20%, transparent 75%);
}

.hero__inner { position: relative; z-index: 2; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 38px;
  font-family: var(--ff-en); font-size: 12px; font-weight: 700; letter-spacing: 0.24em;
  color: var(--c-ink);
}
.hero__kicker em { font-style: normal; color: var(--c-gray); font-family: var(--ff-ja); letter-spacing: 0.12em; font-size: 11.5px; font-weight: 500; }
.hero__kicker i { width: 9px; height: 9px; background: var(--c-accent); }

.hero__title {
  font-size: clamp(38px, 6.6vw, 78px);
  font-weight: 900; line-height: 1.28; letter-spacing: 0.015em;
  margin-bottom: 32px; color: var(--c-ink);
}
.hero__title .line { display: block; white-space: nowrap; }

.hero__lead {
  max-width: 640px; color: var(--c-gray); font-size: clamp(14.5px, 1.5vw, 16px);
  margin-bottom: 44px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 22px; font-size: 12.5px; color: var(--c-gray); }

.hero__for { margin-top: 56px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__for-label { display: none; }
.chip {
  font-size: 12.5px; font-weight: 700; color: var(--c-ink-soft);
  border: 1px solid var(--c-line); border-radius: 3px; padding: 6px 14px;
  background: var(--c-white);
}

/* scroll indicator */
.hero__scroll {
  position: absolute; left: 4%; bottom: 116px; z-index: 3;
  font-family: var(--ff-en); font-size: 10px; letter-spacing: 0.32em; color: var(--c-gray-2);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: var(--c-ink);
  animation: drip 2.2s var(--ease) infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: top; } 56% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* marquee */
.marquee {
  position: relative; z-index: 2; margin-top: 72px;
  border-top: 1px solid var(--c-hairline); border-bottom: 1px solid var(--c-hairline);
  padding: 22px 0; overflow: hidden;
  background: var(--c-white);
}
.marquee__track { display: flex; gap: 56px; width: max-content; animation: mq 17s linear infinite; }
.marquee__item {
  font-family: "Anton", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif; font-weight: 900; font-synthesis: none; font-size: 40px; letter-spacing: 0.05em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #b3bac7;
  white-space: nowrap; display: flex; align-items: center; gap: 56px;
}
.marquee__item i { font-style: normal; font-size: 10px; color: var(--c-accent); -webkit-text-stroke: 0; }
.marquee__item .fill { color: var(--c-ink); -webkit-text-stroke: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* marquee variants (standalone bands) */
.marquee--band { margin-top: 0; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 20s; }
.marquee--slow .marquee__track { animation-duration: 26s; }
.marquee--dark { background: var(--c-dark); border-color: rgba(255, 255, 255, 0.08); }
.marquee--dark .marquee__item { -webkit-text-stroke-color: rgba(255, 255, 255, 0.42); }
.marquee--dark .marquee__item .fill { color: #fff; }
.marquee--fast .marquee__track { animation-duration: 12s; }
.marquee__item .fill.mq-deaeru { color: #1e3a8a; }
.marquee__item .fill.mq-hakadoru { color: #134e4a; }
.marquee__item .fill.mq-kotaeru { color: #312e81; }
.marquee__item .fill.mq-mitsukaru { color: #9a3412; }
.marquee__item .fill.mq-todokeru { color: #831843; }
.marquee__item .fill.mq-atsumaru { color: #14532d; }
.pd .marquee--product .marquee__item { -webkit-text-stroke-color: var(--pb-stroke); }
.pd .marquee--product .marquee__item .fill { color: var(--pb-deep, var(--pb)); }
.pd .marquee--product .marquee__item i { color: var(--pb); }

/* ============================================================
   Issue
   ============================================================ */
.issue-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.issue-card {
  background: linear-gradient(160deg, var(--c-white) 58%, #eef3fe);
  border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 30px 28px;
  display: flex; gap: 16px; align-items: flex-start;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.issue-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--c-ink); }
.issue-card__icon {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 8px;
  background: linear-gradient(135deg, #c2410c, #e85820); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 16px;
  font-family: var(--ff-en);
}
.issue-card p { font-size: 14.5px; font-weight: 700; line-height: 1.75; color: var(--c-ink); }

.bridge { margin-top: 60px; text-align: center; }
.bridge__arrow { width: 1px; height: 52px; margin: 0 auto 28px; background: var(--c-ink); position: relative; }
.bridge__arrow::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%) rotate(45deg); width: 8px; height: 8px; border-right: 1.5px solid var(--c-ink); border-bottom: 1.5px solid var(--c-ink); }
.bridge p { font-size: clamp(17px, 2.2vw, 22px); font-weight: 900; line-height: 2.1; color: var(--c-ink); }

/* ============================================================
   Service
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(168deg, var(--c-white) 52%, var(--sc-bg, var(--c-white)));
  border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 40px 32px 32px; overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--sc, var(--c-accent)), var(--sc-2, #3b82f6)); opacity: 1;
}
.svc-card:hover { transform: translateY(-5px); border-color: var(--sc, var(--c-ink)); box-shadow: var(--shadow-hover); }
.svc-card:hover::before { opacity: 1; }
.svc-card__num {
  font-family: var(--ff-en); font-weight: 700; font-size: 16px; letter-spacing: 0.18em;
  color: var(--sc, var(--c-gray-2)); margin-bottom: 22px;
}
.svc-card__icon { width: 60px; height: 60px; margin-bottom: 24px; border-radius: 14px; background: var(--sc-bg, var(--c-bg-gray)); display: grid; place-items: center; }
.svc-card__icon svg { width: 28px; height: 28px; stroke: var(--sc, var(--c-ink)); }
.svc-card__title { font-size: 22px; font-weight: 900; letter-spacing: 0.03em; color: var(--c-ink); margin-bottom: 16px; }
.svc-card__sub { font-family: var(--ff-en); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; color: var(--c-gray-2); margin: 6px 0 18px; text-transform: uppercase; }
.svc-card__copy { font-size: 14.5px; color: var(--c-gray); margin-bottom: 22px; }
.svc-card__copy strong { color: var(--c-ink); }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 30px; }
.svc-card__tags li {
  font-size: 12.5px; font-weight: 700; color: var(--sc-deep, var(--c-ink-soft));
  border: 1px solid transparent; border-radius: 3px; padding: 4px 11px;
  background: var(--sc-bg, var(--c-bg-gray));
}
.svc-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 14px; color: var(--c-ink);
  transition: color 0.3s;
}
.svc-card__link .btn__arrow { width: 26px; height: 26px; border-radius: 50%; background: var(--sc, var(--c-ink)); }
.svc-card__link .btn__arrow svg { width: 11px; height: 11px; }
.svc-card__link:hover { color: var(--sc-deep, var(--c-accent)); }
.svc-card__link:hover .btn__arrow { background: var(--sc-deep, var(--c-accent)); transform: translateX(5px); }

.svc-card--ai  { --sc: #1d4ed8; --sc-2: #3b82f6; --sc-deep: #1e3a8a; --sc-bg: #eef3fe; }
.svc-card--web { --sc: #c2410c; --sc-2: #ea580c; --sc-deep: #9a3412; --sc-bg: #fdf0e9; }
.svc-card--sns { --sc: #9d174d; --sc-2: #db2777; --sc-deep: #831843; --sc-bg: #fceef4; }

/* ============================================================
   Synergy
   ============================================================ */
.synergy {
  border: 1px solid var(--c-line); border-radius: 16px;
  padding: clamp(36px, 5vw, 64px);
  background: var(--c-white);
  position: relative; overflow: hidden;
}
.syn-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; margin: 44px 0 36px; }
.syn-step {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 8px; padding: 26px 18px; text-align: center;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.syn-step:hover { border-color: var(--c-ink); transform: translateY(-3px); }
.syn-step b { font-size: 15px; color: var(--c-ink); }
.syn-step span { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: 0.24em; color: var(--c-gray-2); text-transform: uppercase; }
.syn-step--goal { background: linear-gradient(135deg, #b8430f, #e85820); border-color: transparent; }
.syn-step--goal b { color: #fff; }
.syn-step--goal span { color: rgba(255, 255, 255, 0.8); }
.syn-arrow { display: grid; place-items: center; color: var(--c-gray-2); font-size: 15px; }
@media (min-width: 961px) {
  .syn-arrow { animation: nudge 1.8s var(--ease) infinite; }
}
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.synergy__copy { color: var(--c-gray); font-size: 15px; max-width: 780px; }
.synergy__copy strong { color: var(--c-ink); }

/* ============================================================
   Works
   ============================================================ */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.work-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.work-card:hover { transform: translateY(-4px); border-color: var(--c-ink); box-shadow: var(--shadow-hover); }
.work-card__tags { display: flex; gap: 7px; margin-bottom: 18px; flex-wrap: wrap; }
.work-card__tag {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--c-gray); background: var(--c-bg-gray); border-radius: 3px; padding: 4px 10px;
}
.work-card__tag--cat { background: var(--c-ink); color: #fff; }
.work-card__title { font-size: 18px; font-weight: 900; line-height: 1.65; margin-bottom: 20px; color: var(--c-ink); }
.work-card dl { display: grid; gap: 11px; }
.work-card dl div { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: start; }
.work-card dt {
  font-size: 11px; font-weight: 700; color: var(--c-accent);
  border: 1px solid rgba(232, 88, 32, 0.45); border-radius: 3px;
  text-align: center; padding: 3px 0; margin-top: 4px; background: var(--c-white);
}
.work-card dd { font-size: 14px; color: var(--c-gray); line-height: 1.85; }

.note {
  font-size: 13px; color: var(--c-gray); line-height: 1.9;
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: 8px; padding: 16px 22px;
}
.works-more { margin-top: 48px; text-align: center; }

/* ============================================================
   Value
   ============================================================ */
.value-list { border-top: 1px solid var(--c-line); }
.value-item {
  border-bottom: 1px solid var(--c-line);
  padding: 40px 10px;
  display: grid; grid-template-columns: 110px 330px 1fr; gap: 28px 36px; align-items: baseline;
  transition: background 0.3s, padding-left 0.3s var(--ease);
}
.value-item > div { display: contents; }
.value-item:hover { background: var(--c-white); padding-left: 22px; }
.sec--light .value-item:hover, .sec--dark2 .value-item:hover { background: var(--c-bg-gray); }
.value-item__num {
  font-family: var(--ff-en); font-weight: 700; font-size: 14px; color: var(--c-accent);
  display: flex; align-items: center; gap: 10px;
}
.value-item__num::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.value-item h3 { font-size: 19px; font-weight: 900; color: var(--c-ink); }
.value-item p { font-size: 14px; color: var(--c-gray); }

/* ============================================================
   Flow
   ============================================================ */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.flow-step {
  position: relative; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 36px 28px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--c-ink); }
.flow-step__num {
  position: absolute; top: -16px; left: 24px;
  font-family: var(--ff-en); font-weight: 700; font-size: 12.5px; letter-spacing: 0.1em; color: #fff;
  background: linear-gradient(135deg, #b8430f, #e85820); border-radius: 4px; padding: 6px 13px;
}
.flow-step h3 { font-size: 17px; font-weight: 900; margin-bottom: 10px; color: var(--c-ink); }
.flow-step p { font-size: 13.5px; color: var(--c-gray); }

/* ============================================================
   Message / representative
   ============================================================ */
.message { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.msg-media { position: relative; }
.msg-media__frame {
  position: relative; border-radius: 6px; overflow: hidden;
}
.msg-media__frame img { width: 100%; height: auto; aspect-ratio: 3 / 3.6; object-fit: cover; filter: saturate(0.92); }
.msg-media::before {
  content: ""; position: absolute; inset: 22px -18px -18px 22px;
  border-radius: 6px; background: var(--c-bg-gray); z-index: -1;
}
.sec--light2 .msg-media::before, .sec--dark .msg-media::before { background: #e9ebef; }
.msg-media__badge {
  position: absolute; left: 18px; bottom: 18px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px; padding: 12px 18px; color: var(--c-ink);
  box-shadow: 0 10px 26px -14px rgba(16, 19, 25, 0.4);
}
.msg-media__badge b { display: block; font-size: 15px; letter-spacing: 0.06em; }
.msg-media__badge span { font-family: var(--ff-en); font-size: 9.5px; font-weight: 700; letter-spacing: 0.24em; color: var(--c-accent); }
.msg-body .sec__head { margin-bottom: 30px; }
.msg-quote { font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; line-height: 1.85; margin-bottom: 24px; color: var(--c-ink); }
.msg-text p { font-size: 14.5px; color: var(--c-gray); margin-bottom: 14px; }
.msg-name { margin-top: 28px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.msg-name b { font-size: 20px; font-weight: 900; color: var(--c-ink); }
.msg-name span { font-family: var(--ff-en); font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; color: var(--c-accent); }
.msg-name small { font-size: 12px; color: var(--c-gray); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 10px;
  overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open { border-color: var(--c-ink); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px; text-align: left;
  padding: 24px 28px; font-size: 15.5px; font-weight: 900; color: var(--c-ink); line-height: 1.7;
}
.faq-q .q-mark { font-family: var(--ff-en); font-weight: 700; color: var(--c-accent); font-size: 16px; flex-shrink: 0; }
.faq-q .q-toggle {
  margin-left: auto; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--c-line); display: grid; place-items: center; position: relative;
  transition: transform 0.4s var(--ease), background 0.3s, border-color 0.3s;
}
.faq-q .q-toggle::before, .faq-q .q-toggle::after {
  content: ""; position: absolute; background: var(--c-ink); border-radius: 2px;
  width: 11px; height: 1.5px; transition: transform 0.4s var(--ease), background 0.3s;
}
.faq-q .q-toggle::after { transform: rotate(90deg); }
.faq-item.open .q-toggle { background: var(--c-ink); border-color: var(--c-ink); transform: rotate(180deg); }
.faq-item.open .q-toggle::before, .faq-item.open .q-toggle::after { background: #fff; }
.faq-item.open .q-toggle::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a__inner { overflow: hidden; }
.faq-a__inner p { padding: 0 28px 26px 62px; font-size: 14.5px; color: var(--c-gray); }

/* ============================================================
   CTA panel
   ============================================================ */
.cta-panel {
  position: relative; border-radius: 16px; overflow: hidden;
  padding: clamp(48px, 6vw, 88px) clamp(24px, 5vw, 80px);
  text-align: center;
  background: var(--c-dark);
  color: #fff;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 75% 100% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 75% 100% at 50% 0%, #000, transparent 80%);
  animation: gridpan 4.5s linear infinite;
}
@keyframes gridpan { to { background-position: 52px 52px; } }
.cta-panel > * { position: relative; }
.cta-panel__en { font-family: var(--ff-en); font-size: 11.5px; font-weight: 700; letter-spacing: 0.4em; color: var(--c-gray-2); margin-bottom: 20px; }
.cta-panel__en::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--c-accent); margin-right: 12px; vertical-align: 1px; }
.cta-panel__title { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; line-height: 1.6; margin-bottom: 20px; }
.cta-panel__copy { color: #aeb6c4; font-size: 14.5px; max-width: 640px; margin: 0 auto 40px; }
.cta-panel__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-panel .btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.cta-panel .btn--ghost:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.cta-panel__mail { margin-top: 28px; font-size: 13px; color: var(--c-gray-2); }
.cta-panel__mail a { font-family: var(--ff-en); color: #fff; font-weight: 600; letter-spacing: 0.04em; border-bottom: 1px solid rgba(255, 255, 255, 0.4); padding-bottom: 1px; transition: border-color 0.3s; }
.cta-panel__mail a:hover { border-color: #fff; }

.overview-mini {
  margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--c-line); border: 1px solid var(--c-line); border-radius: 12px; overflow: hidden;
}
.overview-mini div { background: var(--c-white); padding: 24px 26px; }
.overview-mini dt { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: 0.26em; color: var(--c-gray-2); text-transform: uppercase; margin-bottom: 8px; }
.overview-mini dd { font-size: 14.5px; font-weight: 700; color: var(--c-ink); }
.overview-mini dd small { display: block; font-weight: 400; color: var(--c-gray); font-size: 11.5px; margin-top: 3px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--c-dark); color: #fff; padding: 84px 0 40px; }
.site-footer .logo__text { color: #fff; }
.site-footer .logo__text small { color: var(--c-gray-2); }
.f-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr 0.95fr; gap: 36px; margin-bottom: 64px; }
.f-brand .logo { margin-bottom: 22px; }
.f-brand p { font-size: 13px; color: #aeb6c4; max-width: 300px; }
.f-col h4 { font-size: 13px; font-weight: 900; letter-spacing: 0.1em; color: #cbd2dd; margin-bottom: 20px; }
.f-col ul { display: grid; gap: 12px; }
.f-col a { font-size: 14px; color: #c6ccd8; transition: color 0.3s, padding-left 0.3s; }
.f-col a:hover { color: #fff; padding-left: 5px; }
.f-note { font-size: 12px; color: #8a93a5; border-top: 1px solid var(--c-dark-line); padding-top: 30px; margin-bottom: 24px; }
.f-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.f-bottom small { font-family: var(--ff-en); font-size: 11.5px; letter-spacing: 0.08em; color: #8a93a5; }
.f-bottom a { font-size: 12px; color: #8a93a5; transition: color 0.3s; }
.f-bottom a:hover { color: #fff; }

/* ============================================================
   Sub pages
   ============================================================ */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 84px) 0 72px; overflow: hidden;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-hairline);
}
.page-hero__grid { position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 24, 30, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 24, 30, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000 20%, transparent 78%);
}
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--c-gray); margin-bottom: 30px; flex-wrap: wrap; font-weight: 500; }
.crumbs a { color: var(--c-gray-2); transition: color 0.3s; }
.crumbs a:hover { color: var(--c-ink); }
.crumbs .sep { opacity: 0.5; }
.page-hero__en { font-family: var(--ff-en); font-weight: 700; font-size: 12px; letter-spacing: 0.3em; color: var(--c-ink); text-transform: uppercase; margin-bottom: 16px; display: flex; align-items: center; gap: 11px; }
.page-hero__en::before { content: ""; width: 9px; height: 9px; background: var(--c-accent); }
.page-hero__title { font-size: clamp(29px, 4.4vw, 50px); font-weight: 900; line-height: 1.4; color: var(--c-ink); }
.page-hero__lead { margin-top: 22px; color: var(--c-gray); font-size: 15px; max-width: 760px; }

/* content blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: start; }

.lead-copy { font-size: clamp(20px, 2.5vw, 27px); font-weight: 900; line-height: 1.8; color: var(--c-ink); }

.check-list { display: grid; gap: 13px; }
.check-list li {
  display: flex; gap: 13px; align-items: flex-start;
  font-size: 14.5px; font-weight: 500; line-height: 1.8; color: var(--c-ink);
}
.check-list li::before {
  content: "✓"; flex-shrink: 0; width: 23px; height: 23px; margin-top: 4px;
  border-radius: 4px; background: var(--c-ink); color: #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 900;
}

.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--c-line); }
.spec-table th, .spec-table td { padding: 20px 24px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.spec-table thead th { background: var(--c-ink); color: #fff; font-size: 12.5px; letter-spacing: 0.1em; border-bottom: none; }
.spec-table tbody th { background: var(--c-bg-gray); font-weight: 700; width: 30%; color: var(--c-ink); }
.spec-table tbody td { background: var(--c-white); color: var(--c-gray); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }

.callout {
  border-left: 3px solid var(--c-accent);
  background: var(--c-white); border-top: 1px solid var(--c-line); border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  padding: 28px 32px;
}
.callout h4 { font-size: 16px; font-weight: 900; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; color: var(--c-ink); }
.callout h4::before { content: "POINT"; font-family: var(--ff-en); font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; color: #fff; background: var(--c-accent); border-radius: 3px; padding: 3px 9px; }
.callout p { font-size: 13.5px; color: var(--c-gray); }

.price-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.price-card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 32px; }
.price-card h4 { font-size: 16.5px; font-weight: 900; margin-bottom: 6px; color: var(--c-ink); }
.price-card .en { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: 0.22em; color: var(--c-accent); text-transform: uppercase; display: block; margin-bottom: 14px; }
.price-card p { font-size: 13.5px; color: var(--c-gray); }

.subsec-num {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
  font-family: var(--ff-en); font-weight: 700; color: var(--c-accent); font-size: 13px; letter-spacing: 0.14em;
}
.subsec-num::after { content: ""; width: 54px; height: 1px; background: var(--c-accent); opacity: 0.5; }

/* contact form */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(30px, 4.5vw, 60px); align-items: start; }
.contact-info h3 { font-size: 20px; font-weight: 900; margin-bottom: 16px; color: var(--c-ink); }
.contact-info p { font-size: 14px; color: var(--c-gray); margin-bottom: 20px; }
.contact-info .mail-box { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 10px; padding: 22px 26px; margin-bottom: 16px; }
.contact-info .mail-box span { font-family: var(--ff-en); font-size: 10px; font-weight: 700; letter-spacing: 0.24em; color: var(--c-accent); display: block; margin-bottom: 6px; }
.contact-info .mail-box a { font-family: var(--ff-en); font-weight: 600; font-size: 17px; color: var(--c-ink); }
.contact-info .mail-box a:hover { color: var(--c-accent); }

.form {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 14px;
  padding: clamp(26px, 3.5vw, 44px);
  display: grid; gap: 22px;
}
.form-row { display: grid; gap: 9px; }
.form-row label { font-size: 13.5px; font-weight: 700; color: var(--c-ink); display: flex; align-items: center; gap: 10px; }
.req, .opt { font-size: 10px; font-weight: 700; border-radius: 3px; padding: 2px 8px; letter-spacing: 0.08em; }
.req { color: #fff; background: #c2402f; }
.opt { color: var(--c-gray); background: var(--c-bg-gray); }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 15px; color: var(--c-ink);
  background: var(--c-bg-gray); border: 1.5px solid var(--c-line); border-radius: 6px;
  padding: 14px 16px; width: 100%; transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2315181e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--c-accent); background: #fff;
  box-shadow: 0 0 0 4px var(--c-accent-weak);
}
.form textarea { min-height: 170px; resize: vertical; }
.form .btn { justify-self: center; min-width: 280px; }
.form-note { font-size: 11.5px; color: var(--c-gray); text-align: center; }
.form-note a { color: var(--c-accent); text-decoration: underline; }

/* privacy / text pages */
.doc { max-width: 800px; margin-inline: auto; }
.doc h2 { font-size: 19px; font-weight: 900; margin: 46px 0 14px; padding-left: 16px; border-left: 3px solid var(--c-accent); color: var(--c-ink); }
.doc p, .doc li { font-size: 14px; color: var(--c-gray); }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.doc .doc-date { text-align: right; font-size: 12.5px; color: var(--c-gray); margin-top: 40px; }

/* ============================================================
   Products (定額プロダクト)
   ============================================================ */
.pb--deaeru,  .pd--deaeru  { --pb: #1d4ed8; --pb-deep: #1e3a8a; --pb-bg: #eef3fe; --pb-weak: rgba(29, 78, 216, 0.16); --pb-stroke: rgba(29, 78, 216, 0.5); }
.pb--hakadoru, .pd--hakadoru { --pb: #0f766e; --pb-deep: #134e4a; --pb-bg: #e9f5f2; --pb-weak: rgba(15, 118, 110, 0.16); --pb-stroke: rgba(15, 118, 110, 0.5); }
.pb--kotaeru,  .pd--kotaeru  { --pb: #4338ca; --pb-deep: #312e81; --pb-bg: #eeeffc; --pb-weak: rgba(67, 56, 202, 0.16); --pb-stroke: rgba(67, 56, 202, 0.5); }
.pb--mitsukaru,.pd--mitsukaru{ --pb: #c2410c; --pb-deep: #9a3412; --pb-bg: #fdf0e9; --pb-weak: rgba(194, 65, 12, 0.16); --pb-stroke: rgba(194, 65, 12, 0.5); }
.pb--todokeru,   .pd--todokeru   { --pb: #9d174d; --pb-deep: #831843; --pb-bg: #fceef4; --pb-weak: rgba(157, 23, 77, 0.16); --pb-stroke: rgba(157, 23, 77, 0.5); }
.pb--atsumaru,   .pd--atsumaru   { --pb: #15803d; --pb-deep: #14532d; --pb-bg: #edf7ef; --pb-weak: rgba(21, 128, 61, 0.16); --pb-stroke: rgba(21, 128, 61, 0.5); }

.product-banners { display: grid; gap: 18px; }
.pb {
  position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center;
  gap: clamp(18px, 3vw, 44px);
  border: 1px solid var(--c-line); border-radius: 16px;
  padding: clamp(26px, 3.5vw, 42px) clamp(22px, 3.5vw, 52px);
  background: linear-gradient(105deg, var(--c-white) 38%, var(--pb-bg) 100%);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pb::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 6px; background: var(--pb); }
.pb:hover { transform: translateY(-4px); border-color: var(--pb); box-shadow: var(--shadow-hover); }
.pb__label { font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; color: var(--pb); text-transform: uppercase; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.pb__label::before { content: ""; width: 8px; height: 8px; background: var(--pb); }
.pb__copy { font-size: clamp(16.5px, 2vw, 22px); font-weight: 900; line-height: 1.65; color: var(--c-ink); margin-bottom: 8px; }
.pb__copy em { font-style: normal; background: linear-gradient(transparent 64%, var(--pb-weak) 64%); padding: 0 1px; }
.pb__name { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; letter-spacing: 0.04em; color: var(--pb); line-height: 1.3; margin-bottom: 8px; }
.pb__name small { font-size: 0.36em; color: var(--c-gray); font-weight: 700; letter-spacing: 0.1em; margin-left: 14px; }
.pb__desc { font-size: 13px; color: var(--c-gray); max-width: 660px; }
.pb__badge {
  width: 106px; height: 106px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--pb); color: var(--pb); background: var(--c-white);
  display: grid; place-items: center; text-align: center;
  font-size: 11.5px; font-weight: 900; line-height: 1.45; padding: 10px;
  transform: rotate(5deg);
}
.pb__badge b { font-size: 17px; display: block; }
.pb__arrow {
  width: 44px; height: 44px; border-radius: 50%; background: var(--pb); color: #fff;
  display: grid; place-items: center; transition: transform 0.3s var(--ease); flex-shrink: 0;
}
.pb__arrow svg { width: 15px; height: 15px; }
.pb:hover .pb__arrow { transform: translateX(5px); }
.product-note { margin-top: 26px; text-align: center; font-size: 12.5px; color: var(--c-gray); }

/* product pages */
.pd .eyebrow::before { background: var(--pb); }
.pd .check-list li::before { background: var(--pb); }
.pd .flow-step__num { background: linear-gradient(135deg, var(--pb-deep, var(--pb)), var(--pb)); }
.pd .faq-q .q-mark { color: var(--pb); }
.pd .marker { background: linear-gradient(transparent 68%, var(--pb-weak) 68%); }
.pd .grad-text { --gt-a: var(--pb-deep, var(--pb)); --gt-b: var(--pb); }
.pd .btn--primary { background: linear-gradient(135deg, var(--pb-deep, var(--pb)), var(--pb)); }
.pd .btn--primary:hover { background: linear-gradient(135deg, var(--pb-deep, var(--pb)), var(--pb)); filter: brightness(0.92); }
.f-col a small { color: #8a93a5; font-size: 11px; }
.flow-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-inline: auto; }
@media (max-width: 600px) { .flow-grid--2 { grid-template-columns: 1fr; } }

.pd-hero { position: relative; padding: calc(var(--header-h) + 52px) 0 72px; background: var(--c-white); border-bottom: 1px solid var(--c-hairline); overflow: hidden; }
.pd-hero .crumbs { margin-bottom: 24px; }
.pd-hero__panel {
  position: relative;
  border: 1px solid var(--c-line); border-radius: 20px;
  padding: clamp(30px, 4.5vw, 56px);
  background: linear-gradient(112deg, var(--c-white) 40%, var(--pb-bg) 100%);
  overflow: hidden;
}
.pd-hero__panel::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 6px; background: var(--pb); }
.pd-hero__label { font-family: var(--ff-en); font-size: 11.5px; font-weight: 700; letter-spacing: 0.26em; color: var(--pb); text-transform: uppercase; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.pd-hero__label::before { content: ""; width: 9px; height: 9px; background: var(--pb); }
.pd-hero__copy { font-size: clamp(22px, 3.2vw, 36px); font-weight: 900; line-height: 1.65; margin-bottom: 10px; color: var(--c-ink); }
@media (min-width: 961px) { .pd-hero__copy { padding-right: 170px; } }
.pd-hero__copy em { font-style: normal; background: linear-gradient(transparent 64%, var(--pb-weak) 64%); padding: 0 1px; }
.pd-hero__name { font-size: clamp(42px, 6.4vw, 78px); font-weight: 900; color: var(--pb); letter-spacing: 0.04em; line-height: 1.25; margin-bottom: 12px; }
.pd-hero__name small { display: block; font-size: clamp(13px, 1.2vw, 15px); color: var(--c-gray); letter-spacing: 0.14em; font-weight: 700; margin-top: 6px; }
.pd-hero__desc { font-size: 14.5px; color: var(--c-gray); max-width: 680px; margin-bottom: 24px; }
.pd-hero__chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.pd-hero__badge {
  position: absolute; top: clamp(22px, 4vw, 46px); right: clamp(22px, 4vw, 54px);
  width: 128px; height: 128px; border-radius: 50%;
  border: 2px solid var(--pb); background: var(--c-white); color: var(--pb);
  display: grid; place-items: center; text-align: center;
  font-size: 12px; font-weight: 900; line-height: 1.5; padding: 12px;
  transform: rotate(6deg);
}
.pd-hero__badge b { font-size: 19px; display: block; }

.price-card--pd { border-top: 3px solid var(--pb); background: linear-gradient(172deg, var(--c-white) 68%, var(--pb-bg, var(--c-white))); }
.price-card__price { font-size: 14px; font-weight: 900; color: var(--c-ink); margin: 6px 0 14px; }
.price-card__price b { font-size: 32px; color: var(--pb); font-family: var(--ff-en); letter-spacing: 0; margin: 0 2px; }
.price-card .check-list { margin-top: 14px; gap: 9px; }
.price-card .check-list li { font-size: 13px; font-weight: 500; }

/* LP components (product pages) */
.problem-copy { max-width: 800px; margin: 0 auto 44px; text-align: center; font-size: 15px; color: var(--c-ink-soft); }
.shift-band {
  max-width: 880px; margin-inline: auto;
  background: linear-gradient(130deg, var(--pb-deep, var(--pb)), var(--pb)); color: #fff; border-radius: 14px;
  padding: 34px 40px; text-align: center;
  font-size: clamp(17px, 2.3vw, 25px); font-weight: 900; line-height: 1.7;
}
.shift-band small { display: block; font-family: var(--ff-en); font-size: 11px; font-weight: 700; letter-spacing: 0.34em; opacity: 0.75; margin-bottom: 10px; }

.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: linear-gradient(170deg, var(--c-white) 62%, var(--pb-bg, var(--c-white))); border: 1px solid var(--c-line); border-top: 3px solid var(--pb);
  border-radius: 14px; padding: 34px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card__num { font-family: var(--ff-en); font-weight: 700; font-size: 30px; color: var(--pb); opacity: 0.85; line-height: 1; margin-bottom: 16px; }
.feature-card h3 { font-size: 17.5px; font-weight: 900; margin-bottom: 10px; color: var(--c-ink); }
.feature-card p { font-size: 14px; color: var(--c-gray); }

.mid-cta {
  margin-top: 56px;
  border: 1px solid var(--c-line); border-left: 4px solid var(--pb);
  background: var(--c-white); border-radius: 12px;
  padding: 28px 34px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.mid-cta p { font-weight: 900; font-size: clamp(15px, 1.8vw, 18.5px); color: var(--c-ink); }

.compare-wrap { border: 1px solid var(--c-line); border-radius: 14px; overflow-x: auto; background: var(--c-white); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; }
.compare th, .compare td { padding: 17px 18px; font-size: 13.5px; border-bottom: 1px solid var(--c-hairline); text-align: center; vertical-align: middle; }
.compare thead th { font-size: 12.5px; font-weight: 900; color: var(--c-gray); background: var(--c-bg-gray); letter-spacing: 0.04em; }
.compare tbody th { text-align: left; font-size: 12.5px; font-weight: 900; color: var(--c-ink); background: var(--c-white); width: 18%; }
.compare td { color: var(--c-gray); }
.compare .is-us { background: var(--pb-bg); }
.compare thead th.is-us { background: var(--pb); color: #fff; font-size: 14px; }
.compare td.is-us { color: var(--c-ink); font-weight: 700; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare-note { margin-top: 14px; font-size: 11.5px; color: var(--c-gray-2); text-align: right; }

.lp-voice {
  display: flex; gap: 26px; align-items: center;
  max-width: 800px; margin-inline: auto;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 16px;
  padding: 32px 36px;
}
.lp-voice img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex-shrink: 0; }
.lp-voice p { font-size: 14px; color: var(--c-ink-soft); }
.lp-voice cite { display: block; margin-top: 10px; font-style: normal; font-size: 12px; color: var(--c-gray); font-weight: 700; }
.lp-voice cite b { color: var(--c-ink); font-size: 13px; margin-left: 8px; }

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line);
}
.mobile-cta .btn { width: 100%; padding: 15px 20px; }

@media (max-width: 960px) {
  .pb { grid-template-columns: 1fr auto; }
  .pb__arrow { display: none; }
  .pd-hero__badge { position: static; transform: rotate(0); margin-bottom: 20px; }
  .feature-cards { grid-template-columns: 1fr; }
  .mobile-cta { display: block; }
  body.pd, body.has-mcta { padding-bottom: 74px; }
  .lp-voice { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .pb { grid-template-columns: 1fr; padding: 26px 22px; }
  .pb__badge { width: auto; height: auto; border-radius: 999px; padding: 8px 16px; display: inline-flex; gap: 7px; align-items: baseline; justify-self: start; transform: none; }
  .pb__badge b { display: inline; font-size: 14px; }
  .pb__badge br { display: none; }
}

/* utilities */
.sp-only { display: none; }
@media (max-width: 600px) { .sp-only { display: inline; } }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .side-cta { display: none; }
  .hero__scroll { display: none; }
}

@media (max-width: 960px) {
  .gnav, .header-cta { display: none; }
  .burger { display: flex; }
  .sec { padding: 90px 0; }
  .issue-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 1fr; gap: 8px; padding: 30px 6px; }
  .value-item__num::after { display: none; }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .message { grid-template-columns: 1fr; }
  .msg-media { max-width: 440px; }
  .split { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .syn-flow { grid-template-columns: 1fr; }
  .syn-arrow { transform: rotate(90deg); padding: 2px 0; }
  .overview-mini { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .sec { padding: 72px 0; }
  .sec__head { margin-bottom: 42px; }
  .issue-grid, .works-grid, .flow-grid, .price-cards { grid-template-columns: 1fr; }
  .hero { min-height: 88svh; }
  .hero__for { gap: 8px; }
  .marquee__item { font-size: 28px; gap: 32px; }
  .marquee__track { gap: 32px; }
  .hero__actions .btn { width: 100%; }
  .cta-panel__actions .btn { width: 100%; }
  .overview-mini { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr; gap: 30px; }
  .work-card dl div { grid-template-columns: 62px 1fr; }
}

.pd .price-card .en { color: var(--pb); }

/* ============================================================
   Mobile premium pass
   ============================================================ */
@media (max-width: 600px) {
  .sec { padding: 88px 0; }
  .sec__ghost { font-size: 130px; top: 26px; }
  .sec__title { font-size: 27.5px; line-height: 1.55; }
  .sec__lead { font-size: 14.5px; }
  .sec__head { margin-bottom: 46px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 52px); }
  .hero__kicker { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 26px; }
  .hero__kicker em { display: block; margin-top: 5px; letter-spacing: 0.08em; }
  .hero__title { font-size: min(38px, calc(92vw / 11.2)); line-height: 1.34; margin-bottom: 24px; letter-spacing: 0.01em; }
  .hero__lead { font-size: 15px; line-height: 2.05; margin-bottom: 34px; }
  .hero__actions { gap: 12px; }
  .hero__actions .btn { padding: 18px 24px; }
  .hero__for { margin-top: 42px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hero__for::-webkit-scrollbar { display: none; }
  .hero__for .chip { flex-shrink: 0; }
  .marquee { margin-top: 48px; }
  .marquee__item { font-size: 32px; }

  .pb { position: relative; padding: 28px 22px 32px; }
  .pb::after { inset: 0 0 auto 0; height: 4px; width: auto; }
  .pb__label { font-size: 10px; }
  .pb__copy { font-size: 17.5px; line-height: 1.7; }
  .pb__name { font-size: 36px; }
  .pb__name small { display: block; margin: 8px 0 0; font-size: 12px; }
  .pb__desc { font-size: 12.5px; padding-right: 44px; }
  .pb__badge { background: var(--pb); color: #fff; border: none; margin-top: 14px; padding: 9px 16px; }
  .pb__arrow { display: grid; position: absolute; right: 18px; bottom: 22px; width: 40px; height: 40px; }

  .issue-card { padding: 22px 20px; }
  .issue-card p { font-size: 14px; }
  .issue-grid { gap: 14px; }

  .svc-card { padding: 34px 26px 28px; }

  .cta-panel { padding: 54px 24px; border-radius: 20px; }
  .cta-panel__title { font-size: 25px; }
  .cta-panel__copy { font-size: 13.5px; }

  .work-card { padding: 28px 22px; }
  .flow-step { padding: 32px 24px 26px; }
  .msg-quote { font-size: 20px; }
  .faq-q { padding: 20px 20px; font-size: 14.5px; gap: 12px; }
  .faq-a__inner p { padding: 0 20px 22px 47px; }

  .pd-hero__copy { font-size: 24px; }
  .pd-hero__name { font-size: 46px; }
  .shift-band { padding: 30px 24px; font-size: 18px; }
  .problem-copy { text-align: left; font-size: 14px; }

  .overview-mini div { padding: 20px 22px; }
  .site-footer { padding: 64px 0 40px; }
  .f-brand p { font-size: 12.5px; }
}

/* ============================================================
   コタエル 実働デモ widget
   ============================================================ */
.kd { position: fixed; right: 22px; bottom: 22px; z-index: 96; font-family: var(--ff-ja); }
.kd { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.kd.kd--ready { opacity: 1; transform: none; pointer-events: auto; }
.kd-btn {
  position: relative;
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, #312e81, #4338ca); color: #fff;
  box-shadow: 0 12px 26px -10px rgba(49, 46, 129, 0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.kd-btn svg { width: 24px; height: 24px; }
.kd-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(49, 46, 129, 0.6); }
.kd-btn__label {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 7px; white-space: nowrap;
  background: #fff; color: var(--c-ink); border: 1px solid var(--c-line);
  font-weight: 900; font-size: 12px; padding: 8px 13px; border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(16, 19, 25, 0.3);
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.kd-btn:hover .kd-btn__label { opacity: 1; }
.kd-btn__label small { font-weight: 700; font-size: 9px; letter-spacing: 0.1em; color: #4338ca; border: 1px solid #c7cbf5; border-radius: 999px; padding: 1px 7px; }
.kd-dismiss {
  position: absolute; top: -10px; right: -10px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-ink); color: #fff; font-size: 15px; line-height: 26px; text-align: center;
  opacity: 0; transition: opacity 0.25s; cursor: pointer;
}
.kd:hover .kd-dismiss { opacity: 0.9; }
.kd-btn__dot { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; border-radius: 50%; background: #7ee787; box-shadow: 0 0 8px #7ee787; animation: kdpulse 2s infinite; }
@keyframes kdpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.kd-panel[hidden] { display: none !important; }
.kd-panel {
  position: absolute; right: 0; bottom: 62px;
  width: min(360px, calc(100vw - 32px)); height: 480px; max-height: calc(100vh - 140px);
  background: #fff; border: 1px solid var(--c-line); border-radius: 18px;
  box-shadow: 0 30px 70px -24px rgba(16, 19, 25, 0.4);
  display: flex; flex-direction: column; overflow: hidden;
}
.kd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 18px; background: linear-gradient(135deg, #312e81, #4338ca); color: #fff;
}
.kd-head b { font-size: 15px; letter-spacing: 0.06em; display: block; }
.kd-head span { font-size: 10.5px; opacity: 0.85; }
.kd-close { color: #fff; font-size: 24px; line-height: 1; width: 44px; height: 44px; display: grid; place-items: center; margin: -8px -10px -8px 0; opacity: 0.9; }
.kd-close:hover { opacity: 1; }
.kd-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: #f6f6f9; display: flex; flex-direction: column; gap: 10px; }
.kd-msg { max-width: 86%; border-radius: 14px; padding: 11px 14px; font-size: 13px; line-height: 1.8; }
.kd-msg p { margin: 0; }
.kd-msg--bot { background: #fff; border: 1px solid var(--c-line); color: var(--c-ink-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.kd-msg--user { background: linear-gradient(135deg, #312e81, #4338ca); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.kd-link { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 900; color: #4338ca; }
.kd-link:hover { text-decoration: underline; }
.kd-typing { display: flex; gap: 5px; padding: 14px 16px; }
.kd-typing i { width: 6px; height: 6px; border-radius: 50%; background: #a5b4fc; animation: kdty 1s infinite; }
.kd-typing i:nth-child(2) { animation-delay: 0.15s; }
.kd-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes kdty { 0%,100% { transform: translateY(0); opacity: 0.5; } 50% { transform: translateY(-4px); opacity: 1; } }
.kd-chips { display: flex; gap: 7px; flex-wrap: wrap; padding: 10px 12px; background: #fff; border-top: 1px solid var(--c-hairline); }
.kd-chip { font-size: 11.5px; font-weight: 700; color: #312e81; background: #eeeffc; border-radius: 999px; padding: 6px 12px; transition: background 0.2s; }
.kd-chip:hover { background: #e0e2f9; }
.kd-input { display: flex; gap: 8px; padding: 10px 12px 12px; background: #fff; }
.kd-input input { flex: 1; font-family: inherit; font-size: 13.5px; padding: 11px 14px; border: 1.5px solid var(--c-line); border-radius: 999px; background: #f6f6f9; }
.kd-input input:focus { outline: none; border-color: #4338ca; background: #fff; }
.kd-input button { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #312e81, #4338ca); color: #fff; font-size: 16px; font-weight: 900; flex-shrink: 0; }

@media (max-width: 1080px) { .kd { bottom: 20px; } }
@media (max-width: 960px) {
  .kd { right: 12px; bottom: 86px; }
  body.pd .kd, body.has-mcta .kd { bottom: 86px; }
  .kd-btn { width: 48px; height: 48px; }
  .kd-btn__label { display: none; }
  .kd-dismiss { opacity: 0.85; }
  .kd-panel { bottom: 56px; height: 440px; }
}

/* case study */
.work-card__more { display: inline-flex; margin-top: 16px; font-size: 13px; font-weight: 900; color: var(--c-accent); }
.work-card__more:hover { text-decoration: underline; }
.case-shot { border-radius: 14px; overflow: hidden; border: 1px solid var(--c-line); box-shadow: 0 30px 60px -28px rgba(16, 19, 25, 0.45); background: #fff; }
.case-shot__bar { display: flex; align-items: center; gap: 6px; background: #eceef2; padding: 10px 14px; }
.case-shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d2d6de; }
.case-shot__bar span { font-family: var(--ff-en); font-size: 11px; color: var(--c-gray); margin-left: 8px; }
.case-shot img { width: 100%; display: block; }

/* ============================================================
   Column / Resources
   ============================================================ */
.col-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.col-card {
  display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.col-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--cc-a, var(--c-ink)); }
.col-card__thumb {
  min-height: 168px; padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: linear-gradient(135deg, var(--cc-a, #1e3a8a), var(--cc-b, #2563eb)); color: #fff;
}
.col-card__cat { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; border: 1px solid rgba(255,255,255,0.5); border-radius: 999px; padding: 4px 12px; }
.col-card__thumb h3 { font-size: 19px; font-weight: 900; line-height: 1.6; }
.col-card__meta { padding: 15px 24px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--c-gray); }
.col-card__meta b { color: var(--c-accent); font-weight: 900; font-size: 12.5px; }
.col-card--indigo { --cc-a: #312e81; --cc-b: #4338ca; }
.col-card--blue { --cc-a: #1e3a8a; --cc-b: #2563eb; }
.col-card--teal { --cc-a: #134e4a; --cc-b: #0f766e; }
.col-card--orange { --cc-a: #9a3412; --cc-b: #e85820; }

.res-card {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(18px, 3vw, 40px); align-items: center;
  border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden;
  padding: clamp(28px, 4vw, 44px); position: relative;
  background: linear-gradient(105deg, var(--c-white) 40%, #fdf0e9);
}
.res-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #b8430f, #e85820); }
.res-card__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: #b8430f; background: #fdeadd; border-radius: 999px; padding: 4px 12px; display: inline-block; margin-bottom: 14px; }
.res-card h3 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 900; line-height: 1.6; margin-bottom: 10px; color: var(--c-ink); }
.res-card p { font-size: 13.5px; color: var(--c-gray); }

.article { max-width: 760px; margin-inline: auto; }
.article .lead { font-size: 16px; font-weight: 700; color: var(--c-ink); margin-bottom: 28px; line-height: 2.05; }
.article p { font-size: 15px; color: var(--c-ink-soft); line-height: 2.15; margin-bottom: 24px; }
.article h2 { font-size: 20px; font-weight: 900; color: var(--c-ink); margin: 48px 0 18px; padding-left: 14px; border-left: 4px solid var(--c-accent); line-height: 1.6; }
.article ul { list-style: disc; padding-left: 24px; display: grid; gap: 9px; margin-bottom: 24px; }
.article li { font-size: 14.5px; color: var(--c-ink-soft); line-height: 1.95; }
.article .article-note { font-size: 13px; color: var(--c-gray); background: var(--c-bg-gray); border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; }
.article-meta { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--c-gray); margin-bottom: 8px; }
.article-meta .cat { font-weight: 700; color: var(--c-accent); border: 1px solid rgba(232,88,32,0.4); border-radius: 999px; padding: 2px 12px; }
.author {
  display: flex; gap: 18px; align-items: center;
  border: 1px solid var(--c-line); border-radius: 14px; padding: 22px 26px; margin-top: 48px;
  background: var(--c-white);
}
.author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.author b { display: block; font-size: 15px; color: var(--c-ink); }
.author span { font-size: 12px; color: var(--c-gray); }
.article-cta { margin-top: 36px; border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 0 12px 12px 0; padding: 24px 28px; background: var(--c-white); }
.article-cta b { display: block; font-size: 15.5px; color: var(--c-ink); margin-bottom: 6px; }
.article-cta p { font-size: 13px !important; color: var(--c-gray) !important; margin-bottom: 14px !important; line-height: 1.9 !important; }

@media (max-width: 960px) { .col-grid { grid-template-columns: 1fr; } .res-card { grid-template-columns: 1fr; } }

/* mobile readability pass */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .work-card dl div { grid-template-columns: 60px 1fr; gap: 10px; }
  .work-card dd { font-size: 13.5px; }
  .faq-a__inner p { padding: 0 20px 22px 20px; }
  .compare th, .compare td { padding: 13px 12px; font-size: 12.5px; }
  .crumbs { font-size: 12px; }
  .pd-hero__desc { font-size: 14px; }
  .article p { font-size: 15px; line-height: 2.1; }
  .col-card__thumb h3 { font-size: 17px; }
  .res-card h3 { font-size: 18px; }
  .synergy { padding: 28px 20px; }
  .overview-mini dd { font-size: 14px; }
}

/* label cleanup: mark + title only */
.eyebrow, .page-hero__en, .cta-panel__en { display: none; }
.sec__title::before {
  content: ""; display: block; width: 11px; height: 11px;
  background: linear-gradient(135deg, #b8430f, #e85820);
  margin: 0 0 20px;
}
.sec__head--center .sec__title::before { margin-inline: auto; }
.pd .sec__title::before { background: linear-gradient(135deg, var(--pb-deep, var(--pb)), var(--pb)); }
.page-hero__title::before {
  content: ""; display: block; width: 11px; height: 11px;
  background: linear-gradient(135deg, #b8430f, #e85820);
  margin: 0 0 20px;
}
.cta-panel__title::before {
  content: ""; display: block; width: 11px; height: 11px;
  background: linear-gradient(135deg, #b8430f, #e85820);
  margin: 0 auto 20px;
}
.msg-body .sec__title::before { margin-inline: 0; }

/* page transitions */
body { animation: pagein 0.4s ease both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
.curtain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none;
  transform: translateY(calc(100% + 20px));
}
.curtain i {
  position: absolute; inset: 0; background: var(--c-dark);
}
.curtain i:first-child {
  background: linear-gradient(90deg, #c2410c, #e85820);
  height: 14px; inset: auto 0 100% 0;
}
.curtain--in { transform: translateY(0); transition: transform 0.34s cubic-bezier(0.65, 0, 0.35, 1); pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }

/* kotaeru button: occasional hop */
@media (prefers-reduced-motion: no-preference) {
  .kd--ready .kd-btn { animation: kdjump 9s 3s infinite; }
}
@keyframes kdjump {
  0%, 4%, 8%, 100% { transform: translateY(0); }
  2% { transform: translateY(-9px); }
  6% { transform: translateY(-5px); }
}

/* ============================================================
   1000万パス: hero art / cursor / masks / watermark
   ============================================================ */
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero__art { position: relative; height: 560px; }
.hero__ring {
  position: absolute; top: 50%; left: 50%; width: 430px; height: 430px;
  border: 1.5px dashed #d3d8e0; border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ringspin 70s linear infinite;
}
.hero__ring--2 { width: 570px; height: 570px; border-color: #e3e7ed; animation-duration: 110s; animation-direction: reverse; }
@keyframes ringspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero__mark {
  position: absolute; top: 50%; left: 50%; width: 300px; height: auto;
  transform: translate(-50%, -52%);
  filter: drop-shadow(0 34px 50px rgba(46, 53, 66, 0.28));
  animation: markbob 7s ease-in-out infinite;
}
@keyframes markbob { 0%,100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -46%); } }
.hero__pchip {
  position: absolute; display: block;
  background: #fff; border: 1px solid var(--c-line); border-left: 3px solid var(--hc, var(--c-accent));
  border-radius: 10px; padding: 10px 16px 9px;
  font-weight: 900; font-size: 13.5px; color: var(--c-ink); line-height: 1.3;
  box-shadow: 0 18px 36px -18px rgba(16, 19, 25, 0.28);
  animation: chipfloat var(--fd, 7s) ease-in-out var(--fdelay, 0s) infinite;
}
.hero__pchip small { display: block; font-weight: 700; font-size: 10.5px; color: var(--c-gray); margin-top: 2px; }
.hero__pchip--1 { --hc: #1d4ed8; --fd: 6.5s; top: 7%; left: 4%; }
.hero__pchip--2 { --hc: #0f766e; --fd: 8s; --fdelay: -2s; top: 21%; right: -2%; }
.hero__pchip--3 { --hc: #4338ca; --fd: 7.2s; --fdelay: -4s; bottom: 27%; left: -4%; }
.hero__pchip--4 { --hc: #c2410c; --fd: 8.6s; --fdelay: -1s; bottom: 13%; right: 5%; }
.hero__pchip--5 { --hc: #9d174d; --fd: 7.8s; --fdelay: -3s; bottom: -1%; left: 32%; }
@keyframes chipfloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* hero title mask reveal */
.hero__title .line { overflow: hidden; }
.line-in { display: inline-block; transform: translateY(112%); animation: lineup 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards; }
.line-in--2 { animation-delay: 0.26s; }
@keyframes lineup { to { transform: translateY(0); } }

/* custom cursor (fine pointers only) */
.cur-ring {
  position: fixed; top: 0; left: 0; width: 34px; height: 34px;
  border: 1.5px solid rgba(232, 88, 32, 0.55); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, border-color 0.25s, opacity 0.3s;
  opacity: 0;
}
.cur-ring.on { opacity: 1; }
.cur-ring.link { width: 56px; height: 56px; border-color: rgba(232, 88, 32, 0.9); }
@media (pointer: coarse) { .cur-ring { display: none; } }

/* brand watermarks */
.cta-panel::after {
  content: ""; position: absolute; right: -50px; bottom: -70px;
  width: 360px; height: 300px;
  background: url("../assets/img/logo-mark-light.png") no-repeat center / contain;
  opacity: 0.06; pointer-events: none;
}
.f-word {
  font-family: var(--ff-display); font-size: clamp(64px, 10vw, 150px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
  letter-spacing: 0.03em; white-space: nowrap; overflow: hidden;
  margin-bottom: 48px; user-select: none;
}

@media (max-width: 1180px) { .hero__art { display: none; } .hero__inner { grid-template-columns: 1fr; } }

/* ===== column extras: toc / category tabs / related / pink ===== */
.col-card--pink { --cc-a: #831843; --cc-b: #be185d; }
.col-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .col-grid--3 { grid-template-columns: 1fr; } }

.toc { border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); border-radius: 0 12px 12px 0; background: var(--c-bg-gray); padding: 22px 26px; margin: 0 0 36px; }
.toc b { display: block; font-size: 13px; font-weight: 900; color: var(--c-ink); margin-bottom: 10px; }
.toc ol { list-style: none; counter-reset: tocn; display: grid; gap: 7px; }
.toc li { counter-increment: tocn; font-size: 13.5px; line-height: 1.7; }
.toc li::before { content: counter(tocn, decimal-leading-zero); font-family: "Inter", sans-serif; font-weight: 700; font-size: 11px; color: var(--c-accent); margin-right: 10px; }
.toc a { color: var(--c-ink-soft); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--c-accent); }

.col-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.col-tab { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--c-ink-soft); background: var(--c-white); border: 1px solid var(--c-line); border-radius: 999px; padding: 8px 20px; cursor: pointer; transition: all 0.2s ease; }
.col-tab:hover { border-color: var(--c-accent); color: var(--c-accent); }
.col-tab.is-on { color: #fff; background: linear-gradient(135deg, #e2571c, #b8430f); border-color: transparent; }

.related { margin-top: 72px; }
.related__title { font-size: 19px; font-weight: 900; color: var(--c-ink); padding-left: 14px; border-left: 4px solid var(--c-accent); margin-bottom: 24px; }
