/*
  魚津水族館 × 夢中教室 オンライン探究プログラム LP
  スタイルシート
*/

/* ============================
   CSS変数・リセット
   ============================ */
:root {
  /* カラーパレット */
  --ocean-deep: #021b3d;
  --ocean-mid: #0b3d91;
  --ocean-light: #1389bd;
  --ocean-sky: #38bdf8;
  --ocean-pale: #7dd3fc;
  --marine-glow: #00c6ff;
  --accent: #ff6b35;
  --accent-soft: #ffa07a;

  --bg: #f0f8ff;
  --bg-soft: #e5f4ff;
  --surface: #ffffff;
  --text: #0d2240;
  --text-muted: #4b6b8a;
  --border: rgba(11, 61, 145, 0.12);

  --shadow-sm: 0 4px 16px rgba(11, 61, 145, 0.10);
  --shadow-md: 0 12px 40px rgba(11, 61, 145, 0.14);
  --shadow-lg: 0 24px 72px rgba(11, 61, 145, 0.18);

  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 4px;
  --corner: 6px;
  /* 非ボタン用の角丸を小さくして、ボタン（の丸み）を際立たせる */

  --container: 1160px;
  --narrow: 900px;

  --font-main: "Noto Sans JP", sans-serif;
  --font-round: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 62.5% !important;
  /* 親テーマと同じ値(10px/rem)。!importantで親テーマの後読み込みによる上書きを防止 */
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main) !important;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8 !important;
  /* 行間を少し広げてバランス調整 */
  letter-spacing: normal !important;
  /* 親テーマの letter-spacing: 0.1rem を上書き防止 */
}

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

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

/* ============================
   レイアウトヘルパー
   ============================ */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), var(--narrow));
  margin-inline: auto;
}

.center {
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  /* 余白を広げる */
  align-items: center;
}

/* 表示制御用（より厳密に） */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: block !important;
}

@media (max-width: 1024px) {
  .mobile-only {
    display: block !important;
  }

  .desktop-only {
    display: none !important;
  }
}

/* インライン用など */
span.mobile-only {
  display: none !important;
}

span.desktop-only {
  display: inline-block !important;
}

@media (max-width: 1024px) {
  span.mobile-only {
    display: inline-block !important;
  }

  span.desktop-only {
    display: none !important;
  }
}

/* ============================
   タイポグラフィ
   ============================ */
.section-label {
  display: inline-block;
  font-size: 1.07rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-mid);
  background: white;
  padding: 4px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.section-label.light {
  color: #7dd3fc;
  background: rgba(125, 211, 252, 0.15);
  border-color: rgba(125, 211, 252, 0.3);
}

.section-heading {
  margin-bottom: 60px;
  /* 余白を広げる */
}

.section-heading h2 {
  font-size: clamp(2.7rem, 3.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
  font-family: var(--font-round);
}

.section-desc {
  font-size: 1.57rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* ============================
   ボタン
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  /* ボタンは角丸を最大にして「アクション要素」であることを強調 */
  font-weight: 800;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  color: white;
  background: var(--ocean-mid);
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.2);
}

.btn-primary:hover {
  background: var(--ocean-deep);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.3);
}

.btn-accent {
  color: white;
  background: #ff6b35;
  /* カワスイ風の鮮やかなアクセントオレンジ */
  box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
  font-size: 1.65rem;
}

.btn-accent:hover {
  background: #e85a2a;
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.4);
}

.btn-ghost {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-white {
  color: var(--ocean-mid);
  background: white;
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.18);
  font-size: 1.42rem;
  padding: 12px 24px;
}

.btn-header {
  font-size: 1.35rem;
  padding: 8px 20px;
  background: #ff6b35;
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.btn-header:hover {
  background: #e85a2a;
}

.btn-large {
  font-size: 1.72rem;
  padding: 18px 40px;
}

.btn-hero {
  min-width: 200px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ============================
   カード共通
   ============================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ============================
   ヘッダー
   ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* デスクトップ用ナビ */
.header-nav-desktop {
  display: none;
}

.header-nav-desktop ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-desktop a {
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav-desktop a:hover {
  color: var(--ocean-mid);
}

/* ハンバーガーボタン */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 300;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ocean-mid);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* モバイル用メニュー（デスクトップでは完全に消す） */
.header-nav-mobile {
  display: none;
  /* デフォルトは非表示 */
}

@media (max-width: 768px) {
  .header-nav-mobile {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 250;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
    /* 非表示時は存在を消す */
  }

  .header-nav-mobile.active {
    transform: translateX(0);
    visibility: visible;
  }
}

.header-nav-mobile ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.header-nav-mobile li {
  margin: 40px 0;
}

.header-nav-mobile a {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ocean-mid);
  text-decoration: none;
}

/* メニューオープン時のスクロール抑制 */
body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .header-nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }
}

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

.brand-logo {
  width: auto;
  height: auto;
  min-width: 32px;
  min-height: 32px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ocean-sky), var(--ocean-mid));
  border-radius: 6px;
  font-size: 1.65rem;
}

.brand-names {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-main {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ocean-mid);
  line-height: 1.2;
}

.brand-sub {
  font-size: 1.07rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* ============================
   ヒーローセクション
   ============================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(0, 198, 255, 0.26) 0%, transparent 38%),
    radial-gradient(ellipse at 90% 15%, rgba(56, 189, 248, 0.18) 0%, transparent 28%),
    radial-gradient(ellipse at 50% 90%, rgba(11, 61, 145, 0.4) 0%, transparent 50%),
    linear-gradient(165deg, #021b3d 0%, #0b3d91 40%, #0e5ca8 70%, #1389bd 100%);
  color: white;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('hero_bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  mix-blend-mode: screen;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2, 27, 61, 0.3) 0%, rgba(2, 27, 61, 0) 30%),
    radial-gradient(ellipse at 60% 70%, rgba(0, 198, 255, 0.14) 0%, transparent 40%);
}

.wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.wave {
  width: 100%;
  height: auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 72px;
  margin-top: auto;
  margin-bottom: auto;
}

/* ヒーロー：テキスト側 */
.eyebrow-wrap {
  margin-bottom: 20px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: none;
  border: none;
  border-radius: 4px;
  font-size: 1.23rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.02em;
}

.hero-title {
  font-size: clamp(2.4rem, 3.8vw, 5.1rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  font-family: var(--font-round);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
  color: var(--ocean-pale);
  position: relative;
}

.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ocean-sky), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: clamp(1.65rem, 2.5vw, 2.1rem);
  color: #fff8e1;
  /* 少し柔らかい黄色みで差別化 */
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-message {
  font-size: clamp(1.5rem, 2vw, 1.72rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 1.27rem;
  font-weight: 800;
  color: var(--ocean-mid);
  white-space: nowrap;
}

.badge-free {
  background: #fff8e1;
  border-color: #ffe082;
  color: #fbc02d;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero-date-note {
  font-size: 1.38rem;
  color: rgba(255, 255, 255, 0.76);
  padding-left: 2px;
}

/* ヒーロー：ビジュアル側 */
.hero-visual {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}



.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 300px;
  height: 300px;
  top: 0;
  left: 10%;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.5), transparent 70%);
}

.hero-glow-2 {
  width: 240px;
  height: 240px;
  bottom: 40px;
  right: 5%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.4), transparent 70%);
}

.hero-squid-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  max-width: 340px;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(0, 198, 255, 0.5), 0 0 160px rgba(0, 100, 255, 0.2);
  object-fit: cover;
  aspect-ratio: 1;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

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

@keyframes float-mobile {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-card {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: min(320px, 90%);
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  color: white;
}

.hero-card-badge {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  background: #ff6b35;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.hero-card-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.hero-card-big {
  font-size: 4.5rem;
  font-weight: 900;
  color: #ffd369;
  font-family: var(--font-round);
  line-height: 1;
}

.hero-card-label {
  font-size: 1.65rem;
  font-weight: 700;
}

.hero-card-detail {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 2px;
  opacity: 0.95;
  line-height: 1.4;
}

.hero-card-more {
  font-size: 1.27rem;
  opacity: 0.75;
}

/* スクロールヒント */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.17rem;
  z-index: 2;
}

.scroll-arrow {
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ============================
   実績バー
   ============================ */
.stat-bar {
  background: var(--ocean-mid);
  padding: 28px 0;
  color: white;
}

.stat-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.stat-num {
  display: block;
  font-size: clamp(2.1rem, 2.5vw, 2.7rem);
  font-weight: 900;
  color: white;
  /* 数字を白にして背景となじませる、またはアクセント色を絞る */
  font-family: var(--font-round);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 1.23rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

/* ============================
   セクション共通
   ============================ */
.section {
  padding: 120px 0;
  /* 余白を全体的に広げる */
}

.section-soft {
  background: linear-gradient(180deg, #e8f4fb 0%, #f0f8ff 100%);
}

.section-ocean {
  background: linear-gradient(160deg, #021b3d 0%, #0b3d91 50%, #0e5ca8 100%);
  color: white;
}

.section-ocean .section-label {
  color: var(--ocean-pale);
  background: rgba(125, 211, 252, 0.15);
  border-color: rgba(125, 211, 252, 0.3);
}

.section-ocean h2 {
  color: white;
}

.section-ocean p {
  color: #ffffff;
}

/* ============================
   おすすめセクション
   ============================ */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.recommend-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.recommend-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ocean-sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.recommend-card:hover::before {
  transform: scaleX(1);
}

.recommend-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(11, 61, 145, 0.08));
  border-radius: 16px;
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.recommend-card h3 {
  font-size: 1.52rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-round);
}

.recommend-card p {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin: 0;
}

.parent-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), rgba(11, 61, 145, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-sm);
  padding: 24px 28px;
  font-size: 1.42rem;
  line-height: 1.65;
}

.parent-note-icon {
  font-size: 3.3rem;
  flex-shrink: 0;
}

/* 対象チップ */
.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: #f1f9ff;
  border: 1px solid rgba(11, 61, 145, 0.15);
  color: var(--ocean-mid);
  border-radius: 4px;
  font-size: 1.17rem;
  font-weight: 700;
}

/* ============================
   ライブ授業セクション
   ============================ */
.live-visual {
  position: relative;
}

.live-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.4);
}

.live-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: var(--corner);
  font-size: 1.27rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

.live-bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  padding: 10px 18px;
  border-radius: var(--corner);
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-round);
}

.live-bubble::before {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
}

.live-bubble-1 {
  bottom: -18px;
  right: 30px;
  border-bottom-right-radius: 4px;
}

.live-bubble-1::before {
  bottom: -10px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 0 solid transparent;
  border-top: 10px solid rgba(255, 255, 255, 0.95);
}

.live-bubble-2 {
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  border-left: none;
  border-bottom-left-radius: 4px;
}

.live-bubble-2::before {
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 10px solid rgba(255, 255, 255, 0.95);
}

/* 特徴リスト */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-num {
  width: 44px;
  height: 44px;
  background: rgba(125, 211, 252, 0.15);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.17rem;
  font-weight: 800;
  color: var(--ocean-pale);
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: white;
}

.feature-item p {
  font-size: 1.42rem;
  margin: 0;
  color: #ffffff !important;
}

.highlight-copy {
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(255, 211, 105, 0.12);
  border-left: 3px solid #ffd369;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

/* ============================
   授業の流れ
   ============================ */
.flow-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
}

.flow-step {
  flex: 1;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.flow-step-icon {
  font-size: 3.6rem;
  margin-bottom: 12px;
}

.flow-step-num {
  display: inline-block;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--ocean-mid);
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: var(--corner);
  margin-bottom: 6px;
  letter-spacing: 0.06em;
}

.flow-step-time {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.flow-step h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-round);
  line-height: 1.4;
}

.flow-step p {
  font-size: 1.33rem;
  color: var(--text-muted);
  margin: 0;
}

.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 2.7rem;
  color: var(--ocean-sky);
  flex-shrink: 0;
}

/* ============================
   CTA バンド
   ============================ */
.cta-band {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0, 198, 255, 0.2), transparent 50%),
    linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 55%, var(--ocean-light) 100%);
  color: white;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-text h2 {
  font-size: clamp(3.0rem, 4vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 16px;
  font-family: var(--font-round);
}

.cta-theme {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffd369;
  font-family: var(--font-round);
}

.cta-desc {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  font-size: 1.5rem;
  line-height: 1.75;
}

.cta-note {
  margin-top: 14px;
  font-size: 1.33rem;
  color: rgba(255, 255, 255, 0.72);
}

.info-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.info-card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ocean-mid);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(11, 61, 145, 0.1);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 22px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  gap: 12px;
}

.info-list div:last-child {
  border-bottom: none;
}

.info-list dt {
  font-size: 1.33rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 100px;
}

.info-list dd {
  font-size: 1.38rem;
  font-weight: 500;
  margin: 0;
  text-align: right;
}

.free-tag {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  color: white;
  padding: 3px 12px;
  border-radius: var(--corner);
  font-size: 1.5rem;
  font-weight: 900;
}

/* ============================
   図鑑セクション
   ============================ */
.zukan-visual {
  position: relative;
}

.zukan-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.zukan-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ocean-mid);
  color: white;
  padding: 8px 22px;
  border-radius: var(--corner);
  font-size: 1.33rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 20px 0 16px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.42rem;
}

.check-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--ocean-sky), var(--ocean-light));
  color: white;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
}

.small-note {
  font-size: 1.33rem;
  color: var(--text-muted);
  padding: 12px 16px;
  background: rgba(56, 189, 248, 0.06);
  border-radius: var(--radius-xs);
  border-left: 3px solid var(--ocean-sky);
}

.content-panel .section-label {
  margin-bottom: 12px;
}

.content-panel h2 {
  font-size: clamp(2.4rem, 3vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  font-family: var(--font-round);
}

.content-panel p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 1.45rem;
}

/* フォトギャラリー */
.section-photo {
  padding: 40px 0;
  background: white;
}

.photo-gallery {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.photo-figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
}

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

.photo-caption {
  font-size: 1.33rem;
  color: var(--text-muted);
}

/* 説明会ボックス */
.info-box-wrap {
  max-width: 540px;
  margin-inline: auto;
  background: white;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.info-row {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 80px;
  font-weight: 800;
  color: var(--ocean-mid);
  font-size: 1.35rem;
}

.info-value {
  flex: 1;
  font-size: 1.5rem;
}

.link {
  color: var(--ocean-sky);
  text-decoration: underline;
  font-weight: 700;
}

/* メッセージペーパー */
.message-paper {
  max-width: 800px;
  margin-inline: auto;
  padding: 48px;
  line-height: 1.85;
}

.message-paper p {
  margin-bottom: 20px;
  font-size: 1.57rem;
}

.message-paper p:last-child {
  margin-bottom: 0;
}

/* ============================
   全6回プログラム
   ============================ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.course-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 22px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.course-card-last {
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.04), rgba(56, 189, 248, 0.06));
  border-color: rgba(56, 189, 248, 0.3);
}

.course-num {
  display: inline-block;
  font-size: 1.17rem;
  font-weight: 800;
  color: var(--ocean-mid);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), rgba(11, 61, 145, 0.08));
  padding: 4px 12px;
  border-radius: var(--corner);
  margin-bottom: 16px;
}

.course-icon {
  font-size: 3.0rem;
  margin-bottom: 12px;
}

.course-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  font-family: var(--font-round);
}

.course-card p {
  font-size: 1.33rem;
  color: var(--text-muted);
  margin: 0;
}

.course-summary {
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.course-price {
  margin-bottom: 16px;
}

.price-main {
  font-size: 3.3rem;
  font-weight: 900;
  color: var(--ocean-mid);
  font-family: var(--font-round);
  margin-bottom: 4px;
}

.price-main small {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-sub {
  font-size: 1.38rem;
  color: var(--text-muted);
}

.course-gift {
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(255, 211, 105, 0.15), rgba(255, 165, 0, 0.1));
  border: 1px solid rgba(255, 211, 105, 0.4);
  border-radius: var(--radius-xs);
  font-size: 1.42rem;
  font-weight: 700;
  margin: 20px 0 28px;
  color: #b8860b;
}

/* ============================
   保護者向け
   ============================ */
.parent-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.parent-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.parent-card-icon {
  font-size: 3.0rem;
  margin-bottom: 12px;
}

.parent-card h3 {
  font-size: 1.52rem;
  font-weight: 800;
  margin-bottom: 10px;
  font-family: var(--font-round);
  color: var(--ocean-mid);
}

.parent-card p {
  font-size: 1.38rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* 声のセクション */
.testimonials {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.06), rgba(11, 61, 145, 0.04));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius);
  padding: 36px;
}

.testimonial-heading {
  font-size: 1.57rem;
  font-weight: 800;
  color: var(--ocean-mid);
  margin-bottom: 24px;
  text-align: center;
}

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

.testimonial-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.testimonial-quote {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-quote::before {
  content: '「';
}

.testimonial-quote::after {
  content: '」';
}

.testimonial-meta {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

/* ============================
   開催概要テーブル
   ============================ */
.overview-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.overview-table {
  width: 100%;
  border-collapse: collapse;
}

.overview-table th,
.overview-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 1.42rem;
}

.overview-table tr:last-child th,
.overview-table tr:last-child td {
  border-bottom: none;
}

.overview-table th {
  width: 200px;
  font-weight: 800;
  color: var(--ocean-mid);
  background: rgba(56, 189, 248, 0.06);
}

/* ============================
   FAQ
   ============================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  width: 28px;
  height: 28px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--ocean-mid);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
  background: rgba(11, 61, 145, 0.12);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 1.42rem;
  line-height: 1.75;
  margin: 0;
  border-top: 1px solid var(--border);
}

/* ============================
   申込フォームエリア
   ============================ */
.form-embed-area {
  margin: 32px 0;
}

.form-placeholder {
  background: rgba(255, 255, 255, 0.12);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.form-placeholder-icon {
  font-size: 4.5rem;
  margin-bottom: 16px;
}

.form-placeholder-text {
  font-size: 1.65rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.form-placeholder-sub {
  font-size: 1.33rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}

.entry-notes {
  font-size: 1.38rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 2;
}

/* ============================
   Final CTA
   ============================ */
.final-cta {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(0, 198, 255, 0.2), transparent 40%),
    radial-gradient(ellipse at 85% 80%, rgba(125, 211, 252, 0.15), transparent 35%),
    linear-gradient(160deg, #021230 0%, #0b3d91 55%, #0e5ca8 100%);
  color: white;
  text-align: center;
}

.final-squid {
  font-size: 5.25rem;
  margin-bottom: 24px;
  animation: float 4s ease-in-out infinite;
}

.final-cta h2 {
  font-size: clamp(3.3rem, 5vw, 5.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-round);
}

.final-cta>.container>p {
  font-size: 1.57rem;
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 36px;
  max-width: 560px;
  margin-inline: auto;
}

.final-note {
  margin-top: 18px;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================
   フッター
   ============================ */
.site-footer {
  background: #030f24;
  color: rgba(255, 255, 255, 0.75);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}

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

.footer-logo {
  font-size: 3.0rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ocean-mid);
  border-radius: 14px;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 1.42rem;
  color: white;
  margin-bottom: 2px;
}

.footer-brand-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-info p {
  font-size: 1.33rem;
  margin-bottom: 4px;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links a {
  font-size: 1.33rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ocean-sky);
  text-decoration: underline;
}

.footer-links-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================
   フローティングCTA（モバイル）
   ============================ */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(2, 27, 61, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: none;
}

.floating-cta.is-visible {
  transform: translateY(0);
}

.btn-floating {
  width: 100%;
  font-size: 1.5rem;
  padding: 14px 24px;
}

/* ============================
   コンテンツパネル（セクション共通）
   ============================ */
.reverse-on-mobile {
  display: flex;
  flex-direction: column;
}

/* ============================
   レスポンシブ
   ============================ */
@media (max-width: 1024px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0;
    padding: 48px 0 56px;
  }

  .hero-copy {
    display: contents;
  }

  .hero-copy>* {
    order: 1;
  }

  .eyebrow-wrap {
    margin-bottom: 12px;
  }

  .hero-title {
    margin-bottom: 20px;
  }

  .hero-title>span {
    display: block !important;
  }

  .hero-title>span:first-child {
    margin-bottom: 0;
  }

  .hero-badges {
    justify-content: center;
  }

  .hero-visual {
    order: 2;
    margin: 20px 0 28px;
    min-height: auto;
    width: 100%;
  }

  .hero-squid-img {
    position: relative;
    left: auto;
    transform: none;
    width: 200px;
    margin: 0 auto 16px;
    display: block;
    max-width: 200px;
    animation: float-mobile 6s ease-in-out infinite;
  }

  .hero-card {
    position: relative;
    bottom: auto;
    right: auto;
    width: 85%;
    max-width: 280px;
    margin-inline: auto;
    padding: 16px 14px;
    box-sizing: border-box;
  }

  .hero-card-badge {
    font-size: 1.5rem;
    padding: 3px 10px;
  }

  .hero-card-label {
    font-size: 1.4rem;
  }

  .hero-card-big {
    font-size: 2rem !important;
  }

  .hero-card-detail {
    font-size: 1.2rem;
  }

  .hero-glow {
    display: none;
  }

  .hero-cta-group {
    order: 3;
    justify-content: center;
  }

  .live-bubble-2 {
    display: none;
  }
}

@media (max-width: 900px) {

  .recommend-grid,
  .course-grid,
  .testimonial-grid,
  .parent-grid,
  .two-col,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stat-inner {
    flex-wrap: wrap;
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 1 calc(50% - 12px);
  }

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

@media (max-width: 640px) {
  html {
    font-size: 62.5% !important;
    /* PC版と同じ10px/rem基準。親テーマの31.25%(5px/rem)による文字縮小を防止 */
  }

  /* スマホ版の各タイトルタグやヘッダーの文字、ボタンの適正化（1rem = 10px 基準） */
  .section-heading h2 {
    font-size: 2.6rem;
    /* 26px */
  }

  h3 {
    font-size: 2.0rem;
    /* 20px */
  }

  .brand-main {
    font-size: 1.4rem;
    /* 14px */
  }

  .btn {
    font-size: 1.6rem;
    /* 16px */
    padding: 14px 24px;
  }

  .btn-large {
    font-size: 1.8rem;
    /* 18px */
    padding: 16px 28px;
  }

  .btn-floating {
    font-size: 1.6rem;
    /* 16px */
    padding: 14px 18px;
  }

  /* ファーストビューの文字重ね防止策 */
  .hero-title {
    font-size: 2.8rem;
    /* 28px */
    line-height: 1.25;
    margin-bottom: 24px;
  }

  .hero-title>span {
    display: block !important;
  }

  .hero-title>span:first-child {
    margin-bottom: 0;
  }

  .hero-title .hero-title-accent {
    display: inline-block !important;
  }

  .hero-card-big {
    font-size: 2rem !important;
  }

  /* 6つのセクションを横2つ・縦3行に */
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  /* 探究ゼミの流れ：h3を改行させない */
  .flow-step h3 {
    white-space: nowrap;
  }

  .recommend-card {
    padding: 20px 16px;
  }

  .recommend-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .recommend-card p {
    font-size: 1.35rem;
    line-height: 1.6;
  }

  /* 魚津水族館の写真サイズ修正 */
  .about-visual {
    max-width: 440px;
    margin-inline: auto;
  }

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

  .flow-steps {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
    justify-content: center;
  }

  .overview-table th,
  .overview-table td {
    display: block;
    width: 100%;
  }

  .overview-table th {
    border-bottom: none;
    padding-bottom: 4px;
    background: none;
    font-size: 1.23rem;
    color: var(--text-muted);
  }

  .overview-table td {
    padding-top: 4px;
    padding-bottom: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .btn-header {
    display: none;
  }

  .floating-cta {
    display: block;
  }

  .brand-sub {
    display: none;
  }

  .hero-date-note {
    font-size: 1.23rem;
  }

  .live-bubble {
    display: none;
  }

  .message-paper {
    padding: 32px 20px;
  }

  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .info-label {
    width: 100%;
  }

  .info-list div {
    flex-direction: column;
    gap: 4px;
  }

  .info-list dt {
    min-width: auto;
  }

  .info-list dd {
    text-align: left;
  }
}

/* ============================
   アニメーション
   ============================ */
@media (prefers-reduced-motion: no-preference) {

  .recommend-card,
  .flow-step,
  .course-card,
  .parent-card {
    animation: none;
  }

  .recommend-card,
  .flow-step {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
}

/* ============================
   拡張モジュール
   ============================ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .insta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .cta-visual-group {
    flex-direction: column;
  }
}