/* ============================================================
   KOTO FASHION SCHOOL — common.css
   全ページ共通スタイル
   ページ固有のスタイルは各HTMLの <style> に記述する
   ============================================================ */

/* ===== GOOGLE FONTS (preconnect はHTML側 <head> で宣言) ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&family=Noto+Serif+JP:wght@300;400;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;600;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  --black:      #0e1a2e;
  --charcoal:   #002d6e;
  --dark:       #003d80;
  --mid:        #335f99;
  --light-mid:  #6699cc;
  --light:      #e6f0ff;
  --cream:      #eef5ff;
  --white:      #ffffff;
  --blue:       #005bbb;
  --blue-dark:  #003d80;
  --blue-light: #2275cc;
  --gold:       #f5c800;
  --gold-light: #ffe566;
  --gold-dark:  #d4a800;
  --accent:     #f5c800;

  --nav-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* 装飾テキスト等のはみ出しによる横白帯を防ぐ */
  overscroll-behavior-x: none; /* iOS: 横スワイプのバウンド/ズレを抑制 */
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--black);
  background: var(--white);
  padding-top: var(--nav-height);
  /* overflow-x: hidden はiOS Safariで縦スクロールを壊すため外す。
     横帯はhtmlのoverflow-x:hiddenと各ページCSSのsub-nav overflow:hiddenで対処 */
}

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

a {
  color: inherit;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 120px 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: 72px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.section-tag-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-tag-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--black);
  letter-spacing: -0.01em;
}

.section-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--charcoal);
  margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--gold);
  color: #003d80;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(245,200,0,0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  border: 1px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1),
              transform 0.8s cubic-bezier(0.22,1,0.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE HERO (内ページ共通) ===== */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #002d6e 0%, #003d80 50%, #005bbb 100%);
  padding: 100px 0 80px;
  overflow: hidden;   /* フォールバック */
  overflow: clip;     /* clip はposition:absoluteの子もクリップする（Safari 15.4+） */
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}

/* パンくず */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.breadcrumb a,
.breadcrumb span {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  transition: color 0.3s;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb-sep {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
}

.breadcrumb span:last-child {
  color: rgba(255,255,255,0.7);
}

/* ページヒーロー内テキスト */
.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-hero-tag-line {
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.page-hero-tag-text {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.page-hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* ページヒーロー装飾テキスト (各ページで ::before に設定) */
.page-hero-deco {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 18vw, 200px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

/* ===== NAV ===== */
/* グローバルナビのみ対象（breadcrumb・sub-nav の nav タグには当てない） */
nav:not(.breadcrumb):not(.sub-nav):not(.grad-pagination) {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: var(--nav-height);
  background: rgba(0,61,128,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(245,200,0,0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-logo-jp {
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.nav-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.2;
}

.nav-logo-divider {
  display: none;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  height: 76px;
}

/* li を縦中央揃えのフレックスコンテナに */
.nav-links > li,
.nav-links > .nav-item {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}

/* 直接子の a のみ（ドロップダウン内のa・btn-navは除外） */
.nav-links > li > a:not(.btn-nav),
.nav-links > .nav-item > a:not(.btn-nav) {
  display: flex;
  align-items: center;
  height: 100%;
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  padding: 0;
}

.nav-links > li > a:not(.btn-nav):hover,
.nav-links > .nav-item > a:not(.btn-nav):hover,
.nav-links > li > a:not(.btn-nav).active,
.nav-links > .nav-item > a:not(.btn-nav).active {
  color: var(--gold);
}

.btn-nav {
  padding: 12px 28px;
  text-decoration: none;
  height: auto !important;
  align-self: center;
  margin-left: 12px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  border-radius: 2px;
  transition: all 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* nav内でも確実にpaddingを維持 */
.nav-links a.btn-nav {
  padding: 12px 28px !important;
  height: auto !important;
}

.btn-nav:hover {
  background: var(--gold) !important;
  color: var(--blue-dark) !important;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 300;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.77,0,0.18,1);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(0,30,80,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.77,0,0.18,1);
  border-bottom: 2px solid var(--gold);
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
}

.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0px 0 1px;
}

.mobile-menu li a {
  display: block;
  padding: 16px 32px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}

.mobile-menu li a:hover {
  color: var(--gold);
  padding-left: 40px;
  background: rgba(245,200,0,0.05);
}

.mobile-menu .mobile-cta {
  padding: 20px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu .mobile-cta a {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.12em;
  transition: all 0.25s;
}

.mobile-cta-primary  { background: var(--gold); color: var(--blue-dark) !important; }
.mobile-cta-secondary { border: 1px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.8) !important; }

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  padding: 80px 0 0;
  border-top: 1px solid rgba(245,200,0,0.15);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 4px;
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-logo-jp {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.footer-logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr 0.8fr 0.7fr;
  gap: 15px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.9;
  margin-top: 20px;
}

.footer-brand .footer-sns {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  flex-shrink: 0;
}

.footer-sns-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245,200,0,0.08);
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-seo {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-seo p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

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

/* ===== SNS BAR ===== */
.sns-bar {
  background: var(--blue-dark);
  padding: 48px 0;
  border-top: 1px solid rgba(200,169,110,0.15);
}

.sns-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.sns-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.sns-links {
  display: flex;
  gap: 24px;
}

.sns-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.sns-link:hover { color: var(--gold); }

/* ===== PAGE TOP BUTTON ===== */
#pageTopBtn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 52px;
  height: 52px;
  background: var(--blue-dark);
  border: 2px solid var(--gold);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
  pointer-events: none;
}

#pageTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#pageTopBtn:hover {
  background: var(--gold);
}

#pageTopBtn:hover svg line,
#pageTopBtn:hover svg circle {
  stroke: #003d80;
}

/* ===== ZIPPER SCROLL ===== */
#zipperTrack {
  position: fixed;
  left: 0;
  top: var(--nav-height);
  width: 28px;
  /* height は JS で px 固定値を inline style で管理する。
     100vh はiOSでアドレスバー縮小時に変化してSVGとズレるため使用しない。
     初期値として dvh をフォールバック付きで設定しておく */
  height: calc(100vh - var(--nav-height));     /* 古いiOS用フォールバック */
  height: calc(100dvh - var(--nav-height));    /* dvh: iOSアドレスバーを除いた正確な高さ */
  z-index: 400;
  pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  /* ジッパーはSP版で非表示 */
	#zipperTrack { display: block; top: var(--nav-height); width: 60px; }

  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-logo-divider { display: none; }
  .nav-logo-jp { font-size: 11px; }
  .nav-logo-en { font-size: 8px; letter-spacing: 0.2em; }
  .nav-logo-img { width: 36px; height: 36px; }

  .container { padding: 0 20px; }
  section { padding: 64px 0; }

  .page-hero { padding: 72px 0 56px; }
  .page-hero-inner { padding: 0 20px; }

  .sns-inner { flex-direction: column; gap: 20px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-logo { justify-content: center; }
  .footer-brand .footer-sns { justify-content: center; }
  .footer-brand p { text-align: center; }

  /* 2カラムナビ全体を中央寄せ（文字は左揃えのまま） */
  .footer-inner { justify-items: center; }
  .footer-col { width: 100%; max-width: 160px; }

  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  #pageTopBtn { bottom: 20px; right: 20px; width: 44px; height: 44px; }
}

/* ============================================================
   CTA SECTION — 募集要項・資料請求
============================================================ */
.cta-section {
  background: var(--blue-dark);
  padding: 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 52px 64px;
  text-decoration: none;
  position: relative;
  border-right: 1px solid rgba(245,200,0,0.12);
  transition: background 0.3s;
  overflow: hidden;
}

.cta-card:last-child { border-right: none; }

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245,200,0,0.04);
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-card:hover::before { opacity: 1; }

.cta-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  transform-origin: left;
}

.cta-card:hover::after { transform: scaleX(1); }

.cta-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(245,200,0,0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}

.cta-card:hover .cta-icon-wrap {
  border-color: var(--gold);
  background: rgba(245,200,0,0.08);
}

.cta-icon-wrap svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-body { flex: 1; min-width: 0; }

.cta-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.4em;
  color: rgba(245,200,0,0.7);
  text-transform: uppercase;
  display: block; margin-bottom: 8px;
}

.cta-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px; font-weight: 400;
  color: var(--white);
  line-height: 1.4; margin-bottom: 8px;
}

.cta-desc {
  font-size: 13px; font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

.cta-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.cta-card:hover .cta-arrow { transform: translateX(6px); }

@media (max-width: 768px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-card {
    border-right: none;
    border-bottom: 1px solid rgba(245,200,0,0.12);
    padding: 36px 24px;
    gap: 20px;
  }
  .cta-card:last-child { border-bottom: none; }
  .cta-icon-wrap { width: 52px; height: 52px; }
  .cta-title { font-size: 18px; }
}

/* ============================================================
   NAV — クリックトグル式サブメニュー
============================================================ */

/* トグルボタン（▼付き） */
.nav-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

.nav-toggle:hover,
.nav-toggle[aria-expanded="true"] { color: var(--gold); }

.nav-toggle-caret {
  width: 10px; height: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-caret {
  transform: rotate(180deg);
}

/* ドロップダウンパネル */
.nav-dropdown {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%; transform: translateX(-50%);
  background: rgba(0,30,80,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(245,200,0,0.15);
  border-radius: 4px;
  padding: 8px 0;
  min-width: 180px;
  white-space: nowrap;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.nav-item.open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 12px; font-weight: 300;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
  background: rgba(245,200,0,0.08);
  color: var(--gold) !important;
  padding-left: 26px;
}

/* nav-item を relative に（上部で定義済み） */

/* フォーカスリング */
.nav-toggle:focus-visible,
.nav-dropdown a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}


/* ===== SUB NAV（入学案内共通） ===== */
/* サブナビ */
    .sub-nav {
      position: relative; /* staticではなくrelativeに — staticはiOSでレイアウト幅計算が狂う原因になる */
      background: var(--cream);
      border-bottom: 1px solid rgba(0,91,187,0.1);
      z-index: auto;
      width: 100%;
    }

    .sub-nav-inner {
      display: flex;
      gap: 0;
      overflow-x: auto;
    }

    .sub-nav-link {
      padding: 18px 28px;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.1em;
      color: var(--mid);
      text-decoration: none;
      white-space: nowrap;
      border-bottom: 2px solid transparent;
      transition: all 0.3s;
    }

    .sub-nav-link:hover,
    .sub-nav-link.active {
      color: var(--blue-dark);
      border-bottom-color: var(--gold);
    }

/* ===== SUB NAV スマホ スクロール（A+B：フェード＋矢印ボタン） ===== */
@media (max-width: 768px) {
  .sub-nav { position: relative; }
  .sub-nav .container {
    display: flex;
    align-items: stretch;
    max-width: none;
    padding: 0;
  }
  .sub-nav-inner {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .sub-nav-inner::-webkit-scrollbar { display: none; }

  /* 矢印ボタン */
  .snav-btn {
    display: none; /* JSで flex に切り替え */
    align-items: center;
    justify-content: center;
    width: 36px;
    flex-shrink: 0;
    background: none;
    border: none;
    color: var(--blue-dark);
    font-size: 22px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  .snav-btn:hover { opacity: 1; }
  .snav-btn-l { border-right: 1px solid rgba(0,61,128,0.1); }
  .snav-btn-r { border-left:  1px solid rgba(0,61,128,0.1); }

  /* 右端フェードオーバーレイ */
  .snav-fade {
    display: none; /* JS で制御 — 初期は非表示 */
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 48px;
    /* background は JS で動的に設定 */
    pointer-events: none;
  }
}

/* ===== モバイルメニュー アコーディオン ===== */
.mm-list { list-style: none; padding: 8px 0; }
.mm-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 32px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s, background 0.2s;
}
.mm-toggle:hover,
.mm-item.open .mm-toggle {
  color: var(--gold);
  background: rgba(245,200,0,0.05);
}
.mm-caret {
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s;
  flex-shrink: 0;
  margin-bottom: 3px;
}
.mm-item.open .mm-caret {
  transform: rotate(-135deg);
  margin-bottom: -3px;
}
.mm-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.22,1,0.36,1);
  background: rgba(0,0,0,0.2);
}
.mm-item.open .mm-sub { max-height: 400px; }
.mm-sub li a {
  display: block;
  padding: 13px 32px 13px 48px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color 0.2s, padding-left 0.2s;
}
.mm-sub li a:hover {
  color: var(--gold);
  padding-left: 56px;
}

}
.mm-sub li a:hover {
  color: var(--gold);
  padding-left: 56px;
}


/* ============================================================
   BREADCRUMB BAR — ステップ矢印型（ヒーロー下・白背景）
============================================================ */
.bc-bar {
  background: #fff;
  border-bottom: 1px solid rgba(0,61,128,0.08);
}

.bc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: stretch;
  height: 28px;
}

.bc-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0 14px 0 10px;
  background: #f0f4ff;
  color: rgba(0,40,100,0.5);
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
  transition: background 0.2s, color 0.2s;
}

.bc-step:first-child {
  border-radius: 2px 0 0 2px;
  padding-left: 12px;
}

.bc-step + .bc-step { margin-left: -1px; }

.bc-step svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.bc-step:hover {
  background: #e6eeff;
  color: rgba(0,40,100,0.75);
}

.bc-current {
  display: inline-flex;
  align-items: center;
  background: #003d80;
  color: #fff;
  font-size: 9.5px;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.1em;
  padding-left: 18px;
  padding-right: 10px;
  margin-left: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 7px 50%);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .bc-inner {
    padding: 0 16px;
    height: 24px;
  }

  .bc-step {
    font-size: 9px;
    padding: 0 10px 0 6px;
    gap: 4px;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 0 100%);
  }

  .bc-step:first-child { padding-left: 6px; }

  .bc-step svg { width: 10px; height: 10px; }

  .bc-current {
    font-size: 9px;
    padding-left: 12px;
    padding-right: 8px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6px 50%);
  }
}


/* ============================================================
   opencampus.css への追記分
   スケジュール月別2カラム + スケジュール下CTAボタン
   ============================================================ */

/* --- 月別グリッドラッパー --- */
.schedule-months {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2カラム */
  gap: 32px 40px;
  margin-top: 48px;
}

/* --- 月ラベル --- */
.schedule-month-label {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.schedule-month-label span {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

/* --- schedule-list はそのまま使う（既存スタイル継承） --- */
.schedule-month-col .schedule-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- schedule-item 内に body ラッパーを追加したので調整 --- */
.schedule-item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* --- スケジュール下 CTAボタン --- */
.schedule-apply-cta {
  margin-top: 56px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.schedule-apply-cta-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.7;
}
.btn-schedule-apply {
  display: inline-block;
  padding: 18px 52px;
  background: var(--white);
  color: var(--black, #111);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.btn-schedule-apply:hover {
  opacity: 0.85;
}

/* --- レスポンシブ: SP は1カラムに戻す --- */
@media (max-width: 767px) {
  .schedule-months {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .schedule-apply-cta-text .sp-br {
    display: inline;
  }
  .btn-schedule-apply {
    padding: 16px 36px;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
}