/* ===================================
   翠風輪祭 - 和モダン Stylesheet
   =================================== */

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

:root {
  /* 和の緑 - 抹茶・深緑系 */
  --matcha:     #52b788;
  --matcha-d:   #40916c;
  --fukamidori: #2d6a4f;
  --tokiwa:     #1b4332;
  --shinryoku:  #95d5b2;
  --usumoegi:   #b7e4c7;
  --wakakusa:   #d8f3dc;
  --shironeri:  #f6faf5;
  --kinari:     #eef5ec;
  --sumi:       #1a2e1a;
  --usuzumi:    #6b6b6b;
  --hai:        #9a9a9a;
  --shadow:     0 2px 16px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);
  --radius:     8px;
  --ease:       cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
  color: var(--tokiwa);
  background: var(--shironeri);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s var(--ease);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* ===================================
   HEADER
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 67, 50, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.4s var(--ease);
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(0,0,0,0.15);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  line-height: 1.2;
}

.logo-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}

/* Nav */
.nav-list {
  display: flex;
  gap: 36px;
}

.nav-list a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.08em;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-list a:hover {
  color: #fff;
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-sns {
  display: flex;
  gap: 14px;
}

.header-sns a {
  color: rgba(255,255,255,0.6);
  display: flex;
}

.header-sns a:hover {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s var(--ease);
  border-radius: 1px;
}

.hamburger.active span {
  background: var(--tokiwa);
}

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

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

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

/* ===================================
   HERO - Cinematic Slider
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #111;
}

#shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%),
    linear-gradient(160deg, rgba(27,67,50,0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* フィルムグレイン */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
  animation: grain 0.5s steps(4) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, 5%); }
  50% { transform: translate(5%, -5%); }
  75% { transform: translate(-3%, -8%); }
}

/* ビネット */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(0,0,0,0.4) 100%);
}

/* フレーム枠 */
.hero-frame {
  position: absolute;
  inset: 28px;
  z-index: 4;
  pointer-events: none;
}

.frame-corner {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: rgba(255,255,255,0.2);
  border-style: solid;
}

.frame-tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.frame-tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.frame-bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.frame-br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }

/* 右サイド: スクロール */
.hero-side-right {
  position: absolute;
  right: 36px;
  bottom: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.scroll-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #fff;
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  animation: scrollDown 2.4s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* 下部バー */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 36px 32px;
}

/* エントリーボタン */
.hero-entry {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 14px 28px 14px 20px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.hero-entry:hover {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.45);
}

.entry-diamond {
  width: 10px;
  height: 10px;
  border: 1.5px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.hero-entry:hover .entry-diamond {
  background: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.9);
}

.entry-text {
  font-family: 'Montserrat', sans-serif;
}

/* Entry Modal */
.entry-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.entry-modal.active {
  opacity: 1;
  visibility: visible;
}

.entry-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
}

.entry-modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s var(--ease);
}

.entry-modal.active .entry-modal-content {
  transform: scale(1) translateY(0);
}

.entry-modal-close {
  position: absolute;
  top: -48px;
  right: -48px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.entry-modal-close:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.entry-modal-logo {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

.entry-modal-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.7);
}

.entry-modal-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 2;
  color: rgba(255,255,255,0.45);
  text-align: center;
  letter-spacing: 0.05em;
}

/* プログレスバー */
.hero-progress {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.progress-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 4px;
}

.progress-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  transition: all 0.4s var(--ease);
}

.progress-item.active .progress-num {
  color: rgba(255,255,255,0.8);
}

.progress-bar {
  width: 48px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  border-radius: 1px;
  transition: width 0.1s linear;
}

.progress-item.active .progress-fill {
  animation: progressFill 5.5s linear forwards;
}

@keyframes progressFill {
  from { width: 0%; }
  to { width: 100%; }
}

.hero-date small {
  font-size: 11px;
  opacity: 0.6;
  margin-left: 2px;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero-title-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}

.hero-catch {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

.hero-subtitle-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ===================================
   CSS WHEEL (車輪)
   =================================== */
.wheel {
  width: 260px;
  height: 260px;
  border: 4px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  position: relative;
}

/* タイヤ（外側のリング） */
.wheel::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(255,255,255,0.07);
  border-radius: 50%;
}

/* ハブ（中心） */
.wheel-hub {
  position: absolute;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.wheel-hub::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* スポーク (conic-gradient) */
.wheel-spokes {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-conic-gradient(
    rgba(255,255,255,0.13) 0deg 1.2deg,
    transparent 1.2deg 10deg
  );
  -webkit-mask: radial-gradient(
    circle,
    transparent 10px,
    black 11px,
    black calc(50% - 3px),
    transparent calc(50% - 2px)
  );
  mask: radial-gradient(
    circle,
    transparent 10px,
    black 11px,
    black calc(50% - 3px),
    transparent calc(50% - 2px)
  );
}

/* ニップル風リング */
.wheel-spokes::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

/* サイズバリエーション */
.wheel-sm {
  width: 160px;
  height: 160px;
  border-width: 3px;
}

.wheel-sm::before {
  inset: -8px;
}

/* (車輪はAboutセクション等で使用) */

/* ===================================
   TRIPLE SLIDER (大会の様子)
   =================================== */
.triple-swiper .swiper-slide {
  border-radius: 6px;
  overflow: hidden;
  transition: opacity 0.6s ease, filter 0.6s ease;
  opacity: 0.4;
  filter: brightness(0.5);
}

.triple-swiper .swiper-slide-active {
  opacity: 1;
  filter: brightness(1);
}

.triple-swiper .swiper-slide img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* (旧hero controls削除済み - 新UIは上部に定義) */

/* ===================================
   SECTION COMMON
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--fukamidori);
  border: 1px solid var(--matcha-d);
  padding: 4px 18px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.section-tag.light {
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.25);
}

.section-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--tokiwa);
  margin-bottom: 16px;
}

.light .section-title-jp {
  color: var(--shironeri);
}

/* 筆線の装飾 */
.section-brush {
  width: 48px;
  height: 2px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--matcha), transparent);
  position: relative;
}

.section-brush.light {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
}

.section-brush::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border: 1px solid var(--matcha-d);
  border-radius: 50%;
  background: var(--matcha-d);
}

.section-brush.light::before {
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}

/* ===================================
   NEWS
   =================================== */
.news {
  padding: 80px 0 90px;
  background: var(--shironeri);
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 20px;
  border-bottom: 1px solid rgba(27,67,50,0.08);
  transition: all 0.3s var(--ease);
  border-radius: 4px;
}

.news-item:first-child {
  border-top: 1px solid rgba(27,67,50,0.08);
}

.news-item:hover {
  background: var(--wakakusa);
  padding-left: 28px;
}

.news-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.news-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--matcha-d);
  white-space: nowrap;
  min-width: 90px;
}

.news-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tag-green {
  background: var(--wakakusa);
  color: var(--fukamidori);
}

.tag-blue {
  background: #e0f0e4;
  color: var(--tokiwa);
}

.tag-orange {
  background: #e8f0de;
  color: #3d5a1e;
}

.tag-purple {
  background: #dceee5;
  color: var(--fukamidori);
}

.news-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--tokiwa);
  flex: 1;
}

.news-arrow {
  font-size: 20px;
  color: var(--matcha-d);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.news-item:hover .news-arrow {
  color: var(--tokiwa);
  transform: translateX(4px);
}

.news-empty {
  text-align: center;
  font-size: 15px;
  color: var(--usuzumi);
  padding: 60px 0;
  letter-spacing: 0.08em;
}

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

/* 和モダンボタン */
.btn-wamo {
  display: inline-block;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--fukamidori);
  border: 1px solid var(--matcha);
  padding: 12px 40px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  z-index: 0;
}

.btn-wamo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fukamidori);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
  z-index: -1;
}

.btn-wamo:hover {
  color: #fff;
  border-color: var(--fukamidori);
}

.btn-wamo:hover::before {
  transform: translateX(0);
}

/* ===================================
   ABOUT
   =================================== */
.about {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(160deg, var(--tokiwa) 0%, var(--fukamidori) 100%);
  overflow: hidden;
}

.about-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.8) 1px, transparent 1px),
    radial-gradient(circle at 60% 80%, rgba(255,255,255,0.8) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px, 70px 70px;
  pointer-events: none;
}

.about-body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.about-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 2;
  color: var(--shironeri);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.about-desc {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}

.about-info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 16px 20px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease);
}

.about-info-card:hover {
  background: rgba(255,255,255,0.12);
}

.info-icon {
  color: var(--shinryoku);
  flex-shrink: 0;
  display: flex;
}

.info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-bottom: 2px;
}

.info-value {
  font-size: 14px;
  color: var(--shironeri);
  letter-spacing: 0.04em;
}

.about-visual {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* ===================================
   EVENTS
   =================================== */
.events {
  position: relative;
  padding: 120px 0;
  background: var(--tokiwa);
  overflow: hidden;
}

#events-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.events-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.event-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,67,50,0.08);
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(27,67,50,0.06);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.event-card-top {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.event-num {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: 'Noto Serif JP', serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(255,255,255,0.15);
}

.event-icon {
  z-index: 2;
}

.event-card-bottom {
  padding: 20px;
}

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

.event-card-bottom p {
  font-size: 12.5px;
  color: #4a6b4a;
  line-height: 1.8;
}

/* 3D Event Cards */
.event-card-3d {
  perspective: 800px;
  cursor: pointer;
}

.event-card-3d-inner {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(149,213,178,0.15);
  border-radius: 12px;
  padding: 40px 28px 32px;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.event-card-3d:hover .event-card-3d-inner {
  border-color: rgba(149,213,178,0.35);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
}

.event-card-3d-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82,183,136,0.2) 0%, transparent 70%);
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.event-card-3d:hover .event-card-3d-glow {
  opacity: 1;
}

.event-card-3d-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(149,213,178,0.08);
  position: absolute;
  top: 8px;
  right: 16px;
  line-height: 1;
  pointer-events: none;
}

.event-card-3d-date {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  margin-bottom: 16px;
  font-family: 'Montserrat', sans-serif;
  transform: translateZ(20px);
}

.event-date-month {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.event-date-slash {
  font-size: 20px;
  font-weight: 300;
  color: rgba(255,255,255,0.3);
  margin: 0 2px;
}

.event-date-day {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.event-date-dow {
  font-size: 12px;
  font-weight: 600;
  color: var(--shinryoku);
  margin-left: 6px;
  letter-spacing: 0.05em;
}

.event-card-3d-icon {
  color: var(--shinryoku);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  transform: translateZ(20px);
}

.event-card-3d-inner h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  transform: translateZ(15px);
}

.event-card-3d-inner p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.9;
  margin-bottom: 20px;
  transform: translateZ(10px);
}

.event-card-3d-more {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--shinryoku);
  border: 1px solid rgba(149,213,178,0.3);
  padding: 8px 24px;
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform: translateZ(10px);
}

.event-card-3d:hover .event-card-3d-more {
  background: rgba(149,213,178,0.15);
  border-color: var(--shinryoku);
}

/* ===================================
   COURSE
   =================================== */
.course {
  padding: 100px 0;
  background: var(--shironeri);
}

.course-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card-soon {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(27,67,50,0.08);
  border: 1px solid rgba(27,67,50,0.06);
  transition: all 0.4s var(--ease);
}

.course-card-soon:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27,67,50,0.12);
}

.course-soon-map {
  height: 180px;
  background: var(--kinari);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.course-soon-map::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(27,67,50,0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,67,50,0.3) 1px, transparent 1px);
  background-size: 24px 24px;
}

.course-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--matcha-d);
  position: relative;
  z-index: 1;
}

.course-map-placeholder span {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--matcha-d);
  opacity: 0.4;
}

.course-soon-bottom {
  padding: 20px;
  background: #fff;
  text-align: center;
}

.course-soon-bottom h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tokiwa);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.course-detail-btn {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fukamidori);
  background: none;
  border: 1px solid var(--matcha-d);
  padding: 8px 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.course-detail-btn:hover {
  background: var(--tokiwa);
  border-color: var(--tokiwa);
  color: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.course-card:hover {
  border-color: rgba(149, 213, 178, 0.3);
  background: rgba(255,255,255,0.1);
}

.course-visual {
  padding: 24px;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-visual svg {
  width: 100%;
  height: 100%;
}

.course-info {
  padding: 0 24px 24px;
}

.course-info h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--shinryoku);
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}

.course-specs {
  font-size: 12px;
  color: var(--hai);
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-specs .sep {
  opacity: 0.3;
}

/* ===================================
   SPONSORS
   =================================== */
.sponsors {
  padding: 80px 0;
  background: var(--shironeri);
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sponsor-item {
  background: var(--kinari);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--hai);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  transition: all 0.3s var(--ease);
}

.sponsor-item:hover {
  border-color: var(--matcha);
  color: var(--fukamidori);
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  position: relative;
  padding: 100px 0;
  background: var(--shironeri);
  text-align: center;
  overflow: hidden;
}

.contact-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  /* 青海波パターン風 */
  background-image: radial-gradient(ellipse at 50% 0%, transparent 60%, rgba(255,255,255,0.6) 60%, rgba(255,255,255,0.6) 62%, transparent 62%);
  background-size: 60px 30px;
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.contact-logo {
  width: 140px;
  margin-bottom: 24px;
}

.contact-org {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--matcha-d);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-tel {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-tel a {
  color: var(--matcha-d);
}

.contact-mail {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: var(--matcha-d);
  margin-bottom: 6px;
}

.contact-mail a {
  color: var(--matcha-d);
}

.contact-hours {
  font-size: 14px;
  color: var(--matcha);
  margin-top: 4px;
}

.contact-form-wrap {
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--matcha-d);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  color: var(--matcha-d);
  background: #fff;
  border: 1px solid rgba(27,67,50,0.18);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tokiwa);
  box-shadow: 0 0 0 3px rgba(27,67,50,0.08);
}

.form-group textarea {
  resize: vertical;
}

.btn-contact {
  display: inline-block;
  width: auto;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--matcha-d);
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  margin-top: auto;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,67,50,0.25);
  background: var(--fukamidori);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    padding: 32px 24px;
  }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #253d2f;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 40px;
}

.footer-header {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 16px;
}

.footer-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.footer-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
}

.footer-line {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin: 0 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 760px;
  margin: 0 auto 40px;
}

.footer-col-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--shinryoku);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 2;
}

.footer-bottom {
  text-align: center;
  padding-top: 0;
}

.footer-bottom p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-copy {
  font-family: 'Montserrat', sans-serif;
  margin-top: 12px;
  font-size: 12px !important;
  color: rgba(255,255,255,0.35) !important;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* stagger delay for grid items */
.event-card-3d.fade-in:nth-child(1) { transition-delay: 0s; }
.event-card-3d.fade-in:nth-child(2) { transition-delay: 0.15s; }
.event-card-3d.fade-in:nth-child(3) { transition-delay: 0.3s; }

.course-card-soon.fade-in:nth-child(1) { transition-delay: 0s; }
.course-card-soon.fade-in:nth-child(2) { transition-delay: 0.12s; }
.course-card-soon.fade-in:nth-child(3) { transition-delay: 0.24s; }

.course-card.fade-in:nth-child(1) { transition-delay: 0s; }
.course-card.fade-in:nth-child(2) { transition-delay: 0.12s; }
.course-card.fade-in:nth-child(3) { transition-delay: 0.24s; }

.news-item.fade-in:nth-child(1) { transition-delay: 0s; }
.news-item.fade-in:nth-child(2) { transition-delay: 0.08s; }
.news-item.fade-in:nth-child(3) { transition-delay: 0.16s; }
.news-item.fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .events-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .course-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 360px;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--shironeri);
    padding: 80px 28px 28px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
    transition: right 0.4s var(--ease);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 15px;
    color: var(--tokiwa);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    letter-spacing: 0.15em;
  }

  .header-sns {
    display: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 36px;
  }

  .hero-vertical {
    display: none;
  }

  .hero-entry {
    font-size: 12px;
    padding: 12px 20px 12px 16px;
    gap: 10px;
  }

  .entry-modal-logo {
    width: 200px;
  }

  .entry-modal-close {
    top: -44px;
    right: 0;
  }

  .section-title-jp {
    font-size: 24px;
  }

  .about-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    display: none;
  }

  .hero-frame {
    inset: 16px;
  }

  .hero-bottom {
    padding: 0 20px 20px;
  }

  .hero-side-right {
    right: 20px;
    bottom: 24px;
  }

  .progress-bar {
    width: 32px;
  }

  .about-lead {
    font-size: 18px;
  }

  .events-grid-3 {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .course-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 12px;
  }

  .news-left {
    width: 100%;
  }

  .news-title {
    font-size: 13px;
  }

  .news-arrow {
    display: none;
  }

  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 480px) {
  .hero {
    height: 55vh;
    min-height: 320px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-catch {
    font-size: 13px;
  }

}
