/* ================================================
   みちのくせんまや赤ちゃん相撲 公式サイト
   Main Stylesheet
   ================================================ */

/* ==================== VARIABLES ==================== */
:root {
  --purple:        #6B48B8;
  --purple-light:  #8B68D4;
  --purple-dark:   #5438A0;
  --purple-darker: #3D2880;
  --crimson:       #C1272D;
  --crimson-dark:  #9B1F24;
  --gold:          #C9A227;
  --gold-light:    #E8C347;
  --gold-dark:     #A8851F;
  --white:         #FFFFFF;
  --washi:         #F7F3EB;
  --washi-dark:    #EDE8DC;
  --dark:          #1A1A1A;
  --gray:          #555555;
  --gray-light:    #999999;
  --gray-border:   #E0DDD5;

  --grad-purple: linear-gradient(135deg, var(--purple-darker) 0%, var(--purple) 50%, var(--purple-light) 100%);
  --grad-gold:   linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  --grad-crimson:linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 100%);

  --shadow-sm: 0 2px 8px rgba(75,46,131,.10);
  --shadow-md: 0 4px 20px rgba(75,46,131,.15);
  --shadow-lg: 0 8px 40px rgba(75,46,131,.22);

  --section-py:   clamp(64px, 9vw, 104px);   /* セクション上下余白 */
  --container-px: clamp(20px, 5vw, 48px);   /* コンテナ左右余白 */
  --gap-sm:       clamp(20px, 3vw, 28px);   /* 小間隔 */
  --gap-md:       clamp(32px, 5vw, 48px);   /* 中間隔（セクション内ブロック間） */
  --gap-lg:       clamp(48px, 7vw, 72px);   /* 大間隔（グリッド上など） */
  --content-max:  820px;                    /* 本文コンテンツ最大幅 */
  --font-sans:  'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  /* Shippori Mincho B1：活版印刷・木版印刷の風合いを持つ伝統的明朝体 */
  --font-serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --ease: 0.3s cubic-bezier(.25,.46,.45,.94);
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2vw, 16px);
  color: var(--dark);
  background: var(--washi);
  line-height: 1.9;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ==================== UTILITY ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}
.section { padding: var(--section-py) 0; }
.section-white  { background: var(--white); }
.section-washi  { background: var(--washi); }
.section-purple { background: var(--purple-darker); color: var(--white); }
.text-center { text-align: center; }
/* セクション末尾CTAボタンの共通余白 */
.section-cta { margin-top: var(--gap-md); text-align: center; }

/* Section headers */
.section-header { text-align: center; margin-bottom: var(--gap-lg); }
.section-badge {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: .72rem;
  letter-spacing: .35em;
  color: var(--crimson);
  border: 1px solid var(--crimson);
  padding: 4px 16px;
  margin-bottom: 14px;
}
.section-title-en {
  display: block;
  font-size: .65rem;
  letter-spacing: .25em;
  color: var(--gold);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1.45;
  margin-bottom: 12px;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--grad-gold);
  margin: 14px auto 0;
}
.section-title.align-left::after { margin-left: 0; }
.section-purple .section-title { color: var(--gold); }
.section-desc {
  font-family: var(--font-serif);
  font-size: clamp(.9rem, 2vw, 1rem);
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 2;
}
.section-purple .section-desc { color: rgba(255,255,255,.75); }

.gold-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 8px 0;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: .05em;
  text-align: center;
}
.btn-primary {
  background: var(--grad-purple);
  color: var(--white);
  padding: 15px 36px;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); filter: brightness(1.1); }
.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 13px 34px;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-cta {
  background: var(--grad-crimson);
  color: var(--white);
  padding: 18px 52px;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(193,39,45,.4);
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: .6s;
}
.btn-cta:hover::before { left: 100%; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(193,39,45,.5); }
.btn-gold {
  background: var(--grad-gold);
  color: var(--dark);
  padding: 15px 36px;
  font-size: 1rem;
  box-shadow: 0 4px 18px rgba(201,162,39,.35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,162,39,.45); }
.btn-wide { width: 100%; max-width: 420px; padding-top: 20px; padding-bottom: 20px; font-size: 1.1rem; }

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,0,0,.35);
  border-bottom: none;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(42,22,72,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(201,162,39,.3);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
/* 幕イラスト（ヒーロー最上部・スクロール連動） */
.poster-maku {
  position: absolute;
  top: 0; left: 0; right: 0;
  width: 100%;
  height: calc(85vw * 280 / 1064); /* 85%時の高さを維持したまま全幅に引き伸ばし */
  pointer-events: none;
  z-index: 2;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--container-px);
}
.site-logo { display: flex; flex-direction: column; line-height: 1.25; }
.logo-main {
  font-family: var(--font-serif);
  font-size: clamp(.8rem, 1.8vw, .95rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .04em;
}
.logo-sub {
  font-size: .58rem;
  color: var(--gold);
  letter-spacing: .22em;
}

/* Desktop Nav */
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 20px; align-items: center; }

/* Header CTA（常時表示） */
.header-cta { padding: 8px 20px; font-size: .82rem; border-radius: 50px; white-space: nowrap; }
.nav-desktop a {
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-family: var(--font-serif);
  letter-spacing: .05em;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--ease);
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--ease);
}
.nav-desktop a:hover { color: var(--gold); }
.nav-desktop a:hover::after { width: 100%; }
.nav-desktop .btn-cta { padding: 8px 20px; font-size: .82rem; border-radius: 50px; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: var(--ease);
  transform-origin: center;
}
.hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: 85%; max-width: 360px;
  height: 100dvh;
  background: var(--purple-darker);
  z-index: 999;
  transition: right .4s cubic-bezier(.25,.46,.45,.94);
  overflow-y: auto;
  padding: 76px 28px 40px;
  border-left: 2px solid rgba(201,162,39,.25);
}
.mobile-nav.is-open { right: 0; }
.mobile-nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.mobile-nav-overlay.is-show { opacity: 1; pointer-events: auto; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: .95rem;
  letter-spacing: .05em;
  transition: var(--ease);
}
.mobile-nav a:hover { color: var(--gold); padding-left: 8px; }
.mobile-nav .btn-cta { margin-top: 28px; width: 100%; border-radius: 50px; }

/* ==================== HERO ==================== */
.hero {
  min-height: 100svh;
  background: linear-gradient(rgba(30,0,60,.65), rgba(30,0,60,.75)), url('../images/akachan-sumo_1.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 40px,
    rgba(201,162,39,.04) 40px, rgba(201,162,39,.04) 80px
  );
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.14) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -15%; left: -15%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,39,45,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px var(--container-px);
  max-width: 820px;
}
.hero-kamon {
  width: 76px; height: 76px;
  margin: 0 auto 28px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: spin-slow 20s linear infinite;
}
.hero-kamon::before {
  content: '';
  position: absolute; inset: 6px;
  border: 1px solid rgba(201,162,39,.45);
  border-radius: 50%;
}
.hero-kamon-inner { font-size: 1.7rem; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-eyebrow {
  font-size: clamp(.68rem, 1.5vw, .82rem);
  color: var(--gold);
  letter-spacing: .42em;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hero-title-ruby {
  display: block;
  font-size: .38em;
  letter-spacing: .28em;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 26px;
  line-height: 1.65;
}
.hero-copy {
  font-family: var(--font-serif);
  font-size: clamp(.82rem, 2vw, .97rem);
  color: rgba(255,255,255,.72);
  margin-bottom: 40px;
  line-height: 2.4;
}
.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .62rem;
  letter-spacing: .2em;
  animation: float-down 2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--gold), transparent);
}
@keyframes float-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==================== NEWS ==================== */
.news-list { max-width: 820px; margin: 0 auto; }
.news-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-border);
  transition: var(--ease);
}
.news-item:first-child { border-top: 1px solid var(--gray-border); }
.news-item:hover { padding-left: 8px; }
.news-meta { display: flex; align-items: center; gap: 10px; }
.news-date { font-size: .78rem; color: var(--gray-light); letter-spacing: .05em; }
.news-cat {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 10px;
  border-radius: 2px;
}
.news-cat.info    { background: var(--purple); color: var(--white); }
.news-cat.recruit { background: var(--crimson); color: var(--white); }
.news-cat.report  { background: var(--gold);    color: var(--dark); }
.news-cat.notice  { background: var(--gray-light); color: var(--white); }
.news-title {
  font-size: .93rem;
  font-family: var(--font-serif);
  color: var(--dark);
  line-height: 1.65;
  transition: color var(--ease);
}
.news-item a:hover .news-title { color: var(--purple); }

/* ==================== ABOUT ==================== */
.about-body {
  max-width: var(--content-max);
  margin: 0 auto var(--gap-md);
}
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--purple);
  line-height: 2;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-text { font-size: clamp(.92rem, 2vw, 1.02rem); line-height: 2.2; margin-bottom: 20px; }
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: var(--gap-lg);
  background: rgba(0,0,0,.08);
}
.value-card {
  background: #fdf9f4;
  padding: 44px 32px 40px;
  text-align: center;
  position: relative;
}
.value-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 28px;
}
.value-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}
.value-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 14px;
  letter-spacing: .08em;
}
.value-text {
  font-size: .88rem;
  color: var(--gray);
  line-height: 2.1;
}

/* ==================== POSTER HERO ==================== */

/* セクション本体：ヘッダー分の余白＋青緑背景 */
.hero-poster {
  min-height: auto;
  background: #0c7080;
  padding: 0;
  display: block;
}

/* ポスター外枠 */
.poster-frame {
  width: 100%;
  overflow: hidden;
}


/* ② 幕エリア（青緑） */
.poster-curtain {
  background: linear-gradient(180deg, #0b6575 0%, #0e8090 100%);
  min-height: 128px;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

/* 桜の飾り（左右：後でSVGに差し替え） */
.pc-cherry {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* 飾り紐＋房（中央上から垂れ下がる） */
.pc-tassel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.pc-tassel-rope {
  width: 6px;
  height: 32px;
  background: linear-gradient(180deg, #CC0000, #EE4444);
  border-radius: 3px;
}
.pc-tassel-body {
  width: 44px;
  height: 60px;
  background: radial-gradient(ellipse at 40% 25%, #FF7777, #CC0000 55%, #880000);
  border-radius: 6px 6px 50% 50%;
  box-shadow: inset 0 4px 10px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.3);
}

/* ③ 垂れ幕（青緑から薄紫へのグラデ＋楕円クリップ） */
.poster-drape {
  height: 72px;
  background: linear-gradient(180deg, #0e8090 0%, #d8cbf0 60%, #c4b4e8 100%);
  clip-path: ellipse(58% 100% at 50% 0%);
}

/* ④ メイン本体 */
.poster-body {
  position: relative;
  overflow: hidden;
  padding-bottom: 24px;
  /* 233vw(55+68+110)にpxバッファを追加。実コンテンツはpx下限(clamp等)を
     持つため、狭い画面幅ではvwだけの計算より実際の高さが大きくなるため。
     +180pxはギャラリー下端とfan-nav（下部固定）の間隔を確保するための余白 */
  min-height: calc(233vw + 1270px);
}

/* 背景上：background01
   55vw = 画像フル比率(66.7vw)より短く → 上部(横断幕)がトリミングされ人物が中央に
   +300px = タイトル文字＋バッジがpx下限を持つため、狭い画面幅で55vwに収まらない分の補正 */
.poster-bg-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(55vw + 300px);
  background: url('../images/images_top/background01.jpg') center 35% / cover no-repeat;
}
.poster-bg-top::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.45);
}
/* 背景下：background02（background01直下から開始・ボタン＋動画を含む） */
.poster-bg-bottom {
  position: absolute;
  top: calc(55vw + 300px); left: 0; right: 0;
  height: calc(68vw + 390px);
  background: url('../images/images_top/background02.JPG') center center / cover no-repeat;
}
/* 背景3：background03（background02直下・全体表示）
   +690px = 赤ちゃん写真エリア・申込ボタン・動画がpx下限を持つため、
   狭い画面幅で123vwに収まらない分の補正（ギャラリー・地図との重なりを防止） */
.poster-bg-extra {
  position: absolute;
  top: calc(123vw + 690px); left: 0; right: 0;
  /* +580px = ギャラリー分(400px)＋fan-nav用の余白(180px)。
     poster-bodyの下端まで写真を伸ばし、下地色(#0c7080)が帯状に見えるのを防ぐ */
  height: calc(110vw + 580px);
  background: url('../images/images_top/background03.JPG') center center / cover no-repeat;
}
.poster-bg-extra::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.45);
}

/* ギャラリー：background03エリアの中央に正方形グリッド */
.poster-gallery {
  position: absolute;
  top: calc(123vw + 690px);
  left: 0; right: 0;
  height: calc(110vw + 400px);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.poster-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: clamp(320px, 70vw, 900px);
}
.poster-gallery-item {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.poster-gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.poster-gallery-item:hover img { transform: scale(1.04); }
.poster-gallery-venue {
  display: block;
  position: relative;
  z-index: 3;
  width: 100%;
  align-self: stretch;
  height: auto;
  margin-top: clamp(24px, 4vw, 48px);
  margin-left: 0;
  margin-right: 0;
}

/* 会場案内ブロック */
.poster-venue-info {
  width: clamp(320px, 70vw, 900px);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(180,150,80,.3);
  border-radius: 8px;
  padding: clamp(16px, 3vw, 28px) clamp(20px, 4vw, 40px);
  margin-top: clamp(16px, 2.5vw, 28px);
}
.poster-venue-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.poster-venue-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pvi-icon {
  color: var(--crimson);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  min-width: 20px;
  padding-top: 2px;
}
.pvi-text {
  font-family: var(--font-serif);
  font-size: clamp(.78rem, 1.4vw, .92rem);
  color: #333;
  line-height: 1.65;
}
.poster-venue-map {
  position: relative;
  width: 100%;
  padding-bottom: 50%;
  height: 0;
  margin-top: clamp(16px, 2.5vw, 24px);
  border-radius: 6px;
  overflow: hidden;
}
.poster-venue-map iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.poster-bg-bottom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.45);
}

/* タイトルラップ */
.poster-title-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: calc(85vw * 280 / 1064 + 8px) 16px 24px; /* 幕の引き伸ばし後の高さ分下げる */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 第○回バッジ */
.poster-kaiji {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 700;
  background: rgba(50,20,90,.78);
  color: #fff;
  padding: 3px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: .1em;
}
.poster-kaiji strong { font-size: 1.2em; }

/* タイトル画像 */
.poster-title-img {
  margin: 0;
}
.poster-title-img img {
  width: auto;
  max-width: min(635px, 90%); /* 自然サイズを上限・画面が小さい場合は縮小 */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* タイトル本体（テキスト版・非使用） */
.poster-title {
  font-family: var(--font-serif);
  margin: 0;
  line-height: 1.05;
}
.pt-ruby {
  display: block;
  font-size: clamp(1.2rem, 5vw, 2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .14em;
  text-shadow: 1px 1px 0 rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.4);
}
.pt-line {
  display: block;
  font-size: clamp(3.2rem, 13vw, 7rem);
  font-weight: 900;
  color: #FFE200;
  -webkit-text-stroke: 3px #CC0000;
  text-shadow: 4px 4px 0 rgba(0,0,0,.25);
  letter-spacing: .04em;
}
.pt-aka {
  color: #FF2200;
  -webkit-text-stroke: 3px #fff;
}

/* 日付バナー（画像・poster-body直下で全幅） */
.poster-date-banner {
  display: block;
  position: relative;
  z-index: 3;
  width: 100%;
  height: auto;
  margin: 0;
}

/* 参加申込ボタン（日付バナー直下） */
.poster-apply-btn {
  position: relative;
  z-index: 1;
  margin: 24px 0 0;
}

/* YouTube動画（背景切り替わり部分） */
.poster-youtube {
  position: relative;
  z-index: 2;
  width: min(680px, 72vw);
  margin: 0 auto;
  padding: 40px 0;
}
.poster-youtube-inner {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0,0,0,.45);
}
.poster-youtube-inner iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* 赤ちゃん写真エリア */
.poster-babies {
  position: relative;
  z-index: 1;
  height: 34vw;
  min-height: 260px;
}

/* ラッパー（vwベースでレスポンシブ） */
.baby-wrap {
  position: absolute;
  width: 15vw;  height: 15vw;
  min-width: 100px; min-height: 100px;
}
/* 上段3枚：左・中央・右に均等配置 */
.baby-wrap--1 { top: 5%;  left:  2%; }
.baby-wrap--2 { top: 10%; left: 50%; transform: translateX(-50%); }
.baby-wrap--3 { top: 5%;  right: 2%; }
/* 下段2枚：上段の間に配置 */
.baby-wrap--4 { top: 45%; left: 22%; }
.baby-wrap--5 { top: 45%; right: 22%; }

/* 円形写真（白枠なし） */
.baby-ph {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 2px 3px 14px rgba(0,0,0,.4);
}
.baby-ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* どっこいなラベル */
.baby-label {
  position: absolute;
  width: 42%;
  height: auto;
  bottom: -5%;
  pointer-events: none;
  z-index: 1;
}
.baby-wrap--1 .baby-label,
.baby-wrap--4 .baby-label { left: -14%; }
.baby-wrap--2 .baby-label,
.baby-wrap--3 .baby-label,
.baby-wrap--5 .baby-label { right: -14%; }

/* レスポンシブ（スマホ） */
@media (max-width: 767px) {
  .poster-babies { height: 52vw; min-height: 200px; }
  .baby-wrap {
    width: 22vw; height: 22vw;
    min-width: 70px; min-height: 70px;
  }
  .baby-wrap--4 { left: 16%; }
  .baby-wrap--5 { right: 16%; }
  .baby-label { width: 44%; }
  .babies-stage { height: clamp(360px, 90vw, 540px); }
  .manyoshu-inner {
    max-width: 96vw;
    padding: 16px 20px;
  }
  .mc-poem { font-size: clamp(.9rem, 4vw, 1.2rem); padding-left: 14px; }
  .mc-kana { font-size: clamp(.46rem, 1.9vw, .62rem); padding: 0 9px; }
  .mc-translate { font-size: clamp(.54rem, 2vw, .7rem); padding: 0 11px; }
  .mc-author { font-size: clamp(.5rem, 1.8vw, .64rem); padding-left: 10px; }
}

/* ============ 赤ちゃん写真 ↔ 万葉集カード アニメーション ============ */
.babies-stage {
  position: relative;
  height: clamp(400px, 50vw, 620px);
  overflow: hidden;
}

/* アニメーションキーフレーム */
@keyframes babiesSlideIn {
  0%   { transform: translateY(60px); opacity: 0; }
  20%  { transform: translateY(0);    opacity: 1; }
  70%  { transform: translateY(0);    opacity: 1; }
  100% { transform: translateY(-20px); opacity: 0; }
}
@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 赤ちゃん写真：初期は非表示、スクロールでアニメーション開始 */
.poster-babies {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.babies-stage.is-active .poster-babies {
  animation: babiesSlideIn 5s ease forwards;
}

/* 万葉集カード：初期は非表示 */
.manyoshu-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}
.babies-stage.is-active .manyoshu-card {
  animation: cardFadeIn 1.2s ease 4.5s forwards;
  pointer-events: auto;
}

/* カードデザイン（縦書き・4列：右→左） */
.manyoshu-inner {
  background: #fff;
  border: 1px solid rgba(180,150,80,.35);
  border-radius: 10px;
  padding: 28px 40px;
  box-shadow: 0 6px 40px rgba(0,0,0,.22);
  font-family: var(--font-serif);
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0;
  max-width: min(820px, 92vw);
  overflow: hidden;
}
/* 全列共通：縦書き */
.manyoshu-inner > * {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
}
/* 列①右：本文（大） */
.mc-poem {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: #1a0a30;
  letter-spacing: .2em;
  line-height: 2.1;
  padding-left: 22px;
}
/* 列②：よみがな */
.mc-kana {
  font-size: clamp(.56rem, 1vw, .72rem);
  color: #888;
  letter-spacing: .03em;
  line-height: 1.8;
  border-right: 1px solid rgba(0,0,0,.13);
  border-left: 1px solid rgba(0,0,0,.13);
  padding: 0 13px;
}
/* 列③：現代語訳 */
.mc-translate {
  font-size: clamp(.68rem, 1.25vw, .85rem);
  color: #333;
  line-height: 2;
  padding: 0 18px;
  border-left: 1px solid rgba(0,0,0,.13);
}
.mc-label {
  font-size: .65rem;
  letter-spacing: .2em;
  color: #9a7a20;
  font-weight: 700;
  writing-mode: vertical-rl;
}
/* 列④左：作者・出典 */
.mc-author {
  font-size: clamp(.6rem, 1.1vw, .76rem);
  color: #666;
  line-height: 1.9;
  border-left: 1px solid rgba(0,0,0,.1);
  padding: 0 0 0 12px;
}
.mc-source { color: #999; }

/* CTAボタンエリア */
.poster-cta {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  margin-top: -16px;
}

/* YouTube動画（background02エリア） */
.poster-movie {
  position: relative;
  z-index: 3;
  width: clamp(320px, 82vw, 960px);
  margin: clamp(20px, 3vw, 36px) auto 0;
}
.poster-movie-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.35);
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,.8);
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background .2s;
}
.btn-outline-dark:hover { background: rgba(255,255,255,.15); }

/* ==================== PHOTO MEMORY ==================== */
.photo-lead {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.8;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 40px;
}
.photo-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.photo-item:hover img { transform: scale(1.06); }
.photo-ph {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  letter-spacing: .12em;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%);
}
.photo-ph i { font-size: 2.2rem; opacity: .4; }
.photo-item:nth-child(2) .photo-ph { background: linear-gradient(135deg, var(--crimson-dark), var(--crimson)); }
.photo-item:nth-child(3) .photo-ph { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: rgba(0,0,0,.5); }

/* ==================== HISTORY ==================== */
.history-intro {
  font-family: var(--font-serif);
  font-size: clamp(.93rem, 2vw, 1.05rem);
  line-height: 2.2;
  max-width: var(--content-max);
  margin: 0 auto var(--gap-md);
  text-align: center;
}
/* History stat card — design ④ */
.history-stat-card {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto var(--gap-md);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 240px;
  display: flex;
  align-items: stretch;
}

/* 写真風の背景レイヤー（右半分に暖色グラデ） */
.hsc-photo-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 52%,
      rgba(247,243,235,.85) 65%,
      rgba(201,162,39,.18) 80%,
      rgba(193,39,45,.12) 100%
    ),
    repeating-linear-gradient(
      135deg,
      transparent,
      transparent 18px,
      rgba(201,162,39,.04) 18px,
      rgba(201,162,39,.04) 36px
    );
}

/* 右端の和柄アクセント */
.hsc-photo-layer::after {
  content: '';
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48%;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(201,162,39,.22) 0%, transparent 65%),
    radial-gradient(ellipse at 100% 100%, rgba(193,39,45,.12) 0%, transparent 50%);
  clip-path: polygon(12% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hsc-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 5vw, 48px);
  width: 100%;
}

.hsc-number-wrap {
  flex-shrink: 0;
  text-align: center;
  min-width: clamp(100px, 20vw, 160px);
}

.big-number {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  color: var(--purple);
  line-height: 1;
  display: block;
}
.big-unit {
  font-family: var(--font-serif);
  font-size: clamp(.85rem, 2vw, 1.05rem);
  color: var(--crimson);
  display: block;
  margin-top: 8px;
  letter-spacing: .1em;
  font-weight: 600;
}
.history-note {
  font-size: clamp(.88rem, 2vw, 1rem);
  color: var(--gray);
  line-height: 2.1;
  border-left: 3px solid var(--gold);
  padding-left: clamp(16px, 3vw, 28px);
}

/* スマホでは縦並び */
@media (max-width: 560px) {
  .hsc-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .hsc-number-wrap {
    text-align: left;
  }
  .hsc-photo-layer::after {
    display: none;
  }
}

/* ==================== EVENT OVERVIEW ==================== */
.event-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}
.event-table tr { border-bottom: 1px solid var(--gray-border); }
.event-table tr:first-child { border-top: 1px solid var(--gray-border); }
.event-table th {
  width: 32%;
  padding: 20px 14px 20px 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: .9rem;
  color: var(--purple);
  font-weight: 700;
  vertical-align: top;
  white-space: nowrap;
}
.event-table th::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.event-table td { padding: 20px 0; font-size: .95rem; line-height: 2; color: var(--dark); }
.event-hl { font-family: var(--font-serif); font-size: 1.1rem; font-weight: 700; color: var(--crimson); }

/* Flow */
.event-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 32px auto 0;
}
.flow-step {
  display: flex;
  gap: 20px;
  position: relative;
}
.flow-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px; top: 40px;
  width: 2px;
  height: calc(100% - 20px);
  background: linear-gradient(180deg, var(--purple), rgba(75,46,131,.2));
}
.flow-num {
  width: 40px; height: 40px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.flow-body { padding-bottom: 28px; }
.flow-time  { font-size: .78rem; color: var(--gold-dark); font-weight: 700; letter-spacing: .08em; margin-bottom: 2px; }
.flow-title { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; color: var(--purple); margin-bottom: 4px; }
.flow-text  { font-size: .88rem; color: var(--gray); line-height: 1.85; }

/* ==================== NOTES / CONTACT ==================== */
.notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.notes-list li {
  position: relative;
  padding-left: 1.6em;
  font-size: .93rem;
  color: var(--gray);
  line-height: 1.9;
}
.notes-list li::before {
  content: '＊';
  position: absolute;
  left: 0;
  color: var(--gold-dark);
  font-weight: 700;
}
.contact-box {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 32px 36px;
}
.contact-box-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 10px;
}
.contact-box-org {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.contact-box-tel {
  font-size: 1rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-box-tel i { color: var(--gold-dark); }

/* ==================== GALLERY ==================== */

/* ギャラリー：個別パネル（縦並びフルワイド） */
.gallery-panels {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.gallery-panel {
  position: relative;
  width: 100%;
  height: clamp(220px, 38vw, 520px);
  overflow: hidden;
  border-radius: 4px;
}
.gallery-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.gallery-panel:hover img { transform: scale(1.03); }
.venue-caption {
  background: var(--crimson);
  text-align: center;
  padding: 14px 20px;
  border-radius: 4px;
}
.venue-caption span {
  font-family: var(--font-serif);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .12em;
}
@media (min-width: 768px) {
  .gallery-panel { height: clamp(300px, 45vw, 560px); }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(75,46,131,.55);
  opacity: 0;
  transition: opacity var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-ph {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  color: rgba(255,255,255,.6);
  letter-spacing: .1em;
}
.gallery-ph.c1 { background: linear-gradient(135deg, #6B4CA3, #4B2E83); }
.gallery-ph.c2 { background: linear-gradient(135deg, #9B1F24, #C1272D); }
.gallery-ph.c3 { background: linear-gradient(135deg, #A8851F, #C9A227); }
.gallery-ph.c4 { background: linear-gradient(135deg, #4B2E83, #C1272D); }
.gallery-ph.c5 { background: linear-gradient(135deg, #C1272D, #C9A227); }
.gallery-ph.c6 { background: linear-gradient(135deg, #C9A227, #4B2E83); }

/* 動画ラッパー */
.movie-wrap {
  max-width: var(--content-max);
  margin: 0 auto;
}
.movie-wrap .movie-note {
  text-align: center;
  font-size: .85rem;
  color: var(--gray-light);
  margin-top: var(--gap-sm);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
  background: var(--grad-purple);
  text-align: center;
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent, transparent 50px,
    rgba(201,162,39,.05) 50px, rgba(201,162,39,.05) 51px
  );
}
.cta-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  padding: 6px 22px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.55;
}
.cta-body {
  font-family: var(--font-serif);
  font-size: clamp(.88rem, 2vw, 1.05rem);
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
  line-height: 2.1;
}
.cta-deadline {
  display: inline-block;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(201,162,39,.4);
  border-radius: 8px;
  padding: 14px 32px;
  margin-bottom: 30px;
}
.cta-dl-label { font-size: .72rem; color: var(--gold); letter-spacing: .22em; display: block; margin-bottom: 4px; }
.cta-dl-date  { font-family: var(--font-serif); font-size: clamp(1.15rem, 3vw, 1.55rem); color: var(--white); font-weight: 700; }

/* ==================== STATS ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(12px, 2vw, 20px);
  max-width: var(--content-max);
  margin: var(--gap-lg) auto 0;
}
.stat-card {
  text-align: center;
  padding: 22px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(201,162,39,.22);
  border-radius: 8px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-unit { font-size: .85rem; color: var(--gold-light); }
.stat-unit-ja {
  display: block;
  font-family: var(--font-serif);
  font-size: .92rem;
  color: var(--gold-light);
  letter-spacing: .08em;
  margin-top: 4px;
}
.stat-label { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: 6px; letter-spacing: .04em; }

/* ==================== ACCESS ==================== */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.access-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.access-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-border);
}
.access-row:last-child { border-bottom: none; }
.access-icon {
  width: 38px; height: 38px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  flex-shrink: 0;
}
.access-label { font-size: .72rem; color: var(--gray-light); letter-spacing: .1em; margin-bottom: 4px; }
.access-value { font-family: var(--font-serif); font-size: .97rem; color: var(--dark); font-weight: 500; line-height: 1.75; }
.map-wrap {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #D4D0CC;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { text-align: center; line-height: 2; color: var(--gray); }
.map-placeholder i { font-size: 2rem; color: var(--purple); display: block; margin-bottom: 10px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--purple-darker);
  color: rgba(255,255,255,.78);
  padding: 60px 0 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--container-px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-logo .logo-main { font-size: 1rem; margin-bottom: 6px; }
.footer-desc { font-size: .83rem; line-height: 1.95; color: rgba(255,255,255,.55); margin-top: 10px; }
.footer-nav-head { font-family: var(--font-serif); font-size: .82rem; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.footer-nav-list { display: flex; flex-direction: column; gap: 9px; }
.footer-nav-list a { font-size: .82rem; color: rgba(255,255,255,.65); transition: var(--ease); }
.footer-nav-list a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom {
  padding: 22px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.38); letter-spacing: .05em; }

/* ==================== STICKY CTA ==================== */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--grad-purple);
  border-top: 2px solid rgba(201,162,39,.45);
  padding: 10px var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.sticky-cta-bar.is-visible { transform: translateY(0); }
.sticky-cta-text { font-family: var(--font-serif); font-size: clamp(.72rem, 2vw, .88rem); color: var(--white); line-height: 1.45; }
.sticky-cta-text strong { display: block; font-size: .7em; color: var(--gold); letter-spacing: .12em; }
.sticky-cta-bar .btn-cta { padding: 10px 22px; font-size: .85rem; flex-shrink: 0; }

/* ==================== PAGE HERO ==================== */
.page-hero {
  background: var(--grad-purple);
  padding: 96px var(--container-px) 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent, transparent 40px,
    rgba(201,162,39,.04) 40px, rgba(201,162,39,.04) 80px
  );
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .76rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 14px;
  position: relative;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 10px;
  position: relative;
}
.page-hero-sub { font-size: clamp(.82rem, 2vw, .97rem); color: rgba(255,255,255,.65); letter-spacing: .12em; position: relative; }

/* ==================== FAQ ==================== */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; width: 100%; }
.faq-item { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-sm); width: 100%; align-self: stretch; }
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  cursor: pointer;
  transition: background var(--ease);
  font-family: var(--font-serif);
  font-size: .97rem;
  font-weight: 600;
  color: var(--purple);
  width: 100%;
  text-align: left;
  background: none;
  border: none;
}
.faq-q:hover { background: var(--washi); }
.faq-qmark {
  width: 28px; height: 28px;
  background: var(--purple);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-arrow { margin-left: auto; color: var(--gray-light); transition: transform .3s ease; flex-shrink: 0; font-size: .78rem; }
.faq-item.is-open .faq-arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 22px 20px 64px; font-size: .93rem; color: var(--dark); line-height: 2; }
.faq-item.is-open .faq-a { max-height: 500px; }

/* ==================== APPLY LP ==================== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.benefit-card {
  background: var(--white);
  border-radius: 12px;
  padding: 26px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border-bottom: 4px solid var(--purple);
  transition: var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.benefit-icon { font-size: 2.2rem; margin-bottom: 14px; }
.benefit-title { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.benefit-text { font-size: .88rem; color: var(--gray); line-height: 1.9; }

.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}
.voice-card {
  background: var(--white);
  border-radius: 12px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.voice-card::before {
  content: '\201C';
  position: absolute;
  top: 12px; left: 18px;
  font-size: 4.5rem;
  color: var(--purple);
  opacity: .08;
  font-family: serif;
  line-height: 1;
}
.voice-text { font-family: var(--font-serif); font-size: .93rem; line-height: 2.1; color: var(--dark); margin-bottom: 14px; }
.voice-author {
  font-size: .78rem;
  color: var(--gray-light);
  text-align: right;
  border-top: 1px solid var(--gray-border);
  padding-top: 10px;
}

/* ==================== APPLY FORM ==================== */
.apply-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* Success / Error states */
.apply-form-success {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(32px, 8vw, 64px) clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.afs-icon {
  font-size: 3.5rem;
  color: #2d9a5e;
  margin-bottom: 16px;
}
.afs-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--purple);
  margin-bottom: 16px;
}
.afs-body {
  font-size: .95rem;
  color: var(--gray);
  line-height: 2;
}
.afs-body a { color: var(--purple); }

.apply-form-error {
  background: #fff5f5;
  border: 2px solid var(--crimson);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  color: var(--crimson);
  font-size: .9rem;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Form layout */
.apply-form {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(24px, 5vw, 48px);
  box-shadow: var(--shadow-lg);
}
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 32px;
}
.form-legend {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  padding: 0 0 12px;
  width: 100%;
  border-bottom: 2px solid var(--gray-border);
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 7px;
}
.form-required {
  display: inline-block;
  background: var(--crimson);
  color: var(--white);
  font-size: .6rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 700;
  letter-spacing: .04em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  border: 2px solid var(--gray-border);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(75,46,131,.12);
}
.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(193,39,45,.1);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%234B2E83' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .78rem; color: var(--gray-light); margin-top: 5px; line-height: 1.65; }

/* Postal code lookup */
.zip-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.zip-row .form-input {
  flex: 0 0 160px;
  min-width: 0;
}
.btn-zip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font-serif);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-zip:hover { background: #3a2266; }
.btn-zip:disabled { opacity: .6; cursor: not-allowed; }
.zip-status {
  font-size: .78rem;
  margin-top: 6px;
  min-height: 1.2em;
  line-height: 1.5;
}
.zip-status.ok   { color: #2d9a5e; }
.zip-status.err  { color: var(--crimson); }
.zip-status.busy { color: var(--gray); }

/* Privacy checkbox */
.form-agree-wrap {
  background: var(--washi);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 28px;
}
.form-agree-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex-shrink: 0;
  cursor: pointer;
}
.form-agree-text { font-size: .9rem; line-height: 1.7; color: var(--dark); }
.form-agree-link { color: var(--purple); text-decoration: underline; }

@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ==================== RESPONSIVE ==================== */
@media (min-width: 580px) {
  .values-grid   { grid-template-columns: repeat(3, 1fr); }
  .photo-grid    { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid   { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
  .nav-desktop { display: block; }
  .hamburger   { display: none; }
  .header-cta  { font-size: .82rem; }
  .photo-grid    { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(3, 1fr); }
  .access-grid   { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 2fr 1fr 1fr; }
  .news-item { flex-direction: row; align-items: center; gap: 20px; }
  .news-meta { flex-shrink: 0; }
  .hero-cta-wrap { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .voices-grid   { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(4, 1fr); }
}

/* ==================== FAN NAVIGATION ==================== */
.fan-nav {
  background: url('../images/images_top/icon_background.png') center center / 100% 100% no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: clamp(12px, 2vw, 18px) 0 clamp(14px, 2.5vw, 22px);
  overflow: hidden;
  position: relative;
  z-index: 3;
}
/* poster-body 内では background03 下端に絶対配置 */
.poster-body .fan-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}
/* apply-poster 内では poster-body と同じ絶対配置（bottom:0） */
.apply-poster .fan-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3;
}
.fan-nav-item {
  display: block;
  flex: 1;
  max-width: clamp(80px, 22vw, 180px);
  text-decoration: none;
  transition: transform .2s ease;
  line-height: 0;
}
.fan-nav-item:hover {
  transform: translateY(-6px);
}
.fan-nav-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
