/* ==========================================================================
   スター精機 コーポレートサイト / スタースクールページ（/school/）

   子テーマの css/ に置き、functions.php の一番最後に読み込みます。

   ページのタイトル・パンくずは star-company.css のものをそのまま使います。
   （HTMLの一番外側に class="st-cmp st-sch" と書いてあるため）
   本文はカスタムHTMLブロック3つ（school-A-before／school-schedule／school-C-after）。
   3つとも一番外側が .st-cmp.st-sch なので、どのブロックにもこのCSSが効きます。

   開校スケジュールのカレンダー（.sch-cal）は、school-C-after.html の JavaScript が
   表から作って差し込みます。JS が動かないときは表がそのまま出ます。
   ========================================================================== */


/* 写真（会場など）の指定は star-images.css にまとめています。写真台帳.md も参照 */

/* タイトルの大きな英字を STAR SCHOOL に差し替え（大きさ・位置は star-company.css の共通の指定。2026-10-14 から ::before の1か所だけ） */
body:has(.st-sch) .page-header > *:first-child::before{
  content: "STAR SCHOOL";
}

/* ジャンプリンクから飛んだときに、ヘッダーの下へ隠れないように */
.st-sch [id]{ scroll-margin-top: 100px; }


/* ---- Lightningが見出しや表に付ける装飾を打ち消す -------------------------- */
.st-sch h3, .st-sch h4, .st-sch dl, .st-sch dt, .st-sch dd,
.st-sch ol, .st-sch ul, .st-sch li,
.st-sch table, .st-sch th, .st-sch td{
  margin: 0;
  padding: 0;
  background: none !important;
  font-family: inherit;
}
.st-sch h3::before, .st-sch h3::after,
.st-sch h4::before, .st-sch h4::after{ content: none !important; }
.st-sch h3, .st-sch h4{ border: 0 !important; }
.st-sch ol, .st-sch ul{ list-style: none; }
.st-sch button{
  font-family: inherit;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* WordPressが差し込む余計な要素でレイアウトが崩れないように
   ★新しい子要素のクラスを足したときは、ここの :not() にも足すこと */
.st-sch .sch-entry > :not(.sch-entry__btn),
.st-sch .sch-jump > :not(.sch-jump__item),
.st-sch .sch-course > :not(.sch-card),
.st-sch .sch-flow > :not(.sch-flow__step),
.st-sch .sch-apply > :not(.sch-apply__btn),
.st-sch .sch-venue > :not(.sch-venue__item),
.st-sch .sch-hotel > :not(.sch-hotel__col),
.st-sch .sch-faq > :not(.sch-faq__item),
.st-sch .sch-legend > :not(.sch-legend__item):not(.sch-legend__date){ display: none !important; }

/* 3つのブロックの間に WordPress が入れる空の段落を消す */
body:has(.st-sch) .entry-body > p:empty{ display: none !important; }


/* ---- 共通の文字 ----------------------------------------------------------- */
.st-sch .sch-p{
  font-size: 14.5px;
  line-height: 2;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
}
.st-sch .sch-p + .sch-p{ margin-top: 1em; }

.st-sch .sch-aside{
  font-size: 12.5px;
  line-height: 1.9;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* 小見出し（行動計画と同じ形） */
.st-sch .sch-sub{
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  color: var(--ink);
  margin: 48px 0 18px;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--line) !important;
}

/* 注記の箇条書き。頭に短い横線を置いて、線と余白だけで並べます */
.st-sch .sch-notes{ margin-top: 24px; max-width: 52em; }
.st-sch .sch-notes li{
  position: relative;
  padding-left: 1.3em;
  font-size: 13.5px;
  line-height: 1.95;
  font-weight: 500;
  color: #2b2b2b;
}
.st-sch .sch-notes li + li{ margin-top: 6px; }
.st-sch .sch-notes li::before{
  content: "";
  position: absolute;
  left: 0; top: .98em;
  width: .6em; height: 1px;
  background: var(--ink-soft);
}
.st-sch .sch-notes--plain{ margin-top: 0; }

/* 文中のリンク（キャンセルポリシーなど） */
.st-sch .sch-notes a,
.st-sch .sch-flow__note a{
  color: var(--ink);
  font-weight: 700;
  border-bottom: 1px solid var(--ink);
}
.st-sch .sch-notes a:hover,
.st-sch .sch-flow__note a:hover{ color: var(--red); border-color: var(--red); }


/* ---- 導入 ---------------------------------------------------------------- */
.st-sch .sch-intro{ padding: 64px 0 0; }
.st-sch .sch-intro__lead{
  font-size: 15px;
  line-height: 2.1;
  font-weight: 500;
  color: #2b2b2b;
  max-width: 46em;
  /* 2026-10-14：タイトルを中央にしたので、導入文も中央に。意味のまとまりで折り返し、行の長さをそろえる */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  word-break: auto-phrase;
  text-wrap: balance;
}

/* 2つの入口（開校スケジュール・お申し込み）。
   このページに来る人の多くは日程を見て申し込みたい人なので、導入のすぐ下に大きく置きます */
.st-sch .sch-entry{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
}
.st-sch .sch-entry__btn{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--ink);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: background .22s ease, color .22s ease;
}
/* 乗せたとき：黒の塗りつぶしは強いので、薄いグレーの面に。矢印が少し右へ（2026-10-14） */
.st-sch .sch-entry__btn:hover{ background: #f1f2f3; }
.st-sch .sch-entry__btn .ar{ transition: transform .22s ease; }
.st-sch .sch-entry__btn:hover .ar{ transform: translateX(4px); }
.st-sch .sch-entry__btn--main{ background: var(--ink); color: #fff !important; }
.st-sch .sch-entry__btn--main:hover{ background: #2b2b2b; }
.st-sch .sch-entry__en{
  flex: none;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.st-sch .sch-entry__btn--main .sch-entry__en{ color: rgba(255,255,255,.6); }
.st-sch .sch-entry__btn:hover .sch-entry__en{ color: rgba(255,255,255,.6); }
.st-sch .sch-entry__btn .ar{ margin-left: auto; color: var(--red); font-size: 17px; }

/* そのほかのセクションへのリンク。入口より控えめに、文字だけで並べます */
.st-sch .sch-jump{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 22px;
  justify-content: center;
}
.st-sch .sch-jump__item{
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color .2s ease, border-color .2s ease;
}
.st-sch .sch-jump__item:hover{ color: var(--ink); border-color: var(--ink); }


/* ---- 各セクション --------------------------------------------------------- */
.st-sch .sch-sec{ padding: 84px 0 0; }


/* ---- コースと受講料 -------------------------------------------------------
   2コースを左右に並べます。「何日かかるか」「いくらか」を先に大きく見せ、
   法令の番号はカードの一番下に小さく置きます */
.st-sch .sch-course{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.st-sch .sch-card{
  border-top: 2px solid var(--ink);
  padding: 26px 0 0;
  display: flex;
  flex-direction: column;
}
.st-sch .sch-card__tag{
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--red);
}
.st-sch .sch-card__ttl{
  font-size: 17px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 6px;
}
/* 期間と受講料 */
.st-sch .sch-card__key{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.st-sch .sch-card__kv dt{
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.st-sch .sch-card__kv dd{
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  margin-top: 2px;
}
.st-sch .sch-card__big{
  font-size: clamp(30px, 3.2vw, 38px);
  font-weight: 800;
  letter-spacing: .01em;
  margin: 0 2px;
}
.st-sch .sch-card__note{
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
}
.st-sch .sch-card__dl{ margin-top: 22px; }
.st-sch .sch-card__row{
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #ededed;
}
.st-sch .sch-card__row:last-child{ border-bottom: 1px solid #ededed; }
.st-sch .sch-card__row dt{
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.95;
  color: var(--ink-soft);
}
.st-sch .sch-card__row dd{
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.95;
  color: #2b2b2b;
}
.st-sch .sch-card__law{
  margin-top: 12px;
  font-size: 11.5px;
  font-weight: 500;
  color: #9a9a9a;
}


/* ---- 表（カリキュラム・開校スケジュール） --------------------------------- */
.st-sch .sch-table{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.st-sch .sch-tbl{
  width: 100%;
  border-collapse: collapse;
  /* Lightning が表に付ける外枠を消します（横線だけで見せる） */
  border: 0 !important;
}
.st-sch .sch-tbl th,
.st-sch .sch-tbl td{
  padding: 14px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid #ededed !important;
  font-size: 14.5px;
  line-height: 1.8;
  text-align: left;
  vertical-align: middle;
}
.st-sch .sch-tbl thead th{
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
  background: #f6f7f7 !important;
  border-bottom: 1px solid #e2e4e5 !important;
  white-space: nowrap;
}
.st-sch .sch-tbl td{ font-weight: 500; color: #2b2b2b; }
.st-sch .sch-tbl tbody th{ font-weight: 700; color: var(--ink); }

/* カリキュラム */
.st-sch .sch-tbl--cur{ min-width: 520px; }
.st-sch .sch-tbl--cur tbody th{ width: 90px; vertical-align: top; }
.st-sch .sch-tbl--cur td:last-child{ width: 100px; white-space: nowrap; }
.st-sch .sch-tbl__sub{
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* 開校スケジュール（一覧） */
.st-sch .sch-tbl--plan td:first-child{ font-weight: 700; color: var(--ink); }
.st-sch .sch-tbl--plan td:nth-child(4){ white-space: nowrap; }
.st-sch .sch-tbl--plan td:nth-child(5){ white-space: nowrap; width: 160px; }  /* 予約状況（v1.12.0 で最後の列に申込ボタンが入ったので番号で） */
.st-sch .sch-days{
  display: inline-block;
  margin-left: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* 予約状況の印。〇は細い枠、△は赤、受付終了はグレー */
.st-sch .sch-st{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  margin-right: 8px;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.st-sch .sch-st.is-open{ color: var(--ink); border: 1px solid var(--ink); }
.st-sch .sch-st.is-few{ color: #fff; background: var(--red) !important; border: 1px solid var(--red); }
.st-sch .sch-st.is-closed{
  margin-right: 0;
  color: #9a9a9a;
  border: 1px solid #d9d9d9;
  font-weight: 700;
  letter-spacing: .04em;
}
/* 受付終了の行は、全体を薄くします */
.st-sch .sch-tbl--plan tr:has(.is-closed) td{ color: #9a9a9a; }

/* 凡例と更新日 */
.st-sch .sch-legend{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  margin-bottom: 18px;
}
.st-sch .sch-legend__item{
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.st-sch .sch-legend__date{
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}


/* ---- 開校スケジュール（カレンダー） ----------------------------------------
   JS が表から作ります。カレンダー表示のときは表を隠します（.is-cal） */
.st-sch .is-cal .sch-table--plan{ display: none; }

.st-sch .sch-cal__bar{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  border-bottom: 1px solid var(--line);
}
/* 一覧のときは、表との間をあけます */
.st-sch .sch-sec:not(.is-cal) .sch-cal__bar{ margin-bottom: 16px; }

/* 月の切り替え */
.st-sch .sch-cal__tabs{ display: flex; gap: 4px; }
.st-sch .sch-cal__tab{
  padding: 12px 18px 10px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}
.st-sch .sch-cal__tab:hover{ color: var(--ink); }
.st-sch .sch-cal__tab.is-on{ color: var(--ink); border-bottom-color: var(--ink); }

/* カレンダー／一覧の切り替え */
.st-sch .sch-cal__view{ display: flex; margin-bottom: 8px; }
.st-sch .sch-cal__vbtn{
  padding: 7px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
}
.st-sch .sch-cal__vbtn + .sch-cal__vbtn{ border-left: 0; }
.st-sch .sch-cal__vbtn.is-on{ background: var(--ink); border-color: var(--ink); color: #fff; }

/* 一覧のときはカレンダーの本体を隠します
   月のタブは消さずに見えなくするだけ（場所は残す）。消すと「カレンダー／一覧」が左へ動いてしまうため（v1.12.2、わただ） */
.st-sch .sch-sec:not(.is-cal) .sch-cal__body{ display: none; }
.st-sch .sch-sec:not(.is-cal) .sch-cal__tabs{ visibility: hidden; }

/* 本体。左にカレンダー、右に選んだ日の詳しい情報 */
.st-sch .sch-cal__body{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}
.st-sch .sch-cal__grid{
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.st-sch .sch-cal__wd{
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid #ededed;
}
.st-sch .sch-cal__day{
  position: relative;
  display: block;
  min-height: 96px;
  padding: 8px 6px 8px 8px;
  border: 0;
  border-bottom: 1px solid #ededed;
  background: none;
  text-align: left;
  color: var(--ink);
}
.st-sch .sch-cal__num{
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.st-sch .sch-cal__wd.is-sun, .st-sch .sch-cal__wd.is-sat,
.st-sch .sch-cal__day.is-sun .sch-cal__num,
.st-sch .sch-cal__day.is-sat .sch-cal__num{ color: #9a9a9a; }
.st-sch .sch-cal__day.is-past{ opacity: .45; }
/* 今日 */
.st-sch .sch-cal__day.is-today .sch-cal__num{ color: var(--red); }
.st-sch .sch-cal__day.is-today .sch-cal__num::after{
  content: "今日";
  margin-left: 6px;
  font-size: 10.5px;
}

/* 講習のある日（押せる） */
.st-sch .sch-cal__day.has-ev{ cursor: pointer; transition: background .15s ease; }
.st-sch .sch-cal__day.has-ev:hover{ background: #f6f7f7 !important; }
.st-sch .sch-cal__day.is-sel{
  background: #f6f7f7 !important;
  box-shadow: inset 0 0 0 2px var(--ink);
}

/* 日付の中の回（パソコン・タブレット） */
.st-sch .sch-cal__evs{ display: block; margin-top: 6px; }
.st-sch .sch-cal__ev{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 4px;
  padding: 4px 0;
  border-top: 1px solid #ededed;
  line-height: 1.35;
}
.st-sch .sch-cal__ev-v{ font-size: 12px; font-weight: 800; color: var(--ink); }
.st-sch .sch-cal__ev-c{
  grid-column: 1;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
}
.st-sch .sch-cal__ev .sch-st{
  grid-column: 2; grid-row: 1 / span 2;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  margin: 0;
  font-size: 11px;
}
.st-sch .sch-cal__ev.is-closed .sch-cal__ev-v,
.st-sch .sch-cal__ev.is-closed .sch-cal__ev-c{ color: #b0b0b0; }

/* スマホでは回の代わりに小さな四角を並べます */
.st-sch .sch-cal__dots{ display: none; }
.st-sch .sch-cal__dot{
  display: inline-block;
  width: 8px; height: 8px;
  margin: 0 2px 0 0;
}
.st-sch .sch-cal__dot.is-open{ border: 1.5px solid var(--ink); }
.st-sch .sch-cal__dot.is-few{ background: var(--red); }
.st-sch .sch-cal__dot.is-closed{ background: #d9d9d9; }

/* 選んだ日の詳しい情報 */
.st-sch .sch-cal__panel{
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.st-sch .sch-pick__hint{ font-size: 13.5px; color: var(--ink-soft); }
.st-sch .sch-pick__day{
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
}
.st-sch .sch-pick{
  padding: 18px 0 20px;
  border-bottom: 1px solid #ededed;
}
.st-sch .sch-pick__ttl{
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ink);
}
.st-sch .sch-pick__venue{
  margin-left: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.st-sch .sch-pick__meta{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  margin: 8px 0 12px;
  font-size: 13px;
  font-weight: 500;
  color: #2b2b2b;
}
.st-sch .sch-pick__st{ display: inline-flex; align-items: center; font-weight: 700; }
.st-sch .sch-pick .sch-notes li{ font-size: 13px; }
.st-sch .sch-pick.is-closed .sch-pick__ttl{ color: #9a9a9a; }

/* この回を申し込む */
.st-sch .sch-pick__apply{
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 16px;
  padding: 16px 18px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background .22s ease;
}
.st-sch .sch-pick__apply:hover{ background: #2b2b2b; }
.st-sch .sch-pick__apply .ar{ margin-left: auto; color: var(--red); font-size: 17px; }
.st-sch .sch-pick__tip{
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-soft);
}


/* ---- お申し込み ----------------------------------------------------------- */
/* お申し込みの前に（受講の対象）。申込の流れより先に読んでもらいます */
.st-sch .sch-before{
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.st-sch .sch-before__ttl{
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

/* 申込の流れ。5つの段階を横一列に。上の線と番号でつなぎ、矢印や丸は使いません
   注意書き（.sch-flow__note）は、その段階で必要になるものだけを下に添えます */
.st-sch .sch-flow{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.st-sch .sch-flow__step{
  border-top: 2px solid var(--line);
  padding: 20px 20px 0 0;
}
.st-sch .sch-flow__step:first-child{ border-top-color: var(--ink); }
.st-sch .sch-flow__no{
  display: block;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  color: var(--red);
}
.st-sch .sch-flow__ttl{
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ink);
  margin-top: 8px;
}
.st-sch .sch-flow__txt{
  font-size: 13px;
  font-weight: 500;
  line-height: 1.85;
  color: #2b2b2b;
  margin-top: 6px;
}
.st-sch .sch-flow__note{
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #d9d9d9;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--ink-soft);
}

/* お申し込みボタン。ページの中で一番目立たせたい場所なので、黒い面にします */
.st-sch .sch-apply{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.st-sch .sch-apply__btn{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--ink);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  transition: background .22s ease;
}
.st-sch .sch-apply__btn:hover{ background: #2b2b2b; }
.st-sch .sch-apply__tag{
  flex: none;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: .06em;
}
.st-sch .sch-apply__btn .ar{
  margin-left: auto;
  color: var(--red);
  font-size: 18px;
}
.st-sch .sch-apply__alt{
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
}


/* ---- 会場 ---------------------------------------------------------------- */
.st-sch .sch-venue{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.st-sch .sch-venue__item{ min-width: 0; }
/* 社屋の写真。国内拠点のページと同じ比率（16:10）。写真の指定は star-images.css
   写真がまだ無い会場は、国内拠点と同じグレーの面が出ます */
.st-sch .sch-venue__photo{
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #eceeed;
  background-image: var(--ph-flat);
  margin-bottom: 20px;
}
.st-sch .sch-venue__photo--hq{ background-image: var(--sch-hq), var(--ph-flat); }
.st-sch .sch-venue__photo--kanto{ background-image: var(--sch-kanto), var(--ph-flat); }
.st-sch .sch-venue__photo--osaka{ background-image: var(--sch-osaka), var(--ph-flat); }
.st-sch .sch-venue__name{
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
}
.st-sch .sch-venue__addr{
  font-size: 14px;
  line-height: 1.9;
  font-weight: 500;
  color: #2b2b2b;
  margin-top: 10px;
}
.st-sch .sch-venue__tel{
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}
.st-sch .sch-venue__map{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.st-sch .sch-venue__map .ar{ color: var(--red); }
.st-sch .sch-venue__map:hover{ color: var(--red); border-color: var(--red); }


/* ---- 宿泊 ---------------------------------------------------------------- */
.st-sch .sch-hotel{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.st-sch .sch-hotel__area{
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 8px;
}
.st-sch .sch-hotel__row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ededed;
}
.st-sch .sch-hotel__row:first-child{ border-top: 1px solid #ededed; }
.st-sch .sch-hotel__row dt{
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.7;
  color: #2b2b2b;
}
.st-sch .sch-hotel__row dd{
  flex: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}


/* ---- 特別教育とは（文章＋講習の写真） ------------------------------------
   写真は 2560×1708（3:2）。パソコンでは文章の右に横 560px まで */
.st-sch .sch-about{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 48px;
  align-items: start;
}
.st-sch .sch-about__photo{ margin: 0; }
.st-sch .sch-about__photo img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eceeed;
}


/* ---- 下部の導線 -----------------------------------------------------------
   他の下層ページと同じ、画面いっぱいの薄い帯です */
.st-sch .sch-links{
  --st-wrap: 1180px;
  background: #f6f7f7;
  margin-top: 90px;
  width: auto;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 54px max(24px, calc((100vw - var(--st-wrap)) / 2)) 58px;
}
.st-sch .sch-links__inner{
  width: auto;
  max-width: none;
  display: flex;
  align-items: center;
  /* 2026-10-14：左右に分けず、文とボタンの組ごと中央に */
  justify-content: center;
  gap: 24px 56px;
  flex-wrap: wrap;
}
.st-sch .sch-links__lead{
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
  color: var(--ink);
}
.st-sch .sch-links__tel{ font-size: 17px; font-weight: 800; }
.st-sch .sch-links__btn{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-width: 250px;
  padding: 17px 24px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  flex: none;
  transition: background .22s ease, color .22s ease;
}
/* 乗せたとき：黒の塗りつぶしは強いので、薄いグレーの面に。矢印が少し右へ（2026-10-14） */
.st-sch .sch-links__btn:hover{ background: #f1f2f3; }
.st-sch .sch-links__btn .ar{ transition: transform .22s ease; }
.st-sch .sch-links__btn:hover .ar{ transform: translateX(4px); }
.st-sch .sch-links__btn .ar{ color: var(--red); font-size: 16px; }


/* ---- タブレット ----------------------------------------------------------- */
@media (max-width: 960px){
  /* 入口の英字は、せまい画面では外します（日本語が折り返さないように） */
  .st-sch .sch-entry__en{ display: none; }

  /* カレンダーの詳しい情報は、カレンダーの下へ */
  .st-sch .sch-cal__body{ grid-template-columns: 1fr; gap: 24px; }

  /* 申込の流れは、2段（3つ＋2つ）に */
  .st-sch .sch-flow{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .st-sch .sch-before{ grid-template-columns: 1fr; gap: 10px; }

  /* 会場は写真があるので3列のまま（スマホで1列に）。宿泊は1列に */
  .st-sch .sch-venue{ gap: 20px; }
  .st-sch .sch-venue__name{ font-size: 16px; }
  .st-sch .sch-hotel{ grid-template-columns: 1fr; gap: 28px; }
  /* 特別教育とは：文章の列が細くなるので、写真を上に置く1列に */
  .st-sch .sch-about{ grid-template-columns: 1fr; gap: 24px; }
  .st-sch .sch-about__photo{ order: -1; max-width: 640px; }
}


/* ---- スマホ --------------------------------------------------------------- */
@media (max-width: 620px){
  .st-sch .sch-intro{ padding: 36px 0 0; }
  .st-sch .sch-intro__lead{ font-size: 14px; line-height: 2; }
  .st-sch .sch-entry{ grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
  .st-sch .sch-entry__btn{ padding: 18px 18px; font-size: 15px; }
  .st-sch .sch-jump{ gap: 8px 20px; }

  .st-sch .sch-sec{ padding: 56px 0 0; }
  .st-sch .sch-sub{ font-size: 16px; margin-top: 40px; }
  .st-sch .sch-p{ font-size: 14px; }

  .st-sch .sch-course{ grid-template-columns: 1fr; gap: 40px; }
  .st-sch .sch-card__ttl{ font-size: 16px; }
  .st-sch .sch-card__row{ grid-template-columns: 72px 1fr; gap: 12px; }
  .st-sch .sch-card__row dd{ font-size: 14px; }

  /* カレンダー：日付の中は小さな四角だけにして、詳しくは下の欄で */
  .st-sch .sch-cal__tab{ padding: 10px 12px 8px; font-size: 14px; }
  .st-sch .sch-cal__wd{ padding: 8px 0; text-align: center; font-size: 11px; }
  .st-sch .sch-cal__day{ min-height: 54px; padding: 6px 2px; text-align: center; }
  .st-sch .sch-cal__num{ font-size: 13px; }
  .st-sch .sch-cal__day.is-today .sch-cal__num::after{ content: none; }
  .st-sch .sch-cal__evs{ display: none; }
  .st-sch .sch-cal__dots{ display: block; margin-top: 4px; line-height: 0; }

  /* 表の余白。★開校スケジュールの指定より前に置くこと（後ろに置くと、下のカードの形の余白を上書きする） */
  .st-sch .sch-tbl th,
  .st-sch .sch-tbl td{ padding: 12px 14px !important; font-size: 14px; }

  /* 開校スケジュールの一覧は、1回ずつのカードの形に組み替えます（横スクロールさせない） */
  .st-sch .sch-tbl--plan thead{ display: none; }
  .st-sch .sch-tbl--plan,
  .st-sch .sch-tbl--plan tbody,
  .st-sch .sch-tbl--plan tr,
  .st-sch .sch-tbl--plan td{ display: block; width: auto !important; }
  /* 左に「開催日／コース／会場・定員」の3行、右に予約状況 */
  .st-sch .sch-tbl--plan tr{
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    gap: 2px 12px;
    padding: 14px 0;
    border-bottom: 1px solid #ededed;
  }
  .st-sch .sch-tbl--plan tr:first-child{ border-top: 1px solid #ededed; }
  .st-sch .sch-tbl--plan td{
    padding: 0 !important;
    border: 0 !important;
    font-size: 13.5px;
    line-height: 1.7;
  }
  .st-sch .sch-tbl--plan td:nth-child(1){ grid-column: 1 / 4; grid-row: 1; font-size: 14.5px; }
  .st-sch .sch-tbl--plan td:nth-child(2){ grid-column: 1 / 4; grid-row: 2; }
  .st-sch .sch-tbl--plan td:nth-child(3){ grid-column: 1; grid-row: 3; color: var(--ink-soft); }
  .st-sch .sch-tbl--plan td:nth-child(4){ grid-column: 2; grid-row: 3; color: var(--ink-soft); }
  .st-sch .sch-tbl--plan td:nth-child(4)::before{ content: "定員 "; }
  .st-sch .sch-tbl--plan td:nth-child(5){
    grid-column: 4; grid-row: 1 / 4;
    align-self: center;
    text-align: right;
    width: auto !important;
  }
  .st-sch .sch-legend__date{ margin-left: 0; width: 100%; }

  .st-sch .sch-before{ padding: 18px 0; margin-bottom: 36px; }

  .st-sch .sch-flow{ grid-template-columns: 1fr; row-gap: 0; }
  .st-sch .sch-flow__step{
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 8px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
  }
  .st-sch .sch-flow__step:first-child{ border-top: 2px solid var(--ink); }
  .st-sch .sch-flow__no{ grid-row: 1 / span 3; padding-top: 3px; }
  .st-sch .sch-flow__ttl{ margin-top: 0; }
  .st-sch .sch-flow__txt{ margin-top: 2px; }
  .st-sch .sch-flow__note{ grid-column: 2; }

  .st-sch .sch-venue{ grid-template-columns: 1fr; gap: 36px; }

  .st-sch .sch-apply{ grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .st-sch .sch-apply__btn{ gap: 12px; padding: 18px 18px; font-size: 14.5px; white-space: nowrap; }
  .st-sch .sch-apply__tag{ padding: 4px 8px; font-size: 11.5px; }

  .st-sch .sch-links{
    margin-top: 56px;
    padding: 40px max(16px, calc((100vw - var(--st-wrap)) / 2)) 44px;
  }
  .st-sch .sch-links__inner{ flex-direction: column; align-items: stretch; gap: 22px; }
  .st-sch .sch-links__lead{ text-align: center; }
  .st-sch .sch-links__btn{ width: 100%; }
}


/* --------------------------------------------------------------------------
   お申し込みフォーム（MRC のポップアップ）の幅（v1.11.2、v1.11.3 で直し、2026-10-20）
   ポップアップは body の直下に MRC が足すので .st-sch の外。ページで絞る。
   教示（298）は開催日のプルダウンの選択肢の文が長く、その幅で表が枠から
   はみ出していた。表とプルダウンを枠の幅までにする（中身は MRC のまま）
   ※MRC の webform.css はほぼすべて !important で、#mrc_webform から指定している。
     こちらも !important にし、id を2つ（#mrc_webform_body #mrc_webform）重ねて勝たせる。
     v1.11.2 は .mrc_webform_modal で絞り、プルダウンに !important が無く、効かなかった
   -------------------------------------------------------------------------- */
body:has(.st-sch) #mrc_webform_body #mrc_webform table{
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
body:has(.st-sch) #mrc_webform_body #mrc_webform select{
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}


/* --------------------------------------------------------------------------
   回は必ずカレンダーから選んで申し込む（v1.12.0、2026-10-20）
   ・並びは Apply の見出し → お申し込みの前に → 流れ → カレンダー（v1.12.1）。見出しのない続きの節は .sch-sec--cont
   ・一覧（表）の受付中の行に「この回を申し込む」（JS が最後の列に足す）
   ・MRC のフォームの「開校日/コース名/開催場所」の欄は JS が回を入れて隠し、文字だけ見せる
   -------------------------------------------------------------------------- */
.st-sch .sch-mrc{ display: none !important; }
.st-sch .sch-sr{
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* 一覧の「この回を申し込む」 */
.st-sch .sch-tbl--plan td.sch-tbl__apply{ width: 1%; white-space: nowrap; }
.st-sch .sch-row__apply{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .22s ease;
}
.st-sch .sch-row__apply:hover{ background: #2b2b2b; }
.st-sch .sch-tbl--plan td:nth-child(3){ white-space: nowrap; }  /* 会場（関東支店）を折り返さない */
.st-sch .sch-row__apply .ar{ color: var(--red); }

@media (max-width: 620px){
  .st-sch .sch-tbl--plan td.sch-tbl__apply{ grid-column: 1 / 5; grid-row: 4; width: auto !important; }
  .st-sch .sch-tbl--plan td.sch-tbl__apply:empty{ display: none; }
  .st-sch .sch-row__apply{ display: flex; width: 100%; margin-top: 10px; padding: 12px 14px; }
  .st-sch .sch-row__apply .ar{ margin-left: auto; }
}

/* MRC のフォームの中（ポップアップは .st-sch の外。MRC の CSS は !important なので id を重ねる） */
body:has(.st-sch) #mrc_webform_body #mrc_webform .sch-mrc-hide{ display: none !important; }
body:has(.st-sch) #mrc_webform_body #mrc_webform .sch-mrc-picked{
  display: block !important;
  padding: 12px 14px !important;
  border-left: 3px solid #e60012 !important;
  background: #f6f7f7 !important;
  text-align: left !important;
}
body:has(.st-sch) #mrc_webform_body #mrc_webform .sch-mrc-picked__ttl{
  display: block !important; font-size: 12px !important; font-weight: 700 !important; color: #6b6b6b !important;
}
body:has(.st-sch) #mrc_webform_body #mrc_webform .sch-mrc-picked__val{
  display: block !important; margin-top: 2px !important; font-size: 16px !important; font-weight: 700 !important; color: #111 !important;
}
body:has(.st-sch) #mrc_webform_body #mrc_webform .sch-mrc-picked__tip{
  display: block !important; margin-top: 6px !important; font-size: 12px !important; color: #6b6b6b !important;
}

/* 見出しのない続きの節（v1.12.1）：カレンダー（.sch-sec--cont）と、その下の電話の案内（.sch-sec--tel） */
.st-sch .sch-sec--cont{ padding-top: 48px; }
.st-sch .sch-sec--tel{ padding-top: 20px; }  /* 3/3 の頭。ブロックが別なので + では効かない */
@media (max-width: 620px){
  .st-sch .sch-sec--cont{ padding-top: 36px; }
  .st-sch .sch-sec--tel{ padding-top: 16px; }
}

/* マウス・タッチで押したときは、押した場所の赤い枠（:focus-visible）を出さない（v1.12.2、わただ）
   キーボード（Tab）で動かしているときは出す。html の .sch-pointer は school-C-after.html の JS が付け外しする */
html.sch-pointer .st-sch :focus-visible{ outline: none; }


/* --------------------------------------------------------------------------
   文字を減らす折りたたみ（v1.13.0、2026-10-20 わただ）
   ・会場の下の「持ち物・昼食・喫煙・宿泊」は「よくある質問」に。押すと答えが開く（<details>）
     v1.14.0 で Venue から分けて、独立した節 FAQ（#faq）にした（わただ）
   ・特別教育とは（About）は要点3行。法令の説明は「法令にもとづく説明を読む」で開く
   JS は使わない（<details> はブラウザの標準の動き）。印刷・検索ではたたんだ中身も読まれる
   -------------------------------------------------------------------------- */
/* よくある質問は独立した節（FAQ、v1.14.0 で Venue から分けた）。会社データの表と同じ幅 860px で中央に */
.st-sch .sch-faq{ max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.st-sch .sch-faq__item{ border-bottom: 1px solid var(--line); }
.st-sch .sch-faq__q{
  position: relative;
  display: block;
  padding: 18px 48px 18px 34px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.st-sch .sch-faq__q::-webkit-details-marker{ display: none; }
.st-sch .sch-faq__q::before{
  content: "Q";
  position: absolute; left: 4px; top: 18px;
  font-size: 15px; font-weight: 700; color: var(--red);
}
/* 右の＋（開くと−） */
.st-sch .sch-faq__q::after,
.st-sch .sch-more__btn::after{
  content: "";
  position: absolute; right: 12px; top: 50%;
  width: 12px; height: 12px; margin-top: -6px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .2s ease;
}
.st-sch .sch-faq__item[open] > .sch-faq__q::after,
.st-sch .sch-more[open] > .sch-more__btn::after{
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat;
}
.st-sch .sch-faq__q:hover{ background: #f6f7f7; }
.st-sch .sch-faq__a{ padding: 0 12px 22px 34px; }
.st-sch .sch-faq__a .sch-hotel{ margin-top: 18px; }

/* 特別教育とは：要点3行と「法令にもとづく説明を読む」 */
.st-sch .sch-about__points li{
  position: relative;
  padding: 0 0 0 22px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: #2b2b2b;
}
.st-sch .sch-about__points li + li{ margin-top: 10px; }
.st-sch .sch-about__points li::before{
  content: "";
  position: absolute; left: 0; top: .95em;
  width: 10px; height: 1.5px; background: var(--red);
}
.st-sch .sch-more{ margin-top: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-sch .sch-more__btn{
  position: relative;
  display: block;
  padding: 14px 40px 14px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.st-sch .sch-more__btn::-webkit-details-marker{ display: none; }
.st-sch .sch-more__body{ padding: 4px 0 20px; }
.st-sch .sch-more__body .sch-p{ font-size: 13.5px; }

@media (max-width: 620px){
  .st-sch .sch-faq__q{ padding: 16px 40px 16px 28px; font-size: 14.5px; }
  .st-sch .sch-faq__q::before{ top: 16px; left: 2px; }
  .st-sch .sch-faq__a{ padding: 0 4px 18px 28px; }
  .st-sch .sch-about__points li{ font-size: 14.5px; }
}

/* 要点3行にして文が短くなったので、文章と写真を半分ずつに（写真が 560px より広がらない幅のとき） */
@media (min-width: 961px){
  .st-sch .sch-about{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}


/* --------------------------------------------------------------------------
   コースのカード（v1.14.0、2026-10-20 わただ）
   ・2コースは横並びのまま、薄いグレーの面でカードとして分ける
   ・見出しの下に、コースの簡単な説明（.sch-card__desc。v1.17.0、事務局の依頼）
   ・検査コースのコース名の横の「教示コースを修了した方のみ受講いただけます」は、受講資格の行と重なるので消した（v1.17.0、わただ）
   ・「STEP 1 → STEP 2」の札と矢印は試してやめた（教示だけで終える方が多い。矢印は短絡的。わただ）。戻さない
   -------------------------------------------------------------------------- */
.st-sch .sch-card{
  border-top: 0;
  padding: 30px 30px 24px;
  background: #f6f7f7;
}
.st-sch .sch-card__desc{
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.8;
  color: #2b2b2b;
}
/* 左右のカードで、コース名・見出し・期間と受講料・表・法令番号の高さをそろえる（subgrid）。
   検査のコース名の横の一言が狭い画面で2行になっても、教示のカードも同じだけ下がる */
@media (min-width: 961px){
  .st-sch .sch-course{ grid-template-rows: repeat(6, auto); row-gap: 0; }  /* コース名・見出し・説明・期間と受講料・表・法令番号 */
  .st-sch .sch-card{ display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  .st-sch .sch-card__law{ align-self: end; }
}
/* 面の上では表の区切り線を少し濃く（白地用の #ededed だと消える） */
.st-sch .sch-card .sch-card__row{ border-color: #e2e4e4; }
@media (max-width: 620px){
  .st-sch .sch-card{ padding: 24px 18px 20px; }
}


/* --------------------------------------------------------------------------
   申込の流れを「線でつないだ番号＋線のアイコン」に（v1.15.0、2026-10-20 わただ）
   参考：Paidy の使い方（番号を細い線でつなぎ、下にシンプルな線のアイコン、間に「＞」）
   パソコン：薄いグレーの面に5段を横並び。上の段に番号の丸と線、その下にアイコン・見出し・文
   タブレット・スマホ：縦に並べ、左に番号の丸と縦の線。アイコンは見出しの左に小さく
   アイコンは HTML の中の SVG（線だけ。色は文字色を使う）。文言は変えていない
   -------------------------------------------------------------------------- */
.st-sch .sch-flow--road{
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 40px 28px 34px;
  background: #f6f7f7 !important;  /* 冒頭の ol の background: none !important に負けないように */
}
.st-sch .sch-flow--road .sch-flow__step{
  position: relative;
  border-top: 0;
  padding: 0 18px 0 0;
  text-align: left;
}
/* 番号の丸と、丸どうしをつなぐ線 */
.st-sch .sch-flow--road .sch-flow__step::before{
  content: "";
  position: absolute;
  top: 15px;
  left: 16px;
  width: 100%;
  height: 1px;
  background: #c9cccc;
}
.st-sch .sch-flow--road .sch-flow__step:last-child::before{ content: none; }
.st-sch .sch-flow--road .sch-flow__no{
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--ink);
}
/* 最初の一歩（お客様がすること）だけ赤 */
.st-sch .sch-flow--road .sch-flow__step:first-child .sch-flow__no{ border-color: var(--red); color: var(--red); }
.st-sch .sch-flow--road .sch-flow__ic{
  position: relative;
  display: block;
  margin: 20px 0 0;
  width: 52px;
  height: 52px;
  color: var(--ink);
}
.st-sch .sch-flow--road .sch-flow__ic svg{
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* アイコンの間の「＞」 */
.st-sch .sch-flow--road .sch-flow__step:not(:last-child) .sch-flow__ic{ width: 100%; }
.st-sch .sch-flow--road .sch-flow__step:not(:last-child) .sch-flow__ic svg{ width: 52px; }
.st-sch .sch-flow--road .sch-flow__step:not(:last-child) .sch-flow__ic::after{
  content: "";
  position: absolute;
  top: 50%;
  left: auto;
  width: 8px;
  height: 8px;
  right: 6px;
  margin-top: -4px;
  border-top: 1.4px solid #9a9a9a;
  border-right: 1.4px solid #9a9a9a;
  transform: rotate(45deg);
}
.st-sch .sch-flow--road .sch-flow__ttl{ margin-top: 14px; font-size: 14.5px; line-height: 1.5; }
.st-sch .sch-flow--road .sch-flow__txt{ margin-top: 6px; font-size: 12.5px; }
.st-sch .sch-flow--road .sch-flow__note{
  position: relative;
  margin-top: 12px;
  padding: 0 0 0 1.1em;
  border-top: 0;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--ink-soft);
}
/* 注意書きは白い枠をやめて「※」付きの小さな灰色の文字に（枠が3段にだけ・高さばらばらで、まばらに見えた。わただ） */
.st-sch .sch-flow--road .sch-flow__note::before{ content: "※"; position: absolute; left: 0; top: 0; }
/* パソコン：5段の 番号・アイコン・見出し・文・注意書き の始まる高さをそろえる（subgrid） */
@media (min-width: 961px){
  .st-sch .sch-flow--road{ grid-template-rows: repeat(5, auto); }
  .st-sch .sch-flow--road .sch-flow__step{ display: grid; grid-row: span 5; grid-template-rows: subgrid; align-content: start; }
  .st-sch .sch-flow--road .sch-flow__no{ justify-self: start; }

  /* 番号・アイコン・見出し・本文・注意書きをすべて中央に（2026-10-20 わただ） */
  .st-sch .sch-flow--road .sch-flow__step{ padding: 0 12px; text-align: center; }
  .st-sch .sch-flow--road .sch-flow__no{ justify-self: center; }
  .st-sch .sch-flow--road .sch-flow__step::before{ left: 50%; }  /* 線は丸の中心から次の丸の中心へ */
  .st-sch .sch-flow--road .sch-flow__ic svg{ margin: 0 auto; }
  .st-sch .sch-flow--road .sch-flow__ic{ margin-left: auto; margin-right: auto; }  /* 最後の段（＞なし）のアイコンも中央に */
  .st-sch .sch-flow--road .sch-flow__step:not(:last-child) .sch-flow__ic::after{ right: -10px; }
  .st-sch .sch-flow--road .sch-flow__note{ padding-left: 0; }
  .st-sch .sch-flow--road .sch-flow__note::before{ position: static; }
}

@media (max-width: 960px){
  .st-sch .sch-flow--road{ grid-template-columns: 1fr; row-gap: 0; padding: 26px 20px 8px; }
  .st-sch .sch-flow--road .sch-flow__step{
    display: grid;
    grid-template-columns: 31px 40px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 0 0 22px;
    border-top: 0;
    text-align: left;
  }
  .st-sch .sch-flow--road .sch-flow__step:first-child{ border-top: 0; }
  /* 縦の線 */
  .st-sch .sch-flow--road .sch-flow__step::before{
    top: 31px; left: 15px; width: 1px; height: calc(100% - 31px);
  }
  .st-sch .sch-flow--road .sch-flow__no{ grid-column: 1; grid-row: 1 / span 4; padding-top: 0; }
  .st-sch .sch-flow--road .sch-flow__ic{ grid-column: 2; grid-row: 1 / span 4; width: 40px; height: 40px; margin: -4px 0 0; }
  .st-sch .sch-flow--road .sch-flow__ic::after{ content: none !important; }
  .st-sch .sch-flow--road .sch-flow__step .sch-flow__ic,
  .st-sch .sch-flow--road .sch-flow__step .sch-flow__ic svg{ width: 40px; }
  .st-sch .sch-flow--road .sch-flow__ttl,
  .st-sch .sch-flow--road .sch-flow__txt,
  .st-sch .sch-flow--road .sch-flow__note{ grid-column: 3; }
  .st-sch .sch-flow--road .sch-flow__ttl{ margin-top: 4px; }
}


/* --------------------------------------------------------------------------
   キャンセルポリシーのポップアップ（v1.16.0、2026-10-20 わただ）
   PDF をやめて、ページの中の <dialog id="sch-cancel">（3/3 の最後）に。
   開くボタンは 1/3 の流れ 04 の注意書き（.sch-dlg-open、data-dlg="sch-cancel"）
   ※冒頭の「Lightning の装飾を打ち消す」で h3・表の背景は none !important なので、色を付ける所は !important
   -------------------------------------------------------------------------- */
/* 開くボタン（文の中のリンクと同じ見た目） */
.st-sch .sch-dlg-open{
  display: inline;
  padding: 0 0 1px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.st-sch .sch-dlg-open:hover{ color: var(--red); border-color: var(--red); }

.st-sch .sch-dlg{
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  background: #fff;
  color: #2b2b2b;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
  overflow: hidden;
}
.st-sch .sch-dlg[open]{ display: flex; flex-direction: column; }
.st-sch .sch-dlg::backdrop{ background: rgba(13, 13, 13, .5); }
.st-sch .sch-dlg__head{
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.st-sch .sch-dlg__ttl{ font-size: 17px; font-weight: 700; color: var(--ink); }
.st-sch .sch-dlg__close{
  position: relative;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.st-sch .sch-dlg__close::before,
.st-sch .sch-dlg__close::after{
  content: "";
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; margin: -.75px 0 0 -8px;
  background: var(--ink);
  transform: rotate(45deg);
}
.st-sch .sch-dlg__close::after{ transform: rotate(-45deg); }
.st-sch .sch-dlg__close:hover{ background: #f6f7f7; }
.st-sch .sch-dlg__body{ overflow-y: auto; padding: 22px 24px 28px; }
.st-sch .sch-dlg__lead{ font-size: 14px; line-height: 1.9; }
.st-sch .sch-dlg__sub{
  margin: 26px 0 10px;
  padding-left: 10px !important;
  border-left: 3px solid var(--red) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--ink);
}
.st-sch .sch-dlg__p{ font-size: 13.5px; line-height: 1.9; }
.st-sch .sch-dlg__p + .sch-dlg__p{ margin-top: 8px; }
.st-sch .sch-dlg__p--box{ padding: 10px 14px; background: #f6f7f7; font-size: 13px; }
.st-sch .sch-dlg__dl > div{ display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #ededed; font-size: 13.5px; }
.st-sch .sch-dlg__dl > div:first-child{ border-top: 1px solid #ededed; }
.st-sch .sch-dlg__dl dt{ font-weight: 700; color: var(--ink); }
.st-sch .sch-dlg__dl a,
.st-sch .sch-dlg__p a{ color: var(--ink); border-bottom: 1px solid var(--ink); }
.st-sch .sch-dlg__list{ margin: 8px 0 10px; }
.st-sch .sch-dlg__list li{ font-size: 13.5px; line-height: 1.9; }
.st-sch .sch-dlg__list li + li{ margin-top: 4px; }
.st-sch .sch-dlg__k{ display: inline-block; min-width: 4.5em; margin-right: 8px; font-weight: 700; color: var(--ink); }
.st-sch .sch-dlg__list--dash li{ position: relative; padding-left: 16px; }
.st-sch .sch-dlg__list--dash li::before{ content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--ink-soft); }
.st-sch .sch-dlg__end{ margin-top: 24px; color: var(--ink-soft); }

/* キャンセルできる期限の表（PDF の表と同じ組み方） */
.st-sch .sch-dlg__tbl{ margin: 14px 0 6px; overflow-x: auto; }
.st-sch .sch-dlg__tbl table{ width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; }
.st-sch .sch-dlg__tbl th,
.st-sch .sch-dlg__tbl td{
  padding: 8px 4px !important;
  border: 1px solid #d9dcdc;
  font-size: 12.5px;
  text-align: center;
  line-height: 1.4;
}
.st-sch .sch-dlg__tbl thead th{ background: #f6f7f7 !important; font-weight: 700; color: var(--ink); }
.st-sch .sch-dlg__tbl thead tr:first-child th:first-child{ width: 9.5em; word-break: keep-all; }
.st-sch .sch-dlg__tbl tbody th{ background: #f6f7f7 !important; font-weight: 700; color: var(--ink); }
.st-sch .sch-dlg__tbl td.is-no{ background: #fde7e8 !important; color: var(--red); font-weight: 700; }
.st-sch .sch-dlg__tbl td.is-nofuri{ background: #e9eef1 !important; color: var(--ink); font-weight: 700; }

@media (max-width: 620px){
  .st-sch .sch-dlg__head{ padding: 14px 16px; }
  .st-sch .sch-dlg__ttl{ font-size: 15px; }
  .st-sch .sch-dlg__body{ padding: 18px 16px 24px; }
  .st-sch .sch-dlg__dl > div{ grid-template-columns: 6em 1fr; }
}
