/* ===== Container ===== */
.container {
  max-width: 1300px;
  width: 94%;
  margin: 0 auto;
}
.container-md {
  max-width: 1000px;
  width: 94%;
  margin: 0 auto;
}
.container-narrow {
  max-width: 800px;
  width: 94%;
  margin: 0 auto;
}

/* ===== Header ===== */
#header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
#header.scrolled {
  background: rgba(6,18,32,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(200,169,110,.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: 1300px;
  width: 94%;
  margin: 0 auto;
}

.header-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.header-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}
.header-logo a:hover .header-logo-img { opacity: 0.8; }

.footer-logo-img {
  height: 52px;
  width: auto;
  display: block;
  margin-bottom: 12px;
}

#header-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}
#header-nav li a {
  font-family: "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: .15em;
  color: rgba(245,237,216,.75);
  padding: 8px 14px;
  border-radius: 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}
#header-nav li a:hover {
  color: var(--color-primary);
  opacity: 1;
  background: transparent;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 11;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: rgba(245,237,216,.85);
  transition: var(--transition);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* SP Nav Overlay */
.sp-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,18,32,.97);
  z-index: 99999;
  padding-top: 90px;
  text-align: center;
}
.sp-nav.is-open { display: block; }
.sp-nav ul { display: flex; flex-direction: column; gap: 0; }
.sp-nav li a {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .2em;
  color: rgba(245,237,216,.85);
  padding: 18px 24px;
  border-bottom: .5px solid rgba(200,169,110,.2);
}
.sp-nav li a:hover { color: var(--color-primary); opacity: 1; }

/* ===== Main content — no offset (header is overlaid) ===== */
#main { padding-top: 0; }

/* ===== Hero (layout.css — generic) ===== */
.hero {
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  background-color: var(--color-navy);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero-inner {
  position: relative;
  padding: 160px 0 80px;
  z-index: 1;
}

/* ===== Section ===== */
section { padding: var(--space-xl) 0; }
.section-md { padding: var(--space-lg) 0; }

.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-heading);
  letter-spacing: .12em;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: .5px;
  background: var(--color-primary);
}
.section-title .sec-ey {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: .35em;
  color: var(--color-primary);
  display: block;
  margin-bottom: 12px;
}
.section-title p {
  color: var(--color-sub);
  margin-top: 12px;
  font-size: 14px;
  font-weight: 300;
}

.section-bg-sand { background: var(--color-sand); }
.section-bg-light { background: var(--color-bg-light); }
.section-bg-navy { background: var(--color-navy); }

/* ===== Dark sections ===== */
.activity-cta-section,
.premium-section.activity-cta-section,
.ota-section.activity-cta-section { background: #272731; }

.activity-cta-section .section-title h2 { color: #ffffff; }
.activity-cta-section .section-title h2::after { background: #ffffff; }
.activity-cta-section .section-title p { color: #ffffff; }
.activity-cta-section p { color: #ffffff; }
.activity-cta-section h2 { color: #ffffff; }
.activity-cta-section h3 { color: #ffffff; }

/* ===== Campaign Overview ===== */
.campaign-overview {
  background: var(--color-bg-light);
  padding: 48px 0 64px;
}
.campaign-overview .section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.campaign-overview .section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: .5px;
  background: var(--color-primary);
}

/* ===== Footer ===== */
#footer {
  background: var(--color-navy);
  color: rgba(245,237,216,.85);
  padding: 48px 0 0;
  border-top: .5px solid rgba(200,169,110,.25);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-logo .logo-main { font-size: 20px; font-weight: 300; color: rgba(245,237,216,.9); letter-spacing: .1em; }
.footer-logo .logo-sub { font-size: 11px; color: rgba(245,237,216,.4); letter-spacing: .2em; }
.footer-logo p { font-size: 13px; color: rgba(245,237,216,.6); margin-top: 12px; }

.footer-nav h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  color: rgba(200,169,110,.6);
  text-transform: uppercase;
  letter-spacing: .25em;
  margin-bottom: 12px;
  font-weight: 300;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { font-size: 13px; color: rgba(245,237,216,.6); }
.footer-nav a:hover { color: var(--color-primary); opacity: 1; }

.footer-bottom {
  border-top: .5px solid rgba(200,169,110,.15);
  margin-top: 40px;
  padding: 16px 0;
  text-align: center;
}
.footer-bottom p { font-size: 12px; color: rgba(245,237,216,.3); margin: 0; letter-spacing: .12em; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  background: var(--color-sand);
  border-bottom: .5px solid rgba(200,169,110,.2);
  padding: 12px 0;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb li { font-size: 12px; color: var(--color-sub); letter-spacing: .05em; }
.breadcrumb li + li::before { content: '›'; margin-right: 4px; }
.breadcrumb a { color: var(--color-primary); }

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  background: var(--color-navy);
  padding: 80px 0 48px;
  padding-top: calc(70px + 40px);
  text-align: center;
  border-bottom: .5px solid rgba(200,169,110,.2);
}
.page-hero h1 {
  color: var(--color-sand);
  margin: 0;
  font-weight: 300;
  letter-spacing: .12em;
  font-size: 32px;
  opacity: 0;
  transform: translateY(16px);
  animation: ph-rise 0.9s ease 0.25s forwards;
}
.page-hero p {
  font-family: "Cormorant Garamond", serif;
  color: rgba(200,169,110,.7);
  margin: 10px 0 0;
  font-size: 13px;
  letter-spacing: .25em;
  opacity: 0;
  transform: translateY(12px);
  animation: ph-rise 0.9s ease 0.45s forwards;
}
@keyframes ph-rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 404 Error Page ===== */
.error-code {
  opacity: 0;
  transform: translateY(20px);
  animation: ph-rise 1s ease 0.2s forwards;
}
.error-box h1 {
  opacity: 0;
  transform: translateY(14px);
  animation: ph-rise 0.9s ease 0.45s forwards;
}
.error-box p {
  opacity: 0;
  transform: translateY(12px);
  animation: ph-rise 0.9s ease 0.65s forwards;
}

/* ===== Flex utils ===== */
.flex         { display: flex; }
.flex-center  { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap    { display: flex; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media screen and (max-width: 940px) {
  #header { height: 60px; }
  #header-nav { display: none; }
  .hamburger { display: flex; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .hero-inner { padding: 80px 0 48px; }
  .page-hero { padding-top: calc(60px + 32px); }
}

@media screen and (max-width: 767px) {
  section { padding: 40px 0; }
  .page-hero h1 { font-size: 22px; }
}
