/* ===========================
   リセット・ベース
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:      #0B1F4B;
  --navy-mid:  #1A3570;
  --gold:      #B8902A;
  --gold-lt:   #D4A940;
  --white:     #FFFFFF;
  --off-white: #F7F5F0;
  --light:     #EEF0F5;
  --text:      #1A1A2E;
  --text-sub:  #5A5A72;
  --border:    #DDD8CE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--white);
  color: var(--text);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   セクション共通
=========================== */
section { padding: 88px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  display: block;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
}

.section-label {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 10px;
}

/* ===========================
   ナビゲーション
=========================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--navy); }

/* ハンバーガー */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   ① ヒーロー
=========================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.6;
}

/* 下から白へのグラデーション */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(11,31,75,0.25) 0%,
    rgba(11,31,75,0.45) 55%,
    rgba(255,255,255,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px 80px;
  width: 100%;
}

.hero-label {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  margin-bottom: 4px;
}

.hero-title { margin-bottom: 32px; }

.hero-title-main {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.hero-title-sub {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(28px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--white);
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  margin-top: 4px;
}

.hero-date { margin-bottom: 16px; }

.hero-date-year {
  display: block;
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(14px, 3vw, 22px);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 6px;
}

.hero-date-days {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-date-days small { font-size: 0.5em; font-weight: 400; }
.hero-date-sep { margin: 0 8px; color: var(--gold-lt); }

.hero-place {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ===========================
   ② 概要
=========================== */
.about { background: var(--white); }

.about-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.9;
  margin-bottom: 28px;
}

.about-body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 16px;
}

/* ===========================
   About 連続スライダー
=========================== */
.about-slider-wrapper {
  overflow: hidden;
  margin-top: 56px;
}

.about-slider {
  display: flex;
  will-change: transform;
}

.about-slide {
  flex-shrink: 0;
}

.about-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

/* ===========================
   ③ クラウドファンディング
=========================== */
.crowdfunding { background: var(--off-white); }

.cf-body {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.cf-lead {
  font-size: 15px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 48px;
}

.cf-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cf-feature {
  padding: 28px 16px;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.cf-feature-icon {
  font-size: 30px;
  display: block;
  margin-bottom: 14px;
}

.cf-feature p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-sub);
}

.cf-btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: background 0.3s;
  margin-bottom: 12px;
}

.cf-btn:hover { background: var(--navy-mid); }

.cf-btn-note {
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.7;
}

/* ===========================
   ④ 催し物
=========================== */
.events { background: var(--white); }

.events-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 64px;
}

.event-card {
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.event-card-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.event-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.event-card:hover .event-card-photo img { transform: scale(1.04); }

.event-card-body { padding: 28px 24px; }

.event-card-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 8px;
}

.event-card-date {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 700;
}

.event-card-body p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
}

.event-card-body p small {
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.7;
}

/* その他の催し物 */
.events-other {
  text-align: center;
  padding: 48px 0 16px;
}

.events-other-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 16px;
}

.events-other-desc {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
  max-width: 560px;
  margin: 0 auto 32px;
}

.events-more-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
  margin-bottom: 16px;
}

.events-more-btn:hover { background: var(--navy); color: var(--white); }

.events-note {
  font-size: 12px;
  color: var(--text-sub);
  opacity: 0.6;
}

/* ボランティア */
.volunteer {
  margin-top: 56px;
  padding: 40px 32px;
  background: var(--light);
  border-left: 4px solid var(--navy);
  text-align: center;
}

.volunteer h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.volunteer p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
  margin-bottom: 24px;
}

.volunteer-btn {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: background 0.3s, color 0.3s;
}

.volunteer-btn:hover { background: var(--navy); color: var(--white); }

/* ===========================
   ⑤ アクセス
=========================== */
.access { background: var(--off-white); }

.access-body {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}

.access-info dl { display: flex; flex-direction: column; gap: 24px; }

.access-info dt {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.access-info dd {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.access-map iframe { border-radius: 2px; }

/* ===========================
   ⑥ ギャラリー
=========================== */
.gallery { background: var(--navy); padding-bottom: 48px; }

.gallery .section-title { color: var(--white); }
.gallery .section-label { color: var(--gold-lt); }

.slider-wrapper { position: relative; overflow: hidden; }

.slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.slide { min-width: 33.333%; padding: 0 6px; }

.slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 10;
}

.slider-btn:hover { background: rgba(255,255,255,0.3); }
.slider-btn--prev { left: 12px; }
.slider-btn--next { right: 12px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.slider-dot.active { background: var(--gold-lt); }

/* ===========================
   ⑦ お問い合わせ
=========================== */
.contact { background: var(--white); }

.contact-body {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.contact-body > p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 400px;
  transition: border-color 0.3s, background 0.3s;
  font-size: 14px;
  color: var(--text);
  word-break: break-all;
}

.contact-link:hover {
  border-color: var(--navy);
  background: var(--light);
}

.contact-link-icon {
  font-size: 20px;
  color: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* ===========================
   フッター
=========================== */
.footer {
  background: var(--navy);
  padding: 48px 0;
  text-align: center;
}

.footer-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--gold-lt);
  margin-bottom: 8px;
}

.footer-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ===========================
   レスポンシブ：タブレット
=========================== */
@media (max-width: 768px) {
  section { padding: 64px 0; }

  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 99;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; color: var(--navy); }

  .events-main { grid-template-columns: 1fr; gap: 20px; }
  .event-card-photo { height: 200px; }
  .cf-features { grid-template-columns: 1fr; gap: 12px; }
  .access-body { grid-template-columns: 1fr; gap: 32px; }
  .slide { min-width: 66.666%; }
  .volunteer { padding: 28px 20px; }
}

/* ===========================
   レスポンシブ：スマホ
=========================== */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-content { padding: 90px 16px 60px; }
  .cf-btn { padding: 14px 28px; font-size: 15px; }
  .event-card-body { padding: 20px 16px; }
  .event-card-photo { height: 180px; }
  .slide { min-width: 100%; padding: 0 4px; }
  .slide img { height: 220px; }
  .contact-link { font-size: 13px; }
  .volunteer { padding: 24px 16px; }
}
