:root {
  --blue: #3d7cc9;
  --blue-dark: #2f5f9e;
  --ink: #1f2a37;
  --muted: #5b6573;
  --line: #d9e3f0;
  --bg-soft: #f5f8fc;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Lato", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  line-height: 1.9;
  font-weight: 400;
  background: #fff;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }

/* ヘッダー */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.logo { text-decoration: none; color: var(--blue); line-height: 1.1; }
.logo-name { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; display: block; }
.logo-tag { font-size: 11px; letter-spacing: 2px; display: block; margin-top: 4px; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--blue);
  font-size: 13px; letter-spacing: 1.5px;
}
nav a:hover { color: var(--blue-dark); text-decoration: underline; }

/* メインビジュアル */
.hero {
  position: relative;
  min-height: 78vh;
  background: url("studio.jpg") center / cover no-repeat;
  display: flex; align-items: flex-end;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 40%, rgba(255,255,255,0.55) 100%);
}
.hero-text {
  position: relative; z-index: 1;
  max-width: 1080px; width: 100%; margin: 0 auto;
  padding: 0 24px 9vh;
}
.hero h1 {
  margin: 0; color: #fff;
  font-size: clamp(44px, 9vw, 88px); font-weight: 700; line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero p {
  margin: 8px 0 0; color: var(--blue);
  font-size: clamp(20px, 3.6vw, 34px); font-weight: 700;
}

/* セクション共通 */
section { padding: 72px 20px; }
.wrap { max-width: 760px; margin: 0 auto; }
.section-title {
  font-weight: 300; font-size: clamp(30px, 5vw, 44px);
  margin: 0 0 28px; line-height: 1.3;
}
.section-title small { font-size: 0.5em; font-weight: 400; margin-left: 6px; }
.soft { background: var(--bg-soft); }
hr { border: none; border-top: 1px solid var(--blue); margin: 0; }

.features { list-style: none; padding: 0; margin: 28px 0; }
.features li {
  padding: 12px 0 12px 22px; position: relative;
  border-bottom: 1px solid var(--line);
}
.features li::before {
  content: ""; position: absolute; left: 4px; top: 25px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.iris { margin-top: 32px; color: var(--muted); }

/* お知らせ */
.news-item {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 24px; margin-bottom: 20px;
}
.news-date { color: var(--blue); font-size: 14px; letter-spacing: 1px; }
.news-item h3 { margin: 4px 0 12px; font-size: 20px; font-weight: 500; }
.poster { margin-top: 18px; border-radius: 4px; }

/* アクセス・お問い合わせ */
dl.info { margin: 0; display: grid; grid-template-columns: 7em 1fr; gap: 10px 16px; }
dl.info dt { color: var(--muted); }
dl.info dd { margin: 0; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--blue); color: #fff; text-decoration: none; font-weight: 500;
}
.btn:hover { background: var(--blue-dark); }
.btn.outline { background: #fff; color: var(--blue); border: 1px solid var(--blue); }

footer {
  text-align: center; font-size: 12px; color: var(--muted);
  padding: 28px 20px; border-top: 1px solid var(--line);
}

@media (max-width: 640px) {
  nav ul { gap: 6px 9px; }
  nav a { font-size: 10.5px; letter-spacing: 0; }
  .hero { min-height: 62vh; }
  section { padding: 56px 20px; }
  dl.info { grid-template-columns: 1fr; gap: 2px; }
  dl.info dd { margin-bottom: 12px; }
}

/* 共通の補足 */
.note { color: var(--muted); font-size: 14px; margin-top: 18px; }
nav a.current { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 6px; }

/* タイムテーブル */
.page-head { padding: 56px 20px 8px; }
.page-head .section-title { margin-bottom: 10px; }
.timetable-wrap { max-width: 900px; margin: 0 auto; padding: 8px 16px 64px; }
.tt-status { text-align: center; color: var(--muted); padding: 32px 0; }
.tt-fallback a { display: block; margin: 8px 0; }
.tt-viewer[hidden] { display: none; }
.tt-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.tt-label { text-align: center; font-weight: 500; line-height: 1.5; }
.tt-label small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.tt-nav {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--blue); background: #fff; color: var(--blue);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.tt-nav:hover:not(:disabled) { background: var(--blue); color: #fff; }
.tt-nav:disabled { opacity: 0.3; cursor: default; }
.tt-stage {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 10px; cursor: zoom-in; touch-action: pan-y;
}
.tt-stage img { width: 100%; height: auto; display: block; user-select: none; -webkit-user-drag: none; }
.tt-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.tt-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; padding: 0;
  background: var(--line); cursor: pointer;
}
.tt-dots button.active { background: var(--blue); }
.tt-hint { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* 拡大表示 */
.tt-zoom {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 28, 40, 0.97);
  display: flex; flex-direction: column;
}
.tt-zoom[hidden] { display: none; }
.tt-zoom-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 12px; color: #fff; font-size: 14px; background: #141c28;
}
.tt-zoom-bar span { flex: 1; text-align: center; font-size: 13px; line-height: 1.4; }
.tt-zoom-bar button {
  flex: 0 0 auto; width: 44px; height: 44px; white-space: nowrap;
  background: rgba(255,255,255,0.15); color: #fff; border: none; border-radius: 50%;
  font-size: 24px; line-height: 1; cursor: pointer;
}
.tt-zoom-bar button.close { font-size: 18px; margin-left: 8px; background: rgba(255,255,255,0.28); }
.tt-zoom-bar button:disabled { opacity: 0.3; cursor: default; }
.tt-zoom-scroll { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; }
.tt-zoom-scroll img {
  display: block; margin: 0 auto; width: 100%; max-width: 1100px; height: auto;
  background: #fff; cursor: zoom-in;
}
.tt-zoom-scroll img.zoomed { width: 250%; max-width: none; cursor: zoom-out; }
body.no-scroll { overflow: hidden; }
.ig-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
section { scroll-margin-top: 110px; }

/* 予約ページ */
.rules { margin: 18px 0 0; padding: 16px 18px 16px 34px; background: var(--bg-soft); border-radius: 6px; font-size: 14px; }
.rules li { margin: 4px 0; }
.booking-wrap { max-width: 760px; margin: 0 auto; padding: 8px 16px 64px; }
.day { padding: 0; margin: 0 0 24px; }
.day-title { font-size: 17px; font-weight: 500; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--blue); }
.lesson-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; background: #fff;
}
.lesson-time { color: var(--blue); font-weight: 700; }
.lesson-name { font-size: 17px; font-weight: 500; }
.lesson-meta, .lesson-note { font-size: 13px; color: var(--muted); line-height: 1.6; }
.lesson-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; text-align: right; }
.badge { font-size: 12px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.badge.ok { background: #e3f1e6; color: #24723a; }
.badge.full { background: #fdecec; color: #b42323; }
.badge.gray { background: #eef0f3; color: var(--muted); }
.opens { font-size: 13px; color: var(--muted); margin: 0; }
.lesson-side .btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; }
.btn { border: none; cursor: pointer; font: inherit; }
.btn:disabled { opacity: 0.6; cursor: default; }
.btn.danger { background: #c0392b; }
.btn.danger:hover { background: #a2301f; }
.warn { background: #fff4e5; border-left: 4px solid #e67e22; padding: 10px 14px; }
.manage-box { border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.manage-box h3 { margin-top: 0; }
.manage-box dl.info { margin-bottom: 20px; }

.modal {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 28, 40, 0.6);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 24px 12px;
}
.modal[hidden] { display: none; }
.modal-panel { position: relative; background: #fff; border-radius: 10px; width: 100%; max-width: 460px; padding: 24px 22px; }
.modal-panel h3 { margin: 0 30px 12px 0; font-size: 20px; font-weight: 500; }
.modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--bg-soft); font-size: 16px; cursor: pointer; }
.modal-lesson { background: var(--bg-soft); border-radius: 6px; padding: 10px 14px; margin-bottom: 16px; line-height: 1.7; }
#form label { display: block; font-size: 14px; margin-bottom: 12px; }
#form input:not([type="checkbox"]) {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; font: inherit; font-size: 16px;
  border: 1px solid #c9d3e0; border-radius: 6px;
}
#form input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.req { font-size: 11px; color: #fff; background: #c0392b; border-radius: 3px; padding: 0 5px; margin-left: 6px; }
#form .agree { display: flex; gap: 8px; align-items: flex-start; }
#form .agree input { margin-top: 6px; }
#form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b42323; font-size: 14px; }
#form .btn { width: 100%; margin-top: 6px; padding: 13px; }

@media (max-width: 640px) {
  .lesson-card { flex-direction: column; align-items: stretch; }
  .lesson-side { align-items: stretch; text-align: left; flex-direction: row; justify-content: space-between; align-items: center; }
}
.warn-text { color: #b45309; }
.map { margin-top: 24px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; max-height: 420px; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 料金 */
.price-section { padding: 48px 20px; }
.price-title { font-size: 22px; font-weight: 500; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 2px solid var(--blue); }
.price-title small { font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 10px; }
.price-title small strong { color: #c0392b; font-weight: 700; }
.price-section .price-title:not(:first-child) { margin-top: 44px; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-weight: 500; }
.price-table th span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.price-table td { text-align: right; font-weight: 700; white-space: nowrap; font-size: 17px; }
.price-table td span { font-size: 12px; font-weight: 400; color: var(--muted); }
.price-table.compact th, .price-table.compact td { padding: 8px 12px; font-size: 15px; }
.price-box { margin-top: 24px; background: var(--bg-soft); border-radius: 6px; padding: 16px; }
.price-box h4 { margin: 0 0 8px; font-weight: 500; }
.price-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.price-point { margin: 14px 0 0; padding: 10px 14px; background: #fff7e6; border-radius: 6px; font-size: 14px; }
.price-point strong { color: #c0392b; }

/* メニュー（英語＋日本語） */
nav a { display: flex; flex-direction: column; align-items: center; line-height: 1.3; }
nav a .ja { font-size: 11px; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
nav a.current .ja { color: var(--blue-dark); }
@media (max-width: 640px) {
  nav { width: 100%; }
  nav ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 4px; }
  nav a { font-size: 11px; letter-spacing: 0; }
  nav a .ja { font-size: 11px; }
}
nav a, nav a:hover, nav a.current { text-decoration: none; }
nav a.current { border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
nav a:hover .en { text-decoration: underline; }
nav a .ja { font-size: 12px; }
@media (max-width: 640px) { nav a .ja { font-size: 12px; } }

/* お知らせ：当日の流れ */
.news-label { font-weight: 500; margin: 16px 0 6px; }
.news-flow { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: flow; }
.news-flow li {
  counter-increment: flow; position: relative; padding: 8px 0 8px 40px;
  border-bottom: 1px dashed var(--line);
}
.news-flow li::before {
  content: counter(flow); position: absolute; left: 0; top: 7px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff;
  font-size: 13px; line-height: 26px; text-align: center; font-weight: 700;
}
.news-flow li span { color: var(--muted); font-size: 14px; }
.news-item p { margin: 0 0 8px; }

/* お知らせの詳細：5行ほど表示し、残りは枠の中でスクロール */
.news-body {
  max-height: 10.5em; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: 10px 14px 10px 12px; margin-top: 4px;
  background: var(--bg-soft); border-radius: 6px; border: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: var(--blue) transparent;
}
.news-body::-webkit-scrollbar { width: 6px; }
.news-body::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
.news-body:focus { outline: 2px solid var(--blue); }
.news-body p:last-child { margin-bottom: 0; }
.news-more { font-size: 12px; color: var(--muted); text-align: right; margin: 6px 0 0; }

/* 子供クラス */
.kids-badge { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; line-height: 1.6; }
.kids-badge.c1 { background: #f2a3b6; }
.kids-badge.c2 { background: #6fb1e6; }
.kids-badge.c3 { background: #7cc3a4; }
.kids-badge.c4 { background: #3d7cc9; }
.kids-classes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kids-class { border: 1px solid var(--line); border-radius: 8px; padding: 16px 10px; text-align: center; background: #fff; }
.kids-class p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.kids-lead { margin: 0 0 18px; }
.kids-day { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 16px; }
.kids-day h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.kids-day h4 span { font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 10px; }
.kids-table { width: 100%; border-collapse: collapse; }
.kids-table th, .kids-table td { padding: 9px 4px; border-top: 1px solid var(--line); text-align: left; }
.kids-table th { width: 8.5em; font-weight: 500; color: var(--blue); white-space: nowrap; }
.kids-table td em { font-style: normal; font-size: 13px; color: var(--muted); margin-left: 10px; }
.kids-fee-top { display: flex; justify-content: space-between; align-items: center; background: #fff7e6; border-radius: 6px; padding: 12px 14px; margin-bottom: 8px; }
.kids-fee-top s { color: var(--muted); }
.kids-fee-top strong { color: #c0392b; margin-left: 6px; }
.kids-fee-title { margin: 22px 0 6px; }
@media (max-width: 640px) {
  .kids-classes { grid-template-columns: repeat(2, 1fr); }
  .kids-table td em { display: block; margin: 2px 0 0; }
}
.kids-notes { margin: -6px 0 20px; padding: 12px 14px 12px 32px; background: #fff7e6; border-radius: 6px; font-size: 14px; line-height: 1.8; }
.kids-notes li { margin: 2px 0; }

/* Yiris Junior Intensive */
.kids-badge.c5 { background: #8a77c4; }
.kids-intensive-link { display: block; margin-top: 16px; padding: 12px 14px; border: 1px solid #d8d0ef; background: #f6f3fc; border-radius: 8px; text-decoration: none; color: #5d4a9c; font-weight: 500; }
.kids-intensive-link:hover { background: #efeafa; }
.intensive-day { border-color: #d8d0ef; background: #fbfaff; }
.kids-day-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.intensive-classes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.intensive-class { background: #fff; border: 1px solid #d8d0ef; border-radius: 8px; padding: 16px; }
.intensive-class h4 { margin: 2px 0 8px; font-weight: 500; font-size: 15px; }
.intensive-class ul { margin: 0 0 8px; padding-left: 1.2em; font-size: 14px; }
.intensive-class p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.intensive-class p.ic-time { color: #5d4a9c; font-weight: 700; font-size: 15px; }
.ic-teacher { background: #fff; border-left: 4px solid #8a77c4; padding: 10px 14px; border-radius: 4px; }
.kids-fee-title small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.ic-notes { margin-top: 18px; }
@media (max-width: 760px) { .intensive-classes { grid-template-columns: 1fr; } }

/* ===== 子供クラスページ：パステルのピンク×ブルー ===== */
.kids-page {
  --kp-pink: #f29bb5;
  --kp-pink-dark: #e07699;
  --kp-pink-soft: #fff2f6;
  --kp-blue: #7fb6e8;
  --kp-blue-soft: #eef6fd;
  --kp-line: #f6d3de;
  background: #fffafc;
}
.kids-page header { background: rgba(255, 250, 252, 0.96); border-bottom-color: var(--kp-line); }
.kids-page nav a.current { border-bottom-color: var(--kp-pink); }
.kids-page nav a.current .ja { color: var(--kp-pink-dark); }

.kids-page .page-head {
  background: linear-gradient(135deg, #ffe4ee 0%, #fff2f6 45%, #e6f2fd 100%);
  padding-bottom: 40px;
}
.kids-page .page-head .section-title { color: var(--kp-pink-dark); font-weight: 400; }

.kids-page .price-section { background: #fffafc; }
.kids-page .price-section.soft { background: var(--kp-blue-soft); }
.kids-page .price-title { border-bottom: 3px dotted var(--kp-pink); color: #4a5568; }
.kids-page .price-title small { color: #8a94a6; }

.kids-page .kids-class,
.kids-page .kids-day,
.kids-page .price-table,
.kids-page .intensive-class { border-color: var(--kp-line); border-radius: 14px; }
.kids-page .kids-class { background: #fff; box-shadow: 0 3px 0 var(--kp-line); }
.kids-page .kids-day { box-shadow: 0 3px 0 #d8e8f7; border-color: #d8e8f7; }
.kids-page .kids-table th { color: var(--kp-pink-dark); }
.kids-page .kids-table th, .kids-page .kids-table td,
.kids-page .price-table th, .kids-page .price-table td { border-color: #f3e3e9; }
.kids-page .price-table { border-radius: 10px; overflow: hidden; }

/* クラスの色もパステルに */
.kids-page .kids-badge.c1 { background: #f7a8c0; }
.kids-page .kids-badge.c2 { background: #8cc4ef; }
.kids-page .kids-badge.c3 { background: #a6d8c3; color: #2f6b55; }
.kids-page .kids-badge.c4 { background: #6fa3dc; }
.kids-page .kids-badge.c5 { background: #c3a6e4; }

.kids-page .kids-notes { background: var(--kp-pink-soft); border: 1px dashed var(--kp-line); border-radius: 12px; }
.kids-page .kids-fee-top { background: var(--kp-pink-soft); border-radius: 12px; }
.kids-page .kids-fee-top strong { color: var(--kp-pink-dark); }
.kids-page .kids-intensive-link { border-radius: 12px; }
.kids-page .ic-teacher { border-left-color: #c3a6e4; border-radius: 0 10px 10px 0; }

.kids-page a { color: #d0668a; }
.kids-page .btn { background: var(--kp-pink); border-radius: 999px; }
.kids-page .btn:hover { background: var(--kp-pink-dark); }
.kids-page a.btn { color: #fff; }
.kids-page .btn.outline, .kids-page a.btn.outline { background: #fff; color: var(--kp-pink-dark); border: 1px solid var(--kp-pink); }
.kids-page .btn.outline:hover { background: var(--kp-pink-soft); }

/* 見出しの横に小さなハート */
.kids-page .price-title::before { content: "♡"; color: var(--kp-pink); margin-right: 8px; font-size: 0.9em; }

.kids-page footer { background: linear-gradient(90deg, #ffe4ee, #e6f2fd); border-top: none; color: #6b7280; }
/* パステルのラベルは文字を濃い色にして読みやすく */
.kids-page .kids-badge.c1 { background: #fbd0dd; color: #b03c66; }
.kids-page .kids-badge.c2 { background: #cfe6f8; color: #2d6ca8; }
.kids-page .kids-badge.c3 { background: #cdeadd; color: #2f6b55; }
.kids-page .kids-badge.c4 { background: #b9d4f1; color: #234f86; }
.kids-page .kids-badge.c5 { background: #e3d5f4; color: #6a4aa6; }
.kids-page .logo, .kids-page .logo-tag { color: var(--blue); }
.kids-page nav a { color: var(--blue); }
.kids-page .kp-sub { display: block; font-size: 0.5em; color: #8a94a6; margin-top: 4px; }
nav a { text-align: center; }
/* 子供クラスはメニューの最後に、区切って表示 */
.nav-school { border-left: 1px solid var(--line); padding-left: 18px; }
.nav-school a, .nav-school a .ja { color: #d0668a; }
@media (max-width: 640px) { .nav-school { border-left: none; padding-left: 0; } }
.kids-page .nav-school a, .kids-page .nav-school a .ja { color: #d0668a; }

/* 講師プロフィール（子供クラス） */
.teacher-card { display: flex; gap: 14px; align-items: flex-start; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--kp-line, var(--line)); }
.teacher-card img { width: 96px; height: 116px; object-fit: cover; object-position: center top; border-radius: 12px; flex: 0 0 auto; }
.teacher-info { font-size: 13px; line-height: 1.75; color: #4a5568; }
.teacher-info p { margin: 0 0 6px; }
.teacher-info .teacher-name { font-size: 16px; font-weight: 500; color: #d0668a; margin-bottom: 2px; }
.teacher-info details summary { cursor: pointer; color: #d0668a; font-size: 13px; }
.teacher-info details ul { margin: 6px 0 0; padding-left: 1.1em; }
.teacher-info details li { margin: 3px 0; }
.teacher-info .teacher-name span { font-size: 12px; color: #8a94a6; font-weight: 400; margin-left: 8px; }

/* お問い合わせ：大人／子供 */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 18px 14px; }
.contact-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 500; color: var(--blue); }
.contact-card h3 span { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; }
.contact-card .contact-mail { margin: 0; font-size: 15px; }
.contact-card .buttons { margin-top: 14px; gap: 8px; }
.contact-card .btn { padding: 10px 18px; font-size: 14px; }
.contact-card .note { margin-top: 10px; }
.contact-card.kids { border-color: #f6d3de; background: #fffafc; }
.contact-card.kids h3 { color: #d0668a; }
.contact-card.kids .btn { background: #f29bb5; }
.contact-card.kids .btn:hover { background: #e07699; }
.contact-card.kids .btn.outline { background: #fff; color: #e07699; border: 1px solid #f29bb5; }
.contact-card.kids a:not(.btn) { color: #d0668a; }
@media (max-width: 640px) { .contact-cards { grid-template-columns: 1fr; } }
/* ピンクのボタンは少し濃くして文字を読みやすく */
.contact-card.kids .btn, .kids-page .btn { background: #dc6f94; }
.contact-card.kids .btn:hover, .kids-page .btn:hover { background: #c75a80; }
.contact-card.kids .btn.outline, .kids-page .btn.outline, .kids-page a.btn.outline { background: #fff; color: #c75a80; border: 1px solid #dc6f94; }
.kp-mail { font-size: 16px; margin: 6px 0 0; }
.kp-mail a { font-weight: 500; }

/* 子供クラス：週間スケジュール表 */
.wk { background: #fff; border: 1px solid #d8e8f7; border-radius: 14px; padding: 12px 10px 14px; margin: 0 0 24px; box-shadow: 0 3px 0 #d8e8f7; }
.wk-head, .wk-am, .wk-grid { display: grid; grid-template-columns: 44px 1fr 1fr 1fr; gap: 6px; }
.wk-head div { text-align: center; font-weight: 500; font-size: 15px; padding: 6px 0; border-radius: 8px; background: #fff2f6; color: #c75a80; line-height: 1.3; }
.wk-head div:first-child { background: none; }
.wk-head small { display: block; font-size: 10px; font-weight: 400; color: #8a77c4; }
.wk-am { margin: 8px 0 4px; align-items: center; }
.wk-am-label { font-size: 11px; color: var(--muted); text-align: right; padding-right: 4px; }
.wk-grid { position: relative; margin-top: 4px; }
.wk-axis { position: relative; }
.wk-hour { position: absolute; left: 0; right: -9999px; border-top: 1px dashed #e6edf5; }
.wk-hour span { position: absolute; top: -9px; right: 9999px; padding-right: 4px; font-size: 11px; color: var(--muted); background: #fff; }
.wk-axis { overflow: visible; }
.wk-grid { overflow: hidden; }
.wk-col { position: relative; }
.wk-body { position: relative; background: repeating-linear-gradient(#fafcff, #fafcff 1px, transparent 1px, transparent 48px); border-radius: 8px; }
.wk-block {
  position: absolute; left: 2px; right: 2px; border-radius: 8px; padding: 4px 6px;
  font-size: 12px; line-height: 1.3; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.wk-block b { display: block; font-size: 13px; }
.wk-block em { font-style: normal; font-size: 10px; opacity: 0.8; margin-left: 2px; }
.wk-block b + em { display: inline; margin-left: 0; }
.wk-block span { display: block; font-size: 11px; opacity: 0.9; }
.wk-block.wk-small { padding: 1px 6px; display: flex; gap: 6px; align-items: center; }
.wk-block.wk-small b { font-size: 11px; display: inline; }
.wk-block.wk-small span, .wk-block.wk-small em { font-size: 10px; display: inline; }
.wk-block.wk-inline { position: static; }
.wk-block.c1 { background: #fbd0dd; color: #a8355f; }
.wk-block.c2 { background: #cfe6f8; color: #245f99; }
.wk-block.c3 { background: #cdeadd; color: #2a6450; }
.wk-block.c4 { background: #b9d4f1; color: #1f4a80; }
.wk-block.c5 { background: #e3d5f4; color: #5f419b; }
.wk-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: #4a5568; }
.wk-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 4px; vertical-align: -1px; }
.wk-legend i.c1 { background: #fbd0dd; } .wk-legend i.c2 { background: #cfe6f8; } .wk-legend i.c3 { background: #cdeadd; }
.wk-legend i.c4 { background: #b9d4f1; } .wk-legend i.c5 { background: #e3d5f4; }
@media (max-width: 640px) {
  .wk { padding: 10px 6px 12px; }
  .wk-head, .wk-am, .wk-grid { grid-template-columns: 34px 1fr 1fr 1fr; gap: 4px; }
  .wk-head div { font-size: 13px; }
  .wk-block { padding: 3px 4px; }
  .wk-block b { font-size: 12px; }
  .wk-block span { font-size: 10px; }
}
.wk-block b { display: inline; }
.wk-block em { display: inline; margin-left: 4px; }
.wk-block span { display: block; }
.wk-block.wk-small { white-space: nowrap; }
.wk-block.wk-small em { display: none; }
.wk-block.wk-small span { display: inline; }
@media (max-width: 640px) {
  .wk-block.wk-small span { display: none; }
  .wk-block em { font-size: 9px; }
}
.wk-block span.t { font-size: 10px; opacity: 0.85; margin-top: 1px; }
.wk-block.wk-small span.t { display: none; }
.wk-notes { margin: 10px 0 0; padding: 10px 12px 10px 28px; background: #fff2f6; border-radius: 10px; font-size: 12px; line-height: 1.7; color: #4a5568; }
.wk-notes li { margin: 2px 0; }
.wk-block span.t { font-size: 10px; opacity: 0.85; margin-top: 1px; }
.wk-block.wk-small span.t { display: none; }
.wk-notes { margin: 10px 0 0; padding: 10px 12px 10px 28px; background: #fff2f6; border-radius: 10px; font-size: 12px; line-height: 1.7; color: #4a5568; }
.wk-notes li { margin: 2px 0; }
.wk-block { line-height: 1.22; padding-top: 3px; padding-bottom: 2px; }

/* BALLET SCHOOL のサブメニュー */
.has-sub { position: relative; }
.has-sub .caret { font-style: normal; font-size: 9px; }
.has-sub .sub {
  display: none; position: absolute; top: 100%; right: 0; z-index: 60;
  list-style: none; margin: 6px 0 0; padding: 6px; min-width: 190px;
  background: #fff; border: 1px solid #f6d3de; border-radius: 10px; box-shadow: 0 6px 18px rgba(208,102,138,0.15);
}
.has-sub .sub::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.has-sub .sub a {
  display: block; padding: 8px 12px; border-radius: 6px; font-size: 13px; letter-spacing: 0;
  color: #c75a80 !important; text-align: left; white-space: nowrap;
}
.has-sub .sub a:hover, .has-sub .sub a.current { background: #fff2f6; }
.has-sub .sub a.current { font-weight: 700; border-bottom: none; }
@media (max-width: 640px) {
  .has-sub .sub { right: -4px; min-width: 170px; }
}
nav .nav-school .nav-parent, nav .nav-school .nav-parent:hover, nav .nav-school .nav-parent .ja { color: #d0668a; }
nav .nav-school .nav-parent.current { border-bottom-color: #f29bb5; }

/* 子供クラス料金：2つの月謝の案内 */
.fee-index { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 14px; }
.fee-index a { display: block; background: #fff; border: 1px solid #f6d3de; border-radius: 12px; padding: 12px 14px; text-decoration: none; color: #4a5568; font-weight: 500; box-shadow: 0 3px 0 #f6d3de; }
.fee-index a small { display: block; font-weight: 400; font-size: 12px; color: #8a94a6; margin-top: 2px; }
.fee-index a.ic { border-color: #e3d5f4; box-shadow: 0 3px 0 #e3d5f4; }
.fee-no { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: #f29bb5; color: #fff; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; margin-right: 8px; vertical-align: 1px; }
.fee-no.ic, .fee-index a.ic .fee-no { background: #b79ae0; }
.kids-page .price-title .fee-no + * {}
.kids-page .price-title:has(.fee-no)::before { content: none; }
.fee-lead { margin: -4px 0 14px; font-size: 14px; color: #4a5568; }
.kids-page .page-head .kids-fee-top { background: #fff; }
.kids-page #intensive-fee .price-title { border-bottom-color: #c3a6e4; }
@media (max-width: 640px) { .fee-index { grid-template-columns: 1fr; } }

/* トップ：公演写真のスライドショー */
.hero { background: #0d1320; overflow: hidden; }
.hero .slides { position: absolute; inset: 0; }
.hero .slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero .slide.active { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; display: block; }
.hero::after { z-index: 1; background: linear-gradient(to bottom, rgba(10,16,28,0.15) 0%, rgba(10,16,28,0) 30%, rgba(10,16,28,0.55) 100%); }
.hero-text { z-index: 2; }
.hero h1 { color: #fff; }
.hero p { color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.45); }
.hero .slide figcaption {
  position: absolute; right: 16px; bottom: 34px; z-index: 3; max-width: 70%;
  font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.88); text-align: right;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero .slide { z-index: 0; }
.hero .slide.active figcaption { z-index: 3; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 4; display: flex; justify-content: center; gap: 8px; }
.slide-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,0.45); cursor: pointer; }
.slide-dots button.active { background: #fff; width: 20px; border-radius: 4px; }
@media (max-width: 640px) {
  .hero .slide figcaption { left: 12px; right: 12px; max-width: none; bottom: 30px; font-size: 10.5px; text-align: left; }
  .hero-text { padding-bottom: 64px; }
}
.hero { background-image: none; }

/* スライドショー調整：写真の上（頭）が切れないように、文字は小さめで空いている所へ */
.hero { min-height: 0; aspect-ratio: 3 / 2; max-height: calc(100vh - 110px); align-items: flex-start; }
.hero .slide img { object-position: center top; }
.hero-text { padding: clamp(18px, 4vw, 48px) clamp(18px, 4vw, 56px) 0; margin: 0; max-width: none; transition: text-align .3s; }
.hero h1 { font-size: clamp(30px, 5.2vw, 64px); }
.hero p { font-size: clamp(14px, 1.8vw, 22px); margin-top: 4px; }
.hero.text-right .hero-text { text-align: right; }
.hero::after { background: linear-gradient(to bottom, rgba(10,16,28,0.45) 0%, rgba(10,16,28,0.1) 35%, rgba(10,16,28,0) 60%, rgba(10,16,28,0.35) 100%); }
.xmas .hero::after { background: linear-gradient(to bottom, rgba(10,16,28,0.45) 0%, rgba(10,16,28,0.1) 35%, rgba(10,16,28,0) 60%, rgba(10,16,28,0.35) 100%); }
.xmas .xmas-greeting { font-size: clamp(26px, 4vw, 52px); margin-bottom: 0; }
@media (max-width: 640px) {
  .hero { max-height: none; }
  .hero-text { padding: 14px 16px 0; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 13px; }
  .xmas .xmas-greeting { font-size: 24px; }
  .hero .slide figcaption { bottom: 26px; font-size: 9.5px; }
}
.hero { aspect-ratio: auto; width: 100%; height: min(66.67vw, calc(100vh - 110px)); max-height: none; }
@media (max-width: 640px) { .hero { height: 66.67vw; min-height: 240px; } }
@media (max-width: 640px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 11.5px; }
  .xmas .xmas-greeting { font-size: 20px; }
  .hero-text { padding: 10px 12px 0; }
}
/* Merry Christmas は手書き風フォントのまま、控えめなサイズに */
.xmas .xmas-greeting { font-family: "Great Vibes", "Brush Script MT", cursive; font-size: clamp(22px, 2.8vw, 38px); line-height: 1.1; margin-bottom: 2px; }
@media (max-width: 640px) { .xmas .xmas-greeting { font-size: 18px; } }

/* 講師変更などの一行お知らせ */
.notice-bar {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px;
  padding: 7px 14px; background: #fff7e6; border-bottom: 1px solid #f3e0b8; font-size: 13px; line-height: 1.5; color: #5b4a2a;
}
.notice-bar b { font-weight: 700; color: #3d2f12; }
.notice-tag { background: #e08a1e; color: #fff; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; }
.notice-bar a { font-size: 12px; color: #b0661a; white-space: nowrap; }
@media (max-width: 640px) { .notice-bar { font-size: 12px; justify-content: flex-start; } }

/* Instagram の最新投稿 */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ig-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.ig-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(47,95,158,0.12); }
.ig-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--bg-soft); }
.ig-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-play { position: absolute; right: 8px; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,0.5); color: #fff; font-size: 11px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.ig-meta { display: block; padding: 8px 10px 10px; }
.ig-date { display: block; font-size: 11px; color: var(--blue); }
.ig-cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.6; color: var(--muted); }
.ig-follow { text-align: center; margin: 22px 0 0; }
@media (max-width: 640px) {
  .ig-grid { gap: 6px; }
  .ig-meta { display: none; }
  .ig-card { border-radius: 4px; }
}

/* トップ：講師紹介 */
.wrap.wide { max-width: 1040px; }
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px; text-align: left; }
.tcard img { width: 120px; height: 144px; object-fit: cover; object-position: center top; border-radius: 10px; display: block; margin: 0 auto 12px; }
.tcard .teacher-info { color: var(--ink); font-size: 13px; line-height: 1.8; }
.tcard .teacher-name { text-align: center; color: var(--blue); font-size: 18px; margin-bottom: 8px; }
.tcard .teacher-name span { display: block; margin: 0; }
.tcard details summary { color: var(--blue); }
@media (max-width: 860px) { .tcards { grid-template-columns: 1fr; } .tcard { display: flex; gap: 14px; } .tcard img { width: 96px; height: 116px; margin: 0; flex: 0 0 auto; } .tcard .teacher-name { text-align: left; } }

/* トップ：講師紹介 */
.wrap.wide { max-width: 1040px; }
.home-teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.teacher-card.home-teacher {
  flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff;
}
.teacher-card.home-teacher img { width: 100%; height: auto; aspect-ratio: 5 / 6; border-radius: 0; object-position: center top; }
.teacher-card.home-teacher .teacher-info { padding: 14px 16px 16px; }
.teacher-card.home-teacher .teacher-name { color: var(--blue); font-size: 18px; }
.teacher-card.home-teacher details summary { color: var(--blue); }
@media (max-width: 860px) { .home-teachers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .home-teachers { grid-template-columns: 1fr; gap: 14px; }
  .teacher-card.home-teacher { flex-direction: row; align-items: flex-start; }
  .teacher-card.home-teacher img { width: 110px; aspect-ratio: 5 / 6; flex: 0 0 auto; }
  .teacher-card.home-teacher .teacher-info { padding: 10px 12px 12px; }
}
.teacher-role { display: inline-block; margin: 0 0 4px !important; padding: 1px 10px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.teacher-card.home-teacher.is-head { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue) inset; }

/* 講師紹介：主宰は1行で大きく、他の講師は2人ずつ */
.home-teachers { grid-template-columns: 1fr 1fr; }
.teacher-card.home-teacher.is-head { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.teacher-card.home-teacher.is-head img { width: 34%; max-width: 320px; aspect-ratio: 5 / 6; flex: 0 0 auto; }
.teacher-card.home-teacher.is-head .teacher-info { padding: 22px 26px; font-size: 14px; }
.teacher-card.home-teacher.is-head .teacher-name { font-size: 22px; }
.home-teachers > .teacher-card.home-teacher:not(.is-head) { flex-direction: row; align-items: flex-start; }
.home-teachers > .teacher-card.home-teacher:not(.is-head) img { width: 42%; flex: 0 0 auto; }
@media (max-width: 860px) { .home-teachers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .home-teachers { grid-template-columns: 1fr; }
  .teacher-card.home-teacher.is-head { flex-direction: column; }
  .teacher-card.home-teacher.is-head img { width: 100%; max-width: none; aspect-ratio: 4 / 3; }
  .teacher-card.home-teacher.is-head .teacher-info { padding: 14px 16px; font-size: 13px; }
  .home-teachers > .teacher-card.home-teacher:not(.is-head) img { width: 110px; }
}

/* 主宰の写真スライド */
.head-photos { position: relative; width: 34%; max-width: 320px; aspect-ratio: 5 / 6; flex: 0 0 auto; overflow: hidden; background: #f4f4f4; }
.head-photos img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: auto !important; object-position: center; opacity: 0; transition: opacity 1s ease; }
.head-photos img.active { opacity: 1; }
@media (max-width: 560px) { .head-photos { width: 100%; max-width: none; aspect-ratio: 4 / 3; } }
.head-photos img { object-position: center center !important; }
.teacher-info .teacher-class { font-size: 12px; color: var(--blue); background: var(--bg-soft); border-radius: 6px; padding: 3px 8px; display: inline-block; margin: 2px 0 8px !important; }
/* 担当クラス：曜日ごとに1行 */
.teacher-classes { list-style: none; margin: 4px 0 10px; padding: 6px 10px; background: var(--bg-soft); border-radius: 6px; font-size: 12px; line-height: 1.5; }
.teacher-classes li { display: flex; gap: 8px; padding: 3px 0; border-bottom: 1px dashed #dbe6f2; }
.teacher-classes li:last-child { border-bottom: none; }
.teacher-classes .tc-day { flex: 0 0 2.6em; font-weight: 700; color: var(--blue); }
.teacher-classes li span:last-child { white-space: normal; }
/* 主宰カードを少しコンパクトに */
.head-photos { width: 30%; max-width: 260px; }
.teacher-card.home-teacher.is-head { align-items: flex-start; }
.teacher-card.home-teacher.is-head .teacher-info { padding: 18px 22px; font-size: 13px; }
.teacher-card.home-teacher.is-head .teacher-name { font-size: 20px; }
@media (max-width: 560px) { .head-photos { width: 100%; max-width: none; } .teacher-card.home-teacher.is-head { align-items: stretch; } }
/* 「Yiris Ballet 主宰」を目立たせる */
.teacher-role {
  font-size: 14px !important; padding: 4px 16px !important; letter-spacing: 2px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue)); box-shadow: 0 2px 6px rgba(47,95,158,0.25);
  margin-bottom: 8px !important;
}
.teacher-card.home-teacher.is-head .teacher-name { font-size: 26px; }
@media (max-width: 560px) { .teacher-role { font-size: 13px !important; } .teacher-card.home-teacher.is-head .teacher-name { font-size: 22px; } }

/* ABOUT のサブメニュー（青） */
.about-sub .sub { left: 50%; right: auto; transform: translateX(-50%); border-color: var(--line); box-shadow: 0 6px 18px rgba(47,95,158,0.15); min-width: 150px; }
.about-sub .sub a { color: var(--blue) !important; }
.about-sub .sub a:hover, .about-sub .sub a.current { background: var(--bg-soft); }
nav .about-sub .nav-parent.current { border-bottom-color: var(--blue); }
@media (max-width: 640px) { .about-sub .sub { left: -4px; transform: none; } }

/* お知らせ：動画つき */
.news-video { display: flex; gap: 18px; align-items: flex-start; }
.nv-media { flex: 0 0 42%; border-radius: 6px; overflow: hidden; background: #eef2f7; }
.nv-media video { width: 100%; height: auto; display: block; }
.nv-body { flex: 1; }
.nv-body h3 { margin-top: 4px; }
@media (max-width: 640px) { .news-video { flex-direction: column; } .nv-media { flex: none; width: 100%; } }
.nv-media { position: relative; }
.nv-label {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  background: rgba(30, 62, 110, 0.55); color: #fff; font-size: 15px; font-weight: 500; letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3); pointer-events: none;
}
@media (max-width: 640px) { .nv-label { font-size: 14px; } }

/* ゲスト講師 */
#teachers .price-title, #guest .price-title { margin-top: 0; }
.guest-teachers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.teacher-card.guest-teacher { flex-direction: column; gap: 0; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.teacher-card.guest-teacher img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; object-fit: cover; }
.teacher-card.guest-teacher .teacher-info { padding: 12px 14px 14px; }
.teacher-card.guest-teacher .teacher-name { color: var(--blue); }
.teacher-card.guest-teacher details summary { color: var(--blue); }
@media (max-width: 860px) { .guest-teachers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .guest-teachers { grid-template-columns: 1fr; }
  .teacher-card.guest-teacher { flex-direction: row; align-items: flex-start; }
  .teacher-card.guest-teacher img { width: 110px; flex: 0 0 auto; }
}
.rules .rule-note { color: #8a4b0f; }
.notice-bar + .notice-bar { border-top: none; padding-top: 0; }
.ny-list { margin: 0 0 10px; padding-left: 1.2em; }
.ny-list li { margin: 3px 0; }

/* 年末年始のお知らせ：お正月の赤 */
.news-item.ny-red { border: 2px solid #c8102e; background: #fffafa; box-shadow: 0 0 0 4px #fdecee inset; }
.news-item.ny-red .news-date { color: #c8102e; font-weight: 700; }
.news-item.ny-red h3 { color: #b0101f; }
.news-item.ny-red h3::before { content: "🎍 "; }
.news-item.ny-red .news-body { background: #fff5f5; border-color: #f5c6cc; scrollbar-color: #c8102e transparent; }
.news-item.ny-red .news-body::-webkit-scrollbar-thumb { background: #c8102e; }
.news-item.ny-red .news-label { color: #b0101f; }
.news-item.ny-red .ny-list li::marker { color: #c8102e; }
.news-item.ny-red .ny-list b { color: #b0101f; }
.news-item.ny-red a { color: #c8102e; }
