@charset "UTF-8";

:root {
  --black: #101010;
  --deep-black: #080808;
  --white: #ffffff;
  --off-white: #f6f3ef;
  --gray: #6e6e6e;
  --line: #ded8d2;
  --festival-red: #d92d2d;
  --festival-green: #2f7f54;
  --gold: #d8af62;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #1a1a1a;
  background: var(--white);
  line-height: 1.8;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(860px, calc(100% - 40px));
}

.section-label {
  margin-bottom: 12px;
  color: var(--festival-red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading h2,
.festival-intro h2,
.photo-copy h2,
.festival-message h2,
.festival-cta h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
}

/* ==========================================
   Header
========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;

  width: 100%;
  height: 72px;
  padding: 0 20px;

  display: flex;
  align-items: center;

  background: #222;
  box-sizing: border-box;
}

/* ロゴリンク */
.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

/* ロゴ画像 */
.site-header .logo {
  display: block;
  width: auto;
  height: 52px;
  max-width: none;
  object-fit: contain;
}

/* ==========================================
   PCナビ
========================================== */

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.main-nav a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #ffd65d;
  text-decoration: none;
}

/* ==========================================
   Hamburger
========================================== */

.hamburger {
  display: none;

  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;

  border: 0;
  border-radius: 0;
  background: transparent;

  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;

  cursor: pointer;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 0;
  padding: 0;

  background: #fff;
  border-radius: 999px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* メニュー展開時の× */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================
   Smartphone
========================================== */

@media (max-width: 768px) {
  .site-header {
    height: 64px;
    padding: 0 14px;
  }

  .site-header .logo {
    width: auto;
    height: 44px;
  }

  .hamburger {
    display: flex;
    position: relative;
    z-index: 10002;
  }

  .main-nav {
    display: none;

    position: absolute;
    top: 64px;
    left: 0;

    width: 100%;
    margin-left: 0;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    background: #222;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);

    z-index: 10001;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 16px 20px;

    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ================================
   Hero
================================ */
.festival-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    url("../images/hanabi/hero.png") center 45% / cover no-repeat;
}

.festival-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.76));
}

.festival-hero-content {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 36px));
  text-align: center;
}

.festival-kicker {
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.festival-hero h1 {
  margin-bottom: 28px;
  color: #fff;
  font-size: clamp(2.1rem, 7vw, 6.4rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 35px rgba(0, 0, 0, 0.55);
}

.festival-title span {
  display: block;
  white-space: nowrap;
}

.festival-dates {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.festival-dates span {
  min-width: 150px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  backdrop-filter: blur(5px);
}

.festival-name {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.scroll-guide {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
}

.scroll-guide::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 10px auto 0;
  background: rgba(255, 255, 255, 0.7);
}

/* ================================
   Intro
================================ */
.festival-intro {
  padding: 110px 0;
  text-align: center;
  background: var(--off-white);
}

.festival-intro p:not(.section-label) {
  margin-top: 18px;
  font-size: 1.05rem;
}

/* ================================
   Performance cards
================================ */
.performance-section {
  padding: 110px 0;
  background: #fff;
}

.performance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.performance-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 330px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

.performance-card.red-card {
  background: linear-gradient(145deg, #5f0f13, #c1292e);
}

.performance-card.green-card {
  background: linear-gradient(145deg, #123d2b, #2f7f54);
}

.performance-card.wide-card {
  grid-column: 1 / -1;
}

.performance-date {
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.performance-date strong {
  margin: 4px 0;
  font-size: 3.6rem;
  line-height: 1;
}

.performance-date span {
  font-weight: 800;
  letter-spacing: 0.12em;
}

.performance-date .month {
  font-size: 0.78rem;
}

.performance-content {
  padding: 34px;
}

.event-category {
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.78;
}

.performance-content h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1.4;
}

.event-time {
  margin-bottom: 8px;
  font-size: 1.45rem;
  font-weight: 800;
}

.event-place {
  margin-bottom: 18px;
  font-weight: 700;
}

.event-description {
  color: rgba(255, 255, 255, 0.88);
}

/* ================================
   Photo feature
================================ */
.photo-feature {
  padding: 100px 0;
  background: #eee9e2;
}

.photo-feature-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.photo-copy p:not(.section-label) {
  margin-top: 18px;
}

.photo-frame {
  position: relative;
}

.photo-frame::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 0;
  width: 55%;
  height: 55%;
  border-top: 4px solid var(--festival-red);
  border-right: 4px solid var(--festival-red);
}

.photo-frame img {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.photo-frame figcaption {
  margin-top: 10px;
  color: #6b645f;
  font-size: 0.82rem;
  text-align: right;
}

/* ================================
   Special works
================================ */
.special-works {
  padding: 120px 0;
  color: #fff;
  background: var(--deep-black);
}

.light-heading h2 {
  color: #fff;
}

.work-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  margin-top: 90px;
}

.work-block.reverse .work-image {
  order: 2;
}

.work-block.reverse .work-copy {
  order: 1;
}

.work-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

.work-number {
  margin-bottom: 4px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.work-small-title {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.work-copy h3 {
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.4;
}

.work-copy h3 span {
  font-size: 0.62em;
  font-weight: 500;
}

.work-copy p:not(.work-number):not(.work-small-title) {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

/* ================================
   Message
================================ */
.festival-message {
  position: relative;
  min-height: 600px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  background: url("../images/hanabi/nagaoka-festival.JPG") center / cover no-repeat;
}

.festival-message-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.festival-message-content {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
}

.festival-message h2 {
  color: #fff;
}

.festival-message p:not(.section-label) {
  font-size: 1.05rem;
}

/* ================================
   Summary
================================ */
.schedule-summary {
  padding: 110px 0;
  background: #fff;
}

.schedule-list {
  border-top: 1px solid var(--line);
}

.schedule-row {
  display: grid;
  grid-template-columns: 120px 160px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 10px;
  border-bottom: 1px solid var(--line);
}

.schedule-row-date {
  font-size: 1.55rem;
  font-weight: 800;
}

.schedule-row-date span {
  display: block;
  color: var(--festival-red);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.schedule-row-time {
  font-weight: 800;
}

.schedule-row-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.schedule-row-main span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* ================================
   CTA
================================ */
.festival-cta {
  padding: 100px 0;
  text-align: center;
  background: var(--off-white);
}

.festival-cta p:not(.section-label) {
  margin-bottom: 28px;
}

.instagram-button {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #7a35b3, #e02b6c, #ef9a31);
  box-shadow: 0 12px 26px rgba(185, 55, 116, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instagram-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(185, 55, 116, 0.34);
}

/* ================================
   Footer
================================ */
.footer-sitemap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 50px max(24px, calc((100% - 1100px) / 2));
  color: #fff;
  background: #111;
}

.footer-sitemap h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-sitemap ul {
  list-style: none;
}

.footer-sitemap li {
  margin-bottom: 8px;
}

.footer-sitemap a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.footer-sitemap a:hover {
  color: #ffd56a;
}

/* ================================
   Responsive
================================ */
@media (max-width: 900px) {
  .hamburger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
  }

  .performance-grid,
  .photo-feature-grid,
  .work-block {
    grid-template-columns: 1fr;
  }

  .performance-card.wide-card {
    grid-column: auto;
  }

  .photo-feature-grid,
  .work-block {
    gap: 36px;
  }

  .work-block.reverse .work-image,
  .work-block.reverse .work-copy {
    order: initial;
  }
}

@media (max-width: 680px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    min-height: 64px;
    padding: 8px 14px;
  }

  .logo {
    width: 105px;
  }

  .main-nav {
    top: 64px;
  }

  .festival-hero {
    min-height: 92vh;
  }

  .festival-kicker {
    font-size: 0.72rem;
  }

  .festival-hero h1 {
    font-size: clamp(2.5rem, 13vw, 4.2rem);
  }

  .festival-dates {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .festival-dates span {
    width: min(220px, 100%);
  }

  .festival-intro,
  .performance-section,
  .special-works,
  .schedule-summary,
  .festival-cta,
  .photo-feature {
    padding: 76px 0;
  }

  .performance-card {
    grid-template-columns: 86px 1fr;
    min-height: 0;
    border-radius: 16px;
  }

  .performance-date {
    padding: 24px 12px;
  }

  .performance-date strong {
    font-size: 2.7rem;
  }

  .performance-content {
    padding: 24px 20px;
  }

  .performance-content h3 {
    font-size: 1.35rem;
  }

  .event-time {
    font-size: 1.2rem;
  }

  .photo-frame::before {
    top: -10px;
    right: -8px;
  }

  .work-block {
    margin-top: 62px;
  }

  .work-number {
    font-size: 3.2rem;
  }

  .festival-message {
    min-height: 520px;
  }

  .schedule-row {
    grid-template-columns: 86px 1fr;
    gap: 8px 16px;
    padding: 22px 4px;
  }

  .schedule-row-time {
    grid-column: 2;
  }

  .schedule-row-main {
    grid-column: 1 / -1;
    margin-top: 8px;
  }

  .footer-sitemap {
    grid-template-columns: 1fr 1fr;
    gap: 32px 18px;
    padding: 40px 22px;
  }
}