:root {
  --bg: #727171;
  --bg-rgb: 114, 113, 113;
  --ink: #f7f5f1;
  --ink-soft: #cbc8c3;
  --line: rgba(255, 255, 255, 0.2);
  --accent: #c7a75c;
  --header-h: 72px;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 { margin: 0; font-family: var(--font-serif); font-weight: 500; letter-spacing: 0.04em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(var(--bg-rgb), 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.scrolled { border-color: var(--line); }

.header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--accent);
}
.logo span { margin-left: 6px; color: var(--accent); letter-spacing: 0.12em; }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.btn-reserve {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 10px 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 500;
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-reserve:hover { background: var(--ink); color: var(--bg); }
.btn-reserve.small { padding: 7px 16px; font-size: 11px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span { width: 100%; height: 1px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
.hero-wordmark {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: var(--bg);
  opacity: 1;
  animation: heroWordmarkOut 1.2s ease forwards;
  animation-delay: 2s;
}
.hero-wordmark span {
  font-family: var(--font-serif);
  font-size: clamp(64px, 13vw, 190px);
  letter-spacing: 0.06em;
  color: var(--accent);
  text-transform: none;
  white-space: nowrap;
  animation: heroWordmarkScale 1.2s ease forwards;
  animation-delay: 2s;
}
.hero-wordmark span em {
  font-style: normal;
  font-size: 0.42em;
  letter-spacing: 0.2em;
  margin-left: 0.15em;
  vertical-align: 0.5em;
}
@keyframes heroWordmarkOut {
  from { opacity: 1; background: var(--bg); }
  to { opacity: 0; background: transparent; visibility: hidden; }
}
@keyframes heroWordmarkScale {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
.hero-media {
  position: absolute; inset: 0;
  opacity: 0;
  animation: heroImageIn 1.4s ease forwards;
  animation-delay: 2.1s;
}
.hero-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.6);
  opacity: 0;
  animation: heroCrossfade 18s ease-in-out infinite;
}
.hero-media img:nth-child(1) { animation-delay: 0s; }
.hero-media img:nth-child(2) { animation-delay: -6s; }
.hero-media img:nth-child(3) { animation-delay: -12s; }
@keyframes heroImageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroCrossfade {
  0% { opacity: 0; }
  4% { opacity: 1; }
  29.33% { opacity: 1; }
  33.33% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { animation: none; opacity: 0; }
  .hero-media img:first-child { opacity: 1; }
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 140px 24px 80px;
  max-width: 1400px;
  margin: 0 auto;
  opacity: 0;
  animation: heroContentIn 1.2s ease forwards;
  animation-delay: 2.3s;
}
@keyframes heroContentIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero-wordmark, .hero-wordmark span, .hero-media, .hero-content { animation: none; }
  .hero-wordmark { opacity: 0; visibility: hidden; }
  .hero-media, .hero-content { opacity: 1; }
}
.hero-eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--ink-soft); }
.hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-title { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.6; font-weight: 400; color: var(--ink-soft); }
.hero-reserve { color: var(--ink); border-color: var(--ink); }
.hero-reserve:hover { background: var(--ink); color: var(--bg); }

.scroll-hint {
  position: absolute;
  right: 28px; bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  color: var(--ink-soft);
}
.scroll-hint span { display: block; width: 1px; height: 48px; background: var(--ink-soft); opacity: .7; animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleY(1); opacity:.7 } 50% { transform: scaleY(0.4); opacity:.3 } }

/* ---------- Sections ---------- */
.section { max-width: 1400px; margin: 0 auto; padding: 120px 24px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-head h2 { font-size: 34px; letter-spacing: 0.1em; }
.section-more { font-size: 12px; letter-spacing: 0.12em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- News ---------- */
.news-carousel { position: relative; display: flex; align-items: center; gap: 12px; }
.news-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.news-list::-webkit-scrollbar { display: none; }
.news-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}
.news-thumb { aspect-ratio: 3/2; overflow: hidden; margin-bottom: 14px; background: rgba(255,255,255,0.08); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-date { font-size: 12px; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.news-date .tag { border: 1px solid var(--line); padding: 2px 8px; font-size: 10px; letter-spacing: .05em; }
.news-card h3 { font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .02em; line-height: 1.6; }

.carousel-btn {
  flex: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.carousel-btn:hover { background: rgba(255, 255, 255, 0.1); }

.link-underline { font-size: 12px; letter-spacing: 0.12em; border-bottom: 1px solid currentColor; padding-bottom: 2px; margin-top: 8px; }

/* ---------- Staff ---------- */
.icon-sm { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; }

.store-filter { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 20px 7px 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  cursor: pointer;
  font-family: var(--font-sans);
  border-radius: 999px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--line);
  font-family: var(--font-serif);
  font-size: 12px;
  flex: none;
  transition: background .2s ease, color .2s ease;
}
.filter-btn:first-child { padding: 7px 20px; }
.filter-btn:first-child .filter-dot { width: auto; height: auto; border-radius: 0; background: transparent; padding: 0; }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-btn.active .filter-dot, .filter-btn:hover .filter-dot { background: var(--accent); color: #fff; }

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
}
.staff-card.hide { display: none; }
.staff-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; margin-bottom: 20px; background: rgba(255,255,255,0.08); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: saturate(0.94); }
.staff-card:hover .staff-photo img { transform: scale(1.04); }
.staff-photo-ig {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0) 55%);
  opacity: 0;
  transition: opacity .25s ease;
}
.staff-photo-ig .icon-sm { width: 22px; height: 22px; margin: 0; }
.staff-card:hover .staff-photo-ig, .staff-photo-ig:focus-visible { opacity: 1; }
.staff-divider { width: 46px; height: 2px; margin-bottom: 14px; background: linear-gradient(90deg, var(--accent), rgba(199,167,92,0)); }
.staff-store { font-size: 11px; letter-spacing: 0.1em; color: var(--ink-soft); text-transform: uppercase; margin: 0; }
.staff-role { font-size: 11px; letter-spacing: 0.12em; color: var(--accent); margin: 4px 0; }
.staff-name-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.staff-card h3 { font-size: 21px; letter-spacing: 0.06em; }
.staff-name-en { font-family: var(--font-serif); font-style: italic; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-soft); }
.staff-desc { font-size: 13px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.85; }
.staff-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.staff-kana { font-size: 11px; letter-spacing: 0.08em; color: var(--ink-soft); }
.icon-link { display: flex; align-items: center; font-size: 11px; letter-spacing: 0.05em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.gallery-grid li { aspect-ratio: 1/1; overflow: hidden; background: rgba(255,255,255,0.08); }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid li:hover img { transform: scale(1.08); }

/* ---------- Menu ---------- */
.menu-groups { display: flex; flex-direction: column; gap: 44px; }
.menu-category {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.menu-list { display: flex; flex-direction: column; gap: 0; }
.menu-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.menu-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.menu-name { font-family: var(--font-serif); font-size: 18px; letter-spacing: 0.04em; }
.menu-line { flex: 1; min-width: 20px; border-bottom: 1px dotted var(--line); transform: translateY(-6px); }
.menu-price { font-size: 15px; color: var(--ink-soft); white-space: nowrap; }
.menu-desc { margin-top: 8px; font-size: 12.5px; color: var(--ink-soft); line-height: 1.75; }
.menu-note { margin-top: 24px; font-size: 12px; color: var(--ink-soft); }

/* ---------- Salon Info ---------- */
.salon-panels {
  display: flex;
  height: 74vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
}
.salon-panel {
  position: relative;
  flex: 1 1 33.333%;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  transition: flex-basis .6s cubic-bezier(.4, 0, .2, 1);
}
.salon-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.62);
  transition: opacity .6s ease, filter .4s ease, transform .8s ease;
}
.salon-panel-img-top { object-position: center top; }
.salon-panel-photo-interior { opacity: 0; }
.salon-panels:hover .salon-panel { flex-basis: 14%; }
.salon-panels .salon-panel:hover { flex-basis: 72%; }
.salon-panel:hover img { filter: brightness(0.48); transform: scale(1.04); }
.salon-panel:hover .salon-panel-photo-exterior { opacity: 0; }
.salon-panel:hover .salon-panel-photo-interior { opacity: 1; }

.salon-panel-overlay {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #fff;
}
.salon-panel-overlay h3 { font-size: 24px; letter-spacing: 0.08em; white-space: nowrap; }
.salon-panel-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s ease;
}
.salon-panel:hover .salon-panel-detail { max-height: 200px; opacity: 1; margin-top: 12px; }
.salon-addr, .salon-tel, .salon-hours { font-size: 13px; margin: 0 0 6px; opacity: 0.9; white-space: nowrap; }
.salon-panel-detail .link-underline { display: inline-block; margin-top: 6px; color: #fff; }

/* ---------- Recruit CTA ---------- */
.recruit-cta {
  text-align: center;
  padding: 100px 24px;
  border-top: 1px solid var(--line);
}
.recruit-cta h2 { font-size: 30px; letter-spacing: 0.12em; margin-bottom: 16px; }
.recruit-cta p { color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- Recruit detail page (recruit.html) ---------- */
.recruit-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 100px;
}
.recruit-page-head { text-align: center; margin-bottom: 40px; }
.recruit-page-head h1 { font-size: 30px; letter-spacing: 0.12em; margin-bottom: 12px; }
.recruit-page-head p { color: var(--ink-soft); }
.recruit-back { display: inline-block; margin-bottom: 32px; font-size: 13px; letter-spacing: 0.05em; }
.recruit-page-images { display: flex; flex-direction: column; gap: 0; }
.recruit-page-images img { display: block; width: 100%; height: auto; }
.recruit-page-download { text-align: center; margin-top: 40px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 60px 24px 40px;
  border-top: 1px solid var(--line);
}
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 11px; letter-spacing: 0.12em; }
.footer-sns { display: flex; gap: 20px; }
.footer-sns a { font-size: 11px; letter-spacing: 0.1em; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.footer-copy { font-size: 11px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }

  .salon-panels { flex-direction: column; height: auto; min-height: 0; max-height: none; gap: 16px; }
  .salon-panel, .salon-panels:hover .salon-panel, .salon-panels .salon-panel:hover {
    flex-basis: auto; height: 58vh; min-height: 340px;
  }
  .salon-panel img, .salon-panel:hover img { filter: brightness(0.55); transform: none; }
  .salon-panel-detail, .salon-panel:hover .salon-panel-detail { max-height: none; opacity: 1; margin-top: 12px; }
}

@media (max-width: 720px) {
  .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); transform: translateY(-110%); transition: transform .3s ease; overflow-y: auto; }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 20px 24px; }
  .main-nav a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-reserve { padding: 8px 16px; }

  .section { padding: 80px 20px; }
  .section-head h2 { font-size: 26px; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .staff-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .staff-actions .btn-reserve.small { align-self: stretch; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-name { font-size: 18px; }
  .staff-photo-ig { opacity: 1; background: linear-gradient(0deg, rgba(0,0,0,.5), rgba(0,0,0,0) 45%); }
}
