/* ─── TOKENS ─────────────────────────────────── */
:root {
  --bg:         #1e100a;
  --wood:       #2C1810;
  --wood-light: #3a2015;
  --gold:       #C9A84C;
  --gold-light: #e8c96a;
  --gold-dim:   #9a7a30;
  --cream:      #f5ead8;
  --text-muted: #b89860;
  --green-dark: #1e3a1a;

  --ff-display: 'Playfair Display', serif;
  --ff-body:    'Cormorant Garamond', serif;
  --ff-script:  'EB Garamond', serif;

  --max-w: 960px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 18px;
  line-height: 1.75;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }

/* ドロップダウン */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
  user-select: none;
  background: none;
  border-top: 0;
  border-left: 0;
  border-right: 0;
}
.nav-dropdown-trigger.active,
.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}
.nav-caret { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s; }
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 180px;
  background: rgba(22,10,4,0.97);
  border: 1px solid var(--gold-dim);
  border-top: 2px solid var(--gold);
  z-index: 300;
  flex-direction: column;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu a {
  font-family: var(--ff-body);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 12px 18px;
  border-left: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
  color: var(--gold-light);
  border-left-color: var(--gold);
  background: rgba(201,168,76,0.07);
}

/* ─── HEADER ──────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(28,12,6,0.97);
  border-bottom: 1px solid var(--gold-dim);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* ロゴ */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none;
}
.logo-main {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}
.logo-dng {
  font-family: var(--ff-display);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: var(--gold);
}
.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* ナビ */
.site-nav { display: flex; gap: 4px; }
.site-nav a {
  font-family: var(--ff-body);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 16px;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
}

/* ハンバーガー（モバイル） */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  font-size: 1.2rem;
  padding: 6px 10px;
  cursor: pointer;
}

/* ─── HERO ────────────────────────────────────── */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.09) 0%, transparent 60%),
    linear-gradient(180deg, #1e100a 0%, #2C1810 50%, #1e100a 100%);
  position: relative;
  padding: 60px 24px;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  background:
    linear-gradient(180deg, rgba(20,8,4,0.72) 0%, rgba(44,24,16,0.80) 50%, rgba(20,8,4,0.72) 100%),
    url('/images/top.jpg') center center / cover no-repeat;
}

/* ─── LANG SWITCH ─────────────────────────────── */
.lang-switch {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  border: 1px solid var(--gold-dim);
  padding: 4px 10px;
  transition: color 0.25s, border-color 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-switch:hover {
  color: var(--gold-light);
  border-color: var(--gold);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    91deg, transparent 0px, transparent 22px,
    rgba(0,0,0,0.05) 22px, rgba(0,0,0,0.05) 23px
  );
  pointer-events: none;
}

.hero-frame {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 72px 64px 48px;
  max-width: 680px;
  width: 100%;
}
.hero-frame::before {
  content: none;
}
.hero-frame::after {
  content: none;
}

.hero-lotus { margin-bottom: 12px; }
.hero-lotus svg,
.hero-lotus img {
  width: 120px; height: auto;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.4));
}

.hero-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
}
.hero-plant {
  width: 110px;
  height: 190px;
  flex-shrink: 0;
  opacity: 0.92;
}
.hero-plant-left  { margin-right: 12px; }
.hero-plant-right { margin-left: 12px; }
.hero-title-text  { text-align: center; }

.deco-lotus-line {
  width: 100%;
  margin: 14px 0 10px;
  display: flex;
  justify-content: center;
}
.deco-lotus-svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.25));
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 2px 20px rgba(201,168,76,0.3);
}
.hero-dng {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 4px;
}

.deco-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 12px;
  width: 100%;
  justify-content: center;
}
.deco-line span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  max-width: 120px;
}
.deco-line i { color: var(--gold); font-style: normal; font-size: 0.85rem; letter-spacing: 0.3em; }

.hero-sub-en {
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  letter-spacing: 0.07em;
  color: var(--cream);
  opacity: 0.9;
}
.hero-sub-script {
  font-family: var(--ff-script);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  color: var(--gold-light);
  margin-top: 2px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 12px 36px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-outline {
  border: 1.5px solid var(--gold);
  color: var(--gold-light);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg);
}
.btn-fill {
  background: var(--gold);
  color: var(--bg);
  border: 1.5px solid var(--gold);
}
.btn-fill:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ─── SECTION COMMON ──────────────────────────── */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px;
}
.section-center { text-align: center; }

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 10px;
}
h2.section-title {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--gold-light);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 24px;
}
.gold-divider {
  width: 70px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 36px;
}

/* ─── FEATURES (index) ────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.feature-card {
  background: var(--wood-light);
  border: 1px solid var(--gold-dim);
  padding: 32px 24px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.feature-card .icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.95rem; opacity: 0.8; }

/* ─── SERVICES ────────────────────────────────── */
.services-list {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.service-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 20px;
  background: var(--wood-light);
  border: 1px solid var(--gold-dim);
  padding: 24px 28px;
  transition: border-color 0.3s;
}
.service-item:hover { border-color: var(--gold); }
.service-icon { font-size: 1.8rem; text-align: center; }
.service-name {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}
.service-desc { font-size: 0.92rem; opacity: 0.8; }
.service-meta { text-align: right; white-space: nowrap; }
.service-price {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold);
}
.service-duration { font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ─── CTA BAND ────────────────────────────────── */
.cta-band {
  background: linear-gradient(180deg, var(--wood) 0%, var(--bg) 100%);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  text-align: center;
  padding: 72px 24px;
}
.cta-band h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--gold-light);
  margin-bottom: 16px;
}
.cta-band p { max-width: 480px; margin: 0 auto 28px; opacity: 0.82; }

/* ─── CONTACT FORM ────────────────────────────── */
.contact-form {
  max-width: 620px;
  margin: 40px auto 0;
  display: grid;
  gap: 18px;
}
.form-group label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--wood-light);
  border: 1px solid var(--gold-dim);
  color: var(--cream);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 2px; }

/* keyboard focus visibility */
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--gold-light, #E6C77A);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select option { background: var(--wood); }

/* ─── ABOUT ───────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 40px;
}
.about-img-placeholder {
  aspect-ratio: 3/4;
  background: var(--wood-light);
  border: 1px solid var(--gold-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ─── FOOTER ──────────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(201,168,76,0.2);
  padding: 48px 24px 32px;
  text-align: center;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-logo { margin-bottom: 20px; }
.footer-logo .logo-main {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  display: block;
}
.footer-logo .logo-dng {
  font-family: var(--ff-display);
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  display: block;
  margin-top: 2px;
}
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
}
.footer-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.footer-nav a:hover { color: var(--gold); }
.footer-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}
.footer-copy {
  font-size: 0.75rem;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

/* ─── ADMIN NOTICE ────────────────────────────── */
.flash {
  padding: 12px 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  border-left: 3px solid var(--gold);
  background: rgba(201,168,76,0.1);
  color: var(--cream);
}
.flash.error { border-color: #c0392b; background: rgba(192,57,43,0.1); }

/* ─── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(28,12,6,0.98);
    flex-direction: column;
    border-bottom: 1px solid var(--gold-dim);
    padding: 8px 0;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 28px; border-bottom: none; border-left: 3px solid transparent; }
  .site-nav a.active { border-left-color: var(--gold); }

  /* モバイルドロップダウン */
  .nav-dropdown { width: 100%; flex-direction: column; }
  .nav-dropdown-trigger { padding: 14px 28px; border-bottom: none; border-left: 3px solid transparent; width: 100%; }
  .nav-dropdown-trigger.active { border-left-color: var(--gold); }
  .nav-dropdown-menu { display: flex; position: static; border: none; border-top: none; background: rgba(0,0,0,0.2); min-width: unset; }
  .nav-dropdown-menu a { padding: 11px 28px 11px 40px; }

  .hero-frame { padding: 36px 28px 32px; }
  .hero-btns { gap: 12px; }
  .hero-plant { width: 80px; height: 138px; }
  .hero-lotus svg, .hero-lotus img { width: 90px; }

  .about-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 40px 1fr; }
  .service-meta { grid-column: 2; }
}

@media (max-width: 480px) {
  .hero-frame { padding: 28px 20px 24px; }
  .section { padding: 56px 20px; }
}

/* ── チェックボックス修正 ── */
.contact-form input[type="checkbox"] {
  width: auto;
  appearance: auto;
  -webkit-appearance: checkbox;
  cursor: pointer;
}
