/* =========================================================
   hair atelier 凪 — 見た目
   色は js/config.js の colors で変えられます（ここでは初期値）
   ========================================================= */
:root {
  --paper: #eeece7; --paper2: #e3e0d9; --ink: #111111; --muted: #6f6b64; --accent: #2b3bdf; --line: #c9c5bc;
  --bg: #e9e7e2; --calm: 0;
  --h-root: #0b0a0a; --h-mid: #191716; --h-tip: #2f2b29;
  --jp: 'Zen Old Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', system-ui, sans-serif;
  --didone: 'Bodoni Moda', 'Didot', 'Bodoni 72', 'Times New Roman', serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --gut: clamp(16px, 4.2vw, 64px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; color: var(--ink);
  font-family: var(--sans); font-size: 15px; line-height: 1.9; letter-spacing: .04em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  font-feature-settings: 'palt' 1;
}
.is-loading body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
@media (pointer: fine) { body, a, button, input, select, textarea, label { cursor: none; } }

.notice {
  position: fixed; left: 12px; bottom: 12px; z-index: 95;
  font-size: 10.5px; line-height: 1.5; letter-spacing: .04em; color: rgba(17, 17, 17, .62);
  background: rgba(238, 236, 231, .78); border: 1px solid rgba(17, 17, 17, .1);
  padding: 5px 10px; border-radius: 99px; max-width: calc(100vw - 24px);
  pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.fps { position: fixed; right: 10px; bottom: 10px; z-index: 99; font: 11px/1 var(--mono); background: #111; color: #fff; padding: 6px 8px; border-radius: 4px; }

/* ---------- 3Dの舞台 ---------- */
#gl, #fallback { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; pointer-events: none; }
#fallback { display: none; }
.no-webgl #gl { display: none; }
.no-webgl #fallback { display: block; }

.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .11; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .38 0 0 0 0 .35 0 0 0 1.3 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-1%, 3%); } 80% { transform: translate(3%, 1%); } 100% { transform: translate(0, 0); }
}
.rm .grain { animation: none; }

/* ---------- 読み込み画面 ---------- */
.loader { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.2%; background: var(--paper); }
.loader__half--top { top: 0; }
.loader__half--bot { bottom: 0; }
.loader__in { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.loader__strands { position: absolute; left: 0; top: 50%; width: 100%; height: 34vh; transform: translateY(-50%); overflow: visible; }
.loader__strands path { fill: none; stroke: var(--ink); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.9s var(--ease) forwards; }
.loader__strands path:nth-child(2) { opacity: .45; animation-delay: .12s; }
.loader__strands path:nth-child(3) { opacity: .25; animation-delay: .24s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__num { position: relative; font: italic 400 clamp(64px, 11vw, 150px)/1 var(--didone); letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.loader__num small { font-size: .3em; font-style: normal; margin-left: .1em; vertical-align: top; }
.loader__cap { position: relative; margin-top: 18px; font: 500 14px/1.6 var(--jp); letter-spacing: .3em; }
.loader__en { position: relative; font: 400 10.5px/1.6 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.loader__cut { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.rm .loader__strands path { animation: none; stroke-dashoffset: 0; }

/* ---------- カーソル ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.touch .cursor, .rm .cursor { display: none; }
.cursor__dot { position: fixed; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cursor__ring {
  position: fixed; left: -21px; top: -21px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(17, 17, 17, .55); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), left .45s var(--ease), top .45s var(--ease), background .3s, border-color .3s;
}
.cursor__label { font: 500 11px/1 var(--sans); letter-spacing: .12em; color: #fff; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; left: -32px; top: -32px; border-color: var(--accent); }
.cursor.is-label .cursor__ring { width: 84px; height: 84px; left: -42px; top: -42px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-wind .cursor__ring { width: 120px; height: 120px; left: -60px; top: -60px; border-style: dashed; border-color: rgba(17, 17, 17, .35); }
.cursor.is-dark .cursor__ring { border-color: rgba(238, 236, 231, .6); }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; left: -15px; top: -15px; }

/* ---------- 今の髪色 ---------- */
.tone {
  position: fixed; right: var(--gut); bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px;
  font: 500 11px/1 var(--sans); letter-spacing: .14em; padding: 7px 14px 7px 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(17, 17, 17, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.past-hero .tone { opacity: 1; transform: none; }
.tone__chip { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(160deg, var(--h-tip), var(--h-mid) 45%, var(--h-root)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }

/* ---------- ヘッダー（髪の上でも読めるよう、ナビはすりガラスの帯に。暗い場面では色が反転） ---------- */
.hd {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 76px; padding: 0 var(--gut);
  display: flex; align-items: center; gap: 14px; color: var(--ink);
  transition: transform .7s var(--ease), color .5s var(--ease);
  --glass: rgba(238, 236, 231, .8); --glass-line: rgba(17, 17, 17, .07);
}
@supports (background: color-mix(in srgb, red 50%, transparent)) { .hd { --glass: color-mix(in srgb, var(--bg) 80%, transparent); } }
.hd.on-dark { color: var(--paper); --glass: rgba(17, 17, 17, .42); --glass-line: rgba(238, 236, 231, .12); }
.hd.is-hidden { transform: translateY(-100%); }
.drawer-open .hd { transform: none; color: var(--paper); --glass: rgba(238, 236, 231, .08); --glass-line: rgba(238, 236, 231, .14); }
.hd__logo { display: flex; align-items: baseline; gap: 12px; margin-right: auto; margin-left: -16px; padding: 9px 16px 7px; border-radius: 99px; }
.hd__logo, .hd__nav, .hd__menu { background: var(--glass); box-shadow: inset 0 0 0 1px var(--glass-line); -webkit-backdrop-filter: blur(14px) saturate(1.15); backdrop-filter: blur(14px) saturate(1.15); transition: background .5s var(--ease), box-shadow .5s var(--ease); }
.hd__mark { font: 700 26px/1 var(--jp); }
.hd__name { font: italic 400 15px/1 var(--didone); letter-spacing: .02em; }
.hd__nav { display: flex; align-items: center; gap: 24px; height: 40px; padding: 0 22px; border-radius: 99px; font-size: 12.5px; letter-spacing: .14em; }
.hd__nav a { position: relative; padding: 6px 0; }
.hd__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hd__cta { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 99px; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 1px rgba(238, 236, 231, .18); font-size: 12.5px; font-weight: 500; letter-spacing: .14em; transition: background .5s var(--ease), color .5s var(--ease); }
.hd.on-dark .hd__cta, .drawer-open .hd__cta { background: var(--paper); color: var(--ink); }
.hd__menu { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.hd__menu span { position: absolute; left: 11px; right: 11px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.hd__menu span:nth-child(1) { top: 18px; } .hd__menu span:nth-child(2) { top: 25px; }
.hd__menu em { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.drawer-open .hd__menu span:nth-child(1) { transform: translateY(3.5px) rotate(20deg); }
.drawer-open .hd__menu span:nth-child(2) { transform: translateY(-3.5px) rotate(-20deg); }
.drawer {
  position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--paper);
  display: flex; align-items: flex-end; padding: 100px var(--gut) 70px;
}
.drawer[hidden] { display: none; }
.drawer nav { display: grid; gap: 6px; width: 100%; }
.drawer a { display: flex; align-items: baseline; gap: 16px; font: 500 clamp(26px, 7.4vw, 40px)/1.35 var(--jp); border-bottom: 1px solid rgba(238, 236, 231, .14); padding: 6px 0; }
.drawer small { font: 400 11px/1 var(--mono); color: rgba(238, 236, 231, .5); }

/* ---------- 共通 ---------- */
main { position: relative; }
section { position: relative; }
.label { display: flex; align-items: baseline; gap: 12px; font-size: 12px; letter-spacing: .2em; font-weight: 500; }
.label span { font: italic 400 15px/1 var(--didone); letter-spacing: 0; color: var(--accent); }
.label em { font: 400 10.5px/1 var(--mono); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ch-o, .bc-o, .bw-o { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .01em .08em; margin: -.06em -.01em -.08em; }
.bc-o, .bw-o { padding: .2em .02em .28em; margin: -.2em -.02em -.28em; }
.ch, .bc, .bw { display: inline-block; will-change: transform; }
.rc-o { display: inline; } .rc { display: inline; }
.sec-head { position: relative; display: grid; gap: 22px; margin-bottom: clamp(44px, 7vw, 96px); }
.sec-title { font: 700 clamp(36px, 5.6vw, 84px)/1.12 var(--jp); letter-spacing: -.01em; }
.sec-text { max-width: 31em; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 18px; height: 60px; padding: 0 12px 0 30px; border-radius: 99px;
  background: var(--accent); color: #fff; font-weight: 500; letter-spacing: .12em; font-size: 14px;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .6s var(--ease); z-index: -1; border-radius: inherit; }
.btn:hover::before { transform: none; }
.btn i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--accent); font-style: normal; transition: transform .6s var(--ease); }
.btn:hover i { transform: rotate(-45deg); }
.btn--ink { background: var(--ink); }
.btn--ink::before { background: var(--accent); }
.btn--ink i { color: var(--ink); }

/* ---------- ヒーロー ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: 120px var(--gut) 56px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; }
.hero__kicker { position: absolute; top: 108px; left: var(--gut); display: flex; gap: 10px; align-items: baseline; font: 400 11px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.hero__kicker em { font-style: normal; color: var(--muted); }
.hero__no {
  position: absolute; top: 100px; right: var(--gut); text-align: right; color: #fff; mix-blend-mode: difference;
  font: 400 clamp(56px, 7vw, 112px)/.9 var(--didone); letter-spacing: -.03em;
}
.hero__no em { font-style: italic; font-size: .5em; vertical-align: top; margin-right: .05em; }
.hero__no small { display: block; margin-top: 10px; font: 400 10.5px/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.hero__title { font: 700 clamp(84px, 14.2vw, 232px)/.98 var(--jp); letter-spacing: -.04em; margin-left: -.04em; }
.hero__title .line { display: block; white-space: nowrap; }
.hero__title .line:nth-child(2) { padding-left: .92em; }
.hero__en { margin-top: 26px; font: 400 clamp(20px, 2vw, 30px)/1.2 var(--didone); }
.hero__en em { font-style: italic; }
.hero__lede { margin-top: 18px; max-width: 26em; font-size: 14px; line-height: 2; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; font-size: 12px; letter-spacing: .14em; }
.hero__facts li { display: flex; align-items: baseline; gap: 4px; padding-top: 10px; border-top: 1px solid var(--ink); }
.hero__facts b { font: italic 400 22px/1 var(--didone); }
.hero__scroll { position: absolute; left: 50%; bottom: 52px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .2em; transform: translateX(-50%); }
.hero__scroll i { position: relative; width: 1px; height: 64px; background: rgba(17, 17, 17, .15); overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { top: -40%; } 100% { top: 110%; } }
.hero__hint {
  position: absolute; right: var(--gut); bottom: 56px; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 13px; border-radius: 99px;
  font-size: 11px; line-height: 1.4; letter-spacing: .18em; color: var(--ink);
  background: rgba(238, 236, 231, .7); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .07); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero__hint span { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(43, 59, 223, .5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(43, 59, 223, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 59, 223, 0); } }
.touch .hero__hint { display: none; }

/* ---------- はじめに ---------- */
.intro {
  padding: clamp(120px, 18vw, 240px) var(--gut) clamp(120px, 16vw, 220px);
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px clamp(24px, 5vw, 80px); align-items: start;
}
.intro .label { grid-column: 1 / -1; }
.intro__v { grid-column: 1; justify-self: center; writing-mode: vertical-rl; font: 700 clamp(40px, 5.2vw, 78px)/1.3 var(--jp); letter-spacing: .06em; height: 8.2em; }
.intro__v .ch-o { padding: .01em .06em; margin: -.01em -.06em; }
.intro__body { grid-column: 2; padding-top: 4vw; max-width: 31em; }
.intro__text { font: 500 clamp(19px, 1.85vw, 27px)/2 var(--jp); letter-spacing: .06em; }
.intro__sub { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; max-width: 30em; }

/* ---------- 風から凪へ ---------- */
.story__pin { position: relative; height: 100vh; height: 100svh; padding: 110px var(--gut) 56px; overflow: hidden; }
.story__stages { position: absolute; left: var(--gut); top: 0; bottom: 0; width: min(46vw, 640px); }
.stage { position: absolute; left: 0; top: 150px; bottom: 120px; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(24px, 3.4vw, 54px); pointer-events: none; }
.stage.is-active { pointer-events: auto; }
.stage__no { grid-column: 1 / -1; font: 400 11px/1 var(--mono); letter-spacing: .2em; color: var(--muted); margin-bottom: 24px; }
.stage__no b { font: italic 400 30px/1 var(--didone); color: var(--ink); letter-spacing: 0; margin-right: 4px; }
.stage__no em { font-style: normal; margin-left: 10px; text-transform: uppercase; }
.stage__title { writing-mode: vertical-rl; font: 700 clamp(48px, 6.2vw, 96px)/1.22 var(--jp); letter-spacing: .04em; max-height: 100%; }
.stage__title .ch-o { padding: .02em .06em; margin: -.02em -.06em; }
.stage__text { align-self: end; max-width: 17em; font-size: 14.5px; line-height: 2.05; }
.scale { position: absolute; left: var(--gut); bottom: 46px; display: flex; align-items: center; gap: 14px; font: 500 15px/1 var(--jp); }
.scale i { position: relative; width: clamp(140px, 22vw, 300px); height: 1px; background: rgba(17, 17, 17, .25); }
.scale b { position: absolute; top: -5px; left: 0; width: 11px; height: 11px; margin-left: -5px; border-radius: 50%; background: var(--accent); }
.story__css { display: none; }

/* ---------- カラー ---------- */
.colour__pin { position: relative; height: 100vh; height: 100svh; padding: 110px var(--gut) 40px; overflow: hidden; }
.colour__label { position: relative; z-index: 2; }
.colour__panels { position: absolute; right: calc(var(--gut) + 170px); top: 0; bottom: 0; width: min(36vw, 480px); }
.cpanel { position: absolute; left: 0; right: 0; top: 18vh; display: grid; gap: 16px; pointer-events: none; }
.cpanel.is-active { pointer-events: auto; }
.cpanel__no { font: 400 11px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
.cpanel__no b { font: italic 400 30px/1 var(--didone); color: var(--ink); letter-spacing: 0; margin-right: 4px; }
.cpanel__name { font: 700 clamp(40px, 4.6vw, 72px)/1.1 var(--jp); letter-spacing: .02em; white-space: nowrap; }
.cpanel__lead { font: 500 17px/1.7 var(--jp); }
.cpanel__text { font-size: 14px; max-width: 24em; color: #3b3935; }
.cpanel__price { font: 400 34px/1 var(--didone); margin-top: 6px; display: flex; align-items: baseline; gap: 6px; }
.cpanel__price small { font: 500 12px/1 var(--sans); letter-spacing: .12em; }
.cpanel__sw { display: block; width: 100%; max-width: 360px; height: 10px; border-radius: 10px; background: linear-gradient(90deg, var(--a), var(--b) 45%, var(--c)); }
.colour__index { position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; z-index: 3; }
.colour__index button { display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 12.5px; letter-spacing: .1em; color: var(--muted); transition: color .4s; }
.colour__index i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(160deg, var(--c), var(--b) 45%, var(--a)); transition: transform .5s var(--ease), box-shadow .5s; }
.colour__index li.is-active button { color: var(--ink); }
.colour__index li.is-active i { transform: scale(1.25); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--ink); }
.colour__big {
  position: fixed; left: 0; right: 0; bottom: 0; height: 1.36em; margin: 0; text-align: center; pointer-events: none; z-index: -1; opacity: 0; overflow: hidden;
  --len: 5; font: italic 400 min(19vw, 330px, 31vh, calc(150vw / var(--len)))/1 var(--didone); letter-spacing: -.045em; color: #26221f; mix-blend-mode: multiply; white-space: nowrap;
}
.colour__big > span { position: absolute; left: 0; right: 0; bottom: .3em; }
.no-webgl .colour__big { color: var(--ink); mix-blend-mode: normal; opacity: .9; }

/* ---------- 料金シミュレーション ---------- */
.tryon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; padding: 120px var(--gut) 120px; gap: 40px; }
.tryon__stage { position: relative; --flash: 0; }
.tryon__stage::after { content: ''; position: absolute; inset: 10% 20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); opacity: var(--flash); pointer-events: none; }
.tryon__cap { position: absolute; left: 0; bottom: 0; font-size: 12px; letter-spacing: .14em; color: var(--muted); padding-left: 18px; border-left: 1px solid var(--ink); line-height: 1.8; }
.tryon__panel { display: grid; gap: 30px; align-content: start; max-width: 560px; }
.opt__h { font-size: 12px; letter-spacing: .2em; font-weight: 500; margin-bottom: 12px; color: var(--muted); }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__row button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px; border-radius: 99px;
  border: 1px solid rgba(17, 17, 17, .22); font-size: 13.5px; letter-spacing: .08em; transition: background .4s var(--ease), color .4s, border-color .4s;
}
.opt__row button small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; transition: color .4s; }
.opt__row button:hover { border-color: var(--ink); }
.opt__row button.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt__row button.is-on small { color: rgba(238, 236, 231, .65); }
.opt__row i { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(160deg, var(--c), var(--b) 45%, var(--a)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.total { border-top: 1px solid var(--ink); padding-top: 18px; }
.total__lines { display: grid; gap: 2px; font-size: 13px; color: var(--muted); }
.total__lines li { display: flex; justify-content: space-between; gap: 12px; }
.total__lines b { font: 400 15px/1.8 var(--didone); color: var(--ink); }
.total__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 14px; }
.total__sum small { flex-basis: 100%; font-size: 11.5px; letter-spacing: .14em; }
.total__sum b { display: inline-block; font: 400 clamp(64px, 7vw, 108px)/1 var(--didone); letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; }
.total__sum span { font-size: 16px; font-weight: 500; }
.tryon__note { font-size: 12px; color: var(--muted); }

/* ---------- メニュー ---------- */
.menu { padding: clamp(110px, 14vw, 200px) calc(var(--gut) + 9vw) clamp(100px, 12vw, 180px) var(--gut); }
.menu__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px clamp(32px, 6vw, 110px); }
.mcat__h { display: flex; align-items: baseline; gap: 14px; font: 700 22px/1.4 var(--jp); padding-bottom: 16px; border-bottom: 1px solid var(--ink); margin-bottom: 8px; }
.mcat__h span { font: italic 400 15px/1 var(--didone); color: var(--accent); }
.mcat__h em { margin-left: auto; font: italic 400 18px/1 var(--didone); color: var(--muted); }
.mcat li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(17, 17, 17, .1); }
.m__name { font-size: 15px; font-weight: 500; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
.m__name small { font-size: 11.5px; color: var(--muted); font-weight: 400; }
.mcat li i { flex: 1; height: 1px; min-width: 20px; background-image: linear-gradient(90deg, rgba(17, 17, 17, .35) 1px, transparent 1px); background-size: 5px 1px; transform-origin: left; align-self: center; }
.m__price { font: 400 24px/1 var(--didone); white-space: nowrap; font-variant-numeric: lining-nums; }
.m__price small { font: 500 11px/1 var(--sans); margin-left: 3px; }
.menu__note { margin-top: 48px; font-size: 12.5px; color: var(--muted); max-width: 46em; }

/* ---------- スタイリスト（暗い場面） ---------- */
.staff { background: var(--ink); color: var(--paper); padding: clamp(110px, 14vw, 200px) var(--gut) clamp(110px, 14vw, 200px); }
.staff .label em, .staff .sec-text { color: rgba(238, 236, 231, .55); }
.staff .label span { color: #8e98ff; }
.staff__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.person {
  position: relative; overflow: hidden; min-height: 560px; padding: 30px 28px 34px; border-radius: 4px;
  border: 1px solid rgba(238, 236, 231, .14); display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color .6s var(--ease), background .6s var(--ease);
}
.person:hover { border-color: rgba(238, 236, 231, .4); background: rgba(238, 236, 231, .03); }
.person__ini {
  position: absolute; top: -.18em; right: -.04em; font: italic 400 clamp(220px, 22vw, 340px)/1 var(--didone);
  color: transparent; -webkit-text-stroke: 1px rgba(238, 236, 231, .32); transition: -webkit-text-stroke-color .6s, transform 1.2s var(--ease);
}
.person:hover .person__ini { -webkit-text-stroke-color: rgba(238, 236, 231, .7); transform: translateY(10px); }
.person__no { position: absolute; top: 28px; left: 28px; font: 400 11px/1 var(--mono); letter-spacing: .2em; color: rgba(238, 236, 231, .5); }
.person__body { position: relative; display: grid; gap: 12px; }
.person__role { font-size: 11.5px; letter-spacing: .18em; color: rgba(238, 236, 231, .65); display: flex; gap: 14px; }
.person__name { font: 700 34px/1.3 var(--jp); letter-spacing: .06em; display: flex; flex-direction: column; }
.person__name small { font: 400 11.5px/1.6 var(--sans); letter-spacing: .3em; color: rgba(238, 236, 231, .55); }
.person__en { font: italic 400 19px/1 var(--didone); color: rgba(238, 236, 231, .7); }
.person__words { font: 500 15px/1.95 var(--jp); margin-top: 6px; }
.person__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.person__tags span { font-size: 11.5px; padding: 3px 11px; border-radius: 99px; border: 1px solid rgba(238, 236, 231, .25); }
.person__col { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(238, 236, 231, .7); }
.person__col i { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(160deg, var(--c), var(--b) 45%, var(--a)); box-shadow: 0 0 0 1px rgba(238, 236, 231, .25); }
.person__strand { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--a), var(--b) 50%, var(--c)); transform: scaleX(.12); transform-origin: left; transition: transform 1s var(--ease); }
.person:hover .person__strand { transform: none; }

/* ---------- ご予約 ---------- */
.booking { padding: clamp(110px, 14vw, 200px) calc(var(--gut) + 6vw) clamp(100px, 12vw, 160px) var(--gut); }
.flow { --line: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-bottom: clamp(70px, 9vw, 120px); }
.flow::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: rgba(17, 17, 17, .15); z-index: 0; }
.flow::after { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 1px; background: var(--accent); transform: scaleX(var(--line)); transform-origin: left; z-index: 0; }
.flow__step { position: relative; z-index: 1; display: grid; gap: 10px; align-content: start; }
.flow__no { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ink); font: italic 400 17px/1 var(--didone); }
.flow__step h3 { font: 700 19px/1.5 var(--jp); margin-top: 8px; }
.flow__step p { font-size: 13px; color: var(--muted); line-height: 1.9; }
.booking__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.booking__lead { font: 500 17px/1.8 var(--jp); }
.booking__tel { display: inline-grid; margin-top: 22px; gap: 4px; }
.booking__tel small { font-size: 11.5px; letter-spacing: .2em; color: var(--muted); }
.booking__tel b { font: 400 clamp(36px, 3.6vw, 52px)/1 var(--didone); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.booking__hours { margin-top: 18px; font-size: 12.5px; color: var(--muted); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
.form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field > span { font-size: 12px; letter-spacing: .14em; font-weight: 500; }
.field em { font-style: normal; font-size: 10px; color: var(--accent); margin-left: 6px; letter-spacing: .1em; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.6 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(17, 17, 17, .3);
  padding: 10px 0; border-radius: 0; outline: none; transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 5px 5px; background-position: right 6px center, right 1px center; background-repeat: no-repeat; padding-right: 20px; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: rgba(17, 17, 17, .3); }
.field.is-bad input, .field.is-bad textarea { border-bottom-color: #c23a2b; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 8px; }
.form__msg { font-size: 13px; min-height: 1.5em; }
.form__msg.is-ok { color: var(--accent); }
.form__msg.is-err { color: #b3321f; }

/* ---------- アクセス ---------- */
.access { padding: clamp(100px, 12vw, 180px) calc(var(--gut) + 6vw) clamp(100px, 12vw, 160px) var(--gut); }
.access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.open-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; padding: 7px 16px; border-radius: 99px; border: 1px solid rgba(17, 17, 17, .2); margin-bottom: 24px; }
.open-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.open-badge.is-open i { background: #2f9a5a; box-shadow: 0 0 0 4px rgba(47, 154, 90, .18); }
.info { display: grid; }
.info > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(17, 17, 17, .12); font-size: 14px; }
.info dt { color: var(--muted); font-size: 12px; letter-spacing: .14em; padding-top: 2px; }
.hours { width: 100%; border-collapse: collapse; font-size: 14px; }
.hours caption { text-align: left; font-size: 12px; letter-spacing: .2em; color: var(--muted); padding-bottom: 10px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(17, 17, 17, .12); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-family: var(--mono); font-size: 13px; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--accent); }
.hours .closed { font-family: var(--sans); color: var(--muted); }
.hours__note { margin-top: 14px; font-size: 12px; color: var(--muted); }
.map { position: relative; aspect-ratio: 4 / 3.2; border-radius: 4px; overflow: hidden; background: var(--paper2); }
.map svg { width: 100%; height: 100%; }
.map__road { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 9; }
.map__road--s { stroke-width: 4; }
.map__rail { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 10 6; }
.map__walk { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 3 5; }
.map__station { fill: var(--ink); }
.map__pin { fill: var(--accent); }
.map__pulse { fill: rgba(43, 59, 223, .25); transform-origin: 226px 102px; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(3); opacity: 0; } }
.rm .map__pulse { animation: none; }
.map__label { position: absolute; left: 14px; bottom: 14px; display: grid; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 3px; font-size: 11.5px; line-height: 1.6; }
.map__label b { font: 700 18px/1.3 var(--jp); }

/* ---------- フッター ---------- */
.ft { position: relative; padding: clamp(90px, 10vw, 140px) var(--gut) 34px; overflow: hidden; }
.ft__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.ft__copy { font: 700 clamp(30px, 3.6vw, 54px)/1.4 var(--jp); }
.ft__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; font-size: 13px; letter-spacing: .12em; }
.ft__nav a { padding: 4px 0; }
.ft__big {
  margin: clamp(40px, 6vw, 80px) 0 .22em; text-align: center; color: #fff; mix-blend-mode: difference;
  font: italic 400 clamp(150px, 31vw, 520px)/.82 var(--didone); letter-spacing: -.06em; white-space: nowrap; pointer-events: none;
}
.ft__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--ink); font-size: 12px; padding-bottom: 36px; }
.ft__en { color: var(--muted); }
.ft__totop { font-size: 12px; letter-spacing: .14em; }

/* ---------- タブレット ---------- */
@media (max-width: 1100px) {
  .hd__nav { display: none; }
  .hd__menu { display: block; }
  .intro { grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); }
  .intro__body { grid-column: 2; }
  .staff__list { grid-template-columns: minmax(0, 1fr); }
  .person { min-height: 0; padding-top: 120px; }
  .person__ini { font-size: 220px; }
  .access__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
  .colour__panels { right: calc(var(--gut) + 150px); width: min(42vw, 440px); }
}
@media (max-width: 900px) {
  .tryon { grid-template-columns: minmax(0, 1fr); padding-top: 0; gap: 0; }
  .tryon__stage { height: 64vh; height: 64svh; }
  .tryon__cap { left: var(--gut); bottom: 28px; }
  .tryon__panel { max-width: none; background: var(--bg); margin: 0 calc(var(--gut) * -1); padding: 44px var(--gut) 0; border-radius: 22px 22px 0 0; box-shadow: 0 -30px 40px -20px rgba(0, 0, 0, .08); }
  .menu__grid { grid-template-columns: minmax(0, 1fr); }
  .menu { padding-right: calc(var(--gut) + 8vw); }
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .flow::before, .flow::after { display: none; }
}


/* ---------- 縦長の画面（スマートフォン・縦向きタブレット）：髪の上に文字を重ねる ---------- */
@media (max-width: 760px), (max-aspect-ratio: 17/20) {
  .hero::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 64%; background: linear-gradient(to top, var(--bg) 52%, transparent); pointer-events: none; }
  .hero > * { position: relative; }
  .hero > .hero__kicker, .hero > .hero__no, .hero > .hero__scroll, .hero > .hero__hint { position: absolute; }
  .hero__no small { display: none; }
  .hero__scroll { display: none; }

  .story__pin { padding: 84px var(--gut) 30px; }
  .story__stages { left: 0; right: 0; width: auto; top: auto; height: 56%; bottom: 0; background: linear-gradient(to top, var(--bg) 62%, rgba(233, 231, 226, 0)); background: linear-gradient(to top, var(--bg) 62%, transparent); }
  .stage { left: var(--gut); right: var(--gut); top: auto; bottom: 84px; display: block; }
  .stage__no { margin-bottom: 14px; }
  .stage__title { writing-mode: horizontal-tb; font-size: clamp(38px, 11vw, 52px); line-height: 1.2; }
  .stage__text { margin-top: 14px; font-size: 13.5px; line-height: 1.95; max-width: 26em; }
  .scale { bottom: 34px; }
  .scale i { width: 46vw; }

  .colour__pin { padding: 84px var(--gut) 30px; }
  .colour__panels { left: 0; right: 0; width: auto; top: auto; bottom: 0; height: 58%; background: linear-gradient(to top, var(--bg) 66%, transparent); }
  .cpanel { left: var(--gut); right: var(--gut); top: auto; bottom: 34px; gap: 10px; }
  .cpanel__name { font-size: clamp(34px, 10vw, 46px); }
  .cpanel__lead { font-size: 15px; }
  .cpanel__text { font-size: 13px; line-height: 1.85; }
  .cpanel__price { font-size: 28px; }
  .cpanel__sw { height: 8px; }
  .colour__index { top: 112px; right: auto; left: var(--gut); transform: none; display: flex; gap: 14px; }
  .colour__index span { display: none; }
  .colour__index i { width: 22px; height: 22px; }
  .colour__index button { padding: 6px 0; }
  .colour__big { bottom: auto; top: 30%; font-size: min(30vw, calc(190vw / var(--len))); }
  .story__label, .colour__label { display: inline-flex; margin-left: -12px; padding: 7px 14px 7px 12px; border-radius: 99px; background: rgba(238, 236, 231, .62); background: color-mix(in srgb, var(--bg) 66%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  .tryon__cap { color: var(--ink); padding: 10px 16px 10px 16px; border-left: 0; border-radius: 14px; background: rgba(238, 236, 231, .62); background: color-mix(in srgb, var(--bg) 66%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

}

/* ---------- スマートフォン ---------- */
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .notice { font-size: 9.5px; left: 8px; bottom: 8px; padding: 4px 9px; max-width: calc(100vw - 16px); }
  .hd { height: 62px; gap: 10px; }
  .hd__name { display: none; }
  .hd__logo { margin-left: -6px; padding: 9px 11px 7px; }
  .hd__cta { height: 36px; padding: 0 15px; font-size: 12px; }
  .tone { bottom: 40px; right: 8px; padding: 5px 11px 5px 5px; font-size: 10.5px; }
  .tone__chip { width: 18px; height: 18px; }

  .hero { padding: 0 var(--gut) 92px; align-content: end; }
  .hero__kicker, .hero__hint { display: none; }
  .hero__no { top: 72px; font-size: 44px; }
  .hero__no small { display: none; }
  .hero__title { font-size: clamp(66px, 20.5vw, 112px); line-height: 1.02; }
  .hero__title .line:nth-child(2) { padding-left: .9em; }
  .hero__en { margin-top: 16px; font-size: 19px; }
  .hero__lede { font-size: 13px; line-height: 1.95; margin-top: 10px; }
  .hero__lede br:nth-of-type(2) { display: none; }
  .hero__facts { margin-top: 16px; gap: 6px 16px; font-size: 11px; }
  .hero__facts b { font-size: 18px; }
  .hero__scroll { display: none; }
  .intro { grid-template-columns: minmax(0, 1fr); padding-top: 110px; padding-bottom: 110px; gap: 28px; }
  .intro__v { grid-column: 1; justify-self: end; writing-mode: horizontal-tb; height: auto; font-size: clamp(34px, 10vw, 46px); line-height: 1.35; justify-self: start; }
  .intro__body { grid-column: 1; padding-top: 0; }
  .intro__text { font-size: 18px; line-height: 2; }

  .sec-title { font-size: clamp(30px, 8.6vw, 44px); }
  .tryon__stage { height: 62vh; height: 62svh; }
  .opt__row button { min-height: 44px; padding: 6px 14px; font-size: 13px; }
  .total__sum b { font-size: 64px; }
  .btn { height: 56px; padding-left: 24px; font-size: 13px; gap: 14px; }

  .menu, .booking, .access { padding-left: var(--gut); padding-right: var(--gut); }
  .m__price { font-size: 21px; }
  .mcat li { gap: 10px; }
  .person__name { font-size: 28px; }
  .person { padding: 110px 22px 28px; }
  .person__ini { font-size: 190px; }
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .flow__step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; }
  .flow__step h3 { margin-top: 8px; }
  .flow__step p { grid-column: 2; }
  .form__row--2 { grid-template-columns: minmax(0, 1fr); }
  .access__grid { grid-template-columns: minmax(0, 1fr); }
  .map { aspect-ratio: 4 / 3; }
  .ft__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .ft__big { font-size: 40vw; }
  .ft__bottom { padding-bottom: 46px; }
}

/* ---------- 動きを減らす設定 ---------- */
.rm .story__pin, .rm .colour__pin { height: auto; overflow: visible; }
.rm .story__stages, .rm .colour__panels { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; height: auto; background: none; }
.rm .stage, .rm .cpanel { position: relative; top: auto; bottom: auto; left: auto; right: auto; padding: 18vh 0; min-height: 70vh; align-content: center; }
.rm .stage { max-width: 46vw; }
.rm .cpanel { max-width: 40vw; margin-left: auto; margin-right: 170px; }
.rm .scale, .rm .colour__index, .rm .colour__big { display: none; }
@media (max-width: 760px) {
  .rm .stage, .rm .cpanel { max-width: none; margin: 0; padding: 50vh 0 8vh; background: linear-gradient(to top, var(--bg) 70%, transparent); }
  .rm .colour__big { display: none; }
}
