@charset "UTF-8";
/* =========================================================
   AMOUR — style.css
   ========================================================= */

:root {
  /* モノトーン：白・グレー・黒のみ */
  --c-bg: #ffffff;
  --c-bg-sub: #efefef;
  --c-white: #ffffff;
  --c-text: #111111;
  --c-text-sub: #6b6b6b;
  --c-line: #d4d4d4;
  --c-accent: #8a8a8a;
  --c-accent-dark: #444444;
  --c-dark: #111111;

  --f-en: "Cormorant Garamond", serif;
  --f-serif: "Noto Serif JP", serif;
  --f-sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;

  --header-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading,
body.is-menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, h3, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.sp { display: none; }

.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 48px); }

.section { padding: clamp(96px, 12vw, 160px) 0; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--c-bg);
  transition: opacity .9s var(--ease) .2s, visibility .9s .2s;
}
/* ロゴ（結びのマーク + AMOUR）。寸法は文字サイズ基準の em で指定 */
.loader__inner {
  display: flex; flex-direction: column; align-items: center;
  font-size: clamp(36px, 6vw, 60px);
}
.loader__mark {
  width: 3.1em; height: auto; margin-bottom: .37em;
  opacity: 0; transform: translateY(12px);
  animation: loaderIn .9s var(--ease) forwards;
}
.loader__logo {
  font-family: var(--f-en); font-weight: 600;
  font-size: 1em; letter-spacing: .3em; line-height: 1;
  padding-left: .3em; color: #2a2626;
}
.loader__logo span {
  display: inline-block; opacity: 0; transform: translateY(12px);
  animation: loaderIn .9s var(--ease) forwards;
}
.loader__logo span:nth-child(1) { animation-delay: .2s; }
.loader__logo span:nth-child(2) { animation-delay: .28s; }
.loader__logo span:nth-child(3) { animation-delay: .36s; }
.loader__logo span:nth-child(4) { animation-delay: .44s; }
.loader__logo span:nth-child(5) { animation-delay: .52s; }
.loader__sub {
  font-family: "Shippori Mincho", var(--f-serif); font-weight: 500;
  font-size: max(11px, .233em); letter-spacing: .6em; line-height: 1.6;
  padding-left: .6em; margin-top: 8px; color: #8e2e2e;
  opacity: 0; transform: translateY(12px);
  animation: loaderIn .9s var(--ease) .62s forwards;
}
@keyframes loaderIn { to { opacity: 1; transform: none; } }
body.is-loaded .loader { opacity: 0; visibility: hidden; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 48px);
  background: var(--c-bg);
  transition: background .4s, box-shadow .4s, height .4s;
}
/* すりガラス効果は疑似要素に付ける（header本体に付けると、全画面メニューがheaderの高さに閉じ込められる） */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .4s;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header.is-scrolled {
  background: transparent;
  box-shadow: 0 1px 0 var(--c-line);
  height: 64px;
}
.header.is-scrolled::before { opacity: 1; }
.header__logo {
  display: flex; align-items: center; gap: .5em;
  font-family: var(--f-en); font-size: 28px; font-weight: 600;
  letter-spacing: .3em; line-height: 1; color: #2a2626;
  position: relative; z-index: 2;
}
.header__logo img { width: auto; height: 1.5em; }
.gnav { display: flex; align-items: center; gap: 40px; }
.gnav__list { display: flex; gap: 32px; }
.gnav__list a { display: flex; flex-direction: column; align-items: center; line-height: 1.4; }
.gnav__list .en { font-family: var(--f-en); font-size: 15px; letter-spacing: .12em; text-transform: lowercase; position: relative; }
.gnav__list .ja { font-size: 10px; color: var(--c-text-sub); letter-spacing: .1em; }
.gnav__list .en::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.gnav__list a:hover .en::after { transform: scaleX(1); transform-origin: left; }
.gnav__cta {
  font-family: var(--f-en); font-size: 14px; letter-spacing: .2em; text-transform: lowercase;
  padding: 10px 28px; border: 1px solid var(--c-text);
  transition: background .3s, color .3s;
}
.gnav__cta:hover { background: var(--c-text); color: var(--c-white); }

.hamburger { display: none; position: relative; z-index: 2; width: 44px; height: 44px; }
.hamburger span {
  position: absolute; left: 10px; width: 24px; height: 1px; background: var(--c-text);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.hamburger span:nth-child(1) { top: 18px; }
.hamburger span:nth-child(2) { top: 26px; }
.is-menu-open .hamburger span:nth-child(1) { top: 22px; transform: rotate(30deg); }
.is-menu-open .hamburger span:nth-child(2) { top: 22px; transform: rotate(-30deg); }

/* ---------- Hero ---------- */
.hero {
  --hero-view: min(75vw, 100svh - var(--header-h)); /* 最初の画面に見える写真の高さ */
  position: relative; padding-top: var(--header-h);
  overflow: hidden; color: var(--c-white);
}

/* 写真：横幅いっぱい・4:3で切らずに表示＋ゆっくりズーム */
.hero__photo {
  position: relative; width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--c-dark);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.6s var(--ease) .1s;
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .28) 45%, rgba(0, 0, 0, 0) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 45%);
}
/* PC：写真を最初の画面の高さに収める（上下を少しトリミング） */
@media (min-width: 1025px) {
  .hero__photo { aspect-ratio: auto; height: var(--hero-view); }
}
body.is-loaded .hero__photo { clip-path: inset(0 0 0 0); }

/* メイン写真スライドショー：1枚ずつ、新しい写真が下から幕が上がるように現れる */
.hero-slides {
  position: absolute; inset: 0; z-index: 0;
  display: grid;
}
.hero-slides__panel { position: relative; overflow: hidden; }
.hero-slides__panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  visibility: hidden;
}
.hero-slides__panel img.is-active {
  visibility: visible; z-index: 2;
  animation: heroKen 9s cubic-bezier(.33, 0, .2, 1) forwards;
}
.hero-slides__panel img.is-enter {
  animation: heroReveal 1.5s cubic-bezier(.77, 0, .18, 1) forwards, heroKen 9s cubic-bezier(.33, 0, .2, 1) forwards;
}
/* 前の写真は少し上に押し出されながら暗くなる */
.hero-slides__panel img.is-leaving {
  visibility: visible; z-index: 1;
  animation: heroLeave 1.5s cubic-bezier(.77, 0, .18, 1) forwards;
}
@keyframes heroKen { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes heroReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroLeave { to { transform: translateY(-8%) scale(1.04); filter: brightness(.55); } }

/* 文字：最初の画面の左下に配置 */
.hero__inner {
  position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); right: clamp(20px, 6vw, 96px);
  top: calc(var(--header-h) + var(--hero-view) - clamp(32px, 9vh, 110px));
  translate: 0 -100%;
  will-change: transform, opacity;
}
.hero__sub {
  font-family: var(--f-en); font-style: italic; font-weight: 400;
  font-size: clamp(20px, 3.4vw, 52px); line-height: 1.3; letter-spacing: .06em;
  color: var(--c-white); text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}
.hero__sub::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 1.4em; height: 1px; background: currentColor; margin-right: .5em;
  transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .7s;
}
body.is-loaded .hero__sub::before { transform: scaleX(1); }
/* 1文字ずつ出現（JSで .char に分割） */
.hero__sub .char {
  display: inline-block; white-space: pre;
  opacity: 0; filter: blur(8px);
  transform: translateY(40%) rotate(6deg);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease);
  transition-delay: calc(1s + var(--i) * .05s);
}
body.is-loaded .hero__sub .char { opacity: 1; filter: blur(0); transform: none; }

.hero__scroll {
  position: absolute; right: clamp(20px, 3vw, 40px); z-index: 1;
  top: calc(var(--header-h) + var(--hero-view)); translate: 0 -100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: var(--c-white);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 80px; background: var(--c-white);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- Works slider（トップ画面） ---------- */
.works {
  position: absolute; z-index: 2;
  right: clamp(56px, 5vw, 96px); width: min(30%, 400px);
  top: calc(var(--header-h) + var(--hero-view) - clamp(32px, 9vh, 110px));
  translate: 0 -100%;
  --badge: 76px; --gap: 12px;
  display: flex; flex-direction: column; gap: var(--gap);
  opacity: 0; transform: translateX(40px);
  transition: opacity 1.4s var(--ease) 1.8s, transform 1.4s var(--ease) 1.8s;
}
body.is-loaded .works { opacity: 1; transform: none; }
.works__row { display: flex; align-items: flex-end; gap: var(--gap); }
/* 下段（Y.）：バッジなし。上段の写真と左端をそろえる */
.works__row--sub { padding-left: calc(var(--badge) + var(--gap)); }

.works__badge {
  position: relative; flex: 0 0 auto; width: var(--badge); height: var(--badge); color: var(--c-white);
  display: grid; place-items: center; align-self: center;
}
.works__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.works__badge-ring {
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .16em;
  fill: currentColor;
}
.works__badge-center {
  font-family: var(--f-en); font-style: italic; font-size: 12px; line-height: 1;
  transition: transform .5s var(--ease);
}
.works__badge:hover .works__badge-center { transform: scale(1.12); }

.works__viewport { flex: 1; min-width: 0; overflow: hidden; }
.works__track { display: flex; --show: 3; }
.works__track.is-animating { transition: transform .9s var(--ease); }
.works-item { flex: 0 0 calc(100% / var(--show)); padding-right: 8px; }
.works-item a { display: block; color: var(--c-white); }
.works-item__img {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 8px;
  background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
}
.works-item__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .6s;
}
.works-item a:hover .works-item__img img { transform: scale(1.08); }
/* 画像未設定時のプレースホルダー */
.works-item__ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: "Montserrat", sans-serif; font-size: 10px; letter-spacing: .15em; color: rgba(255, 255, 255, .55);
}
.works-item__ph::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 28%; aspect-ratio: 1;
  translate: -50% -50%; border: 1.5px solid currentColor; border-radius: 28%;
  box-shadow: inset 0 0 0 999px transparent;
}
.works-item__title {
  font-size: 10px; line-height: 1.5; margin-top: 6px; letter-spacing: .04em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.works-item__tag {
  display: inline-block; margin-top: 4px; padding: .15em .9em;
  font-family: "Montserrat", sans-serif; font-weight: 600; font-size: 9px; letter-spacing: .08em;
  background: transparent; color: var(--c-white); border-radius: 999px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .5);
}

/* ---------- Section head ---------- */
.section-head { margin-bottom: 56px; }
.section-head--center { text-align: center; }
.section-head__en {
  font-family: var(--f-en); font-weight: 300;
  font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: .06em;
}
.section-head__ja {
  font-family: var(--f-sans); font-size: 13px; font-weight: 400;
  color: var(--c-text-sub); letter-spacing: .2em; margin-top: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.section-head__ja::before { content: ""; width: 24px; height: 1px; background: var(--c-accent); }

/* ---------- Reveal animation ---------- */
.js-reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; padding: 16px 32px;
  font-size: 13px; letter-spacing: .15em; line-height: 1.4;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary { background: var(--c-dark); color: var(--c-white); }
.btn--primary::before { background: var(--c-accent-dark); }
.btn--ghost { border: 1px solid var(--c-text); }
.btn--ghost::before { background: var(--c-text); }
.btn--ghost:hover { color: var(--c-white); }
.btn--line { border: 1px solid var(--c-line); margin-top: 40px; }
.btn--line::before { background: var(--c-text); }
.btn--line:hover { color: var(--c-white); border-color: var(--c-text); }

/* ---------- Salon ---------- */
.salon { background: var(--c-bg-sub); }
.salon-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; /* 写真側を広めにして引きの画に */
  margin-bottom: 96px; background: var(--c-bg);
}
.salon-card:last-child { margin-bottom: 0; }
.salon-card--reverse { grid-template-columns: 1fr 1.2fr; }
.salon-card--reverse .salon-card__visual { order: 2; }
.salon-card__visual {
  position: relative; min-height: 360px;
  display: grid; place-items: center; padding: 48px; overflow: hidden;
}
.salon-card__visual img { width: 70%; max-width: 380px; transition: transform 1.2s var(--ease); }
.salon-card:hover .salon-card__visual > img:not(.salon-card__logo) { transform: scale(1.04); }
.salon-card__visual--voler { background: linear-gradient(135deg, #e9e9e9 0%, #cfcfcf 100%); }
.salon-card__visual--y { background: linear-gradient(135deg, #2a2a2a 0%, #0d0d0d 100%); color: var(--c-white); }
.salon-card__visual--y img { width: 26%; max-width: 150px; }

/* 店内写真スライドショー：ふわっと切り替え＋ゆっくりズーム */
.salon-card__visual--photo { background: var(--c-dark); padding: 0; }
.salon-slides { position: absolute; inset: 0; }
.salon-card__visual .salon-slides img {
  position: absolute; inset: 0; width: 100%; max-width: none; height: 100%;
  object-fit: cover; opacity: 0; /* 消えていく写真はズーム後の大きさのまま */
  transition: opacity 1.8s var(--ease);
}
.salon-card__visual .salon-slides img.is-active { opacity: 1; animation: salonZoom 7s linear forwards; }
/* 寄りすぎないよう、ズームはごく控えめに */
@keyframes salonZoom { from { transform: scale(1.035); } to { transform: scale(1); } }
/* Y. は写真の縦横比（4:3）に合わせて枠を作り、トリミングせず引きで見せる */
#salon-y .salon-card__visual--photo { align-self: center; min-height: 0; aspect-ratio: 4 / 3; }
#salon-y .salon-slides img { object-position: 50% 50% !important; }
#salon-y .salon-slides img.is-active { animation: none; transform: none; }
/* ロゴが読めるよう下側を暗く */
.salon-card__visual--photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 45%);
}
.salon-card__visual .salon-card__logo {
  position: absolute; z-index: 1; left: clamp(20px, 3vw, 36px); bottom: clamp(18px, 3vw, 32px);
  width: clamp(110px, 12vw, 170px); max-width: none; transform: none;
}
.salon-card__visual .salon-card__logo--y { width: clamp(44px, 4.6vw, 64px); }
/* 写真の上ではオープン告知を右上に（右下はドット） */
.salon-card__visual--photo .salon-card__badge {
  z-index: 1; top: clamp(16px, 2.4vw, 28px); right: clamp(16px, 2.4vw, 28px); bottom: auto;
  color: var(--c-white); background: rgba(0, 0, 0, .25); backdrop-filter: blur(4px);
}
/* インジケーター：細いライン。表示中のラインが時間とともに伸びる */
.salon-slides__dots { position: absolute; z-index: 1; right: clamp(20px, 3vw, 36px); bottom: clamp(26px, 3.4vw, 40px); display: flex; gap: 6px; }
.salon-slides__dots span { position: relative; width: 22px; height: 1px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.salon-slides__dots span::after { content: ""; position: absolute; inset: 0; background: var(--c-white); transform: scaleX(0); transform-origin: left; }
.salon-slides__dots span.is-active::after { animation: salonBar 5s linear forwards; }
@keyframes salonBar { to { transform: scaleX(1); } }
/* 内側の細いフレーム */
.salon-card__visual--photo::before {
  content: ""; position: absolute; z-index: 1; inset: clamp(10px, 1.4vw, 16px); pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .22);
}
/* キャプション（img の data-caption から表示） */
.salon-slides__caption {
  position: absolute; z-index: 1; left: clamp(26px, 3.2vw, 40px); top: clamp(24px, 3vw, 36px);
  display: flex; align-items: baseline; gap: 14px; color: var(--c-white);
  font-family: var(--f-en); letter-spacing: .2em; text-shadow: 0 1px 12px rgba(0, 0, 0, .35);
}
.salon-slides__caption .num { font-size: 12px; opacity: .75; }
.salon-slides__caption .num::after { content: ""; display: inline-block; width: 28px; height: 1px; margin-left: 14px; vertical-align: middle; background: currentColor; opacity: .6; }
.salon-slides__caption .label { font-size: 14px; font-style: italic; transition: opacity .6s, transform .6s var(--ease); }
.salon-slides__caption .label.is-out { opacity: 0; transform: translateY(6px); }
/* 上側も少し暗くしてキャプションを読みやすく */
.salon-card__visual--photo:has(.salon-slides__caption)::after {
  background: linear-gradient(0deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .3) 100%);
}
.salon-card__badge {
  position: absolute; right: 24px; bottom: 24px;
  font-family: var(--f-en); font-size: 14px; letter-spacing: .2em;
  padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .6);
}
/* PCでもボックス全体が1画面に収まるよう、余白を詰めている */
.salon-card__body { padding: clamp(28px, 3.2vw, 44px); }
.salon-card__area { font-family: var(--f-en); font-size: 15px; color: var(--c-accent-dark); letter-spacing: .12em; }
.salon-card__name { font-family: var(--f-en); font-weight: 400; font-size: 42px; line-height: 1.2; margin: 2px 0 12px; }
.salon-card__name small { font-family: var(--f-sans); font-size: 12px; color: var(--c-text-sub); margin-left: 14px; letter-spacing: .2em; }
.salon-card__catch { font-family: var(--f-serif); font-size: 16px; line-height: 1.8; margin-bottom: 10px; }
.salon-card__text { font-size: 14px; line-height: 1.8; color: var(--c-text-sub); margin-bottom: 18px; }
.info { border-top: 1px solid var(--c-line); font-size: 13px; }
.info > div { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--c-line); line-height: 1.7; }
.info dt { color: var(--c-text-sub); }
.salon-card__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.salon-card__btns .btn { min-width: 0; flex: 1 1 200px; padding: 12px 16px; white-space: nowrap; letter-spacing: .1em; }
/* Instagram：横並びのときは予約・MAPの下に全幅で。縦積みのときは予約のすぐ下 */
.salon-card__btns .btn--insta { order: 1; flex-basis: 100%; }
/* Googleマップ：Instagram のすぐ下に全幅で */
.salon-card__btns .btn--map { order: 2; flex-basis: 100%; }
.btn--insta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--insta svg .dot { fill: currentColor; stroke: none; }
.salon-card__map { grid-column: 1 / -1; }
.salon-card__map iframe { display: block; width: 100%; height: 360px; border: 0; filter: grayscale(.8) contrast(1.05); }

/* ---------- Style ---------- */
.style { text-align: center; }
.tabs { position: relative; display: inline-flex; border-bottom: 1px solid var(--c-line); margin-bottom: 48px; }
.tabs__btn {
  font-family: var(--f-en); font-size: 26px; letter-spacing: .1em;
  width: 160px; padding: 8px 0 14px; color: var(--c-text-sub); transition: color .3s;
}
.tabs__btn.is-active { color: var(--c-text); }
.tabs__indicator {
  position: absolute; left: 0; bottom: -1px; width: 160px; height: 2px; background: var(--c-text);
  transition: transform .5s var(--ease);
}
.tabs[data-active="1"] .tabs__indicator { transform: translateX(100%); }
.style__panel { animation: fadeUp .7s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* 8枚を4列×2段で。写真が大きくなりすぎないよう一覧の幅を抑える */
.style-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 12px;
  max-width: 720px; margin-inline: auto; text-align: left;
}
.style-card a { display: block; }
.style-card__img {
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px;
  background: linear-gradient(135deg, #e9e4de, #d6cfc6);
}
.style-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.style-card a:hover .style-card__img img { transform: scale(1.06); }
.style-card__ph {
  display: grid; place-items: center; height: 100%;
  font-family: var(--f-en); font-size: 12px; letter-spacing: .2em; color: rgba(0, 0, 0, .35);
}
.style-card__title {
  margin-top: 8px; font-size: 12px; line-height: 1.5;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Staff ---------- */
.staff { background: var(--c-white); padding: clamp(24px, 4vw, 56px); }
.staff__inner {
  max-width: 1280px; margin-inline: auto;
  background: var(--c-bg-sub); border-radius: 16px;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px) clamp(40px, 5vw, 72px);
}
.staff__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.staff__title {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  column-gap: 24px; align-items: end;
}
.staff__badge {
  grid-row: 1 / 3; width: 112px; height: 112px;
  animation: spin 16s linear infinite;
}
.staff__badge text {
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 10.5px; letter-spacing: .18em;
  fill: var(--c-text);
}
.staff__badge circle { fill: var(--c-text); }
.staff__sub {
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .18em; line-height: 1;
}
.staff__sub b { font-weight: 500; color: var(--c-accent); margin: 0 .3em; }
.staff__main {
  font-family: var(--f-serif); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: .12em; line-height: 1.4; margin-top: 10px;
}
.staff__lead { font-size: 14px; line-height: 2.1; color: var(--c-text-sub); text-align: right; }

.staff__tabs { text-align: center; margin-top: clamp(40px, 5vw, 64px); }
.staff__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; }
.staff-card { text-align: center; }
.staff-card:nth-child(4n+2) { transition-delay: .12s; }
.staff-card:nth-child(4n+3) { transition-delay: .24s; }
.staff-card:nth-child(4n+4) { transition-delay: .36s; }
.staff-card__photo { position: relative; display: block; aspect-ratio: 1 / 1; }
.staff-card__shape {
  position: absolute; inset: 3%;
  border-radius: 38%; background: #d2d2d2;
  animation: spin 12s linear infinite;
  transition: background .5s;
}
.staff-card:nth-child(even) .staff-card__shape { background: var(--c-dark); animation: spin-r 9s linear infinite; }
.staff-card:hover .staff-card__shape { background: var(--c-dark); }
.staff-card:nth-child(even):hover .staff-card__shape { background: #bdbdbd; }
.staff-card__img {
  position: absolute; inset: 13%; border-radius: 50%; overflow: hidden; background: #ccc;
}
.staff-card__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transition: transform 1s var(--ease);
}
.staff-card:hover .staff-card__img img { transform: scale(1.08); }
.staff-card__salon {
  position: absolute; right: 4%; top: 6%; z-index: 2;
  font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .12em;
  padding: 4px 12px; background: var(--c-white); color: var(--c-text); border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}
.staff-card h3 { font-weight: 400; }
.staff-card__role { display: block; font-size: 13px; color: var(--c-text-sub); letter-spacing: .15em; margin-top: 20px; }
.staff-card__name {
  display: block; font-family: "Montserrat", sans-serif; font-weight: 700;
  font-size: 18px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.5;
}
.staff-card__comment { font-size: 12px; color: var(--c-text-sub); line-height: 1.8; margin-top: 6px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-r { to { transform: rotate(-360deg); } }

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.news__list { border-top: 1px solid var(--c-line); }
.news__list li {
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 20px;
  padding: 24px 0; border-bottom: 1px solid var(--c-line);
}
.news__list time { font-family: var(--f-en); font-size: 17px; letter-spacing: .08em; }
.news__list .tag {
  font-family: var(--f-en); font-size: 12px; min-width: 64px; text-align: center; justify-self: start;
  padding: 2px 10px; border: 1px solid var(--c-accent); color: var(--c-accent-dark); line-height: 1.6;
}
.news__list p { font-size: 14px; line-height: 1.8; }


/* ---------- Company ---------- */
.company__table { border-top: 1px solid var(--c-line); }
.company__table > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--c-line); }
.company__table dt { color: var(--c-text-sub); font-size: 14px; }
.company__table dd { font-size: 15px; line-height: 2; }
.company__store { display: block; }
/* 店名の幅をそろえて、住所の書き出し位置を上下でそろえる */
.company__shop { display: inline-block; min-width: 9em; margin-right: 1em; }

/* ---------- Reserve ---------- */
.reserve { background: var(--c-white); }
.reserve__lead { text-align: center; margin-top: -24px; margin-bottom: 48px; font-size: 14px; color: var(--c-text-sub); }
.reserve__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin-inline: auto; }
.reserve__card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 56px 24px; border: 1px solid var(--c-line); background: var(--c-bg);
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.reserve__card:hover { border-color: var(--c-text); transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .35); }
.reserve__card img { height: 72px; width: auto; }
.reserve__area { font-size: 12px; color: var(--c-text-sub); letter-spacing: .2em; }
.reserve__go { font-family: var(--f-en); font-size: 18px; letter-spacing: .15em; margin-top: 12px; }
.reserve__go i { display: inline-block; font-style: normal; transition: transform .4s var(--ease); }
.reserve__card:hover .reserve__go i { transform: translateX(6px); }

/* ---------- Footer ---------- */
.footer { background: var(--c-dark); color: var(--c-white); padding: 80px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 48px; align-items: start; }
.footer__logo { display: flex; align-items: center; gap: .45em; font-family: var(--f-en); font-size: 40px; font-weight: 600; letter-spacing: .3em; line-height: 1; color: #f5f0e6; }
.footer__logo img { width: auto; height: 1.5em; }
.footer__desc { font-size: 12px; color: rgba(255, 255, 255, .6); margin-top: 20px; line-height: 2; }
.footer__nav { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 40px; font-family: var(--f-en); font-size: 14px; letter-spacing: .1em; }
.footer__nav a { opacity: .75; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }
.footer__salons { display: flex; align-items: center; gap: 28px; }
.footer__salons img { height: 44px; width: auto; opacity: .85; }
.footer__copy { text-align: center; font-family: var(--f-en); font-size: 13px; color: rgba(255, 255, 255, .5); margin-top: 64px; letter-spacing: .12em; }

/* ---------- Page top ---------- */
.pagetop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-white); border: 1px solid var(--c-line);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.pagetop::before {
  content: ""; position: absolute; top: 55%; left: 50%; width: 10px; height: 10px;
  border-top: 1px solid var(--c-text); border-left: 1px solid var(--c-text);
  transform: translate(-50%, -50%) rotate(45deg);
}
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--c-bg-sub); }

/* =========================================================
   代表作品集ページ（gallery.html）
   ========================================================= */
.gnav__list a[aria-current="page"] .en::after { transform: scaleX(1); }
body.is-lightbox { overflow: hidden; }

.gallery-intro { padding: calc(var(--header-h) + clamp(40px, 7vw, 96px)) clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px); }
.gallery-intro__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery-intro .section-head { margin-bottom: 0; }
.gallery-intro .section-head__en { font-size: clamp(44px, 8vw, 120px); letter-spacing: .02em; }
.gallery-intro__meta {
  font-family: var(--f-en); font-size: 18px; line-height: 1.5; letter-spacing: .12em; text-align: right;
}
.gallery-intro__hint { font-size: 13px; color: var(--c-text-sub); }
.gallery-intro__hint::after {
  content: ""; display: inline-block; vertical-align: middle; width: 40px; height: 1px; margin-left: 10px;
  background: currentColor; animation: hintLine 2.4s var(--ease) infinite;
}
@keyframes hintLine {
  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; }
}

/* Flow：作品が流れ続ける3段のライン */
.flow {
  --row-h: clamp(200px, 30vh, 360px); --flow-gap: 14px;
  display: grid; gap: var(--flow-gap); overflow: hidden; padding-bottom: var(--flow-gap);
}
.flow__row { overflow: hidden; }
.flow__track { display: flex; gap: var(--flow-gap); width: max-content; will-change: transform; }
.flow__item {
  flex: 0 0 auto; height: var(--row-h); aspect-ratio: var(--ar);
  overflow: hidden; background: var(--c-bg-sub); cursor: zoom-in;
}
.flow__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.flow__item:hover img { transform: scale(1.05); }
.flow__row:hover .flow__item:not(:hover) img { filter: brightness(.9) saturate(.8); }
/* 動きを減らす設定の方には、手で横スクロールできる一覧として表示 */
.flow--static .flow__row { overflow-x: auto; }

/* Index：全作品の一覧 */
.works-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.works-index__item:nth-child(4n+2) { transition-delay: .1s; }
.works-index__item:nth-child(4n+3) { transition-delay: .2s; }
.works-index__item:nth-child(4n+4) { transition-delay: .3s; }
.works-index__btn { display: block; width: 100%; text-align: left; cursor: zoom-in; }
.works-index__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--c-bg-sub); }
/* 写真を切らずに枠内に収める（横長の写真は上下に余白） */
.works-index__img { display: grid; place-items: center; background: var(--c-white); }
.works-index__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease); }
.works-index__btn:hover .works-index__img img { transform: scale(1.05); }
.works-index__no { display: block; margin-top: 10px; font-family: var(--f-en); font-size: 15px; letter-spacing: .12em; }
.gallery-back { display: flex; width: fit-content; margin: clamp(56px, 8vw, 96px) auto 0; }

/* Lightbox：作品の拡大表示 */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  background: rgba(255, 255, 255, .97);
  opacity: 0; transition: opacity .4s var(--ease);
}
.lightbox.is-open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.lightbox__img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; object-fit: contain; }
.lightbox__caption { font-family: var(--f-en); font-size: 15px; letter-spacing: .15em; }
.lightbox__nav { font-family: var(--f-en); font-size: 28px; width: clamp(48px, 8vw, 96px); height: 100%; transition: opacity .3s; }
.lightbox__nav:hover { opacity: .5; }
.lightbox__close { position: absolute; top: 16px; right: 16px; z-index: 1; width: 48px; height: 48px; }
.lightbox__close::before,
.lightbox__close::after {
  content: ""; position: absolute; top: 50%; left: 12px; width: 24px; height: 1px; background: var(--c-text);
}
.lightbox__close::before { transform: rotate(45deg); }
.lightbox__close::after { transform: rotate(-45deg); }

@media (max-width: 640px) {
  .gallery-intro__inner { flex-direction: column; align-items: flex-start; }
  .gallery-intro__meta { text-align: left; font-size: 15px; }
  .flow { --row-h: clamp(150px, 24svh, 220px); --flow-gap: 8px; }
  .works-index { grid-template-columns: repeat(2, 1fr); gap: 28px 10px; }
  .lightbox { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; } /* スマホはスワイプで切り替え */
  .lightbox__figure { padding: 0 12px; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .hamburger { display: block; }
  .gnav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: var(--c-bg);
    opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; }
  .gnav__list { flex-direction: column; gap: 18px; }
  .gnav__list a { flex-direction: row; gap: 16px; align-items: baseline; justify-content: center; }
  .gnav__list .en { font-size: 26px; }
  .gnav__list li { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .is-menu-open .gnav__list li { opacity: 1; transform: none; }
  .is-menu-open .gnav__list li:nth-child(2) { transition-delay: .05s; }
  .is-menu-open .gnav__list li:nth-child(3) { transition-delay: .1s; }
  .is-menu-open .gnav__list li:nth-child(4) { transition-delay: .15s; }
  .is-menu-open .gnav__list li:nth-child(5) { transition-delay: .2s; }
  .is-menu-open .gnav__list li:nth-child(6) { transition-delay: .25s; }

  .hero__scroll { display: none; }
  /* Worksスライダー：写真の右上に小さく重ねる */
  .works {
    top: calc(var(--header-h) + 16px); translate: none;
    right: 16px; width: min(46%, 340px);
  }
  /* 小さい画面では回転文字を省き、枠線だけの円に */
  .works { --badge: 56px; }
  .works__badge { border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; }
  .works__badge svg { display: none; }
  .works__badge-center { font-size: 11px; }

  .salon-card, .salon-card--reverse { grid-template-columns: 1fr; }
  .salon-card--reverse .salon-card__visual { order: 0; }
  .salon-card__visual { min-height: 300px; }
  .salon-card__visual--photo { min-height: 0; aspect-ratio: 4 / 3; }  .news__grid { grid-template-columns: 1fr; gap: 0; }
  .staff__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .staff__lead { text-align: left; }
  .staff__list { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__salons { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .sp { display: inline; }
  .container, .container--narrow { width: calc(100% - 32px); }
  .header__logo { font-size: 22px; }
  .works { width: 42%; right: 10px; top: calc(var(--header-h) + 10px); --badge: 40px; --gap: 6px; }
  .works__badge-center { font-size: 8px; }
  .works-item__tag { font-size: 8px; }
  .works-item__title { display: none; }

  .section-head { margin-bottom: 40px; }

  .salon-card { margin-bottom: 56px; }
  .salon-card__visual { min-height: 220px; padding: 32px; }
  .salon-card__visual--photo { min-height: 0; padding: 0; }
  .salon-card__name { font-size: 40px; }
  .salon-card__body { padding: 32px 20px; }
  .info > div { grid-template-columns: 72px 1fr; gap: 12px; }
  .salon-card__map iframe { height: 280px; }

  .tabs__btn, .tabs__indicator { width: 130px; }
  .style-grid { gap: 14px 6px; }
  .style-card__title { margin-top: 4px; font-size: 10px; }
  .style-card__ph { font-size: 9px; letter-spacing: .1em; }
  .btn { min-width: 0; width: 100%; }
  .salon-card__btns .btn--insta, .salon-card__btns .btn--map { order: 0; }

  .pc { display: none; }
  .staff { padding: 16px; }
  .staff__inner { padding: 48px 16px 40px; }
  .staff__badge { width: 80px; height: 80px; }
  .staff__title { column-gap: 16px; }
  .staff__lead { font-size: 13px; }
  .staff__list { gap: 32px 12px; }
  .staff-card__salon { font-size: 10px; padding: 3px 9px; }
  .staff-card__role { font-size: 11px; margin-top: 14px; }
  .staff-card__name { font-size: 14px; }
  .staff-card__comment { font-size: 11px; }

  .news__list li { grid-template-columns: auto 1fr; gap: 6px 14px; }
  .news__list p { grid-column: 1 / -1; }

  .company__table > div { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  /* 運営店舗：店名の下に住所を1行で（画面幅に合わせて文字を縮める） */
  .company__store + .company__store { margin-top: 8px; }
  .company__shop { display: block; min-width: 0; margin-right: 0; }
  .company__addr { display: block; white-space: nowrap; font-size: min(14px, calc((100vw - 40px) / 26)); }
  .reserve__grid { grid-template-columns: 1fr; }
  .reserve__card { padding: 40px 16px; }
  .reserve__card img { height: 56px; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .pagetop { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* 画面には表示せず、検索エンジン・読み上げソフトだけに伝える */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 電話番号：スマホでタップすると発信。押せることが分かるよう下線を付ける */
.info a[href^="tel:"] { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.info a[href^="tel:"]:hover { opacity: .7; }
