@charset "UTF-8";

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

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

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

:root {
  --sky: #b8dff5;
  --sky-light: #d8eef9;
  --sky-pale: #eaf5fb;
  --sky-dark: #7bbcd6;
  --navy: #1a4a7a;
  --white: #ffffff;
  --gray-light: #f0f0f0;
  --gray: #888;
  --text: #333;
  --accent: #f5a623;
  --accent2: #e05c8b;
  --font-main: 'Kosugi Maru', sans-serif;
  --font-round: 'Zen Maru Gothic', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}

/* ===== HEADER ===== */
header {
  background-color: #A0CEF5;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  width: 200px;
  height: 100%;
}

.header-nav {
  display: flex;
  gap: 20px;
  list-style: none;
}

.header-nav a {
  text-decoration: none;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--sky-dark);
}

/* ===== HERO ===== */
.hero {
  background: #bcdaf0;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背景の装飾円 */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(33, 125, 246, 0.12);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(33, 125, 246, 0.12);
}

/* 写真・ロゴを包む相対配置の親 */
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 560px;
  flex-shrink: 0;
}

/* ロゴ：中央 */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  z-index: 5;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.22));
}

/* 写真の共通スタイル */
.hero-photo {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  z-index: 2;
  background: var(--sky-light);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 左上：うちわ・フライヤー */
.hero-photo-tl {
  width: 210px;
  height: 165px;
  top: 10px;
  left: 10px;
  transform: rotate(-4deg);
  z-index: 3;
}

/* 中上：Tシャツ */
.hero-photo-tr {
  width: 175px;
  height: 145px;
  top: 10px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  z-index: 2;
}

/* 左下：集合写真 */
.hero-photo-bl {
  width: 250px;
  height: 175px;
  bottom: 10px;
  left: 10px;
  transform: rotate(-2deg);
  z-index: 3;
}

/* 右：木野山ゆう等身大POP（縦長、右側に大きく） */
.hero-photo-mr {
  width: 175px;
  height: 260px;
  top: 10px;
  right: 10px;
  transform: rotate(2deg);
  z-index: 3;
}

/* 右下：マイク・グッズ */
.hero-photo-br {
  width: 175px;
  height: 130px;
  bottom: 10px;
  right: 10px;
  transform: rotate(3deg);
  z-index: 3;
}

/* ハッシュタグテキスト（左上） */
.hero-hashtag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: clamp(10px, 2vw, 12px);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  z-index: 10;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

/* SP */
@media (max-width: 768px) {

  .container,
  .container-access {
    max-width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 20px 0 30px;
  }

  .hero-stage {
    max-width: 390px;
    height: 560px;
  }

  .hero-logo {
    width: 360px;
  }

  /* 上2枚：大きめに */
  .hero-photo-tl {
    width: 175px;
    height: 138px;
    top: 10px;
    left: 4px;
    transform: rotate(-4deg);
  }

  .hero-photo-tr {
    width: 155px;
    height: 122px;
    top: 8px;
    right: 4px;
    left: auto;
    transform: translateX(0) rotate(3deg);
  }

  /* 左下：等身大POPを縦長で左下に */
  .hero-photo-mr {
    width: 155px;
    height: 218px;
    top: auto;
    right: auto;
    bottom: 10px;
    left: 4px;
    transform: rotate(-2deg);
  }

  /* 右下：集合写真を横長で右下に */
  .hero-photo-bl {
    width: 185px;
    height: 138px;
    top: auto;
    left: auto;
    bottom: 10px;
    right: 4px;
    transform: rotate(2deg);
  }

  /* グッズは非表示 */
  .hero-photo-br {
    display: none;
  }
}

/* ===== SECTION BASE ===== */
section {
  padding: 60px 0;
}

.container {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 2%;
}

.container-access {
  max-width: 70%;
}

.section-title {
  font-family: var(--font-round);
  font-size: clamp(18px, 4.3vw, 34px);
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--sky);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ===== INFO SECTION ===== */
.info-section {
  background: var(--sky-pale);
  padding: 50px 0;
}

.info-grid {
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  /* max-width: 600px; */
  margin: 0 auto;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.info-label {
  width: 150px;
  /* padding: 5px 16px; */
}

.info-value {
  font-size: clamp(12px, 3.8vw, 26px);
  font-weight: 700;
  color: var(--navy);
  width: 350px;
  font-weight: bold;
  -webkit-text-stroke: 4px white;
  paint-order: stroke fill;
}

.info-value-br{
  display: none;
}

/* ===== LABEL BOX 見出し ===== */
.label-box {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.label-box::before {
  content: '';
  position: absolute;
  transform: translate(-3%, -8%);
  width: 100%;
  height: 100%;
  border: 2px solid #00255d;
  z-index: 3;
}

.label-inner {
  font-size: clamp(18px, 4vw, 30px);
  position: relative;
  z-index: 1;
  background-color: #4a8fc2;
  color: white;
  font-weight: bold;
  font-family: var(--font-round);
  padding: 10px 32px;
  letter-spacing: 3px;
  display: inline-block;
  width: 400px;
}

.ai-header-label-shadow {
  position: absolute;
  transform: translate(-3%, -8%);
  width: 100%;
  height: 100%;
  border: 2px solid #00255d;
  z-index: 3;
}

.ai-header-label-inner {
  position: relative;
  background-color: #4a8fc2;
  color: white;
  font-size: clamp(22px, 7vw, 38px);
  font-weight: bold;
  font-family: var(--font-round);
  padding: 10px 40px;
  letter-spacing: 3px;
  display: inline-block;
  z-index: 1;
}

/* No.バッジ（label-boxの左上に斜めで乗せる） */
.label-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 32px;
}

.label-no {
  position: absolute;
  transform:translate(-70%, -120%) rotate(340deg);
  font-family: var(--font-round);
  font-size: clamp(18px, 3.4vw, 36px);
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 10;
}

.label-no::before {
  content: '\  ';
  font-size: 11px;
  opacity: 0.5;
  white-space: pre;
}

/* .label-no::after {
  content: '/';
  font-size: 11px;
  opacity: 0.5;
} */

/* label-wrapの中にlabel-boxが入るのでmargin-bottomは0に */
.label-wrap .label-box {
  margin-bottom: 0;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--sky-pale);
  padding: 8% 0;
}

/* 見出しタグ：角丸ボタン風 */
.about-heading-wrap {
  text-align: center;
  margin-bottom: 28px;
}

.about-heading-tag {
  display: inline-block;
  background: #2a7ab7;
  color: rgb(255, 255, 255);
  font-family: var(--font-round);
  font-size: clamp(18px, 5vw, 30px);
  font-weight: 700;
  padding: 2% 4%;
  border-radius: 40px;
}

/* 説明文 */
.about-intro {
  text-align: center;
  font-size: clamp(15px, 4vw, 24px);
  line-height: 1.9;
  color: #00255d;
  margin-bottom: 44px;
}

/* 3カラムカード */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 52px;
}

.about-card {
  text-align: center;
}

/* アイコン画像（円形） */
.about-card-img {
  max-width: 250px;
  border-radius: 50%;
  margin: 0 auto;
  overflow: hidden;
  display: block;
}

.about-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-text {
  font-size: clamp(13px, 3.2vw, 20px);
  color: #00255d;
  line-height: 1.7;
  text-align: center;
  margin-top: 16px;
}

/* 最大の特徴エリア */
.about-feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 8px 0;
}

.about-feature-badge {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  position: absolute;
  transform: rotate(-20deg) translate(-140%, -110%);
  z-index: -3;
}

.about-feature-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-feature-text {
  font-family: var(--font-round);
  font-size: clamp(16px, 3vw, 26px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.5;
}

@media (max-width: 768px) {

  /* カードを縦1列に */
  .about-cards {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  /* カード1枚を横並び（アイコン＋テキスト） */
  .about-card {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
  }

  /* 偶数番目はアイコンを右に */
  .about-card:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
  }

  .about-card-img {
    width: 130px;
    height: 130px;
    flex-shrink: 0;
    margin: 0;
  }

  .about-feature-badge {
    width: 90px;
    height: 90px;
    transform: rotate(-25deg) translate(-17vh, -14vh);
  }
}

/* ===== EVENT ===== */
.event-section {
  background: #BCDAF0;
  padding: 10% 0 20% 0;
}

/* ポスター＋テキストの横並びレイアウト */
.event-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
  margin: 0 5%;
}

/* ポスター画像 */

.event-poster img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.event-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.event-text-card {
  background: white;
  border-radius: 16px;
  padding: 24px 22px;
  font-size: clamp(13px, 3.2vw, 24px);
  line-height: 1.85;
  color: var(--text);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.event-text-card b {
  color: var(--navy);
}

/* Instagramボタン（ハンバーガーと共通スタイル流用） */
.event-insta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 700;
  font-family: var(--font-round);
  text-decoration: none;
  background: #5b9ec9;
  color: white;
  box-shadow: 0 5px 0 #3472a0;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  max-width: 360px;
}

.event-insta-btn:active {
  transform: translateY(4px);
  box-shadow: none;
}

.event-insta-btn svg {
  flex-shrink: 0;
}

/* SP */
@media (max-width: 768px) {
  .event-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-poster {
    aspect-ratio: 3/4;
    max-width: 320px;
    margin: 0 auto;
  }

  .event-insta-btn {
    max-width: 100%;
  }

  .about-card-text{
max-width: 350px;
  }
}

/* ===== AI SLIDESHOW SECTION ===== */
.ai-section {
  padding: 0;
  height: 4500px;
  position: relative;
  background-color: #BCDAF0;
}

.ai-section-header {
  text-align: center;
  padding: 4% 0 8%;
}

.ai-header-text {
  font-family: var(--font-round);
  font-size: clamp(15px, 4vw, 24px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.9;
  margin-top: 16px;
  position: relative;
  z-index: 1;
  font-weight: bold;
  -webkit-text-stroke: 4px white;
  paint-order: stroke fill;
}

.ai-slideshow-outer {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* overflow: hidden; */
}

/* スクロール量をかせぐ見えないボックス */
.ai-slideshow-inner {
  height: 4200px;
  /* カード4枚 × 700px + 最初の止まり700px */
  position: relative;
}

/* カードを sticky で固定するコンテナ */
/* カードが重なり合うベースエリア */
.ai-card-stack {
  width: 100%;
  flex-grow: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
  margin-top: -20px;
  /* 見出しとのバランス調整 */
}

/* 1枚1枚のカードの共通設定 */
.ai-card {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  will-change: transform, opacity;
}

/* カード内：見出し */
.ai-card-heading {
  font-family: var(--font-round);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 900;
  color: var(--white);
  text-align: center;
  line-height: 1.4;
}

.ai-card-heading .num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--sky);
  color: var(--navy);
  border-radius: 50%;
  font-size: clamp(14px, 3vw, 18px);
  font-weight: 900;
  margin-right: 10px;
  flex-shrink: 0;
  vertical-align: middle;
}

/* カード内：本文ボックス */
.ai-card-body {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 24px 32px;
  width: 100%;
  max-width: 640px;
  font-size: clamp(13px, 2.5vw, 15px);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
}

.ai-card-body ul {
  list-style: none;
  padding: 0;
}

.ai-card-body li {
  padding: 6px 0 6px 20px;
  position: relative;
}

.ai-card-body li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--sky);
}

/* カード内：情報グリッド（日程・場所など） */
.ai-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 640px;
}

.info-row {
  padding-bottom: 20px;
}

.ai-card-info-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ai-card-info-label {
  background: var(--sky);
  color: var(--navy);
  font-size: clamp(11px, 2vw, 13px);
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 20px;
  white-space: nowrap;
  font-family: var(--font-round);
}

.ai-card-info-value {
  /* font-size: 16px; */
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-round);
}

/* 画面右側のドットナビゲーション */
.ai-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  /* スライドエリア外では非表示（JSで制御） */
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}

/* ドットインジケーター */
.ai-dots {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  /* JSで制御 */
  flex-direction: column;
  gap: 10px;
  z-index: 200;
  pointer-events: none;
}

.ai-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s, transform 0.3s;
}

.ai-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== GUEST ===== */
.guest-section {
  background: #BCDAF0;
  padding: 16% 0 10%;
}

.guest-card {
  background: #BCDAF0;
  border-radius: 20px;
  overflow: hidden;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 0 auto;
}

.guest-name {
  font-family: var(--font-round);
  font-size: clamp(20px, 6vw, 32px);
  font-weight: 900;
  color: #297AB7;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-weight: bold;
  -webkit-text-stroke: 10px white;
  paint-order: stroke fill;
}


/* PC：左テキスト・右写真の2カラム */
.guest-body {
  display: grid;
  grid-template-columns: 1fr 50%;
  gap: 24px;
  align-items: start;
}

.guest-img {
  width: 100%;
}

.guest-img img {
  width: 100%;
  object-fit: cover;
  border-radius: 14px;
}

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

.guest-label-btn {
  display: inline-block;
  width: 90px;
}

.guest-detail {
  font-size: clamp(13px, 3vw, 16px);
  line-height: 1.8;
  color: var(--text);
}

.guest-detail dt {
  font-weight: 700;
  color: var(--text);
  margin-top: 8px;
}

.guest-detail dd {
  margin: 0;
}

.guest-sns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.guest-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--sky-pale);
  border: 1px solid var(--sky);
  color: var(--navy);
  border-radius: 50%;
  transition: background 0.2s;
}

.guest-sns a:hover {
  background: var(--sky);
}

/* SP */
@media (max-width: 768px) {
  .guest-card {
    padding: 24px 20px;
  }

  .guest-body {
    grid-template-columns: 1fr;
  }

  /* SP：写真を先に、テキストを後に */
  .guest-img {
    order: -1;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ===== ACCESS ===== */
.access-section {
  background: var(--white);
  padding: 10% 0;
}

.access-mb:not(:last-child){
margin-bottom: 14%;
}

.access-mb p{
  text-align: center;
  line-height: 1.5;
  font-size: clamp(12px, 2.6vw, 16px);
  margin-bottom: 2%;
}

.access-mb p span{
  font-size: clamp(16px, 4vw, 24px);
}

.access-map {
  border-radius: 12px;
  border: 1px dashed #ccc;
}

.access-map-img {
  width: 30%;
}

.access-event-poster{
  max-width: 500px;
  text-align: center;
  margin: 0 auto;
  display: block;
}

/* ===== FOOTER ===== */
footer {
  background: #BCDAF0;
  color: var(--navy);
  padding: 48px 24px 36px;
  text-align: center;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* ロゴ＋学校名の横並び */
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}

.footer-logo {
  width: 90px;
  height: 90px;
}

.footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-school-block {
  text-align: left;
}

/* 住所・電話 */
.footer-info {
  font-size: clamp(12px, 2.5vw, 14px);
  line-height: 2;
  color: var(--navy);
}

/* SNSアイコン横並び */
.footer-sns {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  margin: 4px 0;
}

.footer-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  text-decoration: none;
  font-size: clamp(16px, 3vw, 20px);
  transition: opacity 0.2s;
}

.footer-sns a:hover {
  opacity: 0.8;
}

/* フォローの手書き風テキスト */
.footer-follow-label {
  font-size: clamp(13px, 2.5vw, 16px);
  transform:translate(-78%, 80%) rotate(353deg);
  display: inline-block;
  margin-bottom: 8px;
  font-family: var(--font-round);
  position: relative;
}



/* フッターボタン群 */
.footer-btns {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 320px;
}

.footer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: clamp(13px, 2.5vw, 16px);
  font-weight: 700;
  font-family: var(--font-round);
  text-decoration: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  cursor: pointer;
}

.footer-btn:active {
  transform: translateY(4px);
  box-shadow: none !important;
}

.footer-btn-insta {
  background: #5b9ec9;
  color: white;
  box-shadow: 0 5px 0 #3472a0;
}

.footer-btn-hp {
  background: white;
  color: var(--navy);
  border: 1.5px solid #ccc;
  box-shadow: 0 5px 0 #b0b0b0;
}

.footer-bottom {
  font-size: clamp(9px, 1.5vw, 11px);
  color: rgba(26, 74, 122, 0.45);
  margin-top: 8px;
}

/* ===== WAVE DIVIDERS ===== */
.wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
}

.wave svg {
  display: block;
  width: 100%;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.guest-card {
  background-color: #fff;
}

.hero-text {
  animation: fadeInUp 0.8s ease forwards;
}

.hero-images {
  animation: fadeInUp 0.8s 0.2s ease both;
}

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
  display: none;
  /* PCでは非表示 */
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== DRAWER ===== */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--sky);
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 60px 32px 40px;
  transform: translateX(100%);
  /* 最初は右に隠れている */
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
  /* 開いたら表示 */
}

/* ×ボタン */
.drawer-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: clamp(20px, 4vw, 24px);
  color: var(--navy);
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  padding: 4px;
}

/* ナビリンク */
.drawer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drawer-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.drawer-link {
  display: block;
  padding: 18px 4px;
  font-size: clamp(15px, 3vw, 18px);
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}

/* ボタン群 */
.drawer-buttons {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 12px;
  font-size: clamp(13px, 2.5vw, 15px);
  font-weight: 700;
  font-family: var(--font-round);
  text-decoration: none;
  border: none;
  cursor: pointer;
  /* 立体感：下に影で浮かせる */
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

/* 押したとき：影が消えて沈む */
.drawer-btn:active {
  transform: translateY(4px);
  box-shadow: none !important;
}

.drawer-btn-insta {
  background: #5b9ec9;
  color: white;
  box-shadow: 0 5px 0 #3472a0;
  margin: 0 auto;
  width: 235px;
}

.drawer-btn-insta svg {
  flex-shrink: 0;
}

.drawer-btn-hp {
  background: white;
  color: var(--navy);
  border: 1.5px solid #ccc;
  box-shadow: 0 5px 0 #b0b0b0;
  margin: 0 auto;
  width: 235px;
}

/* ドロワー内フッターロゴ */
.drawer-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ロゴ画像：リンクにする */
.drawer-footer-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.drawer-footer-logo {
  width: 80px;
  height: 100%;
}

.drawer-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.drawer-footer-school {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* オーバーレイ */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 140;
}

.drawer-overlay.is-visible {
  display: block;
}

/* ===== SP メディアクエリ (768px以下) ===== */
@media (max-width: 768px) {
  .pc-nav {
    display: none;
  }

  /* PCナビを隠す */
  .hamburger-btn {
    display: flex;
  }

  /* ハンバーガーを表示 */
}

    /* カード共通スタイル */
    .cd-wrap {
      background-image: url('../image/countdown.svg'); /* ★背景画像 */
      background-size: cover;
      background-position: center;
      border-radius: 16px;
      padding: 14px 20px 18px;
      width: 100%;
      max-width: 100%;
      position: relative;
      overflow: hidden;
      box-shadow: 0 6px 24px rgba(30, 90, 160, 0.6);
      margin: 0 auto;
    }

    .cd-date {
      text-align: center;
      font-size: 12px;
      color: #3a7ab8;
      margin-bottom: 2px;
      font-family: var(--font-round);
    }

    .cd-title {
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      color: #2a6db5;
      margin-bottom: 4%;
      font-family: var(--font-round);
    }

    .cd-row {
      display: flex;
      align-items: baseline;
      justify-content: center;
      gap: 4px;
      flex-wrap: wrap;
    }

    .cd-ato {
      font-size: 11px;
      color: #3a7ab8;
      align-self: flex-end;
    }

    .cd-block {
      display: flex;
      align-items: baseline;
      gap: 1px;
    }

    .cd-num {
      font-size: 32px;
      font-weight: bold;
      color: #1a5fa0;
      line-height: 1;
      font-variant-numeric: tabular-nums;
      min-width: 2ch;
      text-align: right;
      font-family: var(--font-round);
    }

    .cd-unit {
      font-size: 11px;
      color: #3a7ab8;
    }

    .cd-msg {
      text-align: center;
      font-size: 11px;
      color: #5a9bc8;
      margin-top: 6%;
    }

    /* ===== 固定カウントダウン（常時右下表示） ===== */
    .cd-fixed {
      position: fixed;
      max-width: 325px;
      right: 20px;
      bottom: 24px;
      z-index: 300;
      /* 常時表示 */
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .cd-fixed.is-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateY(12px);
    }

    /* SP */
    @media (max-width: 768px) {
      .cd-fixed {
      right: 10px;
      bottom: 16px;
      }
      .cd-wrap {
        width: 200px;
        height: 100%;
        padding: 6% 8%;
      }
      .cd-title{
        font-size: 14px;
      }
      .cd-num{
      font-size: 16px; 
    }
    .cd-unit{
      font-size: 10px;
    }
    .cd-msg{
      margin: 0;
      min-height: 0;
    }
    .cd-row{
      font-size: 8px;
    }
    }

    @media (max-width: 520px) {

      .info-label{
        width: 90px;
      }

      .label-inner{
        width: 260px;
      }

      .cd-fixed{
      right: 10px;
      bottom: 12px;
      }
        .cd-wrap {
        width: 140px;
        height: 100%;
        padding: 4% 6%;
        border-radius: 6px;
      }

      .cd-date{
        font-size: 10px;
        white-space: nowrap;
      }

            .cd-title{
        font-size: 10px;
      }

      .cd-num{
      font-size: 10px; 
    }

    .cd-unit{
      font-size: 8px;
    }

    }


/* ==========================================================================
   ★ 新しいVivoo式スライドショー用のCSS（追加分）
   ========================================================================== */
.ai-section {
  padding: 0;
  /* 4500pxの高さを持たせることで、スクロールを吸収する「すべり台」を作ります */
  height: 4500px;
  position: relative;
  background-color: #BCDAF0;
  /* 必要に応じて元の背景色に変えてください */
}
