/* =========================================================
   hair room komorebi（デモサイト）
   テーマ：木漏れ日 — 静かで上品な和モダン
   ========================================================= */

/* ===== 基本設定 ===== */
:root {
  --paper: #f5f1ea;
  --paper-deep: #ece5da;
  --sage-tint: #e5e8de;
  --ink: #36322d;
  --ink-soft: #6b635b;
  --muted: #9a9087;
  --sage: #8a9a85;
  --sage-deep: #5c6b58;
  --line: rgba(54, 50, 45, 0.14);
  --white: #fbf9f5;
  --serif-en: "Cormorant Garamond", serif;
  --serif-ja: "Zen Old Mincho", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
  --gutter: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(0.22, 0.61, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--sage); color: var(--white); }

:focus-visible {
  outline: 1px solid var(--sage-deep);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform 0.3s;
}
.skip:focus { transform: none; }

/* ===== 写真 ===== */
.img {
  background-color: var(--paper-deep);
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) sepia(0.06) contrast(0.98);
}
.img-hero    { background-image: url("images/hero.jpg"); background-position: 62% center; }
.img-concept { background-image: url("images/concept.jpg"); background-size: auto 122%; background-position: 54% 100%; }
.img-stylist { background-image: url("images/stylist.jpg"); background-position: center 40%; }
.img-short   { background-image: url("images/style-short.jpg"); background-position: center 25%; }
.img-bob     { background-image: url("images/style-bob.jpg"); }
.img-medium  { background-image: url("images/style-medium.jpg"); background-position: center 30%; }
.img-long    { background-image: url("images/style-long.jpg"); background-position: 45% center; }

/* パララックス：枠の中で写真が少しだけ動く */
.parallax { position: absolute; inset: -8% 0; will-change: transform; }
.parallax .img { position: absolute; inset: 0; }

/* ===== オープニング ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  background: var(--paper);
  color: var(--ink);
  transition: clip-path 1.2s var(--ease-out) 0.2s, visibility 0s 1.5s;
  clip-path: inset(0 0 0 0);
}
.loader-sub {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.3em;
  color: var(--muted);
  opacity: 0;
  animation: fade-in 1s 0.2s var(--ease) forwards;
}
.loader-word {
  display: flex;
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.loader-word span {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(12px);
  animation: letter-in 1s var(--ease-out) forwards;
}
.loader-word span:nth-child(1) { animation-delay: 0.15s; }
.loader-word span:nth-child(2) { animation-delay: 0.22s; }
.loader-word span:nth-child(3) { animation-delay: 0.29s; }
.loader-word span:nth-child(4) { animation-delay: 0.36s; }
.loader-word span:nth-child(5) { animation-delay: 0.43s; }
.loader-word span:nth-child(6) { animation-delay: 0.50s; }
.loader-word span:nth-child(7) { animation-delay: 0.57s; }
.loader-word span:nth-child(8) { animation-delay: 0.64s; }
@keyframes letter-in {
  to { opacity: 1; filter: blur(0); transform: none; }
}
.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .loader,
.no-loader .loader { display: none; }

/* ===== 木漏れ日（ページ全体に揺れる葉の影） ===== */
.leaves {
  position: fixed;
  inset: -6%;
  z-index: 45;
  pointer-events: none;
  opacity: 0.075;
  mix-blend-mode: multiply;
}
.leaves svg { width: 100%; height: 100%; filter: blur(9px); }
.leaves-group {
  fill: #3e4a37;
  transform-origin: 50% 0;
  animation: sway 16s ease-in-out infinite alternate;
}
@keyframes sway {
  0%   { transform: rotate(-1.5deg) translate(0, 0); }
  50%  { transform: rotate(1deg) translate(18px, 10px); }
  100% { transform: rotate(2deg) translate(-12px, 16px); }
}

/* 紙のようなざらつき */
.grain {
  position: fixed;
  inset: 0;
  z-index: 46;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .footer { position: relative; z-index: 3; }

/* ===== カーソル（マウス操作の端末のみ） ===== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(92, 107, 88, 0.6);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: width 0.5s var(--ease-out), height 0.5s var(--ease-out), margin 0.5s var(--ease-out), background-color 0.5s var(--ease-out), opacity 0.3s;
}
.cursor-label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s;
}
.has-cursor .cursor { opacity: 1; }
.cursor.is-link { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-label {
  width: 96px;
  height: 96px;
  margin: -48px 0 0 -48px;
  border-color: transparent;
  background: rgba(92, 107, 88, 0.88);
}
.cursor.is-label .cursor-label { opacity: 1; }

/* ===== 共通 ===== */
.section { position: relative; padding: clamp(112px, 12vw, 180px) var(--gutter); }
.container { max-width: 1200px; margin: 0 auto; }

/* 画面の端に置く縦書きのラベル（番号つき） */
.side-label {
  position: absolute;
  top: clamp(112px, 12vw, 180px);
  left: calc(var(--gutter) / 2 - 8px);
  display: flex;
  align-items: center;
  gap: 14px;
  writing-mode: vertical-rl;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.side-label span {
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--sage-deep);
}
.side-label::after {
  content: "";
  width: 1px;
  height: 56px;
  background: currentColor;
  opacity: 0.5;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--sage-deep);
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: currentColor;
}

.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.title-en {
  font-family: var(--serif-en);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--sage-deep);
}
.title-ja {
  margin-top: 16px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--ink-soft);
}

.heading-ja {
  margin-top: 32px;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.85;
  letter-spacing: 0.14em;
}
.body { margin-top: 36px; color: var(--ink-soft); }
.body p + p { margin-top: 1.3em; }
.note { margin-top: 20px; font-size: 11px; color: var(--muted); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--sage-deep);
}
.link-arrow span {
  position: relative;
  width: 56px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease-out);
}
.link-arrow span::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.link-arrow:hover span { width: 84px; }

/* ===== デモ表記 ===== */
.demo-badge {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  background: rgba(54, 50, 45, 0.86);
  color: var(--white);
  border-radius: 999px;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.demo-badge span {
  padding: 2px 10px;
  background: var(--sage);
  border-radius: 999px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 12px;
}

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
  transition: padding 0.5s var(--ease), background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.header.is-scrolled {
  padding-block: 14px;
  background: rgba(245, 241, 234, 0.86);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}
.header.is-hidden { transform: translateY(-100%); }
.logo {
  display: flex;
  flex-direction: column;
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.04em;
}
.logo small {
  margin-bottom: 4px;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav a {
  position: relative;
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: 0.1em;
}
.nav a:not(.nav-reserve)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.nav a:not(.nav-reserve):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-reserve {
  display: inline-block;
  padding: 4px 26px;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  color: var(--sage-deep);
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.nav-reserve:hover { background: var(--sage-deep); color: var(--white); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ===== 文字が1字ずつ現れる演出 ===== */
[data-split] .ch {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transform: translateY(0.35em);
  transition: opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}
.hero-title.ch-vertical .ch { transform: translateY(-0.35em); }
[data-split].is-in .ch { opacity: 1; filter: blur(0); transform: none; }

/* ===== ファーストビュー ===== */
.hero {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr);
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 4vw, 72px);
  padding: 120px var(--gutter) 28px;
  max-width: 1520px;
  margin: 0 auto;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 8px;
}
.hero-en {
  font-family: var(--serif-en);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--sage-deep);
}
.hero-title {
  align-self: flex-end;
  margin-top: 40px;
  writing-mode: vertical-rl;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1.9;
  letter-spacing: 0.26em;
}
.hero-visual {
  position: relative;
  height: calc(100svh - 230px);
  min-height: 420px;
  max-height: 820px;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
  transition: clip-path 1.8s var(--ease-out) 0.3s;
}
.is-loaded .hero-visual { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.hero-visual .parallax { inset: -6% 0; }
.hero-visual .img { transform: scale(1.12); transition: transform 2.6s var(--ease-out) 0.3s; }
.is-loaded .hero-visual .img { transform: scale(1); }
/* 写真の上で揺れる光 */
.dapple {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 244, 214, 0.6) 0, transparent 20%),
    radial-gradient(circle at 72% 28%, rgba(255, 244, 214, 0.5) 0, transparent 15%),
    radial-gradient(circle at 38% 56%, rgba(255, 244, 214, 0.38) 0, transparent 17%),
    radial-gradient(circle at 82% 72%, rgba(255, 244, 214, 0.42) 0, transparent 13%);
  background-size: 120% 120%;
  mix-blend-mode: soft-light;
  animation: dapple 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes dapple {
  0%   { background-position: 0% 0%; opacity: 0.6; }
  50%  { background-position: 60% 40%; opacity: 1; }
  100% { background-position: 20% 90%; opacity: 0.75; }
}
.hero-aside {
  align-self: end;
  padding-bottom: 8px;
}
.hero-lead { margin-bottom: 36px; font-size: 14px; color: var(--ink-soft); }
.hero-meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 48px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.hero-scroll { margin-left: auto; margin-right: 200px; display: flex; align-items: center; gap: 12px; }
.hero-scroll::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: scroll-line 2.4s var(--ease) infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleX(0); transform-origin: left; }
  50%  { transform: scaleX(1); transform-origin: left; }
  51%  { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
/* オープニング後に順に表示 */
.js .hero-en,
.js .hero-aside,
.js .hero-meta { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.is-loaded .hero-en { opacity: 1; transform: none; transition-delay: 0.5s; }
.is-loaded .hero-aside { opacity: 1; transform: none; transition-delay: 1.3s; }
.is-loaded .hero-meta { opacity: 1; transform: none; transition-delay: 1.5s; }

@keyframes fade-in { to { opacity: 1; } }

/* ===== 01 CONCEPT ===== */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.concept-text { grid-column: 1 / 6; }
.concept-visual {
  grid-column: 7 / 13;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* ===== 間奏 ===== */
.interlude {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: clamp(120px, 14vw, 220px) var(--gutter);
  background: var(--sage-tint);
  text-align: center;
}
.interlude::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 30% 18% at 20% 30%, rgba(255, 250, 235, 0.9), transparent 70%),
    radial-gradient(ellipse 24% 14% at 75% 25%, rgba(255, 250, 235, 0.8), transparent 70%),
    radial-gradient(ellipse 28% 16% at 60% 75%, rgba(255, 250, 235, 0.7), transparent 70%),
    radial-gradient(ellipse 20% 12% at 30% 80%, rgba(255, 250, 235, 0.6), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(4%, 3%) rotate(3deg); }
}
.interlude-text {
  position: relative;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: clamp(26px, 3.6vw, 52px);
  line-height: 1.9;
  letter-spacing: 0.2em;
}
.interlude-en {
  position: relative;
  margin-top: 40px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.08em;
  color: var(--sage-deep);
}

/* ===== 02 FEATURES ===== */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.feature {
  position: relative;
  padding: 48px clamp(20px, 3vw, 48px) 8px;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  opacity: 0.25;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out) 0.2s;
}
.feature.is-in::before { transform: scaleX(1); }
.feature + .feature { border-left: 1px solid var(--line); }
.feature:first-child { padding-left: 0; }
.feature-num {
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: var(--sage);
}
.feature h3 {
  margin: 32px 0 18px;
  font-family: var(--serif-ja);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}
.feature p:last-child { font-size: 14px; color: var(--ink-soft); }
.feature:nth-child(2) { transition-delay: 0.12s; }
.feature:nth-child(3) { transition-delay: 0.24s; }

/* ===== 03 MENU ===== */
.menu { background: var(--white); }
.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.menu-head { position: sticky; top: 130px; }
.menu-head .title-ja { margin-bottom: 32px; }
.menu-lead { font-size: 14px; color: var(--ink-soft); }
.menu-group + .menu-group { margin-top: 64px; }
.menu-group h3 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif-en);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 0.04em;
}
.menu-group h3 span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.menu-group dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.5s var(--ease-out), color 0.4s;
}
.menu-group dl > div:hover { padding-left: 12px; color: var(--sage-deep); }
.menu-group dt small {
  margin-left: 12px;
  font-size: 11px;
  color: var(--muted);
}
.menu-group dd {
  font-family: var(--serif-en);
  font-size: 21px;
  letter-spacing: 0.04em;
}

/* ===== 04 STYLIST ===== */
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: center;
}
.stylist-visual {
  grid-column: 2 / 6;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
}
.stylist-text { grid-column: 7 / 12; }
.stylist-name {
  margin-top: 24px;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1;
}
.stylist-note { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* ===== 05 STYLE（横に流れるギャラリー） ===== */
.gallery { position: relative; z-index: 3; background: var(--paper); }
.gallery-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  grid-template-columns: clamp(280px, 28vw, 420px) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
}
.gallery-intro {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(24px, 3vw, 48px) 0 var(--gutter);
  background: linear-gradient(90deg, var(--paper) 82%, rgba(245, 241, 234, 0));
}
.side-num {
  margin-bottom: 20px;
  font-family: var(--serif-en);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--sage-deep);
}
.gallery-lead { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.gallery-viewport { overflow: hidden; padding-top: 80px; }
.gallery-track {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  width: max-content;
  padding: 0 var(--gutter) 0 clamp(16px, 2vw, 32px);
  will-change: transform;
}
.g-item { flex: 0 0 auto; }
.g-frame {
  height: min(62vh, 620px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.g-item:nth-of-type(even) .g-frame { height: min(52vh, 520px); }
.g-frame .img {
  width: 100%;
  height: 100%;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-out);
}
.g-item:hover .g-frame .img { transform: scale(1); }
.g-item figcaption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.g-item figcaption span {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}
.gallery-end { flex: 0 0 auto; padding: 0 clamp(16px, 2vw, 40px); }
.gallery-end p {
  margin-bottom: 32px;
  font-family: var(--serif-ja);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.9;
  letter-spacing: 0.12em;
}
.gallery-end p span { display: block; white-space: nowrap; }
.gallery-progress {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 40px;
  height: 1px;
  background: rgba(54, 50, 45, 0.1);
  pointer-events: none;
  opacity: var(--show, 0);
  transition: opacity 0.4s;
}
.gallery-progress span {
  position: absolute;
  inset: 0;
  background: var(--sage-deep);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
/* 横スクロールが使えないとき（スマホ・動きを減らす設定）は、指で横に送る */
.gallery.is-static .gallery-pin {
  position: static;
  height: auto;
  display: block;
  padding: clamp(88px, 12vw, 160px) 0;
}
.gallery.is-static .gallery-intro { padding: 0 var(--gutter) 40px; background: none; }
.gallery.is-static .gallery-viewport {
  overflow-x: auto;
  padding-top: 0;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
}
.gallery.is-static .gallery-viewport::-webkit-scrollbar { display: none; }
.gallery.is-static .gallery-track { align-items: flex-start; padding-left: var(--gutter); }
.gallery.is-static .g-item,
.gallery.is-static .gallery-end { scroll-snap-align: start; }
.gallery.is-static .gallery-end { align-self: center; }
.gallery.is-static .gallery-progress { display: none; }

/* ===== 06 ACCESS ===== */
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.access .title-ja { margin-bottom: 40px; }
.info { border-bottom: 1px solid var(--line); }
.info > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.info dt {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 16px;
  color: var(--sage-deep);
}

/* 地図（デモ用の仮表示：やわらかな街区） */
.map {
  position: relative;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background-color: var(--sage-tint);
}
.map::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(var(--white) 0 0) 0 52% / 100% 14px no-repeat,
    linear-gradient(90deg, var(--white) 0 0) 41% 0 / 14px 100% no-repeat,
    linear-gradient(var(--white) 0 0) 0 22% / 100% 6px no-repeat,
    linear-gradient(var(--white) 0 0) 0 80% / 100% 6px no-repeat,
    linear-gradient(90deg, var(--white) 0 0) 16% 0 / 6px 100% no-repeat,
    linear-gradient(90deg, var(--white) 0 0) 72% 0 / 6px 100% no-repeat;
  transform: rotate(-8deg);
}
.map-pin {
  position: absolute;
  z-index: 1;
  left: 46%;
  top: 44%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 10px rgba(92, 107, 88, 0.16), 0 0 0 22px rgba(92, 107, 88, 0.07);
  animation: pulse 2.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(92, 107, 88, 0.16), 0 0 0 22px rgba(92, 107, 88, 0.07); }
  50%      { box-shadow: 0 0 0 14px rgba(92, 107, 88, 0.1), 0 0 0 30px rgba(92, 107, 88, 0.03); }
}
.map-label {
  position: absolute;
  z-index: 1;
  left: calc(46% + 32px);
  top: calc(44% - 6px);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

/* ===== 07 RESERVE ===== */
.reserve { background: var(--white); }
.reserve-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.reserve-head .title-ja { margin-bottom: 32px; }
.reserve-lead { color: var(--ink-soft); }
.reserve-points { margin-top: 32px; border-top: 1px solid var(--line); }
.reserve-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.reserve-points li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}
.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 40px;
}
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 2px; }
.label-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
.req {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  color: var(--sage-deep);
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(54, 50, 45, 0.28);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.4s var(--ease);
}
.form select {
  appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-bottom-color: var(--sage-deep); }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 44px;
  border: 1px solid var(--sage-deep);
  border-radius: 999px;
  background: var(--sage-deep);
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.btn span {
  width: 32px;
  height: 1px;
  background: currentColor;
  transition: width 0.6s var(--ease-out);
}
.btn:hover { background: transparent; color: var(--sage-deep); }
.btn:hover span { width: 48px; }
.form-msg { min-height: 1.5em; font-size: 13px; color: var(--sage-deep); }
.form-foot .note { margin-top: 0; }

/* ===== フッター ===== */
.footer { padding: 0 var(--gutter) 96px; }
.footer-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(88px, 10vw, 150px) 0;
  border-bottom: 1px solid var(--line);
}
.footer-cta-text {
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 88px);
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.footer-cta-text em { color: var(--sage-deep); }
.circle-btn {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(132px, 13vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage-deep);
  color: var(--white);
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.04em;
  transition: background-color 0.5s var(--ease);
}
.circle-btn:hover { background: var(--ink); }
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 0 40px;
}
.footer-logo {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--serif-en);
  font-weight: 300;
  font-size: clamp(36px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: 0.04em;
}
.footer-logo small {
  margin-bottom: 8px;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: 0.1em;
}
.footer-nav a { color: var(--ink-soft); transition: color 0.3s; }
.footer-nav a:hover { color: var(--sage-deep); }
.footer-bottom {
  display: grid;
  gap: 4px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.credit a { text-decoration: underline; }

/* ===== スクロールで表示する演出 ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
}
.js .img-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease-out);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); }
.js .stylist-visual.img-reveal { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); }
.js .stylist-visual.img-reveal.is-in { clip-path: inset(0 0 0 0 round 999px 999px 0 0); }

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader, .cursor { display: none !important; }
  .js .reveal, .js .hero-en, .js .hero-aside, .js .hero-meta { opacity: 1; transform: none; }
  .js .img-reveal, .hero-visual { clip-path: none !important; }
  [data-split] .ch { opacity: 1; filter: none; transform: none; }
}

/* ===== タブレット ===== */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .hero-aside { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 32px; }
  .hero-lead { margin-bottom: 0; max-width: 30em; }
  .hero-visual { height: 62vh; }
}

@media (max-width: 960px) {
  .side-label { display: none; }

  .concept-text,
  .concept-visual,
  .stylist-visual,
  .stylist-text { grid-column: 1 / -1; }
  .concept-visual { aspect-ratio: 4 / 3; margin-top: 48px; }
  .stylist-visual { max-width: 360px; width: 100%; margin: 0 auto 40px; }

  .menu-grid,
  .access-grid,
  .reserve-grid { grid-template-columns: minmax(0, 1fr); }
  .menu-head { position: static; }

  .feature-list { grid-template-columns: minmax(0, 1fr); }
  .feature,
  .feature:first-child { padding: 40px 0; }
  .feature + .feature { border-left: none; }
}

/* ===== スマートフォン ===== */
@media (max-width: 768px) {
  body { font-size: 14px; }
  .header { padding: 16px var(--gutter); }
  .header.is-scrolled { padding-block: 10px; }
  .logo { font-size: 24px; }
  .logo small { font-size: 11px; }
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-size: 32px; font-style: italic; font-weight: 300; }
  .nav a:not(.nav-reserve)::after { display: none; }
  .nav-reserve { margin-top: 16px; padding: 6px 40px; font-size: 22px !important; }
  .header.menu-open { background: transparent; box-shadow: none; backdrop-filter: none; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding-top: 100px;
    row-gap: 32px;
  }
  .hero-copy { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .hero-title { margin-top: 0; font-size: 30px; }
  .hero-visual { height: 56vh; min-height: 340px; order: 0; }
  .hero-aside { flex-direction: column; align-items: flex-start; margin-top: 0; }
  .hero-meta { gap: 4px 20px; font-size: 13px; margin-top: 8px; }
  .hero-scroll { display: none; }

  .heading-ja { letter-spacing: 0.1em; }
  .interlude-text { letter-spacing: 0.12em; }

  .g-frame,
  .g-item:nth-of-type(even) .g-frame { height: auto; width: 66vw; }
  .gallery-end p { font-size: 19px; }

  .section { padding-block: 88px; }
  .side-label { top: 88px; }

  .form { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .footer-cta { flex-direction: column; align-items: flex-start; }

  .demo-badge { right: 12px; bottom: 12px; font-size: 10px; }
}
