:root {
  --main-green: #94d23d;      /* 明るめの黄緑 */
  --main-green-dark: #6ea12f;
  --bg-page: #f5f7fb;
  --text-main: #333333;
  --text-muted: #777777;
}

/* リセット系 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  color: var(--text-main);
  background: var(--bg-page); /* ページ全体を薄いグレー寄りに */
  line-height: 1.7;
  position: relative;          /* デコ写真配置の基準にする */
}




body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  /* 柔らかいクリーム＋ごく薄いグリーン斜線 */
  background:
    radial-gradient(circle at 0% 0%, #fffceb 0%, #fff7dd 40%, #ffe9d2 80%),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 156, 132, 0.03) 0,
      rgba(0, 156, 132, 0.03) 18px,
      rgba(0, 156, 132, 0.08) 18px,
      rgba(0, 156, 132, 0.08) 36px
    );
  background-attachment: fixed;
  color: #222;
}

.page-wrap {
  min-height: 100vh;
}

/* --------------------------------
 * 上部：ヘッダー＋キャッチコピー
 * -------------------------------- */

.top-header {
  background: #ffffff;
  padding: 1.1rem 1.8rem 1rem;
  position: relative;
}

/* ロゴ行 */
.top-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* ロゴブロック */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-logo-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2.4px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}

.header-logo-text {
  line-height: 1.3;
}

.header-logo-main {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.header-logo-sub {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

/* 右上ボタン */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  border: 2px solid #000;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  box-shadow: 3px 3px 0 #000;
}

.header-pill--yellow {
  background: #ffe966;
}

.header-pill--red {
  background: #ff675b;
  color: #fff;
}

/* ハンバーガーボタン */
.header-menu-btn {
  width: 56px;
  height: 40px;
  border-radius: 999px;
  border: 2px solid #000;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 3px 3px 0 #000;
}

.header-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #000;
}

/* キャッチコピーエリア（静止版を使う場合用。動画版では上書きされます） */
.top-catch {
  max-width: 960px;
  margin: 0.8rem auto 0;
  text-align: center;
  position: relative;
  padding: 1.6rem 0 3.0rem;
}

.catch-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.catch-title {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.35;
  font-weight: 900;
}


.catch-main {
  position: relative;
  z-index: 2;
}

.catch-main-wrap {
  position: relative;
  display: inline-block;
  padding: 0.1rem 0.6rem;
}

/* 手書きマーカー風の下線（少しナナメ） */
.catch-underline {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: -6px;
  height: 12px;
  background: rgba(255, 230, 111, 0.85); /* 黄色マーカー */
  border-radius: 999px;
  transform: rotate(-2deg);
  box-shadow: 0 3px 0 rgba(0,0,0,0.25);
  z-index: 1;
}
.catch-word-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 1.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #000;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-shadow: none;
  box-shadow: 0 0 0 2px #000, 4px 4px 0 rgba(0,0,0,0.4);
  overflow: visible;
}
/* タイトル周りの落書き */
.top-hero-video-inner .catch-title::before,
.top-hero-video-inner .catch-title::after {
  content: "★";
  position: absolute;
  font-size: 1.6rem;
  color: rgba(255, 247, 192, 0.9);
  text-shadow: 0 3px 0 rgba(0,0,0,0.3);
  animation: heroDoodle 4.2s ease-in-out infinite;
}

/* 左上の★ */
.top-hero-video-inner .catch-title::before {
  top: -14px;
  left: 16%;
}

/* 右下の●っぽいマークにする */
.top-hero-video-inner .catch-title::after {
  content: "●";
  bottom: -10px;
  right: 14%;
  font-size: 1.2rem;
  animation-delay: 1.1s;
}
@media (max-width: 480px) {
  .top-hero-video-inner .catch-title {
    font-size: 1.7rem;
    gap: 0.6rem;
  }

  .catch-word-badge {
    padding: 0.25rem 1.2rem;
    letter-spacing: 0.16em;
    box-shadow: 0 0 0 2px #000, 3px 3px 0 rgba(0,0,0,0.4);
  }

  .catch-underline {
    height: 10px;
    bottom: -4px;
  }
}

@keyframes heroDoodle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(-6deg); }
}
/* バッジの外側に“ガタガタな手書き線”イメージ */
.catch-word-scribble {
  position: absolute;
  inset: -8px -10px;
  border-radius: 999px;
  border: 2px dashed rgba(0,156,132,0.9); /* コーポレートグリーン */
  transform: rotate(2deg);
  opacity: 0.9;
  pointer-events: none;
}
.catch-word {
  display: inline-block;
  margin: 0.25rem 0;
  padding: 0.1rem 0.6rem 0.2rem;
  border-radius: 12px;
  background: #9de5ff;
  box-shadow: 0 0 0 4px #ffffff, 4px 4px 0 #000;
  letter-spacing: 0.25em;
}

/* 左右のイラスト風 */
.catch-illust {
  position: absolute;
  top: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  font-size: 0.78rem;
}

.catch-illust--left {
  left: 6%;
}

.catch-illust--right {
  right: 6%;
}

.catch-illust-face {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #000;
  background: #fff4c5;
  font-size: 1.7rem;
  box-shadow: 3px 3px 0 #000;
}

.catch-illust-caption {
  background: #fff;
  border-radius: 999px;
  padding: 0.15rem 0.6rem;
  border: 1.5px solid #000;
}

/* --------------------------------
 * 下部：ヒーロー（学科紹介エリア）
 * -------------------------------- */

.hero {
  padding: 3.5rem 1.5rem 4rem;
  margin-top: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.9) 0, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0, 156, 132, 0.18) 0, transparent 55%),
    repeating-linear-gradient(
      90deg,
      #e7fff6 0,
      #e7fff6 22px,
      #d9f7ef 22px,
      #d9f7ef 44px
    );
}


/* ラッパー：横幅制限＋中央寄せ */
.hero-inner {
  max-width: 1200px;  /* 他セクションに合わせて調整 */
  margin: 0 auto;
  min-height: 60vh;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 0;
}

/* 左：写真コラージュ ---------------- */

.hero-photos {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.8fr;
  grid-template-rows: 1.1fr 0.9fr;
  gap: 10px;
  border-radius: 28px;
  padding: 10px;
  background: #6fd4ff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
  flex:1;
}

.hero-photo {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
}

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

/* 中央の大きい写真 */
.hero-photo--main {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

/* 左右の縦長 */
.hero-photo--tall:nth-of-type(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.hero-photo--tall:nth-of-type(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

/* 下段の横長 */
.hero-photo--wide:nth-of-type(4) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.hero-photo--wide:nth-of-type(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
/* グループ校セクション：写真1枚レイアウト用 */
.hero-photo--single {
  max-width: 560px;
  margin-left: auto;           /* 右側に寄せる */
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}
/* ★ シングル写真だけはトリミングしない */
.hero-photo--single img {
  width: 100%;
  height: auto;              /* ← ここで高さ固定を解除 */
  object-fit: contain;       /* ← 画像全体が入るようにする */
  display: block;
}

/* スマホでは縦1列にして中央寄せ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    row-gap: 1.6rem;
  }

  .hero-photo--single {
    margin: 0 auto;
    max-width: 420px;
  }
}

/* 右：カラーパネル ------------------ */

.hero-main {
  position: relative;
  padding-left: 1.6rem;
  flex:1;
}

.hero-main-inner {
  height: 100%;
  border-radius: 40px;
  background: #6fd4ff;
  padding: 2.2rem 2.4rem 2.4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

/* 右パネルの角丸＆飾り */
.hero-main-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  border: 4px solid #000;
  pointer-events: none;
}
.hero-main-inner::after {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #fff7aa;
  border: 4px solid #000;
}

/* タグライン ------------------------ */

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #000;
  color: #fff;
}

.hero-subtag {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  border: 2px solid #000;
  background: #fffbe0;
}

/* 吹き出し -------------------------- */

.hero-speech {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border-radius: 26px;
  padding: 0.7rem 1rem;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.hero-speech::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 22px;
  height: 18px;
  background: #fff;
  border-bottom: 3px solid #000;
  border-left: 3px solid #000;
  transform: translateX(-50%) skewX(20deg);
}

.hero-speech-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffe66f;
  border: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-speech-face {
  font-size: 1.4rem;
}

.hero-speech-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 700;
}

.hero-speech-text span {
  background: linear-gradient(transparent 60%, #ffe66f 60%);
}

/* 見出し ---------------------------- */

.hero-title {
  margin: 1.2rem 0 0.6rem;
  font-size: clamp(2.0rem, 4vw, 2.6rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #000;
  position: relative;
  z-index: 1;
}

.hero-title span {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
}

/* リードテキスト -------------------- */

.hero-lead {
  margin: 0.6rem 0 1.4rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #053047;
  position: relative;
  z-index: 1;
}

/* CTA ------------------------------- */

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 3px solid #000;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.hero-cta--primary {
  background: #ffe66f;
  color: #000;
  box-shadow: 4px 4px 0 #000;
}

.hero-cta--primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.hero-cta--ghost {
  background: #fff;
  color: #000;
}

/* 右下のステッカー ------------------ */

.hero-sticker {
  position: absolute;
  right: 1.7rem;
  bottom: 1.7rem;
  background: #fffbe0;
  border-radius: 26px;
  border: 3px solid #000;
  padding: 0.6rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 4px 4px 0 #000;
}

.hero-sticker-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffb3c8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.hero-sticker-title {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-sticker-text {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
}

/* --------------------------------
 * ブレイクポイント
 * -------------------------------- */

.sp-br {
  display: none;
}
.pc-br {
  display: inline;
}

@media (max-width: 960px) {
  .top-header {
    padding: 1rem 1rem 0.8rem;
  }

  .top-header-inner {
    flex-direction: row;
    align-items: flex-start;
  }

 .hero-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 0 1rem 2.2rem;
    margin-top: 0;
  }

  .hero-main {
    padding-left: 0;
  }

  .hero-main-inner {
    border-radius: 32px;
    padding: 1.9rem 1.6rem 2.4rem;
  }

  .hero-sticker {
    position: static;
    margin-top: 1.4rem;
  }
}

@media (max-width: 640px) {
  .header-nav {
    gap: 0.5rem;
  }

  .header-pill {
    padding: 0.4rem 0.9rem;
  }

  .top-catch {
    padding-bottom: 2.2rem;
  }

  .catch-illust {
    display: none; /* 狭い画面では非表示 */
  }

  .hero-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    border-radius: 22px;
  }

  .hero-photo--main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .hero-photo--tall:nth-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
  .hero-photo--tall:nth-of-type(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
  .hero-photo--wide:nth-of-type(4),
  .hero-photo--wide:nth-of-type(5) {
    grid-row: 3 / 4;
  }

  .sp-br {
    display: inline;
  }
  .pc-br {
    display: none;
  }
}

/* ================================
 * 動画背景キャッチコピー（フル幅）
 * ================================ */

.top-hero-video {
  position: relative;

  /* 画面幅いっぱいに広げる */
  width: 100vw;
  margin-left: calc(50% - 50vw);

  height: min(72vh, 640px);
  min-height: 420px;
  overflow: hidden;
  background: #000; /* 読み込み中の背景 */
}

/* 背景動画（PC） */
.top-hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: 1;
}

/* スマホでは動画が重くなるので静止画に切り替え */
.top-hero-video-bg-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background-image: url("assets/img/video_fallback.jpg");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* 文字コンテンツ（動画の上） */
.top-hero-video-inner {
  position: absolute;
  left: 50%;
  bottom: 20%;              /* ★ 下から少し上に配置（お好みで％調整） */
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.6);
  padding: 0;              /* 上方向の余白は不要になるのでゼロに */
  width: 100%;
  max-width: 960px;
}

/* 動画版用の見出し・キーワード（上書き） */
.top-hero-video-inner .catch-title {
  margin: 0;
  font-weight: 900;
  line-height: 1.3;
  font-size: clamp(2.0rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.top-hero-video-inner .catch-main {
  display: block;
}

.top-hero-video-inner .catch-word {
  display: inline-block;
  padding: 0.2rem 1rem;
  background: rgba(255,255,255,0.85);
  color: #000;
  border-radius: 14px;
  margin: 0.25rem 0;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
}

/* イラスト位置調整（動画版） */
.top-hero-video .catch-illust {
  position: absolute;
  top: 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  z-index: 3;
}

.top-hero-video .catch-illust--left {
  left: 5%;
}
.top-hero-video .catch-illust--right {
  right: 5%;
}

.top-hero-video .catch-illust-face {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff7c5;
  border: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.top-hero-video .catch-illust-caption {
  margin-top: 4px;
  background: rgba(255,255,255,0.85);
  color: #000;
  padding: 0.1rem 0.7rem;
  border-radius: 12px;
  border: 2px solid #000;
}

/* -------------------------------
   スマホで動画 → 画像に切り替え
--------------------------------*/
@media (max-width: 768px) {
  .top-hero-video-bg {
    display: none;
  }
  .top-hero-video-bg-fallback {
    display: block;
  }
}

/* ================================
 * PICK UP INFO セクション
 * ================================ */

.pickup {
  position: relative;
  padding: 3.5rem 1.5rem 4.2rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.9) 0, transparent 45%),
    radial-gradient(circle at 85% 110%, rgba(0, 156, 132, 0.18) 0, transparent 55%),
    linear-gradient(to bottom, #ffefc8 0%, #ffe6c8 60%, #ffddc8 100%);
  margin-top: -40px;
  z-index: 2;
}


/* 上部の大きな弧（半円っぽい背景） */
.pickup::before {
  content: "";
  position: absolute;
  inset: -120px 0 auto;
  background: #fff7dd;
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
  z-index: -1;
}

.pickup-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pickup-title {
  text-align: center;
  margin: 0 0 2.2rem;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.18em;
}

/* カード並び */
.pickup-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
}

/* カード本体 */
.pickup-card {
  border-radius: 40px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.16);
  border: 3px solid #000;
  position: relative;
  overflow: hidden;
}

.pickup-card--guide {
  background: #6FD4FF;
}

.pickup-card--open {
  background: #ff8ca5;
}

/* 白い内側コンテナ（画像＋テキスト） */
.pickup-card-main {
  background: #fff;
  border-radius: 30px;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 1.3rem;
  align-items: center;
}

/* 画像エリア */
.pickup-card-visual {
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.pickup-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト側 */
.pickup-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.pickup-label {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.pickup-card--guide .pickup-label {
  color: #1a7332;
}
.pickup-card--open .pickup-label {
  color: #8a1330;
}

.pickup-card-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 900;
}

.pickup-card-text {
  margin: 0.3rem 0 0.7rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ボタン風 */
.pickup-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.6rem;
  border-radius: 999px;
  border: 2.5px solid #000;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 #000;
  color: #000;
  background: #fff;
}

.pickup-btn--yellow {
  background: #ffe66f;
}

.pickup-btn--pink {
  background: #ffd1e0;
}

.pickup-btn:hover {
  transform: translate(2px,2px);
  box-shadow: 2px 2px 0 #000;
}

/* レスポンシブ調整 */
@media (max-width: 960px) {
  .pickup {
    padding: 3rem 1rem 3.6rem;
  }
  .pickup-card-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pickup-cards {
    grid-template-columns: 1fr;
  }
  .pickup-card {
    border-radius: 32px;
  }
}

/* ===============================
   ABOUT TSUKUBA（赤×？ セクション）
=================================== */

.about-tsukuba {
  margin-top: -20px;
  padding: 4rem 1.6rem 5rem;
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 156, 132, 0.12) 0, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(255, 184, 210, 0.16) 0, transparent 50%),
    /* 細かいドット */
    radial-gradient(circle, rgba(0, 156, 132, 0.06) 1px, transparent 1px),
    #fff7dd;
  background-size:
    auto,
    auto,
    18px 18px,
    auto;
  position: relative;
  overflow: hidden;
}


.about-tsukuba-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: #009C84;
  border-radius: 60px;
  padding: 2.6rem 2.2rem;
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr auto 1.3fr;  /* 左：文字 / 真ん中：？ / 右：写真 */
  align-items: center;
  gap: 1.6rem;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
}

/* 左テキストエリア：縦並び */
.about-tsukuba-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 5;
}

/* 「まずは知りたいっ！TSUKUBAのこと」 */
.about-tsukuba-pill {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  background: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: 3px solid #000;
  margin-bottom: 0.4rem;
  box-shadow: 4px 4px 0 #000;
}

/* 「つくば開成学園って」黒ボタン */
.about-tsukuba-title {
  display: inline-block;
  margin-top: 0.4rem;
  background: #fff8c0;
  padding: 1.05rem 1.8rem;
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #000;
  border-radius: 999px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  text-decoration: none;
}

/* ？マーク（中央カラム） */
.about-tsukuba-question {
  text-align: center;
  font-size: clamp(6rem, 10vw, 11rem);
  font-weight: 900;
  color: #fff8c0;
  text-shadow: 6px 6px 0 #000;
  z-index: 4;   /* ★写真より前に出したいなら 6 にする */
  animation: tsukubaQuestionBounce 2.2s ease-in-out infinite;
  transform-origin: center bottom;
}
/* 「？」マークのアニメーション */
@keyframes tsukubaQuestionBounce {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  15% {
    transform: translateY(-10px) rotate(-4deg) scale(1.04);
  }
  30% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  55% {
    transform: translateY(6px) rotate(3deg) scale(0.98);
  }
  70% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

/* 右側の写真 */
.about-tsukuba-photo {
  position: relative;
  justify-self: end;      /* 右端に寄せる */
  z-index: 3;
}

.about-tsukuba-photo img {
  width: 100%;
  max-width: 380px;
  border-radius: 40px;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  object-fit: cover;
  transition: opacity 0.9s ease, transform 0.9s ease;
  opacity: 1;
  transform: scale(1);
}
.about-tsukuba-photo img.fade-out {
  opacity: 0;
  transform: scale(1.05); /* ふわっと大きくしながら消える */
}

.about-tsukuba-photo img.fade-in {
  opacity: 1;
  transform: scale(1);
}

/* ================================
   ABOUT TSUKUBA：飾りマーク（★ ● ◆ ▲）
================================ */

/* 基本形（DATA と同じアニメーション） */
.tsukuba-symbol {
  position: absolute;
  font-weight: 900;
  opacity: 0.55;
  pointer-events: none;
  animation: tsukubaFloat 4.8s ease-in-out infinite;
  text-shadow: 0 3px 0 rgba(0,0,0,0.1);
}

/* マークごとの位置と色 */
.tsukuba-symbol--star1 {
  top: 12%;
  left: 4%;
  font-size: 2rem;
  color: #fff7c0;
  animation-duration: 5s;
}
.tsukuba-symbol--star2 {
  top: 8%;
  right: 6%;
  font-size: 1.6rem;
  color: #ffe0f3;
  animation-duration: 4.2s;
}
.tsukuba-symbol--circle1 {
  bottom: 18%;
  left: 6%;
  font-size: 1.4rem;
  color: #c5ffef;
  animation-duration: 4.6s;
}
.tsukuba-symbol--circle2 {
  bottom: 26%;
  right: 4%;
  font-size: 1.3rem;
  color: #d9ebff;
  animation-duration: 4.8s;
}
.tsukuba-symbol--diamond1 {
  top: 40%;
  left: 48%;
  font-size: 1.9rem;
  color: #ffd9c9;
}
.tsukuba-symbol--triangle1 {
  bottom: 8%;
  left: 42%;
  font-size: 1.6rem;
  color: #f9f0ff;
  animation-duration: 4.3s;
}

/* ゆらゆらアニメーション */
@keyframes tsukubaFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-6px) rotate(-6deg); }
  50%  { transform: translateY(0) rotate(3deg); }
  75%  { transform: translateY(6px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* スマホ用（少し小さく & 位置調整） */
@media (max-width: 768px) {
  .tsukuba-symbol {
    opacity: 0.48;
  }
  .tsukuba-symbol--star1 { top: 6%; left: 8%; font-size: 1.4rem; }
  .tsukuba-symbol--star2 { top: 4%; right: 8%; font-size: 1.2rem; }
  .tsukuba-symbol--circle1 { bottom: 12%; left: 10%; font-size: 1.1rem; }
  .tsukuba-symbol--circle2 { bottom: 20%; right: 10%; font-size: 1rem; }
  .tsukuba-symbol--diamond1 { top: 36%; left: 42%; font-size: 1.5rem; }
  .tsukuba-symbol--triangle1 { bottom: 6%; left: 36%; font-size: 1.2rem; }
}




/* ========= レスポンシブ ========= */

/* タブレット〜小さめPC：カラム比率を少し変える */
@media (max-width: 1024px) {
  .about-tsukuba-inner {
    grid-template-columns: 1.1fr auto 1.1fr;
    padding: 2.4rem 1.8rem;
  }

  .about-tsukuba-photo img {
    max-width: 340px;
  }

  .about-tsukuba-question {
    display: none !important;
    font-size: clamp(5rem, 9vw, 9rem);
  }
}

/* スマホ〜タブレット：縦1列レイアウト */
@media (max-width: 768px) {
  .about-tsukuba {
    padding: 3.2rem 1.4rem 4rem;
  }

  .about-tsukuba-inner {
    grid-template-columns: 1fr;  /* 1列 */
    padding: 2.2rem 1.6rem 2.4rem;
    text-align: center;
    row-gap: 1.6rem;
  }

  .about-tsukuba-left {
    align-items: center;
  }

  .about-tsukuba-question {
    order: 2;                    /* 表示順：①テキスト → ②？ → ③写真 */
    font-size: clamp(4.2rem, 16vw, 6.8rem);
    margin: 0.6rem 0 0.3rem;
  }

  .about-tsukuba-photo {
    order: 3;
    justify-self: center;
  }

  .about-tsukuba-photo img {
    max-width: 320px;
  }
}

/* かなり小さいスマホ */
@media (max-width: 480px) {
  .about-tsukuba {
    padding: 2.8rem 1.1rem 3.4rem;
  }

  .about-tsukuba-inner {
    padding: 2rem 1.4rem 2.2rem;
    border-radius: 40px;
  }

  .about-tsukuba-pill {
    font-size: 0.95rem;
    padding: 0.45rem 1.1rem;
  }

  .about-tsukuba-title {
    font-size: 1.5rem;
    padding: 0.9rem 1.4rem;
  }

  .about-tsukuba-question {
    font-size: clamp(3.6rem, 18vw, 5.8rem);
  }

  .about-tsukuba-photo img {
    max-width: 280px;
    border-radius: 30px;
  }
}

/* ===============================
   TSUKUBA SNAP セクション
=================================== */

.snap-section {
  background: #fff7dd;
  padding: 4rem 1.6rem 5rem;
  position: relative;
  overflow: hidden;
}

.snap-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* タイトルまわり */
.snap-heading {
  text-align: center;
  position: relative;
  margin-bottom: 2.8rem;
}

.snap-label {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 3px solid #000;
  background: #ffe66f;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.snap-title {
  margin: 0;
}

.snap-title-main {
  display: inline-block;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* きらきらデコ */
.snap-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.snap-star {
  position: absolute;
  width: 70px;
  height: 70px;
  background: #fffd9c;
  border: 3px solid #000;
  border-radius: 8px;
  transform: rotate(45deg) scale(0.9);
  box-shadow: 4px 4px 0 #000;
}

.snap-star--s {
  top: 10px;
  left: 18%;
  width: 40px;
  height: 40px;
}

.snap-star--m {
  top: -6px;
  right: 16%;
}

.snap-star--l {
  top: 70px;
  right: 6%;
  width: 90px;
  height: 90px;
}

.snap-star--m2 {
  top: 40px;
  left: 6%;
  width: 60px;
  height: 60px;
}

/* カード一覧 */
.snap-cards {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 1.6rem);
  flex-wrap: wrap;
}

/* 1枚ずつのカード */
.snap-card {
  flex: 1 1 220px;
  max-width: 260px;
  perspective: 1200px;
}

.snap-card-inner {
  position: relative;
  border-radius: 60px;
  padding: 1.6rem 1.3rem;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.snap-card-inner--blue {
  background: #6fd4ff;
}

.snap-card-inner--red {
  background: #FF8CA5;
}

/* 写真 */
.snap-card-photo {
  position: absolute;
  inset: 0.4rem 0.4rem 5.5rem;
  border-radius: 52px;
  overflow: hidden;
}

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

/* テキスト */
.snap-card-text {
  position: relative;
  z-index: 2;
  color: #000;
}

.snap-dept {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.05;
}

.snap-grade {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  line-height: 1.4;
}

/* カードの傾き */
.snap-card--left .snap-card-inner {
  transform: rotate(-14deg);
}
.snap-card--center-left .snap-card-inner {
  transform: rotate(-6deg);
}
.snap-card--center-right .snap-card-inner {
  transform: rotate(6deg);
}
.snap-card--right .snap-card-inner {
  transform: rotate(14deg);
}
/* 2段目 用の傾き */
.snap-card--row2-left .snap-card-inner {
  transform: rotate(-10deg);
}
.snap-card--row2-center .snap-card-inner {
  transform: rotate(0deg);
}
.snap-card--row2-right .snap-card-inner {
  transform: rotate(10deg);
}


/* ホバーで少し浮かせる */
.snap-card-inner:hover {
  transform: translateY(-6px) rotate(0deg);
  transition: transform 0.25s ease-out;
}

/* -------------------------------
   レスポンシブ
--------------------------------*/
@media (max-width: 960px) {
  .snap-stars {
    display: none; /* SP は星をカットしてスッキリ */
  }
  .snap-section {
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 640px) {
  .snap-cards {
    gap: 1.4rem;
  }
  .snap-card {
    max-width: 260px;
  }
  .snap-card-inner {
    height: 330px;
  }
}

/* ===============================
   SNS セクション（Instagram / TikTok）
=================================== */

.sns-section {
  background: #fff7dd;
  padding: 4rem 1.8rem 5rem;
}

.sns-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.2rem;
}

/* パネル共通 --------------------- */

.sns-panel {
  border-radius: 60px;
  padding: 2.2rem 2.4rem 2.6rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.sns-panel--insta {
  background: #d6b9ff;
}

.sns-panel--tiktok {
  background: #aff3ff;
}

.sns-panel-header {
  margin-bottom: 1.4rem;
}

.sns-panel-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
}

.sns-panel-title--insta {
  font-style: italic;
}

.sns-panel-title--tiktok {
  font-style: italic;
}

/* Instagram グリッド -------------- */

.sns-insta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.sns-insta-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sns-thumb {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

.sns-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.sns-thumb-caption {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* TikTok 埋め込み ------------------ */

.sns-embed-wrap {
  background: #ffffff;
  border-radius: 26px;
  padding: 0.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  border: 3px solid #000;
}

.sns-embed-wrap iframe {
  width: 100%;
  min-height: 360px;
  border: none;
  border-radius: 18px;
}

/* フッター「もっと見る」 ------------ */

.sns-panel-footer {
  margin-top: 2.2rem;
  text-align: center;
}

.sns-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.6rem 0.6rem;
  border-radius: 999px;
  border: 3px solid #000;
  background: #fff7dd;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  box-shadow: 4px 4px 0 #000;
}

.sns-more-link:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 #000;
}

.sns-more-arrow {
  font-size: 1.2rem;
}

/* -------------------------------
   レスポンシブ
--------------------------------*/

@media (max-width: 960px) {
  .sns-inner {
    grid-template-columns: 1fr;
  }

  .sns-panel {
    border-radius: 48px;
    padding: 2rem 1.8rem 2.4rem;
  }

  .sns-embed-wrap iframe {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .sns-section {
    padding: 3rem 1.2rem 3.5rem;
  }

  .sns-panel {
    padding: 1.8rem 1.4rem 2.2rem;
  }

  .sns-insta-grid {
    gap: 0.8rem;
  }
}

/* ================================
 * DATA セクション（左：テキスト / 中央：123 / 右：写真）
 * ================================ */

.data-section {
  padding: 4rem 1.5rem 5rem;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.9) 0%, rgba(230, 255, 247, 1) 70%),
    linear-gradient(to bottom, #e8fff7 0%, #f4fffb 40%, #e7fff6 100%);
  position: relative;
  overflow: hidden;
}

/* 大きなゆる丸（背景の飾り） */
.data-section::before,
.data-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(0,156,132,0.14); /* コーポレートカラー薄め */
  filter: blur(4px);
  z-index: 0;
}

/* 左上の大きな丸 */
.data-section::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -100px;
}

/* 右下の大きな丸 */
.data-section::after {
  width: 280px;
  height: 280px;
  bottom: -60px;
  right: -60px;
}


.data-card {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
  z-index: 5;
}

.data-card-inner {
  border-radius: 40px;
  background: #ff8fb8;
  padding: 2.6rem 2.4rem;
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  border: 4px solid #000;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: center;
}

/* data-card をリンク化したときの装飾 */
.data-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
  border-radius: 22px; /* 元のデザインに合わせる */
}

.data-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}
/* =========================
   DATA セクション レスポンシブ
   ========================= */

/* タブレット：テキスト＋数字を上段、写真を下段に */
@media (max-width: 960px) {
  .data-card-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    padding: 2.2rem 1.8rem;
    row-gap: 1.8rem;
  }

  .data-copy {
    grid-column: 1 / 3; /* 上段で横に広く */
    justify-self: center;
    text-align: center;
  }

  .data-figures {
    grid-column: 1 / 2;
    justify-self: center;
  }

  .data-photo {
    grid-column: 2 / 3;
    justify-self: center;
    max-width: 320px;
  }
}

/* スマホ：完全に1列（テキスト → 数字 → 写真） */
@media (max-width: 640px) {
  .data-card-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 2rem 1.4rem;
    row-gap: 1.4rem;
    text-align: center;
  }

  .data-copy {
    grid-column: 1 / 2;
    justify-self: center;
  }

  .data-figures {
    display: none !important;
    grid-column: 1 / 2;
    justify-self: center;
  }

  .data-photo {
    grid-column: 1 / 2;
    justify-self: center;
    max-width: 260px;
  }

  .data-copy-line {
    font-size: 1.1rem;
    padding: 0.3rem 0.8rem;
  }

  .data-label {
    font-size: 0.95rem;
    padding: 0.3rem 1rem;
  }
}

/* 右側：DATA写真 ------------------------ */

.data-photo {
  justify-self: end;        /* グリッドの右端に寄せる */
  max-width: 380px;         /* ★ここで最大幅を制限（お好みで 340〜400px 程度） */
  width: 100%;
}

.data-photo img {
  width: 100%;
  height: auto;             /* 比率を維持したまま縮小 */
  display: block;
  border-radius: 32px;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 rgba(0,0,0,0.25);
  object-fit: cover;
}


/* 左側テキストバッジ ----------------- */

.data-copy {
  max-width: 360px;
}

.data-copy-line {
  margin: 0 0 0.5rem;
  padding: 0.35rem 0.9rem;
  background: #ffffff;
  border-radius: 999px;
  border: 2px solid #000;
  display: inline-block;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 3px 3px 0 #000;
}

.data-copy-line--strong {
  margin-top: 0.6rem;
}

.data-label {
  margin: 1.1rem 0 0;
  display: inline-block;
  padding: 0.4rem 1.2rem;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #fff;
  background: #009c84;
  border-radius: 999px;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
}

/* 中央：1・2・3 --------------------- */

/* 1・2・3 の周りの飾りマーク  =================================== */
.data-figures {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.data-figure {
  position: relative;
  min-width: 110px;
  padding: 0.4rem 1.2rem 0.5rem;
  border-radius: 999px;            /* 角丸ピル型 */
  background: #ffffff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  font-weight: 900;
  font-size: 1.4rem;               /* ← 数字を少し小さめに */
  letter-spacing: 0.08em;
  text-align: center;
  line-height: 1.4;
  z-index: 2;
}
/* バッジの内側にカラーの縁取り */
.data-figure::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  border: 3px solid currentColor;  /* 各バッジの色を利用 */
  opacity: 0.7;
  z-index: -1;
}

/* 共通スタイル */
.data-symbol {
  position: absolute;
  font-weight: 900;
  opacity: 0.65;              /* 少し淡く */
  text-shadow: 0 3px 0 rgba(0,0,0,0.10);
  pointer-events: none;
  animation: floatSymbol 4.5s ease-in-out infinite;
}
/* =========================================
   DATA 数字（1・2・3 に装飾）
==========================================*/

.data-number {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;        /* ← 120px から小さく */
  height: 96px;       /* ← 120px から小さく */
  font-size: 2.6rem;  /* ← 4.2rem から小さく */
  font-weight: 900;
  border-radius: 32px;
  background: #fff;
  border: 4px solid #000;
  box-shadow: 6px 6px 0 #000;
  z-index: 5;
}

/* 位置・傾きを3つ別々に ------------------ */
.data-number--one {
  color: #ffb300;
  transform: rotate(-7deg) translateX(-10px);
}
.data-number--two {
  color: #00a98f;
  transform: rotate(5deg) translateX(8px);
}
.data-number--three {
  color: #ff5b9c;
  border-radius: 26px;
  transform: rotate(-3deg);
}
@media (hover: hover) {
  .data-figure:hover {
    transform: translate(2px, -4px) scale(1.02) rotate(0deg);
    box-shadow: 2px 6px 0 #000;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .data-number {
    width: 82px;
    height: 82px;
    font-size: 2.2rem;
    border-width: 3px;
  }
    .data-number--two {
    font-size: 2.4rem;
  }
}
@media (max-width: 480px) {
  .data-number {
    width: 72px;
    height: 72px;
    font-size: 1.9rem;
    box-shadow: 4px 4px 0 #000;
  }

  .data-figure {
    font-size: 1.2rem;
    padding: 0.35rem 1rem 0.45rem;
  }
}


/* ★・●・◆・▲の位置と色（PC） --------------------------- */
.data-symbol--s1 {
  top: -12%;
  left: -18%;
  font-size: 2.8rem;
  color: #ffe9a8;
  animation-duration: 6s;
}

.data-symbol--s2 {
  top: 8%;
  right: -22%;
  font-size: 2rem;
  color: #ffb4c2;
  animation-duration: 4.8s;
  animation-delay: 0.5s;
}

.data-symbol--s3 {
  top: 42%;
  left: -25%;
  font-size: 2.4rem;
  color: #b2fff0;
  animation-duration: 5.4s;
}

.data-symbol--s4 {
  top: 52%;
  right: -15%;
  font-size: 2.0rem;
  color: #c9d8ff;
  animation-duration: 4.6s;
}

.data-symbol--s5 {
  bottom: -8%;
  left: -10%;
  font-size: 2.6rem;
  color: #ffd4be;
  animation-duration: 6.2s;
  animation-delay: .4s;
}

.data-symbol--s6 {
  bottom: -10%;
  right: -18%;
  font-size: 2.1rem;
  color: #f6e4ff;
  animation-duration: 4.9s;
  animation-delay: .7s;
}


@keyframes floatSymbol {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-6px) rotate(-6deg); }
  50%  { transform: translateY(0) rotate(3deg); }
  75%  { transform: translateY(6px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* スマホ調整 */
@media (max-width: 768px) {
  .data-symbol { opacity: 0.6; transform: scale(.8); }
  .data-symbol--s1 { left: -8%; top: -5%; }
  .data-symbol--s2 { right: -5%; top: 0%; }
  .data-symbol--s3 { left: -4%; top: 40%; }
  .data-symbol--s4 { right: -4%; top: 46%; }
  .data-symbol--s5 { left: 4%; bottom: -4%; }
  .data-symbol--s6 { right: 4%; bottom: -6%; }
}


/* ================================
 * SNAP / SNS / DATA を1列表示に
 * ================================ */

.hero > .snap-section,
.hero > .sns-section,
.hero > .data-section {
  grid-column: 1 / -1;
}

/* セクションの共通余白 */
.snap-section,
.sns-section,
.data-section {
  padding: 4rem 1.5rem 4.5rem;
}

/* 中身を中央寄せ */
.snap-inner,
.sns-inner,
.data-section > .data-card {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================
 * TSUKUBA SNAP セクション背景
 *  └ コーポレートグリーン＋ナナメ帯
 * ================================ */

.snap-section {
  position: relative;
  overflow: hidden;
  background: #fef7e5; /* やわらかい黄みベージュ */
}

.snap-section::before {
  content: "";
  position: absolute;
  inset: -40px -80px auto;
  height: 65%;
  background: #009c84;
  transform: skewY(-6deg);
  z-index: 0;
}

/* 中身を前面へ */
.snap-inner {
  position: relative;
  z-index: 1;
}

/* タイトル周りの色味をコーポレートカラー寄りに */
.snap-title-main {
  color: #ffffff;
  text-shadow: 0 4px 0 rgba(0,0,0,0.15);
}

.snap-label {
  color: #000;
  font-weight: 700;
  letter-spacing: 0.16em;
}

/* スナップカードの影・枠を少し強めに */
.snap-card-inner {
  box-shadow: 0 18px 32px rgba(0,0,0,0.18);
  border: 3px solid #000;
}

/* ================================
 * SNS セクション背景
 *  └ 2色ストライプ＋ブランドグリーン
 * ================================ */

.sns-section {
  position: relative;
  background:
    repeating-linear-gradient(
      -45deg,
      #f8fffd 0,
      #f8fffd 18px,
      #e4f7f3 18px,
      #e4f7f3 36px
    );
}

.sns-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.4rem;
}

/* パネルを少し浮かせる */
.sns-panel {
  background: #ffffff;
  border-radius: 32px;
  padding: 2.2rem 2rem 2.1rem;
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
  border: 3px solid #000000;
}

/* Insta 見出し：ピンク＋グリーンライン */
.sns-panel-title--insta {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #ff6fa1;
  border-bottom: 4px solid #009c84;
  display: inline-block;
  padding-bottom: 0.2rem;
}

/* TikTok 見出し：黒×ミント */
.sns-panel-title--tiktok {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #000;
  border-bottom: 4px solid #00c2a9;
  display: inline-block;
  padding-bottom: 0.2rem;
}

/* SNS「もっと見る」ボタンにもブランドカラー */
.sns-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  border: 2px solid #000;
  background: #009c84;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 3px 3px 0 #000;
}

.sns-more-link:hover {
  transform: translate(2px,2px);
  box-shadow: 1px 1px 0 #000;
}

/* PC幅では Insta / TikTok を2列に（デザインは同じ） */
@media (min-width: 960px) {
  .sns-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.1fr);
    align-items: stretch;
  }
}

/* ===============================
   INFORMATION（明るいデザイン版）
================================ */

.info-section {
  position: relative;
  width: 100%;
  padding: 5rem 0 6rem;
  background:
    radial-gradient(circle at 5% 10%, rgba(0, 156, 132, 0.15) 0, transparent 55%),
    radial-gradient(circle at 95% 90%, rgba(255, 214, 165, 0.22) 0, transparent 55%),
    repeating-linear-gradient(
      0deg,
      #f5fff9 0,
      #f5fff9 26px,
      #e9f8f1 26px,
      #e9f8f1 52px
    );
}


/* 中央の白い帯コンテナ */
.info-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;           /* ★中央寄せ */
  padding: 3rem 2.8rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
/* 斜めになった白い帯は ::before で描画
   → 中身は斜めにしないので文字が切れない */
.info-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 80px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transform: skewY(-4deg);
  z-index: -1;
}
.info-left,
.info-right {
  transform: skewY(4deg); /* 中身はまっすぐ */
}

/* ------------------------------
   左側タイトル
-------------------------------- */
.info-left {
  flex: 0 0 280px;
  padding-left: 0.5rem;
}

.info-label-en {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #009c84;
}

.info-title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: #000;
}

/* ------------------------------
   右側カード
-------------------------------- */
.info-right {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;   /* ★カード群を中央寄せ */
  gap: 1.6rem;
}

/* カード本体（青枠に変更） */
.info-card {
  width: 260px;
  background: #ffffff;
  border-radius: 26px;
  border: 3px solid #59c0ff;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 情報カードのアイコンバッジ -------------------- */
.info-card-thumb {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-4deg);
  margin: 0.9rem 0.9rem 0;
  border-radius: 22px;
}

/* 既存：色違い */
.info-card-thumb--green { background: #26c9a6; }
.info-card-thumb--yellow { background: #ffe66f; }
.info-card-thumb--pink { background: #ff8fb8; }

/* アイコンバッジ本体 */
.info-card-icon {
  position: absolute;
  right: 14px;
  bottom: -18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}

/* 必要ならカードごとに微調整も可能 */
.info-card-icon--info {
  /* 例えば色を変えたい場合はここに指定 */
}

.info-card-icon--policy {
  /* ここも同様にカスタマイズ可 */
}

.info-card-icon--recruit {
  /* ここも同様にカスタマイズ可 */
}

/* スマホでは少し小さく */
@media (max-width: 768px) {
  .info-card-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    bottom: -16px;
  }
}


/* Tag */
.info-card-tag {
  background: #000;
  color: #fff;
  font-size: 0.8rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

/* Body */
.info-card-body {
  padding: 1rem 1.2rem 1.4rem;
}

.info-card-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.info-card-text {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}

/* --------------------------------
   スマホ対応
--------------------------------*/
@media (max-width: 768px) {

  .info-inner {
    flex-direction: column;
    padding: 2.6rem 1.6rem;
  }

  .info-left {
    flex: 0 0 auto;
    padding-left: 0;
    text-align: center;
  }

  .info-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  .info-card {
    width: 80%;
    max-width: 320px;
  }
}

