/*
Theme Name: Rootlet Theme
Description: ROOTLET用のオリジナルテーマ
Author: JMT
Version: 1.0
*/

html {
  scroll-behavior: smooth;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================
   採用情報・追加ページ用 ユーティリティ補完
   ========================================== */
.aspect-\[4\/3\] {
  aspect-ratio: 4 / 3;
}

.opacity-25 {
  opacity: 0.25;
}

.w-1\.5 {
  width: 0.375rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-0\.5 {
  height: 0.125rem;
}

.text-\[\#333\] {
  color: #333333;
}
.text-\[\#666\] {
  color: #666666;
}
.border-\[\#e0dbd4\] {
  border-color: #e0dbd4;
}
.border-\[\#f0ece6\] {
  border-color: #f0ece6;
}
.border-white\/40 {
  border-color: rgba(255, 255, 255, 0.4);
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.px-3\.5 {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-3\.5 {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}
.pt-4 {
  padding-top: 1rem;
}

.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 2rem;
}

.divide-y > :not([hidden]) ~ :not([hidden]) {
  border-top-width: 1px;
  border-bottom-width: 0px;
  border-color: #e0dbd4;
}

@media (min-width: 768px) {
  .md\:items-center {
    align-items: center;
  }
  .md\:col-span-1 {
    grid-column: span 1 / span 1;
  }
  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }
  .md\:mt-0 {
    margin-top: 0px;
  }
  .md\:py-28 {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
  .md\:p-10 {
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

/* details summary のデフォルトマーカー非表示（全ブラウザ対応） */
details summary::-webkit-details-marker {
  display: none;
}
details summary {
  list-style: none;
}

/* FAQページ用追加スタイル */
.scroll-mt-24 {
  scroll-margin-top: 6rem;
}
.opacity-20 {
  opacity: 0.2;
}
.pl-7 {
  padding-left: 1.75rem;
}
.mb-20 {
  margin-bottom: 5rem;
}
.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}
.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

/* 保護者様サポートページ用追加スタイル */
.p-7 {
  padding: 1.75rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
@media (min-width: 768px) {
  .md\:items-end {
    align-items: flex-end;
  }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 創設ストーリー用インデント */
.indent-1em {
  text-indent: 1em;
}

/* 左パディング補完 */
.pl-4 {
  padding-left: 1rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.pl-6 {
  padding-left: 1.5rem;
}

/* ==========================================
   ヘッダーナビゲーションの間隔・配置調整
   ========================================== */
.header-nav {
  display: none;
}
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .header-nav {
    gap: 2.25rem;
  }
}
@media (min-width: 1440px) {
  .header-nav {
    gap: 3rem;
  }
}
@media (min-width: 1600px) {
  .header-nav {
    gap: 3.75rem;
  }
}

.header-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.25rem 0.25rem;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.header-nav-item:hover {
  opacity: 0.75;
}
.header-nav-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: #6b6b6b;
  line-height: 1.2;
}
.header-nav-ja {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  margin-top: 2px;
  line-height: 1.3;
}




/* ==========================================
   カリキュラム・スケジュールページ（page-curriculum.php）
   ========================================== */
.cur-section {
  padding: 96px 24px;
}
.cur-section.is-tint {
  background-color: #f0ece6;
}
.cur-container {
  max-width: 1080px;
  margin: 0 auto;
}
.cur-container.is-wide {
  max-width: 1280px;
}
@media (min-width: 768px) {
  .cur-section {
    padding: 112px 40px;
  }
}

/* 見出し */
.cur-heading {
  text-align: center;
  margin-bottom: 56px;
}
.cur-heading-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: #c8a882;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cur-heading-en.is-light {
  color: #c8a882;
}
.cur-heading-ja {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .cur-heading-ja {
    font-size: 36px;
  }
}
.cur-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2.1;
  color: #555;
}
.cur-note {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #888;
  margin-top: 24px;
  text-align: right;
}

/* ページ内ナビ */
.cur-anchor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: #fff;
  border-bottom: 1px solid #d8d4cf;
}
.cur-anchor a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  border-right: 1px solid #ece7e0;
  transition: background-color 0.3s, color 0.3s;
}
.cur-anchor a small {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: #9e9690;
}
.cur-anchor a:hover {
  background-color: #f7f5f2;
  color: #c8a882;
}
@media (min-width: 768px) {
  .cur-anchor {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 4つの柱 */
.cur-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .cur-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .cur-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cur-pillar {
  position: relative;
  background: #fff;
  border: 1px solid #d8d4cf;
  padding: 36px 28px 32px;
}
.cur-pillar-no {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #e6ddd0;
}
.cur-pillar-en,
.cur-program-en,
.cur-season-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #c8a882;
  margin-bottom: 6px;
}
.cur-pillar h3,
.cur-program h3,
.cur-season h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 14px;
}
.cur-pillar p:last-child,
.cur-program p:last-child,
.cur-season p:last-child {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.95;
  color: #666;
}

/* 凡例 */
.cur-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 36px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #555;
}
.cur-legend.is-small {
  justify-content: flex-end;
  margin-bottom: 14px;
}
.cur-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cur-legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

/* 時間帯カラー */
.is-extend { --bg: #e7e0d3; --fg: #6b5f4f; }
.is-core { --bg: #c8a882; --fg: #fff; }
.is-bridge { --bg: #dccdb6; --fg: #6b5f4f; }
.is-care { --bg: #b8c2a6; --fg: #3a4035; }
.is-after { --bg: #5f6b52; --fg: #fff; }
.is-closed { --bg: #f3f0eb; --fg: #a9a097; }
.cur-legend i.is-extend, .cur-legend i.is-core, .cur-legend i.is-bridge,
.cur-legend i.is-care, .cur-legend i.is-after {
  background: var(--bg);
}
.cur-legend i.is-closed {
  background: repeating-linear-gradient(45deg, #f3f0eb 0 3px, #e4ded5 3px 5px);
}
.cur-legend i.is-phonics { background: #c8a882; }
.cur-legend i.is-grammar { background: #5f6b52; }
.cur-legend i.is-review { background: #fff; border: 1px dashed #9e9690; }

/* 並列パネル（保育園／小学生） */
.cur-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 1024px) {
  .cur-pair {
    grid-template-columns: 1fr 1fr;
  }
}
.cur-panel {
  background: #fff;
  border: 1px solid #d8d4cf;
  padding: 32px 24px;
}
@media (min-width: 768px) {
  .cur-panel {
    padding: 40px 36px;
  }
}
.cur-panel-head {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #ece7e0;
}
.cur-panel-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #fff;
  background: #c8a882;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.cur-panel-tag.is-ele {
  background: #5f6b52;
}
.cur-panel-head h3 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 10px;
}
.cur-panel-head h3 small {
  font-size: 15px;
  color: #6b6b6b;
  margin-left: 2px;
}
.cur-panel-head p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  line-height: 1.9;
  color: #666;
}
.cur-sub {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-size: 16px;
  margin: 36px 0 18px;
  padding-left: 12px;
  border-left: 2px solid #c8a882;
}

/* 時間割グリッド */
.cur-tt-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cur-tt {
  --tc: 46px;   /* 時刻列の幅 */
  --rh: 22px;   /* 30分あたりの高さ */
  min-width: 460px;
}
.cur-tt-head {
  display: grid;
  grid-template-columns: var(--tc) repeat(7, 1fr);
  margin-bottom: 8px;
}
.cur-tt-head span {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #555;
}
.cur-tt-head span.is-sat { color: #5b7a99; }
.cur-tt-head span.is-sun { color: #b5735f; }
.cur-tt-body {
  position: relative;
  height: calc(var(--rh) * var(--rows, 25));
}
.cur-tt-grid {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--tc);
  right: 0;
  border: 1px solid #ece7e0;
  background-image:
    linear-gradient(to right, #f1ede7 1px, transparent 1px),
    linear-gradient(to bottom, #f1ede7 1px, transparent 1px);
  background-size: calc(100% / 7) 100%, 100% calc(var(--rh) * 2);
  background-position: 0 0, 0 var(--rh);
}
.cur-tt-time {
  position: absolute;
  left: 0;
  width: calc(var(--tc) - 8px);
  top: calc(var(--r) * var(--rh));
  transform: translateY(-50%);
  text-align: right;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #6b6b6b;
  line-height: 1;
}
.cur-tt-time.is-half {
  font-size: 9px;
  color: #b9b1a7;
}
.cur-tt-block {
  position: absolute;
  left: calc(var(--tc) + (100% - var(--tc)) * var(--c) / 7 + 3px);
  width: calc((100% - var(--tc)) * var(--s) / 7 - 6px);
  top: calc(var(--r) * var(--rh) + 2px);
  height: calc(var(--h) * var(--rh) - 4px);
  background: var(--bg);
  color: var(--fg);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.cur-tt-block small {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  opacity: 0.85;
  letter-spacing: 0.05em;
}
.cur-tt-block.is-thin {
  flex-direction: row;
  gap: 10px;
  font-size: 11px;
}
.cur-tt-block.is-thin small {
  font-size: 10px;
}
.cur-tt-block.is-closed {
  background: repeating-linear-gradient(45deg, #f6f3ee 0 6px, #ece6dd 6px 9px);
  writing-mode: vertical-rl;
  font-size: 12px;
  letter-spacing: 0.5em;
}

/* 1日の流れ */
.cur-flow {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cur-flow li {
  display: grid;
  grid-template-columns: 48px 14px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 20px;
  position: relative;
}
.cur-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 68px;
  top: 16px;
  bottom: 0;
  width: 1px;
  background: #e0dbd4;
}
.cur-flow-time {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #0d0d0d;
  text-align: right;
  line-height: 1.6;
}
.cur-flow-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 3px;
  background: var(--bg);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px #fff;
}
.cur-flow-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.cur-flow-name em {
  font-style: normal;
  font-size: 11px;
  color: #9e9690;
  border: 1px solid #e0dbd4;
  padding: 1px 8px;
  margin-left: 10px;
  vertical-align: 1px;
}
.cur-flow-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #777;
  line-height: 1.8;
}

/* 英語クラス：レベル */
.cur-levels {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .cur-levels {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cur-levels > div {
  background: #f7f5f2;
  border: 1px solid #e0dbd4;
  padding: 18px 12px;
  text-align: center;
}
.cur-levels-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #c8a882;
  margin-bottom: 4px;
}
.cur-levels-ja {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
}

/* タブ */
.cur-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #d8d4cf;
  margin-bottom: 20px;
}
.cur-tab {
  flex: 1 1 0;
  min-width: 110px;
  padding: 14px 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #888;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.cur-tab:hover {
  color: #0d0d0d;
}
.cur-tab.is-active {
  color: #0d0d0d;
  font-weight: 500;
  border-bottom-color: #c8a882;
}
.cur-tab-panel {
  display: none;
}
.cur-tab-panel.is-active {
  display: block;
  animation: fadeSlideUp 0.5s ease forwards;
}

/* 英語クラス表 */
.cur-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.cur-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}
.cur-table th,
.cur-table td {
  border: 1px solid #e6e1da;
  padding: 12px 10px;
  text-align: center;
  font-size: 13px;
}
.cur-table thead th {
  background: #0d0d0d;
  color: #fff;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.cur-table tbody th {
  width: 140px;
  text-align: left;
  font-weight: 500;
  padding-left: 18px;
  position: relative;
}
.cur-table tbody th::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.cur-table tr.g-pre th::before { background: #c8a882; }
.cur-table tr.g-ele th::before { background: #5f6b52; }
.cur-table tr.g-adv th::before { background: #8c7a66; }
.cur-table tr.g-ind th::before { background: #b9b1a7; }
.cur-table tr.g-pre th { background: #fbf8f4; }
.cur-table tr.g-ele th { background: #f6f7f3; }
.cur-chip {
  display: inline-block;
  min-width: 112px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.4;
  color: #fff;
}
.cur-chip.is-phonics { background: #c8a882; }
.cur-chip.is-grammar { background: #5f6b52; }
.cur-chip.is-review {
  background: #fff;
  border: 1px dashed currentColor;
}
.cur-chip.is-phonics.is-review { color: #a8875f; }
.cur-chip.is-grammar.is-review { color: #5f6b52; }
.cur-dash {
  color: #cfc8bf;
}

/* プログラム・季節クラス */
.cur-programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .cur-programs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .cur-programs { grid-template-columns: repeat(3, 1fr); }
}
.cur-program {
  background: #fff;
  border: 1px solid #d8d4cf;
  border-top: 3px solid #c8a882;
  padding: 30px 28px;
  transition: box-shadow 0.3s;
}
.cur-program:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}
.cur-seasonal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .cur-seasonal { grid-template-columns: repeat(3, 1fr); }
}
.cur-season {
  border: 1px solid #d8d4cf;
  padding: 32px 28px;
  text-align: center;
  background: #fdfcfb;
}

/* CTA */
.cur-cta {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  padding: 88px 24px;
}
.cur-cta h2 {
  font-family: 'Noto Serif JP', serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .cur-cta h2 { font-size: 30px; }
}
.cur-cta-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.cur-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.cur-btn.is-gold {
  background: #c8a882;
  color: #fff;
}
.cur-btn.is-gold:hover {
  background: #fff;
  color: #0d0d0d;
}
.cur-btn.is-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
}
.cur-btn.is-outline:hover {
  background: #fff;
  color: #0d0d0d;
}

/* カリキュラム：保育園ページ追加分 */
.is-lunch { --bg: #e8d3a8; --fg: #6b5a3a; }
.is-nap { --bg: #8fa3b8; --fg: #fff; }
.cur-legend i.is-lunch,
.cur-legend i.is-nap {
  background: var(--bg);
}
.cur-anchor.is-three {
  grid-template-columns: repeat(3, 1fr);
}
.cur-seasonal.is-two {
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cur-seasonal.is-two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 保育園／アフタースクール切替 */
.cur-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-bottom: 1px solid #d8d4cf;
}
.cur-switch a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 20px 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: #888;
  border-bottom: 3px solid transparent;
  transition: color 0.3s, background-color 0.3s;
}
.cur-switch a small {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  color: #b9b1a7;
}
.cur-switch a:hover {
  background: #f7f5f2;
  color: #0d0d0d;
}
.cur-switch a.is-current {
  color: #0d0d0d;
  border-bottom-color: #c8a882;
}
.cur-switch a.is-current small {
  color: #c8a882;
}
@media (min-width: 768px) {
  .cur-switch a {
    font-size: 16px;
  }
}

/* 英語クラス：レベル別ブロックの説明文 */
.cur-levels > div {
  text-align: left;
  padding: 22px 20px;
}
.cur-levels-en,
.cur-levels-ja {
  text-align: left;
}
.cur-levels-ja {
  margin-bottom: 10px;
}
.cur-levels-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.9;
  color: #666;
}

/* アフタースクール詳細コマ用カラー */
.is-homework { --bg: #edd8c4; --fg: #5a381e; }
.is-math { --bg: #98abb8; --fg: #1d3342; }
.is-english { --bg: #c8a882; --fg: #fff; }
.is-atelier { --bg: #5f6b52; --fg: #fff; }
.is-evening { --bg: #e2dbce; --fg: #4f4639; }
.is-sat-prog { --bg: #7f8f74; --fg: #fff; }
.is-entrance { --bg: #e5ccb3; --fg: #4a3420; }

.cur-legend i.is-homework,
.cur-legend i.is-math,
.cur-legend i.is-english,
.cur-legend i.is-atelier,
.cur-legend i.is-evening,
.cur-legend i.is-sat-prog,
.cur-legend i.is-entrance {
  background: var(--bg);
}

.cur-notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4ede4;
  border: 1px solid #dccdb6;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #6b5f4f;
  margin-top: 10px;
}

/* ページ内アンカー拡張 */
@media (min-width: 768px) {
  .cur-anchor.is-four { grid-template-columns: repeat(4, 1fr); }
  .cur-anchor.is-five { grid-template-columns: repeat(5, 1fr); }
}

/* 年間行事：タイムライン風 横デザイン */
.cur-events-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 40px 10px 30px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: #c8a882 #ece7e0;
}
.cur-events-scroll::-webkit-scrollbar {
  height: 6px;
}
.cur-events-scroll::-webkit-scrollbar-track {
  background: #ece7e0;
  border-radius: 3px;
}
.cur-events-scroll::-webkit-scrollbar-thumb {
  background: #c8a882;
  border-radius: 3px;
}

.cur-timeline {
  display: flex;
  gap: 20px;
  min-width: max-content;
  position: relative;
  padding-top: 36px;
}
.cur-timeline::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, #c8a882 0%, #8c7a66 35%, #5f6b52 70%, #8fa3b8 100%);
  z-index: 0;
}

.cur-event-card {
  width: 260px;
  flex: 0 0 260px;
  background: #fff;
  border: 1px solid #d8d4cf;
  border-radius: 6px;
  padding: 24px 20px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.cur-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  border-color: #c8a882;
}

.cur-event-node {
  position: absolute;
  top: -36px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.cur-event-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #c8a882;
}
.cur-event-month-en {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #8c7a66;
  font-weight: 600;
}

.cur-event-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #e8e3dc;
}
.cur-event-month {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  color: #0d0d0d;
}
.cur-event-season {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.cur-event-season.is-spring { background: #fbeee8; color: #b56752; }
.cur-event-season.is-summer { background: #eaf1f7; color: #3b749e; }
.cur-event-season.is-autumn { background: #f3efe6; color: #786443; }
.cur-event-season.is-winter { background: #eef3f1; color: #446f5e; }

.cur-event-card h4 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 10px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.cur-event-card p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.85;
  color: #666;
  margin: 0;
}

.cur-scroll-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: #999;
  letter-spacing: 0.08em;
}
.cur-scroll-hint span {
  color: #c8a882;
  font-weight: bold;
}

