/* =========================================================
   Lagrangi - style.css
   ========================================================= */

/* ---------- Custom Properties ---------- */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-base: #f7f5f0;
  --color-beige: #e8e0d3;
  --color-brown: #8a7258;
  --color-dark-brown: #3d342c;
  --color-olive: #6f765d;
  --color-text: #262522;
  --color-muted: #77736d;
  --color-border: #d9d4cc;
  --color-overlay: rgba(38, 29, 22, 0.42);

  /* Layout */
  --max-width: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --section-space: clamp(4.5rem, 9vw, 8.5rem);
  --header-h: 84px;

  /* Type */
  --font-jp: "Noto Sans JP", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-en: "Cormorant Garamond", "Times New Roman", serif;
  /* ロゴに合わせた丸みのある幾何学サンセリフ */
  --font-logo: "Quicksand", "Noto Sans JP", sans-serif;

  /* Effects */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --radius: 2px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.85;
  letter-spacing: 0.04em;
  overflow-x: hidden;
  /* スマホ固定CTA分の余白（PCでは打ち消す） */
  padding-bottom: 0;
}

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

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

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, p, dl, dd, figure { margin: 0; }

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

address { font-style: normal; }

:focus-visible {
  outline: 2px solid var(--color-brown);
  outline-offset: 3px;
}

.is-locked { overflow: hidden; }

/* ---------- Loading screen ---------- */
.loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  background: var(--color-base);
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.js .loader { display: flex; }
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__logo {
  width: clamp(170px, 30vw, 280px);
  height: auto;
  animation: loaderPulse 1.8s ease-in-out infinite;
}
.loader__bar {
  position: relative;
  width: 120px;
  height: 1px;
  background: var(--color-border);
  overflow: hidden;
}
.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-brown);
  transform: translateX(-100%);
  animation: loaderBar 1.4s var(--ease) infinite;
}
.is-loading { overflow: hidden; }
@keyframes loaderPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes loaderBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
@media (prefers-reduced-motion: reduce) {
  .loader__logo { animation: none; opacity: 1; }
  .loader__bar::after { animation: none; }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

.section__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section__en {
  font-family: var(--font-en);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--color-brown);
}
.section__en--light { color: var(--color-beige); }

.section__ja {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-top: 0.85rem;
  color: var(--color-text);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.75em 2em;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  text-align: center;
}

.btn--primary {
  background: var(--color-dark-brown);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-brown); }

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}
.btn--outline:hover {
  background: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}

.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  background: var(--color-white);
  color: var(--color-text);
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
}

/* Logo swap */
.header__logo { display: block; line-height: 0; position: relative; flex-shrink: 0; }
.header__logo-img {
  width: auto;
  height: 30px;
  max-width: none; /* flex 内で横方向に潰れないように */
  object-fit: contain;
  transition: opacity 0.4s var(--ease);
}
.header__logo-img--black { position: absolute; top: 0; left: 0; opacity: 0; }

/* Nav (PC) */
.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2rem);
}
.header__nav-link {
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-white);
  position: relative;
  padding-block: 0.3em;
  transition: color 0.3s var(--ease);
}
.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header__nav-link:hover::after { transform: scaleX(1); }

.header__nav-contact { display: flex; align-items: center; gap: 1.25rem; }
.header__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.35;
  color: var(--color-white);
}
.header__tel-lead { font-size: 0.72rem; letter-spacing: 0.1em; opacity: 0.9; }
.header__tel-num { font-family: var(--font-en); font-size: 1.2rem; font-weight: 600; letter-spacing: 0.04em; }

/* Header: scrolled state（PC・SP とも白背景・下線なし） */
.header.is-scrolled {
  background: var(--color-white);
  box-shadow: none;
}
.header.is-scrolled .header__logo-img--white { opacity: 0; }
.header.is-scrolled .header__logo-img--black { opacity: 1; }
.header.is-scrolled .header__nav-link,
.header.is-scrolled .header__tel { color: var(--color-text); }

/* Burger (hidden on PC) */
.header__burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  padding: 10px;
  position: relative;
  z-index: 110;
}
.header__burger-line {
  display: block;
  width: 24px; height: 2px;
  margin: 5px auto;
  background: var(--color-white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background-color 0.35s var(--ease);
}
.header.is-scrolled .header__burger-line { background: var(--color-text); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s var(--ease);
}
.hero__slide.is-active { opacity: 1; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 23, 17, 0.45) 0%, rgba(30, 23, 17, 0.30) 45%, rgba(30, 23, 17, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-inline: var(--gutter);
  color: var(--color-white);
}
.hero__logo {
  width: clamp(260px, 46vw, 560px);
  height: auto;
  margin-inline: auto;
}
.hero__catch {
  margin-top: clamp(1rem, 2.4vw, 1.6rem);
  font-family: var(--font-logo);
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  /* 左右中央寄せ（字間で右にずれるのを補正） */
  text-indent: 0.42em;
  line-height: 1.6;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}
.hero__cta { margin-top: clamp(1.75rem, 4vw, 2.75rem); }

/* PC ではヒーローの電話CTAを表示しない */
@media (min-width: 901px) {
  .hero__cta { display: none; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: var(--color-white);
}
.hero__scroll-text {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
}
.hero__scroll-line {
  width: 1px; height: 56px;
  background: rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--color-white);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

/* Hero intro fade-in */
.hero__logo, .hero__catch, .hero__cta {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 1.2s var(--ease) forwards;
}
.hero__catch { animation-delay: 0.25s; }
.hero__cta { animation-delay: 0.5s; }
@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Concept
   ========================================================= */
.concept { position: relative; overflow: hidden; }
.section__head--center { text-align: center; }

/* Decorative oversized watermark */
.concept__watermark {
  position: absolute;
  top: clamp(0.5rem, 3vw, 2.5rem);
  right: clamp(-0.5rem, 2vw, 2rem);
  font-family: var(--font-en);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-brown);
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Lead + brand signature */
.concept__lead {
  text-align: center;
  margin-bottom: clamp(3.5rem, 8vw, 6.5rem);
}
.concept__lead-text {
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 2.3;
  letter-spacing: 0.08em;
  color: var(--color-text);
}
.concept__rule {
  display: block;
  width: 1px;
  height: clamp(2.5rem, 5vw, 3.75rem);
  margin: clamp(1.5rem, 3vw, 2.25rem) auto;
  background: linear-gradient(to bottom, var(--color-brown), transparent);
}
.concept__sign {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--color-brown);
}

/* Concept points (text) */
.concept__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: 940px;
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}
.concept__point { padding-top: 1.75rem; border-top: 1px solid var(--color-border); }
.concept__point-no {
  display: block;
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--color-brown);
  margin-bottom: 1rem;
}
.concept__point-title {
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 0.9rem;
}
.concept__point-text { color: var(--color-muted); font-size: 0.95rem; }

/* Auto-scrolling image marquee (full-bleed, infinite) */
.marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 50s linear infinite;
}
.marquee__item {
  flex: 0 0 auto;
  margin: 0 clamp(0.75rem, 2vw, 1.5rem) 0 0; /* gap ではなく margin で seamless ループ */
  overflow: hidden;
  border-radius: var(--radius);
}
.marquee__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.marquee__item--sm { width: clamp(150px, 19vw, 250px); height: clamp(190px, 21vw, 290px); align-self: flex-start; }
.marquee__item--md { width: clamp(220px, 26vw, 360px); height: clamp(240px, 26vw, 340px); }
.marquee__item--lg { width: clamp(240px, 30vw, 400px); height: clamp(280px, 30vw, 400px); align-self: flex-end; }
.marquee__item--xl { width: clamp(200px, 24vw, 320px); height: clamp(300px, 36vw, 480px); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   Menu
   ========================================================= */
.menu { background: var(--color-base); }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.menu__group-title {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-brown);
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

/* Price list (shared) */
.price-list__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
}
.price-list__row dt {
  letter-spacing: 0.03em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5em;
}
.price-list__row dd {
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.price-list__tag {
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--color-olive);
  border: 1px solid var(--color-olive);
  border-radius: 999px;
  padding: 0.1em 0.7em;
  line-height: 1.6;
  white-space: nowrap;
}

.menu__note {
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}
.menu__actions { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; }
.menu__cta { margin-top: 1.25rem; text-align: center; }

/* =========================================================
   Gallery
   ========================================================= */
/* Slider */
.gallery__slider { position: relative; }
.gallery__viewport { overflow: hidden; }
.gallery__track {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  transition: transform 0.7s var(--ease);
  touch-action: pan-y;
  cursor: grab;
}
.gallery__track.is-dragging { transition: none; cursor: grabbing; }

.gallery__slide {
  flex: 0 0 auto;
  width: min(66%, 820px);
  opacity: 0.4;
  transition: opacity 0.6s var(--ease);
}
.gallery__slide.is-current { opacity: 1; }

.gallery__slide-btn {
  display: block;
  width: 100%;
  padding: 0; border: 0; background: none;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__slide-btn img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery__slide.is-current .gallery__slide-btn:hover img { transform: scale(1.04); }
.gallery__slide-btn::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(30, 23, 17, 0.55), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.gallery__slide.is-current .gallery__slide-btn::after { opacity: 1; }
.gallery__slide-cap {
  position: absolute;
  left: clamp(1rem, 2vw, 1.75rem);
  bottom: clamp(0.85rem, 2vw, 1.5rem);
  z-index: 1;
  font-family: var(--font-en);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  letter-spacing: 0.1em;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.gallery__slide.is-current .gallery__slide-cap { opacity: 1; transform: translateY(0); }

/* Arrows */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px; height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.gallery__arrow:hover { background: var(--color-text); color: var(--color-white); }
.gallery__arrow:disabled {
  opacity: 0.32;
  cursor: default;
  background: var(--color-white);
  color: var(--color-text);
}
.gallery__arrow--prev { left: clamp(0.5rem, 3vw, 2.5rem); }
.gallery__arrow--next { right: clamp(0.5rem, 3vw, 2.5rem); }

/* Footer: counter + progress */
.gallery__footer {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}
.gallery__counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-en);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}
.gallery__counter [data-gallery-current] { color: var(--color-text); }
.gallery__counter-sep { color: var(--color-border); }
.gallery__progress {
  flex: 1;
  height: 2px;
  background: var(--color-border);
  position: relative;
  overflow: hidden;
}
.gallery__progress-bar {
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 25%;
  background: var(--color-brown);
  transition: width 0.5s var(--ease);
}

/* =========================================================
   Style (tabs)
   ========================================================= */
.style__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.75rem);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.style__tab {
  background: none;
  border: 0;
  padding: 0.75rem 0.25rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  position: relative;
  transition: color 0.3s var(--ease);
}
.style__tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--color-dark-brown);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.style__tab.is-active { color: var(--color-text); font-weight: 700; }
.style__tab.is-active::after { transform: scaleX(1); }

.style__panel { display: none; }
.style__panel.is-active { display: block; }

.style__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

/* Placeholder (shared) */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: repeating-linear-gradient(135deg, var(--color-beige), var(--color-beige) 12px, #e2d9ca 12px, #e2d9ca 24px);
  color: var(--color-brown);
  border-radius: var(--radius);
}
.ph__label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  line-height: 1.5;
  padding: 0.5em;
}
.style__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-base);
}
.style__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
/* 仮イラストに変化をつける（実写真への差し替え時は削除して構いません） */
.style__card:nth-child(4n+2) .style__img { transform: scaleX(-1); }
.style__card:nth-child(4n+3) .style__img { filter: saturate(0.92) brightness(1.02); }
.style__card:nth-child(4n+4) .style__img { transform: scaleX(-1); filter: brightness(0.99) sepia(0.05); }
.style__cap {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
}

/* =========================================================
   Staff
   ========================================================= */
.staff__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.staff__photo { aspect-ratio: 3 / 4; margin-bottom: 1.5rem; }
.staff__role {
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--color-olive);
  margin-bottom: 0.35rem;
}
.staff__name {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 0.85rem;
}
.staff__comment { color: var(--color-muted); font-size: 0.95rem; }

/* =========================================================
   Access
   ========================================================= */
.access__info { max-width: 920px; margin-inline: auto; }
.access__dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 4rem);
}
.access__row {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--color-border);
}
.access__row dt { color: var(--color-muted); font-size: 0.9rem; letter-spacing: 0.08em; }
.access__row dd { letter-spacing: 0.03em; }
.access__tel { font-weight: 500; border-bottom: 1px solid currentColor; }
.access__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.access__actions .btn { min-width: 220px; }

/* マップ下の余白を詰めてコンタクトと隣接させる */
.access { padding-bottom: 0; }

/* Full-bleed monochrome map */
.access__map { width: 100%; }
.access__map--full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(3rem, 6vw, 5rem);
}
.access__map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-base);
}
.access__map--full .access__map-frame {
  aspect-ratio: auto;
  height: clamp(420px, 60vh, 680px);
  border-radius: 0;
  border-left: 0;
  border-right: 0;
}
.access__map-iframe {
  display: block;
  width: 100%; height: 100%;
  border: 0;
  /* モノクロ加工 */
  filter: grayscale(1) contrast(0.92) opacity(0.9);
  /* ロゴピンを店舗位置に固定するため地図操作（パン）は無効化。経路・拡大は「Googleマップで見る」ボタンから */
  pointer-events: none;
}
.access__map-pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 0; height: 0;
  pointer-events: none;
}
.access__map-pin-dot {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-dark-brown);
  box-shadow: 0 0 0 5px rgba(61, 52, 44, 0.16);
}
.access__map-pin-label {
  position: absolute;
  left: 0; bottom: 16px;
  transform: translateX(-50%);
  white-space: nowrap;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 11px 18px;
  box-shadow: 0 10px 22px rgba(40, 31, 24, 0.22);
}
.access__map-pin-label img { width: 140px; max-width: none; height: auto; display: block; }
.access__map-pin-label::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid var(--color-white);
}

/* =========================================================
   Contact
   ========================================================= */
.contact {
  position: relative;
  background: var(--color-dark-brown);
  background-image: url("../images/salon-exterior.png");
  background-size: cover;
  background-position: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  text-align: center;
  color: var(--color-white);
}
.contact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(40, 31, 24, 0.72);
}
.contact__inner { position: relative; z-index: 1; }
.contact__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0.75rem 0 1.75rem;
}
.contact__lead {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 2;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.contact__tel {
  display: inline-block;
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--color-white);
}
.contact__hours {
  margin: 1rem 0 2.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--color-beige);
}
.contact__cta { min-width: 240px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--color-text);
  color: var(--color-base);
  padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.5rem;
}
.footer__logo { width: 170px; height: auto; margin-bottom: 1.5rem; }
.footer__address { font-size: 0.9rem; line-height: 2; color: var(--color-border); letter-spacing: 0.03em; }
.footer__tel { border-bottom: 1px solid currentColor; }
.footer__nav-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.75rem 2.5rem;
}
.footer__nav-list a {
  font-family: var(--font-en);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--color-border);
  transition: color 0.3s var(--ease);
}
.footer__nav-list a:hover { color: var(--color-white); }
.footer__copy {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-family: var(--font-en);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
}

/* =========================================================
   Mobile fixed CTA
   ========================================================= */
.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 90;
  padding: 0.6rem max(0.75rem, env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  background: rgba(247, 245, 240, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
}
.mobile-cta__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  width: 100%;
  min-height: 54px;
  background: var(--color-dark-brown);
  color: var(--color-white);
  font-weight: 500;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
}
.mobile-cta__icon { display: inline-flex; }

/* =========================================================
   Modal (full menu)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 23, 17, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 88vh;
  background: var(--color-white);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.modal.is-open .modal__panel { transform: translateY(0); opacity: 1; }
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.modal__title { font-size: 1.1rem; font-weight: 500; letter-spacing: 0.1em; }
.modal__close {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none; border: 0;
  color: var(--color-text);
}
.modal__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal__group { margin-bottom: 2.25rem; }
.modal__notes {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-base);
  border-radius: var(--radius);
}
.modal__notes p { font-size: 0.85rem; color: var(--color-muted); margin-bottom: 0.4rem; }
.modal__notes p:last-child { margin-bottom: 0; }
.modal__cta { margin-top: 2rem; text-align: center; }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 4rem);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 11, 0.9);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open .lightbox__backdrop { opacity: 1; }
.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox.is-open .lightbox__figure { opacity: 1; }
.lightbox__img {
  max-width: min(1100px, 100%);
  max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: var(--color-white);
  border-radius: 999px;
  transition: background-color 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); width: 48px; height: 48px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }

/* =========================================================
   Nav overlay (mobile)
   ========================================================= */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(30, 23, 17, 0.5);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.nav-overlay[hidden] { display: none; }
.nav-overlay.is-open { opacity: 1; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Responsive — Tablet
   ========================================================= */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .staff__list { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Responsive — under 900 (nav -> burger)
   ========================================================= */
@media (max-width: 900px) {
  .header__burger { display: block; }

  .header__nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 340px);
    height: 100vh;
    height: 100dvh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem clamp(1.5rem, 6vw, 2.5rem);
    background: var(--color-base);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
  }
  .header__nav.is-open { transform: translateX(0); }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    width: 100%;
  }
  .header__nav-link { color: var(--color-text); font-size: 1.25rem; }

  .header__nav-contact { flex-direction: column; align-items: flex-start; gap: 1.25rem; width: 100%; }
  .header__tel { color: var(--color-text); }
  .header__cta { width: 100%; min-height: 52px; font-size: 0.95rem; }

  /* Burger -> X */
  .header__burger.is-open .header__burger-line { background: var(--color-text); }
  .header__burger.is-open .header__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__burger.is-open .header__burger-line:nth-child(2) { opacity: 0; }
  .header__burger.is-open .header__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* =========================================================
   Responsive — Mobile
   ========================================================= */
@media (max-width: 768px) {
  body { padding-bottom: 72px; } /* 固定CTA分 */
  .mobile-cta { display: block; }

  .concept__points { grid-template-columns: 1fr; gap: 2.25rem; }
  .marquee__track { animation-duration: 32s; }

  .menu__grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .access__dl { grid-template-columns: 1fr; }
  .access__map--full .access__map-frame { height: clamp(300px, 62vh, 460px); }

  /* Gallery slider on mobile */
  .gallery__slide { width: 86%; }
  .gallery__slide-btn img { aspect-ratio: 4 / 3; }
  .gallery__arrow { width: 44px; height: 44px; }
  .gallery__footer { padding-inline: var(--gutter); }

  /* Style -> horizontal scroll（左右はコンテナ余白に揃える＝スタッフと同じ） */
  .style__list {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.75rem;
  }
  .style__card {
    flex: 0 0 64%;
    max-width: 240px;
    scroll-snap-align: start;
  }

  .footer__inner { flex-direction: column; gap: 2rem; }
}

@media (max-width: 480px) {
  .staff__list { grid-template-columns: 1fr; }
  .access__actions { flex-direction: column; }
  .access__actions .btn { width: 100%; }
  .lightbox__nav { width: 44px; height: 44px; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__slide { transition: opacity 0.4s linear; }
  .hero__logo, .hero__catch, .hero__cta { opacity: 1; transform: none; animation: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__scroll-line::after { animation: none; }
}
