@charset "UTF-8";
:root {
  /* font */
  --font-en: "Lato", sans-serif;
  /* color */
  --color-green: #c9db5f;
  --color-bg-outer: #f0f0f0;
  --color-text: #333;
  /* Fluid Typography: 16px */
  --fz-base: 1rem;
  --inner-width: 1200px;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #000;
  font-family: "Zen Kaku Gothic New", sans-serif;
  line-height: 1.75;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* リンクの基本 */
a {
  text-decoration: none;
  color: var(--text-main);
}

/* 1. ボックスモデルの定義：paddingやborderを幅に含める */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白をリセット */
* {
  margin: 0;
  padding: 0;
}

/* 3. 本文のセットアップ：スクロールを滑らかにし、ベースの行間を整える */
html {
  color-scheme: light dark; /* ダークモード対応 */
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* フォントを綺麗に見せる（mac/iOS用） */
  text-rendering: optimizeSpeed;
}

/* 4. 画像やメディア要素の扱い：親要素からはみ出さないようにする */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. フォーム要素のフォント継承：inputやbuttonが独自のフォントにならないように */
input, button, textarea, select {
  font: inherit;
}

/* 6. テキストエリアのサイズ調整を縦方向のみに制限 */
textarea {
  resize: vertical;
}

/* 7. リストの記号を消す（必要に応じて） */
ul, ol {
  list-style: none;
}

/* 8. アニメーションを好まないユーザーへの配慮（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.is-block {
  display: block !important;
}

.is-inline {
  display: inline !important;
}

.is-inline-block {
  display: inline-block !important;
}

.is-none {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .is-mobile-block {
    display: block !important;
  }
  .is-mobile-inline {
    display: inline !important;
  }
  .is-mobile-inline-block {
    display: inline-block !important;
  }
  .is-mobile-none {
    display: none !important;
  }
}
@media screen and (min-width: 576px) {
  .is-fablet-block {
    display: block !important;
  }
  .is-fablet-inline {
    display: inline !important;
  }
  .is-fablet-inline-block {
    display: inline-block !important;
  }
  .is-fablet-none {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .is-tablet-block {
    display: block !important;
  }
  .is-tablet-inline {
    display: inline !important;
  }
  .is-tablet-inline-block {
    display: inline-block !important;
  }
  .is-tablet-none {
    display: none !important;
  }
}
@media screen and (min-width: 1200px) {
  .is-desktop-block {
    display: block !important;
  }
  .is-desktop-inline {
    display: inline !important;
  }
  .is-desktop-inline-block {
    display: inline-block !important;
  }
  .is-desktop-none {
    display: none !important;
  }
}
@media screen and (min-width: 1400px) {
  .is-wide-block {
    display: block !important;
  }
  .is-wide-inline {
    display: inline !important;
  }
  .is-wide-inline-block {
    display: inline-block !important;
  }
  .is-wide-none {
    display: none !important;
  }
}
/* ==================================================
  HEADER STYLE
===================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 15px 0;
  transition: transform 0.4s ease, background 0.3s ease;
}
@media screen and (max-width: 767px) {
  .site-header {
    position: fixed;
  }
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  transform: translateY(-100%); /* 一旦隠す */
  animation: slideInDown 0.5s forwards;
}

.site-header.is-fixed .header-sub-row {
  top: 0;
}

@keyframes slideInDown {
  to {
    transform: translateY(0);
  }
}
.header-inner {
  margin: 0 auto;
  padding: 0 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-fixed .header-inner {
  padding: 0 40px;
}

.site-header .line-banner img {
  border-radius: 0 0 0 10px;
}

.site-header.is-fixed .line-banner img {
  border-radius: 10px;
}

.header-logo img {
  height: 60px;
  width: auto;
}

.header-nav-area {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header-sub-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  top: -20px;
}

.header-sub-row .sub-links-bnr {
  display: flex;
  align-items: center;
  gap: 21px;
}

.header-sub-row .sub-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.header-sub-row .sub-links a {
  text-decoration: none;
  color: #000;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px; /* アイコンと文字の間隔 */
  transition: opacity 0.3s ease;
}

.header-sub-row .sub-links a:hover {
  opacity: 0.7;
}

.header-sub-row .sub-links a::before {
  width: 20px;
  height: 20px;
  display: inline-block;
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
}

.icon-access::before {
  background-image: url(../images/icon_mappin.png);
}

/* お問い合わせ（封筒） */
.icon-contact::before {
  background-image: url(../images/icon_mail.png);
}

.site-header.is-fixed .sub-links a {
  color: #000;
}

/* ==================================================
  PC NAVIGATION & MEGA MENU (TOTAL)
===================================================== */
.pc-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 100%;
}

/* --- 第1階層（親メニュー） --- */
.pc-nav > ul {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.pc-nav > ul > li {
  /* position: relative は「学科紹介」以外に効かせるため、個別で制御します */
  padding: 30px 0; /* ホバー判定を広げるための余白 */
  cursor: pointer;
}

.pc-nav > ul > li > a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  transition: color 0.3s;
}

/* ホバー時の下線演出（任意） */
.pc-nav > ul > li:hover > a {
  color: #4fb2d6;
}

/* ==================================================
  MEGA MENU - 第2階層（共通設定）
===================================================== */
.pc-nav > ul > li > ul {
  position: absolute;
  top: 100%; /* ヘッダーのすぐ下に配置 */
  background-color: #fff;
  border: 3px solid #000;
  box-shadow: 0 5px 0 rgb(0, 0, 0);
  z-index: 100;
  list-style: none;
  margin: 0;
  /* アニメーション：ふわっと浮き出てくる */
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
}
.pc-nav > ul > li > ul::before {
  display: block;
  content: "";
  width: 2px;
  height: 30px;
  background-color: #000;
  position: absolute;
  left: 50%;
  top: -20px;
  margin-left: -2px;
}

/* ホバー時に表示 */
.pc-nav > ul > li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==================================================
  PATTERN A: ワイドメニュー（学科紹介など項目が多い場合）
  画面（またはコンテナ）から切れないように全幅（100%）に展開
===================================================== */
/* 学科紹介のliに特定のクラスをつけるか、dlを含むulをターゲットにします */
.pc-nav > ul > li:has(dl) > ul {
  right: 40px;
  width: 750px;
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  top: 140px;
}
.pc-nav > ul > li:has(dl) > ul::before {
  display: block;
  content: "";
  width: 2px;
  height: 30px;
  background-color: #000;
  position: absolute;
  left: 165px;
  top: -20px;
}

.site-header.is-fixed .pc-nav > ul > li:has(dl) > ul {
  top: 75px;
}

/* 各学科セクション（dl）のスタイル */
.pc-nav > ul > li > ul li dl {
  margin: 0;
  flex: 1;
}

.pc-nav > ul > li > ul li dt {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 3px solid #ffda1b; /* 学校名のアクセントカラー */
  padding-bottom: 10px;
  margin-bottom: 15px;
  color: #000;
}

.pc-nav > ul > li > ul li dt a {
  text-decoration: none;
  color: inherit;
}

.pc-nav > ul > li > ul li dd {
  margin: 0;
  padding: 5px 0;
}

.pc-nav > ul > li > ul li dd a {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  text-decoration: none;
  transition: color 0.2s;
}

.pc-nav > ul > li > ul li dd a:hover {
  color: #4fb2d6;
}

/* ==================================================
  PATTERN B: コンパクトメニュー（学校紹介・資格・入学案内など）
  項目が少ない場合は親メニューの中央にドロップダウンさせる
===================================================== */
.pc-nav > ul > li:not(:has(dl)) {
  position: relative; /* ここを基準にする */
}

.pc-nav > ul > li:not(:has(dl)) > ul {
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  width: max-content;
  min-width: 220px;
  display: block;
  padding: 10px 0;
  top: 100%;
}

/* ホバー時の表示（transformを維持しつつ表示） */
.pc-nav > ul > li:hover > ul:has(dl) {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pc-nav > ul > li:hover > ul:not(:has(dl)) {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.pc-nav > ul > li:not(:has(dl)) > ul li a {
  display: block;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  transition: background 0.2s;
}

.pc-nav > ul > li:not(:has(dl)) > ul li a:hover {
  background-color: #fcfcf5;
  color: #4fb2d6;
}

/* --- ボタンエリア --- */
.header-btns {
  display: flex;
  gap: 12px;
  margin-left: 20px;
}

.btn-oc, .btn-shiryo {
  padding: 10px 22px;
  border-radius: 12px;
  border: 3px solid #000;
  font-weight: 900;
  text-decoration: none;
  color: #000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-oc {
  background-color: #e86a92;
}

.btn-shiryo {
  background-color: #c9db5f;
}

.btn-oc:hover, .btn-shiryo:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 2px 2px 0px #000;
}

/* ==================================================
  FIXED HEADER ADAPTATION
===================================================== */
.site-header.is-fixed .pc-nav > ul > li {
  padding: 20px 0; /* 固定時は高さを少し抑える */
}

/* ボタン（オープンキャンパス・資料請求） */
.header-btns {
  display: flex;
  gap: 10px;
}

.btn-oc, .btn-shiryo {
  padding: 10px 20px;
  border-radius: 12px;
  border: 2px solid #000;
  font-weight: 900;
  text-decoration: none;
  color: #000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-oc {
  background-color: #e86a92;
} /* ピンク */
.btn-shiryo {
  background-color: #c9db5f;
} /* 黄緑 */
.btn-oc:hover,
.btn-shiryo:hover {
  transform: scale(1.2) rotate(10deg);
  box-shadow: 2px 2px 0px #000;
  background-color: #fff;
}

.btn-oc:hover {
  background-color: #FFCE1A;
}

/* ==================================================
  HAMBURGER & SP NAV
===================================================== */
.menu-trigger {
  display: none; /* 初期は非表示 */
}

@media (max-width: 1024px) {
  .site-header {
    padding: 15px 0;
    background-color: #fff;
  }
  .header-inner {
    padding: 0 10px;
  }
  .pc-nav,
  .header-nav-area {
    display: none;
  }
}
/* ==================================================
  HAMBURGER MENU TRIGGER
===================================================== */
.menu-trigger {
  position: relative;
  width: 40px; /* クリックしやすいサイズ */
  height: 40px;
  cursor: pointer;
  z-index: 999; /* 最前面に */
  display: none; /* PCでは隠す（メディアクエリで表示） */
  left: -15px;
  top: -4px;
}

.menu-trigger span {
  display: block;
  position: absolute;
  left: 5px;
  width: 30px;
  height: 2px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

/* 2本の線の初期位置（上下対称に配置） */
.menu-trigger span:nth-child(1) {
  top: 15px; /* 上から15px */
}

.menu-trigger span:nth-child(2) {
  top: 25px; /* 上から25px */
}

/* --------------------------------------------------
  ACTIVE STATE (×に変形)
----------------------------------------------------- */
.menu-trigger.active span:nth-child(1) {
  /* 上の線を5px下げて、中央(20px)で回転 */
  transform: translateY(5px) rotate(-45deg);
}

.menu-trigger.active span:nth-child(2) {
  /* 下の線を5px上げて、中央(20px)で回転 */
  transform: translateY(-5px) rotate(45deg);
}

/* ==================================================
  RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .menu-trigger {
    display: block; /* スマホ・タブレットで表示 */
  }
}
/* 親リンクとプラスボタンの配置 */
.parent-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.parent-link a {
  padding: 0 !important; /* 親階層のパディング調整 */
  border: none !important;
}

/* --- サブメニュー（初期状態は非表示） --- */
.sp-sub-menu {
  display: none;
  background-color: #f9f9f9;
  padding: 10px 20px;
}

.sp-sub-menu li a {
  font-size: 16px !important;
  font-weight: 500 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #ddd;
}

/* 学科紹介：学校名見出しのスタイル */
.sp-dept-ttl {
  font-size: 15px;
  font-weight: 900;
  color: #2d6d43; /* 学校カラー */
  margin: 20px 0 10px;
  border-left: 4px solid #c9db5f;
  padding-left: 10px;
}

.sp-dept-group ul {
  list-style: none;
  padding-bottom: 10px;
}

/* プラスボタンのアニメーション */
.has-child.active .acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0; /* 縦線を消してマイナスにする */
}

.has-child.active .acc-icon {
  background-color: #ffda1b; /* 開いている時は黄色に */
}

/* ==================================================
  FOOTER BASE
  全体構造とカードデザイン
===================================================== */
.footer-outer {
  margin-top: 60px;
  padding-top: 60px;
  font-family: var(--font-base);
  color: var(--color-text);
  background-color: #FFCE1A;
  position: relative;
}
.footer-outer::before {
  display: block;
  content: "";
  width: 100%;
  height: 74px;
  background: url(../images/footer_wave.png);
  background-position: center top;
  background-size: auto 74px;
  background-repeat: repeat-x;
  position: absolute;
  left: 0;
  top: -70px;
}

.cv-visual {
  width: 165px;
  height: 190px;
  position: absolute;
  top: -200px;
  left: 50%;
  margin-left: -200px;
}
@media screen and (max-width: 767px) {
  .cv-visual {
    width: 83px;
    height: 95px;
    top: -120px;
    left: 50%;
    margin-left: -150px;
  }
}

.cv-container {
  text-align: center;
  padding-bottom: 70px;
}

.cv-caption {
  margin: 0 auto 40px;
  display: inline-block;
  position: relative;
  font-size: 20px;
  font-weight: 600;
}

.ticker-link {
  width: 100%;
  padding-bottom: 20px;
  margin-bottom: 60px;
  overflow: hidden;
  display: block;
  background-color: #FFE588;
}
@media screen and (max-width: 767px) {
  .ticker-link {
    padding-bottom: 10px;
    margin-bottom: 30px;
  }
}

.ticker-wrapper {
  display: flex;
  width: max-content;
  /* 初期位置をマイナス100%（画面外左）に設定し、右へ流す準備をする */
  transform: translateX(-50%);
}

.ticker-group {
  display: flex;
  flex-shrink: 0;
  /* ご指定の向き：左から右へ */
  animation: ticker-loop 30s linear infinite;
}

@keyframes ticker-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 1つのグループ分だけ右にずれたら 0% に戻る */
    transform: translateX(100%);
  }
}
/* ホバー時に減速して止まる演出 */
.ticker-link:hover .ticker-group {
  animation-play-state: paused;
}

/* --- 滑らかなバウンズ (Bounce) --- */
.ticker-item {
  display: flex;
  align-items: center;
  padding-right: 40px;
  font-family: "Lato", sans-serif;
  font-size: 110px;
  font-weight: 900;
  color: #000 !important;
  text-decoration: none;
  position: relative;
  will-change: transform; /* アニメーションのガタつき防止 */
}
@media screen and (max-width: 767px) {
  .ticker-item {
    font-size: 55px;
  }
}

.ticker-item:hover {
  /* 1.1倍に拡大しつつ、少しだけ角度をつけるのが「こなれ感」のコツ */
  transform: scale(1.12) translateY(-5px) rotate(-1deg);
  z-index: 10;
}

/* ENTRY文字の重なり（袋文字） */
.ticker-item::before {
  content: "ENTRY";
  position: absolute;
  top: 6px;
  left: 6px;
  color: #fff;
  -webkit-text-stroke: 4px #000;
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media screen and (max-width: 767px) {
  .ticker-item::before {
    top: 3px;
    left: 3px;
  }
}

/* ホバー時に後ろの黒文字（本体）と少しズレることで立体感を強調 */
.ticker-item:hover::before {
  transform: translate(6px, 6px);
}

/* 矢印の円 */
.arrow-circle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  font-size: 42px;
  margin-left: 20px;
  margin-top: 15px;
  background-color: #fff;
  border: 4px solid #000;
  border-radius: 50%;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media screen and (max-width: 767px) {
  .arrow-circle {
    width: 40px;
    height: 40px;
    font-size: 21px;
    border: 2px solid #000;
  }
}

.ticker-item:hover .arrow-circle {
  transform: scale(1.1) translateY(-5px) rotate(-1deg);
  box-shadow: 8px 8px 0px #000;
}

.footer-main-card {
  background-color: #F2F2F2;
  margin: 0;
  border-radius: 80px 80px 0 0;
  padding: 100px 60px 40px;
  display: none;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
@media screen and (max-width: 767px) {
  .footer-grid {
    gap: 0;
    padding-bottom: 0;
  }
}

/* ==================================================
  LINK STYLES
  共通のリンク・リスト設定
===================================================== */
.footer-outer a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}

.footer-outer a:hover {
  opacity: 0.7;
}

/* リストマーカーを完全に解除 */
.footer-outer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* アイコン付きリンクの共通設定 */
.quick-links a,
.sub-links a,
.footer-bottom a {
  display: flex;
  align-items: center;
}

/* FontAwesomeアイコンの色設定 */
.quick-links i,
.footer-outer .sub-links i,
.footer-bottom i {
  font-size: 10px;
  margin-right: 8px;
  color: var(--color-green);
}

/* 下部リンクのアイコンは少し控えめな色に */
.sub-links i,
.footer-bottom i {
  color: #ccc;
}

/* ==================================================
  LEFT COLUMN
  ロゴ・住所・LINEバナー
===================================================== */
@media screen and (max-width: 767px) {
  .footer-info {
    text-align: center;
  }
}
.footer-info h2 {
  margin-bottom: 35px;
}
@media screen and (max-width: 767px) {
  .footer-info h2 a {
    display: block;
    margin: 0 auto;
    width: 200px;
  }
}

.footer-info address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--color-sub-text);
}

.quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 10px;
  margin-bottom: 40px !important;
}

.quick-links a {
  font-weight: 700;
  font-size: 15px;
}

footer .line-banner img {
  max-width: 100%;
  border-radius: 10px;
}

/* ==================================================
  NAVIGATION
  各ナビゲーションブロック
===================================================== */
.nav-group {
  border-top: #ddd solid 1px;
  padding-top: 20px;
  margin-bottom: 35px;
}

.nav-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
}

.nav-heading a {
  display: flex;
  align-items: center;
}

/* 見出し横の丸アイコン */
.nav-heading a::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 10px;
  color: #fff;
  background-color: var(--color-green);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  padding-left: 0;
  flex-shrink: 0;
}

/* 通常のリスト項目 */
.footer-nav ul li {
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-sub-text);
}

@media (max-width: 768px) {
  .footer-nav ul {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-nav ul li {
    width: 50%;
    font-size: 13px;
  }
  .is-text-small {
    font-size: 8px;
  }
}
/* ==================================================
  DEPARTMENT LIST
  学科紹介（dl, dt, dd）
===================================================== */
@media (max-width: 768px) {
  .dept-list {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .dept-list-inner:nth-child(1) {
    width: 51%;
  }
  .dept-list-inner:nth-child(21) {
    width: 49%;
  }
}
.dept-list dl {
  margin-bottom: 20px;
  font-size: 13px;
}

.dept-list dt {
  font-weight: 700;
  margin-bottom: 5px;
}

.dept-list dd {
  margin: 3px 0;
  color: var(--color-sub-text);
  line-height: 1.7;
}

/* ==================================================
  BOTTOM AREA
  サブリンク・グループ校・コピーライト
===================================================== */
.footer-outer .sub-links {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  display: block;
}
@media screen and (max-width: 767px) {
  .footer-outer .sub-links {
    padding-bottom: 10px;
  }
}

.footer-outer .sub-links li {
  margin-bottom: 8px;
}

.footer-outer .sub-links a {
  font-size: 13px;
  color: #666;
}

.footer-bottom {
  padding: 40px 0;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.footer-bottom p {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin: 0 50px 0 0;
  text-align: center;
}

.footer-bottom ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}
@media screen and (max-width: 767px) {
  .footer-bottom ul {
    display: block;
  }
  .footer-bottom ul li {
    margin: 8px 0;
  }
}

.footer-bottom a {
  font-size: 14px;
  color: var(--color-sub-text);
}

.copyright {
  text-align: center;
  padding: 30px 0;
  color: #888;
  font-size: 12px;
}

/* ==================================================
  RESPONSIVE
===================================================== */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-main-card {
    padding: 60px 40px;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .footer-bottom p {
    width: 100%;
    margin: 0;
    margin-bottom: 20px;
  }
}
/* ==================================================
  セクション見出し
===================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 70px;
  font-family: "Lato", sans-serif;
  position: relative;
}

.headline-badge {
  margin-bottom: 15px;
  width: auto;
  height: 48px;
}
.headline-badge img {
  width: auto;
  height: 48px;
  font-family: sans-serif;
}

.headline-visual-title {
  position: relative;
  font-size: 80px;
  font-weight: 900;
  color: #fff;
  -webkit-text-stroke: 2px #000;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .headline-visual-title {
    font-size: 40px;
    -webkit-text-stroke: 1px #000;
    text-align: center;
  }
}

/* 白色の袋文字を重ねる */
.headline-visual-title::before {
  content: attr(data-text);
  position: absolute;
  top: -5px;
  left: -5px;
  color: #000;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .headline-visual-title::before {
    top: -2px;
    left: -2px;
  }
}

.is-slash {
  display: inline-block;
  position: relative;
}
.is-slash::before {
  display: inline-block;
  content: url(../images/slash-before.svg);
  width: 20px;
  height: 23px;
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
}
.is-slash::after {
  display: inline-block;
  content: url(../images/slash-after.svg);
  width: 20px;
  height: 23px;
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

/* ==================================================
アニメーションの基本設定
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* クラスがついた時の状態 */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 時間差（ディレイ）用の設定：10個目まで対応 */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

.delay-7 {
  transition-delay: 0.7s;
}

.delay-8 {
  transition-delay: 0.8s;
}

/* ==================================================
  MAIN VISUAL SECTION
===================================================== */
.main-visual {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  height: var(--mv-height, calc(100vh - 100px));
  background-color: #fff;
  transition: height 0.1s ease-out; /* リサイズ時の動きを滑らかにする場合 */
}
@media screen and (max-width: 767px) {
  .main-visual {
    margin-bottom: 40px;
  }
}

/* --- 画像エリア (背面) --- */
.mv-images {
  position: absolute;
  top: -50px;
  top: -3.472vw;
  right: 0;
  width: 70%;
  height: 100%;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .mv-images {
    position: relative;
  }
}

.mv-images,
.mv-img-item,
.mv-img-item img {
  height: 100%;
  object-fit: cover; /* または contain。デザインに合わせて選択 */
}

.mv-img-item {
  width: 100%;
  height: 100%;
}

.mv-img-item img {
  width: 100%;
  object-fit: contain;
  object-position: right center;
  position: relative;
  /* top: -3.571vw; */
}

/* 葉っぱの装飾（もし個別なら） */
.mv-deco-leaf {
  width: 244px;
  height: 247px;
  position: absolute;
  right: 5%;
  top: 50%;
  z-index: 2;
  margin-top: -10.333vw;
}
@media screen and (max-width: 767px) {
  .mv-deco-leaf {
    top: 100%;
    width: 122px;
    height: 123px;
    margin-top: -80px;
  }
}
.mv-deco-leaf img {
  width: 100%;
}

/* --- テキストコンテナ (前面) --- */
.mv-container {
  position: relative;
  z-index: 10; /* 画像より前 */
  width: 100%;
  margin: 0 auto;
  padding: 0 80px 0;
  top: 60%;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .mv-container {
    padding: 0 20px;
    top: -50px;
    transform: translateY(0);
  }
}

.mv-copy {
  color: #000;
  line-height: 1.2;
}
@media screen and (max-height: 700px) {
  .mv-copy {
    position: relative;
    top: auto !important;
    transform: none !important;
    margin-top: 120px;
  }
}
@media screen and (max-width: 767px) {
  .mv-copy {
    margin-top: 20px;
  }
}

.mv-sub {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 767px) {
  .mv-sub {
    text-align: left;
  }
}

/* OPEN CAMPUS (Lato 900) */
.mv-main-title {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 106px;
  line-height: 0.85;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .mv-main-title {
    font-size: 78px;
  }
}

.is-desktop-block {
  display: block;
}

/* --- 日付エリアの精密再現 (ここが最重要) --- */
.mv-date-info {
  margin-bottom: 65px;
}
@media screen and (max-width: 767px) {
  .mv-date-info {
    margin-bottom: 40px;
  }
}

.mv-date-info .year-date {
  display: flex;
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .mv-date-info .year-date {
    justify-content: space-between;
  }
}

/* 2026 (ピンク) */
.mv-date-info .year {
  display: block;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 106px;
  line-height: 1;
  color: #e86a92;
  letter-spacing: -0.03em;
  margin-right: 15px;
}
@media screen and (max-width: 767px) {
  .mv-date-info .year {
    font-size: 74px;
    margin-right: 0;
  }
}

/* 06.13 + SAT */
.mv-date-info .date {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 68px;
  line-height: 1;
  position: relative;
  text-align: left;
  top: 18px;
}
@media screen and (max-width: 767px) {
  .mv-date-info .date {
    font-size: 42px;
    top: 13px;
  }
}
.mv-date-info .date::before {
  display: block;
  content: "［開催日］";
  position: relative;
  left: -5px;
  font-size: 16px;
}

/* SATラベル (水色) */
.mv-date-info .date small {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  background-color: #4fb2d6;
  color: #fff;
  padding: 3px 12px;
  border-radius: 15px;
  line-height: 1;
  transform: rotate(90deg);
  position: relative;
  top: -17px;
  left: -8px;
}

/* --- 時間エリア --- */
.time {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-size: 24px;
  margin-bottom: 45px;
  letter-spacing: 0.02em;
}
@media screen and (max-width: 767px) {
  .time {
    font-size: 22px;
  }
}
.time::before {
  display: inline-block;
  content: "［時間］";
  font-size: 16px;
  font-weight: 500;
  position: relative;
  top: -2px;
}
@media screen and (max-width: 767px) {
  .time::before {
    font-size: 14px;
  }
}

.time small {
  font-size: 14px;
  font-weight: 700;
  position: relative;
  top: -2px;
}

/* --- 事前予約ボタン (ピンクのぷっくり感) --- */
.mv-reserve-btn {
  display: inline-block;
  background-color: #e86a92;
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  padding: 18px 60px;
  border-radius: 100px;
  border: 3px solid #000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* --- チラつき防止の魔法 --- */
  backface-visibility: hidden; /* 背面の描画をオフにしてチラつきを抑える */
  will-change: transform; /* アニメーションを最適化 */
  -webkit-font-smoothing: antialiased; /* 文字のジャギー（ガタつき）を防止 */
}

.mv-reserve-btn:hover {
  transform: scale(1.2);
  box-shadow: 2px 2px 0px #000;
  background-color: #FFCE1A;
  color: #000;
}

.mv-reserve-btn small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-top: 4px;
}

/* ==================================================
  SIDE OC BUTTON (SIDE FIX)
===================================================== */
.side-oc-btn {
  position: fixed;
  right: -3px;
  top: 50%;
  /* 拡大しても位置がズレないよう、常に垂直中央揃えを維持する */
  transform: translateY(-50%) scale(1);
  z-index: 999;
  background-color: #ffda1b;
  border: 3px solid #000;
  padding: 30px 10px 40px;
  writing-mode: vertical-rl;
  font-weight: 900;
  font-size: 15px;
  border-radius: 15px 0 0 15px;
  transform-origin: right center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* チラつき防止 */
  backface-visibility: hidden;
  will-change: transform;
}
@media screen and (max-width: 767px) {
  .side-oc-btn {
    right: 5%;
    top: auto;
    bottom: 0;
    width: 90%;
    writing-mode: horizontal-tb;
    border-radius: 15px;
    padding: 10px;
    text-align: center;
  }
}

.side-oc-btn .arrow-circle {
  width: 19px;
  height: 19px;
  font-size: 12px;
  position: absolute;
  right: 11px;
  bottom: 11px;
}
@media screen and (max-width: 767px) {
  .side-oc-btn .arrow-circle {
    right: 15px;
  }
}
.side-oc-btn .arrow-circle {
  border: 2px solid #000;
}

.side-oc-btn:hover {
  transform: translateY(-50%) scale(1.2);
  background-color: #fff;
  /* 影も少し強くするとより浮かび上がって見えます */
  box-shadow: 4px 4px 0px #000;
}

/* ========================
  RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .main-visual {
    height: auto;
    flex-direction: column;
    padding-top: 80px; /* ヘッダー分 */
  }
  .mv-images {
    position: relative;
    width: 100%;
    height: 400px;
    order: 1; /* 画像を上に */
  }
  .mv-container {
    order: 2; /* テキストを下に */
    text-align: center;
  }
  .mv-copy {
    margin: 0 auto;
  }
  .mv-main-title {
    margin-bottom: 20px;
  }
}
/* ========================
スマホメニュー
=========================== */
/* ==================================================
  SP NAV BASE
===================================================== */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  z-index: 999;
  transform: translateY(-100%);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 100px 24px 100px;
  overflow-y: auto;
}

.sp-nav.open {
  transform: translateY(0);
}

/* --- アコーディオンリスト --- */
.sp-main-list {
  list-style: none;
  margin-bottom: 40px;
}

.parent-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
}

.parent-link span:first-child {
  font-size: 22px;
  font-weight: 900;
  color: #000;
}

/* + アイコン */
.acc-icon {
  width: 32px;
  height: 32px;
  background-color: #c9db5f; /* デザインの黄緑 */
  border-radius: 50%;
  position: relative;
  border: 1px solid #000;
}

.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background-color: #000;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.acc-icon::before {
  width: 14px;
  height: 2px;
}

.acc-icon::after {
  width: 2px;
  height: 14px;
  transition: 0.3s;
}

/* 開いている時のアイコン変化 */
.has-child.active .acc-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* サブメニュー */
.sp-sub-menu {
  display: none;
  background-color: #fcfcf5;
  padding: 10px 20px;
}

.sp-sub-menu li a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

/* --- ボタンエリア (ぷっくりデザイン) --- */
.sp-nav-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .sp-nav-btns {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }
}

.sp-nav-btns a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  color: #000;
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 0 4px 0 #000; /* デザインの影 */
}
@media screen and (max-width: 767px) {
  .sp-nav-btns a {
    width: 100%;
  }
}

.sp-btn-oc {
  background-color: #e86a92;
}

.sp-btn-shiryo {
  background-color: #c9db5f;
}

/* --- LINE & SUB LINKS --- */
.sp-nav-line {
  margin-bottom: 40px;
}

.sp-nav-line img {
  width: 100%;
  border-radius: 15px;
}

.sp-sub-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.sp-sub-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
}

.sp-sub-links i {
  font-size: 20px;
}

/* ==================================================
楽しみ方
===================================================== */
/* ==================
  POINT SECTION BASE
===================== */
.ec-section {
  padding-bottom: 0px;
  position: relative;
}
.ec-section::before {
  display: block;
  content: "";
  width: 100%;
  height: 74px;
  background: url(../images/ec_wave.png);
  background-size: auto 74px;
  background-repeat: repeat-x;
  background-position: 0 0;
  position: absolute;
  left: 0;
  top: 100px;
}
@media screen and (max-width: 767px) {
  .ec-section::before {
    top: 70px;
  }
}
.ec-section::after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #FFF4CB;
  position: absolute;
  left: 0;
  top: 174px;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .ec-section::after {
    top: 144px;
  }
}

.ec-section-wave-top {
  display: block;
  width: 100%;
  height: 74px;
  background: url(../images/ec_wave.png);
  background-size: auto 74px;
  background-repeat: repeat-x;
  background-position: 0 0;
}

.point-container {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 767px) {
  .point-container {
    padding: 0;
  }
}

/* 各アイテムの基本レイアウト */
.point-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 120px;
  gap: 60px;
}

.point-item:last-child {
  margin-bottom: 60px;
}

/* 偶数番目（またはitem-reverse）を左右反転 */
.item-reverse {
  flex-direction: row-reverse;
}

/* ==================================================
  TEXT AREA
===================================================== */
.point-text {
  flex: 1;
  position: relative;
}
@media screen and (max-width: 767px) {
  .point-text {
    padding: 0 30px;
    margin-bottom: 80px;
  }
}

.point-num {
  display: block;
  width: 115px;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  line-height: 1;
  color: #338043;
  font-size: 24px;
  margin: 0 auto 15px;
  text-align: center;
  gap: 10px;
}
.point-num::after {
  display: block;
  content: url(../images/ec-point_kazari.svg);
  width: 115px;
  height: 15px;
}

/* 数字の下の小さな波線などを擬似要素で作るならここ */
.point-title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 25px;
  color: #000;
}
@media screen and (max-width: 767px) {
  .point-title {
    font-size: 28px;
  }
}

.point-desc {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.point-script {
  display: block;
  font-family: "adobe-handwriting-ernie", sans-serif;
  font-size: 62px;
  color: #ffda1b;
  transform: rotate(-10deg);
  transform-origin: left center;
  white-space: nowrap;
  position: absolute;
  right: -100px;
  z-index: 2;
  margin-top: 60px;
}

.point-item:nth-child(2) .point-text .point-script {
  right: auto;
  left: -100px;
}

/* ==================================================
  VISUAL AREA (IMAGE & ILLUST)
===================================================== */
.point-visual {
  flex: 2.5;
}

.point-img-wrapper {
  position: relative;
  line-height: 0;
}

.point-img-wrapper img:not(.point-illust) {
  width: 100%;
  height: auto;
  display: block;
}

/* デザインの肝：角丸の使い分け */
/* パターンA: 右上が丸い（1, 3番目） */
.shape-top-right img:not(.point-illust) {
  border-radius: 200px 0 200px 0;
}
@media screen and (max-width: 767px) {
  .shape-top-right img:not(.point-illust) {
    border-radius: 100px 0 100px 0;
  }
}

/* パターンB: 左上が丸い（2番目） */
.shape-top-left img:not(.point-illust) {
  border-radius: 0px 200px 0px 200px;
}
@media screen and (max-width: 767px) {
  .shape-top-left img:not(.point-illust) {
    border-radius: 0px 100px 0px 100px;
  }
}

/* イラストの配置 */
.point-illust {
  position: absolute;
  width: auto;
  height: 220px;
  z-index: 5;
}

/* イラスト位置：右下（1, 3番目） */
.illust-br {
  bottom: -60px;
  right: 40px;
}

/* イラスト位置：左下（2番目） */
.illust-bl {
  bottom: -60px;
  left: 40px;
}

/* ==========================
  RESPONSIVE
============================= */
@media (max-width: 850px) {
  .point-item, .item-reverse {
    flex-direction: column;
    text-align: center;
    gap: 40px;
    margin-bottom: 80px;
    gap: 0;
    display: block;
  }
  .point-script {
    transform: rotate(-5deg) translateX(0);
    left: 20px;
    position: absolute;
    font-size: 45px;
    right: auto;
    text-align: left;
    margin-top: 40px;
  }
  .point-item:nth-child(2) .point-text .point-script {
    right: auto;
    left: 40px;
  }
  .point-illust {
    width: auto;
    height: 110px;
  }
}
/* ===================
ギャラリー
====================== */
.gallery-section {
  position: relative;
}
.gallery-section::before {
  display: block;
  content: "";
  width: 100%;
  height: 200px;
  background-color: #FFF4CB;
  position: absolute;
  left: 0;
  top: 0;
}
.gallery-section::after {
  display: block;
  content: "";
  width: 100%;
  height: 74px;
  background: url(../images/ec_wave.png);
  background-size: auto 74px;
  background-repeat: repeat-x;
  background-position: 0 0;
  transform: rotate(180deg);
  position: absolute;
  left: 0;
  top: 200px;
  z-index: -1;
}

.gallery-track-wrapper {
  width: 100%;
  overflow: hidden;
}

.gallery-container {
  width: 100%;
  position: relative;
  margin-bottom: 100px;
}
.gallery-container::before {
  display: block;
  content: "";
  width: 1302px;
  height: 544px;
  background-image: url(../images/gallery-container_kazari.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 1302px auto;
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -650px;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .gallery-container::before {
    width: 651px;
    height: 272px;
    background-size: 100% auto;
    margin-left: 0;
    left: 0;
  }
}

.gallery-track {
  display: flex;
  width: max-content;
  will-change: transform;
  padding: 120px 0;
}

.gallery-item {
  width: 320px; /* 画像のサイズ */
  margin: 0 15px;
  flex-shrink: 0;
  /* 有機的な形状のマスク */
  overflow: hidden;
  line-height: 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  .gallery-item {
    width: 240px;
  }
}

.gallery-item:nth-child(odd) {
  border-radius: 0 200px 0 200px;
  top: -60px;
}
@media screen and (max-width: 767px) {
  .gallery-item:nth-child(odd) {
    border-radius: 0 100px 0 100px;
  }
}

.gallery-item:nth-child(even) {
  border-radius: 200px 0 200px 0;
}
@media screen and (max-width: 767px) {
  .gallery-item:nth-child(even) {
    border-radius: 100px 0 100px 0;
  }
}

.gallery-item img {
  width: 100%;
  height: auto;
  pointer-events: none; /* 画像のドラッグ防止 */
}

/* ==================================================
  スケジュール
===================================================== */
/* =====================
  SCHEDULE SECTION BASE
========================*/
.schedule-section {
  position: relative;
}

.schedule-section::before {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/grid-bg.png);
  background-repeat: repeat;
  background-size: 29px 29px;
  background-position: center 0;
  position: absolute;
  left: 0;
  top: 250px;
  z-index: -1;
}

.schedule-section-bg {
  display: block;
  width: 1782px;
  height: 893px;
  position: absolute;
  left: 50%;
  top: -130px;
  z-index: -1;
  transform: translateX(-50%);
}

.schedule-students {
  display: block;
  width: 262px;
  height: 185px;
  position: absolute;
  left: 50%;
  top: -30px;
  margin-left: -585px;
}
@media screen and (max-width: 767px) {
  .schedule-students {
    left: 20px;
    margin-left: 0;
    width: 131px;
    height: 93px;
    top: -150px;
  }
}
.schedule-students img {
  width: 100%;
}

.schedule-container {
  max-width: 900px;
  margin: 0 auto 150px;
  padding: 0 40px;
  position: relative;
}

/* ===================
  TIMELINE AREA (左側)
====================== */
.schedule-timeline {
  width: 100%;
}

/* 各行の設定 */
.timeline-row {
  display: flex;
  align-items: center;
  border: 3px solid #000;
  border-radius: 20px;
  background-color: #f2f2f2;
  padding: 15px 30px;
  margin-bottom: 15px;
}
@media screen and (max-width: 767px) {
  .timeline-row {
    display: block;
  }
}

/* 時間表示 (Lato) */
.time-slot {
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #4fb2d6; /* デザインの薄い青 */
  margin-right: 30px;
  letter-spacing: 0.02em;
}

/* 単一時間の表示 (16:00など) */
.time-single {
  margin-right: 80px; /* ▶がない分、少し余白を多めに */
}

/* 詳細エリア (青い点 ＋ テキスト) */
.event-details {
  display: flex;
  align-items: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 15px;
}

.d-blue {
  background-color: #4fb2d6;
} /* 青い点 */
.event-name {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  margin: 0;
}

/* ===========================
  DATE BADGE (右側・浮かせる円形)
============================== */
.schedule-date-badge {
  position: absolute;
  top: -90px;
  right: -10%;
  width: 250px;
  height: 250px;
  background-color: #fff;
  border: 3px solid #000;
  border-radius: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .schedule-date-badge {
    position: relative;
    width: 100%;
    height: auto;
    background: none;
    border: none;
    border-radius: 0;
  }
}

.badge-inner {
  color: #000;
}

.date-label {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* メインの日付 (Lato 900) */
.main-date {
  font-family: "Lato", sans-serif;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 5px;
  letter-spacing: -0.02em;
}

.main-time {
  font-size: 24px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .main-time {
    line-height: 1;
    padding-top: 6px;
  }
}

.reception-time {
  font-size: 14px;
  font-weight: 700;
  font-family: "Lato", sans-serif;
}

@media screen and (max-width: 767px) {
  .main-date-container {
    display: flex;
    justify-content: space-between;
  }
}
/* ==========================
  RESPONSIVE
============================= */
@media (max-width: 850px) {
  .schedule-container {
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    margin: 0 auto;
  }
  /* タイムラインを中央寄せ */
  .schedule-timeline {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
  .timeline-row {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 20px;
  }
  .time-slot {
    font-size: 16px;
    margin-right: 15px;
  }
  /* 単一時間も合わせる */
  .time-single {
    margin-right: 15px;
  }
  .event-name {
    font-size: 14px;
  }
  /* バッジを浮かせるのを解除 */
  .schedule-date-badge {
    position: relative;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px; /* 中央揃え ＋ 下に余白 */
    border-width: 2px;
    box-shadow: 4px 4px 0px #000;
  }
}
@media screen and (max-width: 850px) and (max-width: 767px) {
  .schedule-date-badge {
    width: 100%;
    height: auto;
    border-width: 0;
    box-shadow: none;
    padding: 0;
  }
}
@media (max-width: 850px) {
  .main-date-time-container {
    padding-left: 10px;
  }
}
/* ==================================
  MODEL COURSE SECTION (IMAGE-BASED)
===================================== */
.model-course-container {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 80px 20px;
}

/* --- 導入テキスト (ここは以前の指定を継承) --- */
.model-course-intro {
  margin-bottom: 80px;
}

.intro-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.title-blue-box {
  display: inline-block;
  background-color: #4fb2d6; /* 水色 */
  padding: 0 5px;
  line-height: 1.25;
  border: 3px solid #000;
}

.intro-lead p {
  font-size: 18px;
  font-weight: 700;
}

/* --- 画像を並べるグリッド --- */
.course-grid {
  display: grid;
  /* PC版：2列配置 */
  grid-template-columns: repeat(2, 1fr);
  /* 上下のコース間隔を広めに設定（デザインの余白を再現） */
  gap: 100px 50px;
}

/* --- カード（画像）の設定 --- */
.course-card {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.course-card:nth-child(2),
.course-card:nth-child(4) {
  top: -150px;
}
@media screen and (max-width: 767px) {
  .course-card:nth-child(2),
  .course-card:nth-child(4) {
    top: 0;
  }
}

.course-card img {
  width: 100%; /* 親要素(grid)の幅いっぱいに広げる */
  height: auto; /* アスペクト比を維持 */
  display: block; /* 画像下の不要な隙間をなくす */
  /* 画像内の文字（フロー部分）が読める程度の解像度を確保 */
  max-width: 500px; /* PCで大きくなりすぎないようにストッパーをかける */
  /* レンダリングを綺麗にする（文字のぼやけ防止） */
  image-rendering: -webkit-optimize-contrast;
}

/* ============
  RESPONSIVE
=============== */
@media (max-width: 900px) {
  .course-grid {
    grid-template-columns: 1fr; /* スマホ・タブレットは1列配置 */
    gap: 40px; /* スマホ用の余白 */
  }
  .intro-title {
    font-size: 26px;
  }
  .course-card img {
    /* スマホでは横幅いっぱいに広げて文字の視認性を確保 */
    max-width: 100%;
  }
}
/* ====================
  PARENT INFO SECTION
======================= */
.parent-info-container {
  max-width: var(--inner-width);
  margin: 0 auto 40px;
  padding: 40px 20px;
  background-color: #f2f2f2; /* デザインの薄いグレー */
  text-align: center;
  /* 左上と右下を大きく丸めるデザイン */
  border-radius: 120px 0 120px 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  .parent-info-container {
    padding: 80px 40px;
  }
}
.parent-info-container::before {
  content: "";
  display: block;
  width: 244px;
  height: 246px;
  background: url(../images/parent-info-container_kazari.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: -220px;
}
@media screen and (max-width: 767px) {
  .parent-info-container::before {
    width: 122px;
    height: 123px;
    top: -110px;
  }
}

.parent-info-title {
  display: inline-block;
  background-color: #fff;
  border: 3px solid #000;
  padding: 10px 20px;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 35px;
  position: relative;
  line-height: 1;
  /* パキッとした黒い影（デザインの再現） */
  box-shadow: 6px 6px 0px #000;
  /* テキストの微調整 */
  letter-spacing: 0.05em;
}

.parent-info-text {
  color: #000;
}

.parent-info-text p {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 5px;
}

.parent-info-text p:last-child {
  margin-bottom: 0;
}

/* ====================
  BENEFIT SECTION BASE
======================= */
.benefit-container {
  max-width: var(--inner-width);
  margin: 0 auto 130px;
  padding: 0 20px;
  z-index: 3;
  position: relative;
}

.benefit-header {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.benefit-main-title {
  position: relative;
  width: 503px;
  left: 50%;
  margin-left: -330px;
}
@media screen and (max-width: 767px) {
  .benefit-main-title {
    width: 100%;
    left: 0;
    margin-left: 0;
  }
}

/* ==================================================
  BENEFIT MAIN CARD
===================================================== */
.benefit-card {
  background-color: #cdd667;
  border: 2px solid #000;
  border-radius: 60px;
  padding: 30px 40px;
  position: relative;
}

.benefit-inner {
  text-align: center;
}

.benefit-badge-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.benefit-badge-title .slash {
  margin: 0 10px;
  transform: scaleY(1.3);
}

.benefit-lead {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 50px;
}

.benefit-lead span {
  background: linear-gradient(transparent 70%, #D8E584 70%); /* マーカー風 */
}

/* ========================
  BENEFIT GRID (01 & 02)
===========================*/
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* 02を少し大きく */
  gap: 30px;
}

.benefit-item {
  position: relative;
}
@media screen and (max-width: 767px) {
  .benefit-item {
    margin-top: 20px;
  }
}

/* バッジ（01, 02） */
.item-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 50px;
  padding: 8px 30px;
  font-size: 16px;
  font-weight: 700;
  z-index: 10;
  white-space: nowrap;
}

.item-badge span {
  color: #74b9d5;
  margin-right: 5px;
}

/* 特典01の画像エリア */
.item-visual img {
  width: 100%;
  height: auto;
  border-radius: 30px;
}

/* 特典02の白いエリア */
.item-content-white {
  background-color: #f9f9e8; /* 非常に薄い黄色 */
  border-radius: 30px;
  padding: 40px 20px 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .ticket-flex {
    display: block;
  }
}

.ticket-img {
  width: 200px;
}
@media screen and (max-width: 767px) {
  .ticket-img {
    margin: 0 auto 20px;
  }
}

.ticket-info {
  text-align: center;
}

.ticket-note {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

/* 半額免除のボックス（袋文字風） */
.discount-box {
  display: block;
  width: 202px;
  padding: 0;
  margin-bottom: 5px;
}

.price-note {
  font-size: 14px;
  font-weight: 700;
}

/* ===============
  RESPONSIVE
================== */
@media (max-width: 850px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
  .benefit-card {
    border-radius: 40px;
    padding: 50px 20px 20px;
  }
}
/* ==================================================
学校紹介
===================================================== */
/* 見出し飾り */
.is-deptsection::before {
  content: "";
  display: block;
  width: 192px;
  height: 160px;
  background: url(../images/dept_kazari.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
}
@media screen and (max-width: 767px) {
  .is-deptsection::before {
    width: 96px;
    height: 80px;
  }
}

.dept-section {
  padding: 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  .dept-section {
    width: 100%;
  }
}

.dept-section-bg {
  display: block;
  width: 3054px;
  height: 1532px;
  position: absolute;
  left: 50%;
  top: -300px;
  z-index: -1;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .dept-section-bg {
    width: 100%;
    height: auto;
  }
  .dept-section-bg img {
    display: none;
  }
}

.dept-container {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
}

.dept-grid {
  display: grid;
  /* PC版：4カラム構成 */
  grid-template-columns: repeat(4, 1fr);
  gap: 0px 40px;
}

/* PCではSwiperの機能を無効化する（横並びを維持） */
.dept-grid.swiper {
  overflow: visible; /* PCではスライダー外にカードが見えるように */
}

.dept-grid .swiper-wrapper {
  display: grid;
  grid-template-columns: inherit;
  gap: inherit;
}

/* ページネーションはPCでは隠す */
.swiper-pagination {
  display: none;
}

/* ナビゲーション全体の配置 */
@media (min-width: 769px) {
  .slider-controls {
    display: none;
  }
}
@media (max-width: 768px) {
  .slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
  }
}
/* 共通：矢印ボタンの土台 */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  width: 50px;
  height: 50px;
  background-color: #2d6d43; /* デザインの濃い緑 */
  border: 3px solid #000;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.swiper-button-prev-custom:active,
.swiper-button-next-custom:active {
  transform: scale(0.9);
}

/* 矢印アイコン（白）を疑似要素で作成 */
.swiper-button-prev-custom::after,
.swiper-button-next-custom::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.swiper-button-prev-custom::after {
  left: 55%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.swiper-button-next-custom::after {
  left: 45%;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 分数カウンター部分 */
.slider-fraction {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 20px;
}

.slider-fraction .current {
  font-size: 28px;
  font-weight: 900;
}

.slider-fraction .total {
  color: #999;
  font-size: 18px;
}

/* ==================================================
  SPレイアウト（ブレイクポイント以下）
===================================================== */
@media (max-width: 768px) {
  .dept-grid.swiper {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .dept-grid .swiper-wrapper {
    display: flex !important; /* Swiper本来の横並びに */
    flex-direction: row !important;
    grid-template-columns: none !important;
    gap: 0 !important;
    /* transformはJSが制御するので触らない */
  }
  .dept-card.swiper-slide {
    flex-shrink: 0 !important; /* カードが縮まないように固定 */
    width: 80% !important; /* slidesPerViewよりこちらが優先される場合があるため */
    height: auto !important;
    margin-top: 0 !important; /* PC用の互い違いマージンをリセット */
  }
  /* 互い違い（nth-child）の余白をスマホではリセット */
  .dept-card:nth-child(n) {
    margin-top: 0 !important;
  }
}
/* ==================================================
  CARD POSITIONING (UP/DOWN RHYTHM)
  デザインの「互い違い」を再現
===================================================== */
.dept-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  /* ホバー時の滑らかなバウンズ準備 */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 0;
}

/* ホバー時のインタラクション */
.dept-card:hover {
  transform: translateY(var(--hover-y)) scale(1.03);
}

/* ==================================================
  VISUAL AREA (PHOTO & CLIP-PATH)
  写真の切り抜きとズーム演出
===================================================== */
.dept-visual {
  position: relative;
  margin-bottom: 15px;
  z-index: 1;
}

.dept-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 100px 0 100px 0;
  transition: transform 0.6s ease;
}

/* ホバーで写真をゆっくりズーム */
.dept-card:hover .dept-visual img {
  transform: scale(1.1);
}

.dept-catch-wrapper {
  display: flex;
  /* 右から左へ要素を並べる（1行目を右、2行目を左に） */
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 0; /* 重なりを調整するため一旦0に */
  position: absolute;
  top: -20px;
  right: 15px;
  z-index: 10;
  transition: 0.3s;
}

/* ホバーで短冊が「ポヨン」と浮く動き */
.dept-card:hover .dept-catch-wrapper {
  transform: translateY(-8px) rotate(-10deg);
}

.catch-line {
  background-color: #fff;
  writing-mode: vertical-rl;
  align-self: flex-start;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 5px;
  border: 2px solid #000;
  white-space: normal;
  width: fit-content;
}

/* 1枚目（奥側） */
.line1 {
  display: inline-block;
  position: relative;
  z-index: 1; /* デザイン通り、2枚目の後ろ */
  margin-right: -2px; /* 少し重ねる */
}

/* 2枚目（手前側） */
.line2 {
  position: relative;
  z-index: 2; /* 1枚目の上に重ねる */
  margin-right: -2px; /* 重なりを深くする */
}

/* 3枚目（手前側） */
.line3 {
  position: relative;
  z-index: 2; /* 1枚目の上に重ねる */
  margin-right: -2px; /* 重なりを深くする */
}

/* ===============
  INFO AREA
  学科名とPDFバッジ
================== */
.school-name {
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #555;
}

.dept-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.dept-name a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

/* PDFアイコン (Lato) */
.pdf-icon {
  display: inline-block;
  font-family: "Lato", sans-serif;
  font-size: 10px;
  font-weight: 900;
  background-color: #c9db5f; /* デザインの黄緑 */
  color: #000;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 10px;
  border: 1px solid #000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ホバー時にPDFバッジを弾ませる */
.dept-card:hover .pdf-icon {
  transform: scale(1.3) rotate(15deg);
  box-shadow: 2px 2px 0px #000;
  background-color: #fff;
}

/* ==================================================
  RESPONSIVE
===================================================== */
@media (min-width: 1025px) {
  .dept-card:nth-child(1),
  .dept-card:nth-child(5) {
    margin-top: 120px;
  }
  .dept-card:nth-child(2),
  .dept-card:nth-child(6) {
    margin-top: 80px;
  }
  .dept-card:nth-child(3),
  .dept-card:nth-child(7) {
    margin-top: 40px;
  }
}
@media (max-width: 1024px) {
  .dept-grid {
    grid-template-columns: repeat(2, 1fr); /* タブレット 2列 */
    gap: 70px 30px;
  }
}
@media (max-width: 600px) {
  .dept-grid {
    grid-template-columns: 1fr; /* スマホ 1列 */
    gap: 60px;
  }
  .card-up, .card-down {
    transform: translateY(0) !important; /* スマホでは整列 */
  }
  .catch-line {
    font-size: 13px;
    padding: 18px 7px;
  }
}
/* ==================================================
  PARKING SECTION
===================================================== */
.parking-section {
  padding: 100px 40px 150px;
  margin-bottom: 100px;
}

.mymap-container {
  max-width: var(--inner-width);
  margin: 0 auto 80px;
}
.mymap-container iframe {
  border: none;
  width: 100% !important;
  height: 480px !important;
}
@media screen and (max-width: 767px) {
  .mymap-container iframe {
    height: 200px !important;
  }
}

.parking-container {
  max-width: var(--inner-width);
  margin: 0 auto;
  display: flex;
  align-items: center; /* 垂直中央 */
  gap: 60px;
}

/* 左側：テキスト情報 */
.parking-info {
  flex: 1;
}

.parking-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #000;
  letter-spacing: 0.05em;
}

.parking-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 注釈：ぶら下げインデント */
.parking-notes {
  margin-bottom: 40px;
}

.note-item {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  padding-left: 1em;
  text-indent: -1em; /* 1行目を戻す */
}

/* 住所・地図リンク */
.parking-address {
  font-size: 16px;
}

.address-text {
  margin-bottom: 10px;
  font-weight: 500;
}

.map-link {
  display: inline-flex;
  align-items: center;
  color: #000;
  font-weight: 700;
}
.map-link .map-link__text {
  text-decoration: underline;
  transition: 0.3s;
}

.map-link i {
  color: #c9db5f;
  margin-right: 8px;
  text-decoration: none !important;
}

.map-link:hover .map-link__text {
  text-decoration: none;
  color: #c9db5f;
}

/* 右側：マップ画像 */
.parking-map {
  flex: 1.3; /* 地図を少し大きく */
}

.map-frame {
  border: 2px solid #000;
  overflow: hidden;
  line-height: 0; /* 画像下の隙間防止 */
}

.map-frame img {
  width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .parking-section {
    padding: 60px 20px;
  }
  .parking-container {
    flex-direction: column;
    gap: 40px;
  }
  .parking-title {
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
  }
  .parking-lead {
    font-size: 16px;
    text-align: center;
  }
  .pc-only {
    display: none;
  }
}/*# sourceMappingURL=style.css.map */

@media screen and (max-width: 767px) {
    #tip_chat_www {
        bottom: 80px !important;
    }
}