/* SEO・LLMO の土台で足した部品のスタイル（2026-11）。scripts/seo_apply.py が各ページに読み込ませる。
   既存の CSS は触らず、クラス名はすべて seo26- から始める。 */

/* 寸法を足した画像：属性は「縦横比の手がかり」としてだけ使い、表示の大きさは今までどおり CSS と画像そのものに任せる。
   :where() は詳細度 0 なので、既存のどの指定よりも弱い（＝見た目は変わらない） */
:where(img[data-s26]) { width: auto; height: auto; }

/* このページの要点 */
.seo26-points { margin: 0; padding: 40px 20px 32px; background: transparent; }
.seo26-points__in { max-width: 960px; margin: 0 auto; padding: 22px 28px 20px; border: 1px solid #dcd7cb;
  border-left: 4px solid #1b2861; border-radius: 4px; background: #fbfaf6; text-align: left;
  font-family: NotoSansCJKjp-Medium, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif; }
.seo26-points__ttl { margin: 0 0 10px; color: #1b2861; font-size: 15px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.seo26-points ul { margin: 0; padding: 0; list-style: none; }
.seo26-points li { position: relative; margin: 0; padding: 4px 0 4px 1.2em; color: #222; font-size: 15px; line-height: 1.85; letter-spacing: .02em; }
.seo26-points li::before { content: ""; position: absolute; left: .15em; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: #b08d3c; }

/* 学校の基本情報（about.html） */
.seo26-basic { padding: 0 20px 100px; }
.seo26-basic__in { max-width: 960px; margin: 0 auto; }
.seo26-basic__ttl { margin: 0 0 28px; color: #1b2861; font-size: 30px; font-weight: 700; line-height: 1.5; text-align: center; letter-spacing: .08em; }
.seo26-basic__list { margin: 0; border-top: 1px solid #d9d9d9; }
.seo26-basic__list > div { display: flex; gap: 24px; padding: 18px 8px; border-bottom: 1px solid #d9d9d9; }
.seo26-basic__list dt { flex: 0 0 11em; margin: 0; color: #1b2861; font-size: 15px; font-weight: 700; line-height: 1.9; }
.seo26-basic__list dd { flex: 1; margin: 0; color: #222; font-size: 15px; line-height: 1.9; }
.seo26-basic__list a, .seo26-notfound a { color: #1b2861; text-decoration: underline; text-underline-offset: 3px; }

/* フッターの主要ページへのリンク */
.seo26-links { margin: 18px 0 14px; }
.seo26-links ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.seo26-links li { margin: 0; padding: 0; }
.seo26-links a { color: inherit; font-size: 13px; line-height: 2; opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.seo26-links a:hover { opacity: 1; }

/* お知らせの記事の末尾の導線 */
.seo26-cta { margin: 48px 0 32px; padding: 24px 24px 22px; border: 1px solid #dcd7cb; border-radius: 4px; background: #fbfaf6; text-align: center; }
.seo26-cta__lead { margin: 0 0 16px; color: #222; font-size: 15px !important; line-height: 1.9; }
.seo26-cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; margin: 0; }
.seo26-cta__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 6px 22px;
  border: 1px solid #1b2861; border-radius: 999px; background: #fff; color: #1b2861 !important; font-size: 14px; font-weight: 700;
  line-height: 1.4; text-decoration: none !important; }
.seo26-cta__btn--main { border-color: #c8102e; background: #c8102e; color: #fff !important; }
.seo26-cta__btn:hover { opacity: .85; }

/* 404 の主要ページへのリンク */
.seo26-notfound { max-width: 960px; margin: 0 auto; padding: 40px 20px 0; text-align: center; }
.seo26-notfound p { margin: 0 0 14px; font-size: 15px; line-height: 1.9; }
.seo26-notfound ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.seo26-notfound a { font-size: 15px; line-height: 2; }

@media (max-width: 740px) {
  .seo26-points { padding: 24px 16px 20px; }
  .seo26-points__in { padding: 16px 16px 14px; }
  .seo26-points__ttl, .seo26-points li { font-size: 14px; }
  .seo26-basic { padding: 0 16px 60px; }
  .seo26-basic__ttl { font-size: 22px; margin-bottom: 18px; }
  .seo26-basic__list > div { display: block; padding: 14px 4px; }
  .seo26-basic__list dt, .seo26-basic__list dd { font-size: 14px; }
  .seo26-links ul { gap: 2px 14px; }
  .seo26-cta { margin: 32px 0 24px; padding: 18px 14px; }
  .seo26-cta__lead { font-size: 14px !important; text-align: left; }
  .seo26-cta__btn { width: 100%; }
}

/* 英語の案内（/en/）。このページだけの簡素なレイアウト */
.seo26-en { margin: 0; background: #fbfaf6; color: #222; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: 17px; line-height: 1.7; -webkit-text-size-adjust: 100%; }
.seo26-en *, .seo26-en *::before, .seo26-en *::after { box-sizing: border-box; }
.seo26-en a { color: #1b2861; text-underline-offset: 3px; }
.seo26-en__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid #e3ded2; background: #fff; }
.seo26-en__logo img { display: block; width: 190px; height: auto; }
.seo26-en__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #1b2861; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; }
.seo26-en__main { max-width: 860px; margin: 0 auto; padding: 40px 20px 64px; }
.seo26-en__kicker { margin: 0 0 8px; color: #b08d3c; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.seo26-en h1 { margin: 0 0 18px; color: #1b2861; font-size: 34px; line-height: 1.25; letter-spacing: -.01em; }
.seo26-en h2 { margin: 44px 0 12px; padding-bottom: 8px; border-bottom: 2px solid #1b2861; color: #1b2861; font-size: 22px; line-height: 1.35; }
.seo26-en p { margin: 0 0 14px; }
.seo26-en__lead { font-size: 19px; }
.seo26-en__note { margin: 22px 0 0; padding: 16px 18px; border-left: 4px solid #c8102e; border-radius: 4px; background: #fff; }
.seo26-en__note p { margin: 0; }
.seo26-en ul { margin: 0 0 14px; padding-left: 1.2em; }
.seo26-en li { margin: 0 0 8px; }
.seo26-en__table { overflow-x: auto; margin: 0 0 14px; }
.seo26-en table { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff; font-size: 15px; line-height: 1.55; }
.seo26-en th, .seo26-en td { padding: 12px 12px; border: 1px solid #dcd7cb; text-align: left; vertical-align: top; }
.seo26-en thead th { background: #1b2861; color: #fff; font-size: 14px; }
.seo26-en tbody th { width: 24%; font-weight: 700; }
.seo26-en tbody th span { font-size: 13px; font-weight: 400; color: #555; }
.seo26-en__faq > div, .seo26-en__info > div { padding: 12px 0; border-bottom: 1px solid #dcd7cb; }
.seo26-en dl { margin: 0 0 14px; }
.seo26-en dt { margin: 0 0 2px; color: #1b2861; font-weight: 700; }
.seo26-en dd { margin: 0; }
.seo26-en__footer { padding: 22px 20px; background: #1b2861; color: #fff; font-size: 13px; text-align: center; }
.seo26-en__footer p { margin: 0; }
@media (max-width: 740px) {
  .seo26-en { font-size: 16px; }
  .seo26-en h1 { font-size: 26px; }
  .seo26-en h2 { font-size: 20px; margin-top: 36px; }
  .seo26-en__lead { font-size: 17px; }
  .seo26-en__logo img { width: 150px; }
  .seo26-en__main { padding: 28px 16px 48px; }
}

/* コースのページの下：関係するガイド記事への文字リンク／よくあるご質問の答えのあとの「くわしく」 */
.seo26-guides { margin: 0; padding: 0 20px 80px; }
.seo26-guides__in { max-width: 960px; margin: 0 auto; padding: 24px 28px 20px; border: 1px solid #dcd7cb; border-radius: 4px;
  background: #fbfaf6; text-align: left; }
.seo26-guides__ttl { margin: 0 0 10px; color: #1b2861; font-size: 16px; font-weight: 700; letter-spacing: .08em; line-height: 1.6; }
.seo26-guides ul { margin: 0; padding: 0; list-style: none; }
.seo26-guides li { position: relative; margin: 0; padding: 5px 0 5px 1.2em; font-size: 15px; line-height: 1.8; }
.seo26-guides li::before { content: ""; position: absolute; left: .15em; top: 1.1em; width: 6px; height: 6px; border-radius: 50%; background: #b08d3c; }
.seo26-guides a, .seo26-more { color: #1b2861 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.seo26-guides__all { margin: 12px 0 0; font-size: 14px; line-height: 1.8; text-align: right; }
.seo26-more { display: inline-block; }
@media (max-width: 740px) {
  .seo26-guides { padding: 0 16px 48px; }
  .seo26-guides__in { padding: 16px 16px 14px; }
  .seo26-guides li, .seo26-guides__ttl { font-size: 14px; }
}

/* 見出しの帯（.main_size）の上の余白。前は JS がヘッダーの高さを測ってから入れていたので、表示のあとで全体が下にずれていた
   （レイアウトのずれ＝CLS）。高さは PC 90px、スマホ 93px で決まっているので、はじめから CSS で空けておく */
.main_size { margin-top: 90px; }
@media (max-width: 740px) { .main_size { margin-top: 93px; } }

/* <main> は中身を包むだけ（見た目は変えない） */
.seo26-main { display: block; }
