:root {
  --ink: #17201d;
  --muted: #5d6a63;
  --paper: #f7f4e8;
  --leaf: #6a8a5e;
  --moss: #273d35;
  --night: #101a2a;
  --deep: #07111d;
  --gold: #ffd66b;
  --amber: #f0a93d;
  --line: rgba(23, 32, 29, 0.14);
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(7, 17, 29, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.75;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.78), rgba(7, 17, 29, 0.2));
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 17, 29, 0.92);
  box-shadow: 0 10px 30px rgba(7, 17, 29, 0.24);
}

.brand,
.nav,
.hero-actions,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff8c9 0 18%, var(--gold) 19% 42%, rgba(255, 214, 107, 0.2) 43% 72%, transparent 73%);
  box-shadow: 0 0 18px rgba(255, 214, 107, 0.9);
}

.nav {
  gap: clamp(14px, 3vw, 34px);
  margin-left: auto;
  font-size: 0.94rem;
}

.nav a,
.text-link {
  text-decoration: none;
}

.nav a {
  opacity: 0.9;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-fireflies.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.9) 0%, rgba(7, 17, 29, 0.62) 42%, rgba(7, 17, 29, 0.12) 82%),
    linear-gradient(0deg, rgba(7, 17, 29, 0.9) 0%, rgba(7, 17, 29, 0.08) 34%);
}

.firefly-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.firefly-layer span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff6ae;
  box-shadow: 0 0 18px 6px rgba(255, 214, 107, 0.72);
  animation: drift 7s ease-in-out infinite;
}

.firefly-layer span:nth-child(1) {
  left: 58%;
  top: 30%;
}

.firefly-layer span:nth-child(2) {
  left: 72%;
  top: 44%;
  animation-delay: 1.2s;
}

.firefly-layer span:nth-child(3) {
  left: 84%;
  top: 28%;
  animation-delay: 2.4s;
}

.firefly-layer span:nth-child(4) {
  left: 64%;
  top: 64%;
  animation-delay: 3.1s;
}

.firefly-layer span:nth-child(5) {
  left: 91%;
  top: 58%;
  animation-delay: 4.5s;
}

@keyframes drift {
  0%,
  100% {
    opacity: 0.35;
    transform: translate3d(0, 0, 0) scale(0.86);
  }

  45% {
    opacity: 1;
    transform: translate3d(16px, -18px, 0) scale(1.22);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 120px 0 70px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Shippori Mincho", "Noto Sans JP", serif;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.45;
}

.hero-copy {
  max-width: 660px;
  margin: 28px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--deep);
  background: linear-gradient(180deg, #ffe386, var(--gold));
  box-shadow: 0 16px 34px rgba(240, 169, 61, 0.26);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 52px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.hero-facts div {
  padding: 18px;
  background: rgba(7, 17, 29, 0.38);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-light {
  background: var(--paper);
}

.section-night {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 22%, rgba(255, 214, 107, 0.14), transparent 28%),
    linear-gradient(180deg, var(--night), var(--deep));
}

.section-price {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(247, 244, 232, 0.92)),
    var(--paper);
}

.section-safety {
  background: #eef1e4;
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.lead-block p,
.section-heading p,
.booking p,
.section-note {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-note {
  margin-top: 20px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--moss);
  font-weight: 800;
  border-bottom: 2px solid var(--amber);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.value-grid article,
.reasons article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 12px 40px rgba(39, 61, 53, 0.07);
}

.value-grid article {
  min-height: 220px;
  padding: 28px;
}

.icon-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(240, 169, 61, 0.75);
}

.value-grid p,
.reasons p,
.flow p,
.faq-list p,
.notice p,
.footer p,
.price-panel p,
.check-card li {
  margin: 0;
  color: var(--muted);
}

.price-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
}

.price-row span {
  font-weight: 800;
}

.price-row strong {
  color: var(--moss);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1;
}

.price-panel p {
  padding: 18px 26px 22px;
  background: #fbf8ed;
}

.section-heading {
  max-width: 760px;
  text-align: center;
}

.section-heading p {
  margin-top: 18px;
}

.section-night .section-heading p,
.section-night .flow p {
  color: rgba(255, 255, 255, 0.74);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.flow article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.07);
}

.flow span {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--gold);
  font-weight: 800;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.reasons article {
  padding: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.check-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 38px rgba(39, 61, 53, 0.08);
}

.check-card ul {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-card li {
  position: relative;
  padding-left: 24px;
}

.check-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(240, 169, 61, 0.55);
}

.notice {
  padding: 28px;
  border-left: 5px solid var(--amber);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.notice strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 44px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
}

details p {
  padding: 0 24px 22px;
}

.booking {
  padding: clamp(76px, 10vw, 120px) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 17, 29, 0.82), rgba(16, 26, 42, 0.72)),
    url("assets/hero-fireflies.png") center / cover;
}

.booking-inner {
  max-width: 760px;
  text-align: center;
}

.booking p {
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.booking-button {
  margin-top: 32px;
}

.booking .booking-small {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
}

.footer {
  padding: 28px 0;
  background: var(--deep);
}

.footer-inner {
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer strong {
  color: var(--white);
}

@media (max-width: 860px) {
  .site-header {
    min-height: 64px;
  }

  .nav {
    display: none;
  }

  .header-cta {
    margin-left: auto;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 17, 29, 0.88) 0%, rgba(7, 17, 29, 0.64) 100%),
      linear-gradient(0deg, rgba(7, 17, 29, 0.9) 0%, rgba(7, 17, 29, 0.08) 45%);
  }

  .split,
  .value-grid,
  .reasons,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    font-size: 0.95rem;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 52px;
    padding-inline: 16px;
    text-align: center;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .value-grid article,
  .reasons article,
  .flow article {
    min-height: auto;
    padding: 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
