/*
Theme Name: IZANAI
Theme URI: https://kaimin-dryspa-or.com/
Author: 快眠ドライヘッドスパ協会 IZANAI
Author URI: https://kaimin-dryspa-or.com/
Description: 快眠ドライヘッドスパ協会 IZANAI 公式テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: izanai
*/

/* ── Tokens ── */
:root {
  --off-white: #F7F5F0;
  --warm-white: #FAFAF8;
  --ink: #1A1A1A;
  --ink-light: #3D3A35;
  --gold: #8B7355;
  --gold-light: #B09A7A;
  --gold-pale: #EDE5D8;
  --border-hair: rgba(26,26,26,0.12);
  --border-gold: rgba(139,115,85,0.3);
  --font-ja: 'Noto Serif JP', 'Yu Mincho', '游明朝', Georgia, serif;
  --font-en: 'Cormorant Garamond', Georgia, serif;
  --dur: 0.7s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-ja);
  font-weight: 300;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Utility ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) ease, transform var(--dur) ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.30s; }
.delay-3 { transition-delay: 0.45s; }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  background: rgba(250,250,248,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border-hair);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px 0 180px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 40px;
  width: 140px;
  height: 140px;
  z-index: 101;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.nav-logo-img {
  width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}
.nav-logo-en {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--ink);
}
.nav-logo-ja {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  font-size: 12.5px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: #111;
  transition: color 0.25s;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  font-family: 'Noto Serif JP', 'Yu Mincho', '游明朝', serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.18em;
  padding: 10px 24px;
  background: var(--ink);
  color: var(--warm-white);
  border: 0.5px solid var(--ink);
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink-light); }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
}

/* ── Mobile Menu ── */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0; right: 0;
  background: rgba(250,250,248,0.97);
  backdrop-filter: blur(12px);
  border-top: 0.5px solid var(--border-hair);
  z-index: 99;
  padding: 32px 24px 40px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile-menu.open {
  display: flex;
}
.nav-mobile-menu a {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 0.5px solid var(--border-hair);
  display: block;
}
.nav-mobile-menu a:last-child {
  border-bottom: none;
}

/* ── Section common ── */
section { width: 100%; }
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 72px;
}
.section-label {
  font-family: var(--font-en);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--font-ja);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.75;
  color: var(--ink);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--warm-white);
  transition: background 0.25s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-ghost {
  font-family: var(--font-ja);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(245,242,236,0.6);
  border-bottom: 0.5px solid rgba(245,242,236,0.3);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}
.btn-ghost:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ── Footer ── */
footer {
  background: var(--ink);
  color: rgba(245,242,236,0.45);
  padding: 72px 0 48px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: start;
}
.footer-logo-en {
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #F5F2EC;
  margin-bottom: 8px;
}
.footer-logo-ja {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-address {
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 2;
}
.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: right;
}
.footer-nav a {
  font-size: 10px;
  letter-spacing: 0.14em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 24px 72px 0;
  border-top: 0.5px solid rgba(245,242,236,0.08);
  font-size: 9px;
  letter-spacing: 0.12em;
}

/* ── Responsive: Tablet (768px〜1024px) ── */
@media (max-width: 1024px) {
  .nav-inner {
    padding: 0 24px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .section-inner {
    padding: 0 40px;
  }
  .footer-inner {
    padding: 0 40px;
  }
  .footer-bottom {
    padding: 24px 40px 0;
  }
}

/* ── Responsive: Mobile (〜767px) ── */
@media (max-width: 767px) {
  nav {
    height: 60px;
  }
  .nav-inner {
    padding: 0 16px;
  }
  .nav-logo {
    left: 16px;
    width: 100px;
    height: 100px;
    padding: 8px 12px;
  }
  .nav-logo-img {
    width: 76px;
    height: auto;
  }
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 200;
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s, opacity 0.3s;
  }
  .section-inner {
    padding: 0 24px;
  }
  .section-heading {
    font-size: 22px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .footer-nav {
    text-align: left;
  }
  .footer-bottom {
    padding: 24px 24px 0;
  }
}
