@charset "UTF-8";

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
  /* Color Palette */
  --color-yellow: #FFED4A;
  --color-yellow-dark: #FDD835;
  --color-yellow-light: #FFF9C4;
  --color-blue: #90E0EF;
  --color-blue-dark: #00B4D8;
  --color-blue-light: #E0F7FA;
  --color-pink: #FF5A5F;
  --color-pink-hover: #FF3B42;
  --color-pink-light: #FFEAEA;
  --color-white: #FFFFFF;
  --color-hero-bg: #F4F5F7;
  --color-menu-bg: #FCF9ED;
  --color-bubble-bg: #FFFDEB;

  /* Text Colors */
  --color-text: #222222;
  --color-text-sub: #555555;
  --color-text-muted: #777777;

  /* Typography */
  --font-family-base: 'Noto Sans JP', 'Zen Maru Gothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  --font-family-rounded: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-button: 0 6px 16px rgba(0, 0, 0, 0.12);
  --shadow-button-hover: 0 10px 24px rgba(0, 0, 0, 0.18);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-text);
  line-height: 1.75;
  background-color: var(--color-white);
  overflow-x: hidden;
  word-wrap: break-word;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container（1150pxカードが綺麗に収まるよう1200pxに拡張） */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Yellow Grid Pattern Background */
.yellow-grid-bg {
  background-color: var(--color-yellow);
  background-image: url('../img/グリッド線_透過.png');
  background-repeat: repeat;
  background-size: 70px 70px;
}

/* ==========================================================================
   丸バッジ付きセクション見出し（青と白が交互 ＆ 少し重なる形）
   ========================================================================== */
.badge-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

.badge-letters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  /* 重なりを作るためgapゼロ */
}

.badge-char {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-rounded);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-text);
  margin: 0 -8px;
  /* 円同士を少し重ねる */
  position: relative;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
  transition: transform var(--transition-fast), z-index var(--transition-fast);
}

/* 重なり順の設定 */
.badge-char:nth-child(1) {
  z-index: 1;
}

.badge-char:nth-child(2) {
  z-index: 2;
}

.badge-char:nth-child(3) {
  z-index: 3;
}

.badge-char:nth-child(4) {
  z-index: 4;
}

.badge-char:nth-child(5) {
  z-index: 5;
}

.badge-char:nth-child(6) {
  z-index: 6;
}

.badge-char:nth-child(7) {
  z-index: 7;
}

.badge-char:nth-child(8) {
  z-index: 8;
}

/* 奇数番目：青（水色） */
.badge-char:nth-child(odd) {
  background-color: var(--color-blue);
}

/* 偶数番目：白 */
.badge-char:nth-child(even) {
  background-color: var(--color-white);
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.badge-char:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 10;
}

.badge-section-sub {
  font-family: var(--font-family-rounded);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   ヘッダー：メニューを開くボタン（常に右上に固定、吹き出し色 #FFFDEB）
   ========================================================================== */
.site-header-nav {
  position: fixed;
  /* 常に右上に固定表示 */
  top: 20px;
  right: 24px;
  z-index: 100;
}

.btn-open-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  transition: transform var(--transition-fast);
  cursor: pointer;
}

.btn-open-menu:hover {
  transform: scale(1.06);
}

/* 吹き出しバッジ（背景色 #FFFDEB） */
.open-badge-bubble {
  background-color: var(--color-bubble-bg);
  color: var(--color-pink);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-family-rounded);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid #FFE082;
  position: relative;
}

/* 吹き出しのしっぽ（色 #FFFDEB、右向き） */
.open-badge-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-bubble-bg);
}

/* クレヨン男の子丸アイコン */
.open-icon-circle {
  width: 58px;
  height: 58px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 2px solid #FFE082;
}

.open-menu-char {
  width: 44px;
  height: auto;
  object-fit: contain;
}

/* ==========================================================================
   メニューモーダル / ドロワー（「メニューイメージ.png」完全再現）
   ========================================================================== */
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  visibility: hidden;
  opacity: 0;
  transition: visibility var(--transition-normal), opacity var(--transition-normal);
}

.menu-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.menu-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.menu-content-card {
  position: relative;
  width: 480px;
  max-width: 92vw;
  min-height: 580px;
  background-color: var(--color-menu-bg);
  border-radius: 0 0 0 140px;
  box-shadow: -10px 10px 40px rgba(0, 0, 0, 0.25);
  padding: 40px 36px 40px 48px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 2;
}

.menu-modal.is-open .menu-content-card {
  transform: translateX(0);
}

/* メニュー上部バー */
.menu-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 36px;
}

.menu-title-wrap {
  display: flex;
  flex-direction: column;
}

/* メニュータイトルリンク（保育発表会 特設サイト → トップへ） */
.menu-title-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: opacity var(--transition-fast);
}

.menu-title-link:hover {
  opacity: 0.8;
}

.menu-main-title {
  font-family: var(--font-family-rounded);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-pink);
  letter-spacing: 0.05em;
  line-height: 1.05;
  /* 行間を狭める */
}

.menu-sub-title {
  font-family: var(--font-family-rounded);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-pink);
  letter-spacing: 0.08em;
  margin-top: 2px;
  /* 行間を狭める */
  line-height: 1.1;
}

/* メニューをとじるボタン */
.btn-close-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  transition: transform var(--transition-fast);
  top: -20px;
}

.btn-close-menu:hover {
  transform: scale(1.05);
}

.close-badge-bubble {
  background-color: var(--color-pink);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-family-rounded);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 90, 95, 0.35);
  position: relative;
}

.close-badge-bubble::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-pink);
}

.close-icon-circle {
  width: 58px;
  height: 58px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 2px solid #FFF3E0;
}

.close-menu-char {
  width: 44px;
  height: auto;
}

/* メニュー本体グリッド（ナビ ＆ 右側丸アイコン） */
.menu-body-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 5;
}

.menu-nav-list-wrap {
  flex: 1;
}

.menu-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-nav-item {
  font-family: var(--font-family-rounded);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-pink);
  letter-spacing: 0.05em;
  display: inline-block;
  position: relative;
  transition: transform var(--transition-fast), color var(--transition-fast);
  /* 各項目に下線を追加 */
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 90, 95, 0.5);
}

.menu-nav-item:hover {
  transform: translateX(8px);
  color: var(--color-pink-hover);
  text-decoration-color: var(--color-pink-hover);
}

/* 右側SNS・ホームアイコン群 */
.menu-side-icons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  margin-left: 20px;
}

.menu-circle-btn {
  width: 46px;
  height: 46px;
  background-color: var(--color-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 90, 95, 0.3);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.menu-circle-btn:hover {
  transform: scale(1.12);
  background-color: var(--color-pink-hover);
}

/* Instagramアイコン：ホバーで吹き出し「活動の様子はインスタからチェック！」 */
.menu-insta-btn {
  position: relative;
}

.menu-sns-bubble {
  position: absolute;
  top: 50%;
  right: calc(100% + 16px);
  transform: translate(10px, -50%);
  padding: 10px 16px;
  background-color: #fff;
  border: 2px solid var(--color-pink);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(255, 90, 95, 0.25);
  color: var(--color-pink);
  font-family: var(--font-family-rounded);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

/* 吹き出しのしっぽ（アイコン側を指す） */
.menu-sns-bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-top: 2px solid var(--color-pink);
  border-right: 2px solid var(--color-pink);
  transform: translateY(-50%) rotate(45deg);
}

.menu-insta-btn:hover .menu-sns-bubble,
.menu-insta-btn:focus-visible .menu-sns-bubble {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

/* ホバーできないスマホ・タブレットでは、メニューを開いた時に数秒だけ表示して自動で消す
   （常時表示だとメニュー項目の文字に重なるため） */
@media (hover: none) {
  #menuModal.is-open .menu-sns-bubble {
    animation: menuBubbleShowHide 4s ease 0.6s forwards;
  }
}

@keyframes menuBubbleShowHide {
  0% {
    opacity: 0;
    visibility: visible;
    transform: translate(10px, -50%);
  }

  10% {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
  }

  85% {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
  }

  100% {
    opacity: 0;
    visibility: hidden;
    transform: translate(10px, -50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-sns-bubble {
    animation: none !important;
  }
}

.menu-icon-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.menu-icon-img.invert-white {
  filter: brightness(0) invert(1);
}

/* メニュー内ホームボタン用学校ロゴアイコン（ピンクBG内に透過画像） */
.menu-school-icon {
  width: 50px;
  height: 50px;
}

/* メニュー内 LINEアイコン */
.menu-line-icon {
  width: 32px;
  height: 32px;
}

/* 右下ナビゲーター女性画像 */
.menu-navigator-wrap {
  position: absolute;
  right: 50px;
  bottom: -20px;
  width: 270px;
  pointer-events: none;
  z-index: 4;
}

.menu-navigator-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

/* ==========================================================================
   ① ファーストビュー（FV / メインビジュアル）
   ========================================================================== */
/* ヘッダー全体の高さ・位置調整 */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  /* 画面の高さいっぱいに広げる */
  min-height: 600px;
  overflow: hidden;
  z-index: 1;
}

/* コンテンツ全体を画面中央に配置するラッパー */
.hero-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 上下左右ピッタリ中央に固定 */
  width: 100%;
  max-width: 1200px;
  /* 元のデザインに合わせた最大幅 */
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 2;
}

/* ひょっこり男の子キャラクター */
.hero-peek-wrapper {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 120px;
  pointer-events: none;
  animation: heroFloat 3.5s ease-in-out infinite alternate;
}

.hero-peek-img {
  width: 100%;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.12));
}

@keyframes heroFloat {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  100% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* メイン白円形カード（背景映像が見えるよう440pxに最適化） */
.hero-circle-card {
  position: relative;
  /* ← absoluteになっていたら relative にしてください */
  margin: 0 auto;
  /* ★追加★：カードをコンテナ内で左右中央に配置する */
  width: 440px;
  height: 440px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 28px 24px;
  z-index: 5;
}

.hero-school-name {
  font-family: var(--font-family-rounded);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.06em;
  margin-top: 18px;
  margin-bottom: 6px;
}

.hero-main-title {
  font-family: var(--font-family-rounded);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}

.hero-title-line {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.15;
  letter-spacing: 0.04em;
}

.hero-title-sub {
  font-size: 2.0rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.hero-date-venue {
  margin-bottom: 18px;
}

.hero-datetime {
  /* font-family: var(--font-family-rounded); */
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero-venue {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2px;
}

/* FV CTA ボタン */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-rounded);
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--color-text);
  background-color: var(--color-yellow);
  padding: 10px 30px;
  border-radius: 9999px;
  box-shadow: var(--shadow-button);
  transition: all var(--transition-normal);
  letter-spacing: 0.05em;
}

.cta-arrow-circle {
  width: 18px;
  height: 18px;
  background-color: var(--color-text);
  color: var(--color-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 2px;
  transition: transform var(--transition-fast);
}

.btn-hero-cta:hover {
  background-color: #FFE600;
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-button-hover);
}

.btn-hero-cta:hover .cta-arrow-circle {
  transform: translateX(3px);
}

.btn-hero-cta:active {
  transform: translateY(1px) scale(0.98);
}

/* ピンク円形バッジ */
.hero-badge {
  position: absolute;
  background-color: var(--color-pink);
  border-radius: 50%;
  color: var(--color-white);
  box-shadow: 0 10px 24px rgba(255, 90, 95, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 6;
  transition: transform var(--transition-bounce);
}

.hero-badge:hover {
  transform: scale(1.06);
}

.badge-left {
  width: 135px;
  height: 135px;
  top: 10px;
  left: 325px;
  animation: badgeFloatLeft 4s ease-in-out infinite alternate;
}

.badge-left .badge-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.badge-text-big {
  font-family: var(--font-family-rounded);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.badge-right {
  width: 200px;
  height: 200px;
  bottom: 0px;
  right: 250px;
  padding: 8px 10px;
  /* ← 16px から左右の余白を狭める */
  font-size: 0.84rem;
  /* ← 追記：文字サイズをわずかに調整 */
  line-height: 1.45;
  /* ← 追記：行間を少し詰める */
  letter-spacing: 0.01em;
  /* ← 追記：字間を詰める */
  animation: badgeFloatRight 4.5s ease-in-out infinite alternate;
}

.badge-desc {
  font-family: var(--font-family-rounded);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* 背景画像全体の設定 */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

@keyframes badgeFloatLeft {
  0% {
    transform: translateY(0) rotate(-3deg);
  }

  100% {
    transform: translateY(-8px) rotate(2deg);
  }
}

@keyframes badgeFloatRight {
  0% {
    transform: translateY(0) rotate(2deg);
  }

  100% {
    transform: translateY(-10px) rotate(-2deg);
  }
}

/* ==========================================================================
   FV右下：YouTubeで去年の様子を見るボタン
   ========================================================================== */
.hero-youtube-wrap {
  position: absolute;
  right: max(24px, calc((100vw - 1500px) / 2 + 20px));
  bottom: 28px;
  z-index: 20;
}

.hero-youtube-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-yellow-light);
  color: var(--color-text);
  padding: 14px 24px 14px 20px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  font-family: var(--font-family-rounded);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast), border-color var(--transition-fast);

  /* ★ */
  background: linear-gradient(45deg, #FFF9C4 0%, #FFED4A 45%, #FFF9C4 70%, #FFED4A 85%, #FFF9C4 90% 100%);
  background-size: 800% 400%;
  animation: gradient 5s infinite cubic-bezier(.62, .28, .23, .99) both;
}
/* ★ */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-youtube-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.hero-youtube-icon svg {
  display: block;
}

.hero-youtube-text {
  white-space: nowrap;
  line-height: 1;
  padding-bottom: 1px;
}

.hero-youtube-arrow-circle {
  width: 20px;
  height: 20px;
  background-color: #000000;
  color: var(--color-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 2px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.hero-youtube-arrow-circle svg {
  display: block;
}

/* ホバー・アクティブ時のインタラクション */
.hero-youtube-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22), 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--color-yellow);
}

.hero-youtube-btn:hover .hero-youtube-icon {
  transform: scale(1.1);
}

.hero-youtube-btn:hover .hero-youtube-arrow-circle {
  transform: translateX(3px);
  background-color: #000000;
}

.hero-youtube-btn:active {
  transform: translateY(-1px) scale(0.99);
}

/* タブレット (<= 992px) */
@media (max-width: 992px) {
  .hero-youtube-wrap {
    right: 20px;
    bottom: 20px;
  }
}

/* スマホ (<= 768px) */
@media (max-width: 768px) {
  .hero-youtube-wrap {
    right: 14px;
    bottom: 14px;
    z-index: 20;
  }

  .hero-youtube-btn {
    padding: 8px 14px 8px 10px;
    font-size: 0.8rem;
    gap: 7px;
  }

  .hero-youtube-icon svg {
    width: 20px;
    height: 14px;
  }

  .hero-youtube-arrow-circle {
    width: 17px;
    height: 17px;
  }

  .hero-youtube-arrow-circle svg {
    width: 8px;
    height: 8px;
  }

  .menu-navigator-wrap {
    right: 25px;
    width: 240px;
  }
}

/* 超極小画面 (<= 380px) */
@media (max-width: 380px) {
  .hero-youtube-wrap {
    right: 8px;
    bottom: 10px;
  }

  .hero-youtube-btn {
    padding: 6px 10px 6px 8px;
    font-size: 0.72rem;
    gap: 5px;
  }
}


/* ==========================================
   スマホ版（画面幅 768px 以下）の背景画像調整
   ========================================== */
@media (max-width: 768px) {

  /* 背景画像・動画エリアの高さと位置をスマホ画面に最適化 */
  .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }

  .hero-bg-img,
  .hero-bg-video,
  .hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* スマホの画面縦横比に合わせて自動切り抜き */
    object-position: center;
    /* 画像・動画の中心を中心に配置 */
  }
}

/* ==========================================================================
   ② 学校・発表会紹介（About セクション）
   ========================================================================== */
.about-section {
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  position: relative;
}

.about-card-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
}

.about-card {
  background-color: var(--color-white);
  border-radius: 36px;
  padding: 48px 36px 42px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.about-card-title {
  font-family: var(--font-family-rounded);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--color-text);
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.about-card-text {
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 2;
  color: var(--color-text);
  letter-spacing: 0.02em;
  flex-grow: 1;
}

.about-card-btn-wrap {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.btn-about-hp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-yellow);
  font-family: var(--font-family-rounded);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 10px 24px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-fast);
}

.btn-about-hp:hover {
  background-color: #FFE600;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.about-arrow-circle {
  width: 18px;
  height: 18px;
  background-color: var(--color-text);
  color: var(--color-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* 左カードの男の子イラスト（比率最適化：135px） */
.about-char-left {
  position: absolute;
  left: -50px;
  bottom: -35px;
  width: 100px;
  z-index: 3;
  pointer-events: none;
  animation: charBounce 4s ease-in-out infinite alternate;
}

/* 右カードの先生＆男の子イラスト（比率最適化：155px） */
.about-char-right {
  position: absolute;
  right: -55px;
  bottom: -35px;
  width: 155px;
  z-index: 3;
  pointer-events: none;
  animation: charBounce 3.8s ease-in-out infinite alternate-reverse;
}

@keyframes charBounce {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   紙吹雪・コンフェッティ装飾（Confetti Decorations）
   画像1枚目を忠実に再現したカラフル＆多彩な形状のパーティクル
   ========================================================================== */
.section-confetti-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.confetti {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  opacity: 0.88;
  transform: scale(1.3);
}

/* 形状：丸 */
.confetti.c-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.confetti.c-circle.c-sz-lg {
  width: 34px;
  height: 34px;
}

.confetti.c-circle.c-sz-sm {
  width: 15px;
  height: 15px;
}

/* 形状：正方形 */
.confetti.c-square {
  width: 25px;
  height: 25px;
  border-radius: 4px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.confetti.c-square.c-sz-lg {
  width: 36px;
  height: 36px;
  border-radius: 5px;
}

.confetti.c-square.c-sz-sm {
  width: 17px;
  height: 17px;
}

/* 形状：バー・スティック */
.confetti.c-bar {
  width: 10px;
  height: 48px;
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}

.confetti.c-bar.c-sz-lg {
  width: 13px;
  height: 64px;
  border-radius: 6px;
}

.confetti.c-bar.c-sz-sm {
  width: 7px;
  height: 32px;
  border-radius: 3px;
}

/* 形状：星 */
.confetti.c-star {
  width: 34px;
  height: 34px;
  background-color: transparent !important;
}

.confetti.c-star.c-sz-lg {
  width: 46px;
  height: 46px;
}

.confetti.c-star.c-sz-sm {
  width: 24px;
  height: 24px;
}

.confetti.c-star svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

/* 形状：三角形（直角・三角旗） */
.confetti.c-triangle {
  width: 34px;
  height: 34px;
  background-color: transparent !important;
}

.confetti.c-triangle.c-sz-lg {
  width: 48px;
  height: 44px;
}

.confetti.c-triangle.c-sz-sm {
  width: 24px;
  height: 24px;
}

.confetti.c-triangle svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

/* 形状：コーン・楔（細長い二等辺三角） */
.confetti.c-wedge {
  width: 20px;
  height: 56px;
  background-color: transparent !important;
}

.confetti.c-wedge.c-sz-lg {
  width: 26px;
  height: 72px;
}

.confetti.c-wedge.c-sz-sm {
  width: 14px;
  height: 38px;
}

.confetti.c-wedge svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.12));
}

/* 形状：ジグザグ線（蛇腹） */
.confetti.c-zigzag {
  width: 22px;
  height: 62px;
  background-color: transparent !important;
}

.confetti.c-zigzag.c-sz-lg {
  width: 28px;
  height: 78px;
}

.confetti.c-zigzag.c-sz-sm {
  width: 16px;
  height: 44px;
}

.confetti.c-zigzag svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 形状：波線（なめらかウェーブ） */
.confetti.c-wave {
  width: 24px;
  height: 60px;
  background-color: transparent !important;
}

.confetti.c-wave.c-sz-lg {
  width: 30px;
  height: 76px;
}

.confetti.c-wave.c-sz-sm {
  width: 16px;
  height: 42px;
}

.confetti.c-wave svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
}

/* 7色以上のビビッドカラーバリエーション（画像1枚目準拠） */
.c-color-pink {
  background-color: #E81E76;
  color: #E81E76;
}

.c-color-orange {
  background-color: #FF7A00;
  color: #FF7A00;
}

.c-color-yellow {
  background-color: #FFD100;
  color: #FFD100;
}

.c-color-lime {
  background-color: #76C800;
  color: #76C800;
}

.c-color-cyan {
  background-color: #00C2CB;
  color: #00C2CB;
}

.c-color-blue {
  background-color: #0070F3;
  color: #0070F3;
}

.c-color-purple {
  background-color: #9D4EDD;
  color: #9D4EDD;
}

/* --------------------------------------------------------------------------
   学校道具イラスト版コンフェッティ（ランドセル・鉛筆・クレヨン・消しゴム・分度器・定規）
   ※ 配置・アニメーションは既存の .c-ab-1 などをそのまま利用
   -------------------------------------------------------------------------- */
.confetti.c-item {
  --sz: 80px;
  width: var(--sz);
  height: var(--sz);
  opacity: 1;
}

.confetti.c-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.12));
}

.confetti.c-item.is-randoseru {
  --sz: 128px;
}

.confetti.c-item.is-protractor {
  --sz: 124px;
}

.confetti.c-item.is-ruler {
  --sz: 116px;
}

.confetti.c-item.is-pencil {
  --sz: 118px;
}

.confetti.c-item.is-crayon {
  --sz: 110px;
}

.confetti.c-item.is-eraser {
  --sz: 106px;
}

@media (max-width: 768px) {
  .confetti.c-item.is-randoseru {
    --sz: 80px;
  }

  .confetti.c-item.is-protractor {
    --sz: 76px;
  }

  .confetti.c-item.is-ruler,
  .confetti.c-item.is-pencil {
    --sz: 72px;
  }

  .confetti.c-item.is-crayon,
  .confetti.c-item.is-eraser {
    --sz: 68px;
  }
}

/* 紙吹雪のフロート・微揺れアニメーション */
@keyframes confettiSwayLeft {
  0% {
    transform: translate(0, 0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translate(-10px, -12px) rotate(calc(var(--rot, 0deg) + 14deg));
  }

  100% {
    transform: translate(6px, -4px) rotate(calc(var(--rot, 0deg) - 10deg));
  }
}

@keyframes confettiSwayRight {
  0% {
    transform: translate(0, 0) rotate(var(--rot, 0deg));
  }

  50% {
    transform: translate(12px, -15px) rotate(calc(var(--rot, 0deg) - 16deg));
  }

  100% {
    transform: translate(-6px, -5px) rotate(calc(var(--rot, 0deg) + 12deg));
  }
}

@keyframes confettiSpinFloat {
  0% {
    transform: translateY(0) rotate(var(--rot, 0deg)) scale(1);
  }

  50% {
    transform: translateY(-14px) rotate(calc(var(--rot, 0deg) + 35deg)) scale(1.08);
  }

  100% {
    transform: translateY(-3px) rotate(calc(var(--rot, 0deg) + 70deg)) scale(1);
  }
}

/* --------------------------------------------------------------------------
   ① Aboutセクション（横位置をランダムに分散）
   -------------------------------------------------------------------------- */
.c-ab-1 {
  top: 5%;
  left: 1.5%;
  --rot: 20deg;
  transform: rotate(20deg);
  animation: confettiSwayLeft 5.5s ease-in-out infinite alternate;
}

.c-ab-2 {
  top: 8%;
  right: 7%;
  --rot: -20deg;
  transform: rotate(-20deg);
  animation: confettiSwayRight 5.0s ease-in-out infinite alternate -1s;
}

.c-ab-3 {
  top: 28%;
  left: 8.5%;
  --rot: 15deg;
  transform: rotate(15deg);
  animation: confettiSpinFloat 5.8s ease-in-out infinite alternate;
}

.c-ab-4 {
  top: 34%;
  right: 2%;
  --rot: -28deg;
  transform: rotate(-28deg);
  animation: confettiSwayLeft 5.2s ease-in-out infinite alternate -1.5s;
}

.c-ab-5 {
  top: 56%;
  left: 2%;
  --rot: -18deg;
  transform: rotate(-18deg);
  animation: confettiSwayRight 5.6s ease-in-out infinite alternate -2s;
}

.c-ab-6 {
  top: 62%;
  right: 9%;
  --rot: 32deg;
  transform: rotate(32deg);
  animation: confettiSpinFloat 5.4s ease-in-out infinite alternate;
}

.c-ab-7 {
  top: 84%;
  left: 7%;
  --rot: 12deg;
  transform: rotate(12deg);
  animation: confettiSwayLeft 6.0s ease-in-out infinite alternate -1s;
}

.c-ab-8 {
  top: 88%;
  right: 3%;
  --rot: -15deg;
  transform: rotate(-15deg);
  animation: confettiSpinFloat 5.2s ease-in-out infinite alternate -2.5s;
}

/* --------------------------------------------------------------------------
   ② Themeセクション
   -------------------------------------------------------------------------- */
.c-th-1 {
  top: 4%;
  left: 12%;
  --rot: 18deg;
  transform: rotate(18deg);
  animation: confettiSwayLeft 5.2s ease-in-out infinite alternate;
}

.c-th-2 {
  top: 7%;
  right: 10%;
  --rot: -24deg;
  transform: rotate(-24deg);
  animation: confettiSpinFloat 5.5s ease-in-out infinite alternate;
}

.c-th-3 {
  top: 24%;
  left: 8%;
  --rot: 30deg;
  transform: rotate(30deg);
  animation: confettiSpinFloat 6.0s ease-in-out infinite alternate -2s;
}

.c-th-4 {
  top: 28%;
  right: 14%;
  --rot: -15deg;
  transform: rotate(-15deg);
  animation: confettiSwayLeft 5.3s ease-in-out infinite alternate -0.5s;
}

.c-th-5 {
  top: 50%;
  left: 15%;
  --rot: -22deg;
  transform: rotate(-22deg);
  animation: confettiSwayRight 4.8s ease-in-out infinite alternate -1.5s;
}

.c-th-6 {
  top: 55%;
  right: 8%;
  --rot: 26deg;
  transform: rotate(26deg);
  animation: confettiSpinFloat 5.6s ease-in-out infinite alternate;
}

.c-th-7 {
  top: 80%;
  left: 10%;
  --rot: 40deg;
  transform: rotate(40deg);
  animation: confettiSwayRight 5.4s ease-in-out infinite alternate -2s;
}

.c-th-8 {
  top: 86%;
  right: 12%;
  --rot: -32deg;
  transform: rotate(-32deg);
  animation: confettiSwayLeft 5.0s ease-in-out infinite alternate -1s;
}

/* --------------------------------------------------------------------------
   ③ Dateセクション
   -------------------------------------------------------------------------- */
.c-dt-1 {
  top: 5%;
  left: 2%;
  --rot: 22deg;
  transform: rotate(22deg);
  animation: confettiSwayLeft 5.4s ease-in-out infinite alternate;
}

.c-dt-2 {
  top: 8%;
  right: 8%;
  --rot: -20deg;
  transform: rotate(-20deg);
  animation: confettiSpinFloat 5.8s ease-in-out infinite alternate -1.5s;
}

.c-dt-3 {
  top: 33%;
  left: 7.5%;
  --rot: -16deg;
  transform: rotate(-16deg);
  animation: confettiSwayRight 5.2s ease-in-out infinite alternate;
}

.c-dt-4 {
  top: 36%;
  right: 1.5%;
  --rot: 28deg;
  transform: rotate(28deg);
  animation: confettiSpinFloat 5.6s ease-in-out infinite alternate -2s;
}

.c-dt-5 {
  top: 62%;
  left: 1%;
  --rot: 35deg;
  transform: rotate(35deg);
  animation: confettiSwayLeft 5.0s ease-in-out infinite alternate -1s;
}

.c-dt-6 {
  top: 68%;
  right: 7.5%;
  --rot: -25deg;
  transform: rotate(-25deg);
  animation: confettiSwayRight 5.5s ease-in-out infinite alternate;
}

.c-dt-7 {
  top: 85%;
  left: 8.5%;
  --rot: -28deg;
  transform: rotate(-28deg);
  animation: confettiSpinFloat 5.3s ease-in-out infinite alternate -2.5s;
}

.c-dt-8 {
  top: 88%;
  right: 2.5%;
  --rot: 22deg;
  transform: rotate(22deg);
  animation: confettiSwayRight 5.7s ease-in-out infinite alternate -1s;
}


/* --------------------------------------------------------------------------
   ④ Accessセクション
   -------------------------------------------------------------------------- */
.c-ac-1 {
  top: 4%;
  left: 7.5%;
  --rot: 18deg;
  transform: rotate(18deg);
  animation: confettiSwayLeft 5.3s ease-in-out infinite alternate;
}

.c-ac-2 {
  top: 8%;
  right: 2%;
  --rot: -22deg;
  transform: rotate(-22deg);
  animation: confettiSpinFloat 5.9s ease-in-out infinite alternate -1s;
}

.c-ac-3 {
  top: 32%;
  left: 1.5%;
  --rot: 32deg;
  transform: rotate(32deg);
  animation: confettiSpinFloat 5.5s ease-in-out infinite alternate;
}

.c-ac-4 {
  top: 37%;
  right: 8.5%;
  --rot: -25deg;
  transform: rotate(-25deg);
  animation: confettiSwayRight 5.1s ease-in-out infinite alternate -1.5s;
}

.c-ac-5 {
  top: 63%;
  left: 8%;
  --rot: -18deg;
  transform: rotate(-18deg);
  animation: confettiSwayLeft 4.9s ease-in-out infinite alternate -2s;
}

.c-ac-6 {
  top: 67%;
  right: 1.5%;
  --rot: 24deg;
  transform: rotate(24deg);
  animation: confettiSpinFloat 5.7s ease-in-out infinite alternate;
}

.c-ac-7 {
  top: 85%;
  left: 2%;
  --rot: 14deg;
  transform: rotate(14deg);
  animation: confettiSwayRight 5.3s ease-in-out infinite alternate -1s;
}

.c-ac-8 {
  top: 88%;
  right: 7%;
  --rot: -30deg;
  transform: rotate(-30deg);
  animation: confettiSpinFloat 5.0s ease-in-out infinite alternate -2s;
}

/* --------------------------------------------------------------------------
   ⑤ Registerセクション
   -------------------------------------------------------------------------- */
.c-rg-1 {
  top: 5%;
  left: 2%;
  --rot: 24deg;
  transform: rotate(24deg);
  animation: confettiSwayLeft 5.5s ease-in-out infinite alternate;
}

.c-rg-2 {
  top: 8%;
  right: 8.5%;
  --rot: -20deg;
  transform: rotate(-20deg);
  animation: confettiSwayRight 5.2s ease-in-out infinite alternate -1s;
}

.c-rg-3 {
  top: 36%;
  left: 8%;
  --rot: -26deg;
  transform: rotate(-26deg);
  animation: confettiSpinFloat 5.7s ease-in-out infinite alternate;
}

.c-rg-4 {
  top: 42%;
  right: 1.5%;
  --rot: 20deg;
  transform: rotate(20deg);
  animation: confettiSwayLeft 5.0s ease-in-out infinite alternate -1.5s;
}

.c-rg-5 {
  top: 63%;
  left: 1.5%;
  --rot: 38deg;
  transform: rotate(38deg);
  animation: confettiSwayRight 5.4s ease-in-out infinite alternate -2s;
}

.c-rg-6 {
  top: 66%;
  right: 7.5%;
  --rot: -32deg;
  transform: rotate(-32deg);
  animation: confettiSpinFloat 5.8s ease-in-out infinite alternate;
}

.c-rg-7 {
  top: 86%;
  left: 7%;
  --rot: -18deg;
  transform: rotate(-18deg);
  animation: confettiSwayRight 5.6s ease-in-out infinite alternate -1s;
}

.c-rg-8 {
  top: 88%;
  right: 2%;
  --rot: 22deg;
  transform: rotate(22deg);
  animation: confettiSpinFloat 4.8s ease-in-out infinite alternate -2s;
}

/* ==========================================================================
   ③ テーマ & 込めた思い（Theme セクション）
   ========================================================================== */
.theme-section {
  position: relative;
  background-color: var(--color-blue);
  padding: 85px 0 0;
  text-align: center;
  overflow: hidden;
}

.theme-arch-bg {
  position: relative;
  width: 100%;
}

.theme-header {
  margin-bottom: 50px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.theme-header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.theme-rainbow-wrapper {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 6px;
  display: flex;
  justify-content: center;
}

.theme-rainbow-img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-rainbow-img:hover {
  transform: scale(1.08) translateY(-4px);
}

.theme-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.theme-decor-side {
  flex: 0 1 270px;
  max-width: 280px;
  min-width: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.theme-center-block {
  flex: 0 1 auto;
  z-index: 2;
}

.theme-illust-card {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-illust-card:hover {
  transform: scale(1.1) translateY(-6px);
}

.theme-decor-img {
  width: 100%;
  max-width: 270px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
  user-select: none;
}

/* 虹のふわふわ浮遊アニメーション */
.rainbow-float-anim {
  animation: rainbowFloat 4.2s ease-in-out infinite alternate;
}

@keyframes rainbowFloat {
  0% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg) scale(1.03);
  }

  100% {
    transform: translateY(-4px) rotate(-1deg);
  }
}

/* ランドセルたちのてくてく歩行アニメーション */
.randoseru-walk-anim {
  animation: randoseruWalk 3.6s ease-in-out infinite alternate;
}

@keyframes randoseruWalk {
  0% {
    transform: translateY(0) rotate(1deg);
  }

  50% {
    transform: translateY(-12px) rotate(-3deg) scale(1.03);
  }

  100% {
    transform: translateY(-3px) rotate(2deg);
  }
}

.theme-catch {
  font-family: var(--font-family-rounded);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

/* 七色ポップタイトル */
.theme-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.theme-title {
  font-family: var(--font-family-rounded);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  -webkit-text-stroke: 8px #FFFFFF;
  /* 白枠の太さを指定 */
  paint-order: stroke fill;
  /* 縁取りが文字の内側を潰さない設定 */
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.15));
  /* 全体にかける影 */
}

.theme-title span {
  display: inline-block;
  transition: transform var(--transition-bounce);
}

.theme-title span:hover {
  transform: translateY(-8px) scale(1.15) rotate(5deg);
}

/* 各文字の七色カラー */
.char-c1 {
  color: #FF5A5F;
  transform: rotate(-3deg);
}

.char-c2 {
  color: #FF9F1C;
  transform: rotate(2deg);
}

.char-c3 {
  color: #F4D03F;
  transform: rotate(-2deg);
}

.char-c4 {
  color: #2EC4B6;
  transform: rotate(3deg);
}

.char-c5 {
  color: #06D6A0;
  transform: rotate(-3deg);
}

.char-c6 {
  color: #118AB2;
  transform: rotate(2deg);
}

.char-c7 {
  color: #7209B7;
  transform: rotate(-2deg);
}

.char-c8 {
  color: #F72585;
  transform: rotate(3deg);
}

.char-c9 {
  color: #FF5A5F;
  transform: rotate(-2deg);
}

.theme-sub-slogan {
  font-family: var(--font-family-rounded);
  font-size: 1.85rem;
  font-weight: 900;
  color: #1A535C;
  letter-spacing: 0.06em;
  -webkit-text-stroke: 4px #FFFFFF;
  paint-order: stroke fill;
}

/* 下部白アーチコンテナ */
.theme-white-arch {
  background-color: var(--color-white);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: inset 0 4px 10px rgba(0, 0, 0, 0.2);
  padding: 140px 24px 100px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.theme-content {
  max-width: 750px;
  margin: 0 auto;
}

.theme-subhead {
  font-family: var(--font-family-rounded);
  font-size: 1.95rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.theme-body-text {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 2.2;
  color: var(--color-text);
  letter-spacing: 0.03em;
  text-align: center;
}

/* ==========================================================================
   ④ 日程（Date セクション：白背景 width: 1150px、padding最低100px）
   ========================================================================== */
.date-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
}

.date-container-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.date-card-outer {
  position: relative;
  width: 100%;
  max-width: 1150px;
  /* 1150px指定 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 中央白カード（width 1150px、padding最低100px） */
.date-card {
  width: 1150px;
  /* 指定の1150px */
  max-width: 100%;
  background-color: var(--color-white);
  border-radius: 40px;
  padding: 100px 80px 75px;
  /* 最低100pxのpadding */
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  z-index: 2;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* 左右ナビゲーター画像（罫線より上に配置するため上寄せ） */
.date-navigator-left {
  width: 220px;
  pointer-events: none;
  animation: navFloatLeft 4.2s ease-in-out infinite alternate;
  position: absolute;
  bottom: 100px;
  /* 注意書きの上部に重なる高さに調整 */
  left: 40px;
  /* 外側から内側（中央寄り）へ移動 */
  z-index: 10;
}

.date-navigator-right {
  position: absolute;
  bottom: 100px;
  /* 注意書きの上部に重なる高さに調整 */
  right: 40px;
  /* 外側から内側（中央寄り）へ移動 */
  z-index: 10;
  width: 240px;
  pointer-events: none;
  animation: navFloatRight 4.5s ease-in-out infinite alternate;
}

.navigator-photo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

@keyframes navFloatLeft {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

@keyframes navFloatRight {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-8px);
  }
}

.date-header-text {
  /* font-family: var(--font-family-rounded); */
  margin-bottom: 36px;
}

.date-year-label {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-right: 8px;
}

.date-main-label {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.03em;
}

/* 3部制タイムスケジュール */
.date-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 32px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 中央寄せ */
  gap: 18px;
  padding: 6px 0px;
}

.schedule-row{
  gap: 15px;
}

.schedule-badge {
  /* background-color: var(--color-yellow); */
  font-family: var(--font-family-rounded);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-white);
  border-radius: 35px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  min-width: 82px;
  text-align: center;
  padding: 10px;
}

.schedule-badge1 {
  background-color: #F5A533;
}

.schedule-badge2 {
  background-color: #EA8AB6;
}

.schedule-badge3 {
  background-color: #66ABDF;
}

.schedule-row {
  border-radius: 35px;
}

.schedule-row1{
  gap: 22.5px;
}

.schedule-row1 {
  background-color: #F8C780;
}

.schedule-row2 {
  background-color: #EFB3D0;
}

.schedule-row3 {
  background-color: #9AC7EB;
}

/* 受付時間（バッジと公演時間の間に小さく表示） */
.schedule-reception {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  font-family: var(--font-family-rounded);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.3;
}

.schedule-reception-label {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.schedule-reception-time {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.schedule-time {
  white-space: nowrap;
  font-family: var(--font-family-rounded);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.04em;
  padding-right: 20px;
}

.date-note {
  font-size: 0.76rem;
  /* 文字サイズをわずかに小さく調整 */
  font-weight: 500;
  color: var(--color-text-sub);
  line-height: 3;
  /* 1行に収める */
  text-align: center;
  border-top: 1px solid #EEEEEE;
  max-width: 680px;
  margin: 0 auto;
  white-space: nowrap;
  /* 強制1行 */
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.03em;
  /* 文字と文字の間隔を少し詰める */
  white-space: nowrap;
  /* 改行を禁止して1行で表示 */
  padding: 20px 5px;
  /* 左右の内側余白を狭くする */
}

/* ==========================================================================
   ⑤ アクセス（Access セクション：padding最低100px）
   ========================================================================== */
.access-section {
  position: relative;
  overflow: hidden;
  padding: 110px 0 130px;
}

.access-container-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 白い大きな角丸カード（padding最低100px、width 1150px） */
.access-big-card {
  width: 1150px;
  max-width: 100%;
  background-color: var(--color-white);
  border-radius: 40px;
  padding: 100px 70px;
  /* 最低100pxのpadding余白 */
  box-shadow: var(--shadow-card);
}

.access-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

/* 地図ボックス */
.access-map-box {
  background-color: #E2E4E8;
  border-radius: 24px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: var(--shadow-sm);
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: block;
}

/* 劇場写真・住所 */
.access-venue-info {
  display: flex;
  flex-direction: column;
}

.venue-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.venue-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  /* transition: transform var(--transition-normal); */
}

/* .venue-img:hover {
  transform: scale(1.03);
} */

.venue-name {
  font-family: var(--font-family-rounded);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 6px;
}

.venue-zip {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-sub);
}

.venue-address {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 2px;
}

/* 3つのアクセス方法 */
.access-ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid #EEEEEE;
  padding-top: 50px;
}

.access-way-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 40px;
}

.access-way-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -18px;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: #E0E0E0;
}

.way-icon-circle {
  width: 76px;
  height: 76px;
  border: 2px solid #333333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background-color: var(--color-white);
  transition: transform var(--transition-fast);
}

.access-way-card:hover .way-icon-circle {
  transform: translateY(-4px);
}

.way-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.way-title {
  font-family: var(--font-family-rounded);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 12px;
}

.way-desc {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-sub);
  text-align: center;
  /* メッセージを中央揃えにする */
  line-height: 1.6;
  /* 行間を整えて読みやすくする */
  margin-top: 10px;
  /* 上に少し余白を作る（必要に応じて調整） */
}

.way-table {
  width: 100%;
  max-width: 250px;
}

.way-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.6;
}

.way-station {
  text-align: left;
}

.way-time {
  text-align: right;
  font-weight: 700;
  margin-left: 12px;
}

/* ==========================================================================
   ⑥ お申込み（Register セクション）
   ========================================================================== */
.register-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 130px;
}

.register-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.register-cta-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 36px;
}

/* 左側の子どもたちイラスト（比率最適化：150px） */
.register-char {
  position: absolute;
  left: -90px;
  bottom: -15px;
  width: 150px;
  z-index: 3;
  pointer-events: none;
  animation: kidsJump 3.2s ease-in-out infinite alternate;
}

@keyframes kidsJump {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(-2deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* 白CTAボタンバー */
.btn-register-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  padding: 24px 64px 24px 80px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  color: var(--color-text);
  font-family: var(--font-family-rounded);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
  border: 3px solid #FFF59D;
}

.register-free-badge {
  font-size: 1.25rem;
  font-weight: 700;
}

.register-btn-arrow {
  margin-left: 20px;
  font-size: 1.8rem;
  display: inline-block;
  transition: transform var(--transition-fast);
}

.btn-register-cta:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  border-color: #FDD835;
}

.btn-register-cta:hover .register-btn-arrow {
  transform: translateX(8px);
}

.btn-register-cta:active {
  transform: translateY(1px) scale(0.98);
}

/* 右上ピンク丸バッジ「お申し込み1分！」 - 少し上に移動 */
.register-floating-badge {
  position: absolute;
  top: -40px;
  /* 少し上げる */
  right: -24px;
  width: 90px;
  height: 90px;
  background-color: var(--color-pink);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-family-rounded);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  box-shadow: 0 8px 20px rgba(255, 90, 95, 0.4);
  transform: rotate(12deg);
  transition: transform var(--transition-bounce);
}

.btn-register-cta:hover .register-floating-badge {
  transform: rotate(0deg) scale(1.1);
}

/* ==========================================================================
   ⑦ よくある質問（FAQ セクション）
   ========================================================================== */
.faq-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 130px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* FAQ 全体を包む白カード */
.faq-card-wrap {
  width: 100%;
  max-width: 900px;
  background-color: var(--color-white);
  border-radius: 32px;
  padding: 52px 48px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 4px solid #FFFFFF;
  position: relative;
}

/* FAQ リスト（縦並び） */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

/* FAQ 各項目 */
.faq-item {
  border-radius: 18px;
  border: 2px solid #EBF1F5;
  background-color: #FFFFFF;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-fast);
  overflow: hidden;
}

.faq-item:hover {
  border-color: #BEE3F8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.faq-item.is-open {
  border-color: var(--color-blue);
  box-shadow: 0 6px 20px rgba(144, 224, 239, 0.25);
  background-color: #FAFCFD;
}

/* 質問ボタン（横書き左揃え、クリック可能） */
.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  padding: 22px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  gap: 16px;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.faq-question-btn:hover {
  background-color: rgba(144, 224, 239, 0.08);
}

.faq-question-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: -3px;
}

/* Q バッジ（水色） */
.faq-badge-q {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-blue);
  color: var(--color-text);
  font-family: var(--font-family-rounded);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(144, 224, 239, 0.4);
  transition: transform var(--transition-fast);
}

.faq-question-btn:hover .faq-badge-q {
  transform: scale(1.08);
}

/* Q テキスト（横書き・左揃え） */
.faq-question-text {
  flex: 1;
  font-family: var(--font-family-rounded);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
  text-align: left;
  letter-spacing: 0.02em;
}

/* 開閉トグルアイコン */
.faq-toggle-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F0F4F8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  transition: background-color var(--transition-fast), color var(--transition-fast), transform var(--transition-normal);
}

.faq-chevron {
  transition: transform var(--transition-normal);
}

.faq-item.is-open .faq-toggle-icon {
  background-color: var(--color-yellow);
  color: var(--color-text);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

/* 回答アコーディオン展開部（Gridアニメーション） */
.faq-answer-pane {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-item.is-open .faq-answer-pane {
  grid-template-rows: 1fr;
}

/* 回答内部コンテンツ（フェードイン・スライドダウン） */
.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, padding 0.35s ease;
}

.faq-item.is-open .faq-answer-inner {
  padding: 6px 24px 24px 24px;
  opacity: 1;
  transform: translateY(0);
}

/* A バッジ（コーラルピンク） */
.faq-badge-a {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-pink);
  color: var(--color-white);
  font-family: var(--font-family-rounded);
  font-weight: 900;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(255, 90, 95, 0.35);
  margin-top: 2px;
}

/* A テキスト */
.faq-answer-text {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.faq-answer-text p {
  margin: 0;
}

/* インラインリンク（お申し込み） */
.faq-inline-link {
  color: #0077B6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.faq-inline-link:hover {
  color: var(--color-pink);
}

/* FAQ背景紙吹雪の配置 */
.c-fq-1 {
  top: 10%;
  left: 5%;
  --rot: 18deg;
  transform: rotate(18deg);
  animation: confettiSwayLeft 5.4s ease-in-out infinite alternate 0s;
}

.c-fq-2 {
  top: 18%;
  right: 6%;
  --rot: -22deg;
  transform: rotate(-22deg);
  animation: confettiSwayRight 5.1s ease-in-out infinite alternate -1s;
}

.c-fq-3 {
  top: 38%;
  left: 4%;
  --rot: 14deg;
  transform: rotate(14deg);
  animation: confettiSpinFloat 5.8s ease-in-out infinite alternate -0.5s;
}

.c-fq-4 {
  top: 52%;
  right: 5%;
  --rot: -16deg;
  transform: rotate(-16deg);
  animation: confettiSwayLeft 5.2s ease-in-out infinite alternate -1.5s;
}

.c-fq-5 {
  top: 70%;
  left: 7%;
  --rot: 24deg;
  transform: rotate(24deg);
  animation: confettiSwayRight 5.6s ease-in-out infinite alternate -2s;
}

.c-fq-6 {
  top: 85%;
  right: 6%;
  --rot: -12deg;
  transform: rotate(-12deg);
  animation: confettiSpinFloat 5.3s ease-in-out infinite alternate -1s;
}

.c-fq-7 {
  top: 28%;
  right: 4%;
}

.c-fq-8 {
  top: 62%;
  left: 3%;
}

/* ==========================================================================
   ⑧ ページトップボタン（Back to Top）
   ========================================================================== */
.back-to-top-bar {
  width: 100%;
  background-color: var(--color-blue);
  text-align: center;
  transition: background-color var(--transition-fast);
}

.back-to-top-btn {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-family-rounded);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.back-to-top-bar:hover {
  background-color: #79D9EB;
}

.back-to-top-btn:hover .arrow-up {
  transform: translateY(-4px);
}

.back-to-top {
  font-weight: 700;
}

.arrow-up {
  display: inline-block;
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   ⑧ フッター（Footer）
   ========================================================================== */
.site-footer {
  background-color: #F48131;
  padding: 50px 0 60px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* 上段：ロゴ ＆ SNSアイコン */
.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* こども校のロゴの白背景を削除 */
.footer-logo-box {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

/* フッターロゴ */
.footer-school-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-sns-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* SNSアイコン */
.sns-link {
  width: 52px;
  height: 52px;
  background-color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.sns-link:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: var(--shadow-md);
}

.sns-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.sns-icon.line-icon {
  width: 40px;
  height: 40px;
  padding: 1.18px 0 0 1.18px;
}

/* 下段：お問い合わせ情報 */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-contact-item {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
}

/* フリーコール（電話アイコンの真下にフリーコール文字、電話番号60px） */
.footer-freecall {
  flex-shrink: 0;
}

.freecall-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.freecall-icon-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.footer-phone-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.freecall-sub {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.2;
  white-space: nowrap;
}

.freecall-text-wrap {
  display: flex;
  align-items: center;
}

.freecall-number {
  font-family: var(--font-family-rounded);
  font-size: 48px;
  /* フリーコール番号を小さくする */
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.freecall-number:hover {
  color: #000000;
}

/* 住所・メール */
.footer-address-mail {
  line-height: 1.9;
}

.footer-address {
  font-weight: 700;
}

.email-link {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

.email-link:hover {
  color: #000000;
}

/* TEL / FAX */
.footer-tel-fax {
  line-height: 1.9;
  font-weight: 700;
}

.footer-tel a:hover {
  text-decoration: underline;
}

.footer-class {
  display: flex;
  text-align: left;
}

.footer-contact-item {
  margin: 0 50px 0 0;
}

/* ==========================================================================
   左下固定フローティングCTA（「左下固定.png」）
   ========================================================================== */
.floating-cta-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-cta-container.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta-link {
  display: block;
  width: 200px;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.floating-cta-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.22));
}

.floating-cta-link:hover {
  transform: scale(1.05) translateY(-4px);
}

/* ==========================================================================
   Responsive Breakpoints (PC / Tablet / Mobile)
   ========================================================================== */

/* Large Screens (>= 1200px) */
@media (min-width: 1200px) {
  .date-card {
    width: 1150px;
  }

  .access-big-card {
    width: 1150px;
  }
}

/* Tablet & Smaller (<= 1199px) */
@media (max-width: 1199px) {


  .date-card {
    width: 100%;
    padding: 80px 40px;
  }

  .date-navigator-left {
    left: -40px;
    width: 180px;
    bottom: 150px;
  }

  .date-navigator-right {
    right: -20px;
    width: 250px;
    bottom: 150px;
  }

  .access-big-card {
    width: 100%;
    padding: 80px 40px;
  }

  .freecall-number {
    font-size: 40px;
  }
}

/* Medium Tablet (<= 992px) */
@media (max-width: 992px) {
  .hero-circle-card {
    width: 500px;
    height: 500px;
  }

  .hero-title-line {
    font-size: 2.8rem;
  }

  .hero-title-sub {
    font-size: 2.2rem;
  }

  .badge-left {
    width: 135px;
    height: 135px;
    top: 5px;
    left: 0px;
  }

  .badge-text-big {
    font-size: 1.7rem;
  }

  .badge-right {
    width: 210px;
    height: 210px;
    bottom: 10px;
    right: 0px;
    padding: 6px 8px;
    /* 左右の余白をさらに狭く */
    font-size: 0.78rem;
    /* スマホで収まるよう文字サイズを調整 */
    line-height: 1.4;
    /* 行間を詰める */
    letter-spacing: 0;
    /* 文字間隔を標準に */
  }

  .badge-section-header {
    margin-top: 75px;
  }

  .badge-desc {
    font-size: 0.9rem;
  }

  .about-container {
    gap: 40px;
  }

  .about-char-left {
    left: -35px;
    width: 110px;
  }

  .about-char-right {
    right: -40px;
    width: 130px;
  }

  .theme-header-row {
    gap: 16px;
  }

  .theme-decor-side {
    flex: 0 1 180px;
    max-width: 190px;
    min-width: 130px;
  }

  .theme-title {
    font-size: 3.2rem;
  }

  .date-navigator-left {
    left: -30px;
  }

  .date-navigator-right {
    right: -30px;
  }

  .freecall-number {
    font-size: 36px;
  }

  .badge-char {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
    margin: 0 -7px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .site-header-nav {
    top: 16px;
    right: 16px;
  }

  .open-badge-bubble {
    padding: 6px 12px;
    font-size: 0.82rem;
  }

  .open-icon-circle {
    width: 48px;
    height: 48px;
  }

  .open-menu-char {
    width: 36px;
  }

  /* スマホ版メニュー：「保育発表会」「特設サイト」が改行しないようフォントサイズを縮小 */
  .menu-main-title {
    font-size: 1.85rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .menu-sub-title {
    font-size: 1.45rem;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  /* スマホ版メニュー：「メニューをとじる」が改行しないよう縮小 */
  .close-badge-bubble {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* スマホ版メニュー：各ナビ項目が改行しないよう縮小 */
  .menu-nav-item {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  .menu-content-card {
    padding: 28px 20px 30px 28px;
  }

  .hero-section {
    padding: 70px 16px 60px;
    min-height: auto;
  }

  .hero-container {
    flex-direction: column;
  }

  .hero-peek-wrapper {
    top: -55px;
    width: 110px;
  }

  .hero-circle-card {
    width: 100%;
    max-width: 380px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    padding: 30px 20px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .hero-school-name {
    font-size: 0.95rem;
    margin-top: 10px;
    letter-spacing: -0.01em;
  }

  .hero-title-line {
    font-size: 2.1rem;
  }

  .hero-title-sub {
    font-size: 1.65rem;
  }

  .hero-datetime {
    font-size: 1.25rem;
  }

  .hero-venue {
    font-size: 1.05rem;
  }

  .btn-hero-cta {
    font-size: 0.95rem;
    padding: 9px 26px;
  }

  /* Badges positioning on Mobile */
  .badge-left {
    position: absolute;
    width: 110px;
    height: 110px;
    top: -90px;
    left: 10px;
  }

  .badge-text-big {
    font-size: 1.4rem;
  }

  .badge-right {
    position: absolute;
    width: 155px;
    height: 155px;
    bottom: -145px;
    right: -5px;
    padding: 6px 8px;
    /* 左右の余白をさらに狭く */
    font-size: 0.78rem;
    /* スマホで収まるよう文字サイズを調整 */
    line-height: 1.4;
    /* 行間を詰める */
    letter-spacing: 0;
    /* 文字間隔を標準に */
  }

  .badge-desc {
    font-size: 0.72rem;
    line-height: 1.45;
    /* 「みんなの楽しいが大集合」が改行されないように余白を小さくする */
    letter-spacing: 0;
  }

  /* About cards stack vertically */
  .about-section {
    padding: 70px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .about-card {
    padding: 36px 30px;
    border-radius: 28px;
  }

  .about-card-title {
    font-size: 1.35rem;
    margin-bottom: 16px;
  }

  .about-card-text {
    padding: 0 10px;
  }

  .about-char-left {
    left: -20px;
    bottom: -30px;
    width: 80px;
  }

  .about-char-right {
    right: -20px;
    bottom: -30px;
    width: 120px;
  }

  /* Theme section mobile */
  .theme-section {
    padding: 60px 0 0;
  }

  .theme-rainbow-wrapper {
    max-width: 220px;
    margin-bottom: 2px;
  }

  .theme-rainbow-img {
    max-width: 220px;
  }

  .theme-header-row {
    flex-direction: column;
    gap: 12px;
  }

  .theme-decor-side.decor-left {
    order: 1;
    max-width: 170px;
    margin-bottom: -6px;
  }

  .theme-center-block {
    order: 2;
  }

  .theme-decor-side.decor-right {
    order: 3;
    max-width: 210px;
    margin-top: 10px;
  }

  .theme-decor-img {
    max-width: 200px;
  }

  /* ------------------------------------------------------------------------
     1. 文字やカードに被りやすい中央付近のコンフェッティを非表示にする
     ------------------------------------------------------------------------ */
  /* About */
  .c-ab-3,
  .c-ab-4,
  .c-ab-5,
  .c-ab-6,
  /* Theme */
  .c-th-3,
  .c-th-4,
  .c-th-5,
  .c-th-6,
  /* Date */
  .c-dt-3,
  .c-dt-4,
  .c-dt-5,
  .c-dt-6,
  /* Access */
  .c-ac-3,
  .c-ac-4,
  .c-ac-5,
  .c-ac-6,
  /* Register */
  .c-rg-3,
  .c-rg-4,
  .c-rg-5,
  .c-rg-6 {
    display: none !important;
  }

  /* ------------------------------------------------------------------------
     2. 残すコンフェッティ（各セクション上下の4つ）を画面外側の余白へ避難させる
     ------------------------------------------------------------------------ */
  /* ① About */
  .c-ab-1 {
    top: 3%;
    left: 2%;
  }

  .c-ab-2 {
    top: 4%;
    right: 2%;
  }

  .c-ab-7 {
    top: 92%;
    left: 2%;
  }

  .c-ab-8 {
    top: 93%;
    right: 2%;
  }

  /* ② Theme */
  .c-th-1 {
    top: 3%;
    left: 2%;
  }

  .c-th-2 {
    top: 4%;
    right: 2%;
  }

  .c-th-7 {
    top: 92%;
    left: 2%;
  }

  .c-th-8 {
    top: 93%;
    right: 2%;
  }

  /* ③ Date */
  .c-dt-1 {
    top: 3%;
    left: 2%;
  }

  .c-dt-2 {
    top: 4%;
    right: 2%;
  }

  .c-dt-7 {
    top: 92%;
    left: 2%;
  }

  .c-dt-8 {
    top: 93%;
    right: 2%;
  }

  /* ④ Access */
  .c-ac-1 {
    top: 3%;
    left: 2%;
  }

  .c-ac-2 {
    top: 4%;
    right: 2%;
  }

  .c-ac-7 {
    top: 92%;
    left: 2%;
  }

  .c-ac-8 {
    top: 93%;
    right: 2%;
  }

  /* ⑤ Register */
  .c-rg-1 {
    top: 3%;
    left: 2%;
  }

  .c-rg-2 {
    top: 4%;
    right: 2%;
  }

  .c-rg-7 {
    top: 92%;
    left: 2%;
  }

  .c-rg-8 {
    top: 93%;
    right: 2%;
  }

  .theme-catch {
    font-size: 1rem;

  }

  .theme-title {
    font-size: 2rem;
    letter-spacing: 0.02em;
  }

  .theme-sub-slogan {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
  }

  .theme-white-arch {
    border-radius: 50% 50% 0 0 / 180px 180px 0 0;
    padding: 75px 28px 70px;
    /* 左右余白を広げる */
  }

  .theme-subhead {
    font-size: 1.35rem;
    margin-bottom: 20px;
  }

  .theme-body-text {
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
    letter-spacing: 0.01em;
    padding: 0 15px;
  }

  /* Date section mobile */
  .date-section {
    padding: 70px 0;
  }

  .date-card {
    padding: 40px 28px;
    /* 左右余白を広げる */
    border-radius: 24px;
  }

  .date-navigator-left {
    left: -15px;
    bottom: 50px;
    /* 罫線より上 */
    width: 85px;
    opacity: 0.85;
    bottom: 100px;
  }

  .date-navigator-right {
    right: -25px;
    bottom: 50px;
    /* 罫線より上 */
    width: 90px;
    opacity: 0.85;
    bottom: 100px;
  }

  .date-year-label {
    font-size: 1.2rem;
  }

  .date-main-label {
    font-size: 1.6rem;
  }

  .schedule-badge {
    font-size: 1rem;
    padding: 4px 5px;
    min-width: 54px;
  }

  .date-schedule-list {
    max-width: 290px;
  }



  .schedule-time {
    font-size: 1.3rem;
    letter-spacing: 0em;
  }

  /* スマホ：バッジの右に「公演時間」、その下に「受付時間」を1行で表示 */
  .schedule-row {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    grid-template-areas:
      "badge time"
      "badge rec";
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
    padding: 6px 6px 6px 6px;
    width: 250px;
    margin: 0 auto;
  }

  .schedule-row .schedule-badge {
    grid-area: badge;
  }

  .schedule-row .schedule-time {
    grid-area: time;
    padding-right: 0;
    text-align: center;
  }

  .schedule-row .schedule-reception {
    grid-area: rec;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
  }

  .schedule-reception-label,
  .schedule-reception-time {
    font-size: 0.85rem;
  }

  .schedule-reception-label {
    font-size: 0.7rem;
  }

  .date-note {
    font-size: 0.62rem;
    /* スマホ版では文字を小さく保つ */
    white-space: normal;
    /* スマホでは折り返しを許可 */
    line-height: 1.55;
    text-align: center;
  }

  /* Access section mobile */
  .access-section {
    padding: 70px 0;
  }

  .access-big-card {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .access-main-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 40px;
  }

  .venue-img {
    height: 200px;
  }

  .access-ways-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 36px;
  }

  .access-way-card:not(:last-child)::after {
    display: none;
  }

  .access-way-card:not(:last-child) {
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 28px;
  }

  .way-desc {
    text-align: center;
  }

  .way-icon-circle {
    width: 68px;
    height: 68px;
  }

  .way-icon {
    width: 34px;
    height: 34px;
  }

  /* Register section mobile */
  .register-section {
    padding: 70px 0 90px;
  }

  .register-cta-wrapper {
    width: 100%;
    justify-content: center;
  }

  .register-char {
    left: -20px;
    bottom: -50px;
    width: 100px;
  }

  .btn-register-cta {
    font-size: 1.15rem;
    padding: 10px 24px 10px 65px;
    width: 100%;
    max-width: 360px;
    border-radius: 18px;
  }

  .register-free-badge {
    font-size: 0.95rem;
    display: block;
    text-align: center;
  }

  .register-floating-badge {
    top: -50px;
    right: 0;
    width: 76px;
    height: 76px;
    font-size: 0.75rem;
  }

  /* FAQ section mobile */
  .faq-section {
    padding: 70px 0 90px;
  }

  .faq-card-wrap {
    padding: 28px 16px;
    border-radius: 22px;
  }

  .faq-list {
    gap: 12px;
  }

  .faq-item {
    border-radius: 14px;
  }

  .faq-question-btn {
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-badge-q,
  .faq-badge-a {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }

  .faq-question-text {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .faq-toggle-icon {
    width: 30px;
    height: 30px;
  }

  .faq-chevron {
    width: 18px;
    height: 18px;
  }

  .faq-answer-inner {
    gap: 12px;
    padding: 0 14px;
  }

  .faq-item.is-open .faq-answer-inner {
    padding: 2px 14px 18px 14px;
  }

  .faq-answer-text {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* Floating CTA mobile */
  .floating-cta-link {
    width: 150px;
  }

  .floating-cta-container {
    bottom: 10px;
    left: 5px;
  }

  .floating-cta-img {
    width: 135px;
  }

  .back-to-top-btn {
    height: 45px;
  }

  /* Footer mobile */
  .footer-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-school-logo {
    height: 42px;
  }

  /* ★ここから追加：スマホ版 SNSアイコンのサイズ調整★ */
  .sns-link {
    width: 44px;
    /* 丸背景全体の幅を小さく調整 */
    height: 44px;
    /* 丸背景全体の高さを小さく調整 */
  }

  .sns-icon {
    width: 22px;
    /* ご希望のアイコンサイズ（22px） */
    height: 22px;
  }

  /* TikTokやLINEで個別に拡大指定している場合の上書き */
  .sns-icon.line-icon {
    width: 24px;
    /* 必要に応じて22px〜24pxで微調整 */
    height: 24px;
  }

  /* ★ここまで★ */

  .footer-bottom-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    /* 各連絡先の間隔を統一 */
  }

  .footer-contact-item {
    width: 100%;
    text-align: center;
  }

  /* スマホ版：フリーコールと電話番号を同じ行に横並び */
  .freecall-box {
    flex-direction: row;
    /* 横並び */
    gap: 12px;
    align-items: center;
    justify-content: center;
  }

  /* スマホ版：住所・メール・TEL/FAXを同じ間隔で */
  .footer-address-mail,
  .footer-tel-fax {
    line-height: 2;
  }

  .footer-phone-icon {
    width: 30px;
    height: 30px;
  }

  .freecall-sub {
    font-size: 10px;
  }

  .freecall-number {
    font-size: 28px;
  }

  .footer-class {
    line-height: 2;
    display: block;
  }

  .footer-contact-item {
    margin: 0;
  }

  .badge-section-sub {
    margin-top: 5px;
  }

  .badge-char {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    margin: 0 -4px;
  }
}

/* Very Small Mobile (<= 400px) */
@media (max-width: 400px) {
  .badge-char {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
    margin: 0 -3px;
  }
}

/* ==============================================
   ヘッダー内 YouTube動画埋め込みスタイル
   ============================================== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
  /* 最大幅（デザインに合わせて調整可能） */
  margin: 20px auto;
  /* 上下の余白 */
  padding-top: 56.25%;
  /* 16:9のアスペクト比を維持 */
  border-radius: 12px;
  /* 少し角丸にしてデザインに馴染ませる */
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  /* ほんのり影をつける */
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ヘッダー全体を基準位置に設定 */
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ヘッダー背景動画エリア */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

/* 動画を画面いっぱいに「アスペクト比を維持して拡大・トリミング（カバー）」表示する設定 */
.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* 16:9比率 */
  min-height: 100vh;
  min-width: 177.77vh;
  /* 縦横比を維持して余白を作らない計算 */
  transform: translate(-50%, -50%);
}

.hero-video-bg video,
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

/* 前面のカードや文字を浮かせる指定 */
.hero-container {
  position: relative;
  z-index: 2;
}

/* アクセシビリティ：視覚的配慮（アニメーション軽減） */
@media (prefers-reduced-motion: reduce) {

  .rainbow-float-anim,
  .randoseru-walk-anim,
  .confetti {
    animation: none !important;
  }
}

/* ==============================================
   リンククリック時の飛び出すパーティクルエフェクト
   ============================================== */
.click-particle {
  position: fixed;
  pointer-events: none;
  /* 操作を邪魔しない */
  z-index: 9999;
  user-select: none;
  animation: particle-pop 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* 形の定義 */
.click-particle.circle {
  border-radius: 50%;
}

.click-particle.star {
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.click-particle.confetti {
  border-radius: 2px;
}

/* 飛んで弾けるアニメーション */
@keyframes particle-pop {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3) rotate(var(--rot));
  }
}

/* ==========================================================================
   学校道具デコの配置（均等配置）
   各アイテムの縦位置(--y)はセクション高さに対する「中心」の位置、
   --x は左右の端からの距離。左右交互に並べて密集・空白の偏りをなくす。
   位置の値は index.html の style="--y:..;--x:.." で指定。
   ========================================================================== */
.section-confetti-layer .confetti.c-item {
  top: clamp(24px, calc(var(--y, 50%) - var(--sz) / 2), calc(100% - var(--sz) - 28px));
  left: auto;
  right: auto;
  margin: 0;
}

.section-confetti-layer .confetti.c-item.is-l {
  left: var(--x, 4%);
}

.section-confetti-layer .confetti.c-item.is-r {
  right: var(--x, 4%);
}

@media (max-width: 768px) {
  .section-confetti-layer .confetti.c-item.is-l {
    left: calc(var(--x, 4%) * 0.4);
  }

  .section-confetti-layer .confetti.c-item.is-r {
    right: calc(var(--x, 4%) * 0.4);
  }
}

/* --------------------------------------------------------------------------
   スマホ：文字と重ならないよう、見出し上の左右の余白にだけ学校道具を表示
   （テーマ・日時・アクセス・お申し込み・Q&A の各セクション見出しの上に2個ずつ。
     それ以外の学校道具はスマホでは非表示）
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .section-confetti-layer .confetti.c-item {
    display: none !important;
  }

  .section-confetti-layer .confetti.c-item:is(.c-th-1, .c-dt-1, .c-ac-1, .c-rg-1, .c-fq-1) {
    display: inline-flex !important;
    top: 28px;
    left: 5%;
    right: auto;
  }

  .section-confetti-layer .confetti.c-item:is(.c-th-2, .c-dt-2, .c-ac-2, .c-rg-2, .c-fq-2) {
    display: inline-flex !important;
    top: 58px;
    right: 4%;
    left: auto;
  }

  /* 見出し上の余白に収まるサイズに */
  .section-confetti-layer .confetti.c-item.is-randoseru {
    --sz: 72px;
  }

  /* テーマは虹の左右のすき間に小さめで配置 */
  .section-confetti-layer .confetti.c-item.c-th-1 {
    --sz: 54px;
    top: 36px;
    left: 2%;
  }

  .section-confetti-layer .confetti.c-item.c-th-2 {
    --sz: 54px;
    top: 48px;
    right: 1%;
  }
}

/* 文字・画像と重なる学校道具はJSで判定して非表示（js/main.js 参照） */
.section-confetti-layer .confetti.c-item.is-hidden-collide {
  visibility: hidden;
}

/* ==========================================================================
   お申し込み遷移時 ローディング画面（Loading Overlay）[無効化中]
   ==========================================================================
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #FFF4B8;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.loading-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 40px;
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loading-overlay.is-active .loading-content {
  transform: scale(1);
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255, 90, 95, 0.2);
  border-top-color: #FF5A5F;
  border-radius: 50%;
  animation: loadingSpin 0.9s linear infinite;
}

@keyframes loadingSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  font-family: var(--font-family-rounded, 'Zen Maru Gothic', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main, #333333);
  letter-spacing: 0.05em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-subtext {
  font-family: var(--font-family-sans, 'Noto Sans JP', sans-serif);
  font-size: 0.88rem;
  font-weight: 500;
  color: #666666;
  margin: 0;
}

.loading-dots {
  display: inline-flex;
  margin-left: 2px;
}

.loading-dots span {
  animation: loadingDotsBounce 1.4s infinite;
  display: inline-block;
}

.loading-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes loadingDotsBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
*/