/* シンタロウ（2026-11-20 作り直し）
   見た目の芯：暗い地・細い格子の線・等幅の文字で書く「住所（/works など）」と実数。
   動きの見せ場は1つ：窓の中の作品が、このページのスクロールに合わせて流れ、横の数字が進む。 */
:root {
  color-scheme: dark;
  --bg: oklch(0.19 0.012 255);          /* 青みの墨（真っ黒にしない） */
  --bg-2: oklch(0.225 0.013 255);       /* 一段浮いた面 */
  --bg-3: oklch(0.26 0.014 255);        /* 押した時の面 */
  --fg: oklch(0.94 0.006 250);          /* 文字 */
  --sub: oklch(0.76 0.01 250);          /* 添え書き */
  --dim: oklch(0.66 0.012 250);         /* 等幅の札 */
  --line: oklch(0.94 0.006 250 / 0.14); /* 罫線 */
  --grid: oklch(0.94 0.006 250 / 0.045);/* 背景の格子 */
  --signal: oklch(0.82 0.085 200);      /* 差し色は1つ（今いる場所と進み具合だけ） */
  --sans: "IBM Plex Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gut: clamp(16px, 4.4vw, 56px);
  --max: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t: 0.2s;
  --bar: 56px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + 8px); background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-size: clamp(15px, 0.9rem + 0.15vw, 16.5px);
  line-height: 1.85; letter-spacing: 0.02em; position: relative;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.nw { display: inline-block; }
h1, h2, h3, p, dd, li { text-wrap: pretty; word-break: auto-phrase; line-break: strict; }
.mono { font-family: var(--mono); letter-spacing: 0; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; box-shadow: 0 0 0 5px var(--bg); }
.skip { position: absolute; left: 8px; top: -100px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; }
.skip:focus { top: 8px; }
main:focus { outline: none; }

/* 背景の格子（4列／12列）。中身の左右の端と同じ線に乗る */
.gridlines {
  position: absolute; top: 0; height: min(100svh, 980px); left: 50%; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
  width: calc(min(100%, var(--max)) - 2 * var(--gut)); transform: translateX(-50%);
  border-inline: 1px solid var(--grid);
  background-image: repeating-linear-gradient(to right, transparent 0 calc(25% - 1px), var(--grid) calc(25% - 1px) 25%);
}
@media (width >= 768px) {
  .gridlines { background-image: repeating-linear-gradient(to right, transparent 0 calc(100% / 12 - 1px), var(--grid) calc(100% / 12 - 1px) calc(100% / 12)); }
}
.wrap { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }

/* 文字のリンク（箱にしない） */
.link {
  display: inline-flex; align-items: center; gap: 0.4em; min-height: 44px; padding: 8px 0;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px;
  text-decoration-color: var(--dim); font-weight: 500;
  transition: text-underline-offset var(--t) var(--ease), text-decoration-color var(--t) var(--ease), opacity var(--t) var(--ease);
}
.link:active { opacity: 0.6; }
.link--quiet { font-weight: 400; color: var(--sub); }
.ext { font-family: var(--mono); font-size: 0.85em; color: var(--dim); }
@media (hover: hover) {
  .link:hover { text-underline-offset: 9px; text-decoration-color: var(--fg); }
}

/* 上の帯 */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  background: oklch(0.19 0.012 255); border-bottom: 1px solid var(--line);
}
.bar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar__logo { display: inline-flex; align-items: baseline; gap: 10px; min-height: 44px; align-items: center; text-decoration: none; }
.bar__name { font-weight: 700; font-size: 18px; letter-spacing: 0.04em; }
.bar__where { font-family: var(--mono); font-size: 12px; color: var(--signal); min-width: 7ch; }
.bar__nav { display: flex; align-items: center; gap: clamp(2px, 2vw, 28px); font-size: 14px; }
.bar__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; text-decoration: none; color: var(--sub); transition: color var(--t) var(--ease); }
.bar__nav a[aria-current] { color: var(--fg); }
.bar__nav .bar__cta { color: var(--fg); font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--dim); }
@media (hover: hover) { .bar__nav a:hover { color: var(--fg); } }
@media (width < 420px) { .bar__where { display: none; } }
.bar__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; }
html:not(.scrub) .bar__progress { display: none; }

/* 節の頭（等幅の住所＋見出し） */
.sec { position: relative; z-index: 1; padding-block: clamp(72px, 12vw, 152px) 0; }
.sec__head { display: grid; gap: 14px; padding-bottom: 36px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 64px); }
@media (width >= 768px) { .sec__head { grid-template-columns: minmax(0, 5fr) 7fr; align-items: end; } }
.path { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.path b { color: var(--fg); font-weight: 500; }
.h2 { font-size: clamp(28px, 1.2rem + 2.6vw, 52px); line-height: 1.3; letter-spacing: 0.01em; font-weight: 500; }
.sec__lead { color: var(--sub); max-width: 40em; margin-top: 12px; }

/* 1画面目：見出し・事実の1行 → 作品の絵 → 説明。PC は左に文字・右に作品の絵 */
.hero { position: relative; z-index: 1; padding-top: calc(var(--bar) + clamp(28px, 7vh, 96px)); padding-bottom: clamp(40px, 7vh, 88px); }
.hero__grid { display: grid; gap: 24px clamp(40px, 6vw, 80px); grid-template-areas: "a" "shots" "b"; }
@media (width >= 1024px) {
  .hero__grid { grid-template-columns: 6fr 6fr; grid-template-areas: "a shots" "b shots"; align-items: end; min-height: calc(100svh - var(--bar) - 140px); }
  .hero__b { align-self: start; }
}
.hero__a { grid-area: a; } .hero__b { grid-area: b; } .hero__shots { grid-area: shots; }
.hero__meta { font-family: var(--mono); font-size: 13px; color: var(--dim); margin-bottom: clamp(12px, 2.4vw, 28px); }
.hero__title { font-size: clamp(34px, 1rem + 4.2vw, 68px); line-height: 1.16; font-weight: 700; letter-spacing: -0.005em; }
.hero__fact { margin-top: clamp(12px, 2vw, 24px); max-width: 30em; font-size: 15px; line-height: 1.75; }
.hero__lead { max-width: 32em; color: var(--sub); }
.hero__links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 12px; }
.hero__shots { display: grid; grid-template-columns: 5fr 7fr; grid-template-rows: auto auto; gap: 10px; align-items: start; }
.shot { display: block; text-decoration: none; position: relative; }
.shot img { width: 100%; object-fit: cover; border: 1px solid var(--line); }
.shot--phone { grid-row: 1 / 3; }
.shot--a img { aspect-ratio: 16 / 9; }
.shot--b img { aspect-ratio: 4 / 3; }
.shot__cap { display: block; font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 4px; }
.shot__cap b { color: var(--fg); font-weight: 500; margin-right: 6px; }
@media (hover: hover) { .shot img { transition: opacity var(--t) var(--ease); } .shot:hover img { opacity: 0.85; } }
.win--hero { max-width: none; aspect-ratio: 390 / 700; }
html:not(.scrub) .win--hero { overflow: hidden; }

/* 目次（1画面目の下・ディレクトリの一覧の形） */
.index { position: relative; z-index: 1; display: grid; font-size: 14px; padding-bottom: clamp(40px, 6vw, 72px); }
@media (width >= 900px) { .index { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; } }
.index a {
  display: grid; grid-template-columns: 8.5ch 1fr auto; gap: 12px; align-items: center;
  min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.index__p { font-family: var(--mono); color: var(--fg); }
.index__d { color: var(--sub); }
.index__n { font-family: var(--mono); color: var(--dim); text-align: right; min-width: 2ch; font-variant-numeric: tabular-nums; }
.index a:active { background: var(--bg-3); }
@media (hover: hover) { .index a:hover { background: var(--bg-2); } }

/* 地の帯：作品は明るい帯・頼める物は一段明るい暗色 */
.band--light {
  color-scheme: light;
  --bg: oklch(0.948 0.009 75); --bg-2: oklch(0.915 0.01 75); --bg-3: oklch(0.885 0.011 75);
  --fg: oklch(0.24 0.012 60); --sub: oklch(0.43 0.012 60); --dim: oklch(0.48 0.012 60);
  --line: oklch(0.24 0.012 60 / 0.16); --signal: oklch(0.45 0.09 215);
  background: var(--bg); color: var(--fg); padding-bottom: clamp(72px, 10vw, 140px);
}
.band--mid { --bg: oklch(0.25 0.014 255); --bg-2: oklch(0.29 0.014 255); --bg-3: oklch(0.32 0.014 255); background: var(--bg); padding-bottom: clamp(72px, 10vw, 140px); }
.band--light :focus-visible, .band--mid :focus-visible { box-shadow: 0 0 0 5px var(--bg); }

/* 作品 */
.work { display: grid; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(56px, 8vw, 112px); }
.work + .work { padding-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); }
@media (width >= 900px) { .work { grid-template-columns: 5fr 7fr; align-items: start; } .work--b { grid-template-columns: 7fr 5fr; } .work--b .work__screen { order: 2; } }
.work__label { display: flex; flex-wrap: wrap; gap: 6px 18px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.work__label b { color: var(--fg); font-weight: 500; }
.work__name { font-size: clamp(32px, 1rem + 3.4vw, 64px); line-height: 1.15; font-weight: 700; margin-top: 10px; }
.work__what { color: var(--sub); margin-top: 6px; }
.case { margin-top: 28px; border-top: 1px solid var(--line); }
.case > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
@media (width >= 600px) { .case > div { grid-template-columns: 9em 1fr; gap: 16px; } }
.case dt { font-size: 13px; color: var(--dim); }
.work__open { margin-top: 20px; }

/* 窓（スマホの縦長の枠）＋横の数字 */
.screen { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
@media (width >= 900px) { .work--a .work__screen { position: sticky; top: calc(var(--bar) + 32px); } }
.win {
  position: relative; display: block; overflow: hidden; max-width: 380px; width: 100%;
  aspect-ratio: 390 / 760; border: 1px solid var(--line); border-radius: 2px; background: var(--bg-2);
}
.win img { width: 100%; will-change: transform; }
html:not(.scrub) .win { overflow-y: auto; overscroll-behavior: contain; }
.readout { font-family: var(--mono); font-size: 12px; color: var(--dim); display: grid; gap: 6px; text-align: right; font-variant-numeric: tabular-nums; }
.readout__v { font-size: clamp(22px, 1rem + 1.4vw, 32px); color: var(--signal); line-height: 1; }
.readout__bar { width: 1px; height: 120px; background: var(--line); justify-self: end; position: relative; overflow: hidden; }
.readout__bar i { position: absolute; inset: 0; background: var(--signal); transform: scaleY(0); transform-origin: 50% 0; }

/* 動画の作品（写真の面） */
.monitor { position: relative; border: 1px solid var(--line); background: var(--bg-2); }
.monitor__top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--dim); padding: 8px 12px; border-bottom: 1px solid var(--line); }
.monitor img { width: 100%; }
.monitor__sp { position: absolute; right: 12px; bottom: -28px; width: 30%; max-width: 170px; border: 1px solid var(--line); background: var(--bg); }
@media (width < 600px) { .monitor__sp { display: none; } }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stats div { padding: 12px 12px 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats dd { font-family: var(--mono); font-size: clamp(22px, 1rem + 1.2vw, 30px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.stats dt { font-size: 12px; color: var(--dim); }
.stats div { display: flex; flex-direction: column-reverse; }
.note-s { font-size: 13px; color: var(--dim); margin-top: 10px; }
.figcap { font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 10px; }
.concept { font-size: 13px; color: var(--sub); }

/* 記事の一覧（トップと /media/ で同じ形） */
.rows { border-top: 1px solid var(--line); }
.rows a {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
  min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: background-color var(--t) var(--ease);
}
.rows__meta { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }
.rows__t { font-size: clamp(16px, 0.9rem + 0.5vw, 20px); font-weight: 500; }
.rows__arrow { font-family: var(--mono); color: var(--dim); }
.rows a:active { background: var(--bg-3); }
@media (hover: hover) { .rows a:hover { background: var(--bg-2); } }
.tbd { font-family: var(--mono); font-size: 12px; color: var(--signal); }

/* アカウントの木（トップと /links/ で同じ形） */
.tree { font-size: 15px; }
.tree__root { font-family: var(--mono); font-size: 13px; color: var(--dim); padding-bottom: 8px; }
.tree a {
  display: grid; grid-template-columns: 3ch 1fr auto; gap: 10px; align-items: center;
  min-height: 56px; padding: 6px 0; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background-color var(--t) var(--ease);
}
.tree__branch { font-family: var(--mono); color: var(--dim); white-space: pre; }
.tree__name { font-weight: 500; }
.tree__desc { display: block; font-size: 13px; color: var(--sub); font-weight: 400; }
.tree__go { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.tree a:active { background: var(--bg-3); }
@media (hover: hover) { .tree a:hover { background: var(--bg-2); } }

/* 頼んでから公開まで */
.flow { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (width >= 900px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); border-left: 1px solid var(--line); } .flow li { border-right: 1px solid var(--line); } }
.flow li { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
@media (width >= 900px) { .flow li { padding: 20px 20px 28px; } }
.flow__n { font-family: var(--mono); font-size: 13px; color: var(--dim); }
.flow h4 { font-size: 17px; margin: 8px 0 6px; font-weight: 500; }
.flow p { color: var(--sub); font-size: 15px; }

/* 連絡 */
.contact { padding-bottom: clamp(72px, 10vw, 140px); }
.contact__mail { font-family: var(--mono); font-size: clamp(20px, 0.8rem + 2.6vw, 44px); line-height: 1.3; overflow-wrap: anywhere; }
.contact__mail a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; text-decoration-color: var(--dim); display: inline-block; min-height: 44px; }
.contact__tbd { display: block; font-family: var(--sans); font-size: 13px; color: var(--signal); margin-top: 6px; }
.textbtn {
  font: inherit; font-size: 14px; color: var(--fg); background: none; border: 0; padding: 10px 0; min-height: 44px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--dim);
}
.textbtn:active { opacity: 0.6; }
.contact__status { font-size: 13px; color: var(--sub); margin-left: 12px; }
.contact__write { margin-top: 32px; max-width: 34em; }
.contact__write p { font-size: 13px; color: var(--dim); font-family: var(--mono); }
.contact__write li { padding: 8px 0; border-bottom: 1px solid var(--line); }

/* 足もと */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); padding-block: 32px 40px; font-size: 13px; color: var(--sub); }
.foot__grid { display: grid; gap: 20px; }
@media (width >= 768px) { .foot__grid { grid-template-columns: 3fr 5fr 4fr; } }
.foot__name { font-weight: 700; color: var(--fg); font-size: 16px; }
.foot__map a { font-family: var(--mono); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; margin-right: 8px; text-decoration: none; color: var(--sub); }
@media (hover: hover) { .foot__map a:hover { color: var(--fg); } }
.foot__copy { font-family: var(--mono); color: var(--dim); margin-top: 12px; }

/* 下層のページ */
.page { position: relative; z-index: 1; padding-top: calc(var(--bar) + clamp(40px, 8vh, 96px)); }
.crumbs { font-family: var(--mono); font-size: 13px; color: var(--dim); display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--sub); }
.page__title { font-size: clamp(32px, 1rem + 4vw, 72px); line-height: 1.2; font-weight: 700; margin-top: 8px; }
.page__lead { color: var(--sub); margin-top: 16px; max-width: 36em; }
.notice { margin-top: 28px; padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--signal); background: var(--bg-2); font-size: 14px; color: var(--sub); }

/* 記事の本文 */
.article { max-width: 42em; }
.article__meta { display: flex; flex-wrap: wrap; gap: 4px 20px; font-family: var(--mono); font-size: 13px; color: var(--dim); margin-top: 16px; }
.prose { margin-top: clamp(32px, 5vw, 56px); }
.prose h2 { font-size: clamp(21px, 1rem + 0.9vw, 28px); line-height: 1.4; margin: 2.4em 0 0.8em; padding-top: 0.8em; border-top: 1px solid var(--line); }
.prose p { margin: 0 0 1.2em; font-size: clamp(16px, 0.95rem + 0.15vw, 17px); line-height: 1.95; }
.prose figure { margin: 2em 0; }
.prose figure img { border: 1px solid var(--line); }
.prose figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }
.article__end { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }

/* /links/ だけの短いページ */
.links-page { max-width: 560px; margin: 0 auto; }
.links-page .page__title { font-size: clamp(28px, 1rem + 3vw, 44px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) { .bar__progress, .readout__bar i { background: Highlight; } }
.sec__head + .rows, .sec__head + .flow { border-top: 0; }
@media (width >= 900px) { .sec__head + .flow { border-top: 1px solid var(--line); } }

/* 作品の画面の枠（PC の画面・スマホの画面を重ねる） */
.frame { margin-top: 24px; }
.frame img { width: 100%; border: 1px solid var(--line); }
.frame figcaption { font-size: 13px; color: var(--dim); margin-top: 8px; }
.frame--pair { position: relative; margin-top: 0; padding-bottom: 32px; }
.frame__sp { position: absolute; right: 12px; bottom: 0; width: 26% !important; max-width: 160px; background: var(--bg); }
@media (width < 600px) { .frame--pair { padding-bottom: 0; } .frame__sp { display: none; } }

/* 映像（コマの並べ方を作品ごとに変える） */
.reel { margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.reel__title { font-size: clamp(24px, 1rem + 1.8vw, 40px); font-weight: 700; }
.reel__lead { color: var(--sub); margin-top: 8px; max-width: 36em; }
.clip { display: grid; gap: 20px clamp(24px, 4vw, 56px); margin-top: clamp(40px, 6vw, 72px); }
@media (width >= 900px) {
  .clip { grid-template-columns: 7fr 5fr; align-items: end; }
  .clip--rev { grid-template-columns: 5fr 7fr; }
  .clip--rev .clip__shots { order: 2; }
  .clip--wide { grid-template-columns: 1fr; }
  .clip--wide .clip__body { max-width: 40em; }
}
.clip__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.clip__shots img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; }
.clip__shots .clip__main { grid-column: 1 / -1; }
.clip--wide .clip__shots { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.clip--wide .clip__main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 16 / 9; }
.clip--wide .clip__shots img:not(.clip__main) { aspect-ratio: auto; }
.clip__shots--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.clip__shots--4 .clip__main { aspect-ratio: 21 / 9; }
.clip__shots--4 img:not(.clip__main) { aspect-ratio: 1 / 1; }
.clip__shots--3 img:not(.clip__main) { aspect-ratio: 4 / 3; }
.clip__name { font-size: clamp(22px, 1rem + 1.2vw, 32px); line-height: 1.3; font-weight: 700; margin-top: 6px; }
.clip__meta { font-size: 13px; color: var(--dim); margin: 2px 0 10px; }
.clip__body p:last-child { color: var(--sub); }
.clip-pair { display: grid; gap: 0 clamp(24px, 4vw, 56px); }
@media (width >= 900px) { .clip-pair { grid-template-columns: 1fr 1fr; } .clip--small { grid-template-columns: 1fr; align-items: start; } }
.clip--small .clip__shots img { aspect-ratio: 3 / 2; }

/* 頼める物 */
.menu { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (width >= 900px) { .menu { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-top: 0; } .menu li { border-top: 1px solid var(--line); } }
.menu li { padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.menu h3 { font-size: clamp(18px, 1rem + 0.5vw, 22px); font-weight: 700; margin-bottom: 8px; }
.menu p { color: var(--sub); }
.menu .menu__price { color: var(--fg); margin-top: 12px; font-size: 14px; }
.flow__title { font-size: clamp(20px, 1rem + 0.8vw, 26px); font-weight: 700; margin: clamp(48px, 7vw, 80px) 0 20px; }

/* /links の写真の置き場（仮） */
.photo-slot { display: grid; place-items: center; width: 96px; aspect-ratio: 1; border: 1px dashed var(--dim); color: var(--dim); font-size: 12px; text-align: center; line-height: 1.5; margin-bottom: 16px; }

/* /media：作品の記録・これから書くこと */
.log { display: grid; gap: 0; border-top: 1px solid var(--line); }
.log a { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: background-color var(--t) var(--ease); }
@media (width >= 768px) { .log a { grid-template-columns: 220px 1fr; gap: 24px; } }
.log img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); }
.log__t { display: block; font-weight: 500; font-size: clamp(16px, 0.9rem + 0.5vw, 20px); }
.log__d { display: block; color: var(--sub); font-size: 14px; margin-top: 4px; }
@media (hover: hover) { .log a:hover { background: var(--bg-2); } }
.plan li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.plan li:first-child { border-top: 1px solid var(--line); }
.plan__tag { font-size: 13px; color: var(--signal); margin-right: 8px; }
.sec__head + .log, .sec__head + .menu, .sec__head + .plan li:first-child { border-top: 0; }
@media (width >= 900px) { .sec__head + .menu li { border-top: 1px solid var(--line); } }
.band--light, .band--mid { padding: 96px 8px 120px; }
@media (width < 768px) { .band--light, .band--mid { padding: 72px 8px 80px; } }

/* 映像の短いくり返し（音なし）。静止画の上に重ね、画面に入った時だけ読み込む。動きを減らす設定では静止画のまま */
.vid { position: relative; display: block; overflow: hidden; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s var(--ease); }
.vid video.is-on { opacity: 1; }
.clip__shots .vid img { height: 100%; }
.clip__shots .clip__main { grid-column: 1 / -1; }
.clip--wide .clip__shots .vid.clip__main { grid-column: 1; grid-row: 1 / 3; }
.clip--wide .clip__shots .vid.clip__main img { aspect-ratio: 16 / 9; }
.clip__shots--4 .vid.clip__main img { aspect-ratio: 21 / 9; }
.clip__shots--3 .vid.clip__main img { aspect-ratio: 16 / 9; }
.clip--small .clip__shots .vid img { aspect-ratio: 3 / 2; }
.shot .vid { border: 1px solid var(--line); }
.shot .vid img { border: 0; }

/* 1画面目の窓：サイトの画面がゆっくり上下に流れる（映像と並んで動く） */
.win--hero img { will-change: transform; }
html.motion .win--hero img { animation: winscroll 22s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes winscroll { from { transform: translateY(0); } to { transform: translateY(calc(-1 * var(--dist, 0px))); } }

.days { font-size: 13px; color: var(--dim); margin-top: 4px; }
.mark { display: block; color: var(--fg); margin-bottom: 20px; }

/* 1画面目の主役は1枚（森を歩く人の映像）。サイトの窓と予告編を小さく重ねる */
.hero__shots { display: block; }
.stage { position: relative; aspect-ratio: 100 / 66; }
.stage > div { position: absolute; display: block; }
.stage img, .stage .vid { width: 100%; height: 100%; object-fit: cover; }
.stage__main { left: 22%; top: 0; width: 78%; aspect-ratio: 16 / 10; }
.stage__main .vid, .stage__main img { aspect-ratio: 16 / 10; }
.stage__phone { left: 0; top: 14%; width: 26%; box-shadow: 0 0 0 4px var(--bg); }
.stage__phone .win--hero { aspect-ratio: 390 / 700; border: 1px solid var(--line); }
.stage__sub { right: 4%; bottom: 0; width: 40%; box-shadow: 0 0 0 4px var(--bg); }
.stage__sub .vid, .stage__sub img { aspect-ratio: 16 / 9; }
.stage .vid { border: 0; }
.stage__cap { display: flex; flex-wrap: wrap; gap: 0 18px; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 2px; }
.stage__cap b { color: var(--fg); font-weight: 500; margin-right: 4px; }
.stage__cap a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
@media (hover: hover) { .stage__cap a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; } }

/* 頼める物の絵・相談の細い帯 */
.menu__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; border: 1px solid var(--line); }
.contact__band { display: block; margin-bottom: clamp(32px, 5vw, 56px); }
.contact__band img { width: 100%; aspect-ratio: 21 / 5; object-fit: cover; }
@media (width < 600px) { .contact__band img { aspect-ratio: 3 / 1; } }
.stage .win--hero img { height: auto; object-fit: initial; }

/* 2026-11-21：作品の帯の終わりの相談・記事の2列・飾りを減らす */
.midcta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(16px, 0.9rem + 0.5vw, 20px); font-weight: 500; }
.media2 { display: grid; gap: 40px clamp(32px, 5vw, 64px); }
@media (width >= 900px) { .media2 { grid-template-columns: 7fr 5fr; } }
.media2__h { font-size: clamp(20px, 1rem + 0.6vw, 24px); font-weight: 700; margin-bottom: 14px; }
.media2__more { margin-top: 12px; }
.media2 .log a { grid-template-columns: 112px 1fr; }
@media (width >= 768px) { .media2 .log a { grid-template-columns: 180px 1fr; } }
.crumbs--plain { font-family: var(--sans); }
.stage__cap { font-family: var(--sans); font-size: 13px; }
.stage > div { will-change: transform; }
