/* =========================================================
   Shido 2026 renewal — prototype stylesheet
   Monotone: ink #3C3F3E (logo color) / paper / mist
   ========================================================= */
:root {
  --ink: #3C3F3E;
  --ink-deep: #313433;
  --ink-card: #494C4B;
  --ink-card-2: #545756;
  --paper: #FFFFFF;
  --mist: #F2F2F1;
  --mist-2: #E6E7E6;
  --text: #3C3F3E;
  --muted: #7A7D7C;
  --on-dark: #FFFFFF;
  --on-dark-muted: #B9BCBB;
  --line: rgba(60, 63, 62, .12);
  --line-dark: rgba(255, 255, 255, .12);

  --f-en: "Jost", "Noto Sans JP", sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --header-h: 76px;
  --radius: 14px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.u-inner { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-pc { display: inline; }
@media (max-width: 767px) { .u-pc { display: none; } }

/* ---------- section surfaces + grid lines ---------- */
.s { position: relative; padding-block: clamp(88px, 12vw, 176px); isolation: isolate; }
.s--dark { background: var(--ink); color: var(--on-dark); }
.s--deep { background: var(--ink-deep); color: var(--on-dark); }
.s--mist { background: var(--mist); }
.s--grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  --gl: var(--line);
  background-image:
    linear-gradient(to right, var(--gl) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--max)) - var(--gutter) * 2) / 4) 100%;
  background-position: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 0;
  background-repeat: repeat-x;
}
.s--dark.s--grid::before, .s--deep.s--grid::before { --gl: var(--line-dark); }
@media (max-width: 767px) {
  .s--grid::before { background-size: calc((100vw - var(--gutter) * 2) / 2) 100%; }
}

/* ---------- crosshair mark (from the logo) ---------- */
.c-cross { position: relative; display: inline-block; width: 11px; height: 11px; flex: none; }
.c-cross::before, .c-cross::after { content: ""; position: absolute; background: currentColor; }
.c-cross::before { left: 0; right: 0; top: 50%; height: 1px; transform: translateY(-50%); }
.c-cross::after { top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); }

/* ---------- typography components ---------- */
.c-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
}
.c-num { font-family: var(--f-en); font-size: 13px; letter-spacing: .12em; color: var(--muted); white-space: nowrap; }
.s--dark .c-num, .s--deep .c-num { color: var(--on-dark-muted); }
.c-display {
  font-family: var(--f-en); font-weight: 500; line-height: .92; letter-spacing: -.02em; text-transform: uppercase;
  font-size: clamp(56px, 11.2vw, 176px);
}
.c-h2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; line-height: 1.6; letter-spacing: .06em; }
.c-h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; line-height: 1.7; }
.c-lead { font-size: clamp(15px, 1.2vw, 16px); line-height: 2.2; }
.c-lead p + p { margin-top: 1.2em; }
.c-muted { color: var(--muted); }
.s--dark .c-muted, .s--deep .c-muted { color: var(--on-dark-muted); }

/* section head: big EN + small JA */
.c-head { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 88px); }
.c-head__en { font-family: var(--f-en); font-weight: 500; font-size: clamp(44px, 7vw, 104px); line-height: .95; letter-spacing: -.015em; text-transform: uppercase; }
.c-head__ja { font-size: 14px; font-weight: 500; letter-spacing: .12em; }

/* two column: label / body (contenna style) */
.c-split { display: grid; grid-template-columns: 1fr 3fr; gap: 40px var(--gutter); }
.c-split > :first-child { padding-top: .6em; align-self: start; }
@media (max-width: 900px) { .c-split { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.c-arrow {
  display: inline-flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 700; letter-spacing: .08em;
}
.c-arrow__circle {
  position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; flex: none;
  display: grid; place-items: center; overflow: hidden; transition: background .4s var(--ease), color .4s var(--ease);
}
.c-arrow__circle::before {
  content: ""; width: 14px; height: 10px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s var(--ease);
}
.c-arrow:hover .c-arrow__circle { background: var(--text); color: var(--paper); border-color: var(--text); }
.s--dark .c-arrow:hover .c-arrow__circle, .s--deep .c-arrow:hover .c-arrow__circle { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.c-arrow:hover .c-arrow__circle::before { transform: translateX(3px); }

.c-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 22px; border-radius: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  transition: background .3s, color .3s, border-color .3s;
}
.c-pill--dark { background: var(--ink-card); color: var(--on-dark); border: 1px solid var(--ink-card); }
.c-pill--light { background: var(--paper); color: var(--ink); border: 1px solid var(--paper); }
.c-pill--dark:hover { background: var(--ink-card-2); }
.c-pill--light:hover { background: var(--mist-2); }

/* ---------- rolling label (EN -> JA on hover) ---------- */
.c-roll { display: inline-grid; overflow: hidden; height: 1.5em; line-height: 1.5em; vertical-align: top; perspective: 400px; white-space: nowrap; text-align: center; }
.c-roll i { grid-area: 1 / 1; display: block; font-style: normal; transition: transform .6s cubic-bezier(.165, .84, .44, 1), opacity .4s; backface-visibility: hidden; }
.c-roll i:first-child { font-family: var(--f-en); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; transform-origin: 50% 0; }
.c-roll i:last-child { transform: translateY(100%) rotateX(-60deg); opacity: 0; transform-origin: 50% 100%; }
a:hover .c-roll i:first-child, a:focus-visible .c-roll i:first-child { transform: translateY(-100%) rotateX(60deg); opacity: 0; }
a:hover .c-roll i:last-child, a:focus-visible .c-roll i:last-child { transform: none; opacity: 1; }

/* ---------- header ---------- */
.l-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter); color: var(--on-dark);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.l-header__logo { width: 150px; flex: none; }
.l-header__logo img { width: 100%; }
.l-header__logo .is-black { display: none; }
.l-header.is-light { background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.l-header.is-light .l-header__logo .is-white { display: none; }
.l-header.is-light .l-header__logo .is-black { display: block; }
.l-header.is-scrolled:not(.is-light) { background: rgba(60, 63, 62, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.l-header.is-light .c-pill--light { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.l-header.is-light .c-pill--dark { background: var(--paper); color: var(--ink); border-color: var(--line); }

.l-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.l-nav__list { display: flex; gap: clamp(18px, 2vw, 32px); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.l-nav__list a { position: relative; padding-block: 6px; }
.l-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.l-nav__list .c-roll { text-align: center; }
.l-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }
.l-nav__cta { display: flex; gap: 8px; }

.l-burger { display: none; width: 44px; height: 44px; position: relative; }
.l-burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.l-burger span:nth-child(1) { top: 17px; }
.l-burger span:nth-child(2) { top: 26px; }
body.is-menu-open .l-burger span:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
body.is-menu-open .l-burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); }

.l-drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--on-dark);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
body.is-menu-open { overflow: hidden; }
body.is-menu-open .l-drawer { opacity: 1; visibility: visible; }
body.is-menu-open .l-header { background: var(--ink); color: var(--on-dark); box-shadow: none; }
body.is-menu-open .l-header .is-white { display: block !important; }
body.is-menu-open .l-header .is-black { display: none !important; }
.l-drawer__list li { border-bottom: 1px solid var(--line-dark); }
.l-drawer__list a { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0; }
.l-drawer__list .en { font-family: var(--f-en); font-size: 28px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.l-drawer__list .ja { font-size: 12px; color: var(--on-dark-muted); }
.l-drawer__cta { display: grid; gap: 10px; margin-top: 32px; }
.l-drawer__cta .c-pill { height: 52px; }

@media (max-width: 1240px) {
  .l-nav__list { display: none; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .l-header__logo { width: 118px; }
  .l-nav__cta { display: none; }
  .l-burger { display: block; }
}
@media (min-width: 768px) and (max-width: 1240px) {
  .l-burger { display: block; }
}

/* ---------- mouse stalker ---------- */
.c-stalker {
  position: fixed; left: 0; top: 0; z-index: 99; pointer-events: none;
  width: 116px; height: 116px; border-radius: 50%;
  background: rgba(206, 206, 206, .28); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; text-align: center; padding: 8px;
  font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: .1em; line-height: 1.3; color: #fff;
  opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.9);
  transition: opacity .3s var(--ease), visibility .3s, transform .3s var(--ease), background .3s;
}
.c-stalker.is-on { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.c-stalker.is-dark { background: rgba(60, 63, 62, .32); }
@media (hover: none), (pointer: coarse) { .c-stalker { display: none; } }

/* ---------- reveal ---------- */
.js-reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); animation: shidoReveal 1s var(--ease) 1.4s forwards; }
.js-reveal.is-in { opacity: 1; transform: none; animation: none; }
@keyframes shidoReveal { to { opacity: 1; transform: none; } }
.js-reveal[data-delay="1"] { transition-delay: .1s; }
.js-reveal[data-delay="2"] { transition-delay: .2s; }
.js-reveal[data-delay="3"] { transition-delay: .3s; }
.c-mask-line { display: block; overflow: hidden; }
.c-mask-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease); animation: shidoMask 1.2s var(--ease) 1.4s forwards; }
.is-in .c-mask-line > span, .c-mask-line.is-in > span { animation: none; }
@keyframes shidoMask { to { transform: none; } }
.is-in .c-mask-line > span, .c-mask-line.is-in > span { transform: none; }
.c-mask-line:nth-child(2) > span { transition-delay: .08s; }
.c-mask-line:nth-child(3) > span { transition-delay: .16s; }
.c-mask-line:nth-child(4) > span { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal, .c-mask-line > span { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   TOP
   ========================================================= */
.p-fv__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.p-fv__bg img, .p-fv__bg video { width: 100%; height: 100%; object-fit: cover; }
.p-fv__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(60,63,62,.62) 0%, rgba(60,63,62,.42) 45%, rgba(49,52,51,.8) 100%); }
.p-fv.s--grid::before { z-index: -1; }
.p-fv { min-height: 100svh; padding: calc(var(--header-h) + 40px) 0 clamp(40px, 6vw, 72px); display: flex; flex-direction: column; justify-content: flex-end; }
.p-fv__inner { position: static; padding-top: 136px; }
.p-fv__catch {
  position: absolute; left: 0; top: calc(var(--header-h) + 40px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-size: clamp(13px, 1.05vw, 15px); font-weight: 700; letter-spacing: .16em; line-height: 1;
}
.p-fv__catch span { display: inline-block; background: var(--paper); color: var(--ink); padding: 9px 22px 9px var(--gutter); }
.p-fv__title { font-size: clamp(44px, min(10.6vw, 15vh), 168px); }
.p-fv__foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-top: clamp(24px, 3vw, 40px); }
.p-fv__sub { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; letter-spacing: .14em; }
.p-fv__scroll { font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; display: flex; align-items: center; gap: 12px; }
.p-fv__scroll i { width: 1px; height: 56px; background: var(--line-dark); position: relative; overflow: hidden; }
.p-fv__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--on-dark); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 767px) {
  .p-fv__inner { padding-top: 0; }
  .p-fv__catch { position: static; margin: 0 0 40px calc(-1 * var(--gutter)); font-size: 12px; letter-spacing: .12em; }
  .p-fv__catch span { padding: 8px 16px 8px var(--gutter); }
  .p-fv { justify-content: center; }
  .p-fv__scroll { display: none; }
}

/* about */
.p-about .c-h2 { margin-bottom: 40px; }
.p-about .c-lead { max-width: 40em; }
.p-about .c-arrow { margin-top: 48px; }
.p-about__big { margin-bottom: clamp(56px, 8vw, 120px); text-transform: none; }

/* business */
.p-biz__top { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 32px; margin-bottom: 48px; }
.c-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--mist); }
.c-tabs button { height: 40px; padding: 0 22px; border-radius: 999px; font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: .1em; transition: background .3s, color .3s; }
.c-tabs button[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }
.p-biz__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.p-biz__item { background: var(--paper); transition: opacity .4s; }
.p-biz__item[hidden] { display: none; }
.p-biz__link { display: flex; flex-direction: column; height: 100%; padding: 20px 20px 24px; }
.p-biz__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; margin-bottom: 22px; background: var(--mist); }
.p-biz__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-biz__link:hover .p-biz__img img { transform: scale(1.06); }
.p-biz__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.p-biz__ja { font-size: 17px; font-weight: 700; line-height: 1.6; }
.p-biz__en { font-family: var(--f-en); font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-top: 4px; }
.p-biz__go { margin-top: auto; padding-top: 20px; display: flex; justify-content: flex-end; }
.p-biz__go .c-arrow__circle { width: 40px; height: 40px; }
.p-biz__link:hover .c-arrow__circle { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 1080px) { .p-biz__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-biz__grid { grid-template-columns: 1fr; } }

/* works */
.p-works__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gutter); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
/* horizontal slider */
.c-slider { position: relative; }
.c-slider__track { display: flex; gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 8px; }
.c-slider__track::-webkit-scrollbar { display: none; }
.c-slider__item { flex: 0 0 clamp(280px, 38vw, 560px); scroll-snap-align: start; }
.c-slider__item a { display: block; }
.c-slider__nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 40px; }
.c-slider__bar { flex: 1; height: 1px; background: var(--line-dark); position: relative; }
.c-slider__bar i { position: absolute; left: 0; top: -1px; height: 3px; width: var(--w, 20%); transform: translateX(var(--x, 0)); background: var(--on-dark); transition: transform .3s var(--ease); }
.c-slider__btns { display: flex; gap: 10px; }
.c-slider__btn { width: 56px; height: 56px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.c-slider__btn::before { content: ""; width: 14px; height: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5 8.5 9' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-slider__btn--prev::before { transform: rotate(180deg); }
.c-slider__btn:hover { background: var(--paper); color: var(--ink); }
.c-slider__btn[disabled] { opacity: .3; pointer-events: none; }
.c-slider__item a:hover .p-works__thumb img { transform: scale(1.05); }
.p-works__top { margin-bottom: clamp(40px, 5vw, 64px); }
.p-works__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--ink-card); }
.p-works__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-works__item a:hover .p-works__thumb img { transform: scale(1.05); }
.p-works__play { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.p-works__play::before { content: ""; border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.p-works__cat { margin: 22px 0 6px; font-family: var(--f-en); font-size: 12px; letter-spacing: .14em; color: var(--on-dark-muted); text-transform: uppercase; }
.p-works__client { font-size: 13px; color: var(--on-dark-muted); }
.p-works__title { font-size: clamp(16px, 1.4vw, 19px); font-weight: 700; line-height: 1.7; margin-top: 4px; }
@media (max-width: 767px) {
  .p-works__top { grid-template-columns: 1fr; }
  .c-slider__item { flex-basis: 78vw; }
  .c-slider__btn { width: 48px; height: 48px; }
}

/* contents (stacking cards) */
.p-cnt__wrap { display: grid; grid-template-columns: 1fr 1.35fr; gap: var(--gutter); align-items: start; }
.p-cnt__side { position: sticky; top: calc(var(--header-h) + 48px); }
.p-cnt__side .c-lead { max-width: 24em; }
.p-cnt__cards { display: grid; gap: 32px; }
.p-cnt__card { position: sticky; top: calc(var(--header-h) + 48px + var(--i, 0) * 24px); }
.p-cnt__card a {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 380px;
  background: var(--ink); color: var(--on-dark); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .12);
}
.p-cnt__card:nth-child(2) a { background: #454847; }
.p-cnt__card:nth-child(3) a { background: #4E5150; }
.p-cnt__img { overflow: hidden; }
.p-cnt__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-cnt__card a:hover .p-cnt__img img { transform: scale(1.05); }
.p-cnt__body { display: flex; flex-direction: column; padding: clamp(28px, 3.4vw, 48px); }
.p-cnt__name { font-family: var(--f-en); font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.01em; margin-top: 18px; }
.p-cnt__copy { margin-top: 18px; font-size: 16px; font-weight: 700; line-height: 1.7; }
.p-cnt__tag { display: inline-block; align-self: flex-start; margin-top: 14px; font-size: 12px; padding: 2px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: var(--on-dark-muted); }
.p-cnt__body .c-arrow { margin-top: auto; padding-top: 28px; align-self: flex-end; }
.p-cnt__card a:hover .c-arrow__circle { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 900px) {
  .p-cnt__wrap { grid-template-columns: 1fr; }
  .p-cnt__side { position: static; margin-bottom: 8px; }
  .p-cnt__card a { grid-template-columns: 1fr; min-height: 0; }
  .p-cnt__img { aspect-ratio: 1034 / 500; }
}

/* reports */
.p-rep__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.p-rep__card a { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius); padding: 28px 24px 24px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.p-rep__card a:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(60, 63, 62, .10); }
.p-rep__area { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.p-rep__key { margin: 28px 0 4px; font-family: var(--f-en); font-size: clamp(44px, 4.4vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.p-rep__key small { font-family: var(--f-ja); font-size: 15px; font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.p-rep__keycap { font-size: 12px; color: var(--muted); line-height: 1.7; }
.p-rep__title { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 700; line-height: 1.7; }
.p-rep__go { margin-top: auto; padding-top: 24px; font-family: var(--f-en); font-size: 12px; letter-spacing: .14em; display: flex; justify-content: space-between; align-items: center; }
.p-rep__foot { margin-top: 56px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center; }
@media (max-width: 1080px) { .p-rep__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .p-rep__grid { grid-template-columns: 1fr; } }

/* news */
.p-news__list li a { display: grid; grid-template-columns: 140px 140px 1fr auto; gap: 16px 32px; align-items: center; padding: 28px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease); }
.p-news__list li:last-child a { border-bottom: 1px solid var(--line); }
.p-news__list li a:hover { padding-left: 12px; }
.p-news__date { font-family: var(--f-en); font-size: 14px; letter-spacing: .08em; }
.p-news__cat { font-size: 12px; justify-self: start; padding: 2px 12px; border: 1px solid var(--line); border-radius: 999px; }
.p-news__title { font-weight: 700; line-height: 1.8; }
.p-news__list .c-arrow__circle { width: 40px; height: 40px; }
@media (max-width: 767px) {
  .p-news__list li a { grid-template-columns: auto 1fr auto; }
  .p-news__title { grid-column: 1 / -1; grid-row: 2; }
  .p-news__list .c-arrow { grid-row: 1; grid-column: 3; }
}

/* cta */
.c-cta { display: grid; grid-template-columns: 1fr; gap: 16px; }
.c-cta__box { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); background: var(--ink-card); overflow: hidden; }
.c-cta__box--light { background: var(--paper); color: var(--ink); }
.c-cta__box--light .c-cta__text { max-width: 40em; }
.c-cta__box .c-label { margin-bottom: 20px; }
.c-cta__en { font-family: var(--f-en); font-size: clamp(40px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.c-cta__ja { margin-top: 14px; font-size: 16px; font-weight: 700; }
.c-cta__text { margin-top: 20px; font-size: 14px; line-height: 2; max-width: 30em; opacity: .85; }
.c-cta__box .c-arrow { margin-top: auto; padding-top: 40px; align-self: flex-end; }
.c-cta__box .c-arrow__circle { width: 72px; height: 72px; }
.c-cta__box:hover .c-arrow__circle { background: currentColor; }
.c-cta__box:hover .c-arrow__circle::before { background: var(--ink-card); }
.c-cta__box--light:hover .c-arrow__circle::before { background: var(--paper); }
@media (max-width: 767px) { .c-cta__box { min-height: 300px; } }

/* footer */
.l-footer { background: var(--ink-deep); color: var(--on-dark); padding: clamp(72px, 9vw, 120px) 0 32px; position: relative; overflow: hidden; }
.l-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px var(--gutter); padding-bottom: 72px; border-bottom: 1px solid var(--line-dark); }
.l-footer__logo { width: 200px; }
.l-footer__addr { margin-top: 28px; font-size: 13px; line-height: 2; color: var(--on-dark-muted); font-style: normal; }
.l-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.l-footer__nav h4 { font-family: var(--f-en); font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.l-footer__nav h4 a { display: inline-flex; align-items: center; gap: 10px; transition: opacity .3s; }
.l-footer__nav h4 a:hover { opacity: .7; }
.l-footer__nav li a { display: inline-block; font-size: 13px; line-height: 2.3; color: var(--on-dark-muted); transition: color .3s; }
.l-footer__nav li a:hover { color: var(--on-dark); }
.l-footer__big { font-family: var(--f-en); font-weight: 400; font-size: clamp(96px, 24vw, 380px); line-height: .8; letter-spacing: -.03em; color: rgba(255,255,255,.06); margin: 48px 0 0 -0.04em; white-space: nowrap; user-select: none; }
.l-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 24px; font-size: 12px; color: var(--on-dark-muted); }
.l-footer__bottom a:hover { color: var(--on-dark); }
@media (max-width: 900px) {
  .l-footer__top { grid-template-columns: 1fr; }
  .l-footer__nav { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   LOWER PAGES
   ========================================================= */
.p-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 140px)) 0 clamp(48px, 6vw, 80px); }
.p-hero__crumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--on-dark-muted); margin-bottom: clamp(40px, 6vw, 80px); }
.p-hero__crumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.p-hero__crumb a:hover { color: var(--on-dark); }
.p-hero__title { font-size: clamp(56px, 12vw, 190px); }
.p-hero__ja { display: flex; align-items: center; gap: 12px; margin-top: 28px; font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; letter-spacing: .12em; }
.p-hero__visual { margin-top: clamp(48px, 7vw, 96px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; }
.p-hero__visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--hs, 1.12)); transform-origin: center; will-change: transform; }
@media (max-width: 767px) { .p-hero__visual { aspect-ratio: 4 / 3; } }

/* intro */
.p-intro__title { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; line-height: 1.7; }
.p-intro__sub { margin-top: 20px; font-size: 15px; color: var(--muted); line-height: 1.9; }
.p-intro__body { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 4vw, 64px); align-items: center; }
.p-intro__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.p-intro__img img { width: 100%; height: 100%; object-fit: cover; }
.p-intro__quote { margin: 1.4em 0; padding: 18px 0 18px 24px; border-left: 1px solid var(--ink); font-size: clamp(17px, 1.6vw, 20px); font-weight: 700; line-height: 1.8; }
@media (max-width: 900px) { .p-intro__body { grid-template-columns: 1fr; } }

/* gallery (works) */
.p-gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.p-gallery__item { position: relative; border-radius: 10px; overflow: hidden; background: var(--ink-card); cursor: zoom-in; }
.p-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .4s; }
.p-gallery__item:hover img { transform: scale(1.04); }
.p-gallery__item:nth-child(6n+1) { grid-column: span 7; aspect-ratio: 7 / 4.2; }
.p-gallery__item:nth-child(6n+2) { grid-column: span 5; aspect-ratio: 5 / 4.2; }
.p-gallery__item:nth-child(6n+3), .p-gallery__item:nth-child(6n+4), .p-gallery__item:nth-child(6n+5) { grid-column: span 4; aspect-ratio: 1 / 1; }
.p-gallery__item:nth-child(6n+6) { grid-column: span 12; aspect-ratio: 21 / 8; }
@media (max-width: 767px) {
  .p-gallery { grid-template-columns: 1fr 1fr; }
  .p-gallery__item:nth-child(n) { grid-column: span 1; aspect-ratio: 1 / 1; }
  .p-gallery__item:nth-child(3n+1) { grid-column: span 2; aspect-ratio: 16 / 10; }
}
.c-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(30, 32, 31, .94); display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.c-lightbox.is-open { opacity: 1; visibility: visible; }
.c-lightbox img { max-height: 88vh; width: auto; border-radius: 8px; }
.c-lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; color: #fff; font-size: 28px; line-height: 1; }

/* service */
.p-svc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-svc__card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.p-svc__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.p-svc__img img { width: 100%; height: 100%; object-fit: cover; }
.p-svc__body { padding: 28px 28px 32px; }
.p-svc__en { font-family: var(--f-en); font-size: 13px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.p-svc__body .c-h3 { margin: 6px 0 20px; }
.p-svc__list li { position: relative; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.p-svc__list li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
@media (max-width: 900px) { .p-svc__grid { grid-template-columns: 1fr; } }

/* approach */
.p-appr__list { counter-reset: appr; }
.p-appr__item { display: grid; grid-template-columns: 1fr 1.2fr 2fr; gap: 24px var(--gutter); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line-dark); align-items: start; }
.p-appr__item:last-child { border-bottom: 1px solid var(--line-dark); }
.p-appr__num { font-family: var(--f-en); font-size: clamp(56px, 7vw, 104px); font-weight: 400; line-height: .9; letter-spacing: -.02em; color: var(--on-dark-muted); }
.p-appr__item .c-h3 { padding-top: .4em; }
.p-appr__desc { padding-top: .5em; color: var(--on-dark-muted); line-height: 2.1; }
@media (max-width: 900px) { .p-appr__item { grid-template-columns: 1fr; gap: 12px; } .p-appr__item .c-h3, .p-appr__desc { padding-top: 0; } }

/* other business (horizontal scroll) */
.p-other__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; scrollbar-width: thin; }
.p-other__rail > li { scroll-snap-align: start; }
.p-other__rail a { display: block; }
.p-other__img { aspect-ratio: 960 / 400; border-radius: 10px; overflow: hidden; background: var(--mist); }
.p-other__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.p-other__rail a:hover img { transform: scale(1.05); }
.p-other__name { margin-top: 16px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.p-other__en { font-family: var(--f-en); font-size: 12px; letter-spacing: .1em; color: var(--muted); }
