/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 22px 0;
}

.site-header.is-scrolled {
  background-color: rgba(255, 250, 242, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(32, 26, 24, 0.08);
  padding: 12px 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-branding img {
  max-height: 48px;
  width: auto;
  transition: max-height 0.4s ease;
}

.site-header.is-scrolled .site-branding img {
  max-height: 38px;
}

/* ロゴリンクのラッパー */
.site-branding__link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* カスタムロゴ画像 */
.site-logo__img {
  max-height: 52px;
  width: auto;
  display: block;
  transition: max-height 0.4s ease, filter 0.3s ease;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.3));
}

.site-header.is-scrolled .site-logo__img {
  max-height: 40px;
  filter: none;
}

/* ロゴ未設定時のサイト名テキスト */
.site-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-cream);
  transition: color 0.4s ease;
  letter-spacing: 0.05em;
}

.site-header.is-scrolled .site-title {
  color: var(--color-ink);
}

.site-title a {
  color: inherit;
}

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

/* Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  display: flex;
  gap: 36px;
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-cream);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.4s ease;
}

.site-header.is-scrolled .main-navigation a {
  color: var(--color-ink);
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width 0.3s var(--ease-out-expo);
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
  width: 100%;
}

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

.site-header.is-scrolled .main-navigation a:hover {
  color: var(--color-primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-cream);
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.site-header.is-scrolled .menu-toggle span,
.menu-open .menu-toggle span {
  background-color: var(--color-ink);
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
  }

  .main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(320px, 80vw);
    background-color: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out-expo);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  }

  .menu-open .main-navigation {
    transform: translateX(0);
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .main-navigation a,
  .site-header.is-scrolled .main-navigation a {
    color: var(--color-ink);
    font-size: 18px;
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-cream);
  overflow: hidden;
  background-color: var(--color-ink);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s ease-out;
}

.hero.is-loaded .hero__bg img {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(32, 26, 24, 0.55) 0%,
    rgba(32, 26, 24, 0.35) 40%,
    rgba(150, 22, 15, 0.55) 100%
  );
}

/* 提灯のシルエット装飾 */
.hero__lanterns {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 5%;
  pointer-events: none;
}

.hero__lantern {
  width: 36px;
  height: 56px;
  background-color: var(--color-primary);
  border-radius: 50% 50% 45% 45%;
  position: relative;
  opacity: 0.85;
  animation: lantern-sway 4.5s ease-in-out infinite;
  box-shadow: inset 0 0 12px rgba(255, 200, 100, 0.5);
}

.hero__lantern::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 3px 3px 0 0;
}

.hero__lantern::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 14px;
  background-color: rgba(255, 250, 242, 0.4);
}

.hero__lantern:nth-child(odd) {
  animation-delay: -1.2s;
  transform: translateY(-10px);
}

.hero__lantern:nth-child(3n) {
  animation-delay: -2.4s;
}

@media (max-width: 768px) {
  .hero__lantern:nth-child(n+4) {
    display: none;
  }
}

@keyframes lantern-sway {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(6px); }
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: 0 24px;
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-accent);
  font-size: 14px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero__title {
  font-size: clamp(40px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero__title .hero__title-accent {
  color: var(--color-gold);
}

.hero__lead {
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.9;
  margin-bottom: 16px;
  opacity: 0.95;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 28px 0 40px;
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  font-size: 15px;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__meta-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--color-gold);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

/* スクロール誘導 */
.hero__scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-cream);
  font-family: var(--font-accent);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero__scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scroll-cue-pulse 2s ease-in-out infinite;
}

@keyframes scroll-cue-pulse {
  0% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.4; }
}
