@charset "utf-8";
/*
  school-top.css
  --------------------------------------------------------------
  /area/<pref>/<school>/ (school/top.php) 用のメインカラム再現CSS。
  リニューアルレイアウト(renewal-layout, top-renewal.css)は html に
  font-size を置かない 16px 基準の rem 設計。旧 common.css / style.css は
  html{font-size:62.5%}(10px基準)の rem 設計で、そのまま読み込むと共存不可。
  そのため旧 school ページの見た目を「16px 基準」へ移植して再現する。
  ・旧 root相対 rem(N) は N*10px に変換して固定化（例: 2.4rem -> 24px）。
  ・em / % / px はそのまま（要素相対のため root 変更の影響を受けない）。
  ・すべて .sch-detail 配下にスコープし、renewal のヘッダ/フッタ/Luna へ波及させない。
  出典: 旧 top.php 内 $sty、css/common.css、css/style.css。
*/

/* ============================================================
   レイアウト土台（旧 .content_area/#main は使わず main 内に一列で流す）
   ============================================================ */
.sch-detail {
  /* サイトTOP/主要ページ（top-renewal.css）の暖色パステルに温度感を合わせる */
  --sch-accent-rgb: 255, 107, 53;  /* --orange #ff6b35：アクセント・線・リンク */
  --sch-pink-rgb: 255, 183, 197;   /* --pink #ffb7c5：やわらかい塗り */
  --sch-mint-rgb: 181, 234, 215;   /* --mint #b5ead7 */
  --sch-text: #2d3436;
  --sch-muted: #738083;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px 40px;
  color: var(--sch-text);
  line-height: 2;
  font-size: 16px;
}
.sch-detail img { max-width: 100%; height: auto; }
.sch-detail ul { list-style: none; margin: 0; padding: 0; }
.sch-detail a { color: rgba(var(--sch-accent-rgb), 0.85); text-decoration: none; transition: .3s; }
.sch-detail a:hover { opacity: .7; }

/* 表示切替ヘルパ（旧 .pc/.sp） */
.sch-detail .pc { display: block !important; }
.sch-detail .sp { display: none !important; }
@media screen and (max-width: 896px) {
  .sch-detail .pc { display: none !important; }
  .sch-detail .sp { display: block !important; }
}

/* 汎用（旧 common.css より） */
.sch-detail .b { font-weight: 600 !important; color: rgba(0, 0, 0, 0.75); }
.sch-detail .red { color: rgba(255, 76, 90, 0.95); }
.sch-detail .cf::before, .sch-detail .cf::after { content: ""; display: block; overflow: hidden; }
.sch-detail .cf { zoom: 1; }
.sch-detail .mt10 { margin-top: 10px !important; }
.sch-detail .mt15 { margin-top: 15px !important; }
.sch-detail .mb5 { margin-bottom: 5px !important; }
.sch-detail .mb15 { margin-bottom: 15px !important; }
.sch-detail .mb20 { margin-bottom: 20px !important; }

/* 見出し（旧 .tit2 / .tit3、rem->px 化） */
.sch-detail .tit2 {
  font-size: 24px;
  font-size: calc(20px + ((1vw - 6.4px) * 0.7143));
  line-height: 1.3;
  font-weight: 600;
  margin: 1.5em 0 0.6em;
}
.sch-detail .tit3 {
  font-size: 16px;
  font-size: calc(16px + ((1vw - 4.8px) * 0.3472));
  line-height: 1.3;
  font-weight: 600;
  margin: 1.2em 0 0.4em;
}
@media (min-width: 896px) {
  .sch-detail .tit2 { font-size: 24px; }
  .sch-detail .tit3 { font-size: 22px; }
}
.sch-detail .txt {
  display: block;
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* section の縦間隔 */
.sch-detail section { margin-bottom: 3em; }

/* ============================================================
   パンくず（横並びのピル型・可愛い見た目）
   ============================================================ */
.sch-detail .guide-breadcrumb { margin: 0.5em 0 1.5em; }
.sch-detail .guide-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.1em;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
}
.sch-detail .guide-breadcrumb li {
  display: flex;
  align-items: center;
  list-style: none;
}
.sch-detail .guide-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.15em;
  color: rgba(var(--sch-accent-rgb), 0.5);
  font-size: 1.1em;
  line-height: 1;
}
.sch-detail .guide-breadcrumb a {
  display: inline-block;
  background: rgba(var(--sch-pink-rgb), 0.32);
  color: #c2483a;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  line-height: 1.6;
  transition: .2s;
}
.sch-detail .guide-breadcrumb a:hover { background: rgba(var(--sch-pink-rgb), 0.55); opacity: 1; }
.sch-detail .guide-breadcrumb li[aria-current="page"] {
  color: #738083;
  padding: 0.3em 0.5em;
  font-weight: 600;
}

/* ============================================================
   school hero（旧 header_re.php の .sch_top を top.php へ移設）
   出典: 旧 top.php $sty（px/em ベースのためほぼそのまま）
   ============================================================ */
.sch-detail .sch_top { margin-bottom: 2.5em; }
.sch-detail .sch_top_area {
  display: flex;
  flex-direction: column;
  margin: 0.5em;
}
.sch-detail .main_img { order: 1; }
.sch-detail .main_img img { width: 100%; max-width: 100%; border-radius: 8px; }
.sch-detail .sch_name { order: 2; }
.sch-detail .sch_about { order: 3; }
.sch-detail .sch_name_tit {
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.5;
}
.sch-detail .tit_s { font-size: 0.6em; margin-left: 0.3em; color: #738083; }
/* 校名内のカナは行を分けて折り返しを防ぐ */
.sch-detail .sch_name_tit .tit_s { display: block; margin-left: 0; margin-top: 0.15em; font-size: 0.5em; line-height: 1.5; }
.sch-detail .sch_name p { margin: 0.3em 0 0.6em; font-size: 0.95em; color: #738083; }
.sch-detail .sch_name p a { color: rgba(var(--sch-accent-rgb), 0.85); }

.sch-detail .sch_about dl {
  background: rgba(var(--sch-accent-rgb), 0.1);
  padding: 1em;
  margin-bottom: 15px;
  border-radius: 6px;
}
.sch-detail .sch_about dl dt { font-weight: 600; font-size: 1.1em; margin-bottom: 0.2em; }
.sch-detail .sch_about dl dd { margin: 0; }
.sch-detail .sch_about_catch { flex-basis: 100%; margin-top: 1em; }
.sch-detail .sch_about_catch > p { font-size: 1.1em; font-weight: 600; text-align: center; }
.sch-detail .sch_about_catch div { display: flex; flex-wrap: wrap; gap: 0.4em 0.5em; justify-content: flex-start; }
.sch-detail .sch_about_catch div p { margin: 0; }
.sch-detail .sch_about_catch div a {
  display: inline-block;
  background: rgba(var(--sch-pink-rgb), 0.45);
  color: var(--sch-text);
  border-radius: 999px;
  padding: 0.15em 0.75em;
  font-size: 0.8em;
  line-height: 1.7;
  white-space: nowrap;
}
.sch-detail .sch_about_catch div a:hover { background: rgba(var(--sch-pink-rgb), 0.7); opacity: 1; }

/* ============================================================
   詳細ページ導線メニュー（CSSカード化）
   ============================================================ */
.sch-detail .sch_menu {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 2em;
  padding: 0;
  border: none;
}
.sch-detail .sch_menu li { list-style: none; }
.sch-detail .sch_menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  height: 100%;
  padding: 1.1em 0.4em;
  background: #fff;
  border: 1.5px solid rgba(var(--sch-accent-rgb), 0.18);
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(var(--sch-accent-rgb), 0.06);
  color: rgba(var(--sch-accent-rgb), 0.95);
  font-size: 0.85em;
  font-weight: 600;
  text-align: center;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sch-detail .sch_menu li a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(var(--sch-accent-rgb), 0.16);
  border-color: rgba(var(--sch-accent-rgb), 0.4);
  opacity: 1;
}
.sch-detail .sch_menu .sm_ico { width: 30px; height: 30px; }
.sch-detail .sch_menu .sm_ico svg { width: 100%; height: 100%; display: block; }
.sch-detail .sch_menu .sm_label { color: rgba(0, 0, 0, 0.72); line-height: 1.3; }
@media (max-width: 560px) {
  .sch-detail .sch_menu { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   取扱い車種の料金/プラン導線（CSSカード化）
   ============================================================ */
.sch-detail .rel_sch_plan ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.sch-detail .rel_sch_plan li { list-style: none; margin: 0; }
.sch-detail .rel_sch_plan li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15em;
  height: 100%;
  padding: 0.7em 0.9em 0.7em 1em;
  background: #fff;
  border: 1.5px solid rgba(var(--sch-accent-rgb), 0.22);
  border-left: 4px solid rgba(var(--sch-accent-rgb), 0.6);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sch-detail .rel_sch_plan li a::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: 0.6em;
  transform: translateY(-50%);
  color: rgba(var(--sch-accent-rgb), 0.55);
  font-size: 1.3em;
  line-height: 1;
}
.sch-detail .rel_sch_plan li a:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(var(--sch-accent-rgb), 0.14);
  border-color: rgba(var(--sch-accent-rgb), 0.45);
  border-left-color: rgba(var(--sch-accent-rgb), 0.9);
  opacity: 1;
}
.sch-detail .rel_sch_plan .rsp_name {
  font-size: 1.05em;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1.3;
}
.sch-detail .rel_sch_plan .rsp_meta {
  font-size: 0.72em;
  font-weight: 500;
  color: rgba(var(--sch-accent-rgb), 0.85);
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .sch-detail .rel_sch_plan ul { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   おすすめ情報（画像上・テキスト下のスタックカード。画像はトリミングせず全体表示）
   ============================================================ */
.sch-detail .intro_top_txt { margin: 0.5em 0 1.5em; }
.sch-detail .intro_top_txt p { margin-bottom: 1em; }

/* カードを flex で横並び（複数カードが横に並ぶ。折り返しあり） */
.sch-detail .intro_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.sch-detail .intro {
  flex: 1 1 280px;
  max-width: 340px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(var(--sch-accent-rgb), 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}
.sch-detail .intro_img_area { margin: 0; }
.sch-detail .intro_img_area img { width: 100%; display: block; border-radius: 0; }
.sch-detail .intro_txt_area {
  background: transparent;
  margin: 0;
  padding: 1em 1.2em 1.1em;
  border-radius: 0;
}
.sch-detail .intro_tit {
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.5;
  padding-left: 0.55em;
  border-left: 4px solid rgba(var(--sch-accent-rgb), 0.7);
  margin-bottom: 0.5em;
}
.sch-detail .intro_txt { font-size: 14px; line-height: 1.8; }
.sch-detail .intro_txt p { margin-bottom: 0.8em; }
.sch-detail .intro_txt p:last-child { margin-bottom: 0; }

/* ============================================================
   フォトギャラリー（slick centerMode：中央大＋左右見切れ＋矢印）
   ============================================================ */
.sch-detail .slide_sch { width: 100%; max-width: 560px; margin: 0 auto 8px !important; }
/* 各スライドの元キャプションはデータとしてのみ保持し非表示（下の固定キャプションで表示） */
.sch-detail #sch_photo .photo_com { display: none; }
/* slick 初期化前のちらつき防止（1枚目のみ表示） */
.sch-detail .slide_sch:not(.slick-initialized) > li + li { display: none; }

/* 各スライド：間隔・角丸。中央以外は少し暗くして「見切れ＝続きがある」印象に */
.sch-detail .slide_sch .slick-slide { padding: 0 6px; opacity: 0.5; transition: opacity .3s; }
.sch-detail .slide_sch .slick-slide img { width: 100%; border-radius: 10px; }
.sch-detail .slide_sch .slick-center { opacity: 1; }

/* 画像に追従しない固定キャプション（中央で切り替え・フェード） */
.sch-detail #sch_photo .slide_caption {
  text-align: center;
  margin: 0 auto 34px;
  line-height: 1.6;
  min-height: 1.6em;
  color: var(--sch-muted);
  opacity: 1;
  transition: opacity .3s ease;
}
.sch-detail #sch_photo .slide_caption.is-fading { opacity: 0; }

/* 矢印：白丸＋オレンジのシェブロン（暖色テーマに合わせる） */
.sch-detail .slide_sch .slick-prev,
.sch-detail .slide_sch .slick-next {
  width: 40px; height: 40px; z-index: 10;
  background: #fff; border-radius: 50%;
  box-shadow: 0 2px 8px rgba(45, 52, 54, 0.18);
}
.sch-detail .slide_sch .slick-prev:hover,
.sch-detail .slide_sch .slick-next:hover { background: #fff; box-shadow: 0 4px 12px rgba(45, 52, 54, 0.26); }
.sch-detail .slide_sch .slick-prev { left: -4px; }
.sch-detail .slide_sch .slick-next { right: -4px; }
.sch-detail .slide_sch .slick-prev:before,
.sch-detail .slide_sch .slick-next:before {
  content: ""; display: inline-block;
  width: 10px; height: 10px;
  border-top: 2.5px solid #ff6b35;
  border-right: 2.5px solid #ff6b35;
  opacity: 1;
}
.sch-detail .slide_sch .slick-prev:before { transform: rotate(-135deg); margin-left: 3px; }
.sch-detail .slide_sch .slick-next:before { transform: rotate(45deg); margin-right: 3px; }

/* ドット：インフロー化してキャプションと重ならないように。アクティブはオレンジ */
.sch-detail .slide_sch .slick-dots { position: static; margin: 8px 0 0; height: auto; line-height: 1; }
.sch-detail .slide_sch .slick-dots li { height: auto; }
.sch-detail .slide_sch .slick-dots li button:before { color: #e0b6a6; opacity: .55; font-size: 8px; }
.sch-detail .slide_sch .slick-dots li.slick-active button:before { color: #ff6b35; opacity: 1; }

/* ============================================================
   キャンペーン（#sch_cp：全体を1枚のカードに）
   ============================================================ */
/* キャンペーンは項目（見出し＋説明）ごとに個別カード化 */
.sch-detail .cp_card { display: block; }
.sch-detail .cp_card > .pc,
.sch-detail .cp_card > .sp {
  background: #fff;
  border: 1px solid rgba(var(--sch-accent-rgb), 0.14);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
  padding: 1.1em 1.3em 1.2em;
  margin-bottom: 14px;
}
.sch-detail .cp_card > .pc > *:first-child,
.sch-detail .cp_card > .sp > *:first-child { margin-top: 0; }
.sch-detail .cp_card > .pc > *:last-child,
.sch-detail .cp_card > .sp > *:last-child { margin-bottom: 0; }
/* 校ページのキャンペーン内CTAは撤去 */
.sch-detail #sch_cp .cta { display: none; }
.sch-detail #sch_cp p { display: block; font-size: 18px; line-height: 1.8; margin-bottom: 15px; }
.sch-detail #sch_cp table { border: 1px solid rgba(var(--sch-accent-rgb), 0.15); width: 100%; margin: 10px auto; border-collapse: collapse; }
.sch-detail #sch_cp table tr:nth-child(2n+1) { background: #fbfbfb; }
.sch-detail #sch_cp table th,
.sch-detail #sch_cp table td {
  line-height: 1.6;
  border: 1px dashed rgba(var(--sch-accent-rgb), 0.25);
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
}
.sch-detail #sch_cp table th {
  font-size: 14px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.75);
  background: rgba(var(--sch-accent-rgb), 0.15);
  border: 1px solid rgba(255, 255, 255, 0.95);
}
.sch-detail #sch_cp table a { display: block; }
.sch-detail .title_search {
  font-size: 18px;
  font-weight: 600;
  background: rgba(var(--sch-accent-rgb), 0.7);
  color: rgba(255, 255, 255, 0.95);
  padding: 0.5em 0.7em;
  margin: 1em 0 0.6em;
  border-radius: 4px;
}
.sch-detail .campain_desc { margin-bottom: 1em; }
.sch-detail #sch_cp .left { float: left; width: 48%; }
.sch-detail #sch_cp .right { float: right; width: 48%; }
.sch-detail #sch_cp .clear { clear: both; }

/* ============================================================
   設備と周辺環境（旧 .tb1）
   ============================================================ */
.sch-detail #sch_intro .txt { font-size: 16px; }
/* テーブルは他ページのトーンに合わせて 白背景＋やわらかい枠＋角丸＋暖色ヘッダー */
.sch-detail .tb1 {
  max-width: 600px;
  width: 100%;
  margin: 10px auto;
  background: #fff;
  border: 1px solid rgba(var(--sch-accent-rgb), 0.18);
  border-radius: 12px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
.sch-detail .tb1 tr:nth-child(2n+1) { background: rgba(var(--sch-accent-rgb), 0.03); }
.sch-detail .tb1 th,
.sch-detail .tb1 td {
  border-bottom: 1px solid rgba(var(--sch-accent-rgb), 0.12);
  border-right: 1px solid rgba(var(--sch-accent-rgb), 0.12);
  padding: 10px 8px;
  line-height: 1.6;
  vertical-align: middle;
  font-size: 14px;
}
/* 角丸のため外周内側の余計な線を除去 */
.sch-detail .tb1 tr th:last-child,
.sch-detail .tb1 tr td:last-child { border-right: none; }
.sch-detail .tb1 tr:last-child th,
.sch-detail .tb1 tr:last-child td { border-bottom: none; }
/* 見出し（th）も暖色に */
.sch-detail .tb1 th { background: rgba(var(--sch-pink-rgb), 0.3); color: var(--sch-text); font-weight: 600; }
.sch-detail .tb1 th.w30 { width: 30%; }

/* ============================================================
   取扱い車種リスト（旧 .read_sch_car）
   ============================================================ */
.sch-detail .read_sch_car { display: flex; flex-wrap: wrap; margin-bottom: 15px; }
.sch-detail .read_sch_car::before { content: "- 取扱い車種 -"; flex-basis: 100%; font-size: 14px; font-weight: 500; }
.sch-detail .read_sch_car li {
  flex-basis: 5.2em;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.7);
  background: rgba(var(--sch-accent-rgb), 0.15);
  text-align: center;
  padding: 2px 0;
  margin: 0 5px 5px 0;
}
@media (max-width: 896px) {
  .sch-detail .read_sch_car li { font-size: 12.5px; }
}

/* ============================================================
   流れ（.yazi 矢印、旧 $sty）
   ============================================================ */
.sch-detail .yazi::after {
  content: "";
  display: block;
  width: 0;
  margin: auto;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #9d9d9d;
}

/* ============================================================
   関連ページ（旧 .rel / .rel_li）
   ============================================================ */
.sch-detail .rel {
  padding: 12px;
  background: rgba(0, 0, 0, 0.025);
  border: solid 2px rgba(var(--sch-accent-rgb), 0.25);
  margin: 30px 0.5em;
  border-radius: 6px;
}
.sch-detail .rel_li { display: flex; flex-wrap: wrap; gap: 0.5em 1em; }
.sch-detail .rel_li::before {
  content: "関連ページ";
  display: block;
  width: 100%;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.08em;
  font-weight: 550;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.4em;
}
.sch-detail .rel_li li a { font-weight: 500; }

/* ============================================================
   同県のおすすめ（旧 .rel_sch_pref / .link_li / .bef）
   ============================================================ */
.sch-detail .link_li li a {
  display: block;
  font-weight: 400;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.025);
  border-top: solid 1px rgba(var(--sch-accent-rgb), 0.25);
  padding: 8px 30px 8px 15px;
  margin: 0;
  position: relative;
}
.sch-detail .link_li li a::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(var(--sch-accent-rgb), 0.6);
}
.sch-detail .link_li .bef { color: #738083; font-size: 0.85em; margin-right: 0.4em; }

/* ============================================================
   CTA（旧 .cta / .cta_space_ask、rem->px 化）
   ============================================================ */
.sch-detail .cta { margin: 40px 0.5em; }
.sch-detail .cta li a,
.sch-detail .cta li .anc {
  display: block;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  color: var(--btn-plain-text, #2d3436);
  background: var(--btn-plain-bg, #fff);
  border: 1px solid var(--btn-plain-border, #d8dcdd);
  box-shadow: 0 2px 6px rgba(45, 52, 54, 0.06);
  margin-bottom: 10px;
  border-radius: 6px;
  padding: 0.6em;
}
/* 申込フォームへのCTAだけオレンジ。それ以外（LINE等）は白のまま。 */
.sch-detail .cta .cta_space_ask a {
  background: var(--btn-order-bg, #ff6b35);
  border-color: transparent;
  color: var(--btn-order-text, #fff);
  box-shadow: var(--btn-order-shadow, 0 6px 18px rgba(255, 107, 53, 0.24));
}
.sch-detail .cta .cta_big { font-size: 38px; margin: 0 5px; }
@media (max-width: 568px) {
  .sch-detail .cta li a { font-size: 18px; }
  .sch-detail .cta .cta_big { font-size: 28px; font-weight: 600; }
}
@media (min-width: 896px) {
  .sch-detail .cta .cta_space_ask a { width: fit-content; margin: auto; padding: 0.2em 3em; }
  .sch-detail .cta .cta_big { font-size: 1.3em; }
}

/* ============================================================
   PC 時のヒーロー 2カラム（旧 $sty @media min-width:896px）
   ============================================================ */
@media (min-width: 896px) {
  .sch-detail .sch_top {
    display: flex;
    max-width: 1240px;
    margin: auto;
    justify-content: center;
  }
  .sch-detail .sch_top .sch_top_area {
    flex-direction: initial;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-basis: 100%;
    margin: 0;
  }
  .sch-detail .sch_top_area .sch_name { order: 1; }
  /* 写真と受け入れ（入校不可の地域）を左右並列に */
  .sch-detail .sch_top_area .main_img { order: 2; flex-basis: 44%; margin: 0; align-self: flex-start; }
  .sch-detail .sch_top_area .sch_about {
    order: 3;
    flex-basis: 52%;
    display: block;
    margin-left: 0;
    align-self: flex-start;
  }
  /* ハッシュタグはフル幅の1行として下段へ */
  .sch-detail .sch_top_area .sch_about_catch { order: 4; flex-basis: 100%; margin-top: 1.2em; }
  .sch-detail .sch_top_area .cta_area { order: 5; flex-basis: 100%; }
  .sch-detail .sch_name {
    flex-basis: 100%;
    display: block;
  }
  .sch-detail .sch_name_tit { margin-right: 0; }
  .sch-detail .sch_about_catch > p { text-align: left; font-size: 1.2em; }
}

/* ============================================================
   次の行動（同地方の比較へ戻る／他校へ移動／条件を1つ広げる）
   ============================================================ */
.sch-detail .sch-next { margin: 40px 0 0; }
.sch-detail .sch-next__back { margin: 0 0 14px; }
.sch-detail .sch-next__back a,
.sch-detail .sch-next__more a {
  display: inline-block;
  font-weight: 700;
  color: var(--sch-ink, #2d3436);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sch-detail .sch-next__lead { margin: 0 0 12px; line-height: 1.8; }
.sch-detail .sch-next__schools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.sch-detail .sch-next__schools li a {
  display: block;
  padding: 12px 30px 12px 14px;
  border: solid 1px rgba(var(--sch-accent-rgb), 0.25);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.025);
  line-height: 1.5;
  position: relative;
}
.sch-detail .sch-next__schools li a::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(var(--sch-accent-rgb), 0.6);
}
.sch-detail .sch-next__pref { display: block; color: #738083; font-size: 0.85em; }
.sch-detail .sch-next__widen-title { margin: 22px 0 10px; font-size: 1.05em; font-weight: 700; }
.sch-detail .sch-next__widen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sch-detail .sch-next__widen li a {
  display: block;
  height: 100%;
  padding: 14px;
  border: solid 1px rgba(var(--sch-accent-rgb), 0.25);
  border-radius: 10px;
  background: #fff;
}
.sch-detail .sch-next__widen strong { display: block; margin-bottom: 4px; font-weight: 700; }
.sch-detail .sch-next__widen span { display: block; color: #738083; font-size: 0.85em; line-height: 1.7; }

@media screen and (max-width: 767px) {
  .sch-detail .sch-next__schools,
  .sch-detail .sch-next__widen { grid-template-columns: 1fr; }
}
