/* MONKEYWORKS — site.css
   C/HYBRID：オフホワイト × 黒、細い罫線、大きな欧文タイポグラフィ。
   トップ＝雑誌の表紙、本文＝雑誌の本文。PC 非対称2列／スマホ1列。 */

@font-face {
  font-family: "Archivo MW";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #faf9f6;
  --ink: #181818;
  --ink-2: #4b4943;   /* 本文補助  8.6:1 */
  --ink-3: #66645d;   /* 小ラベル  5.7:1 */
  --rule-soft: #d7d4cb;
  --ground: #ecebe5;  /* 画像の地 */
  --alert: #b0281c;

  --latin: "Archivo MW", "Helvetica Neue", Arial, sans-serif;
  --ja: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic Medium", "YuGothic", Meiryo, sans-serif;

  --pad: clamp(20px, 4.4vw, 72px);
  --gut: clamp(16px, 2.2vw, 36px);
  --maxw: 1560px;
  --mast-h: 64px;
  --fade: 1200ms;
  --focus: var(--ink);
}
@media (max-width: 900px) { :root { --mast-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--mast-h) + 16px);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo MW", var(--ja); /* 欧文は Archivo、和文はシステムのゴシック */
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  line-break: strict;
}
[hidden]:not(.backtop) { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.28em; text-decoration-thickness: 1px; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
main:focus { outline: none; }

.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- review bar (review build only) */
.reviewbar {
  background: #2b2a27; color: #f2f0ea; font-size: 12px; line-height: 1.5;
  letter-spacing: 0.06em; padding: 8px var(--pad);
}

/* ---------------------------------------------------------------- masthead */
.mast {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.mast__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: var(--mast-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mast__logo { display: block; color: var(--ink); padding: 8px 0; }
.mast__logo .logo { width: 138px; height: auto; }
.nav ul { display: flex; gap: clamp(16px, 2vw, 32px); }
.nav a {
  display: block; padding: 10px 0;
  font-family: var(--latin); font-size: 12.5px; font-weight: 600; letter-spacing: 0.07em;
  text-decoration: none; white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat;
  transition: background-size .25s ease;
}
.nav a:hover, .nav a[aria-current="true"] { background-size: 100% 1px; }
.mast__menu { display: none; }

@media (max-width: 900px) {
  .mast__logo .logo { width: 122px; }
  .mast__menu {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 0 0 12px; margin-right: -4px;
    background: none; border: 0;
    font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  }
  .mast__burger { position: relative; width: 22px; height: 12px; }
  .mast__burger::before, .mast__burger::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
    transition: transform .25s ease, top .25s ease;
  }
  .mast__burger::before { top: 0; }
  .mast__burger::after { top: 10.5px; }
  .mast__menu[aria-expanded="true"] .mast__burger::before { top: 5px; transform: rotate(45deg); }
  .mast__menu[aria-expanded="true"] .mast__burger::after { top: 5px; transform: rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--ink);
    padding: 8px var(--pad) 28px;
    max-height: calc(100svh - var(--mast-h)); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li + li { border-top: 1px solid var(--rule-soft); }
  .nav a {
    padding: 14px 0; font-size: 26px; font-weight: 800; font-stretch: 92%;
    letter-spacing: -0.02em; background: none;
  }
}

/* ---------------------------------------------------------------- HERO / cover */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  height: calc(100svh - var(--mast-h));
  min-height: 600px; max-height: 1180px;
  background: #2b2b29; color: #fff;
  --focus: #fff;
}
.hero__slides { position: absolute; inset: 0; z-index: -1; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity var(--fade) ease-in-out;
}
.hero__slide.is-active { opacity: 1; }
/* 表示中はごくゆっくり寄る（変化を感じさせる程度）。消えてから元の大きさに戻す */
.hero__slide img { transform: scale(1); transition: transform 0s linear var(--fade); }
.hero__slide.is-active img { transform: scale(1.05); transition: transform calc(var(--interval, 6000ms) + var(--fade)) linear; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; object-position: var(--pos, 50% 50%); }

.hero__cover {
  position: absolute; left: 0; bottom: 0;
  width: min(48vw, 760px); /* 写真を見せるため小さめに（12/4 D案） */
  padding: clamp(24px, 3vw, 52px) clamp(24px, 3.4vw, 60px) clamp(30px, 3.4vw, 60px);
  background: var(--tone, #c64630);
  transition: background-color var(--fade) ease-in-out;
}
/* 明るい色面（黄色など）では文字を黒に */
.hero__cover { transition: background-color var(--fade) ease-in-out, color var(--fade) ease-in-out; }
.hero__cover[data-ink="dark"] { color: #181818; }
.hero__eyebrow {
  font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; line-height: 1.4;
  margin-bottom: clamp(16px, 1.8vw, 28px);
}
.hero__logo { margin: 0; line-height: 0; }
.hero__logo-svg { width: 100%; height: auto; color: inherit; }
.hero__catch {
  margin: clamp(22px, 2.6vw, 40px) 0 clamp(10px, 1vw, 16px);
  font-family: var(--ja); font-weight: 700;
  font-size: clamp(26px, 3vw, 46px); line-height: 1.35; letter-spacing: 0.02em;
  font-feature-settings: "palt" 1;
}
/* 行頭の「 の左アキを詰める。palt の効き方が書体で違う（Hiragino・游ゴシックは半角になる）ため、
   この1字だけ全角に固定してから半角分を戻す＝どの環境でも左端が揃う */
.hero__q { font-feature-settings: normal; margin-left: -0.5em; }
.hero__lead { font-size: clamp(13.5px, 1.05vw, 16px); line-height: 1.95; }
/* 折り返すときは読点の切れ目で（行末に「す。」だけが落ちないように） */
@media (min-width: 721px) { .hero__lead .nobr { display: inline-block; } }
/* 語句の途中で改行しない（スマホで「伝え／たいこと」のように切れるのを防ぐ。12/6） */
.hero__lead .phrase { display: inline-block; }

.hero__controls {
  position: absolute; right: var(--pad); bottom: clamp(20px, 3vw, 48px);
  display: flex; align-items: stretch; gap: 4px;
}
.hero__count, .hero__btn {
  height: 44px; background: rgba(24, 24, 24, .88); color: #fff;
}
.hero__count {
  display: flex; align-items: center; padding: 0 14px;
  font-family: var(--latin); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.hero__btn {
  width: 44px; border: 0; padding: 0; display: grid; place-items: center;
  transition: background-color .2s ease;
}
.hero__btn:hover { background: #000; }
.hero__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.hero__btn .i-play { fill: currentColor; stroke: none; width: 15px; }
.hero__btn .i-play, .hero__btn[aria-pressed="true"] .i-pause { display: none; }
.hero__btn[aria-pressed="true"] .i-play { display: block; }

@media (max-width: 1100px) {
  .hero__cover { width: min(76vw, 760px); }
}
@media (max-width: 720px) {
  /* スマホ：写真は色面の上の枠だけに表示（色面の裏に隠さない）。写真はこの枠用に被写体を中央へ切り出し済み */
  .hero { min-height: 620px; max-height: none; display: flex; flex-direction: column; }
  .hero__slides { position: relative; inset: auto; flex: 1 1 auto; min-height: 260px; z-index: 0; }
  .hero__cover { position: relative; width: 100%; padding: 22px 20px 26px; }
  .hero__slide img { object-position: var(--pos-sp, var(--pos, 50% 50%)); }
  .hero__controls { top: 14px; right: 14px; bottom: auto; }
  .hero__catch { font-size: clamp(24px, 7vw, 30px); margin-top: 20px; }
  .hero__lead { font-size: 13.5px; line-height: 1.85; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__cover { transition: none; }
  .hero__slide img, .hero__slide.is-active img { transform: none; transition: none; }
}

/* ---------------------------------------------------------------- sections */
.sec {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(88px, 11vw, 184px) var(--pad) 0;
}
/* TOP 直後は写真の塊で区切られるため、他のセクション間より詰める（12/4 検証） */
.hero + .sec { padding-top: clamp(64px, 7.2vw, 120px); }
.sec__head {
  border-top: 1px solid var(--ink);
  padding-top: clamp(14px, 1.4vw, 22px);
  margin-bottom: clamp(48px, 6.4vw, 104px);
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px;
}
.display {
  font-family: var(--latin);
  font-weight: 800; font-stretch: 90%;
  font-size: clamp(48px, 9.6vw, 168px);
  line-height: 0.88; letter-spacing: -0.045em;
  margin-left: -0.04em;
}
.sec__label {
  flex: none; padding-top: 0.5em;
  font-family: var(--ja); font-size: 13px; letter-spacing: 0.1em; color: var(--ink-2);
}
@media (max-width: 720px) {
  .sec__head { flex-direction: column-reverse; }
  .sec__label { padding-top: 0; font-size: 12px; }
}

.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); }

.prose p + p { margin-top: 1.1em; }
.prose { color: var(--ink); }

/* WHAT WE DO -------------------------------------------------------- */
.svc__item {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  border-top: 1px solid var(--rule-soft);
  padding: clamp(28px, 3vw, 48px) 0;
}
.svc__item:last-child { border-bottom: 1px solid var(--rule-soft); }
.svc__no {
  grid-column: 1 / span 3;
  font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.4;
}
.svc__no span {
  display: block; margin-bottom: 10px;
  font-size: clamp(34px, 3.4vw, 52px); font-weight: 300; letter-spacing: -0.02em; line-height: 1;
}
.svc__title {
  grid-column: 4 / span 4;
  font-family: var(--ja); font-weight: 700; font-feature-settings: "palt" 1;
  font-size: clamp(22px, 2.1vw, 32px); line-height: 1.45; letter-spacing: 0.04em;
  padding-top: 4px;
}
.svc__body { grid-column: 8 / span 5; padding-top: 6px; }
.svc__ex {
  margin-top: 18px; padding-top: 14px; border-top: 1px dotted var(--rule-soft);
  font-size: 13px; line-height: 1.85; color: var(--ink-2);
}
@media (max-width: 900px) {
  .svc__no { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
  .svc__no span { margin: 0; font-size: 34px; }
  .svc__title, .svc__body { grid-column: 1 / -1; }
  .svc__title { margin-bottom: 12px; }
}

/* 線画アイコン（Lucide, ISC）：線幅は表示サイズに関係なく 1.5px で一定 */
.icon { display: block; flex: none; color: var(--ink); stroke-width: 1.5; overflow: visible; }
.icon > * { vector-effect: non-scaling-stroke; }
/* PC：番号の横に置き、番号の下端にそろえる */
.svc__no:has(.icon) { position: relative; --num: clamp(34px, 3.4vw, 52px); }
.icon--svc { position: absolute; left: calc(var(--num) * 1.2 + 28px); top: calc(var(--num) - 44px); width: 44px; height: 44px; }
@media (max-width: 900px) {
  .icon--svc { position: static; width: 40px; height: 40px; margin: 0 0 0 auto; align-self: center; }
}

/* split (HOW WE WORK / ABOUT / CONTACT) ------------------------------ */
.split {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 32px;
}
.split__lead, .split__aside { grid-column: 1 / span 5; }
.split__body { grid-column: 7 / span 6; }
.split__lead {
  font-family: var(--ja); font-weight: 700; font-feature-settings: "palt" 1;
  font-size: clamp(28px, 3.2vw, 50px); line-height: 1.45; letter-spacing: 0.03em;
}
/* PC：ABOUT・CONTACT の左列（見出し・案内）は、右の長い本文／フォームに沿って画面上部に留まる */
@media (min-width: 901px) {
  .split__aside { position: sticky; top: calc(var(--mast-h) + 40px); align-self: start; }
}
@media (max-width: 900px) {
  .split__lead, .split__aside, .split__body { grid-column: 1 / -1; }
  .br-pc { display: none; }
}

.process { margin-top: clamp(72px, 8vw, 128px); }
.process__title {
  font-family: var(--latin); font-weight: 800; font-stretch: 90%;
  font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -0.03em; line-height: 1;
  margin-bottom: clamp(24px, 2.6vw, 40px);
}
.process__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: var(--gut); }
.process__list li { border-top: 1px solid var(--ink); padding-top: 16px; }
.process__no {
  display: block; font-family: var(--latin); font-weight: 300;
  font-size: clamp(36px, 3.4vw, 54px); line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px;
}
.process__list b { display: block; font-family: var(--ja); font-size: 16px; line-height: 1.6; margin-bottom: 8px; }
.process__list p { font-size: 14px; line-height: 1.85; color: var(--ink-2); }
/* PC：アイコンは番号の行の右端、番号の下端にそろえる（5列で横一線） */
.process__list li:has(.icon) { display: grid; grid-template-columns: 1fr auto; align-content: start; }
.process__list li:has(.icon) > :not(.process__no):not(.icon) { grid-column: 1 / -1; }
.icon--proc { grid-column: 2; grid-row: 1; align-self: end; width: 36px; height: 36px; margin-bottom: 18px; }
@media (max-width: 900px) {
  .process__list { grid-template-columns: 1fr; }
  .process__list li {
    display: grid; grid-template-columns: 64px 1fr; column-gap: 12px;
    padding: 16px 0 20px; border-top-color: var(--rule-soft);
  }
  .process__list li:first-child { border-top-color: var(--ink); }
  .process__no { grid-row: span 2; font-size: 34px; margin: 0; }
  /* スマホ：WHAT WE DO と同じく、アイコンは行の右端に */
  .process__list li:has(.icon) { display: grid; grid-template-columns: 64px 1fr auto; }
  .process__list li:has(.icon) > b { grid-column: 2; }
  .process__list li:has(.icon) > p { grid-column: 2 / -1; }
  .icon--proc { grid-column: 3; grid-row: 1; width: 32px; height: 32px; margin: 0 0 0 12px; padding: 0; }
}

/* WORKS ------------------------------------------------------------- */
.works { display: grid; row-gap: clamp(88px, 9vw, 168px); }
.work {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
  align-items: start;
}
.work__visual { grid-column: 1 / span 7; min-width: 0; }
.work__meta { grid-column: 9 / span 4; }
.work:nth-child(even) .work__visual { grid-column: 6 / span 7; grid-row: 1; }
.work:nth-child(even) .work__meta { grid-column: 1 / span 4; grid-row: 1; }

.work__no {
  font-family: var(--latin); font-weight: 200; font-stretch: 100%;
  font-size: clamp(56px, 6vw, 96px); line-height: 0.85; letter-spacing: -0.04em;
  padding-bottom: clamp(18px, 2vw, 28px); margin-bottom: clamp(18px, 2vw, 26px);
  border-bottom: 1px solid var(--ink);
}
.work__title {
  font-family: var(--latin), var(--ja); font-family: "Archivo MW", var(--ja);
  font-weight: 700; font-feature-settings: "palt" 1;
  font-size: clamp(22px, 1.9vw, 30px); line-height: 1.35; letter-spacing: 0.01em;
  margin-bottom: 16px;
}
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tag {
  font-family: var(--latin); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em; line-height: 1;
  padding: 6px 9px 5px; border: 1px solid var(--ink); border-radius: 999px; white-space: nowrap;
}
.work__desc { font-size: 15px; line-height: 1.95; }
.work__info {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule-soft);
  font-size: 13px; line-height: 1.8; color: var(--ink-2);
}
.work__period {
  font-family: var(--latin); font-weight: 600; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 4px;
}
.work__links { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }

.extlink {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px;
  font-family: var(--latin), var(--ja); font-family: "Archivo MW", var(--ja);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  text-decoration: underline; text-decoration-color: var(--rule-soft);
}
.extlink:hover { text-decoration-color: currentColor; }
.extlink .ext { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }

@media (max-width: 900px) {
  .work__visual, .work__meta,
  .work:nth-child(even) .work__visual, .work:nth-child(even) .work__meta { grid-column: 1 / -1; grid-row: auto; }
  .work__meta { margin-top: 28px; }
  .work__no { font-size: 56px; }
}

/* gallery（紙媒体・静止画）：手動送り＋スワイプ。自動送りなし */
.gallery__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  aspect-ratio: 4 / 3; background: var(--ground);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%; height: 100%; scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; place-items: center; padding: clamp(14px, 4.5%, 48px);
  container-type: size; /* 表紙全体を枠内に収める（cqw/cqh） */
}
.gallery__slide img {
  width: auto; height: auto; max-width: 100cqw; max-height: 100cqh;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 8px 24px -12px rgba(0, 0, 0, .25);
}
/* 撮影写真（枠と同じ 4:3）は余白・影なしで枠いっぱいに */
.gallery__slide--fill { padding: 0; }
.gallery__slide--fill img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; box-shadow: none; }
.gallery__nav { display: flex; align-items: center; gap: 4px; margin-top: 12px; }
.gallery__count {
  min-width: 64px; text-align: center;
  font-family: var(--latin); font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}

.ctrl {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--ink); background: transparent; color: var(--ink); padding: 0;
  transition: background-color .2s ease, color .2s ease;
}
.ctrl:hover { background: var(--ink); color: var(--paper); }
.ctrl:disabled { opacity: .3; cursor: default; background: transparent; color: var(--ink); }
.ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ctrl--text {
  width: auto; padding: 0 16px 0 12px; gap: 8px; display: inline-flex; align-items: center;
  font-family: var(--latin), var(--ja); font-family: "Archivo MW", var(--ja);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
}
.ctrl--text svg { width: 14px; height: 14px; }
.ctrl .i-play { fill: currentColor; stroke: none; }
.ctrl .i-pause, .ctrl[aria-pressed="true"] .i-play { display: none; }
.ctrl[aria-pressed="true"] .i-pause { display: block; }

/* WEB：全ページ画像を固定枠内で自動スクロール。PCはモニターのような横長の枠をいっぱいに */
.webscroll__frame {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: #fff; border: 1px solid var(--ink);
}
.webscroll__frame picture { display: block; }
.webscroll__img { display: block; width: 100%; height: auto; will-change: transform; }
/* 「視差効果を減らす」設定：自動では動かさず、枠の中を手でスクロールできる */
@media (prefers-reduced-motion: reduce) {
  .webscroll__frame { overflow-y: auto; overscroll-behavior: contain; }
  .webscroll__img { will-change: auto; }
}
/* スマホ：スマホ表示のキャプチャを、地の上の縦長の枠（3:4）に */
@media (max-width: 720px) {
  /* WEB は画面そのものが作品なので、枠いっぱいに（余白を置かない） */
  .webscroll.has-sp .webscroll__frame { width: 100%; aspect-ratio: 4 / 5; }
}

/* placeholder（素材待ち）*/
.ph {
  display: grid; place-content: center; gap: 6px; text-align: center;
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(24, 24, 24, .045) 14px 15px),
    var(--ground);
  color: var(--ink-3);
  font-family: var(--latin), var(--ja); font-family: "Archivo MW", var(--ja);
  font-size: 11.5px; letter-spacing: 0.12em; line-height: 1.5;
}
.ph span:first-child { font-weight: 700; color: var(--ink-2); }
.gallery--empty { aspect-ratio: 4 / 3; }

/* BOOKS ------------------------------------------------------------- */
.books {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--gut); row-gap: clamp(36px, 4vw, 64px);
}
.book {
  display: grid; grid-template-columns: minmax(96px, 36%) 1fr; column-gap: clamp(16px, 1.6vw, 24px);
  align-items: start;
  border-top: 1px solid var(--ink); padding-top: 20px;
}
.book__cover {
  aspect-ratio: 5 / 7; background: var(--ground);
  display: grid; place-items: center; padding: 10%;
  container-type: size;
}
.book__cover img {
  width: auto; height: auto; max-width: 100cqw; max-height: 100cqh;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 6px 16px -8px rgba(0, 0, 0, .3);
}
.book__cover .ph { font-size: 11px; letter-spacing: 0.06em; }
.book__title {
  font-family: var(--ja); font-weight: 700; font-feature-settings: "palt" 1;
  font-size: 16px; line-height: 1.6; letter-spacing: 0.03em; margin-bottom: 8px;
}
.book__author { font-size: 12.5px; line-height: 1.75; color: var(--ink-2); margin-bottom: 10px; }
.book__pub { font-size: 12.5px; line-height: 1.7; }
.book__pub span {
  display: inline-block; margin-left: 0.8em;
  font-family: var(--latin); font-weight: 600; letter-spacing: 0.06em;
}
.book__role {
  display: inline-block; margin: 12px 0 4px;
  font-size: 11.5px; line-height: 1; padding: 6px 9px 5px; border: 1px solid var(--ink); border-radius: 999px;
}
.book .extlink { display: flex; width: max-content; }
@media (max-width: 1100px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .books { grid-template-columns: 1fr; row-gap: 28px; }
  .book { grid-template-columns: 104px 1fr; }
}

/* BOOKS 別案：集合写真＋流し込みキャプション */
.books-photo__lead { margin: 0 0 10px; font-size: 14px; line-height: 2; color: var(--ink); }
.books-photo__list { margin: 0; }
.books-photo { margin: 0; }
.books-photo__img img { display: block; width: 100%; height: auto; }
.books-photo__img .ph { aspect-ratio: 3 / 2; }
.books-photo__cap {
  margin-top: 16px; max-width: 64em;
  font-size: 12.5px; line-height: 1.95; color: var(--ink-2);
  font-feature-settings: "palt" 1; letter-spacing: 0.02em;
}
.books-photo__cap .review-only { display: block; margin-top: 4px; font-size: 11.5px; }
@media (max-width: 640px) { .books-photo__cap { margin-top: 12px; font-size: 12px; line-height: 1.9; } }

/* ABOUT ------------------------------------------------------------- */
.about__name {
  font-family: var(--latin); font-weight: 800; font-stretch: 90%;
  font-size: clamp(30px, 3vw, 46px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px;
}
.about__est { font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--ink-2); }
.about__studio {
  font-family: var(--ja); font-weight: 500;
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.95; letter-spacing: 0.04em;
}
.person { margin-top: clamp(48px, 5vw, 80px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid var(--ink); }
.person__name {
  font-family: var(--ja); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3;
  letter-spacing: 0.12em; margin-bottom: 6px;
}
.person__en {
  display: inline-block; margin-left: 0.9em; font-family: var(--latin); font-weight: 600;
  font-size: 0.5em; letter-spacing: 0.1em; vertical-align: 0.2em;
}
.person__role { font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.person .prose { font-size: 15px; line-height: 2; }

/* CONTACT ----------------------------------------------------------- */
.contact__intro { align-self: start; }
.contact__title {
  font-family: var(--ja); font-weight: 700; font-feature-settings: "palt" 1;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.5; letter-spacing: 0.04em; margin-bottom: 20px;
}
.contact__intro p { font-size: 15px; color: var(--ink-2); max-width: 30em; }
@media (min-width: 901px) {
  .contact__intro { position: sticky; top: calc(var(--mast-h) + 32px); }
}

.form, .confirm, .result { display: grid; gap: 30px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px var(--gut); }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.field__label {
  display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 10px;
  font-family: var(--ja); font-size: 14.5px; font-weight: 700; line-height: 1.5;
}
.req, .opt {
  display: inline-block; font-size: 10.5px; font-weight: 600; line-height: 1; letter-spacing: 0.06em;
  padding: 4px 6px 3px; vertical-align: 0.1em;
}
.req { background: var(--ink); color: var(--paper); }
.opt { border: 1px solid var(--rule-soft); color: var(--ink-3); font-weight: 500; }
.choice--consent .req { margin-left: 10px; }

.input {
  display: block; width: 100%; min-height: 52px;
  padding: 12px 14px; border: 1px solid #8f8c84; border-radius: 0;
  background: #fff; font-size: 16px; line-height: 1.6;
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease;
}
.input:hover { border-color: var(--ink); }
.input:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.input--area { min-height: 200px; resize: vertical; }
.input::placeholder { color: #8b8880; }
.input[aria-invalid="true"] { border-color: var(--alert); box-shadow: inset 3px 0 0 var(--alert); }
.field__error { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--alert); font-weight: 600; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px var(--gut); }
.choices--row { grid-template-columns: repeat(2, max-content); column-gap: 32px; }
@media (max-width: 480px) { .choices, .choices--row { grid-template-columns: 1fr; } }
.choice {
  display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer;
  font-size: 15px; line-height: 1.5;
}
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--ink); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: grid; gap: 8px; padding: 22px 22px 18px; background: var(--ground); font-size: 14px; line-height: 1.8;
}
.consent .choice { font-weight: 700; margin-top: 6px; }
.textlink {
  background: none; border: 0; padding: 0; color: inherit;
  text-decoration: underline; text-underline-offset: 0.28em; cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 36px; border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--ja); font-size: 15px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .45; cursor: progress; }
.form > .btn { justify-self: start; min-width: 280px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
  .form > .btn, .btns .btn { width: 100%; min-width: 0; }
  .btns { flex-direction: column-reverse; }
}
.contact__paused { padding-top: 22px; border-top: 1px solid var(--ink); font-size: 15px; line-height: 2; }
.contact__mail { margin-top: 18px; font-family: var(--latin); font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: .02em; }
.contact__mail a { color: inherit; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; word-break: break-all; }
.form__alert {
  padding: 14px 16px; border-left: 3px solid var(--alert); background: #fbeeec;
  color: var(--alert); font-weight: 700; font-size: 14px; line-height: 1.7;
}
.form__alert:focus { outline: none; }
.form__note { font-size: 12.5px; color: var(--ink-3); }

.step-title {
  font-family: var(--ja); font-weight: 700; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.5; letter-spacing: 0.04em;
}
.step-title:focus { outline: none; }
.summary { border-top: 1px solid var(--ink); }
.summary div {
  display: grid; grid-template-columns: 180px 1fr; gap: 4px 20px;
  padding: 14px 0; border-bottom: 1px solid var(--rule-soft);
}
.summary dt { font-size: 13px; color: var(--ink-2); font-weight: 700; line-height: 1.7; }
.summary dd { font-size: 15px; line-height: 1.8; white-space: pre-wrap; }
@media (max-width: 640px) { .summary div { grid-template-columns: 1fr; } }
.result { padding: 32px; border: 1px solid var(--ink); }

/* privacy dialog */
.dialog {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100svh - 48px);
  padding: 0; border: 1px solid var(--ink); background: var(--paper); color: var(--ink);
}
.dialog::backdrop { background: rgba(24, 24, 24, .55); }
.dialog__inner { padding: clamp(24px, 4vw, 48px); }
.dialog__close { display: flex; justify-content: flex-end; margin: -8px -8px 8px 0; }
.dialog__close .textlink { min-height: 44px; padding: 0 8px; font-size: 14px; }
.dialog__title {
  font-family: var(--ja); font-weight: 700; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; margin-bottom: 24px;
}
.dialog .policy { margin-bottom: 32px; }

/* policy */
.policy { font-size: 15px; line-height: 2; }
.policy h3 {
  font-family: var(--ja); font-size: 16px; font-weight: 700; line-height: 1.6;
  margin: 2em 0 0.5em; padding-top: 1em; border-top: 1px solid var(--rule-soft);
}
.policy__date { margin-top: 2em; font-size: 13px; color: var(--ink-2); }
.review-only { color: var(--alert); }

/* ---------------------------------------------------------------- sub pages */
.page {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(64px, 8vw, 128px) var(--pad) 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut);
}
.page > * { grid-column: 1 / span 8; }
.page__head { grid-column: 1 / -1; border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: clamp(36px, 5vw, 72px); }
.page__kicker {
  font-family: var(--latin); font-weight: 800; font-stretch: 90%;
  font-size: clamp(40px, 7vw, 112px); line-height: 0.9; letter-spacing: -0.045em; margin-bottom: 24px;
}
.page__title { font-family: var(--ja); font-size: clamp(20px, 2vw, 28px); line-height: 1.5; letter-spacing: 0.04em; }
.page--error p + p { margin-top: 40px; }
@media (max-width: 900px) { .page > * { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- footer */
.foot {
  margin-top: clamp(88px, 11vw, 184px); /* セクション間と同じ間隔に（12/4 最終確認） */
  background: var(--ink); color: var(--paper);
  --focus: var(--paper);
}
.foot__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(40px, 5vw, 80px) var(--pad) clamp(28px, 3vw, 44px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px;
  font-size: 13px; line-height: 1.85;
}
.foot__logo { grid-column: 1 / -1; color: var(--paper); margin-bottom: clamp(12px, 2vw, 32px); }
.foot__logo .logo { width: 100%; height: auto; }
.foot__est { grid-column: 1 / span 3; font-family: var(--latin); font-weight: 600; letter-spacing: 0.14em; font-size: 12px; }
.foot__addr { grid-column: 4 / span 4; }
.foot__privacy { grid-column: 8 / span 3; }
.foot__copy { grid-column: 11 / span 2; text-align: right; font-family: var(--latin); letter-spacing: 0.08em; }
.foot a { text-decoration-color: rgba(250, 249, 246, .45); }
.foot a:hover { text-decoration-color: currentColor; }
@media (max-width: 900px) {
  .foot__est, .foot__addr, .foot__privacy, .foot__copy { grid-column: 1 / -1; text-align: left; }
  .foot__inner { row-gap: 18px; }
}

/* back to top */
.backtop {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  width: 48px; height: 48px; display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  opacity: 1; transition: opacity .25s ease, visibility .25s;
  --focus: var(--ink);
}
.backtop[hidden] { display: grid; opacity: 0; visibility: hidden; pointer-events: none; }
.backtop svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* リンクの前に置く小さなアイコン（Instagram など） */
.extlink__icon { width: 15px; height: 15px; margin-right: 7px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; vertical-align: -2px; }
.extlink__icon .fill { fill: currentColor; stroke: none; }
