/* ============================================================
   KOTO FASHION SCHOOL — opencampus.css
   opencampus/index.html 固有スタイル
   共通スタイルは /css/common.css を参照
============================================================ */

/* ===== ページヒーロー（明るい青調） ===== */
main .page-hero {
  background: linear-gradient(135deg, #1a6bbf 0%, #2a88e0 50%, #3a9ff5 100%);
}

/* ===== サブナビ（ヒーロー直下） ===== */
.oc-sub-nav {
  position: fixed !important;
  top: var(--nav-height) !important; /* グローバルナビ(76px)の直下に固定 */
  left: 0;
  right: 0;
  height: auto !important;
  padding: 0 !important;
  z-index: 9000 !important; /* グローバルナビ(9999)の下 */
  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);
  box-shadow: 0 2px 12px rgba(0,91,187,0.06);
  display: block;
}
.oc-sub-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}
.oc-sub-nav-inner::-webkit-scrollbar { display: none; }
.oc-sub-nav-link {
  padding: 18px 28px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.oc-sub-nav-link:hover,
.oc-sub-nav-link.active {
  color: var(--white);
  border-bottom-color: var(--gold);
}

/* ===== 体験セクション ===== */
.experience-section {
  background: #f0f7ff;
  padding-top: 56px;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.experience-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(42,136,224,0.15);
  background: #fff;
  transition: all 0.35s;
  box-shadow: 0 2px 12px rgba(0,91,187,0.06);
}
.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42,136,224,0.18);
  border-color: rgba(42,136,224,0.4);
}
.exp-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a88e0 0%, #3a9ff5 100%);
  position: relative;
  overflow: hidden;
}
.exp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}
.experience-card:hover .exp-thumb img { transform: scale(1.05); }
.exp-body {
  padding: 25px 20px;
  background: #fff;
}
.exp-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.5;
}
.exp-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
}

/* 個別相談ボックス */
.consultation-box {
  margin-top: 48px;
  padding: 36px 40px;
  background: linear-gradient(135deg, #e8f4ff 0%, #d0e9ff 100%);
  border-radius: 8px;
  border-left: 4px solid #2a88e0;
  display: flex;
  gap: 40px;
  align-items: center;
}
.consultation-box-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #2a88e0;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.consultation-box-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.consultation-box-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
}
.consultation-box-note {
  font-size: 12px;
  font-weight: 300;
  color: var(--mid);
  flex-shrink: 0;
  background: rgba(255,255,255,0.7);
  padding: 12px 16px;
  border-radius: 4px;
  border: 1px solid rgba(42,136,224,0.2);
  line-height: 1.7;
}

/* ===== スケジュールセクション ===== */
.schedule-section { background: #0d3a6e; }
.schedule-year-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  margin-bottom: 40px;
  letter-spacing: -0.02em;
}
.schedule-list {
  display: flex;
  flex-direction: column;
}
.schedule-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 22px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  transition: background 0.3s, padding-left 0.2s;
  border-radius: 4px;
}
.schedule-item:hover {
  background: rgba(42,136,224,0.12);
  padding-left: 20px;
}
.schedule-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.schedule-date-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}
.schedule-title {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.schedule-time {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.schedule-item.special .schedule-date { color: var(--gold-light); }
.schedule-item.special .schedule-title { color: #fff; font-weight: 500; }
.schedule-badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  margin-left: 10px;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* 学校見学 */
.visit-section {
  background: #1a3a6b;
  padding: 64px 0;
}
.visit-box {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(42,136,224,0.3);
  border-radius: 8px;
  padding: 40px;
  margin-top: 0;
}
.visit-box h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.visit-box p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 2.1;
}
.visit-box a { color: var(--gold); text-decoration: none; }
.visit-box a:hover { text-decoration: underline; }

/* ===== 申込セクション ===== */
.apply-section {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f0fb 100%);
}
.apply-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apply-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}
.apply-text h2 em { font-style: italic; color: #2a88e0; }
.apply-text > p {
  font-size: 14px;
  font-weight: 300;
  color: var(--mid);
  line-height: 2;
  margin-bottom: 24px;
}
.apply-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.apply-checklist li {
  font-size: 13px;
  font-weight: 300;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}
.apply-checklist li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a88e0;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.apply-notes {
  font-size: 12px;
  font-weight: 300;
  color: var(--mid);
  line-height: 2;
}
.apply-notes a { color: #2a88e0; }
.apply-form-box {
  background: #fff;
  border-radius: 12px;
  padding: 48px 40px;
  text-align: center;
  border: 1px solid rgba(42,136,224,0.15);
  box-shadow: 0 8px 40px rgba(0,91,187,0.1);
}
.apply-form-box-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.apply-form-box-sub {
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  margin-bottom: 32px;
  line-height: 1.8;
}
.btn-apply-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  background: #2a88e0;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  border-radius: 4px;
  transition: all 0.3s;
  margin-bottom: 12px;
}
.btn-apply-primary:hover {
  background: #1a6bbf;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42,136,224,0.35);
}
.btn-apply-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--mid);
  text-decoration: none;
  margin-top: 16px;
}
.btn-apply-tel strong {
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
}

/* 固定申込バナー */
.apply-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #1a6bbf;
  border-top: 2px solid var(--gold);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.apply-sticky.visible { transform: translateY(0); }
.apply-sticky-text {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}
.apply-sticky-text strong { font-weight: 600; color: #fff; }
.apply-sticky-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: var(--gold);
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  border-radius: 2px;
  white-space: nowrap;
  transition: all 0.3s;
}
.apply-sticky-btn:hover { background: var(--gold-light); }

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .experience-grid { grid-template-columns: 1fr 1fr; }
  .apply-inner { grid-template-columns: 1fr; gap: 48px; }
  .consultation-box { flex-direction: column; gap: 20px; }
}
@media (max-width: 768px) {
  .oc-sub-nav-inner { padding: 0 16px; }
  .oc-sub-nav-link { padding: 14px 16px; font-size: 11px; }
  .experience-grid { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 80px 1fr; }
  .schedule-time { display: none; }
  .apply-sticky { padding: 12px 16px; }
  .apply-sticky-text { font-size: 12px; }
  .visit-box { padding: 28px 20px; }
  .apply-form-box { padding: 32px 24px; }
  .consultation-box { padding: 24px 20px; flex-direction: column; }
}

/* スクロール位置補正（固定ナビ高さ208px想定） */
#experience, #schedule, #visit, #apply {
  scroll-margin-top: 220px;
}


/* ============================================================
   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;
  }
}


