/* =========================================================
   ARPEGGIO indigo — style.css
   配色・文字・余白はすべて :root の変数で管理しています。
   ========================================================= */

:root {
  /* color */
  --c-bg: #ffffff;
  --c-bg-sub: #f2f3f5;
  --c-bg-sub2: #f6f7f8;
  --c-text: #333333;
  --c-text-strong: #222222;
  --c-text-mute: #666a70;
  --c-line: #d9dce0;
  --c-accent: #3e5470;        /* 藍に寄せた青灰 */
  --c-accent-soft: #8e9db0;   /* ボタンhover */
  --c-dark: #20252c;          /* メニュー・タブ・濃い面 */
  --c-white: #ffffff;
  --c-ph: #dfe4ea;            /* プレースホルダー */

  /* font */
  --f-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-item: "BIZ UDPMincho", "Shippori Mincho", serif;
  --f-num: "Prompt", "Helvetica Neue", Arial, sans-serif;
  --f-logo: "Cormorant Garamond", "Shippori Mincho", serif;

  /* layout */
  --inner: 1280px;
  --gutter: clamp(20px, 6vw, 96px);
  --sec-space: clamp(112px, 14vw, 200px);
  --header-h: 100px;

  /* motion */
  --ease-soft: cubic-bezier(0.4, 0.4, 0, 1);
  --ease-out: cubic-bezier(0.39, 0.575, 0.565, 1);
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-serif);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 540px) { body { font-size: 14px; } }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--c-dark); color: #fff; padding: 8px 16px; font-size: 14px; }
.skip:focus { top: 12px; }

.inner { width: 100%; max-width: calc(var(--inner) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.inner--narrow { max-width: calc(960px + var(--gutter) * 2); }
.sp-only { display: none; }
@media (max-width: 540px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  color: var(--c-text-strong);
  transition: color .5s var(--ease-soft);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
body.is-on-dark .header { color: var(--c-white); }
.header__logo { display: block; width: 190px; line-height: 0; }
.header__logo svg, .header__logo img { width: 100%; height: auto; }
.header__right { display: flex; align-items: center; gap: 28px; }
.header__shop { font-size: 14px; letter-spacing: .04em; white-space: nowrap; transition: opacity .3s ease-in-out; }
@media (max-width: 360px) { .header__shop { display: none; } }
.header__shop:hover { opacity: .4; }
.burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 24px; height: 1px; background: currentColor; transition: transform .4s var(--ease-soft), opacity .3s; }
.burger:hover span:first-child { transform: translateX(-4px); }
@media (max-width: 768px) {
  .header { padding: 0 16px 0 20px; }
  .header__logo { width: 150px; }
  .header__right { gap: 12px; }
  .header__shop { font-size: 13px; }
}

/* ---------- fixed side nav (left) / contact tab (right) ---------- */
.sidenav {
  position: fixed; left: 0; top: 0; z-index: 50;
  width: 80px; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-text-strong);
  transition: color .5s var(--ease-soft), opacity 1s ease-in-out .6s;
}
body.is-on-dark .sidenav { color: var(--c-white); }
.sidenav ul { writing-mode: vertical-rl; display: flex; gap: 24px; font-size: 12px; letter-spacing: .1em; }
.sidenav a { position: relative; transition: opacity .3s ease-in-out; }
.sidenav a:hover { opacity: .4; }
.sidenav a::before { content: ""; position: absolute; left: -10px; top: .55em; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity .3s; }
.sidenav a.is-current::before { opacity: 1; }
.contact-tab {
  position: fixed; right: 0; top: 64%; z-index: 50;
  writing-mode: vertical-rl;
  background: var(--c-dark); color: var(--c-white);
  font-size: 12px; letter-spacing: .12em;
  padding: 22px 13px;
  transition: background-color .3s ease-in-out;
}
.contact-tab:hover { background: var(--c-accent); }
@media (max-width: 1023px) { .sidenav { display: none; } }
/* スマホでは本文に重なるため非表示（メニュー内の Contact Us から問い合わせ可能） */
@media (max-width: 540px) { .contact-tab { display: none; } }

/* ---------- drawer menu ---------- */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .5s var(--ease-soft); }
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; right: 0; top: 0; height: 100%;
  width: min(560px, 88vw);
  background: var(--c-dark); color: #e9ecef;
  padding: 28px clamp(28px, 6vw, 72px) 48px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .6s var(--ease-soft);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.drawer__brand { color: #fff; line-height: 0; }
.drawer__brand svg { width: 180px; height: auto; }
.drawer__brand small { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .14em; line-height: 1.6; color: #aab3be; }
.drawer__close { width: 44px; height: 44px; position: relative; margin: -8px -10px 0 0; }
.drawer__close::before, .drawer__close::after { content: ""; position: absolute; left: 10px; top: 21px; width: 24px; height: 1px; background: #fff; transform: rotate(18deg); }
.drawer__close::after { transform: rotate(-18deg); }
.drawer__nav a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 18px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-size: 15px; letter-spacing: .06em;
  transition: opacity .3s ease-in-out;
}
.drawer__nav a small { font-size: 11px; color: #aab3be; letter-spacing: .1em; }
.drawer__nav a:hover { opacity: .4; }
.drawer__cta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 40px; padding: 16px; border: 1px solid rgba(255, 255, 255, .5); font-size: 14px; letter-spacing: .08em; transition: background-color .3s ease-in-out, color .3s; }
.drawer__cta:hover { background: #fff; color: var(--c-dark); }
.drawer__sns { display: flex; justify-content: center; gap: 24px; margin-top: 32px; }
.drawer__sns a { width: 24px; height: 24px; transition: opacity .3s; }
.drawer__sns a:hover { opacity: .4; }
.drawer .drawer__panel > * { opacity: 0; transform: translateX(12px); transition: opacity .5s ease-in-out, transform .5s var(--ease-soft); }
.drawer.is-open .drawer__panel > * { opacity: 1; transform: none; transition-delay: .25s; }
body.is-locked { overflow: hidden; }

/* ---------- section head (英字ラベル＋日本語) ---------- */
.sec-head { text-align: center; margin-bottom: clamp(56px, 8vw, 104px); }
.sec-head__en {
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400; letter-spacing: .4em; line-height: 1.4;
  margin-right: -.4em; /* 字間ぶんの右ずれを補正 */
  color: var(--c-text);
}
.sec-head__ja {
  margin-top: 6px;
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 400; letter-spacing: .4em; margin-right: -.4em;
  color: var(--c-text);
}
@media (max-width: 400px) {
  .sec-head__en { font-size: 22px; letter-spacing: .26em; margin-right: -.26em; }
  .sec-head__ja { letter-spacing: .28em; margin-right: -.28em; }
}
.sec-head--left { text-align: left; }
.sec-head--light .sec-head__en, .sec-head--light .sec-head__ja { color: #fff; }
.label { font-size: 13px; letter-spacing: .24em; color: var(--c-accent); }
.label--num { font-family: var(--f-num); font-weight: 300; }

/* ---------- buttons ---------- */
.btn-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-width: 200px; padding: 12px 32px;
  border: 1px solid rgba(0, 0, 0, .5); border-radius: 999px;
  font-size: 15px; font-weight: 400; letter-spacing: .02em; line-height: 1.4;
  color: var(--c-text-strong); background: transparent;
  transition: background-color .3s ease-in-out, border-color .3s ease-in-out, color .3s ease-in-out;
}
.btn-pill:hover { background: var(--c-accent-soft); border-color: var(--c-accent-soft); color: #fff; }
.btn-pill--light { color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  width: 100%; max-width: 400px; padding: 18px 24px;
  background: var(--c-dark); color: #fff; font-size: 15px; letter-spacing: .08em;
  transition: background-color .3s ease-in-out;
}
.btn-dark:hover { background: var(--c-accent); }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 56px; }
.ext::after { content: "↗"; font-family: var(--f-num); font-size: .85em; }

/* ---------- placeholder (写真準備中) ---------- */
.ph {
  position: relative; display: grid; place-items: center;
  background: linear-gradient(135deg, #e3e8ee 0%, #cdd6e1 100%);
  color: #56677d; text-align: center; overflow: hidden;
}
.ph::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(62, 84, 112, .25); }
.ph { aspect-ratio: 4 / 5; width: 100%; }
.photo-pair .ph { aspect-ratio: 3 / 2; }
.ph span { position: relative; font-size: 12px; letter-spacing: .14em; line-height: 1.8; padding: 0 16px; }
.ph span small { display: block; font-family: var(--f-num); font-weight: 300; font-size: 10px; letter-spacing: .06em; opacity: .8; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0e1520; color: #fff; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active { z-index: 2; opacity: 1; animation: slideIn 4s linear both; }
.hero__slide.is-prev { z-index: 1; opacity: 1; }
@keyframes slideIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(10, 16, 26, .28) 0%, rgba(10, 16, 26, .18) 45%, rgba(10, 16, 26, .45) 100%); pointer-events: none; }
.hero__body {
  position: relative; z-index: 4; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(32px, 6vh, 64px);
  padding: calc(var(--header-h) * .6) 20px 40px;
}
.hero__copy {
  writing-mode: vertical-rl;
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 500;
  letter-spacing: .32em; line-height: 1.9;
  text-shadow: 0 0 24px rgba(0, 0, 0, .25);
}
.hero__brand { text-align: center; }
.hero__logo { width: clamp(200px, 22vw, 300px); margin: 0 auto; color: #fff; line-height: 0; }
.hero__collab { margin-top: 14px; font-size: 12px; letter-spacing: .32em; margin-right: -.32em; }
.hero__scroll { position: absolute; left: 50%; bottom: 0; z-index: 4; width: 1px; height: 64px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.hero__scroll::after { content: ""; position: absolute; left: 0; top: -64px; width: 1px; height: 64px; background: #fff; animation: scrollLine 2.4s var(--ease-soft) infinite; }
@keyframes scrollLine { to { top: 64px; } }
.hero__credit { position: absolute; right: 20px; bottom: 14px; z-index: 4; font-size: 11px; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }

/* 読み込み演出 */
.js .hero__slides, .js .hero__body { opacity: 0; }
.is-ready .hero__slides { animation: heroIn 2s ease-in-out forwards; }
.is-ready .hero__copy, .is-ready .hero__brand { animation: blurScaleIn 2s linear both; }
.is-ready .hero__brand { animation-delay: .5s; }
.is-ready .hero__body { opacity: 1; }
.js .header, .js .sidenav { opacity: 0; }
.is-ready .header, .is-ready .sidenav { opacity: 1; transition: opacity 1s ease-in-out .6s, color .5s var(--ease-soft); }
@keyframes heroIn { from { opacity: 0; filter: blur(32px); } to { opacity: 1; filter: none; } }
@keyframes blurScaleIn { from { opacity: 0; filter: blur(8px); transform: scale(1.05); } to { opacity: 1; filter: none; transform: none; } }

/* =========================================================
   scroll reveal
   ========================================================= */
.js .rv { opacity: 0; }
.js .rv.is-in { animation: blurIn 2s linear forwards; }
.js .rv--scale.is-in { animation-name: blurScaleIn; }
.js .rv--up { opacity: 0; transform: translateY(20px); }
.js .rv--up.is-in { animation: upIn .5s var(--ease-out) .5s forwards; }
.js .rv--btn { opacity: 0; transform: translateY(12px); }
.js .rv--btn.is-in { animation: upIn .6s ease-in-out .2s forwards; }
.js .rv--section.is-in { animation: sectionIn 2s ease-in-out forwards; }
@keyframes blurIn { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: none; } }
@keyframes upIn { to { opacity: 1; transform: none; } }
@keyframes sectionIn { from { opacity: 0; filter: blur(30px); } to { opacity: 1; filter: none; } }
.rv-d1.is-in { animation-delay: .15s !important; }
.rv-d2.is-in { animation-delay: .3s !important; }
.rv-d3.is-in { animation-delay: .45s !important; }

/* =========================================================
   STORY
   ========================================================= */
.section { padding: var(--sec-space) 0; }
.section--sub { background: var(--c-bg-sub); }
.story__grid {
  display: grid; grid-template-columns: 1fr auto; gap: clamp(40px, 8vw, 140px);
  align-items: start; max-width: 1000px; margin: 0 auto;
}
.story__title {
  writing-mode: vertical-rl; grid-column: 2; grid-row: 1;
  font-size: clamp(26px, 3vw, 44px); font-weight: 400;
  letter-spacing: .32em; line-height: 1.7; color: var(--c-text-strong);
}
.story__text { grid-column: 1; grid-row: 1; padding-top: clamp(40px, 8vw, 120px); max-width: 560px; justify-self: end; }
.story__text p { line-height: 2.2; }
.story__text p + p { margin-top: 1.4em; }
.story__sign { margin-top: 48px !important; font-size: 13px; letter-spacing: .28em; color: var(--c-accent); }
@media (max-width: 768px) {
  .story__grid { grid-template-columns: 1fr; gap: 56px; }
  .story__title { grid-column: 1; justify-self: center; font-size: 24px; }
  .story__text { grid-column: 1; grid-row: 2; padding-top: 0; justify-self: stretch; }
  .story__text p { line-height: 2.1; }
}

/* =========================================================
   MARQUEE (写真の横流し)
   ========================================================= */
.marquee { overflow: hidden; padding-bottom: var(--sec-space); }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-dur, 300s) linear infinite; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; }
.marquee__set picture { height: clamp(220px, 37.5vw, 540px); aspect-ratio: 3 / 2; flex: none; overflow: hidden; }
.marquee__set img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease-in-out; }
.marquee__set picture:hover img { filter: brightness(.9); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   CHAPTERS (Kamiita & Awa-ai / Craft)
   ========================================================= */
.chapters { display: grid; gap: clamp(120px, 16vw, 240px); max-width: 1000px; margin: 0 auto; }
.chapter { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.chapter__img, .chapter__body { will-change: opacity; }
.chapter--rev { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.chapter--rev .chapter__img { order: 2; }
.chapter__img { position: relative; }
.chapter__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.chapter__img figcaption { margin-top: 10px; font-size: 11px; letter-spacing: .06em; color: var(--c-text-mute); }
.chapter__title { font-size: clamp(20px, 2.1vw, 28px); font-weight: 500; line-height: 1.6; letter-spacing: .04em; color: var(--c-text-strong); margin-left: -.5em; }
.chapter__text { margin-top: 28px; }
.chapter__text p + p { margin-top: 1.2em; }
.chapter__no { display: block; margin-bottom: 18px; }
.lore { margin-top: 32px; border-top: 1px solid var(--c-line); }
.lore li { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; line-height: 1.8; }
.lore b { font-weight: 500; color: var(--c-accent); letter-spacing: .06em; }
.chapters + .sec-head { margin-top: var(--sec-space); }
@media (max-width: 768px) {
  .chapter, .chapter--rev { grid-template-columns: 1fr; gap: 28px; }
  .chapter--rev .chapter__img { order: 0; }
  .chapter__img { width: 78%; }
  .chapter--rev .chapter__img { justify-self: end; }
  .chapter__title { margin-left: -.4em; }
  .lore li { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
}

/* =========================================================
   INTERLUDE (全面写真＋縦書き)
   ========================================================= */
.interlude { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: #fff; background: #111a26; }
.interlude picture, .interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 32, .45); }
.interlude__text { position: relative; z-index: 2; writing-mode: vertical-rl; display: flex; gap: 2.2em; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: .3em; line-height: 2.2; padding: 120px 20px; }
.interlude__text strong { font-size: 1.5em; font-weight: 500; letter-spacing: .24em; }
.interlude__credit { position: absolute; right: 20px; bottom: 14px; z-index: 2; font-size: 11px; color: rgba(255, 255, 255, .75); }

/* =========================================================
   COLLECTION
   ========================================================= */
.group-head { display: flex; align-items: baseline; gap: 20px; margin-bottom: 40px; padding-bottom: 14px; border-bottom: 1px solid var(--c-line); }
.group-head h3 { font-size: 20px; font-weight: 500; letter-spacing: .12em; }
.group-head p { font-size: 13px; color: var(--c-text-mute); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; max-width: 1000px; margin: 0 auto; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.card { display: block; transition: opacity .3s ease-in-out; }
a.card:hover { opacity: .4; }
.card__img { overflow: hidden; background: #f5f5f5; aspect-ratio: 4 / 5; }
.card__img picture { height: 100%; }
.card__img img, .card__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
a.card:hover .card__img img { transform: scale(1.1); }
.card__name { margin-top: 16px; font-family: var(--f-item); font-size: 15px; line-height: 1.6; color: var(--c-text-strong); }
.card__name small { display: block; font-family: var(--f-num); font-weight: 300; font-size: 12px; letter-spacing: .08em; color: var(--c-text-mute); }
.card__price { margin-top: 6px; font-family: var(--f-num); font-weight: 300; font-size: 15px; }
.card__price small { font-size: 12px; margin-left: .3em; }
.card__soon { margin-top: 6px; font-family: var(--f-num); font-weight: 300; font-size: 13px; letter-spacing: .14em; color: var(--c-accent); }
@media (max-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; }
  .card__name { font-size: 14px; }
}

.spec { max-width: 820px; margin: 72px auto 0; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.spec__row { display: grid; grid-template-columns: 9em 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.spec__row dt { font-size: 14px; letter-spacing: .14em; color: var(--c-text-mute); }
.spec__row dd { font-size: 15px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-num); font-weight: 300; }
.sizes li { min-width: 48px; padding: 4px 10px; border: 1px solid var(--c-line); text-align: center; font-size: 14px; }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.swatch figure { margin: 0; }
.swatch img { width: 100%; aspect-ratio: 215 / 70; object-fit: cover; }
.swatch figcaption { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.swatch figcaption b { display: block; font-family: var(--f-num); font-weight: 300; font-size: 13px; letter-spacing: .08em; color: var(--c-text-strong); }
@media (max-width: 540px) {
  .spec__row { grid-template-columns: 1fr; gap: 10px; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
}
.owners { margin-top: clamp(96px, 12vw, 160px); }
.owners__lead { max-width: 820px; margin: 0 auto 40px; }
.wear { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 820px; margin: 64px auto 0; }
.wear figure { margin: 0; }
.wear img, .wear .ph { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.wear figcaption { margin-top: 10px; font-size: 12px; color: var(--c-text-mute); }
@media (max-width: 540px) { .wear { grid-template-columns: 1fr; } }

/* =========================================================
   WORKSHOP
   ========================================================= */
.banner { position: relative; display: block; max-width: var(--inner); margin: 0 auto; height: clamp(220px, 28vw, 360px); overflow: hidden; color: #fff; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: filter .3s ease-in-out; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 22, 34, .55) 0%, rgba(14, 22, 34, .1) 70%); }
.banner:hover img { filter: brightness(.9); }
.banner__body { position: absolute; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); z-index: 2; }
.banner__body .label { color: #dfe6ee; }
.banner__body h3 { margin-top: 8px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 400; letter-spacing: .2em; line-height: 1.6; }
.banner__body h3 small { display: block; font-size: 13px; letter-spacing: .14em; opacity: .85; }
.banner__credit { position: absolute; right: 12px; bottom: 8px; z-index: 2; font-size: 10px; opacity: .8; }

.split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); max-width: 1000px; margin: clamp(64px, 8vw, 104px) auto 0; align-items: start; }
.split__side { position: sticky; top: calc(var(--header-h) + 20px); }
.split__side h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: .3em; color: var(--c-accent); line-height: 1.5; }
.split__side h3 small { display: block; font-size: 12px; letter-spacing: .14em; color: var(--c-text-mute); font-weight: 400; }
.split__side figure { margin: 24px 0 0; }
.split__side figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__side figcaption { margin-top: 8px; font-size: 11px; color: var(--c-text-mute); }
.split__main > * + * { margin-top: 48px; }
.split__main h4 { font-size: 18px; font-weight: 500; letter-spacing: .1em; margin-bottom: 18px; color: var(--c-text-strong); }
.facts { border-top: 1px solid var(--c-line); }
.facts div { display: grid; grid-template-columns: 7em 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.facts dt { color: var(--c-text-mute); font-size: 14px; letter-spacing: .08em; }
.steps li { display: flex; gap: 14px; align-items: baseline; padding: 6px 0; font-size: 15px; }
.steps li span { flex: none; font-family: var(--f-num); font-weight: 300; font-size: 13px; letter-spacing: .1em; color: var(--c-accent); }
.steps li span::after { content: " ──"; letter-spacing: 0; }
.note-box { background: var(--c-bg-sub2); padding: 24px 28px; font-size: 14px; line-height: 1.9; }
.section--sub .note-box { background: #fff; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-pair figcaption { grid-column: 1 / -1; font-size: 11px; color: var(--c-text-mute); }
@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
  .split__side { position: static; }
  .facts div { grid-template-columns: 1fr; gap: 2px; font-size: 14px; }
}

/* =========================================================
   NEWS
   ========================================================= */
.news { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.news__item { padding: 32px 0; border-bottom: 1px solid var(--c-line); }
.news__meta { display: flex; align-items: center; gap: 14px; font-family: var(--f-num); font-weight: 300; font-size: 13px; letter-spacing: .08em; color: var(--c-text-mute); }
.news__tag { font-family: var(--f-serif); font-size: 11px; letter-spacing: .1em; padding: 2px 10px; border: 1px solid var(--c-accent); color: var(--c-accent); }
.news__title { margin-top: 12px; font-size: 17px; font-weight: 500; line-height: 1.7; color: var(--c-text-strong); }
.news__body { margin-top: 10px; font-size: 15px; }
.news__link { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--c-accent); border-bottom: 1px solid currentColor; transition: opacity .3s ease-in-out; }
.news__link:hover { opacity: .4; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { text-align: center; }
.contact__lead { line-height: 2.1; }
.contact__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 640px; margin: 40px auto 0; }
.contact__types li { padding: 6px 16px; background: #fff; font-size: 14px; letter-spacing: .04em; }
.contact .btn-dark { margin-top: 48px; }
.contact__sub { margin-top: 24px; font-size: 14px; }
.contact__sub a { border-bottom: 1px solid currentColor; transition: opacity .3s; }
.contact__sub a:hover { opacity: .4; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { padding: 96px 0 32px; border-top: 1px solid var(--c-line); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.footer__logo { width: 220px; color: var(--c-text-strong); line-height: 0; }
.footer__collab { margin-top: 16px; font-size: 12px; letter-spacing: .24em; }
.footer__about { margin-top: 20px; font-size: 13px; line-height: 2; color: var(--c-text-mute); }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; font-size: 14px; }
.footer__links a { display: inline-block; padding: 6px 0; transition: opacity .3s ease-in-out; }
.footer__links a:hover { opacity: .4; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; font-size: 12px; color: var(--c-text-mute); }
@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__links { grid-template-columns: 1fr; }
}

/* =========================================================
   SUB PAGES
   ========================================================= */
.page-head { padding: calc(var(--header-h) + clamp(64px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); text-align: center; background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%); }
.page-head .sec-head { margin-bottom: 0; }
.page-head__lead { margin-top: 32px; font-size: 15px; line-height: 2; }
.crumb { font-size: 12px; letter-spacing: .08em; color: var(--c-text-mute); padding-top: 24px; }
.crumb a { border-bottom: 1px solid currentColor; }
.press-dl { border-top: 1px solid var(--c-line); }
.press-dl div { display: grid; grid-template-columns: 10em 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.press-dl dt { color: var(--c-text-mute); font-size: 14px; letter-spacing: .1em; }
@media (max-width: 540px) { .press-dl div { grid-template-columns: 1fr; gap: 4px; font-size: 14px; } }
.timeline li { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--c-line); font-size: 15px; }
.timeline time { font-family: var(--f-num); font-weight: 300; font-size: 14px; color: var(--c-accent); }
@media (max-width: 540px) { .timeline li { grid-template-columns: 1fr; gap: 0; font-size: 14px; } }

/* =========================================================
   視差効果を減らす設定：動きをすべて止める
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv--up, .js .rv--btn, .js .hero__slides, .js .hero__body, .js .header, .js .sidenav { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__slide:first-child { opacity: 1; }
  .chapter__img, .chapter__body { opacity: 1 !important; }
  .marquee { overflow-x: auto; }
  .hero__scroll { display: none; }
}
.wear .ph.ph--wide { aspect-ratio: 16 / 9; }

/* 写真が1枚だけのときも中央に揃える */
.wear { grid-template-columns: repeat(auto-fit, minmax(0, 400px)); justify-content: center; }
@media (max-width: 540px) { .wear { grid-template-columns: 1fr; } }
.photo-one { margin: 0; }
.photo-one img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-one figcaption { margin-top: 8px; font-size: 11px; color: var(--c-text-mute); }

/* 飼い主用（Coming soon）の一覧 */
.soon-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.soon-list li { display: flex; flex-direction: column; gap: 4px; padding: 28px 20px; border-bottom: 1px solid var(--c-line); font-family: var(--f-item); font-size: 16px; color: var(--c-text-strong); }
.soon-list li + li { border-left: 1px solid var(--c-line); }
.soon-list small { font-family: var(--f-num); font-weight: 300; font-size: 12px; letter-spacing: .08em; color: var(--c-text-mute); }
.soon-list span { margin-top: 10px; font-family: var(--f-num); font-weight: 300; font-size: 12px; letter-spacing: .16em; color: var(--c-accent); }
@media (max-width: 540px) {
  .soon-list { grid-template-columns: 1fr; }
  .soon-list li { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 18px 4px; }
  .soon-list li + li { border-left: 0; }
  .soon-list span { margin: 0 0 0 auto; }
}

/* 問い合わせボタン（フォーム／Instagram DM） */
.contact__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.contact__btns .btn-dark { flex: 1 1 260px; max-width: 340px; }
.btn-dark--line { background: transparent; color: var(--c-dark); border: 1px solid var(--c-dark); }
.btn-dark--line:hover { background: var(--c-dark); color: #fff; }

/* 実物写真（藍の濃淡と染め模様の一例） */
.range-photo { max-width: 820px; margin: 48px auto 0; }
.range-photo img { width: 100%; height: auto; }
.range-photo figcaption { margin-top: 10px; font-size: 12px; line-height: 1.7; color: var(--c-text-mute); }

/* 飼い主用（Tシャツ・ロンT）は2品目 */
.soon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
@media (max-width: 540px) { .soon-list { grid-template-columns: 1fr; } }

/* 工程期間の注記 */
.period-note { margin-top: 24px; font-size: 12px; line-height: 1.8; color: var(--c-text-mute); }

/* 購入前ガイド（開閉式） */
.guide { border-top: 1px solid var(--c-line); }
.guide details { border-bottom: 1px solid var(--c-line); }
.guide summary { position: relative; list-style: none; cursor: pointer; padding: 22px 40px 22px 4px; font-size: 16px; letter-spacing: .06em; color: var(--c-text-strong); transition: opacity .3s ease-in-out; }
.guide summary::-webkit-details-marker { display: none; }
.guide summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-family: var(--f-num); font-weight: 300; font-size: 20px; color: var(--c-accent); transition: transform .3s var(--ease-soft); }
.guide details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.guide summary:hover { opacity: .6; }
.guide details > div { padding: 0 4px 26px; font-size: 15px; }
.guide details > div p + p { margin-top: 10px; }
.guide__link { color: var(--c-accent); border-bottom: 1px solid currentColor; font-size: 14px; }

/* フッターの規約リンク */
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer__legal a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__legal a:hover { border-bottom-color: currentColor; }

/* =========================================================
   言語の切り替え（日本語 ⇄ English）2026.11.10
   ========================================================= */
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; /* 押せる範囲 44px 四方（HIG） */
  font-family: var(--f-num); font-weight: 300; font-size: 13px; letter-spacing: .12em;
  transition: opacity .3s ease-in-out;
}
.lang-switch:hover { opacity: .4; }
.drawer__lang { display: flex; align-items: center; gap: 4px; margin-top: 8px; font-size: 14px; letter-spacing: .06em; }
.drawer__lang a, .drawer__lang span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.drawer__lang a:first-child, .drawer__lang span:first-child { padding-left: 0; }
.drawer__lang [aria-current] { color: var(--c-accent); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.drawer__lang a { transition: opacity .3s ease-in-out; }
.drawer__lang a:hover { opacity: .4; }
@media (max-width: 420px) {
  .header__logo { width: 128px; }
  .header__right { gap: 6px; }
}

/* =========================================================
   English pages（html lang="en"）
   縦書き・広い字間は日本語のためのもの。英語では横書きにして字間を詰める
   ========================================================= */
html[lang="en"] { --f-serif: "Cormorant Garamond", "Shippori Mincho", "Hiragino Mincho ProN", serif; }
html[lang="en"] body { font-size: 18px; line-height: 1.75; font-weight: 500; }
@media (max-width: 540px) { html[lang="en"] body { font-size: 17px; } }
html[lang="en"] [lang="ja"] { font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif; }
html[lang="en"] .hero__copy { font-size: clamp(20px, 2vw, 26px); }
.hero__copy-en {
  margin-top: calc(clamp(32px, 6vh, 64px) * -.5);
  font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 400;
  font-size: clamp(17px, 1.6vw, 21px); letter-spacing: .04em;
  text-shadow: 0 0 24px rgba(0, 0, 0, .3);
}
.js .hero__copy-en { opacity: 0; }
.is-ready .hero__copy-en { opacity: 1; animation: blurScaleIn 2s linear .25s both; }
html[lang="en"] .story__grid { grid-template-columns: 1fr; gap: 40px; max-width: 760px; }
html[lang="en"] .story__title {
  writing-mode: horizontal-tb; grid-column: 1; grid-row: 1;
  font-size: clamp(30px, 3.6vw, 46px); letter-spacing: .01em; line-height: 1.25; font-weight: 500; text-wrap: balance;
}
html[lang="en"] .story__text { grid-row: 2; padding-top: 0; justify-self: start; max-width: 620px; }
html[lang="en"] .story__text p { line-height: 1.85; }
html[lang="en"] .chapter__title { margin-left: 0; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.3; letter-spacing: .01em; }
html[lang="en"] .interlude__text {
  writing-mode: horizontal-tb; flex-direction: column; align-items: center; text-align: center;
  gap: .3em; letter-spacing: .04em; line-height: 1.5; font-size: clamp(18px, 1.8vw, 24px);
}
html[lang="en"] .interlude__text strong { font-size: 1.7em; letter-spacing: .01em; margin-bottom: .4em; font-style: italic; font-weight: 500; }
html[lang="en"] .interlude__text span:last-child { margin-top: 1em; font-size: 12px; letter-spacing: .3em; }
html[lang="en"] .split__side h3 { letter-spacing: .02em; line-height: 1.25; }
html[lang="en"] .banner__body h3 { letter-spacing: .04em; }
html[lang="en"] .lore li { grid-template-columns: 6.5em 1fr; font-size: 17px; }
html[lang="en"] .news__tag { font-family: var(--f-num); letter-spacing: .08em; }
html[lang="en"] .page-head__lead { line-height: 1.8; }

/* =========================================================
   仕上げの動き（2026.11.13）
   本体サイト ARPEGGIO と動きの作法をそろえる（色は藍のまま）。
   JS が <html class="fx"> を付けたときだけ動く。「動きを減らす」設定では付かない。
   ========================================================= */
:root { --ease-lux: cubic-bezier(.16, 1, .3, 1); }

/* 章の見出し：下から静かにせり上がる */
.fx .sec-head__en.line { display: block; overflow: hidden; overflow: clip; padding-block: .12em; }
.fx .sec-head__en .line-in { display: block; transform: translate3d(0, 115%, 0); transition: transform 1.5s var(--ease-lux) .15s; }
.fx .sec-head.is-in .line-in { transform: none; }

/* トップ：スクロールすると写真は奥へ、言葉は上へ抜けていく */
.fx .hero__slides { translate: 0 calc(var(--hero-p, 0) * 14%); scale: calc(1 + var(--hero-p, 0) * .06); }
.fx.js .is-ready .hero__body { translate: 0 calc(var(--hero-p, 0) * -90px); opacity: calc(1 - var(--hero-p, 0) * 1.7); }

/* 大きな写真の帯：中の写真がスクロールよりゆっくり動く */
.fx .interlude img, .fx .banner img { scale: 1.16; translate: 0 calc(var(--par, 0) * -6%); will-change: translate; }
.fx .chapter__img { will-change: opacity, translate; }

/* 縦書きの一文：一文字ずつ灯る */
.fx .scrub-char { opacity: clamp(.18, calc(var(--lit, 0) - var(--i)), 1); transition: opacity .25s linear; }

/* 罫線：左からすっと引かれる */
.fx .draw-line { position: relative; border-top-color: transparent; }
.fx .draw-line::after { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--c-line); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.8s var(--ease-lux) .2s; pointer-events: none; }
.fx .draw-line.is-drawn::after { transform: none; }

/* 読み進めた分だけ伸びる、細い線（暗い写真の上では白に） */
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 90; height: 2px; background: var(--c-accent); transform: scaleX(var(--read, 0)); transform-origin: 0 50%; pointer-events: none; transition: background-color .5s var(--ease-soft); }
.is-on-dark .read-progress { background: rgba(255, 255, 255, .85); }

/* 商品写真・外部リンクの矢印：カーソルを乗せたときの動きをゆったりと */
.fx .card__img img { transition: transform 1.2s var(--ease-lux); }
.ext::after { display: inline-block; transition: transform .5s var(--ease-lux); }
@media (hover: hover) { .ext:hover::after { transform: translate3d(3px, -3px, 0); } }

/* ページを移るとき、ふわりと切り替わる（対応ブラウザのみ） */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: .35s; }
  ::view-transition-new(root) { animation-duration: .55s; }
}

/* 飼い主用：着用イメージの注記 */
.owners__note { max-width: 820px; margin: 28px auto 0; font-size: 12px; line-height: 1.9; letter-spacing: .06em; color: var(--c-text-mute); }
