/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #2a2a2a;
  background-color: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }
ul { list-style: none; }

/* ========== CSS VARIABLES ========== */
:root {
  --color-primary: #5e7a4a;
  --color-primary-light: #8da676;
  --color-primary-dark: #3d5a2e;
  --color-accent: #b8923e;
  --color-bg: #f8f6f2;
  --color-bg-warm: #f0ebe0;
  --color-text: #2a2a2a;
  --color-text-light: #5e5e5e;
  --color-white: #ffffff;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-jp-display: 'Shippori Mincho', 'Noto Serif JP', serif;
  --section-padding: 100px 0;
  --container-width: 1100px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
header.scrolled {
  box-shadow: 0 1px 20px rgba(0,0,0,0.1);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-primary-dark);
}
.logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--color-text-light);
  margin-top: -2px;
}
nav ul {
  display: flex;
  gap: 32px;
}
nav a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text);
  position: relative;
  font-weight: 400;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}
nav a:hover { opacity: 1; color: var(--color-primary-dark); }
nav a:hover::after { width: 100%; }
nav a.current { color: var(--color-primary-dark); }
nav a.current::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== PAGE HERO (sub pages) ========== */
.page-hero {
  padding-top: 80px;
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg-warm);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(248,246,242,0.8);
}
.page-hero-content p {
  font-family: var(--font-jp-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-text);
  font-weight: 400;
}
.page-hero-content .section-line {
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  margin: 16px auto 0;
}

/* ========== TOP HERO (index) ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
}
.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 56px 60px 48px;
  background: #f5f0e8;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: #944f38;
  line-height: 1.1;
  margin-bottom: 0;
}
.hero-divider {
  width: 45px;
  height: 2px;
  background: #b8923e;
  margin: 24px 0;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: #8a6a4e;
  margin-bottom: 32px;
  text-transform: uppercase;
}
.hero-tagline {
  font-family: var(--font-jp-display);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #4a3e34;
  margin-bottom: 44px;
  line-height: 2.4;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: none;
  color: #944f38;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  font-weight: 400;
  font-family: var(--font-display);
  transition: all 0.4s;
  background: none;
}
.hero-cta::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: #944f38;
  transition: width 0.4s;
}
.hero-cta:hover {
  color: #b06248;
  opacity: 1;
}
.hero-cta:hover::after {
  width: 60px;
  background: #b06248;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 22.5%;
  transform: translateX(50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  writing-mode: vertical-rl;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: var(--color-text-light);
  animation: scrollLine 2s ease-in-out 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; }
}

/* ========== SECTION COMMON ========== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.section-header .section-sub {
  font-family: var(--font-jp-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-text);
  font-weight: 400;
}
.section-header .section-line {
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  margin: 20px auto 0;
}

/* ========== CONCEPT ========== */
.concept {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.concept-image {
  aspect-ratio: 4/5;
  background: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?w=800&q=80') center/cover no-repeat;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.concept-text h3 {
  font-family: var(--font-jp-display);
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  line-height: 1.8;
}
.concept-text p {
  font-family: var(--font-jp-display);
  font-size: 0.95rem;
  line-height: 2.4;
  color: var(--color-text);
  margin-bottom: 16px;
}

/* ========== MENU ========== */
.menu {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}
.menu-categories {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.menu-tab {
  padding: 10px 24px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  font-family: var(--font-display);
  color: var(--color-text);
  transition: all 0.3s;
  font-weight: 400;
}
.menu-tab.active, .menu-tab:hover {
  border-color: var(--color-primary-dark);
  color: var(--color-primary-dark);
  background: rgba(94,122,74,0.06);
}
.menu-panel { display: none; }
.menu-panel.active { display: block; }
.menu-list {
  max-width: 700px;
  margin: 0 auto;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid rgba(94,122,74,0.2);
}
.menu-item-info h4 {
  font-family: var(--font-jp-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: var(--color-text);
}
.menu-item-info p {
  font-size: 0.75rem;
  color: var(--color-text-light);
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  white-space: nowrap;
  margin-left: 24px;
}

/* ========== STYLIST ========== */
.stylist {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.stylist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.stylist-card {
  text-align: center;
}
.stylist-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.stylist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stylist-card h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}
.stylist-card .stylist-role {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--color-text);
  margin-bottom: 16px;
  font-weight: 400;
}
.stylist-card p {
  font-family: var(--font-jp-display);
  font-size: 0.88rem;
  line-height: 2;
  color: var(--color-text);
}

/* ========== GALLERY ========== */
.gallery {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gallery-item {
  aspect-ratio: 1;
  background: linear-gradient(135deg, #d4cfc4, #c5c9b8, #b8c4a8);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,0.55));
  color: white;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

/* ========== VOICE ========== */
.voice {
  padding: var(--section-padding);
  background: var(--color-bg);
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.voice-card {
  background: var(--color-white);
  padding: 36px 28px;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border: 1px solid rgba(94,122,74,0.1);
}
.voice-stars {
  color: var(--color-accent);
  font-size: 0.9rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.voice-card p {
  font-family: var(--font-jp-display);
  font-size: 0.88rem;
  line-height: 2.2;
  color: var(--color-text);
  margin-bottom: 16px;
}
.voice-author {
  font-size: 0.78rem;
  color: var(--color-text);
  text-align: right;
  font-weight: 400;
}

/* ========== ACCESS ========== */
.access {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.access-info table {
  width: 100%;
  border-collapse: collapse;
}
.access-info th, .access-info td {
  padding: 16px 0;
  border-bottom: 1px solid rgba(94,122,74,0.2);
  font-size: 0.88rem;
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}
.access-info th {
  width: 100px;
  color: var(--color-primary-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.access-map {
  aspect-ratio: 4/3;
  background: #e8e0d4;
  border-radius: 4px;
  overflow: hidden;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== CTA ========== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  text-align: center;
  color: var(--color-white);
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}
.cta p {
  font-family: var(--font-jp-display);
  font-size: 0.88rem;
  opacity: 0.95;
  margin-bottom: 36px;
  letter-spacing: 0.1em;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cta-btn {
  padding: 16px 48px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 400;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.4s;
}
.cta-btn-primary {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: none;
}
.cta-btn-primary:hover { background: var(--color-bg-warm); }
.cta-btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.5);
}
.cta-btn-secondary:hover { border-color: var(--color-white); }

/* ========== FOOTER ========== */
footer {
  background: #2c2c2c;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo {
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.footer-brand .logo span { color: rgba(255,255,255,0.5); }
.footer-brand p {
  font-family: var(--font-jp-display);
  font-size: 0.78rem;
  line-height: 1.9;
}
.footer-links h5 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-links a {
  display: block;
  font-size: 0.78rem;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: 50vh auto; height: auto; min-height: 100vh; }
  .hero-image { min-height: 300px; }
  .hero-content { align-items: center; text-align: center; padding: 48px 32px 80px; }
  .hero-divider { margin: 24px auto; }
  .hero-scroll { right: 50%; transform: translateX(50%); }
  .concept-grid, .access-grid { grid-template-columns: 1fr; }
  .concept-image { order: -1; aspect-ratio: 16/9; }
  .stylist-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .voice-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .page-hero { height: 280px; }
}
@media (max-width: 768px) {
  :root { --section-padding: 70px 0; }
  .header-inner { height: 64px; }
  .logo { font-size: 1.4rem; }
  nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(250,248,245,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  nav.open { display: flex; }
  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  nav a { font-size: 1rem; }
  .hamburger { display: flex; }
  .hero { min-height: 500px; }
  .menu-categories { gap: 8px; }
  .menu-tab { padding: 8px 16px; font-size: 0.75rem; }
  .page-hero { height: 220px; }
}
