@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@600;700&family=Noto+Sans+JP:wght@400;700&display=swap');
/* ═════════ 青明塾 2026冬期講習LP（/winter-2026）═════════
   すべて .w26 の中だけに効くように書いています（他のページには影響しません） */

.w26 {
  --w26-navy: #16325c;
  --w26-navy-deep: #0f2442;
  --w26-blue: #2f6db5;
  --w26-ice: #eef5fc;
  --w26-ice2: #dceaf8;
  --w26-red: #c8463d;
  --w26-red-dark: #a83830;
  --w26-gold: #e3a92b;
  --w26-text: #24303f;
  --w26-sub: #5b6878;
  --w26-line: #d5e0ec;
  color: var(--w26-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
.w26 *, .w26 *::before, .w26 *::after { box-sizing: border-box; }
.w26 a { color: inherit; }
.w26 h1, .w26 h2, .w26 h3 { font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-weight: 700; margin: 0; line-height: 1.5; }
.w26 h2 { font-size: 28px; color: var(--w26-navy); margin: 6px 0 24px; }
.w26 h3 { font-size: 19px; }
.w26 :where(p) { margin: 0 0 12px; color: inherit; }
.w26 ul, .w26 ol { margin: 0; padding: 0; list-style: none; }
.w26 table { border-collapse: collapse; width: 100%; }
.w26 section { padding: 72px 20px; scroll-margin-top: 70px; }
.w26-inner { max-width: 860px; margin: 0 auto; }
.w26-label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--w26-blue); letter-spacing: .08em; }
.w26-label.is-light { color: #9cc7f0; }

/* ── ボタン ── */
.w26-btn-primary, .w26-btn-ghost, .w26-btn-tel {
  display: inline-block; padding: 15px 28px; border-radius: 999px; font-weight: 700;
  text-decoration: none; text-align: center; transition: transform .15s, background .15s;
}
.w26 .w26-btn-primary { background: var(--w26-red); color: #fff; box-shadow: 0 4px 14px rgba(200,70,61,.3); }
.w26 .w26-btn-primary:hover { background: var(--w26-red-dark); transform: translateY(-2px); }
.w26 .w26-btn-ghost { background: #fff; color: var(--w26-navy); border: 2px solid var(--w26-navy); }
.w26 .w26-btn-ghost:hover { background: var(--w26-ice); }
.w26 .w26-btn-tel { background: #fff; color: var(--w26-navy); border: 2px solid #fff; }
.w26 .w26-btn-tel:hover { background: var(--w26-ice); }

/* ── ヘッダー ── */
.w26-header {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 10px 84px 10px 20px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--w26-line);
}
.w26 .w26-logo { font-family: "Noto Serif JP", serif; font-size: 22px; font-weight: 700; color: var(--w26-navy); text-decoration: none; }
.w26-logo span { font-family: "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 400; color: var(--w26-sub); margin-left: 8px; }
.w26-nav { display: flex; align-items: center; gap: 6px; }
.w26 .w26-nav-link { font-size: 14px; font-weight: 700; color: var(--w26-navy); text-decoration: none; padding: 6px 10px; }
.w26 .w26-nav-cta { font-size: 14px; font-weight: 700; color: #fff; background: var(--w26-red); padding: 8px 16px; border-radius: 999px; text-decoration: none; }

/* ── ヒーロー ── */
.w26 .w26-hero {
  position: relative; overflow: hidden; text-align: center; padding: 80px 20px 72px;
  background: linear-gradient(180deg, #e3effb 0%, #f6faff 70%, #fff 100%);
}
.w26-hero::before, .w26-hero::after { content: ""; position: absolute; border-radius: 50%; background: #fff; opacity: .7; }
.w26-hero::before { width: 220px; height: 220px; top: -60px; left: -50px; }
.w26-hero::after { width: 160px; height: 160px; bottom: 30px; right: -40px; }
.w26-hero > * { position: relative; z-index: 1; }
.w26-hero-badge { display: inline-block; background: var(--w26-navy); color: #fff; font-size: 14px; font-weight: 700; padding: 6px 18px; border-radius: 999px; letter-spacing: .06em; }
.w26-hero h1 { font-size: 40px; color: var(--w26-navy); margin: 20px 0 22px; }
.w26-accent { color: var(--w26-blue); background: linear-gradient(transparent 68%, #ffe39a 68%); }
.w26-hero-lead { max-width: 680px; margin: 0 auto 28px; text-align: left; }
.w26-hero-info { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0 auto 30px; max-width: 720px; }
.w26-hero-info > div { flex: 1 1 190px; background: #fff; border: 1px solid var(--w26-line); border-radius: 12px; padding: 12px 10px; }
.w26-hero-info dt { font-size: 13px; color: var(--w26-sub); font-weight: 700; }
.w26-hero-info dd { margin: 0; font-size: 20px; font-weight: 700; color: var(--w26-navy); line-height: 1.4; }
.w26-hero-info dd small { display: block; font-size: 12px; font-weight: 400; color: var(--w26-sub); }
.w26-hero-info .is-deadline { border: 2px solid var(--w26-red); }
.w26-hero-info .is-deadline dd { color: var(--w26-red); }
.w26-hero-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* 締切後（12/18〜）にヒーローへ入れるお知らせ */
.w26-closed { max-width: 680px; margin: 20px auto 0; padding: 12px 16px; background: #fff; border: 2px solid var(--w26-red); border-radius: 10px; color: var(--w26-red); font-weight: 700; line-height: 1.7; }
.w26-closed small { display: block; color: var(--w26-text); font-weight: 400; font-size: 14px; }

/* ── 対象別 ── */
.w26 .w26-paths { padding: 0 20px 40px; }
.w26-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.w26 .w26-path {
  display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; border-radius: 14px; text-decoration: none;
  background: var(--w26-ice); border: 1px solid var(--w26-ice2); transition: transform .15s;
}
.w26 .w26-path:hover { transform: translateY(-3px); }
.w26 .w26-path.is-g3 { background: var(--w26-navy); border-color: var(--w26-navy); color: #fff; }
.w26-path-tag { font-size: 13px; font-weight: 700; color: var(--w26-blue); }
.w26-path.is-g3 .w26-path-tag { color: #ffd776; }
.w26-path strong { font-family: "Noto Serif JP", serif; font-size: 20px; }
.w26-path-text { font-size: 14px; line-height: 1.6; }
.w26-path-more { margin-top: 6px; font-size: 14px; font-weight: 700; }

/* ── お悩み ── */
.w26 .w26-worry { background: #fbfcfe; }
.w26-worry-list { display: grid; gap: 10px; margin-bottom: 24px; }
.w26-worry-list li { position: relative; padding: 12px 16px 12px 46px; background: #fff; border: 1px solid var(--w26-line); border-radius: 10px; }
.w26-worry-list li::before {
  content: "✓"; position: absolute; left: 14px; top: 12px; width: 22px; height: 22px; line-height: 22px; text-align: center;
  font-size: 13px; font-weight: 700; color: #fff; background: var(--w26-blue); border-radius: 5px;
}
.w26-worry-note { padding: 18px 22px; background: var(--w26-ice); border-left: 5px solid var(--w26-blue); border-radius: 0 10px 10px 0; }

/* ── 個別指導 ── */
.w26-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.w26-feature { background: #fff; border: 1px solid var(--w26-line); border-top: 5px solid var(--w26-blue); border-radius: 12px; padding: 20px 18px; }
.w26-feature-num { font-family: Georgia, serif; font-size: 26px; font-weight: 700; color: #a9c8ea; }
.w26-feature h3 { color: var(--w26-navy); margin: 2px 0 8px; font-size: 18px; }
.w26-feature p { font-size: 15px; margin: 0; }
.w26-grade-box { background: var(--w26-ice); border-radius: 14px; padding: 22px 24px; }
.w26-grade-title { font-weight: 700; color: var(--w26-navy); }
.w26-grade-list { display: grid; gap: 8px; }
.w26-grade-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.w26-grade-list span { flex: 0 0 84px; text-align: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--w26-blue); border-radius: 999px; padding: 2px 0; }

/* ── 中3 ── */
.w26 .w26-g3 { background: var(--w26-navy); color: #fff; }
.w26 .w26-g3 h2 { color: #fff; }
.w26-g3-badge { display: inline-block; margin-right: 10px; background: var(--w26-gold); color: var(--w26-navy-deep); font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 999px; }
.w26-exam-box { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 20px 22px; margin-bottom: 32px; }
.w26-exam-box strong { color: #ffd776; }
.w26-exam-note { font-size: 13px; color: #b9c8db; margin: 0; }
.w26-course { background: #fff; color: var(--w26-text); border-radius: 14px; padding: 24px; margin-bottom: 22px; }
.w26-course-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--w26-ice2); }
.w26-course-no { font-size: 13px; font-weight: 700; color: #fff; background: var(--w26-blue); padding: 2px 10px; border-radius: 6px; }
.w26-course-head h3 { color: var(--w26-navy); font-size: 21px; }
.w26-course-type { font-size: 13px; color: var(--w26-sub); }
.w26-course-table th, .w26-course-table td { border-bottom: 1px solid var(--w26-line); padding: 10px 8px; font-size: 15px; vertical-align: top; text-align: left; }
.w26-course-table thead th { background: var(--w26-ice); font-size: 13px; color: var(--w26-sub); }
.w26-course-table tbody th { color: var(--w26-navy); white-space: nowrap; }
.w26-course-table td:nth-child(2) { white-space: nowrap; }
.w26-yen { white-space: nowrap; font-weight: 700; text-align: right !important; }
.w26-course-foot { font-size: 14px; color: var(--w26-sub); margin: 10px 0 0; }
.w26-set { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-top: 16px; padding: 14px 18px; background: #fff6e3; border: 2px solid var(--w26-gold); border-radius: 10px; }
.w26-set-label { font-weight: 700; color: var(--w26-navy); }
.w26-set-price { font-size: 26px; font-weight: 700; color: var(--w26-red); }
.w26-set-price small { font-size: 13px; font-weight: 400; color: var(--w26-sub); }
.w26-set-note { flex-basis: 100%; font-size: 14px; }
.w26-special-days { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.w26-special-days > div { background: var(--w26-ice); border-radius: 10px; padding: 14px; text-align: center; }
.w26-special-days span { display: block; }
.w26-day { font-size: 20px; font-weight: 700; color: var(--w26-navy); }
.w26-time { font-size: 14px; color: var(--w26-sub); }
.w26-subj { font-weight: 700; color: var(--w26-blue); }
.w26-special-list li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 15px; }
.w26-special-list li::before { content: ""; position: absolute; left: 4px; top: .75em; width: 8px; height: 8px; background: var(--w26-blue); border-radius: 50%; }
.w26-synergy { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 22px; margin-bottom: 28px; }
.w26-synergy-title { font-weight: 700; color: #ffd776; font-size: 17px; }
.w26-synergy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.w26-synergy-grid > div { background: rgba(255,255,255,.1); border-radius: 10px; padding: 14px 16px; font-size: 15px; }
.w26-synergy-grid strong { display: block; font-size: 16px; margin-bottom: 4px; }
.w26-synergy-foot { margin: 0; font-size: 15px; }
.w26-timetable { background: #fff; color: var(--w26-text); border-radius: 14px; padding: 22px; }
.w26-timetable-title { font-weight: 700; color: var(--w26-navy); font-size: 18px; }
.w26-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.w26-tt { min-width: 520px; }
.w26-tt th, .w26-tt td { border: 1px solid var(--w26-line); padding: 7px 4px; text-align: center; font-size: 14px; }
.w26-tt thead th { background: var(--w26-navy); color: #fff; line-height: 1.3; }
.w26-tt thead small { display: block; font-size: 11px; font-weight: 400; opacity: .85; }
.w26-tt tbody th { background: var(--w26-ice); white-space: nowrap; font-weight: 700; color: var(--w26-navy); }
.w26-tt tr.is-special td { background: #fff6e3; font-weight: 700; color: var(--w26-red); }
.w26-tt .s-ei { background: #e8f1fd; }
.w26-tt .s-su { background: #fdecea; }
.w26-tt .s-koku { background: #f0ecfa; }
.w26-tt .s-ri { background: #e7f6ee; }
.w26-tt .s-sha { background: #fdf4e1; }
.w26-tt-foot { font-size: 13px; color: var(--w26-sub); margin: 12px 0 0; }

/* ── 日程・料金 ── */
.w26-cal { background: var(--w26-ice); border-radius: 14px; padding: 22px 24px; margin-bottom: 32px; }
.w26-cal-period { font-weight: 700; }
.w26-cal-period em { font-style: normal; color: var(--w26-navy); font-size: 19px; }
.w26-cal-closed > div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; font-size: 15px; }
.w26-tag { flex: 0 0 auto; background: var(--w26-red); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; margin-top: 3px; }
.w26-cal-sub { font-weight: 700; margin: 14px 0 8px; }
.w26-slots { display: flex; flex-wrap: wrap; gap: 6px; }
.w26-slots li { background: #fff; border: 1px solid var(--w26-line); border-radius: 6px; padding: 2px 10px; font-size: 14px; }
.w26-slots b { color: var(--w26-blue); margin-right: 4px; }
.w26-price-caption { font-weight: 700; font-size: 18px; color: var(--w26-navy); margin-top: 8px; }
.w26-pill { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--w26-blue); background: var(--w26-ice); border-radius: 999px; padding: 1px 10px; vertical-align: middle; }
.w26-price-table th, .w26-price-table td { border: 1px solid var(--w26-line); padding: 10px 8px; text-align: center; font-size: 15px; }
.w26-price-table thead th { background: var(--w26-navy); color: #fff; font-size: 14px; }
.w26-price-table tbody th { background: #f7fafd; text-align: left; color: var(--w26-navy); }
.w26-price-table td.unit { font-weight: 700; color: var(--w26-red); }
.w26-price-table tr.is-g3 th { background: #fff6e3; }
.w26-row-note { font-size: 12px; font-weight: 400; color: var(--w26-sub); }
.w26-price-foot { font-size: 13px; color: var(--w26-sub); margin: 12px 0 28px; }
.w26-g3-price th, .w26-g3-price td { border: 1px solid var(--w26-line); padding: 12px 14px; font-size: 15px; text-align: left; }
.w26-g3-price th { background: #f7fafd; color: var(--w26-navy); width: 38%; }

/* ── 申込の流れ ── */
.w26 .w26-flow { background: #fbfcfe; }
.w26-flow-list { display: grid; gap: 14px; margin-bottom: 24px; }
.w26-flow-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--w26-line); border-radius: 12px; padding: 18px; }
.w26-flow-num { flex: 0 0 46px; height: 46px; line-height: 46px; text-align: center; border-radius: 50%; background: var(--w26-blue); color: #fff; font-weight: 700; font-family: Georgia, serif; }
.w26-flow-list h3 { color: var(--w26-navy); font-size: 18px; margin-bottom: 4px; }
.w26-flow-list p { margin: 0; font-size: 15px; }
.w26-deadline { text-align: center; padding: 18px; border: 2px solid var(--w26-red); border-radius: 12px; background: #fff; }
.w26-deadline strong { display: block; font-size: 20px; color: var(--w26-red); }
.w26-deadline span { font-size: 15px; }

/* ── FAQ ── */
.w26-qa { border: 1px solid var(--w26-line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.w26-qa summary { cursor: pointer; list-style: none; position: relative; padding: 14px 44px 14px 46px; font-weight: 700; color: var(--w26-navy); }
.w26-qa summary::-webkit-details-marker { display: none; }
.w26-qa summary::before { content: "Q"; position: absolute; left: 16px; top: 13px; font-family: Georgia, serif; color: var(--w26-blue); font-size: 18px; }
.w26-qa summary::after { content: "＋"; position: absolute; right: 16px; top: 13px; color: var(--w26-blue); }
.w26-qa[open] summary::after { content: "－"; }
.w26-qa p { margin: 0; padding: 0 18px 16px 46px; font-size: 15px; }

/* ── CTA・フッター ── */
.w26 .w26-cta { background: linear-gradient(160deg, var(--w26-navy) 0%, var(--w26-blue) 100%); color: #fff; text-align: center; }
.w26 .w26-cta h2 { color: #fff; }
.w26-cta p { max-width: 640px; margin-left: auto; margin-right: auto; }
.w26-cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.w26-cta-note { font-size: 14px; color: #dbe8f6; }
.w26-footer { background: var(--w26-navy-deep); color: #c9d6e6; text-align: center; padding: 28px 20px; font-size: 13px; }
.w26-footer p { margin: 0 0 4px; }
.w26 .w26-footer a { color: #fff; }
.w26-copy { margin-top: 8px !important; }

/* ── スマホ（600px以下）── */
@media (max-width: 600px) {
  .w26 { font-size: 15px; }
  .w26 section { padding: 52px 16px; }
  .w26 h2 { font-size: 22px; }
  .w26-header { padding: 8px 64px 8px 12px; }
  .w26 .w26-logo { font-size: 18px; }
  .w26-logo span, .w26 .w26-nav-link { display: none; }
  .w26 .w26-hero { padding: 52px 16px 48px; }
  .w26-hero h1 { font-size: 28px; }
  .w26-hero-info > div { flex-basis: 100%; }
  .w26-hero-btns a, .w26-cta-btns a { width: 100%; }
  .w26-path-grid, .w26-feature-grid, .w26-special-days, .w26-synergy-grid { grid-template-columns: 1fr; }
  .w26-course, .w26-timetable { padding: 18px 14px; }
  .w26-grade-list li { flex-direction: column; gap: 2px; }
  .w26-grade-list span { flex-basis: auto; padding: 1px 12px; }
  /* 講座表と料金表はカード型に */
  .w26-course-table thead, .w26-price-table thead { display: none; }
  .w26-course-table tr, .w26-price-table tr { display: block; border: 1px solid var(--w26-line); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
  .w26-course-table tbody th, .w26-price-table tbody th { display: block; border: 0; background: var(--w26-ice); padding: 8px 12px; }
  .w26-course-table td, .w26-price-table td { display: flex; justify-content: space-between; gap: 12px; border: 0; border-top: 1px solid var(--w26-line); padding: 8px 12px; text-align: right; white-space: normal !important; }
  .w26-course-table td::before, .w26-price-table td::before { content: attr(data-label); flex: 0 0 auto; font-size: 13px; font-weight: 700; color: var(--w26-sub); text-align: left; }
  .w26-course-table td[data-label="内容"] { display: block; text-align: left; }
  .w26-course-table td[data-label="内容"]::before { display: block; }
  /* 個別指導の料金表は2列に並べて短くする */
  .w26-price-table tr { display: grid; grid-template-columns: 1fr 1fr; }
  .w26-price-table tbody th { grid-column: 1 / -1; }
  .w26-price-table td { flex-direction: column; align-items: flex-start; gap: 0; text-align: left; font-size: 16px; }
  .w26-price-table td:nth-of-type(even) { border-left: 1px solid var(--w26-line); }
  .w26-price-table td::before { font-size: 12px; }
  /* 中3の日程表は横にはみ出さないよう文字を小さく */
  .w26-tt { min-width: 0; table-layout: fixed; }
  .w26-tt th, .w26-tt td { font-size: 12px; padding: 6px 1px; }
  .w26-tt thead th:first-child, .w26-tt tbody th { width: 76px; }
  .w26-tt thead small { font-size: 10px; }
  .w26-tt tr.is-special td { font-size: 12px; }
  .w26-g3-price th, .w26-g3-price td { display: block; width: 100%; }
  .w26-flow-list li { padding: 14px; gap: 12px; }
  .w26-flow-num { flex-basis: 38px; height: 38px; line-height: 38px; }
}
.w26 .w26-tt thead small { color: #fff; }
