/* ==========================================================================
   壱観企画 — Site styles
   Layers: reset → tokens → base → layout → components → pages → utilities
   ========================================================================== */
@layer reset, tokens, base, layout, components, pages, utilities;

/* -------------------------------------------------------------------------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  picture { display: contents; }
  img { height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  ul, ol { list-style: none; }
  h1, h2, h3, h4, p { overflow-wrap: break-word; }
  h1, h2, h3, h4 { word-break: auto-phrase; text-wrap: balance; }
  p { text-wrap: pretty; }
}

/* -------------------------------------------------------------------------- */
@layer tokens {
  :root {
    /* Colour */
    --ink: #111114;
    --ink-2: #1c1c20;
    --ink-3: #27272c;
    --paper: #ffffff;
    --paper-2: #fcfbf9;
    --paper-3: #f3f2ec;
    --mute: #5a5953;
    --mute-dark: #353430;
    --shu: #0e56c5;
    --shu-deep: #083c8f;
    --line: rgba(17, 17, 20, 0.08);
    --line-strong: rgba(17, 17, 20, 0.2);

    /* Theme (white/editorial paper default) */
    --bg: #fcfbf9;
    --bg-sub: #f4f3ec;
    --bg-card: #ffffff;
    --fg: #111114;
    --fg-mute: #5a5953;
    --rule: rgba(17, 17, 20, 0.09);
    --rule-strong: rgba(17, 17, 20, 0.22);

    /* Type */
    --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
    --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
    --font-en: "Archivo", "Helvetica Neue", Arial, sans-serif;

    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
    --fs-md: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
    --fs-lg: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
    --fs-xl: clamp(1.8rem, 1.3rem + 2vw, 3rem);
    --fs-2xl: clamp(2.4rem, 1.4rem + 4vw, 5rem);
    --fs-display: clamp(3.1rem, 0.8rem + 9.2vw, 11.5rem);

    /* Space & layout */
    --pad-x: clamp(20px, 4.2vw, 72px);
    --gap: clamp(16px, 2vw, 32px);
    --section-y: clamp(96px, 14vw, 220px);
    --max: 1680px;
    --header-h: 76px;

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --dur: 0.6s;
  }
}

/* -------------------------------------------------------------------------- */
@layer base {
  @view-transition { navigation: auto; }

  html { scroll-behavior: auto; background: var(--bg); color-scheme: light; }
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-stopped { overflow: hidden; }

  body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-ja);
    font-size: var(--fs-base);
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.04em;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }

  /* Film grain over everything — subtle texture so flat white feels like textured washi paper. */
  body::after {
    content: "";
    position: fixed;
    inset: -50%;
    z-index: 9000;
    pointer-events: none;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain 1.2s steps(6) infinite;
  }
  @keyframes grain {
    0% { transform: translate(0, 0); }
    20% { transform: translate(-3%, 2%); }
    40% { transform: translate(2%, -3%); }
    60% { transform: translate(-2%, -1%); }
    80% { transform: translate(3%, 3%); }
    100% { transform: translate(0, 0); }
  }

  ::selection { background: var(--shu); color: #ffffff; }

  :focus-visible { outline: 2px solid var(--shu); outline-offset: 3px; }

  rt { font-size: 0.45em; letter-spacing: 0.1em; opacity: 0.7; }

  .is-light { --bg: #f3f2ec; --fg: var(--ink); --fg-mute: var(--mute); --rule: rgba(17, 17, 20, 0.08); background: var(--bg); color: var(--fg); }
  .is-light ::selection { color: #ffffff; }

  .skip-link {
    position: absolute; left: 1rem; top: -100px; z-index: 10000;
    background: var(--shu); color: var(--paper); padding: 0.6rem 1rem;
  }
  .skip-link:focus { top: 1rem; }
}

/* -------------------------------------------------------------------------- */
@layer layout {
  .l-container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
  .l-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .l-section { padding-block: var(--section-y); position: relative; }
  .l-section--tight { padding-block: calc(var(--section-y) * 0.6); }
  main { display: block; }
}

/* -------------------------------------------------------------------------- */
@layer components {

  /* ---- Typography primitives ------------------------------------------- */
  .t-label {
    font-family: var(--font-en);
    font-size: var(--fs-xs);
    font-weight: 500;
    font-stretch: 112%;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.4;
    color: var(--fg-mute);
  }
  .t-en { font-family: var(--font-en); letter-spacing: 0; }
  .t-mincho { font-family: var(--font-mincho); font-weight: 500; letter-spacing: 0.08em; }
  .t-shu { color: var(--shu); }
  .t-lead { font-size: var(--fs-md); line-height: 2; letter-spacing: 0.06em; }
  .t-mute { color: var(--fg-mute); }

  /* Line-mask reveal (JS wraps lines; CSS fallback keeps text visible). */
  .split-line { display: block; overflow: clip; overflow-clip-margin: 0.12em; padding-bottom: 0.04em; }
  .split-line > span { display: inline-block; will-change: transform; }

  /* ---- Header ------------------------------------------------------------ */
  .site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 800;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: transform 0.6s var(--ease-out), background-color 0.3s, border-color 0.3s;
    background: rgba(252, 251, 249, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
    color: var(--fg);
  }
  .site-header.is-hidden { transform: translateY(-110%); }
  .site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad-x); }
  .brand { display: flex; align-items: center; gap: 0.8rem; line-height: 1; }
  .brand__mark { width: auto; height: 32px; object-fit: contain; vertical-align: middle; }
  .brand__name { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.14em; color: var(--fg); }
  .brand__name small { display: block; font-family: var(--font-en); font-size: 0.56rem; font-weight: 500; font-stretch: 120%; letter-spacing: 0.3em; margin-top: 0.4rem; opacity: 0.7; color: var(--fg-mute); }

  .gnav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
  .gnav__list { display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
  .gnav__link { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; font-family: var(--font-en); font-size: 0.8rem; font-weight: 500; font-stretch: 108%; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.2; padding-block: 0.4rem; color: var(--fg); }
  .gnav__link .roll { display: block; overflow: hidden; height: 1.2em; }
  .gnav__link .roll > span { display: block; transition: transform 0.5s var(--ease-out); }
  .gnav__link .roll > span::after { content: attr(data-ja); display: block; font-family: var(--font-ja); font-size: 0.72rem; letter-spacing: 0.12em; height: 1.2em; line-height: 1.2em; color: var(--fg-mute); }
  .gnav__link:hover .roll > span { transform: translateY(-1.2em); }
  .gnav__link[aria-current="page"]::before { content: ""; position: absolute; left: -0.8rem; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--shu); transform: translateY(-50%); }

  .menu-btn { display: none; width: 48px; height: 48px; position: relative; color: var(--fg); }
  .menu-btn span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out), opacity 0.3s; }
  .menu-btn span:nth-child(1) { top: 19px; }
  .menu-btn span:nth-child(2) { top: 28px; right: 20px; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
  .menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); right: 12px; }

  /* Full-screen menu (mobile) */
  .menu {
    position: fixed; inset: 0; z-index: 790;
    background: #ffffff;
    color: var(--fg);
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.9s var(--ease-in-out);
    display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 4vh) var(--pad-x) 6vh;
    visibility: hidden;
  }
  .menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
  .menu__list { display: grid; gap: 0.2rem; }
  .menu__link { display: flex; align-items: baseline; gap: 1rem; padding-block: 0.6rem; border-bottom: 1px solid var(--rule); overflow: hidden; color: var(--fg); }
  .menu__link b { font-family: var(--font-en); font-size: clamp(2.2rem, 10vw, 3.6rem); font-weight: 600; font-stretch: 80%; letter-spacing: -0.01em; line-height: 1.05; text-transform: uppercase; transform: translateY(110%); transition: transform 0.9s var(--ease-out); color: var(--fg); }
  .menu__link small { font-size: var(--fs-sm); color: var(--fg-mute); }
  .menu-open .menu__link b { transform: none; }
  .menu-open .menu__list li:nth-child(2) b { transition-delay: 0.05s; }
  .menu-open .menu__list li:nth-child(3) b { transition-delay: 0.1s; }
  .menu-open .menu__list li:nth-child(4) b { transition-delay: 0.15s; }
  .menu-open .menu__list li:nth-child(5) b { transition-delay: 0.2s; }
  .menu-open .menu__list li:nth-child(6) b { transition-delay: 0.25s; }
  .menu__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; font-size: var(--fs-sm); color: var(--fg-mute); }

  /* ---- Buttons ----------------------------------------------------------- */
  .c-btn {
    --btn-fg: var(--fg); --btn-bg: transparent; --btn-fill: var(--fg); --btn-fill-fg: #ffffff;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 0.9rem;
    padding: 0.95em 1.6em 0.95em 1.9em;
    border: 1px solid currentColor; border-radius: 999px;
    color: var(--btn-fg); background: var(--btn-bg);
    font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0.12em; line-height: 1.2;
    transition: color 0.5s var(--ease-out), border-color 0.5s;
    white-space: nowrap;
  }
  .c-btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--btn-fill); border-radius: inherit;
    transform: translateY(101%); transition: transform 0.6s var(--ease-out);
  }
  .c-btn:hover { color: var(--btn-fill-fg); }
  .c-btn:hover::before { transform: none; }
  .c-btn__arrow { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.5s var(--ease-out); }
  .c-btn:hover .c-btn__arrow { transform: translateX(3px); }
  .c-btn--shu { --btn-fg: #ffffff; --btn-bg: var(--shu); --btn-fill: var(--fg); --btn-fill-fg: #ffffff; border-color: var(--shu); }
  .c-btn--shu:hover { border-color: var(--fg); }
  .c-btn--lg { font-size: var(--fs-base); padding: 1.2em 2em 1.2em 2.4em; }

  .c-link {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0.1em;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.6s var(--ease-out);
    padding-bottom: 0.2em;
  }
  .c-link:hover { background-size: 100% 1px; }
  .c-link svg { width: 1em; height: 1em; }

  /* ---- Section heading ---------------------------------------------------- */
  .c-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(48px, 7vw, 110px); }
  .c-head__meta { grid-column: 1 / span 3; display: flex; gap: 1.2rem; align-items: center; padding-bottom: 0.6em; }
  .c-head__no { font-family: var(--font-en); font-size: var(--fs-sm); font-weight: 500; color: var(--shu); }
  .c-head__meta::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
  .c-head__title { grid-column: 4 / span 9; }
  .c-head__en { display: block; font-family: var(--font-en); font-size: var(--fs-2xl); font-weight: 600; font-stretch: 78%; line-height: 0.92; letter-spacing: -0.015em; text-transform: uppercase; }
  .c-head__ja { display: block; margin-top: 1rem; font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0.2em; color: var(--fg-mute); }

  /* ---- Marquee ------------------------------------------------------------ */
  .c-marquee { display: flex; overflow: hidden; white-space: nowrap; user-select: none; border-block: 1px solid var(--rule); }
  .c-marquee__track { display: flex; flex: none; gap: 0; will-change: transform; }
  .c-marquee__item { display: inline-flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding-inline: clamp(1rem, 2vw, 2rem); font-size: clamp(1rem, 0.8rem + 1vw, 1.6rem); font-weight: 500; letter-spacing: 0.1em; line-height: 2.6; }
  .c-marquee__item::after { content: ""; width: 0.4em; height: 0.4em; border-radius: 50%; background: var(--shu); }
  .no-js .c-marquee__track { animation: marquee 40s linear infinite; }
  @keyframes marquee { to { transform: translateX(-50%); } }

  /* ---- Tag ---------------------------------------------------------------- */
  .c-tag { display: inline-flex; align-items: center; gap: 0.45em; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.12em; line-height: 1; padding: 0.55em 0.9em; border: 1px solid var(--rule-strong); border-radius: 999px; color: var(--fg); background: #ffffff; }
  .c-tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--shu); }
  .c-tag--news::before { background: var(--fg); }
  .c-tag--report::before { background: #d9a441; }
  .c-tag--work::before { background: var(--shu); }

  /* ---- Post card ---------------------------------------------------------- */
  .c-card { position: relative; display: grid; gap: 1.1rem; }
  .c-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #e8e6df; border-radius: 4px; border: 1px solid rgba(17, 17, 20, 0.06); }
  .c-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease-out), filter 0.8s; filter: saturate(0.9); }
  .c-card:hover .c-card__media img { transform: scale(1.0); filter: saturate(1.05); }
  .c-card__meta { display: flex; align-items: center; gap: 1rem; }
  .c-card__date { font-family: var(--font-en); font-size: var(--fs-sm); color: var(--fg-mute); letter-spacing: 0.06em; }
  .c-card__title { font-size: var(--fs-md); font-weight: 700; line-height: 1.6; letter-spacing: 0.04em; color: var(--fg); }
  .c-card__title a::after { content: ""; position: absolute; inset: 0; }
  .c-card__excerpt { font-size: var(--fs-sm); color: var(--fg-mute); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

  /* Row style (journal list) */
  .c-row { position: relative; display: grid; grid-template-columns: 9rem 8rem 1fr 12rem 2.5rem; gap: var(--gap); align-items: center; padding-block: clamp(1.4rem, 2.4vw, 2.2rem); border-top: 1px solid var(--rule); transition: padding 0.6s var(--ease-out); }
  .c-row:last-child { border-bottom: 1px solid var(--rule); }
  .c-row__date { font-family: var(--font-en); font-size: var(--fs-sm); color: var(--fg-mute); }
  .c-row__title { font-size: var(--fs-md); font-weight: 500; line-height: 1.6; color: var(--fg); }
  .c-row__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .c-row__thumb { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; opacity: 0; transform: scale(0.94); transition: opacity 0.5s, transform 0.8s var(--ease-out); }
  .c-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .c-row__arrow { width: 2.5rem; height: 2.5rem; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; transition: background 0.4s, border-color 0.4s, color 0.4s; }
  .c-row__arrow svg { width: 0.9rem; height: 0.9rem; }
  .c-row:hover { padding-inline: 1rem; }
  .c-row:hover .c-row__thumb { opacity: 1; transform: none; }
  .c-row:hover .c-row__arrow { background: var(--shu); border-color: var(--shu); color: #ffffff; }

  /* ---- Breadcrumb -------------------------------------------------------- */
  .c-breadcrumb { display: flex; flex-wrap: wrap; gap: 0.6rem; font-size: var(--fs-xs); letter-spacing: 0.1em; color: var(--fg-mute); }
  .c-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.6rem; opacity: 0.5; }
  .c-breadcrumb a:hover { color: var(--fg); }
  .c-breadcrumb li:last-child { max-width: 30ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* ---- Page hero (sub pages) --------------------------------------------- */
  .page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(80px, 12vw, 180px)); padding-bottom: clamp(56px, 7vw, 110px); }
  .page-hero__en { font-family: var(--font-en); font-size: var(--fs-display); font-weight: 600; font-stretch: 72%; line-height: 0.86; letter-spacing: -0.02em; text-transform: uppercase; color: var(--fg); }
  .page-hero__en .t-shu { font-stretch: 100%; }
  .page-hero__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
  .page-hero__title { grid-column: 1 / span 4; font-size: var(--fs-lg); font-weight: 700; letter-spacing: 0.12em; line-height: 1.5; color: var(--fg); }
  .page-hero__lead { grid-column: 6 / span 6; color: var(--fg-mute); line-height: 2.1; }
  .page-hero .c-breadcrumb { margin-bottom: clamp(24px, 3vw, 40px); }

  /* ---- FAQ accordion (details + interpolate-size) ------------------------ */
  .c-faq { border-top: 1px solid var(--rule); }
  .c-faq__item { border-bottom: 1px solid var(--rule); interpolate-size: allow-keywords; }
  .c-faq__item::details-content { block-size: 0; overflow: clip; transition: block-size 0.6s var(--ease-out), content-visibility 0.6s allow-discrete; }
  .c-faq__item[open]::details-content { block-size: auto; }
  .c-faq__q { display: grid; grid-template-columns: 3rem 1fr 2rem; gap: 1rem; align-items: center; padding-block: 1.6rem; cursor: pointer; list-style: none; font-weight: 500; font-size: var(--fs-md); line-height: 1.6; transition: color 0.3s; color: var(--fg); }
  .c-faq__q::-webkit-details-marker { display: none; }
  .c-faq__q:hover { color: var(--shu); }
  .c-faq__q::before { content: "Q"; font-family: var(--font-en); font-weight: 600; font-size: var(--fs-md); color: var(--shu); }
  .c-faq__icon { position: relative; width: 1rem; height: 1rem; justify-self: end; }
  .c-faq__icon::before, .c-faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease-out); }
  .c-faq__icon::after { transform: rotate(90deg); }
  .c-faq__item[open] .c-faq__icon::after { transform: rotate(0); }
  .c-faq__a { display: grid; grid-template-columns: 3rem 1fr 2rem; gap: 1rem; padding-bottom: 2rem; color: var(--fg-mute); line-height: 2; }
  .c-faq__a::before { content: "A"; font-family: var(--font-en); font-weight: 600; font-size: var(--fs-md); color: var(--fg); line-height: 1.6; }

  /* ---- CTA ----------------------------------------------------------------- */
  .c-cta { position: relative; overflow: hidden; padding-block: clamp(110px, 16vw, 240px); text-align: center; border-top: 1px solid var(--rule); }
  .c-cta__label { margin-bottom: 2rem; }
  .c-cta__big { display: block; font-family: var(--font-en); font-weight: 700; font-size: clamp(4rem, 1rem + 15vw, 17rem); font-stretch: 70%; line-height: 0.82; letter-spacing: -0.03em; text-transform: uppercase; transition: color 0.6s; color: var(--fg); }
  .c-cta__big em { font-style: normal; color: var(--shu); }
  .c-cta__ja { margin-top: 2.4rem; font-size: var(--fs-md); letter-spacing: 0.14em; color: var(--fg-mute); }
  .c-cta__actions { margin-top: 3rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
  .c-cta__bg { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.8s; }
  .c-cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(0.9); }
  .c-cta:hover .c-cta__bg { opacity: 0.12; }
  .c-cta { isolation: isolate; }

  /* ---- Footer -------------------------------------------------------------- */
  .site-footer { position: relative; padding-top: clamp(80px, 10vw, 140px); padding-bottom: 2rem; background: #111114; color: #ecebe6; overflow: hidden; }
  .site-footer a { color: #ecebe6; }
  .site-footer .brand { color: #ffffff; }
  .site-footer .brand__name { color: #ffffff; }
  .site-footer .brand__name small { color: #8c8b85; }
  .site-footer .t-label { color: #8c8b85; }
  .site-footer .t-mute { color: #8c8b85; }
  .site-footer__bottom { color: #8c8b85; }
  .site-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; }
  .site-footer__about { grid-column: 1 / span 4; }
  .site-footer__tag { margin-top: 1.4rem; font-family: var(--font-mincho); font-size: var(--fs-md); letter-spacing: 0.2em; color: #ffffff; }
  .site-footer__nav { grid-column: 6 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer__nav h3 { margin-bottom: 1rem; color: #8c8b85; }
  .site-footer__nav li + li { margin-top: 0.5rem; }
  .site-footer__nav a { font-size: var(--fs-sm); transition: color 0.3s; }
  .site-footer__nav a:hover { color: var(--shu); }
  .site-footer__contact { grid-column: 10 / span 3; font-size: var(--fs-sm); }
  .site-footer__contact a:hover { color: var(--shu); }
  .site-footer__word { margin-top: clamp(60px, 9vw, 140px); font-family: var(--font-en); font-weight: 700; font-stretch: 62%; font-size: clamp(3rem, 15.5vw, 17rem); line-height: 0.8; letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236, 235, 230, 0.15); user-select: none; }
  .site-footer__bottom { margin-top: 2.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--fs-xs); color: #8c8b85; letter-spacing: 0.1em; }
  .to-top { display: inline-flex; align-items: center; gap: 0.5rem; }
  .to-top svg { width: 0.9rem; height: 0.9rem; transform: rotate(-90deg); }

  /* ---- Cursor --------------------------------------------------------------- */
  .cursor { position: fixed; left: 0; top: 0; z-index: 9500; pointer-events: none; mix-blend-mode: normal; display: none; }
  .has-cursor .cursor { display: block; }
  .cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--shu); }
  .cursor__ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(17, 17, 20, 0.4); border-radius: 50%; display: grid; place-items: center; transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), margin 0.5s var(--ease-out), background 0.4s, border-color 0.4s; }
  .cursor__label { font-family: var(--font-en); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; color: #ffffff; opacity: 0; transition: opacity 0.3s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: transparent; background: rgba(14, 86, 197, 0.14); }
  .cursor.is-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--fg); border-color: var(--fg); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
  .has-cursor input, .has-cursor textarea { cursor: text; }

  /* ---- Preloader ------------------------------------------------------------ */
  .preloader { position: fixed; inset: 0; z-index: 9800; background: var(--bg); display: grid; place-items: center; }
  .preloader[hidden] { display: none; }
  .no-js .preloader { display: none !important; }
  .preloader__mark { width: min(36vw, 260px); }
  .preloader__mark text { font-family: var(--font-mincho); font-weight: 700; fill: transparent; stroke: var(--fg); stroke-width: 0.6; stroke-dasharray: 420; stroke-dashoffset: 420; }
  .preloader__count { position: absolute; right: var(--pad-x); bottom: 5vh; font-family: var(--font-en); font-weight: 600; font-stretch: 72%; font-size: clamp(4rem, 12vw, 10rem); line-height: 0.8; color: var(--fg); font-variant-numeric: tabular-nums; }
  .preloader__label { position: absolute; left: var(--pad-x); bottom: 5vh; color: var(--fg-mute); }
  .preloader__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--shu); transform-origin: left; transform: scaleX(0); }

  /* ---- Notice bar ---------------------------------------------------------- */
  .notice { position: relative; z-index: 801; background: var(--shu); color: #ffffff; font-size: var(--fs-sm); text-align: center; padding: 0.55rem var(--pad-x); letter-spacing: 0.08em; }

  /* ---- Pager --------------------------------------------------------------- */
  .c-pager { display: flex; justify-content: center; gap: 0.5rem; margin-top: 4rem; font-family: var(--font-en); }
  .c-pager a, .c-pager span { display: grid; place-items: center; min-width: 2.8rem; height: 2.8rem; border: 1px solid var(--rule); border-radius: 999px; font-size: var(--fs-sm); padding-inline: 0.8rem; transition: background 0.3s, color 0.3s; }
  .c-pager a:hover { background: var(--fg); color: var(--bg); }
  .c-pager [aria-current] { background: var(--shu); border-color: var(--shu); color: #ffffff; }

  /* ---- Filter tabs ---------------------------------------------------------- */
  .c-filter { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: clamp(32px, 4vw, 56px); }
  .c-filter a { display: inline-flex; gap: 0.6rem; align-items: center; padding: 0.7em 1.3em; border: 1px solid var(--rule); border-radius: 999px; font-size: var(--fs-sm); letter-spacing: 0.1em; transition: background 0.3s, color 0.3s, border-color 0.3s; }
  .c-filter a sup { font-family: var(--font-en); font-size: 0.7em; color: var(--fg-mute); }
  .c-filter a:hover { border-color: var(--fg); }
  .c-filter a[aria-current] { background: var(--fg); color: #ffffff; border-color: var(--fg); }
  .c-filter a[aria-current] sup { color: inherit; }
}

/* -------------------------------------------------------------------------- */
@layer pages {

  /* ======================= HOME: HERO ======================= */
  .hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; grid-template-rows: 1fr auto auto; background: var(--bg); }
  .hero__stage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; padding-top: calc(var(--header-h) + 1vh); padding-bottom: 1vh; }
  .hero__visual { position: absolute; top: calc(var(--header-h) + 2vh); right: var(--pad-x); bottom: 2vh; width: min(48vw, 920px); overflow: hidden; border-radius: 4px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.10); }
  .hero__visual canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__fallback img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s; }
  .hero__fallback img.is-active { opacity: 1; }
  .has-webgl .hero__fallback { visibility: hidden; }
  .hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252, 251, 249, 0.3) 0%, transparent 25%); pointer-events: none; }
  .hero__vertical { position: absolute; left: var(--pad-x); top: calc(var(--header-h) + 6vh); writing-mode: vertical-rl; font-family: var(--font-mincho); font-size: var(--fs-sm); letter-spacing: 0.5em; color: var(--fg-mute); display: flex; align-items: center; gap: 1.2rem; z-index: 2; }
  .hero__vertical::after { content: ""; width: 1px; height: 14vh; background: var(--rule-strong); }
  .hero__copy { position: relative; z-index: 3; grid-column: 2 / span 7; padding-left: clamp(0px, 2vw, 36px); }
  .hero__title { font-size: clamp(2.4rem, 1.8rem + 3.2vw, 4.8rem); font-weight: 900; line-height: 1.16; letter-spacing: 0.02em; font-feature-settings: "palt" 1; color: var(--fg); max-width: 14em; }
  .hero__title .split-line + .split-line { padding-left: 0.85em; }
  .hero__en { margin-top: clamp(1rem, 2vw, 1.8rem); display: flex; flex-wrap: wrap; gap: 0.2em 0.5em; font-family: var(--font-en); font-weight: 600; font-stretch: 78%; font-size: clamp(1.1rem, 0.8rem + 1.2vw, 2.2rem); letter-spacing: 0.02em; text-transform: uppercase; line-height: 1; }
  .hero__en i { font-style: normal; color: var(--shu); }
  .hero__sub { margin-top: clamp(1rem, 1.6vw, 1.6rem); max-width: 32em; font-size: var(--fs-sm); line-height: 2.0; color: var(--fg-mute); }
  .hero__foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 var(--pad-x) 1rem; gap: 2rem; }
  .hero__scroll { display: flex; align-items: center; gap: 1rem; color: var(--fg-mute); }
  .hero__scroll-line { position: relative; width: 80px; height: 1px; background: var(--rule-strong); overflow: hidden; }
  .hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--fg); animation: scrollLine 2.4s var(--ease-in-out) infinite; }
  @keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
  .hero__counter { font-family: var(--font-en); font-weight: 500; font-size: var(--fs-sm); letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.8rem; color: var(--fg-mute); }
  .hero__counter b { color: var(--shu); font-weight: 600; min-width: 1.6em; }
  .hero__progress { width: 80px; height: 1px; background: var(--rule-strong); position: relative; overflow: hidden; }
  .hero__progress span { position: absolute; inset: 0; background: var(--shu); transform-origin: left; transform: scaleX(0); }
  .hero__caption { font-size: var(--fs-xs); color: var(--fg-mute); letter-spacing: 0.12em; }
  .hero .c-marquee { position: relative; z-index: 4; background: #111114; color: #fcfbf9; border-top: 1px solid rgba(17, 17, 20, 0.15); height: 48px; display: flex; align-items: center; overflow: hidden; }
  .hero .c-marquee__track { display: flex; align-items: center; will-change: transform; }
  .hero .c-marquee__item { color: #fcfbf9; font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1.05rem); font-weight: 500; letter-spacing: 0.12em; line-height: 1; padding-inline: clamp(1.2rem, 2.2vw, 2.4rem); display: inline-flex; align-items: center; gap: clamp(1.2rem, 2.2vw, 2.4rem); }
  .hero .c-marquee__item::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--shu); flex-shrink: 0; }

  /* ======================= HOME: STATEMENT ======================= */
  .statement__grid { align-items: start; }
  .statement__label { grid-column: 1 / span 3; position: sticky; top: calc(var(--header-h) + 2rem); }
  .statement__body { grid-column: 4 / span 9; }
  .statement__text { font-size: clamp(1.5rem, 0.9rem + 2.6vw, 3.6rem); font-weight: 700; line-height: 1.65; letter-spacing: 0.04em; color: var(--fg); }
  .statement__text .w { color: rgba(17, 17, 20, 0.18); transition: color 0.2s; }
  .statement__text .w.is-highlight, .statement__text .w.is-active { color: var(--fg); }
  .no-js .statement__text .w, .reduced .statement__text .w { color: inherit; }
  .statement__text em { font-style: normal; }
  .statement__foot { margin-top: clamp(3rem, 6vw, 6rem); display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); }
  .statement__note { grid-column: 1 / span 5; color: var(--fg-mute); line-height: 2.1; }
  .statement__cta { grid-column: 7 / span 3; align-self: end; justify-self: end; }

  /* ======================= HOME: SERVICES INDEX ======================= */
  .svc-index { position: relative; }
  .svc-index__list { border-top: 1px solid var(--rule); counter-reset: svc; }
  .svc-item { position: relative; border-bottom: 1px solid var(--rule); }
  .svc-item__link { display: grid; grid-template-columns: 5rem minmax(0, 1.4fr) minmax(0, 1.6fr) 8rem 3rem; gap: var(--gap); align-items: center; padding-block: clamp(1.6rem, 3vw, 2.8rem); transition: padding 0.7s var(--ease-out), color 0.4s; }
  .svc-item__no { font-family: var(--font-en); font-size: var(--fs-sm); color: var(--fg-mute); }
  .svc-item__name { font-size: var(--fs-xl); font-weight: 700; letter-spacing: 0.06em; line-height: 1.3; color: var(--fg); }
  .svc-item__name small { display: block; margin-top: 0.4rem; font-family: var(--font-en); font-size: var(--fs-xs); font-weight: 500; font-stretch: 112%; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-mute); }
  .svc-item__desc { font-size: var(--fs-sm); color: var(--fg-mute); line-height: 2; }
  .svc-item__cat { justify-self: start; }
  .svc-item__arrow { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--rule-strong); display: grid; place-items: center; transition: background 0.4s, border-color 0.4s, transform 0.6s var(--ease-out); background: #ffffff; color: var(--fg); }
  .svc-item__arrow svg { width: 1rem; height: 1rem; }
  .svc-item::before { content: ""; position: absolute; inset: 0; background: #ffffff; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease-out); z-index: -1; }
  .svc-index__list { isolation: isolate; }
  .svc-item:hover::before { transform: scaleY(1); transform-origin: top; }
  .svc-item:hover .svc-item__link { color: var(--fg); padding-inline: 1.4rem; }
  .svc-item:hover .svc-item__desc, .svc-item:hover .svc-item__no, .svc-item:hover small { color: var(--fg-mute); }
  .svc-item:hover .svc-item__arrow { background: var(--shu); border-color: var(--shu); color: #ffffff; transform: rotate(-45deg); }
  .svc-item:hover .c-tag { color: var(--fg); border-color: var(--rule-strong); }
  .svc-float { position: fixed; left: 0; top: 0; width: clamp(220px, 22vw, 360px); aspect-ratio: 4 / 5; pointer-events: none; z-index: 50; overflow: hidden; border-radius: 2px; opacity: 0; transform: scale(0.8); }
  .svc-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s; }
  .svc-float img.is-active { opacity: 1; }

  /* ======================= HOME: STRENGTHS (horizontal) ======================= */
  .strengths { position: relative; overflow: hidden; }
  .strengths__intro { padding-top: var(--section-y); }
  .strengths__pin { height: 100svh; display: flex; align-items: center; }
  .strengths__track { display: flex; gap: clamp(24px, 4vw, 80px); padding-inline: var(--pad-x); will-change: transform; }
  .strength { flex: none; width: min(78vw, 1180px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
  .strength__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 2px; }
  .strength__media img { width: 100%; height: 115%; object-fit: cover; }
  .strength__no { font-family: var(--font-en); font-weight: 700; font-stretch: 62%; font-size: clamp(5rem, 12vw, 12rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--fg); }
  .strength__en { margin-top: 1.6rem; }
  .strength__title { margin-top: 0.8rem; font-size: var(--fs-xl); font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; }
  .strength__body { margin-top: 1.6rem; color: var(--fg-mute); line-height: 2.1; font-size: var(--fs-sm); }
  .strengths__progress { position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 5vh; height: 1px; background: var(--rule); }
  .strengths__progress span { position: absolute; inset: 0; background: var(--shu); transform-origin: left; transform: scaleX(0); }

  /* ======================= HOME: WORKS ======================= */
  .works-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: clamp(48px, 6vw, 96px); }
  .work-card { position: relative; display: grid; gap: 1.4rem; }
  .work-card:nth-child(4n + 1) { grid-column: 1 / span 7; }
  .work-card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 240px); }
  .work-card:nth-child(4n + 3) { grid-column: 2 / span 4; }
  .work-card:nth-child(4n + 4) { grid-column: 7 / span 6; margin-top: clamp(40px, 6vw, 120px); }
  .work-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; border-radius: 2px; background: var(--ink-3); }
  .work-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
  .work-card:hover .work-card__media img { transform: scale(1.0); }
  .work-card__meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; }
  .work-card__title { font-size: var(--fs-lg); font-weight: 700; line-height: 1.5; }
  .work-card__title a::after { content: ""; position: absolute; inset: 0; }
  .work-card__client { font-size: var(--fs-sm); color: var(--fg-mute); }
  .works-empty { grid-column: 1 / -1; padding: 4rem; border: 1px dashed var(--rule); text-align: center; color: var(--fg-mute); }

  /* ======================= HOME: FLOW ======================= */
  .flow-line { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
  .flow-line__item { position: relative; padding: 2rem clamp(0.8rem, 1.4vw, 1.6rem) 0 0; }
  .flow-line__item::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--fg); }
  .flow-line__item:first-child::before { background: var(--shu); border-color: var(--shu); }
  .flow-line__no { font-family: var(--font-en); font-weight: 600; font-size: var(--fs-sm); color: var(--shu); }
  .flow-line__title { margin-top: 0.6rem; font-size: var(--fs-md); font-weight: 700; letter-spacing: 0.08em; }
  .flow-line__body { margin-top: 0.8rem; font-size: var(--fs-xs); line-height: 2; color: var(--fg-mute); }

  /* ======================= HOME: MESSAGE ======================= */
  .message { max-width: 860px; margin-inline: auto; padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--border-subtle); }
  .message__body { width: 100%; }
  .message__quote { font-family: var(--font-mincho); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); font-weight: 500; line-height: 1.75; letter-spacing: 0.08em; }
  .message__text { margin-top: 2.4rem; color: var(--fg-mute); line-height: 2.3; font-size: var(--fs-base); }
  .message__sign { margin-top: 2.8rem; display: flex; align-items: baseline; gap: 1.2rem; }
  .message__sign b { font-family: var(--font-mincho); font-size: var(--fs-xl); font-weight: 700; letter-spacing: 0.25em; }
  .message .c-link { margin-top: 2.4rem; display: inline-flex; }

  /* ======================= HOME: JOURNAL ======================= */
  .journal-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }

  /* ======================= SERVICES (list page) ======================= */
  .svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 96px) var(--gap); }
  .svc-card { position: relative; display: grid; gap: 1.4rem; }
  .svc-card:nth-child(even) { margin-top: clamp(60px, 10vw, 180px); }
  .svc-card__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 2px; }
  .svc-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease-out); }
  .svc-card:hover .svc-card__media img { transform: scale(1); }
  .svc-card__no { position: absolute; left: 1.2rem; top: 1rem; z-index: 1; font-family: var(--font-en); font-weight: 700; font-stretch: 62%; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; color: var(--paper); mix-blend-mode: difference; }
  .svc-card__name { font-size: var(--fs-xl); font-weight: 700; letter-spacing: 0.06em; }
  .svc-card__name a::after { content: ""; position: absolute; inset: 0; }
  .svc-card__summary { color: var(--fg-mute); font-size: var(--fs-sm); line-height: 2; }

  /* ======================= SERVICE DETAIL ======================= */
  .svc-hero { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 9vw, 140px)); }
  .svc-hero__grid { align-items: end; }
  .svc-hero__no { grid-column: 1 / span 2; font-family: var(--font-en); font-weight: 700; font-stretch: 62%; font-size: clamp(5rem, 14vw, 14rem); line-height: 0.78; color: var(--shu); }
  .svc-hero__head { grid-column: 3 / span 10; }
  .svc-hero__en { margin-bottom: 1.2rem; }
  .svc-hero__title { font-size: var(--fs-2xl); font-weight: 900; line-height: 1.2; letter-spacing: 0.04em; }
  .svc-hero__media { margin-top: clamp(48px, 6vw, 96px); position: relative; height: clamp(320px, 70vh, 820px); overflow: hidden; }
  .svc-hero__media img { width: 100%; height: 120%; object-fit: cover; }
  .svc-hero__catch { position: absolute; left: var(--pad-x); bottom: clamp(24px, 4vw, 64px); z-index: 1; font-size: clamp(1.8rem, 1rem + 3.4vw, 4.6rem); font-weight: 900; line-height: 1.35; letter-spacing: 0.04em; text-shadow: 0 2px 30px rgb(0 0 0 / 0.4); }

  .svc-block { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .svc-block__label { grid-column: 1 / span 3; }
  .svc-block__label .t-label { position: sticky; top: calc(var(--header-h) + 2rem); display: flex; gap: 0.8rem; }
  .svc-block__label .t-label b { color: var(--shu); font-weight: 600; }
  .svc-block__body { grid-column: 4 / span 8; }
  .svc-block__h { font-size: var(--fs-xl); font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; margin-bottom: 2rem; }
  .svc-lead p + p { margin-top: 1.6em; }
  .svc-lead p { line-height: 2.2; }
  .svc-lead p:first-child { font-size: var(--fs-md); color: var(--fg); }
  .svc-lead p:not(:first-child) { color: var(--fg-mute); }

  .problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  .problem-list li { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 2rem 1.8rem; display: flex; gap: 1rem; align-items: flex-start; font-weight: 500; line-height: 1.8; }
  .problem-list li::before { content: ""; flex: none; margin-top: 0.7em; width: 0.8rem; height: 1px; background: var(--shu); }
  .problem-answer { margin-top: 2rem; font-size: var(--fs-md); font-weight: 700; }

  .offer-list { counter-reset: offer; border-top: 1px solid var(--rule); }
  .offer-list li { counter-increment: offer; display: grid; grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--gap); padding-block: 2rem; border-bottom: 1px solid var(--rule); }
  .offer-list li::before { content: counter(offer, decimal-leading-zero); font-family: var(--font-en); font-weight: 600; color: var(--shu); font-size: var(--fs-sm); padding-top: 0.25em; }
  .offer-list h3 { font-size: var(--fs-md); font-weight: 700; line-height: 1.6; }
  .offer-list p { color: var(--fg-mute); font-size: var(--fs-sm); line-height: 2; }

  .point-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .point-list li { padding: 2.2rem 1.8rem 2.4rem; border: 1px solid var(--rule); border-radius: 2px; display: grid; gap: 1rem; align-content: start; }
  .point-list b { font-size: var(--fs-md); font-weight: 700; }
  .point-list span { color: var(--fg-mute); font-size: var(--fs-sm); line-height: 1.9; }
  .point-list li::before { content: ""; width: 2rem; height: 2px; background: var(--shu); }

  .intent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .intent-card { padding: clamp(24px, 3.2vw, 38px); background: var(--bg); border: 1px solid var(--rule); border-radius: 2px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out); }
  .intent-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04); }
  .intent-card__tag { display: inline-flex; }
  .intent-card__title { font-size: var(--fs-lg); font-weight: 700; margin-top: 1.2rem; line-height: 1.5; letter-spacing: 0.02em; }
  .intent-card__desc { margin-top: 1rem; color: var(--fg-mute); font-size: var(--fs-sm); line-height: 2.1; }
  .intent-card__list { margin-top: 1.4rem; padding-left: 1.2rem; color: var(--fg-mute); font-size: var(--fs-xs); line-height: 2; list-style: disc; }
  .intent-card__action { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }

  .area-box { margin-top: clamp(40px, 5vw, 64px); padding: clamp(28px, 4vw, 44px); background: #fafafa; border: 1px solid var(--rule); border-radius: 2px; }
  .area-box__inner { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 48px); align-items: center; }
  .area-box__title { font-size: var(--fs-lg); font-weight: 700; margin-top: 0.6rem; letter-spacing: 0.02em; }
  .area-box__desc { margin-top: 0.8rem; color: var(--fg-mute); font-size: var(--fs-sm); line-height: 2.1; max-width: 68ch; }
  .area-box__tags { display: flex; flex-direction: column; gap: 0.6rem; }

  .svc-next { position: relative; display: block; overflow: hidden; padding-block: clamp(80px, 12vw, 180px); border-top: 1px solid var(--rule); isolation: isolate; }
  .svc-next__bg { position: absolute; inset: 0; z-index: -1; opacity: 0.25; transition: opacity 0.8s, transform 1.4s var(--ease-out); transform: scale(1.06); }
  .svc-next__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
  .svc-next:hover .svc-next__bg { opacity: 0.55; transform: scale(1); }
  .svc-next__name { margin-top: 1rem; font-size: var(--fs-2xl); font-weight: 900; letter-spacing: 0.04em; display: flex; align-items: center; gap: 1.6rem; }
  .svc-next__name svg { width: 0.6em; height: 0.6em; transition: transform 0.6s var(--ease-out); }
  .svc-next:hover .svc-next__name svg { transform: translateX(12px); }

  /* ======================= ARTICLE ======================= */
  .article-hero { padding-top: calc(var(--header-h) + clamp(60px, 9vw, 140px)); }
  .article-hero__meta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-bottom: 1.6rem; }
  .article-hero__media { margin-top: clamp(32px, 4vw, 64px); overflow: hidden; border-radius: 6px; background: #0c0c0d; max-width: 980px; margin-inline: auto; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08); }
  .article-hero__media picture,
  .article-hero__media img { display: block; width: 100%; height: auto; max-height: 800px; object-fit: contain; margin-inline: auto; view-transition-name: var(--vt, none); }
  .article-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding-block: clamp(56px, 7vw, 120px); }
  .article-aside { grid-column: 1 / span 3; }
  .article-aside__inner { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 2.4rem; }
  .toc ol { counter-reset: toc; display: grid; gap: 0.8rem; margin-top: 1rem; border-left: 1px solid var(--rule); }
  .toc li { counter-increment: toc; }
  .toc a { display: block; padding-left: 1rem; margin-left: -1px; border-left: 1px solid transparent; font-size: var(--fs-sm); line-height: 1.7; color: var(--fg-mute); transition: color 0.3s, border-color 0.3s; }
  .toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--font-en); font-size: 0.85em; }
  .toc a:hover, .toc a.is-active { color: var(--fg); border-color: var(--shu); }
  .share { display: flex; gap: 0.6rem; margin-top: 1rem; }
  .share a, .share button { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; font-family: var(--font-en); font-size: 0.7rem; font-weight: 600; transition: background 0.3s, color 0.3s; }
  .share a:hover, .share button:hover { background: var(--fg); color: var(--bg); }
  .share button { background: none; color: inherit; cursor: pointer; padding: 0; }
  .share svg { width: 1rem; height: 1rem; }

  .work-facts { display: grid; gap: 0; border-top: 1px solid var(--rule); margin-top: 1rem; }
  .work-facts div { display: grid; gap: 0.3rem; padding-block: 1rem; border-bottom: 1px solid var(--rule); }
  .work-facts dt { font-size: var(--fs-xs); color: var(--fg-mute); letter-spacing: 0.12em; }
  .work-facts dd { font-size: var(--fs-sm); line-height: 1.7; }

  .metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); margin-bottom: clamp(48px, 6vw, 80px); }
  .metric { padding: 2rem 0 0; border-top: 2px solid var(--shu); }
  .metric__v { font-family: var(--font-en); font-weight: 700; font-stretch: 70%; font-size: clamp(3.4rem, 6vw, 5.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
  .metric__v small { font-family: var(--font-ja); font-size: 0.32em; font-weight: 700; margin-left: 0.2em; letter-spacing: 0.06em; }
  .metric__v--text { font-family: var(--font-ja); font-size: clamp(1.4rem, 1.1rem + 1vw, 2.2rem); font-weight: 700; line-height: 1.25; letter-spacing: 0.04em; }
  .metric__v--text small { font-size: 0.65em; font-weight: 600; margin-left: 0.3em; }
  .metric__l { margin-top: 0.8rem; color: var(--fg-mute); font-size: var(--fs-sm); line-height: 1.8; }

  .prose { grid-column: 5 / span 7; font-size: var(--fs-base); line-height: 2.15; letter-spacing: 0.05em; }
  .prose > * + * { margin-top: 1.7em; }
  .prose h2 { margin-top: 3.4em; padding-top: 1.4em; border-top: 1px solid var(--rule); font-size: var(--fs-lg); font-weight: 700; line-height: 1.6; scroll-margin-top: calc(var(--header-h) + 2rem); }
  .prose h2::before { content: ""; display: block; width: 2rem; height: 2px; background: var(--shu); margin-bottom: 1.2rem; }
  .prose h3 { margin-top: 2.6em; font-size: var(--fs-md); font-weight: 700; line-height: 1.6; }
  .prose h4 { margin-top: 2em; font-weight: 700; }
  .prose mark { background: linear-gradient(transparent 62%, rgba(14, 86, 197, 0.22) 62%); color: inherit; padding-inline: 0.05em; }
  .prose a { color: var(--shu); text-decoration: underline; text-underline-offset: 0.25em; }
  .prose ul, .prose ol { padding-left: 1.4em; display: grid; gap: 0.6em; }
  .prose ul { list-style: none; }
  .prose ul > li { position: relative; }
  .prose ul > li::before { content: ""; position: absolute; left: -1.2em; top: 0.95em; width: 0.5em; height: 1px; background: var(--shu); }
  .prose ol { list-style: decimal-leading-zero; }
  .prose ol ::marker { font-family: var(--font-en); color: var(--shu); font-size: 0.9em; }
  .prose blockquote { padding: 2rem 0 2rem 2rem; border-left: 2px solid var(--shu); font-family: var(--font-mincho); font-size: var(--fs-md); line-height: 2; }
  .prose blockquote cite { display: block; margin-top: 1rem; font-family: var(--font-ja); font-style: normal; font-size: var(--fs-sm); color: var(--fg-mute); }
  .prose figure img { width: 100%; border-radius: 2px; }
  .prose figure.is-stretched { margin-inline: calc(-1 * (100% / 7 * 4 / 7)); }
  .prose figure.is-bg { background: var(--ink-3); padding: 2rem; }
  .prose figure.is-border img { border: 1px solid var(--rule); }
  .prose figcaption { margin-top: 0.8rem; font-size: var(--fs-xs); color: var(--fg-mute); }
  .prose .article-embed__frame { position: relative; aspect-ratio: 16 / 9; }
  .prose .article-embed__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .prose .article-delimiter { border: 0; text-align: center; height: 1em; }
  .prose .article-delimiter::before { content: "＊ ＊ ＊"; color: var(--fg-mute); letter-spacing: 1em; }

  .article-tags { margin-top: 4rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
  .article-tags span { font-size: var(--fs-xs); padding: 0.4em 0.9em; background: var(--ink-3); border-radius: 999px; color: var(--fg-mute); }
  .article-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
  .article-nav a { display: grid; gap: 0.6rem; padding: 2.4rem var(--pad-x); transition: background 0.4s; }
  .article-nav a:hover { background: var(--ink-2); }
  .article-nav a + a, .article-nav span + a { border-left: 1px solid var(--rule); text-align: right; }
  .article-nav b { font-size: var(--fs-sm); font-weight: 500; line-height: 1.7; }
  .preview-bar { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); z-index: 9600; background: var(--shu); color: var(--paper); padding: 0.7rem 1.4rem; border-radius: 999px; font-size: var(--fs-sm); box-shadow: 0 10px 30px rgb(0 0 0 / 0.4); display: flex; gap: 1rem; align-items: center; }
  .preview-bar a { text-decoration: underline; }

  /* ======================= LISTS ======================= */
  .card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) var(--gap); }
  .works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 7vw, 110px) var(--gap); }
  .works-grid .work-card { grid-column: auto !important; margin-top: 0 !important; }
  .works-grid .work-card:nth-child(even) { transform: translateY(clamp(40px, 8vw, 140px)); }
  .empty-state { padding: 5rem 2rem; text-align: center; color: var(--fg-mute); border: 1px dashed var(--rule); }

  /* ======================= ABOUT ======================= */
  .about-message { max-width: 860px; margin-inline: auto; }
  .about-message__body { width: 100%; }
  .about-message__lead { font-family: var(--font-mincho); font-size: clamp(1.8rem, 1rem + 2.8vw, 3.4rem); font-weight: 500; line-height: 1.65; letter-spacing: 0.08em; }
  .about-message__text { margin-top: 3rem; }
  .about-message__text p { line-height: 2.3; color: var(--paper-2); }
  .about-message__text p + p { margin-top: 1.8em; }
  .is-light .about-message__text p { color: var(--ink); }
  .about-message__sign { margin-top: 3rem; text-align: right; }
  .about-message__sign small { display: block; font-size: var(--fs-sm); color: var(--fg-mute); letter-spacing: 0.2em; }
  .about-message__sign b { font-family: var(--font-mincho); font-size: var(--fs-xl); font-weight: 700; letter-spacing: 0.3em; }
  .about-name { display: block; margin-top: 0.3rem; }

  .values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
  .values li { padding: 2.6rem clamp(1rem, 2vw, 2.4rem) 2.6rem 0; }
  .values li + li { padding-left: clamp(1rem, 2vw, 2.4rem); border-left: 1px solid var(--rule); }
  .values__ja { font-family: var(--font-mincho); font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.1; }
  .values__en { margin-top: 0.8rem; }
  .values p { margin-top: 1.4rem; font-size: var(--fs-sm); line-height: 2; color: var(--fg-mute); }

  .company-table { border-top: 1px solid var(--rule); }
  .company-table div { display: grid; grid-template-columns: 12rem 1fr; gap: var(--gap); padding-block: 1.6rem; border-bottom: 1px solid var(--rule); }
  .company-table dt { font-size: var(--fs-sm); color: var(--fg-mute); letter-spacing: 0.14em; }
  .company-table dd { line-height: 2; white-space: pre-line; }

  /* ======================= FLOW PAGE ======================= */
  .flow-steps { position: relative; }
  .flow-steps::before { content: ""; position: absolute; left: calc(4.5rem / 2); top: 0; bottom: 0; width: 1px; background: var(--rule); }
  .flow-steps__fill { position: absolute; left: calc(4.5rem / 2); top: 0; width: 1px; height: 100%; background: var(--shu); transform-origin: top; transform: scaleY(0); }
  .flow-step { position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); padding-block: clamp(2.4rem, 4vw, 4rem); }
  .flow-step__dot { width: 4.5rem; height: 4.5rem; border-radius: 50%; border: 1px solid var(--rule); background: var(--bg); display: grid; place-items: center; font-family: var(--font-en); font-weight: 600; font-size: var(--fs-sm); transition: background 0.5s, color 0.5s, border-color 0.5s; position: relative; z-index: 1; }
  .flow-step.is-active .flow-step__dot { background: var(--shu); border-color: var(--shu); color: var(--paper); }
  .flow-step__head h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: 0.08em; line-height: 1.4; }
  .flow-step__head .t-label { margin-bottom: 0.6rem; }
  .flow-step__body { color: var(--fg-mute); line-height: 2.1; }
  .flow-step__note { display: inline-block; margin-top: 1rem; font-size: var(--fs-xs); padding: 0.4em 0.9em; border: 1px solid var(--rule); border-radius: 999px; color: var(--fg); letter-spacing: 0.1em; }
  .faq-group + .faq-group { margin-top: clamp(56px, 7vw, 96px); }
  .faq-group__title { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.6rem; font-size: var(--fs-lg); font-weight: 700; letter-spacing: 0.1em; }

  /* ======================= CONTACT ======================= */
  .contact-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
  .contact-form-wrap { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(28px, 4vw, 52px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03); }
  .contact-form-head { margin-bottom: 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule); }
  .contact-form-head h2 { font-size: var(--fs-xl); font-weight: 700; margin-block: 0.6rem; letter-spacing: 0.04em; color: var(--fg); }
  .contact-form-lead { color: var(--fg-mute); font-size: var(--fs-sm); line-height: 1.9; }

  .c-form { display: grid; gap: 1.6rem; }
  .c-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .c-form__field { display: grid; gap: 0.6rem; font-size: var(--fs-sm); }
  .c-form__label { font-weight: 600; display: flex; align-items: center; gap: 0.6rem; color: var(--fg); }
  .c-form__field input,
  .c-form__field select,
  .c-form__field textarea {
    width: 100%; border: 1px solid rgba(17, 17, 20, 0.16); border-radius: 6px;
    background: #ffffff; color: var(--fg); padding: 12px 14px; font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }
  .c-form__field input:focus,
  .c-form__field select:focus,
  .c-form__field textarea:focus {
    border-color: var(--shu); outline: none; box-shadow: 0 0 0 3px rgba(14, 86, 197, 0.14);
  }
  .c-form__err { color: var(--shu); font-size: 12px; margin-top: 4px; }
  .c-form-alert { background: #fee2e2; border-left: 4px solid var(--shu); padding: 14px 18px; border-radius: 6px; margin-bottom: 1.6rem; font-size: 13px; color: #991b1b; }
  .c-form-alert ul { margin-top: 6px; padding-left: 1.2em; list-style: disc; }
  .c-form__privacy { font-size: 12px; color: var(--fg-mute); line-height: 1.8; }
  .c-form__submit { margin-top: 0.6rem; }

  .c-badge { display: inline-flex; align-items: center; font-size: 10px; font-weight: 600; padding: 2px 6px; border-radius: 3px; background: rgba(17, 17, 20, 0.06); color: var(--fg-mute); }
  .c-badge--req { background: rgba(14, 86, 197, 0.14); color: var(--shu); font-weight: 700; }

  .c-sent-box { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px); text-align: center; max-width: 820px; margin-inline: auto; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04); }
  .c-sent-box__badge { display: inline-block; padding: 4px 14px; border-radius: 99px; background: #e3efe6; color: #2f7d4f; font-weight: 700; font-size: 12px; margin-bottom: 1rem; }
  .c-sent-box__title { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 1.4rem; letter-spacing: 0.04em; color: var(--fg); }
  .c-sent-box__text { color: var(--fg-mute); line-height: 2.2; font-size: var(--fs-sm); max-width: 44em; margin-inline: auto; margin-bottom: 2.4rem; }

  .contact-aside { display: grid; gap: 20px; }
  .contact-aside__box { background: #ffffff; border: 1px solid var(--rule); border-radius: 12px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02); }
  .contact-aside__box h3 { font-size: var(--fs-md); font-weight: 700; margin-block: 0.4rem; color: var(--fg); }
  .contact-aside__lead { font-size: 13px; color: var(--fg-mute); margin-bottom: 1.4rem; }
  .contact-method { padding-top: 1.4rem; border-top: 1px dashed var(--rule); display: grid; gap: 0.5rem; }
  .contact-method:first-of-type { border-top: 0; padding-top: 0; }
  .contact-method__head { display: flex; align-items: center; gap: 8px; }
  .contact-method__badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: #06c755; color: #ffffff; }
  .contact-method__badge--google { background: #4285f4; color: #ffffff; }
  .contact-method__badge--mail { background: var(--fg); color: #ffffff; }
  .contact-method h4 { font-size: 14px; font-weight: 700; margin: 0; color: var(--fg); }
  .contact-method p { font-size: 12px; color: var(--fg-mute); line-height: 1.7; margin-bottom: 0.4rem; }

  .contact-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 80px); }
  .contact-notes li { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
  .contact-notes b { display: block; font-size: var(--fs-md); margin-bottom: 0.6rem; color: var(--fg); }
  .contact-notes span { color: var(--fg-mute); font-size: var(--fs-sm); line-height: 2; }

  /* ======================= 404 ======================= */
  .nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--header-h) var(--pad-x) 4rem; }
  .nf__code { font-family: var(--font-en); font-weight: 700; font-stretch: 62%; font-size: clamp(8rem, 30vw, 24rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px var(--paper); }
  .nf p { margin-block: 2rem 3rem; color: var(--fg-mute); }
}

/* -------------------------------------------------------------------------- */
@layer utilities {
  .u-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .u-mt-lg { margin-top: clamp(48px, 6vw, 96px); }
  .u-center { text-align: center; }
  .u-pc { display: initial; }
  .u-sp { display: none; }

  /* Reveal initial states (only when JS + motion are available). */
  .js-motion [data-reveal] { opacity: 0; transform: translateY(40px); }
  .js-motion [data-reveal="fade"] { transform: none; }
  .js-motion [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
  .js-motion [data-split] { visibility: hidden; }
  .js-motion [data-split].is-split { visibility: visible; }
  .split-mask { overflow: clip; display: block; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .gnav__list { display: none; }
  .menu-btn { display: block; }
  .gnav .c-btn { display: none; }
  .svc-item__link { grid-template-columns: 3.5rem minmax(0, 1fr) 3rem; }
  .svc-item__desc, .svc-item__cat { display: none; }
  .c-row { grid-template-columns: 7rem 1fr 2.5rem; }
  .c-row__type, .c-row__thumb { display: none; }
  .flow-line { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 3rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { min-height: 0; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hero__visual { left: var(--pad-x); right: var(--pad-x); width: auto; top: calc(var(--header-h) + 2vh); bottom: 38%; }
  .hero__visual::after { background: linear-gradient(0deg, rgba(252, 251, 249, 0.96), transparent 60%); }
  .hero__stage { align-items: end; padding-bottom: 2rem; }
  .hero__copy { grid-column: 1 / -1; padding-left: 0; }
  .hero__vertical { display: none; }
  .hero__caption { display: none; }
  .c-head { display: block; }
  .c-head__meta { margin-bottom: 1.4rem; }
  .statement__label, .statement__body, .statement__note, .statement__cta { grid-column: 1 / -1; position: static; }
  .statement__label { margin-bottom: 2rem; }
  .statement__cta { justify-self: start; margin-top: 2rem; }
  .strengths__pin { height: auto; display: block; padding-block: 3rem var(--section-y); }
  .strengths__track { flex-direction: column; gap: 5rem; }
  .strength { width: 100%; grid-template-columns: 1fr; }
  .strength__media { aspect-ratio: 4 / 3; }
  .strengths__progress { display: none; }
  .work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .page-hero__title, .page-hero__lead { grid-column: 1 / -1; }
  .page-hero__lead { margin-top: 1.4rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card:nth-child(even) { margin-top: 0; }
  .svc-hero__no, .svc-hero__head { grid-column: 1 / -1; }
  .svc-hero__head { margin-top: 1.4rem; }
  .svc-block__label, .svc-block__body { grid-column: 1 / -1; }
  .svc-block__label { margin-bottom: 1.6rem; }
  .problem-list { grid-template-columns: 1fr; }
  .offer-list li { grid-template-columns: 3rem 1fr; }
  .offer-list p { grid-column: 2; }
  .point-list { grid-template-columns: 1fr; }
  .intent-grid { grid-template-columns: 1fr; }
  .area-box__inner { grid-template-columns: 1fr; }
  .area-box__tags { flex-direction: row; flex-wrap: wrap; }
  .article-aside { grid-column: 1 / -1; margin-bottom: 3rem; }
  .article-aside__inner { position: static; }
  .toc { display: none; }
  .prose { grid-column: 1 / -1; }
  .prose figure.is-stretched { margin-inline: 0; }
  .article-hero__media { aspect-ratio: auto; }
  .works-grid { grid-template-columns: 1fr; }
  .works-grid .work-card:nth-child(even) { transform: none; }
  .about-message__body { position: static; }
  .values { grid-template-columns: 1fr; }
  .values li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .company-table div { grid-template-columns: 1fr; gap: 0.4rem; }
  .flow-step { grid-template-columns: 4.5rem 1fr; }
  .flow-step__body { grid-column: 2; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-notes { grid-template-columns: 1fr; }
  .site-footer__about, .site-footer__nav, .site-footer__contact { grid-column: 1 / -1; }
  .u-pc { display: none; }
  .u-sp { display: initial; }
}

@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
  .flow-line { grid-template-columns: 1fr 1fr; }
  .hero__title .split-line + .split-line { padding-left: 0; }
  .hero__foot { padding-bottom: 1rem; }
  .hero__scroll { display: none; }
  .c-form__row { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a + a, .article-nav span + a { border-left: 0; border-top: 1px solid var(--rule); }
  .c-faq__q, .c-faq__a { grid-template-columns: 2rem 1fr 1.4rem; }
  .journal-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Reduced motion - keep subtle motion enabled for design fidelity
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  @view-transition { navigation: none; }
}
