/* =========================================================
   PALLO — 01 EDITORIAL（ファッション誌の誌面）
   紙の白・墨・いちごの赤（小さな面積だけ）
   ========================================================= */

:root {
  --heading-leading: 1.4;
  --paper: #F7F4EF;
  --ink: #141414;
  --berry: #D7262E;
  --stone: #8C8780;
  --hair: rgba(20, 20, 20, .16);
  --pad: clamp(20px, 4.4vw, 64px);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-reveal: cubic-bezier(.7, 0, .2, 1);
}

h1, h2, h3, h4, h5, h6 { line-height: var(--heading-leading) !important; }

html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
}
::selection { background: var(--berry); color: #fff; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

.font-mincho { letter-spacing: .06em; }

/* ---------- 小さな英字ラベル・図番号 ---------- */
.en-label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: .03em;
  line-height: 1.4;
}
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--berry);
  margin-right: 10px;
  vertical-align: middle;
  transform: translateY(-2px);
}
.fig-cap {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-top: 12px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--stone);
  letter-spacing: .06em;
}
.fig-no {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: .02em;
}

/* ---------- 写真の枠（縦横比） ---------- */
.ratio-4-5, .ratio-3-4, .ratio-3-2, .ratio-2-3, .ratio-16-9 {
  position: relative;
  overflow: hidden;
  background: #ECE7DF;
}
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-2-3 { aspect-ratio: 2 / 3; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-4-5 > img, .ratio-3-4 > img, .ratio-3-2 > img, .ratio-2-3 > img, .ratio-16-9 > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0) scale(var(--s, 1.08));
  transition: transform 1.8s var(--ease-out);
  will-change: transform;
}

/* ---------- ボタン（1種類だけ） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 24px 15px 26px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-size: 13.5px;
  letter-spacing: .12em;
  line-height: 1.5;
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn:hover, .btn:focus-visible { background: var(--berry); border-color: var(--berry); }
.btn-arrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  line-height: 1;
  transition: transform .35s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-sm { padding: 9px 16px 9px 18px; font-size: 12.5px; gap: 14px; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(247, 244, 239, .9);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--hair);
}
.nav-link { position: relative; padding: 4px 0; }
.nav-link::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-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: inline-flex; align-items: center; gap: 12px; padding: 8px 0; }
.menu-lines { position: relative; width: 26px; height: 10px; }
.menu-lines i {
  position: absolute; left: 0; right: 0; height: 1px; background: var(--ink);
  transition: transform .35s var(--ease-out), top .35s var(--ease-out);
}
.menu-lines i:first-child { top: 0; }
.menu-lines i:last-child { top: 9px; }
.menu-open .menu-lines i:first-child { top: 5px; transform: rotate(20deg); }
.menu-open .menu-lines i:last-child { top: 5px; transform: rotate(-20deg); }

.mobile-nav {
  position: fixed;
  top: 64px; left: 0; right: 0;
  height: calc(100svh - 64px);
  background: var(--paper);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s linear .35s;
}
.menu-open .mobile-nav {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility 0s;
}
.mobile-nav li a {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--hair);
  font-family: "Shippori Mincho B1", serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: .06em;
}
.mobile-nav li a .en-label { color: var(--stone); font-weight: 400; }

/* ---------- 1. 表紙（ヒーロー） ---------- */
.hero {
  padding-top: 104px;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .hero { min-height: min(100svh, 1000px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 112px; }
}
.hero-title {
  font-size: clamp(32px, 3.35vw, 50px);
  letter-spacing: .07em;
}
.hero-main { max-height: calc(100svh - 200px); }
@media (min-width: 768px) {
  .hero-main { aspect-ratio: auto; height: clamp(460px, calc(100svh - 250px), 700px); }
}
.hero-text { display: flex; flex-direction: column; }
@media (min-width: 768px) { .hero-text { align-self: stretch; } }
.toc { display: none; }
@media (min-width: 1024px) {
  .toc { display: block; margin-bottom: auto; padding-bottom: 36px; max-width: 340px; }
  .hero-sub { margin-top: clamp(80px, 18vh, 180px); }
}
.toc ol { margin-top: 24px; border-top: 1px solid var(--hair); }
.toc li a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid var(--hair);
  font-size: 13px;
  letter-spacing: .1em;
  transition: color .3s;
}
.toc li a:hover { color: var(--berry); }
.toc .c-no { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 14px; color: var(--stone); }
.toc .c-arrow { font-family: "Cormorant Garamond", serif; color: var(--stone); }
.hero-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
  justify-content: space-between;
  gap: 24px;
}

/* ---------- 章扉（セクションの柱） ---------- */
.section { padding-top: clamp(104px, 11vw, 176px); }
.chapter {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 14px;
  margin-bottom: clamp(32px, 4vw, 56px);
  border-top: 1px solid var(--ink);
}
.chapter-no {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--berry);
}
.chapter-en {
  font-family: "Cormorant Garamond", serif;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.sec-title {
  font-size: clamp(25px, 2.5vw, 36px);
  letter-spacing: .06em;
}

/* ---------- 2. 数と仕入れ先 ---------- */
.numbers > .num {
  display: flex;
  flex-direction: column;
  padding: 22px 0 30px;
  border-top: 1px solid var(--hair);
}
@media (min-width: 640px) {
  .numbers > .num { padding: 0 24px; border-top: 0; border-left: 1px solid var(--hair); }
}
.num-label { font-size: 12px; line-height: 1.8; color: var(--stone); letter-spacing: .06em; }
.num-value { margin-top: auto; padding-top: 18px; display: flex; align-items: baseline; gap: 8px; }
.en-num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(60px, 6.2vw, 96px);
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: lining-nums;
}
.num-unit { font-family: "Shippori Mincho B1", serif; font-weight: 600; font-size: 15px; }

.credits {
  margin-top: clamp(56px, 6vw, 88px);
  padding-top: 20px;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 12px;
}
@media (min-width: 1024px) {
  .credits { grid-template-columns: 220px 1fr; align-items: baseline; }
}
.credits-list { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(15px, 1.35vw, 19px); font-weight: 500; }
.credits-list li:not(:last-child)::after { content: "／"; color: var(--stone); margin: 0 .6em; font-weight: 400; }

/* ---------- 3. 楽しみ方 ---------- */
.scene-frame > img { opacity: 0; transition: opacity .7s var(--ease-out), transform 1.8s var(--ease-out); }
.scene-frame > img.is-active { opacity: 1; }
.scene-list { border-bottom: 1px solid var(--hair); }
.scene {
  padding: 32px 0 34px;
  border-top: 1px solid var(--hair);
  display: grid;
  gap: 14px;
  transition: padding .5s var(--ease-out);
}
@media (min-width: 768px) {
  .scene { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 40px; padding: 40px 0 42px; }
  .scene-title { grid-row: span 2; }
}
.scene-thumb { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 8px; }
.scene-title {
  position: relative;
  font-size: clamp(19px, 1.65vw, 24px);
  transition: color .35s var(--ease-out);
}
@media (min-width: 1024px) {
  /* 印は一覧の内側の左の余白に置く（写真の列から離す） */
  .scene { padding-left: 36px; position: relative; }
  .scene-title { position: static; }
  .scene-title::before {
    content: "";
    position: absolute;
    left: 6px; top: calc(40px + .72em);
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--berry);
    transform: scale(0);
    transition: transform .35s var(--ease-out);
  }
  .scene.is-current .scene-title::before { transform: scale(1); }
}
.scene-text { font-size: 14px; line-height: 2; color: rgba(20,20,20,.82); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
.tags li {
  font-size: 11.5px;
  letter-spacing: .1em;
  line-height: 1.6;
  padding: 3px 10px;
  border: 1px solid rgba(20,20,20,.35);
  border-radius: 999px;
}

/* ---------- 4. 季節のメニュー（誌面の見開き） ---------- */
.works-grid {
  margin-top: clamp(56px, 6vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 64px;
}
.work { cursor: pointer; outline: none; }
.work:focus-visible .reveal { outline: 2px solid var(--berry); outline-offset: 4px; }
.work .reveal > img { transition: transform 1.8s var(--ease-out), filter .5s var(--ease-out); }
.work-cap { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.work-title { font-size: clamp(16px, 1.25vw, 18px); font-weight: 600; letter-spacing: .06em; line-height: 1.6; }
.work-desc { font-size: 13px; line-height: 1.8; color: rgba(20,20,20,.75); }
.works-quote p { font-size: clamp(22px, 2.3vw, 34px); font-weight: 500; line-height: 1.6; letter-spacing: .06em; }
.works-quote cite { display: block; margin-top: 18px; font-style: italic; }

@media (max-width: 767px) {
  .works-grid > .work:nth-of-type(even) { width: 84%; margin-left: auto; }
  .works-grid > .work.w-d, .works-grid > .work.w-h { width: 70%; }
}
@media (min-width: 768px) {
  .works-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(16px, 1.8vw, 28px);
    row-gap: clamp(64px, 7vw, 112px);
    align-items: start;
  }
  .w-a { grid-column: 1 / span 6; }
  .w-b { grid-column: 8 / span 5; margin-top: min(15vw, 220px); }
  .w-c { grid-column: 3 / span 8; }
  .w-d { grid-column: 1 / span 4; }
  .w-e { grid-column: 6 / span 7; margin-top: min(9vw, 130px); }
  .w-f { grid-column: 2 / span 5; }
  .w-g { grid-column: 8 / span 5; margin-top: min(7vw, 100px); }
  .works-quote { grid-column: 1 / span 7; align-self: center; padding-right: 4vw; }
  .w-h { grid-column: 9 / span 4; }
}
@media (min-width: 1024px) {
  .w-d { grid-column: 1 / span 3; }
  .w-e { grid-column: 5 / span 7; }
  .w-h { grid-column: 9 / span 3; }
}

/* カーソルについてくる「詳しく」 */
.cursor-label {
  position: fixed;
  left: 0; top: 0;
  z-index: 70;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .14em;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0) scale(0);
  transition: transform .28s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-label { display: flex; }
  .cursor-label.is-on { transform: translate3d(var(--cx), var(--cy), 0) scale(1); }
  .work .reveal { cursor: none; }
  .work:hover .reveal > img { --s: 1.04; }
}

/* 季節のメニューを大きく表示する窓 */
.work-dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}
.work-dialog::backdrop { background: rgba(20, 20, 20, .5); }
.dialog-inner { position: relative; display: grid; }
@media (min-width: 768px) { .dialog-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.dialog-img { background: #ECE7DF; display: flex; align-items: center; justify-content: center; }
.dialog-img img { width: 100%; max-height: 72svh; object-fit: contain; }
.dialog-text { padding: 28px 24px 32px; display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) { .dialog-text { padding: 72px 40px 40px; } }
.dialog-title { font-size: 21px; letter-spacing: .06em; }
.dialog-desc { font-size: 14px; line-height: 1.9; }
.dialog-note { margin-top: auto; padding-top: 24px; font-size: 11.5px; color: var(--stone); }
.dialog-close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 15px;
  padding: 4px 10px; background: var(--paper);
}

/* ---------- 5. フレーバー ---------- */
.flavor-rail-wrap { margin-top: clamp(56px, 6vw, 96px); }
.flavor-rail {
  display: flex;
  gap: clamp(16px, 1.8vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad)));
  padding-inline: max(var(--pad), calc((100vw - 1440px) / 2 + var(--pad)));
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--ink) transparent;
  outline: none;
}
.flavor-rail::-webkit-scrollbar { height: 2px; }
.flavor-rail::-webkit-scrollbar-thumb { background: var(--ink); }
.flavor {
  flex: 0 0 clamp(210px, 21vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.flavor-img { aspect-ratio: 1 / 1; overflow: hidden; background: #ECE7DF; }
.flavor-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.flavor:hover .flavor-img img { transform: scale(1.04); }
.flavor-en {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: .02em;
}
.flavor-ja { margin-top: 4px; font-size: 13.5px; font-weight: 500; }
.rail-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(20,20,20,.35);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.rail-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- 6. MISSION / VISION / VALUES（案） ---------- */
.mvv-label { display: flex; align-items: center; gap: 0; font-weight: 400; }
.mvv-label .dot { transform: none; }
.mvv-ja { font-family: "Cormorant Garamond", "Noto Sans JP", serif; font-size: 14px; letter-spacing: .22em; color: var(--ink); }
.pull-quote { position: relative; margin-top: 28px; padding-top: 48px; }
.pull-quote .quote-mark {
  position: absolute;
  top: -10px; left: -6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 120px;
  line-height: 1;
  color: var(--berry);
}
.pull-quote p {
  font-size: clamp(27px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .06em;
}
.vision {
  margin-top: clamp(72px, 8vw, 120px);
  padding-top: 28px;
  border-top: 1px solid var(--hair);
  row-gap: 16px;
}
.vision-text { font-size: clamp(19px, 1.8vw, 26px); font-weight: 500; line-height: 1.7; }
.values { margin-top: clamp(64px, 7vw, 104px); }
.values-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.value {
  display: grid;
  grid-template-rows: auto auto 1fr;
  row-gap: 10px;
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
@media (min-width: 768px) {
  .values-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: clamp(20px, 2.4vw, 40px); }
  .value { grid-row: span 3; grid-template-rows: subgrid; }
}
.value-no { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 18px; color: var(--stone); line-height: 1; }
.value-title { font-size: clamp(18px, 1.5vw, 21px); }
.value-text { font-size: 13.5px; line-height: 1.9; color: rgba(20,20,20,.8); }

/* ---------- 7. アイスができるまで ---------- */
.process {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.step {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 12px;
  padding: 22px 0 24px;
  border-top: 1px solid var(--hair);
}
.step-no { grid-row: span 2; display: flex; flex-direction: column; gap: 4px; }
.step-no .en-label { color: var(--stone); font-size: 13px; }
.en-num-sm { font-family: "Cormorant Garamond", serif; font-size: 44px; line-height: 1; font-variant-numeric: lining-nums; }
.step-title { font-size: 19px; }
.step-text { margin-top: 6px; font-size: 13.5px; line-height: 1.9; color: rgba(20,20,20,.8); }
.process::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 1px; width: 100%;
  background: var(--berry);
  transform: scaleX(var(--progress, 1));
  transform-origin: left;
  z-index: 1;
}
@media (min-width: 768px) {
  .process { grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: clamp(16px, 2vw, 32px); }
  .step { grid-row: span 3; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; row-gap: 10px; padding: 26px 0 0; border-top: 0; }
  .step-no { grid-row: auto; flex-direction: row; align-items: baseline; gap: 12px; }
  .step-text { margin-top: 0; }
  .process::after {
    content: "";
    position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: var(--hair);
  }
}

/* ---------- 8. お知らせ ---------- */
.news-list { border-bottom: 1px solid var(--hair); }
.news {
  display: grid;
  gap: 4px;
  padding: 24px 0;
  border-top: 1px solid var(--hair);
}
@media (min-width: 768px) { .news { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; align-items: baseline; } }
.news-date { font-variant-numeric: lining-nums; font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 17px; letter-spacing: .04em; }
.news-text { font-size: 14px; line-height: 1.9; }

/* ---------- 9. お店の情報 ---------- */
.contact { padding-bottom: clamp(96px, 10vw, 160px); }
.contact-title { font-size: clamp(30px, 3.3vw, 48px); letter-spacing: .07em; }
.contact .btn { min-width: min(100%, 300px); }
.consumer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  max-width: 34em;
}

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--ink); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 40px;
  padding-bottom: 88px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; letter-spacing: .08em; }
.footer-links a:hover { color: var(--berry); }

/* ---------- 10案の一覧へ ---------- */
.back-link {
  position: fixed;
  left: 14px; bottom: 14px;
  z-index: 60;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 6px 10px;
  color: var(--stone);
  background: rgba(247, 244, 239, .92);
  border: 1px solid var(--hair);
  transition: color .3s;
}
.back-link:hover { color: var(--ink); }

/* =========================================================
   動き（JS が動くときだけ初期状態を隠す。一定時間で必ず表示）
   ========================================================= */
html.js .fade {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 1.1s var(--ease-out) var(--delay, 0s), transform 1.1s var(--ease-out) var(--delay, 0s);
}
html.js .fade.is-in { opacity: 1; transform: none; }

/* 写真が上から下へ開く */
html.js .reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.35s var(--ease-reveal) var(--delay, 0s);
}
html.js .reveal > img { --s: 1.18; }
html.js .reveal.is-in { clip-path: inset(0 0 0 0); }
html.js .reveal.is-in > img { --s: 1.08; }

/* できるまでの赤い線が伸びる */
html.js .process { --progress: 0; }
html.js .process::before { transition: transform 2.2s var(--ease-out) .2s; }
html.js .process.is-in { --progress: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .fade, html.js .reveal, html.js .reveal > img, .ratio-4-5 > img, .ratio-3-4 > img, .ratio-3-2 > img, .ratio-2-3 > img, .ratio-16-9 > img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  html.js .process { --progress: 1; }
  html.js .process::before { transition: none; }
  .cursor-label { display: none !important; }
  .scene-frame > img:not(.is-active) { opacity: 0 !important; }
  .work .reveal { cursor: pointer !important; }
}

/* 白い余白の入った写真は少し内側を使う */
.crop-in > img { left: -3%; width: 113%; }
