/* ═══════════════════════════════════════════
   COMMON STYLES — Header / Footer / Base
   Shared across all pages
═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* ─── CSS VARIABLES (Design Tokens) ─── */
:root {
  --midnight: #0a0a12;
  --deepNavy: #0d1428;
  --royalPurple: #2d1b5e;
  --mysticViolet: #4a2d8a;
  --emerald: #1a4a3c;
  --teal: #1d6e5e;
  --cloud: #f5f3fa;
  --mist: #e8e4f0;
  --gold: #c9a84c;
  --goldLight: #e8c96a;
  --goldDim: #7a5f2a;
  --warmCream: #f5f0e8;
  --warmBrown: #96634e;
  --warmBrownL: #b8846a;
  --champagne: rgba(210, 185, 140, 0.18);
  --textDark: #1a1520;
  --textMid: #4a4060;
  --textLight: #8a80a0;
  --borderGold: rgba(201, 168, 76, 0.3);
  --borderPurple: rgba(74, 45, 138, 0.2);
}

/* ─── ANIMATIONS ─── */
@keyframes slideDown {
  from {
    transform: translateY(-80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ─── BUTTONS ─── */
.btn-gold {
  background: linear-gradient(135deg, #c9a84c 0%, #e8c96a 100%);
  color: #0a0a12;
  padding: 15px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  border: none;
  cursor: pointer;
  font-family: 'Noto Serif JP', serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
  transition: all 0.3s;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.5s;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.45);
}

.svg-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── LINK BUTTON (shared outline style) ─── */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  border: 1px solid var(--borderGold);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-2px);
}

.btn-link .btn-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn-link:hover .btn-arrow {
  transform: translateX(4px);
}

/* ─── PAGE HERO (shared across all pages) ─── */
.page-hero {
  position: relative;
  padding: 100px 80px 90px;
  text-align: center;
  overflow: hidden;
  background: var(--midnight);
  margin-top: 72px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(45, 27, 94, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(26, 74, 60, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 40%);
}

.hero-stars-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.4) 50%, transparent 50%),
    radial-gradient(1px 1px at 30% 70%, rgba(255, 255, 255, 0.3) 50%, transparent 50%),
    radial-gradient(1px 1px at 60% 30%, rgba(255, 255, 255, 0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 80% 80%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 45% 50%, rgba(255, 255, 255, 0.3) 50%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 11px;
  letter-spacing: .15em;
  color: #fff;
  text-decoration: none;
  transition: color .2s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb .sep {
  color: rgba(201, 168, 76, 0.3);
}

.breadcrumb .current {
  color: var(--gold);
}

/* ─── HERO LABEL ─── */
.section-label-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-label-hero .line {
  width: 40px;
  height: 1px;
  background: var(--gold);
}

.section-label-hero span {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}

/* ─── PAGE TITLES ─── */
.page-title-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  font-weight: 300;
  color: #fff;
  letter-spacing: .12em;
  margin-bottom: 16px;
  line-height: 1.3;
}

.page-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 2;
  letter-spacing: .08em;
  font-weight: 300;
  margin-top: 8px;
  padding-top: 16px;
  position: relative;
}

.page-subtitle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ─── SECTION LAYOUT ─── */
.section-wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 60px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-header-center::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--goldLight));
  margin: 20px auto 0;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.section-label.center {
  justify-content: center;
}

.section-label .line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-label.center .line:first-child {
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-label.center .line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-label span {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--gold);
}

.section-title-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  letter-spacing: .08em;
  margin-top: 4px;
}

.section-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: .12em;
  margin-top: 10px;
}

/* ─── LIGHT SECTION UTILITY ─── */
.light-section {
  background: var(--cloud);
  color: var(--textDark);
}

.light-section .section-title-ja {
  color: var(--textDark);
}

.light-section .section-title-en {
  color: var(--textMid);
}

.light-section .section-label span {
  color: var(--textMid);
}

.light-section .section-label .line {
  background: linear-gradient(90deg, transparent, var(--goldDim));
}

.light-section .section-label.center .line:first-child {
  background: linear-gradient(90deg, transparent, var(--goldDim));
}

.light-section .section-label.center .line:last-child {
  background: linear-gradient(90deg, var(--goldDim), transparent);
}

.light-section .section-header-center::after {
  background: linear-gradient(90deg, var(--goldDim), var(--gold));
}

.light-section a {
  color: var(--textDark);
}

.light-section a:hover {
  color: var(--gold);
}

.light-section p,
.light-section li,
.light-section dd,
.light-section span {
  color: var(--textDark);
}

.light-section .btn-link {
  color: var(--textDark);
  border-color: var(--borderGold);
}

.light-section .btn-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

/* ─── CLOSING CTA (shared) ─── */
.closing-cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: var(--midnight);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(45, 27, 94, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 70% 40%, rgba(26, 74, 60, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse 30% 20% at 50% 50%, rgba(201, 168, 76, 0.07) 0%, transparent 40%);
}

.cta-stars {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1px 1px at 15% 25%, rgba(255, 255, 255, 0.35) 50%, transparent 50%),
    radial-gradient(1px 1px at 85% 75%, rgba(255, 255, 255, 0.25) 50%, transparent 50%),
    radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.3) 50%, transparent 50%);
}

.cta-ornament {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, 0.06);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 300;
  display: block;
  margin-bottom: 28px;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 300;
  color: #fff;
  line-height: 1.8;
  letter-spacing: .08em;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 14px;
  color: #fff;
  line-height: 2.2;
  font-weight: 300;
  letter-spacing: .05em;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}

.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), var(--goldLight));
  color: var(--midnight);
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .15em;
  text-decoration: none;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: all 0.3s;
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.4);
}

.btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  border: 1px solid var(--borderGold);
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: .15em;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-secondary-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
  transform: translateY(-2px);
}

.cta-bottom-note {
  font-size: 11px;
  color: #fff;
  letter-spacing: .08em;
}

/* ─── FADE IN ANIMATION ─── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(10, 10, 18, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  transition: all 0.3s;
  animation: slideDown 0.7s ease-out;
}

header.scrolled {
  background: rgba(10, 10, 18, 0.98);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}

.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.logo-sub {
  font-size: 10px;
  color: var(--textLight);
  letter-spacing: 0.15em;
  font-weight: 200;
}

header nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

header nav a {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s;
}

header nav a:hover {
  color: var(--gold);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.tel-block {
  text-align: right;
}

.tel-hours {
  font-size: 9px;
  color: var(--textLight);
  letter-spacing: 0.1em;
  display: block;
}

.tel-num {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.35s ease;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── MOBILE NAV OVERLAY ─── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 18, 0.97);
  backdrop-filter: blur(16px);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.nav-overlay.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav-overlay a {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.15em;
  padding: 18px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  transition: color 0.2s;
}

.nav-overlay a:first-child {
  border-top: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-overlay a:hover {
  color: var(--gold);
}

.nav-overlay .nav-tel {
  margin-top: 32px;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.06em;
  border: none;
}

.nav-overlay .nav-cta {
  margin-top: 20px;
  background: linear-gradient(135deg, #c9a84c 0%, #e8c96a 100%);
  color: #0a0a12 !important;
  font-weight: 600;
  font-size: 14px !important;
  letter-spacing: 0.15em;
  padding: 14px 36px !important;
  border: none !important;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

/* ─── FOOTER ─── */
footer {
  background: var(--midnight);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-bottom: 20px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
}

.footer-brand-sub {
  font-size: 10px;
  color: var(--textLight);
  letter-spacing: 0.15em;
}

.footer-brand-desc {
  font-size: 14px;
  color: #fff;
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  padding: 6px 10px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-tel-box {
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid rgba(150, 99, 78, 0.28);
  background: rgba(150, 99, 78, 0.06);
}

.footer-tel-label {
  font-size: 9px;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer-tel-num {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-tel-hours {
  font-size: 10px;
  color: #fff;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 11px;
  color: #fff;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #e8c96a;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Header / Footer
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  header nav { display: none; }
  .header-right { display: none; }
  .header-inner { padding: 0 20px; height: 60px; }
  .btn-link { display: flex; justify-content: center; width: 100%; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 48px 24px 24px;
  }

  .footer-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px 24px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .logo-main { font-size: 18px; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 20px;
  }

  .footer-bar { padding: 16px; }
}
