/* ===========================
   園芸博覧会 非公式ポータル
   共通スタイルシート v2 — 大改造版
   =========================== */

/* --- カスタムプロパティ --- */
:root {
  --font-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-inter: "Inter", "Noto Sans JP", sans-serif;

  --green-900: #0a1f0a;
  --green-800: #1b5e20;
  --green-700: #2e7d32;
  --green-600: #388e3c;
  --green-500: #43a047;
  --green-400: #66bb6a;
  --green-300: #81c784;
  --green-200: #a5d6a7;
  --green-100: #c8e6c9;
  --green-50:  #e8f5e9;

  --gold-500: #f9a825;
  --gold-400: #fbc02d;
  --gold-300: #fdd835;
  --gold-100: #fff8e1;

  --teal-600: #00897b;
  --teal-400: #26a69a;

  --bg: #f8fbf8;
  --text: #1a2e1a;
  --text-muted: #5a705a;
  --card-bg: #fff;
  --card-border: rgba(0, 0, 0, 0.04);
  --card-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  --glow-green: 0 0 30px rgba(102, 187, 106, 0.3);
  --glow-gold: 0 0 30px rgba(249, 168, 37, 0.25);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  font-size: 16px;
}

html.fs-l  { font-size: 18px; }
html.fs-xl { font-size: 20px; }

/* 特大サイズ時のレイアウト調整 */
html.fs-xl .news-item {
  grid-template-columns: 1fr;
  gap: 8px;
}

html.fs-xl .countdown-grid {
  flex-wrap: wrap;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* --- フォーカス --- */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- スキップリンク --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 10px 20px;
  background: var(--green-700);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- スクロールプログレスバー --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--gold-500), var(--green-400));
  z-index: 9999;
  transition: width 0.05s linear;
}

/* --- スクロールアニメーション --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.25s; }
.delay-4 { transition-delay: 0.35s; }

/* --- ヘッダー --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(46, 125, 50, 0.06);
  padding: 0 clamp(16px, 4vw, 48px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.4s, background 0.4s;
}

.site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-800);
  letter-spacing: 0.02em;
}

.site-logo .logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--green-700), var(--green-400));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(46, 125, 50, 0.3);
}

.site-logo .badge {
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ef6c00, var(--gold-500));
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  box-shadow: 0 2px 8px rgba(249, 168, 37, 0.3);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: #3e5a3e;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.site-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:hover {
  color: var(--green-700);
}

.site-nav a:hover::after,
.site-nav a.current::after {
  width: 100%;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- ヒーロー（トップページ） --- */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--green-900);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(46, 125, 50, 0.5), transparent),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(102, 187, 106, 0.35), transparent),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(27, 94, 32, 0.3), transparent),
    radial-gradient(circle at 70% 70%, rgba(139, 195, 74, 0.25), transparent 50%),
    radial-gradient(circle at 30% 30%, rgba(0, 77, 64, 0.25), transparent 50%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 120px at 15% 75%, rgba(249, 168, 37, 0.1) 0%, transparent 100%),
    radial-gradient(circle 80px at 85% 25%, rgba(165, 214, 167, 0.15) 0%, transparent 100%),
    radial-gradient(circle 200px at 50% 90%, rgba(46, 125, 50, 0.12) 0%, transparent 100%),
    radial-gradient(circle 60px at 75% 65%, rgba(249, 168, 37, 0.08) 0%, transparent 100%),
    radial-gradient(circle 90px at 25% 35%, rgba(56, 142, 60, 0.12) 0%, transparent 100%);
  animation: heroDrift 22s ease-in-out infinite alternate-reverse;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px at 20% 30%, rgba(165, 214, 167, 0.5), transparent 4px),
    radial-gradient(circle 2px at 40% 70%, rgba(255, 248, 225, 0.4), transparent 4px),
    radial-gradient(circle 3px at 60% 20%, rgba(129, 199, 132, 0.45), transparent 5px),
    radial-gradient(circle 2px at 80% 55%, rgba(249, 168, 37, 0.4), transparent 4px),
    radial-gradient(circle 2px at 10% 60%, rgba(200, 230, 201, 0.3), transparent 4px),
    radial-gradient(circle 3px at 90% 80%, rgba(165, 214, 167, 0.35), transparent 5px),
    radial-gradient(circle 2px at 35% 45%, rgba(255, 248, 225, 0.3), transparent 4px),
    radial-gradient(circle 2px at 70% 40%, rgba(200, 230, 201, 0.25), transparent 4px);
}

@keyframes heroDrift {
  0%   { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.06) rotate(1deg); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 43, 13, 0.35) 0%, rgba(13, 43, 13, 0.12) 40%, rgba(13, 43, 13, 0.55) 100%);
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  opacity: 0.07;
}

.hero-pattern::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -100px;
  right: -150px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: spin-slow 60s linear infinite;
}

.hero-pattern::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -100px;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: spin-slow 45s linear infinite reverse;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

/* 浮遊リーフ */
.floating-leaves {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.leaf {
  position: absolute;
  opacity: 0.15;
  animation: leafFloat linear infinite;
}

.leaf svg {
  display: block;
}

.leaf:nth-child(1) { left: 8%;  top: -60px; animation-duration: 16s; animation-delay: 0s; }
.leaf:nth-child(2) { left: 22%; top: -80px; animation-duration: 20s; animation-delay: 3s; }
.leaf:nth-child(3) { left: 45%; top: -50px; animation-duration: 18s; animation-delay: 7s; }
.leaf:nth-child(4) { left: 65%; top: -70px; animation-duration: 22s; animation-delay: 2s; }
.leaf:nth-child(5) { left: 82%; top: -90px; animation-duration: 17s; animation-delay: 5s; }
.leaf:nth-child(6) { left: 35%; top: -40px; animation-duration: 24s; animation-delay: 10s; }

@keyframes leafFloat {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0;
  }
  10% { opacity: 0.15; }
  90% { opacity: 0.15; }
  100% {
    transform: translateY(110vh) rotate(360deg) scale(0.8);
    opacity: 0;
  }
}

/* ヒーローコンテンツ */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 60px clamp(20px, 6vw, 80px);
  max-width: 840px;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  animation: fadeSlideDown 0.8s 0.3s both;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: fadeSlideDown 0.8s 0.5s both;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500), var(--green-200));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50%      { background-position: 200% center; }
}

.hero-description {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeSlideDown 0.8s 0.7s both;
}

.hero-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 36px;
  border-radius: 60px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 32px;
  animation: fadeSlideDown 0.8s 0.9s both;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.hero-info .icon {
  font-size: 1.2rem;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideDown 0.8s 1.1s both;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: 60px;
  font-size: 0.9rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  box-shadow: 0 4px 20px rgba(46, 125, 50, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 36px rgba(46, 125, 50, 0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), #ef6c00);
  color: #fff;
  box-shadow: 0 4px 20px rgba(249, 168, 37, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 36px rgba(249, 168, 37, 0.5);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* ヒーロー下の装飾ウェーブ */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: auto;
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

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

/* --- カウントダウン --- */
.countdown-section {
  position: relative;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px);
  background: linear-gradient(135deg, var(--green-900), #0d3d0d);
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(249, 168, 37, 0.08), transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(102, 187, 106, 0.1), transparent 50%);
}

.countdown-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.countdown-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.countdown-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 36px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 28px);
}

.countdown-item {
  min-width: clamp(72px, 12vw, 120px);
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.countdown-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glow-gold);
}

.countdown-number {
  font-family: var(--font-inter);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  background: linear-gradient(180deg, #fff 30%, var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.countdown-unit {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* --- セクション共通 --- */
.section {
  padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 48px);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--green-800);
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  border-radius: 3px;
  margin-top: 16px;
}

.section-title.centered {
  text-align: center;
}

.section-title.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.section-description {
  margin-top: 16px;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
}

.section-bg-alt {
  background: #f0f6f0;
}

.section-bg-dark {
  background: var(--green-900);
  color: var(--green-100);
  position: relative;
  overflow: hidden;
}

.section-bg-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(102, 187, 106, 0.06), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249, 168, 37, 0.04), transparent 50%);
  pointer-events: none;
}

/* --- お知らせ（トップページ） --- */
.news-grid {
  display: grid;
  gap: 20px;
}

.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 16px;
  align-items: center;
  background: var(--card-bg);
  padding: 22px 28px;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.35s, transform 0.35s;
  position: relative;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--green-400), var(--gold-500), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.news-item:hover::before {
  opacity: 1;
}

.news-item:hover {
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.1);
  transform: translateY(-3px);
}

.news-item .date {
  font-family: var(--font-inter);
  font-size: 0.82rem;
  font-weight: 600;
  color: #888;
  font-feature-settings: "tnum";
  white-space: nowrap;
}

.news-item .tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.tag-info    { background: linear-gradient(135deg, var(--green-700), var(--green-500)); }
.tag-event   { background: linear-gradient(135deg, #e65100, #ef6c00); }
.tag-report  { background: linear-gradient(135deg, #0d47a1, #1976d2); }

.news-item .title {
  font-size: 0.92rem;
  font-weight: 500;
  color: #2d3a2e;
}

.section-more {
  margin-top: 40px;
  text-align: center;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-700);
  padding: 13px 30px;
  border: 2px solid var(--green-100);
  border-radius: 60px;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.more-link:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.25);
}

.more-link .arrow {
  transition: transform 0.3s;
}

.more-link:hover .arrow {
  transform: translateX(5px);
}

/* --- 見どころカード（3D） --- */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.highlight-card {
  position: relative;
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--card-border);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  perspective: 800px;
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 64px rgba(46, 125, 50, 0.15);
}

.highlight-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, transparent 30%, var(--green-400), var(--gold-500), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 2;
}

.highlight-card:hover::after {
  opacity: 1;
}

.card-visual {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-visual-1 {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 50%, var(--green-400) 100%);
}

.card-visual-2 {
  background: linear-gradient(135deg, #33691e 0%, #558b2f 50%, #8bc34a 100%);
}

.card-visual-3 {
  background: linear-gradient(135deg, #004d40 0%, var(--teal-600) 50%, var(--teal-400) 100%);
}

.card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(255,255,255,0.1), transparent 40%);
}

.card-visual .card-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  z-index: 1;
  opacity: 0.9;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.highlight-card:hover .card-icon {
  transform: translate(-50%, -50%) scale(1.15) rotate(-5deg);
}

.card-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
  z-index: 1;
}

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

.card-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* --- 数字で見るセクション --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
  position: relative;
}

.stat-item {
  padding: 28px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.35s, box-shadow 0.35s, background 0.35s;
}

.stat-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--glow-green);
  background: rgba(255, 255, 255, 0.06);
}

.stat-item .stat-number {
  font-family: var(--font-inter);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  background: linear-gradient(180deg, #fff 20%, var(--gold-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item .stat-unit {
  font-size: 0.9rem;
  -webkit-text-fill-color: var(--green-300);
}

.stat-item .stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

/* --- アクセス --- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.access-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  transition: box-shadow 0.3s, transform 0.3s;
}

.access-card:hover {
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.1);
  transform: translateY(-4px);
}

.access-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-50);
}

.access-card dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px 20px;
}

.access-card dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-700);
}

.access-card dd {
  font-size: 0.88rem;
  color: #555;
}

.access-map {
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: 20px;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid var(--card-border);
}

/* --- フッター --- */
.site-footer {
  background: #060f06;
  color: rgba(255, 255, 255, 0.6);
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 48px) 32px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-400), var(--gold-500), var(--green-400), transparent);
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.9;
}

.footer-links h5 {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s, transform 0.25s;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer-bottom .disclaimer {
  max-width: 600px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.3);
}

/* --- ページタイトル（下層ページ） --- */
.page-hero {
  margin-top: 72px;
  position: relative;
  padding: clamp(60px, 10vw, 100px) clamp(20px, 5vw, 48px);
  background: var(--green-900);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(46, 125, 50, 0.3), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(102, 187, 106, 0.2), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(249, 168, 37, 0.06), transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.page-hero .breadcrumb {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s;
}

.page-hero .breadcrumb a:hover {
  color: var(--gold-400);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* --- ニュース一覧ページ --- */
.news-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--green-100);
  border-radius: 60px;
  background: #fff;
  color: #3e5a3e;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s;
}

.filter-btn:hover {
  border-color: var(--green-700);
  color: var(--green-700);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
}

.news-month {
  font-size: 0.82rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-month:first-of-type {
  margin-top: 0;
}

.news-month::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #ddd, transparent);
}

.news-article {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 16px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.35s, transform 0.35s;
  position: relative;
  overflow: hidden;
}

.news-article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: 16px 0 0 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.news-article:hover {
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.1);
  transform: translateY(-3px);
}

.news-article:hover::before {
  opacity: 1;
}

.news-article:nth-child(3n+1)::before { background: linear-gradient(to bottom, var(--green-700), var(--green-400)); }
.news-article:nth-child(3n+2)::before { background: linear-gradient(to bottom, #e65100, var(--gold-500)); }
.news-article:nth-child(3n)::before   { background: linear-gradient(to bottom, #0d47a1, #42a5f5); }

.news-article .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-article .date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #999;
  font-feature-settings: "tnum";
}

.news-article .tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.04em;
}

.news-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-article h3 a {
  color: inherit;
  transition: color 0.25s;
}

.news-article h3 a:hover {
  color: var(--green-700);
}

.news-article .excerpt {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.8;
}

/* ===========================
   記事詳細ページ
   =========================== */

/* --- 記事ヘッダー --- */
.article-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--green-50);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-header .date {
  font-family: var(--font-inter);
  font-size: 0.88rem;
  font-weight: 700;
  color: #888;
  font-feature-settings: "tnum";
}

.article-header .tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.04em;
}

.article-author {
  font-size: 0.85rem;
  color: #666;
}

.article-author .author-name {
  font-weight: 700;
  color: #3e5a3e;
}

/* --- 目次 --- */
.article-toc {
  background: #f0f6f0;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 32px;
  border: 1px solid #e0efe0;
}

.toc-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.toc-list {
  list-style: none;
  counter-reset: toc-counter;
  padding-left: 0;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 8px;
}

.toc-list li:last-child {
  margin-bottom: 0;
}

.toc-list li::before {
  content: counter(toc-counter) ".";
  font-family: var(--font-inter);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green-500);
  margin-right: 8px;
}

.toc-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2d5a2d;
  transition: color 0.25s;
}

.toc-list a:hover {
  color: var(--green-700);
  text-decoration: underline;
}

/* --- 記事本文 --- */
.article-body {
  max-width: 780px;
  margin-bottom: 48px;
}

.article-body h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-800);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green-100);
  line-height: 1.4;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-700);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 3px solid var(--green-400);
  line-height: 1.5;
}

.article-body p {
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
  margin-bottom: 16px;
}

.article-body ul {
  margin: 16px 0;
  padding-left: 24px;
}

.article-body ul li {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 6px;
}

.article-body ul li::marker {
  color: var(--green-500);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: #f7faf7;
  border-left: 4px solid var(--green-400);
  border-radius: 0 8px 8px 0;
}

.article-body blockquote p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 0;
}

.article-body figure {
  margin: 28px 0;
}

.article-body figcaption {
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin-top: 8px;
}

/* --- シェアボタン --- */
.article-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--green-50);
  border-bottom: 1px solid var(--green-50);
}

.share-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #555;
}

.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 60px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
  letter-spacing: 0.04em;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.share-x    { background: #0f1419; }
.share-fb   { background: #1877f2; }
.share-line { background: #06c755; }

/* --- 前後の記事ナビ --- */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s, transform 0.3s;
}

.nav-item:hover {
  box-shadow: 0 8px 24px rgba(46, 125, 50, 0.1);
  transform: translateY(-2px);
}

.nav-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 0.04em;
}

.nav-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
}

.nav-next {
  text-align: right;
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .countdown-grid {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 60px;
  }

  html {
    scroll-padding-top: 60px;
  }

  .hero {
    min-height: calc(100vh - 60px);
    margin-top: 60px;
  }

  .page-hero {
    margin-top: 60px;
  }

  .hamburger {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
  }

  .site-nav.open {
    right: 0;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .site-nav a {
    font-size: 1rem;
    color: var(--green-800);
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .news-article {
    padding: 20px;
  }

  .countdown-item {
    padding: 16px 8px;
  }

  /* 記事詳細レスポンシブ */
  .article-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-toc {
    padding: 20px;
  }

  .article-body h2 {
    font-size: 1.2rem;
    margin-top: 36px;
  }

  .article-body h3 {
    font-size: 1rem;
    margin-top: 24px;
  }

  .article-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .nav-next {
    text-align: left;
  }
}

/* --- 文字サイズ切り替えパネル --- */
.a11y-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.a11y-trigger {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--green-700);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.35);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}

.a11y-trigger:hover,
.a11y-trigger:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.45);
}

.a11y-trigger[aria-expanded="true"] {
  background: var(--green-800);
}

.a11y-panel {
  display: none;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
  min-width: 200px;
}

.a11y-panel.is-open {
  display: block;
  animation: fadeSlideDown 0.2s ease-out;
}

.a11y-panel-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.a11y-sizes {
  display: flex;
  gap: 8px;
}

.a11y-size-btn {
  flex: 1;
  padding: 10px 4px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.a11y-size-btn:hover {
  border-color: var(--green-400);
}

.a11y-size-btn.active {
  border-color: var(--green-700);
  background: var(--green-50);
  color: var(--green-800);
}

.a11y-size-btn .size-sample {
  line-height: 1;
}

.a11y-size-btn .size-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: #999;
}

.a11y-size-btn.active .size-label {
  color: var(--green-700);
}

.a11y-size-btn[data-size="m"] .size-sample { font-size: 0.95rem; }
.a11y-size-btn[data-size="l"] .size-sample { font-size: 1.15rem; }
.a11y-size-btn[data-size="xl"] .size-sample { font-size: 1.35rem; }

/* --- モバイル老眼対応強化 --- */
@media (max-width: 640px) {
  /* タッチターゲット最低44px確保 */
  .site-nav a,
  .filter-btn,
  .more-link,
  .share-btn,
  .toc-list a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* 本文・抜粋の文字サイズを引き上げ */
  .news-article .excerpt,
  .article-body p,
  .article-body ul li,
  .card-body p,
  .access-card dd,
  .footer-brand p {
    font-size: 0.95rem;
    line-height: 2;
  }

  /* 薄い色のテキストのコントラスト強化 */
  .news-article .date,
  .news-article .excerpt,
  .article-header .date,
  .stat-item .stat-label,
  .section-description,
  .page-hero p {
    opacity: 1;
  }

  .news-article .excerpt { color: #555; }
  .section-description { color: #4a604a; }

  /* ニュース記事タイトルを太く大きく */
  .news-article h3 {
    font-size: 1.1rem;
    font-weight: 800;
  }

  /* パネルの位置調整 */
  .a11y-toggle {
    bottom: 16px;
    right: 16px;
  }

  .a11y-trigger {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }

  /* ニュースアイテムのタップ余白 */
  .news-item {
    padding: 18px 20px;
  }

  .news-item .title {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* カードの文字サイズ */
  .card-body h4 {
    font-size: 1.05rem;
  }
}

/* ===========================
   待ち時間ページ
   =========================== */

/* --- 注意書き --- */
.wait-notice {
  background: var(--gold-100);
  border: 1px solid rgba(249, 168, 37, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 36px;
}

.wait-notice p {
  font-size: 0.85rem;
  color: #6d5a00;
  line-height: 1.8;
  margin: 0;
}

/* --- パビリオンカードグリッド --- */
.wait-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* --- パビリオンカード --- */
.wait-card {
  background: var(--card-bg);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.35s, transform 0.35s;
}

.wait-card:hover {
  box-shadow: 0 12px 40px rgba(46, 125, 50, 0.1);
  transform: translateY(-3px);
}

.wait-card-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.wait-card-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1), transparent 40%);
  pointer-events: none;
}

.wait-card-header-1 { background: linear-gradient(135deg, var(--green-800), var(--green-600)); }
.wait-card-header-2 { background: linear-gradient(135deg, #33691e, #558b2f); }
.wait-card-header-3 { background: linear-gradient(135deg, #004d40, var(--teal-600)); }
.wait-card-header-4 { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.wait-card-header-5 { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.wait-card-header-6 { background: linear-gradient(135deg, #e65100, #ff9800); }
.wait-card-header-7 { background: linear-gradient(135deg, #ad1457, #ec407a); }
.wait-card-header-8 { background: linear-gradient(135deg, #4e342e, #8d6e63); }

.wait-card-icon {
  font-size: 1.8rem;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.wait-card-header h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  z-index: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.wait-card-body {
  padding: 24px;
}

/* --- 待ち時間表示 --- */
.wait-current {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.wait-time-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.wait-minutes {
  font-family: var(--font-inter);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--green-800);
}

.wait-unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.wait-status {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wait-status-empty {
  background: #f5f5f5;
  color: #999;
}

.wait-status-short {
  background: var(--green-50);
  color: var(--green-700);
}

.wait-status-moderate {
  background: var(--gold-100);
  color: #e65100;
}

.wait-status-long {
  background: #fce4ec;
  color: #c62828;
}

.wait-report-count {
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 16px;
}

/* --- 投稿ボタン --- */
.btn-submit-wait {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: 2px solid var(--green-100);
  border-radius: 60px;
  background: #fff;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
}

.btn-submit-wait:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.25);
  transform: translateY(-1px);
}

/* --- 投稿履歴 --- */
.wait-history {
  margin-top: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.wait-history.has-data {
  max-height: 300px;
  overflow-y: auto;
}

.wait-history-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}

.wait-history-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.82rem;
}

.wait-history-item:last-child {
  border-bottom: none;
}

.wait-history-minutes {
  font-family: var(--font-inter);
  font-weight: 800;
  color: var(--green-800);
  font-size: 0.95rem;
}

.wait-history-time {
  color: #aaa;
  font-size: 0.75rem;
  font-feature-settings: "tnum";
}

/* --- 投稿モーダル --- */
.wait-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wait-modal-overlay.is-open {
  display: flex;
}

.wait-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  animation: fadeSlideDown 0.3s ease-out;
}

.wait-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.wait-modal-close:hover {
  color: #333;
}

.wait-modal h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-800);
  margin-bottom: 4px;
}

.modal-pavilion-name {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.wait-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

.wait-form-input-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.wait-adjust-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--green-100);
  background: #fff;
  color: var(--green-700);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wait-adjust-btn:hover {
  background: var(--green-50);
  border-color: var(--green-400);
}

.wait-form-input {
  flex: 1;
  text-align: center;
  font-family: var(--font-inter);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--green-800);
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 8px 12px;
  background: #fafafa;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.wait-form-input::-webkit-outer-spin-button,
.wait-form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wait-form-input:focus {
  outline: none;
  border-color: var(--green-400);
  background: #fff;
}

.wait-form-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wait-preset {
  padding: 8px 16px;
  border: 1.5px solid #e0e0e0;
  border-radius: 60px;
  background: #fff;
  color: #555;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.wait-preset:hover {
  border-color: var(--green-400);
  color: var(--green-700);
  background: var(--green-50);
}

.wait-form-submit {
  width: 100%;
  justify-content: center;
}

/* --- 投稿成功トースト --- */
.wait-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--green-800);
  color: #fff;
  padding: 14px 28px;
  border-radius: 60px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.wait-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* --- 待ち時間レスポンシブ --- */
@media (max-width: 900px) {
  .wait-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .wait-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wait-card-header {
    padding: 16px 20px;
  }

  .wait-card-body {
    padding: 20px;
  }

  .wait-minutes {
    font-size: 2.2rem;
  }

  .wait-modal {
    padding: 28px 20px;
  }

  .wait-form-input {
    font-size: 2rem;
  }

  .btn-submit-wait {
    min-height: 48px;
  }

  .wait-preset {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .wait-adjust-btn {
    width: 52px;
    height: 52px;
  }
}

/* --- prefers-reduced-motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in, .fade-in-left, .fade-in-right, .fade-in-scale {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}
