/*
Theme Name: 大徳学園2026
Theme URI: https://daitokugakuen.jp/
Author: Your Name
Author URI: https://www.collaboru.org/
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: daitokugakuen2026
*/
/* ===== 大徳学園 共通スタイル（先生のデザイン忠実版） ===== */
:root {
  --purple:      #7B3F9E;
  --purple-light:#f0e8f7;
  --purple-mid:  #c9a0dc;
  --blue:        #1a6bbf;
  --blue-light:  #e3f0fb;
  --green:       #2e9e4f;
  --green-light: #e8f7ec;
  --red:         #d43a2f;
  --red-light:   #fdecea;
  --yellow:      #e8b000;
  --yellow-light:#fffaeb;
  --orange:      #E07B3A;
  --orange-light:#FEF0E6;
  --navy:        #1565C0;
  --navy-light:  #E3F0FF;
  --green-light: #EAF4E7;
  --pink:        #BE185D;
  --pink-light:  #FCE7F3;
  --white:       #ffffff;
  --cream:       #fafaf8;
  --dark:        #222222;
  --gray:        #555555;
  --border:      #dddddd;
  --font-main:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--dark);
  font-size: 15px;
  line-height: 1.85;
}

/* ─── HEADER ─── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 4px solid var(--purple);
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 32px; height: 72px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ロゴ */
.logo-wrap { text-decoration: none; display: flex; flex-direction: column; line-height: 1.2; }
.logo-sub { font-size: 10px; color: var(--gray); letter-spacing: 0.04em; margin-bottom: 1px; }
.logo-main { display: flex; align-items: baseline; gap: 0; }
.logo-main span { font-size: 28px; font-weight: 900; line-height: 1; }
.logo-c1 { color: #1a6bbf; } /* 大 - 青 */
.logo-c2 { color: #e8b000; } /* 徳 - 黄 */
.logo-c3 { color: #2e9e4f; } /* 学 - 緑 */
.logo-c4 { color: #7B3F9E; } /* 園 - 紫 */

nav { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
nav a {
  font-size: 13px; font-weight: 500;
  color: var(--dark); text-decoration: none;
  letter-spacing: 0.04em; padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
nav a:hover, nav a.active { color: var(--purple); border-color: var(--purple); }
.nav-contact {
  font-size: 12px; padding: 7px 18px;
  background: var(--purple); color: var(--white);
  border-radius: 20px; text-decoration: none;
  font-weight: 500; letter-spacing: 0.05em;
  transition: background 0.2s; border-bottom: none !important;
}
.nav-contact:hover { background: #5c2d7a; color: var(--white) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); transition: all 0.3s; }

/* ─── ページヒーロー（内ページ用） ─── */
.page-hero {
  background: var(--purple);
  padding: 40px 40px 36px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; right: -40px; top: -40px;
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute; right: 60px; top: 20px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.page-hero-en {
  font-size: 12px; letter-spacing: 0.25em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px; text-transform: lowercase;
}
.page-hero h1 {
  font-size: 26px; font-weight: 700;
  letter-spacing: 0.05em; line-height: 1.3;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
  padding: 10px 40px; font-size: 12px;
  color: var(--gray); background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--purple); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ─── LAYOUT ─── */
.page-wrap {
  display: flex; max-width: 1100px;
  margin: 0 auto; padding: 40px 40px 80px;
}
.sidebar { width: 210px; min-width: 210px; margin-right: 44px; }
.sidebar-nav { position: sticky; top: 88px; }
.sidebar-title {
  font-size: 12px; font-weight: 700;
  color: var(--white); background: var(--purple);
  padding: 8px 14px; margin-bottom: 0;
  letter-spacing: 0.06em;
}
.sidebar-nav a {
  display: block; font-size: 13px;
  color: var(--dark); text-decoration: none;
  padding: 9px 14px;
  border-left: 3px solid transparent;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  transition: all 0.2s;
}
.sidebar-nav a:hover { color: var(--purple); border-left-color: var(--purple-mid); background: var(--purple-light); }
.sidebar-nav a.active { color: var(--purple); border-left-color: var(--purple); background: var(--purple-light); font-weight: 500; }

.content { flex: 1; min-width: 0; }

/* ─── ドキュメントスタイルコンテンツ ─── */
.doc-section { margin-bottom: 52px; }

/* 大見出し（紫帯） */
.doc-h1 {
  font-size: 20px; font-weight: 700;
  color: var(--purple); letter-spacing: 0.04em;
  padding: 12px 16px 12px 18px;
  border-left: 6px solid var(--purple);
  border-bottom: 2px solid var(--purple-mid);
  background: var(--purple-light);
  margin-bottom: 20px;
}

/* 中見出し */
.doc-h2 {
  font-size: 16px; font-weight: 700;
  color: var(--purple); letter-spacing: 0.04em;
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--purple-mid);
}

/* 色付き帯見出し（PDFのカラーセクション再現） */
.doc-band {
  padding: 12px 18px; margin: 24px 0 16px;
  font-size: 18px; font-weight: 700; color: var(--white);
  letter-spacing: 0.03em;
}
.doc-band-sub {
  font-size: 12px; font-weight: 400;
  letter-spacing: 0.1em; margin-bottom: 2px;
}
.band-green { background: var(--green); }
.band-red   { background: var(--red); }
.band-blue  { background: var(--blue); }
.band-yellow{ background: var(--yellow); color: var(--dark); }
.band-orange{ background: var(--orange); color: #fff; }
.band-navy{ background: var(--navy); color: #fff; }
.band-pink{ background: var(--pink); color: #fff; }
.band-purple{ background: var(--purple); }

.doc-p {
  font-size: 14px; line-height: 2;
  color: var(--dark); margin-bottom: 14px;
  letter-spacing: 0.03em;
}

/* リスト */
.doc-list { list-style: none; margin: 8px 0 14px; padding: 0; }
.doc-list li {
  font-size: 14px; line-height: 1.9;
  color: var(--dark); padding-left: 1.6em;
  position: relative; margin-bottom: 4px;
}
.doc-list li::before { position: absolute; left: 0; color: var(--purple); }
.doc-list.maru li::before { content: '◎'; }
.doc-list.circle li::before { content: '○'; }
.doc-list.dot li::before { content: '・'; color: var(--dark); }
.doc-list.bullet li::before { content: '●'; font-size: 11px; top: 3px; }

/* 枠囲みボックス（PDFのピンク・黄色枠） */
.doc-box {
  border: 2px solid var(--purple);
  padding: 18px 22px; margin-bottom: 20px;
  border-radius: 4px; background: var(--white);
}
.doc-box.green  { border-color: var(--green); }
.doc-box.blue   { border-color: var(--blue); }
.doc-box.red    { border-color: var(--red); }
.doc-box.yellow { border-color: var(--yellow); }
.doc-box-title {
  font-size: 15px; font-weight: 700;
  color: var(--purple); margin-bottom: 10px;
}
.doc-box.green .doc-box-title { color: var(--green); }
.doc-box.blue .doc-box-title  { color: var(--blue); }
.doc-box.red .doc-box-title   { color: var(--red); }
.doc-box.yellow .doc-box-title{ color: #7a5a00; }

/* テーブル */
.doc-table {
  width: 100%; border-collapse: collapse;
  font-size: 13px; margin-bottom: 20px;
}
.doc-table th, .doc-table td {
  border: 1px solid var(--border);
  padding: 9px 14px; text-align: left;
  vertical-align: top; line-height: 1.7;
}
.doc-table th {
  background: var(--purple-light);
  color: var(--purple); font-weight: 700;
  white-space: nowrap;
}
.doc-table tr:nth-child(even) td { background: #fafafa; }

/* 番号大見出し（重要事項説明書スタイル） */
.doc-num-h {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin: 32px 0 12px;
  padding: 8px 14px; background: var(--purple-light);
  border-left: 4px solid var(--purple); border-radius: 2px;
}
.doc-num-h:first-child { margin-top: 0; }

/* 注釈 */
.doc-note {
  font-size: 12px; color: var(--gray);
  line-height: 1.8; margin-top: 6px;
  padding-left: 1em; text-indent: -1em;
}

/* 予約フォームカード */
.form-card-list { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.form-card {
  display: flex; align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 2px solid var(--purple-mid);
  border-radius: 6px; padding: 13px 18px;
  text-decoration: none; color: var(--dark);
  transition: all 0.2s;
}
.form-card:hover { border-color: var(--purple); background: var(--purple-light); }
.form-card-label { font-size: 14px; font-weight: 500; }
.form-card-arrow { font-size: 12px; color: var(--purple); font-weight: 700; white-space: nowrap; }

/* PDFダウンロードボタン */
.dl-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--purple); color: var(--white);
  padding: 10px 24px; border-radius: 4px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.06em; text-decoration: none;
  transition: background 0.2s;
}
.dl-btn:hover { background: #5c2d7a; }

/* 保護者の声カード */
.voice-card {
  border: 2px solid var(--purple-mid);
  border-radius: 8px; padding: 24px;
  margin-bottom: 24px; background: var(--white);
  position: relative;
}
.voice-title {
  font-size: 15px; font-weight: 700;
  color: var(--purple); margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--purple-mid);
}
.voice-body {
  font-size: 14px; line-height: 2;
  color: var(--dark);
}
.voice-name {
  text-align: right; margin-top: 12px;
  font-size: 13px; color: var(--gray);
}

/* ─── FOOTER ─── */
footer {
  background: var(--purple);
  padding: 40px 40px 20px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.footer-logo { align-items: center; text-align: center; }
.footer-logo .logo-main { justify-content: center; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.7); }
.footer-logo .logo-c1 { color: #7ec8f5; }
.footer-logo .logo-c2 { color: #ffe066; }
.footer-logo .logo-c3 { color: #7de89a; }
.footer-logo .logo-c4 { color: #d4a8f0; }
.footer-addr {
  margin-top: 10px; font-size: 12px;
  color: rgba(255,255,255,0.65); line-height: 1.9;
}
.footer-col-title {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px; letter-spacing: 0.1em;
}
.footer-links { display: flex; flex-direction: column; gap: 7px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.75);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  margin-top: 14px;
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
}

/* ─── モバイルナビ ─── */
.mobile-nav {
  display: none; position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 99;
  padding: 24px 32px; flex-direction: column; gap: 4px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px; font-weight: 500;
  color: var(--dark); text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--purple); }
.daily-sp-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;}
.daily-sp-item{border:2px solid var(--purple);border-radius:6px;overflow:hidden;}
.daily-sp-head{background:var(--purple);color:#fff;padding:10px 16px;}
.daily-sp-head-row{display:flex;align-items:center;gap:6px;margin-bottom:4px;}
.daily-sp-clock{font-size:20px;}
.daily-sp-time{font-size:17px;font-weight:900;font-family:Georgia,serif;line-height:1.2;}
.daily-sp-label{font-size:14px;font-weight:700;margin-top:4px;line-height:1.4;}
.daily-sp-body{padding:14px 16px;background:#fff;}
.mobile-nav a.mob-parent { font-size: 16px; font-weight: 700; color: var(--dark); }
.mobile-nav a.mob-sub { font-size: 13px; font-weight: 400; color: var(--gray); padding: 8px 0 8px 20px; border-bottom: 1px solid var(--border); }
.mobile-nav a.mob-sub::before { content: "└ "; font-size: 11px; color: var(--purple-mid); }

/* ─── レスポンシブ ─── */
@media (max-width: 900px) {
  #site-header nav { display: none; }
  .hamburger { display: flex; }
  .cat-nav { display: none; }
  .acc-name { display: block; margin-left: 0; margin-top: 2px; }
  .daily-sp-grid { grid-template-columns: 1fr; }
  .sukusuku-img { width: 100% !important; }
  .mokuhyo-side-img { display: none; }
  .mokuhyo-grid { grid-template-columns: 1fr !important; }
  .mokuhyo-list { flex-direction: column; align-items: center; }
  .mokuhyo-list li { text-align: center; }
  .page-wrap { flex-direction: column; padding: 24px 20px 60px; }
  .sidebar { width: 100%; min-width: 0; margin-right: 0; margin-bottom: 24px; }
  .sidebar-nav { position: static; }
  .page-hero { padding: 32px 20px 28px; }
  .breadcrumb { padding: 10px 20px; }
  header { padding: 0 20px; height: 64px; }
  footer { padding: 32px 20px 16px; }
  .footer-inner { gap: 24px; }
}

/* ─── ヒーロー ─── */
.hero{position:relative;overflow:hidden;}
.hero-inner{display:grid;grid-template-columns:3fr 2fr;align-items:stretch;}
.hero-photo-ph{width:100%;height:100%;background:linear-gradient(135deg,#c9a0dc,#7B3F9E);display:flex;align-items:center;justify-content:center;font-size:13px;color:rgba(255,255,255,.4);letter-spacing:.1em;}
.hero-photo{position:relative;width:100%;height:100%;overflow:hidden;}
.hero-slide{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center 12%;opacity:0;transition:opacity 1.2s ease-in-out;}
.hero-slide.active{opacity:1;}
.hero-copy-panel{background:var(--purple);display:grid;grid-template-rows:1fr auto 1fr;align-items:center;padding:48px 24px;text-align:center;}
.hero-top-block{display:flex;align-items:flex-end;justify-content:center;padding-bottom:16px;}
.hero-mark-wrap{display:flex;align-items:center;justify-content:center;}
.hero-bottom-block{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;padding-top:16px;}
.hero-dstyle{font-size:clamp(92px,8vw,118px);font-weight:300;color:#fff;font-style:normal;font-family:'Noto Sans JP','Hiragino Sans',sans-serif;line-height:1;letter-spacing:.02em;white-space:nowrap;}
.hero-mark{font-size:48px;}
.hero-catchja{font-size:clamp(28px,7vw,40px);font-weight:700;color:#fff;line-height:1.6;letter-spacing:.06em;}
.hero-org{font-size:11px;color:rgba(255,255,255,.65);letter-spacing:.04em;margin-top:4px;}

/* ─── お知らせ ─── */
.news-section{background:#fff;border:2px solid var(--purple);padding:18px 32px 20px;}
.news-section-inner{max-width:1060px;margin:0 auto;display:flex;gap:20px;align-items:flex-start;}
.news-label-col{display:flex;flex-direction:column;align-items:center;gap:4px;padding-top:2px;flex-shrink:0;}
.news-label-ja{font-size:11px;font-weight:700;letter-spacing:.15em;color:var(--purple);}
.news-label-en{display:none;}
.news-divider{width:1px;background:rgba(255,255,255,.25);align-self:stretch;flex-shrink:0;}
.news-list{flex:1;display:flex;flex-direction:column;gap:0;}
.news-item{border-bottom:1px solid rgba(123,63,158,.2);}
.news-item:last-child{border-bottom:none;}
.news-item-header{display:flex;align-items:baseline;gap:12px;padding:7px 0;cursor:pointer;user-select:none;}
.news-item-header:hover{background:rgba(123,63,158,.06);}
.news-item-arrow{margin-left:auto;font-size:10px;color:rgba(123,63,158,.7);flex-shrink:0;transition:transform .25s;}
.news-item-arrow.open{transform:rotate(180deg);}
.news-item-body{max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;font-size:13px;color:var(--dark);line-height:1.9;}
.news-item-body.open{max-height:800px;padding:0 0 12px;}
.news-date{font-size:11px;color:rgba(123,63,158,.7);white-space:nowrap;flex-shrink:0;font-family:Georgia,serif;}
.news-tag{display:none;}
.news-tag-info{background:rgba(255,255,255,.2);color:#fff;}
.news-tag-event{background:#f5a623;color:#fff;}
.news-tag-recruit{background:#4caf7d;color:#fff;}
.news-body{font-size:13px;color:var(--dark);line-height:1.5;}
.news-body a{color:var(--purple);text-decoration:underline;text-underline-offset:3px;}

/* ─── 5大カテゴリナビ（ドロップダウン付き） ─── */
.cat-nav{background:#fff;border-bottom:3px solid var(--purple);position:sticky;top:72px;z-index:90;box-shadow:0 2px 8px rgba(0,0,0,.08);}
.cat-nav-inner{display:flex;width:100%;}
.cat-item{position:relative;flex:1;min-width:0;}
.cat-item>a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:12px 6px;text-align:center;text-decoration:none;
  color:var(--dark);font-weight:700;font-size:13px;letter-spacing:.02em;
  border-right:1px solid var(--border);gap:2px;
  transition:background .2s;min-height:60px;width:100%;
}
.cat-item:last-child>a{border-right:none;}
.cat-item>a .cat-en{display:none;}
.cat-item>a:hover,.cat-item>a.active{background:var(--purple-light);color:var(--purple);}

.cat-item>a .cat-arrow{font-size:9px;color:var(--purple-mid);}

/* ドロップダウン */
.dropdown{
  display:none;position:absolute;top:100%;left:0;
  background:#fff;border:1px solid var(--border);
  border-top:2px solid var(--purple);
  min-width:200px;z-index:200;
  box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.cat-item:hover .dropdown,.cat-item.open .dropdown{display:block;}
.dropdown a{
  display:block;padding:10px 16px;font-size:13px;
  color:var(--dark);text-decoration:none;
  border-bottom:1px solid var(--border);
  transition:background .15s;
}
.dropdown a:last-child{border-bottom:none;}
.dropdown a:hover{background:var(--purple-light);color:var(--purple);}
.dropdown a::before{content:'└ ';font-size:11px;color:var(--purple-mid);}

/* ─── 大カテゴリ見出し（章区切り） ─── */
.chapter-head{
  background:var(--purple);color:#fff;
  padding:20px 40px;
  display:flex;align-items:baseline;gap:16px;
  border-top:10px solid #fff;
}
.chapter-head h2{font-size:22px;font-weight:700;letter-spacing:.06em;}
.chapter-head span{display:none;}

/* ─── セクション ─── */
.page-section{padding:56px 40px;}
.page-section-alt{padding:56px 40px;background:var(--cream);}
.sec-inner{max-width:1000px;margin:0 auto;}

/* セクション帯見出し */
.sec-band{padding:12px 18px;margin-bottom:24px;border-radius:3px;color:#fff;}
.sec-band h3{font-size:18px;font-weight:700;letter-spacing:.04em;margin:0;}
.sec-band .sec-en{display:none;}
.band-purple{background:var(--purple);}
.band-green{background:var(--green);}
.band-red{background:var(--red);}
.band-blue{background:var(--blue);}
.band-yellow{background:var(--yellow);color:var(--dark);}
.band-yellow .sec-en{opacity:.55;}

/* 写真＋テキスト横並び */
.photo-text-row{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-bottom:28px;}
.photo-text-row.rev{direction:rtl;}
.photo-text-row.rev>*{direction:ltr;}
.ph{width:100%;aspect-ratio:4/3;border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:11px;color:rgba(255,255,255,.45);letter-spacing:.08em;}
.ph-purple{background:linear-gradient(135deg,#c9a0dc,#7B3F9E);}
.ph-green{background:linear-gradient(135deg,#7de89a,#2e9e4f);}
.ph-red{background:linear-gradient(135deg,#f5a09a,#d43a2f);}
.ph-blue{background:linear-gradient(135deg,#90c8f5,#1a6bbf);}
.ph-yellow{background:linear-gradient(135deg,#ffe588,#e8b000);}
.ph-orange{background:linear-gradient(135deg,#ffcc88,#e07820);}

/* 理念系 */
.rinen-main{font-family:var(--font-main);font-size:clamp(20px,2.5vw,26px);font-weight:700;text-align:center;line-height:1.5;margin:8px 0;color:var(--dark);}
.rinen-sub{font-family:var(--font-main);font-size:clamp(16px,2vw,20px);font-weight:400;text-align:center;color:var(--dark);margin-bottom:8px;}
.rinen-note{font-size:13px;color:var(--gray);text-align:center;margin-bottom:20px;}

/* 目標ボックス */
.mokuhyo-box{border:2px solid var(--purple);border-radius:6px;padding:20px 28px;margin:16px 0;background:#fff;}
.mokuhyo-main{font-size:18px;font-weight:700;color:var(--dark);margin-bottom:12px;text-align:center;}
.mokuhyo-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;}
.mokuhyo-list li{font-size:14px;padding:6px 18px;background:var(--purple-light);color:var(--purple);border-radius:20px;font-weight:500;}

/* 保育の考え方リスト */
.kangae-list{list-style:none;padding:0;margin:0;}
.kangae-list li{font-size:14px;line-height:2;color:var(--dark);padding:12px 0 12px 28px;position:relative;border-bottom:1px solid var(--border);}
.kangae-list li::before{content:'○';position:absolute;left:0;color:var(--purple);font-size:16px;font-weight:700;}

/* D-styleアイテム */
.ds-item{border-left:6px solid var(--green);padding:0 0 0 20px;margin-bottom:36px;}
.ds-item.red{border-color:var(--red);}
.ds-item.blue{border-color:var(--blue);}
.ds-item.yellow{border-color:var(--yellow);}
.ds-item.purple{border-color:var(--purple);}
.ds-title{font-size:20px;font-weight:700;color:var(--dark);margin-bottom:3px;}
.ds-en{display:none;}
.ds-item.red .ds-en{color:var(--red);}
.ds-item.blue .ds-en{color:var(--blue);}
.ds-item.yellow .ds-en{color:var(--yellow);}
.ds-item.purple .ds-en{color:var(--purple);}

/* 育ってほしい力 */
.tree-root-wrap{position:relative;width:70%;margin:0 auto 24px;}
.tree-root-img{width:100%;display:block;}
.tree-root-label{position:absolute;top:28%;left:50%;transform:translateX(-50%);font-family:var(--font-main);font-size:clamp(24px,4vw,42px);font-weight:700;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.6);white-space:nowrap;letter-spacing:.1em;}
.chikara-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px;}
.chikara-card{border-radius:4px;padding:20px;}
.chikara-card.red{border:2px solid var(--red);background:var(--red-light);}
.chikara-card.blue{border:2px solid var(--blue);background:var(--blue-light);}
.chikara-card.green{border:2px solid var(--green);background:var(--green-light);}
.chikara-card.yellow{border:2px solid var(--yellow);background:var(--yellow-light);}
.chikara-title{font-size:16px;font-weight:700;margin-bottom:10px;text-decoration:underline;}
.chikara-card.red .chikara-title{color:var(--red);}
.chikara-card.blue .chikara-title{color:var(--blue);}
.chikara-card.green .chikara-title{color:var(--green);}
.chikara-card.yellow .chikara-title{color:#b8960c;}
.chikara-list{list-style:none;padding:0;}
.chikara-list li{font-size:13px;color:var(--dark);padding:3px 0 3px 1.4em;position:relative;}
.chikara-list li::before{content:'〇';position:absolute;left:0;font-size:11px;}

/* あそびランキング */
.asobi-item{display:grid;grid-template-columns:200px 1fr;gap:20px;align-items:start;margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid var(--border);}
.asobi-item:last-child{border-bottom:none;}
.asobi-ph{border-radius:4px;width:200px;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;font-size:10px;color:rgba(255,255,255,.4);}
.asobi-rank{font-size:17px;font-weight:900;color:var(--dark);}
.asobi-title-text{font-size:15px;font-weight:700;color:var(--dark);margin-bottom:3px;}
.asobi-sub{font-size:12px;color:var(--purple);font-weight:700;margin-bottom:6px;}
.asobi-desc{font-size:13px;color:var(--dark);line-height:1.85;}

/* ねらいリスト */
.nerai-list{list-style:none;padding:0;}
.nerai-list li{font-size:14px;line-height:1.9;padding:8px 0 8px 22px;position:relative;border-bottom:1px solid var(--border);color:var(--dark);}
.nerai-list li::before{content:'●';position:absolute;left:0;color:var(--purple);font-size:11px;top:12px;}

/* テーブル */
.doc-table{width:100%;border-collapse:collapse;font-size:13px;margin-bottom:20px;}
.doc-table th,.doc-table td{border:1px solid var(--border);padding:9px 14px;text-align:left;vertical-align:top;line-height:1.7;}
.doc-table th{background:var(--purple-light);color:var(--purple);font-weight:700;white-space:nowrap;}
.doc-table tr:nth-child(even) td{background:#fafafa;}

/* 行事カード */
.kisetsu-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.kisetsu-item{border-radius:6px;overflow:hidden;border:2px solid;}
.kisetsu-item.haru{border-color:#f4b8cf;}
.kisetsu-item.natsu{border-color:#a8d8ea;}
.kisetsu-item.aki{border-color:#f5c89a;}
.kisetsu-item.fuyu{border-color:#b0b0b0;}
.kisetsu-head{padding:12px 20px;display:flex;align-items:baseline;gap:12px;}
.kisetsu-item.haru .kisetsu-head{background:#f4b8cf;}
.kisetsu-item.natsu .kisetsu-head{background:#a8d8ea;}
.kisetsu-item.aki .kisetsu-head{background:#f5c89a;}
.kisetsu-item.fuyu .kisetsu-head{background:#b0b0b0;}
.kisetsu-kanji{font-size:34px;font-weight:900;color:var(--dark);line-height:1;}
.kisetsu-en{display:none;}
.kisetsu-body{padding:14px 18px;background:#fff;}
.kisetsu-ph{width:100%;height:130px;border-radius:4px;margin-bottom:10px;display:flex;align-items:center;justify-content:center;font-size:11px;color:rgba(255,255,255,.4);}
.kisetsu-text{font-size:13px;line-height:1.85;color:var(--dark);margin-bottom:10px;}
.kisetsu-events{border-radius:4px;padding:10px 14px;font-size:12px;color:var(--dark);line-height:1.9;border:1px solid;}
.kisetsu-item.haru .kisetsu-events{background:#fdf2f6;border-color:#f4b8cf;}
.kisetsu-item.natsu .kisetsu-events{background:#eff9fc;border-color:#a8d8ea;}
.kisetsu-item.aki .kisetsu-events{background:#fdf3e9;border-color:#f5c89a;}
.kisetsu-item.fuyu .kisetsu-events{background:#f2f2f2;border-color:#b0b0b0;}

/* デイリープログラム */
.daily-list{list-style:none;padding:0;position:relative;}
.daily-list::before{content:'';position:absolute;left:64px;top:0;bottom:0;width:3px;background:linear-gradient(to bottom,var(--purple),var(--blue));}
.daily-item{display:grid;grid-template-columns:76px 1fr;gap:20px;padding:0 0 24px 0;position:relative;}
.daily-time{text-align:right;font-size:12px;font-weight:700;color:var(--purple);line-height:1.3;padding-top:3px;}
.daily-dot{position:absolute;left:58px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--purple);border:3px solid #fff;box-shadow:0 0 0 2px var(--purple);}
.daily-content{padding-left:16px;}
.daily-title{font-size:14px;font-weight:700;color:var(--dark);margin-bottom:6px;text-decoration:underline;}
.daily-ph{width:100%;height:110px;border-radius:4px;margin-bottom:8px;display:flex;align-items:center;justify-content:center;font-size:11px;color:rgba(255,255,255,.4);}
.daily-text{font-size:13px;line-height:1.85;color:var(--dark);}

/* 保護者の声 */
.voice-card{border:2px solid var(--purple-mid);border-radius:8px;margin-bottom:12px;background:#fff;overflow:hidden;}
.acc-header{display:flex;align-items:center;justify-content:space-between;padding:11px 16px;cursor:pointer;gap:12px;user-select:none;}
.acc-header:hover{background:var(--acc-hover, var(--purple-light));}
.acc-title{font-size:15px;font-weight:700;color:var(--dark);flex:1;}
.acc-arrow{font-size:12px;color:var(--acc-arrow, var(--purple));flex-shrink:0;transition:transform .25s;}
.acc-body{padding:0 20px;max-height:0;overflow:hidden;transition:max-height .35s ease,padding .35s ease;}
.acc-body.open{max-height:2000px;padding:0 16px 14px;}
.acc-arrow.open{transform:rotate(180deg);}
.voice-title{font-size:15px;font-weight:700;color:var(--purple);margin-bottom:10px;padding-bottom:8px;border-bottom:1px solid var(--purple-mid);}
.voice-body{font-size:14px;line-height:2;color:var(--dark);}
.voice-name{text-align:right;margin-top:10px;font-size:13px;color:var(--gray);}

/* インタビュー中ボックス */
.coming-box{border:2px dashed var(--purple-mid);border-radius:8px;padding:28px;text-align:center;color:var(--gray);font-size:14px;margin-bottom:20px;}
.coming-box .coming-label{font-size:17px;font-weight:700;color:var(--purple);margin-bottom:8px;}

/* 予約フォームカード */
.form-card-list{display:flex;flex-direction:column;gap:8px;margin-top:14px;}
.form-card{display:flex;align-items:center;justify-content:space-between;background:#fff;border:2px solid var(--purple-mid);border-radius:6px;padding:12px 16px;text-decoration:none;color:var(--dark);transition:all .2s;}
.form-card:hover{border-color:var(--purple);background:var(--purple-light);}
.form-card-label{font-size:14px;font-weight:500;}
.form-card-arrow{font-size:12px;color:var(--purple);font-weight:700;white-space:nowrap;}

/* DLボタン */
.dl-btn{display:inline-flex;align-items:center;gap:8px;background:var(--purple);color:#fff;padding:10px 24px;border-radius:4px;font-size:13px;font-weight:500;text-decoration:none;transition:background .2s;}
.dl-btn:hover{background:#5c2d7a;}

/* お問い合わせ帯 */
.contact-band{background:var(--purple);padding:52px 40px;text-align:center;}
.contact-band h2{font-size:22px;font-weight:700;color:#fff;margin-bottom:8px;}
.contact-band-sub{font-size:14px;color:rgba(255,255,255,.75);margin-bottom:6px;}
.contact-band-tel{font-size:30px;font-weight:700;color:#fff;letter-spacing:.1em;margin-bottom:24px;font-family:Georgia,serif;}
.contact-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.c-btn{font-size:13px;font-weight:700;padding:12px 32px;border-radius:4px;text-decoration:none;transition:all .2s;}
.c-btn-w{background:#fff;color:var(--purple);}
.c-btn-w:hover{background:#f0e8f7;}
.c-btn-o{border:2px solid rgba(255,255,255,.7);color:#fff;}
.c-btn-o:hover{border-color:#fff;background:rgba(255,255,255,.1);}

/* ─── レスポンシブ（参考デザイン追加分） ─── */
@media(max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-photo{height:auto;aspect-ratio:4/3;}
  .hero-photo-ph{min-height:240px;}
  .cat-nav-inner{overflow-x:auto;white-space:nowrap;display:flex;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
  .cat-nav-inner::-webkit-scrollbar{display:none;}
  .cat-item{flex:0 0 auto;min-width:120px;}
  .photo-text-row{grid-template-columns:1fr;}
  .photo-text-row.rev{direction:ltr;}
  .chikara-grid{grid-template-columns:repeat(3,1fr);gap:8px;}
  .chikara-card{padding:12px;}
  .chikara-title{font-size:13px;}
  .chikara-list li{font-size:11px;}
  .kisetsu-grid{grid-template-columns:1fr;}
  .asobi-item{grid-template-columns:1fr;}
  .asobi-ph{width:100%;aspect-ratio:4/3;}
  .sensei-photo-row{grid-template-columns:1fr !important;}
  .page-section,.page-section-alt{padding:40px 20px;}
  .chapter-head{padding:16px 20px;}
  .news-section{padding:14px 16px 16px;}
  .news-section-inner{gap:12px;}
  .news-label-en{display:none;}
  .news-item-header{gap:8px;}
  .contact-band{padding:40px 20px;}
  .daily-list::before{left:52px;}
  .daily-item{grid-template-columns:62px 1fr;}
  .daily-dot{left:46px;}
}
