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

:root {
  /* --- カラーパレット設定（パンフレット準拠） --- */
  --navy-dark: #0d1f4c;
  /* ロゴのダークブルー */
  --navy-royal: #2651f4;
  /* パンフレットのロイヤルブルー */
  --blue-mid: #2035f1;
  /* パンフレットのミドルブルー */
  --cyan: #38bbff;
  /* パンフレットのシアン */
  --orange: #ff8400;
  /* パンフレットのオレンジ（太陽・星） */

  --navy: var(--navy-royal);
  /* メイン使用色をロイヤルブルーに変更 */
  --gold: #c8963e;
  --gold-light: #e8b96a;
  --cream: #d2edfe;
  /* パンフレットのライトブルーを背景のアクセントに */
  --warm-white: #fffef9;
  --charcoal: #2c2c2c;
  --mid-gray: #6b6b6b;
  --border: #e0d9ce;
}

body {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  color: var(--charcoal);
  background: var(--warm-white);
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== HEADER (ヘッダー部分) ===== */
.top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 15px 60px;
  /* 余白を広げて見やすく */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #ffffff;
  z-index: 30;
  /* 確実に最前面へ */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  /* 文字の裏に薄い影を入れます */
  background: transparent;
}

header {
  background: #ffffff url('jasd_header_bg.png') no-repeat top center;
  background-size: 100% 170px;
  /* 縦に少し押しつぶして薄くする */
  padding: 90px 30px 20px;
  /* 上下の白地を狭くし、コンテンツを上へ配置 */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

/* 以前の擬似要素は完全にクリア */
header::before,
header::after {
  content: none;
  display: none;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.logo-seal {
  width: 200px;
  height: 200px;
  margin-top: -30px;
  /* マイナスの値を大きくするほど上に上がる */
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.logo-name {
  font-size: 64px;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-name .jasd {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2651f4;
  display: block;
  margin-top: 8px;
}

.header-right-bottom {
  position: absolute;
  right: 30px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.header-right-bottom .contact-info {
  font-size: 20px;
  font-weight: 700;
  color: #2651f4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-right-bottom .contact-info a {
  color: #2651f4;
  text-decoration: underline;
  transition: opacity 0.2s;
}

.header-right-bottom .contact-info a:hover {
  opacity: 0.8;
}

.header-right-bottom .lang-flags {
  display: flex;
  gap: 8px;
  font-size: 18px;
}

.lang-flags span {
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lang-flags span:hover {
  opacity: 1;
}

/* ===== HERO (ヒーローセクション) ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* opacityの数値を下げると写真が暗くなり、上げると明るくなります */
/* ヒーロー画像の上に被せるフィルター色（初期はネイビー）。画像をそのまま見せたい場合は background: transparent; にします */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--navy);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 50px, rgba(200, 150, 62, 0.05) 50px, rgba(200, 150, 62, 0.05) 51px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 60px;
  width: 100%;
  min-height: 520px;
}

/* 左側のメインテキストを囲む透明なボックスの設定 */
.hero-inner {
  max-width: 840px;
  background: rgba(255, 255, 255, 0.1);
  /* 背景の透明度（0.03は非常に薄い色） */
  padding: 40px 48px;
  border-radius: 16px;
  backdrop-filter: blur(1px);
  /* すりガラス効果の強さ。数値を大きくすると背景がよりボヤけます */
  -webkit-backdrop-filter: blur(1px);
  /* すりガラス効果の強さ。数値を大きくすると背景がよりボヤけます */
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 60px;
  /* Shift text up */
}

.hero-inner h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--warm-white);
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: normal;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-inner h1 em {
  font-style: normal;
  color: var(--warm-white);
}

.hero-inner p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 30px; /* 24pxから30pxへ拡大 */
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.hero-info-box {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-70%);
  z-index: 2;
  background: rgba(13, 31, 76, 0.05);
  /* 背景の透明度（0.05は非常に薄い色） */
  backdrop-filter: blur(6px);
  /* すりガラス効果の強さ。数値を大きくすると背景がよりボヤけます */
  -webkit-backdrop-filter: blur(6px);
  /* すりガラス効果の強さ。数値を大きくすると背景がよりボヤけます */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 28px 36px;
  text-align: center;
}

.hero-info-box .met {
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.hero-info-box .lbl {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-info-box hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 8px 0;
}

/* ===== ABOUT (学校紹介文) =====
   プログラムの下にある短い文章のスタイルです。 */
/* 背景色や余白を設定。デフォルトはクリーム色(--cream) */
.about-section {
  background: #d2edfe; /* 指定のライトブルーに統一 */
  padding: 36px 80px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.about-section p {
  max-width: 900px; /* 文字拡大に合わせて最大幅を広げます */
  margin: 0 auto;
  font-size: 32px; /* ★見出し(30px)より若干大きく設定 */
  line-height: 1.6; /* 大きな文字に合わせて行間を調整 */
  color: #1a3a8a; /* 視認性を高めるために濃いめの色に変更 */
}

.about-section strong {
  color: #1a3a8a;
  font-weight: 700;
}

/* ===== PROGRAMS (プログラム選択カード) =====
   ヒーロー画像に重なっている2つの大きなボタンのスタイルです。 */
/* ===== PROGRAMS (プログラム選択カード) =====
     ヒーロー画像に重なっている2つの大きなボタンのスタイルです。 */
.programs-section {
  padding: 0 40px 24px;
  position: relative;
  z-index: 10;
  margin-top: -80px;
}

.campus-label {
  background: rgba(255, 255, 255, 0.1); /* メインボックスと同じ白の10% */
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  color: #ffffff;
  padding: 10px 28px;
  border-radius: 10px;
  font-size: 22px; /* 18pxから22pxへ拡大 */
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 10px;
  margin-bottom: 40px; /* ボタンとの距離をしっかり取る */
  display: inline-block;
  align-self: center; /* 確実に中央へ */
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.program-cards {
  display: flex;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  /* 中央ロゴの基準点になります */
}

.prog-card {
  flex: 1;
  border: none;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: 0 16px 40px rgba(13, 31, 76, 0.15);
}

.tsumiki-card {
  border-radius: 28px 0 0 28px;
  background: #ffee9b;
}

/* 指定のイエローに変更 */
.tsumiki-card:hover {
  background: #fdf273;
}

.elem-card {
  border-radius: 0 28px 28px 0;
  background: #2651f4;
}

/* 右側を大きく丸く */

/* 中央に重なるJASDロゴのスタイル */
.center-overlap-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: #ffffff;
  border-radius: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 6px solid #ffffff;
  /* 縁取りを細くして白い部分を縮小 */
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.center-overlap-logo img {
  width: 96%;
  height: 96%;
  object-fit: contain;
}

.prog-card:hover {
  transform: translateY(-8px);
  z-index: 5;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.2);
}

.prog-card-inner {
  padding: 32px 48px;
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
  text-align: left;
}

/* 左側のカード：テキストを一行に収めるため、左余白と隙間を詰め、右の確保分も微調整 */
.tsumiki-card .prog-card-inner {
  padding: 32px 75px 32px 16px;
  gap: 16px;
}

/* 右側のカード */
.elem-card .prog-card-inner {
  padding-left: 120px;
}

.prog-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.prog-icon img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.tsumiki-card .prog-icon {
  width: 100px;
  height: 100px;
}

.prog-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prog-name {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.tsumiki-card .prog-name {
  color: var(--navy);
}

.tsumiki-card .prog-grade {
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
  display: block;
}

.tsumiki-card .prog-extra {
  font-size: 20px;
  color: var(--navy);
  font-weight: 400;
  margin-top: 4px;
  display: block;
  letter-spacing: 0.02em;
}

.elem-card .prog-name {
  color: #ffffff;
}

.elem-card .prog-grade {
  font-size: 20px;
  color: #ffffff;
  font-weight: 400;
  display: block;
}

.elem-card .prog-extra {
  font-size: 20px;
  color: #ffffff;
  font-weight: 400;
  margin-top: 4px;
  display: block;
  letter-spacing: 0.02em;
}

/* WASC認定ロゴのスタイル */
.wasc-accreditation {
  text-align: center;
  margin-top: 32px;
  padding-bottom: 20px;
}

.wasc-accreditation img {
  max-width: 280px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.wasc-accreditation img:hover {
  opacity: 1;
}

.sec-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
  justify-content: center;
}

.gold-bar {
  width: 4px;
  height: 44px;
  background: var(--gold);
  border-radius: 4px;
  flex-shrink: 0;
}

.sec-head-text .overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.sec-head-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
}

/* ===== ACTIVITIES (アクティビティ・関連プログラム) =====
   After SchoolやSummer Campのカードのスタイルです。 */
.activities-section {
  padding: 60px 60px 72px;
  background: var(--warm-white);
}

.activity-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.act-card {
  background: #d2edfe; /* 指定のライトブルーに統一 */
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.act-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.act-img-area {
  width: 100%;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.act-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* マウスを乗せた時に写真が少しズームされる効果 */
.act-card:hover .act-img-area img {
  transform: scale(1.05);
}

.act-img-placeholder {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  font-size: 44px;
  position: relative;
  z-index: 1;
}

.act-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  z-index: -1;
  background-image: radial-gradient(circle at top right, rgba(200, 150, 62, 0.3) 0%, transparent 60%), radial-gradient(circle at bottom left, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
}

.act-body {
  padding: 16px 18px;
}

.act-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.act-grade {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== WHAT MAKES JASD UNIQUE (特徴・強み) =====
   3つの白いカードが並ぶ青い背景のエリアです。 */
/* ここの background を変更すると、エリア全体の背景色が変わります */
.unique-section {
  padding: 72px 60px;
  background: #2651f4;
  position: relative;
  overflow: hidden;
}

.unique-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(200, 150, 62, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.unique-section .sec-head-text h2 {
  color: var(--warm-white);
}

.unique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.unique-card {
  background: #ffffff;
  border: none;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(13, 31, 76, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unique-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(13, 31, 76, 0.25);
}

.unique-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.unique-title {
  font-size: 22px; /* 16pxから22pxへ拡大（見出し30pxより小さく） */
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.unique-desc {
  font-size: 16px; /* 14pxから16pxへ拡大 */
  line-height: 1.6; /* 文字サイズに合わせて微調整 */
  color: #444;
}

/* ===== LOCATIONS (キャンパス情報と地図) =====
   地図と住所が並ぶエリアのスタイルです。 */
.locations-section {
  padding: 72px 60px 40px;
  background: #d2edfe; /* 指定のライトブルーに統一 */
}

.locations-intro {
  text-align: center;
  margin-bottom: 40px;
}

.locations-intro h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.locations-intro p {
  font-size: 15px;
  color: var(--mid-gray);
  font-weight: 500;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}

.loc-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 26px 28px;
}

.loc-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
}

.loc-lic {
  font-size: 11px;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.loc-info {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

.loc-info a {
  color: var(--gold);
  text-decoration: none;
}

.loc-info a:hover {
  text-decoration: underline;
}

.loc-map {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.loc-map iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
}

/* ===== CONTACT CTA (お問い合わせボタン) =====
   フッターのすぐ上にあるエリアです。 */
.contact-cta {
  background: var(--warm-white);
  padding: 36px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
}

/* お問い合わせボタン自体の色や形を設定 */
.btn-contact {
  background: #2651f4;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 52px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.btn-contact:hover {
  background: #38bbff;
  transform: translateY(-2px);
}

/* ===== FOOTER (フッター) =====
   ページの一番下のエリアです。 */
/* フッターの背景色や上下左右の余白を設定 */
footer {
  background: var(--navy);
  padding: 28px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.wasc-badge {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

.copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-social {
  display: flex;
  gap: 12px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-social span {
  cursor: pointer;
  transition: color 0.2s;
}

.footer-social span:hover {
  color: var(--gold-light);
}

/* ===== RESPONSIVE (スマホ用レイアウト調整) =====
     画面幅が768px以下になった場合（スマホやタブレット）のスタイルです。
     文字サイズや余白などをスマホ向けに上書きしています。
  */
@media (max-width: 768px) {
  .top-bar {
    position: relative;
    padding: 10px 15px;
    font-size: 10px;
    height: auto;
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
    background: var(--navy-dark);
    z-index: 1001;
  }

  /* スマホではヘッダーを完全に文書の流れに戻し、重なりを物理的に不可能にする */
  header {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 15px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
  }

  .logo-wrap {
    margin: 0 !important;
  }

  .logo-seal {
    width: 50px;
    height: 50px;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
  }

  .logo-name {
    font-size: 20px; /* 16pxから20pxへ拡大 */
    margin-left: 10px;
    font-weight: 700;
  }

  .logo-name .jasd {
    font-size: 12px; /* 9pxから12pxへ拡大 */
    margin-top: 2px;
  }

  .header-right-bottom {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto;
  }

  .header-right-bottom .contact-info {
    display: none !important;
  }

  .header-right-bottom .lang-flags {
    font-size: 20px !important;
  }

  .hero-content {
    padding: 30px 15px;
  }

  .hero-inner {
    padding: 16px 20px; /* 上下をタイトにして高さを削減 */
    margin-bottom: 10px;
    text-align: center;
  }

  .hero-inner h1 {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 12px; /* 見出しと説明文の間隔をタイトに */
  }

  .hero-inner p {
    font-size: 20px; /* 17pxから20pxへ拡大 */
    font-weight: 500;
    line-height: 1.4;
  }

  .programs-section {
    margin-top: -30px;
    padding: 0 15px 30px;
  }

  .hero-content {
    align-items: center; /* スマホでは中央寄せ */
    justify-content: flex-end; /* テキストを下部に寄せて子どもの顔を見せる */
    padding: 40px 20px;
    min-height: auto;
  }

  .campus-label {
    font-size: 18px; /* 16pxから18pxへ拡大 */
    margin-top: 8px;
    margin-bottom: 0;
    margin-left: 0;
    text-align: center;
  }

  .program-cards {
    flex-direction: column;
    gap: 12px;
  }

  /* ボタンの高さを統一し、少し余裕を持たせる */
  .tsumiki-card,
  .elem-card {
    border-radius: 18px;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* スマホ版：中央ロゴをさらに大きくしてインパクトを出す */
  .center-overlap-logo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 135px;
    height: 135px;
    border: 4px solid #ffffff;
    margin: -50px auto;
    /* 重なりを深くする */
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  }

  /* ボタンの中身を完全に中央寄せにし、ロゴを非表示にする */
  .prog-icon {
    display: none;
  }

  .prog-card-inner {
    padding: 20px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .tsumiki-card .prog-card-inner {
    padding: 20px 20px 48px 20px;
    justify-content: center;
    text-align: center;
  }

  .elem-card .prog-card-inner {
    padding: 48px 20px 20px 20px;
    justify-content: center;
    text-align: center;
  }

  .prog-info {
    text-align: center;
    width: 100%;
  }

  .prog-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .prog-name {
    font-size: 26px;
  }

  .prog-grade {
    font-size: 18px;
  }

  .prog-extra {
    font-size: 18px;
    margin-top: 4px;
  }

  .wasc-accreditation {
    margin-top: 20px;
  }

  .wasc-accreditation img {
    max-width: 180px;
  }

  /* 紹介文の上の余白を詰める */
  .about-section {
    padding: 20px 20px 48px;
  }

  .about-section p {
    font-size: 22px; /* 14pxから22pxへ拡大 */
    line-height: 1.5;
  }

  .unique-grid,
  .locations-grid,
  .activity-cards {
    grid-template-columns: 1fr;
  }

  .activities-section {
    padding: 40px 15px;
  }

  .locations-section {
    padding: 40px 15px;
  }

  .locations-grid {
    gap: 16px;
  }

  footer {
    padding: 32px 20px;
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}