/* =========================================================
   螳ｮ蝓弱・譌・窶・繧ｵ繝ｳ繝励Ν繧ｵ繧､繝・繧ｹ繧ｿ繧､繝ｫ繧ｷ繝ｼ繝・
   繧ｫ繝ｩ繝ｼ繝・・繝橸ｼ壽收蟲ｶ縺ｮ髱・ﾃ・阡ｵ邇九・邱・ﾃ・莨企＃縺ｮ驥・
   ========================================================= */

:root {
  --color-sea: #0f6e8c;       /* 譚ｾ蟲ｶ縺ｮ豬ｷ */
  --color-sea-dark: #0a4d63;
  --color-forest: #2f7d4f;    /* 譚懊・驛ｽ繝ｻ阡ｵ邇九・邱・*/
  --color-gold: #c8a24a;      /* 莨企＃縺ｮ驥托ｼ井ｸ画律譛茨ｼ・*/
  --color-ink: #23303a;       /* 譁・ｭ苓牡 */
  --color-sub: #5c6b76;       /* 陬懷勧繝・く繧ｹ繝・*/
  --color-bg: #ffffff;
  --color-bg-muted: #f2f6f7;
  --color-line: #e2e9ec;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(15, 110, 140, .08);
  --shadow-md: 0 14px 40px rgba(15, 110, 140, .16);
  --max-width: 1120px;
  --font-serif: "Shippori Mincho", "Yu Mincho", serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* -------------------- 蜈ｱ騾夊ｦ句・縺・-------------------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-muted { background: var(--color-bg-muted); }

.section-head { text-align: center; margin-bottom: 3rem; }

.section-label {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .28em;
  color: var(--color-sea);
  margin-bottom: .6rem;
}
.section-label-light { color: rgba(255, 255, 255, .85); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: .02em;
}

/* -------------------- 繝懊ち繝ｳ -------------------- */
.btn {
  display: inline-block;
  padding: .9rem 2.2rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-gold);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 162, 74, .4);
}
.btn-primary:hover { background: #b48f38; box-shadow: 0 14px 30px rgba(200, 162, 74, .5); }

.btn-light {
  background: #fff;
  color: var(--color-sea-dark);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* -------------------- 繝倥ャ繝繝ｼ -------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }
.is-scrolled .brand img { filter: none; }

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-list a {
  font-weight: 500;
  color: #fff;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  padding: .3rem 0;
}
.is-scrolled .nav-list a { color: var(--color-ink); text-shadow: none; }
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width .25s ease;
}
.nav-list a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px; height: 24px;
  background: none; border: none; cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block; height: 3px; width: 100%;
  background: #fff; border-radius: 3px;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.is-scrolled .nav-toggle span { background: var(--color-ink); box-shadow: none; }

/* -------------------- 繝偵・繝ｭ繝ｼ -------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 77, 99, .6) 0%, rgba(10, 77, 99, .15) 60%, transparent 100%);
  z-index: -1;
}
.hero-copy {
  color: #fff;
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
  padding-top: 72px;
}
.hero-sub {
  font-weight: 700;
  letter-spacing: .35em;
  font-size: .85rem;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  line-height: 1.25;
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .35);
}
.hero-lead {
  margin: 1.5rem 0 2.4rem;
  font-size: clamp(.95rem, 2vw, 1.1rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
  max-width: 34em;
}
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}
.hero-scroll span { display: block; padding-bottom: 40px; position: relative; }
.hero-scroll span::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 32px;
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

/* -------------------- 螳ｮ蝓弱↓縺､縺・※ -------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-text p + p { margin-top: 1rem; }
.about-text .section-title { margin-bottom: 1.6rem; }

.stat-list {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.stat dt {
  font-size: .8rem;
  color: var(--color-sub);
  letter-spacing: .08em;
}
.stat dd {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-sea);
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* -------------------- 繧ｫ繝ｼ繝峨げ繝ｪ繝・ラ -------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 1.5rem 1.6rem 1.8rem; }
.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: .5rem 0 .6rem;
}
.card-body p { color: var(--color-sub); font-size: .95rem; }

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--color-sea);
  padding: .25rem .8rem;
  border-radius: 999px;
}
.tag-warm { background: var(--color-gold); }

/* -------------------- 縺顔･ｭ繧・-------------------- */
.festival {
  background: linear-gradient(160deg, #103b4d 0%, #0f6e8c 100%);
  color: #fff;
}
.festival-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.festival .section-label { color: var(--color-gold); }
.festival-media img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.feature-list {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: .7rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .7em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-gold);
}

/* -------------------- CTA / 繧｢繧ｯ繧ｻ繧ｹ -------------------- */
.section-cta {
  background: linear-gradient(140deg, var(--color-forest) 0%, var(--color-sea-dark) 100%);
  color: #fff;
  text-align: center;
}
.cta-inner .section-title { margin-bottom: 2.5rem; }
.access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.access-item {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  backdrop-filter: blur(4px);
}
.access-num {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #ffe6a8;
}
.access-label { font-size: .9rem; margin-top: .4rem; opacity: .92; }

/* -------------------- 繝輔ャ繧ｿ繝ｼ -------------------- */
.site-footer {
  background: #0a2530;
  color: #cdd8dd;
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand img { margin-bottom: .7rem; }
.footer-brand p { font-size: .85rem; opacity: .8; }
.footer-nav {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}
.footer-nav a { font-size: .9rem; transition: color .2s ease; }
.footer-nav a:hover { color: var(--color-gold); }
.copyright {
  text-align: center;
  font-size: .78rem;
  opacity: .6;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

/* -------------------- 繝ｬ繧ｹ繝昴Φ繧ｷ繝・-------------------- */
@media (max-width: 860px) {
  .about-grid,
  .festival-grid { grid-template-columns: 1fr; }
  .festival-media { order: -1; }

  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 100% 0);
    transition: clip-path .3s ease;
  }
  .nav-list.is-open { clip-path: inset(0 0 0 0); }
  .nav-list a {
    color: var(--color-ink);
    text-shadow: none;
    display: block;
    padding: .9rem 2rem;
  }
  .nav-list a::after { display: none; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .is-scrolled .nav-toggle span,
  .nav-toggle[aria-expanded="true"] span { background: var(--color-ink); box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}
