/* ─────────────────────────────────────────
   ポール・ラッシュ祭 八ヶ岳カンティフェア
   prfes-county.com
   ───────────────────────────────────────── */

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Design Tokens ─── */
:root {
  /* Background */
  --bg:        #1C0808;
  --bg2:       #260E0E;
  --bg3:       #110404;

  /* Main colors: 赤・白 */
  --red:       #C41A0E;
  --red-lt:    #E03020;
  --red-dk:    #8B1200;
  --white:     #FFFFFF;

  /* Text */
  --cream:     #F5EEEA;
  --cream-dim: rgba(245, 238, 234, 0.65);

  /* Accent: gold */
  --gold:      #C9A84C;
  --gold-lt:   #E2C97A;
  --gold-dk:   #9A7A2C;
}

/* ─── Base ─── */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── TOP BANNER ─── */
.top-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 7px 16px;
  font-size: clamp(9px, 2vw, 11px);
  letter-spacing: 0.18em;
  font-weight: 700;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: min(70svh, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px 48px;
  text-align: center;

  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 4, 4, 0.70);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Announce label */
.announce-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(20px, 5.5vw, 36px);
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 14px 36px;
  border-radius: 6px;
  margin-bottom: 36px;
}

/* Main title */
.main-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 800;
  font-size: clamp(36px, 10vw, 84px);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* Sub title */
.sub-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(22px, 6vw, 42px);
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-top: 12px;
}

.sub-wave {
  color: var(--white);
  font-size: 0.75em;
  vertical-align: middle;
}

/* Year */
.year-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(56px, 15vw, 110px);
  color: var(--red-lt);
  line-height: 0.9;
  letter-spacing: 0.04em;
  margin-top: 10px;
}

/* Location */
.location-tag {
  margin-top: 20px;
  font-size: clamp(11px, 2.5vw, 13px);
  color: var(--cream-dim);
  letter-spacing: 0.15em;
}

/* ─── DATE CARD ─── */
.date-section {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  padding: 0 16px;
  display: flex;
  justify-content: center;
}

.date-card {
  background: var(--red);
  color: var(--white);
  border-radius: 12px;
  padding: 20px 36px 18px;
  text-align: center;
  max-width: 480px;
  width: 100%;
}

.date-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 8px;
}

.date-month {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(13px, 3vw, 16px);
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 10px;
}

.date-days {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.date-day {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.date-day-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 12vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.date-day-info {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-left: 2px;
}

.date-dow {
  display: block;
  font-size: clamp(11px, 2.5vw, 13px);
  opacity: 0.85;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  padding: 0 4px;
  line-height: 1.6;
}

.date-days-sep {
  font-size: clamp(20px, 5vw, 28px);
  opacity: 0.4;
  align-self: center;
  margin-bottom: 4px;
}

/* ─── COUNTDOWN ─── */
.countdown-section {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 0 24px;
  text-align: center;
}

.countdown-label {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--cream-dim);
  font-weight: 700;
  margin-bottom: 16px;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
}

.countdown-num {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 10vw, 56px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-unit {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cream-dim);
  font-weight: 700;
}

.countdown-sep {
  font-size: clamp(28px, 8vw, 44px);
  color: var(--red);
  line-height: 1;
  margin-top: 4px;
  font-weight: 700;
  opacity: 0.8;
}

@media (min-width: 768px) {
  .countdown-section {
    max-width: 680px;
  }

  .countdown-item {
    min-width: 90px;
  }

  .countdown {
    gap: 8px;
  }
}

/* ─── INFO SECTION ─── */
.info-section {
  padding: 48px 24px 0;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(196, 26, 14, 0.35);
  border-radius: 10px;
  padding: 18px 22px;
}

.info-card-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 700;
}

.info-card-text {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--cream);
}

.info-card-small {
  font-size: 12px;
  color: var(--cream-dim);
  margin-top: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* Organizers */
.organizers-card {
  background: transparent;
  border: 1px solid rgba(196, 26, 14, 0.2);
  border-radius: 10px;
  padding: 16px 22px;
}

.organizers-list {
  font-size: clamp(11px, 2.8vw, 13px);
  color: var(--cream-dim);
  line-height: 2;
  letter-spacing: 0.04em;
}

.org-sep {
  color: var(--red-lt);
  opacity: 0.5;
  margin: 0 6px;
}

/* ─── ABOUT ─── */
.about-section {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 0 24px;
}

.about-inner {
  border-top: 1px solid rgba(196, 26, 14, 0.25);
  padding-top: 36px;
}

.about-heading {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.about-text {
  font-size: clamp(13px, 3vw, 15px);
  color: var(--cream);
  line-height: 2;
  letter-spacing: 0.04em;
}

.about-text + .about-text {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .about-section {
    max-width: 680px;
  }
}

/* ─── COMING SOON ─── */
.coming-soon {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 0 24px;
}

.coming-soon-inner {
  border: 1.5px dashed rgba(196, 26, 14, 0.45);
  border-radius: 10px;
  padding: 16px 24px;
  text-align: center;
  background: rgba(196, 26, 14, 0.06);
}

.coming-soon-text {
  font-size: clamp(12px, 3vw, 14px);
  color: var(--cream);
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.coming-soon-sub {
  display: block;
  font-size: 10px;
  opacity: 0.5;
  margin-top: 4px;
  letter-spacing: 0.1em;
}

/* ─── PAST YEARS ─── */
.past-section {
  margin: 40px auto 0;
  max-width: 560px;
  padding: 0 24px;
}

.past-inner {
  border-top: 1px solid rgba(196, 26, 14, 0.25);
  padding-top: 36px;
}

.past-heading {
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: clamp(15px, 3.5vw, 18px);
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.past-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.past-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(196, 26, 14, 0.2);
  border-radius: 10px;
  padding: 20px 24px;
}

.past-card-badge {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.past-card-year {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 8vw, 48px);
  color: var(--cream-dim);
  line-height: 1;
  letter-spacing: -0.02em;
}

.past-card-date {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(14px, 3vw, 16px);
  font-weight: 700;
  color: var(--cream-dim);
  margin-top: 6px;
}

.past-card-venue {
  font-size: 12px;
  color: var(--cream-dim);
  opacity: 0.6;
  margin-top: 4px;
}

.past-card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--cream-dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 1px solid rgba(196, 26, 14, 0.35);
  border-radius: 4px;
  padding: 7px 16px;
  transition: opacity 0.2s;
}

.past-card-link:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .past-section {
    max-width: 680px;
  }

  .past-cards {
    flex-direction: row;
  }

  .past-card {
    flex: 1;
  }
}

/* ─── FOOTER ─── */
.site-footer {
  margin-top: 56px;
  padding: 24px 16px;
  border-top: 1px solid rgba(196, 26, 14, 0.2);
  text-align: center;
  color: rgba(245, 238, 234, 0.3);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.site-footer p + p {
  margin-top: 6px;
}

/* ─── PC RESPONSIVE ─── */
@media (min-width: 768px) {
  .hero {
    min-height: min(80svh, 680px);
    padding: 80px 40px 64px;
  }

  .main-title {
    font-size: clamp(72px, 9vw, 108px);
  }

  .sub-title {
    font-size: clamp(28px, 5vw, 48px);
  }

  .info-section {
    max-width: 680px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .info-card {
    flex: 1;
    min-width: 260px;
  }

  .organizers-card {
    flex: 1 1 100%;
  }

  .coming-soon {
    max-width: 680px;
  }
}
