:root {
  --bg: #F2EFE8;
  --bg-dark: #111010;
  --ink: #1A1A1A;
  --ink-muted: #7A756E;
  --gold: #C4965A;
  --line: rgba(26,26,26,0.10);
  --line-light: rgba(255,255,255,0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Shippori Mincho', serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .label, .logo {
  font-weight: normal;
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--bg);
}

.text-light {
  color: var(--bg) !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.6;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-full {
  width: 100%;
  padding: 0 40px;
}

.label {
  display: block;
  font-family: Arial, Helvetica, sans-serif; /* 自前の英字想定 */
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

/* Animations */
.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px;
  background: rgba(242, 239, 232, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  transition: padding 0.4s ease, border-bottom 0.4s ease;
}

.header.scrolled {
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}

.nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.reserve-btn {
  border: 1px solid var(--gold);
  padding: 8px 16px;
  color: var(--gold);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 16px;
  position: relative;
  z-index: 1001;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--ink);
  transition: all 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { bottom: 0; }

.hamburger.is-active span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  bottom: 8px;
  transform: rotate(-45deg);
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /* 画像オーバーレイ */
  background-image: linear-gradient(160deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.4) 100%), url('../img/hero.jpg') !important;
  transform: scale(1.05);
  animation: heroBg 1.6s ease-out forwards;
}

@keyframes heroBg {
  to { transform: scale(1.0); }
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 8%;
  color: #fff;
  z-index: 2;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.5rem; /* fallback */
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s forwards;
  animation-delay: 0.4s;
}

.hero-title span {
  display: block;
}

.hero-catch {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1.2s forwards;
  animation-delay: 0.8s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.3);
  animation: scrollDown 2.2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform:scaleY(0); transform-origin:top; }
  45%  { transform:scaleY(1); transform-origin:top; }
  55%  { transform:scaleY(1); transform-origin:bottom; }
  100% { transform:scaleY(0); transform-origin:bottom; }
}

/* --- PHILOSOPHY --- */
.philosophy {
  padding: 180px 0;
  overflow: hidden;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  position: relative;
}

.philosophy-text {
  padding-left: 12%;
  z-index: 2;
}

.title-jp {
  font-size: 2.8rem;
  line-height: 1.4;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.desc-jp {
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.section-number {
  position: absolute;
  bottom: -40px;
  right: 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-muted);
}

.section-number::before {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background-color: var(--line);
  margin-right: 16px;
  vertical-align: middle;
}

.philosophy-image {
  margin-right: -40px; /* コンテナをはみ出す */
}

.philosophy-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* --- MENU --- */
.menu-section {
  padding: 140px 0;
}

.menu-header {
  text-align: center;
  margin-bottom: 60px;
}

.menu-header .label {
  margin-bottom: 0;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
}

.menu-tab {
  background: none;
  border: none;
  padding: 16px 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--ink-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.menu-tab:hover {
  color: var(--ink);
}

.menu-tab.is-active {
  color: var(--ink);
}

.menu-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.menu-tab.is-active::after {
  transform: scaleX(1);
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.menu-item {
  border: 1px solid var(--line);
  padding: 40px;
  margin: -0.5px; /* ボーダーの重なり回避 */
  transition: background 0.3s;
}

.menu-item:hover {
  background: rgba(26,26,26,0.03);
}

.item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.item-name-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.item-name {
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}

.badge-popular {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 2px 8px;
}

.item-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

.item-name-en {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.item-desc {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 24px;
}

.item-time {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.menu-note {
  margin-top: 80px;
  text-align: center;
}

.menu-note p {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 32px;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  background: transparent;
  padding: 16px 48px;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  transition: background 0.3s, color 0.3s;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--bg);
}

/* --- PROCESS --- */
.process-section {
  padding: 140px 0;
}

.process-list {
  margin-top: 60px;
}

.process-item {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line-light);
}

.process-item:last-child {
  border-bottom: 1px solid var(--line-light);
}

.process-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  min-width: 40px;
}

.process-body h3 {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.process-body p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

/* --- GALLERY --- */
.gallery-section {
  padding: 140px 0;
}

.gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-header .label {
  margin-bottom: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  grid-template-rows: 300px 300px;
  gap: 4px;
}

.gallery-img {
  overflow: hidden;
}

.gallery-img.large {
  grid-row: span 2;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: brightness(0.95);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.8s ease;
}

.gallery-img:hover img {
  opacity: 1;
  filter: brightness(1);
  transform: scale(1.03);
}

/* --- ACCESS --- */
.access-section {
  padding: 140px 0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.salon-name {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.info-block {
  display: flex;
  padding: 24px 0;
}

.info-label {
  width: 120px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.info-text {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.mt-40 {
  margin-top: 40px;
}

.access-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) contrast(1.05) brightness(0.95);
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 2rem;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 60px;
}

.footer-nav a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
}

.footer-social {
  margin-bottom: 40px;
}

.footer-social a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.copyright {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
  .philosophy-image {
    margin-right: 0;
  }
}

@media (max-width: 900px) {
  .philosophy-grid, .access-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .philosophy-text {
    padding-left: 0;
  }
  .section-number {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 40px;
    display: block;
    text-align: right;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-img.large {
    grid-row: auto;
    aspect-ratio: 1;
  }
  .gallery-img {
    aspect-ratio: 1;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
  }
  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav ul {
    flex-direction: column;
    gap: 40px;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-item {
    margin: 0 0 -1px 0;
  }
}

@media (max-width: 600px) {
  .container, .container-narrow, .container-full {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 3rem;
  }
  .title-jp {
    font-size: 2rem;
  }
  .philosophy, .menu-section, .process-section, .gallery-section, .access-section {
    padding: 80px 0;
  }
  .info-block {
    flex-direction: column;
    gap: 8px;
  }
}
