/* ============================================================
   AI研修ページ（/ai-training）専用のスタイル
   会社サイトの style.css とは独立しています。色は会社サイトと同じ値を使い、
   見出しの書体（Zen Kaku Gothic New）とヘッダー・フッターの形で
   「専用ページ」であることが分かるようにしています。
   ============================================================ */

.tr {
  --navy: #1C3177;
  --navy-deep: #101E52;
  --green: #12C877;           /* 紺・グラデーションの帯の中だけで使う */
  --grad: linear-gradient(120deg, #101E52 0%, #1C3177 55%, #0B7350 100%);
  --ink: #16233A;
  --sub: #4A5A74;
  --tint: #EEF2FA;
  --cell: #F5F8FC;
  --line: #D9E2EF;
  --field: #B9C0D0;
  --req: #B4471A;
  --on-dark: #DCE2F3;
  --on-dark-sub: #C9D2EC;
  --radius: 10px;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --latin: "Inter", "Noto Sans JP", sans-serif; /* 英字・数字は会社サイトと同じ Inter */

  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

/* 下地のリセットは :where() で詳細度を 0 にし、各部品の指定が必ず勝つようにする */
:where(.tr) *, :where(.tr) *::before, :where(.tr) *::after { box-sizing: border-box; }
:where(.tr) img { max-width: 100%; height: auto; display: block; }
:where(.tr) :is(p, h1, h2, h3, ul, ol, dl, dd) { margin: 0; }
.tr a { color: var(--navy); }
.tr a:hover { color: var(--navy-deep); }
.tr [hidden] { display: none !important; }
.tr :focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.tr-wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.tr-wrap-narrow { max-width: 880px; }

/* 本文の改行はパソコン表示だけ。スマートフォンでは自然に折り返す */
@media (max-width: 760px) { .tr br.br-pc { display: none; } }

/* ---------- ヘッダー ---------- */
.tr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.tr-header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.tr-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: none;
}
.tr-brand img { height: 30px; width: auto; }
.tr-brand-sub {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  white-space: nowrap;
}
.tr-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 24px;
  font-size: 14px;
  font-weight: 500;
}
.tr-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.tr-nav a:hover { color: var(--navy); }
.tr-nav .tr-nav-cta {
  white-space: nowrap;
  color: #fff;
  background: var(--navy);
  padding: 9px 18px;
  border-radius: 6px;
}
.tr-nav .tr-nav-cta:hover { color: #fff; background: var(--navy-deep); }
.tr-nav .tr-nav-student {
  white-space: nowrap;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  padding: 7.5px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.tr-nav .tr-nav-student:hover { background: var(--tint); color: var(--navy); }

@media (max-width: 1150px) {
  /* 幅が足りないときはページ内リンクを畳み、「受講生はこちら」と「お問い合わせ」のボタンだけ残す */
  .tr-nav a:not(.tr-nav-cta):not(.tr-nav-student) { display: none; }
}
@media (max-width: 700px) {
  /* スマートフォンでは「お問い合わせ」だけ。受講生はファーストビューのリンクから */
  .tr-nav .tr-nav-student { display: none; }
}
@media (max-width: 420px) {
  .tr-header-inner { column-gap: 10px; }
  .tr-brand img { height: 24px; }
  .tr-brand-sub { font-size: 12px; padding-left: 10px; }
  .tr-brand { gap: 10px; }
  .tr-nav .tr-nav-cta { padding: 8px 10px; font-size: 13px; }
}

/* 固定ヘッダーの下に見出しが隠れないように */
.tr section[id] { scroll-margin-top: 68px; }

/* ---------- 共通の部品 ---------- */
/* 見出しが「の」1文字だけ次の行に落ちるような改行を避ける（対応ブラウザのみ） */
.tr h1, .tr h2 {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.tr-section { padding: 96px 0; }
.tr-tint { background: var(--tint); }
.tr-band { background: var(--grad); color: #fff; }

.tr-label {
  font-family: var(--latin);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--navy);
}
.tr-eyebrow {
  font-family: var(--latin);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--green);
}
.tr-h2 {
  margin-top: 8px;
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.9vw, 2.125rem);  /* 幅360pxでも13字が1行に収まる大きさ */
  line-height: 1.45;
  letter-spacing: 0.01em;
}
.tr-h3 {
  margin-top: 56px;
  font-family: var(--head);
  font-weight: 700;
  font-size: 22px;
}
.tr-lead { margin-top: 16px; max-width: 900px; color: var(--sub); font-size: 17px; }
.tr-small { margin-top: 16px; font-size: 14px; color: var(--sub); }
.tr-note { margin-top: 12px; font-size: 13px; color: var(--sub); }

.tr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.tr-btn-white { background: #fff; color: var(--navy); border: 0; }
.tr-btn-white:hover { background: var(--tint); color: var(--navy); }
.tr-btn-outline { border: 1.5px solid #fff; color: #fff; background: transparent; }
.tr-btn-outline:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.tr-btn-navy { background: var(--navy); color: #fff; border: 0; padding: 0 48px; min-height: 56px; }
.tr-btn-navy:hover { background: var(--navy-deep); }
.tr-btn-line { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); min-height: 44px; font-size: 14px; padding: 0 20px; }

/* ---------- ファーストビュー ---------- */
.tr-hero-inner {
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
}
.tr-hero-main { flex: 999 1 540px; min-width: 0; }
.tr-hero .tr-eyebrow { margin-bottom: 20px; font-family: var(--jp); font-weight: 500; letter-spacing: 0.08em; }
.tr-hero h1 {
  font-family: var(--head);
  font-weight: 900;
  font-size: clamp(1.65rem, 0.8rem + 4.4vw, 3rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.tr-hero-catch { margin-top: 24px; font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem); line-height: 1.7; font-weight: 500; }
.tr-hero-lead { margin-top: 16px; max-width: 580px; color: var(--on-dark); }

.tr-stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}
.tr-stats > div { border-left: 2px solid var(--green); padding-left: 16px; }
.tr-stats dt { font-size: 12px; color: var(--on-dark-sub); }
.tr-stats dd { margin-top: 2px; font-weight: 700; font-size: 18px; line-height: 1.8; }
.tr-stats dd.is-num { font-family: var(--latin); font-weight: 600; font-size: 26px; line-height: 1.3; }
.tr-stats dd.is-num span { font-family: var(--jp); font-size: 14px; font-weight: 500; margin-left: 2px; }

.tr-hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

.tr-hero-card {
  flex: 1 1 360px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
}
.tr-hero-card-title { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.tr-hero-card ul { margin-top: 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.tr-hero-card li { background: var(--tint); border-radius: 8px; padding: 14px 16px; }
.tr-hero-card-target { font-size: 12px; color: var(--sub); }
.tr-hero-card-name { margin-top: 2px; font-weight: 700; font-size: 15px; line-height: 1.6; }
.tr-hero-card-note { margin-top: 14px; font-size: 12px; line-height: 1.7; color: var(--sub); }

/* ---------- 課題 ---------- */
.tr-issues { padding-bottom: 0; }
.tr-issues-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tr-issue { border-top: 3px solid var(--navy); padding-top: 20px; }
.tr-issue-title { font-weight: 700; font-size: 20px; line-height: 1.6; }
.tr-issue-body { margin-top: 8px; color: var(--sub); font-size: 17px; }

/* ---------- 考え方（役割分担） ---------- */
.tr-roles {
  margin-top: 44px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.tr-roles li { background: var(--tint); border-radius: var(--radius); padding: 28px 24px; }
.tr-role-who { font-weight: 700; font-size: 16px; color: var(--navy); letter-spacing: 0.06em; }
.tr-role-who span { font-family: var(--latin); font-weight: 600; margin-right: 0.8em; }
.tr-role-title { margin-top: 6px; font-weight: 700; font-size: 20px; }
.tr-role-body { margin-top: 8px; font-size: 17px; color: var(--sub); }

/* ---------- 1ユニットの流れ（矢印のボックス） ---------- */
.tr-flow {
  margin-top: 40px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 6px;
}
.tr-flow-step {
  background: #fff;
  padding: 24px 56px 24px 52px;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%, 32px 50%);
}
.tr-flow-step:first-child {
  padding-left: 28px;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 50%, calc(100% - 32px) 100%, 0 100%);
}
.tr-flow-time { font-size: 17px; font-weight: 700; color: var(--navy); }
.tr-flow-title { margin-top: 4px; font-weight: 700; font-size: 19px; line-height: 1.6; }
.tr-flow-body { margin-top: 8px; font-size: 16px; color: var(--sub); }

/* 縦に並ぶときは、右向きの矢印ではなく下向きの矢印でつなぐ */
@media (max-width: 860px) {
  .tr-flow { grid-template-columns: 1fr; gap: 0; }
  .tr-flow-step,
  .tr-flow-step:first-child {
    padding: 24px 24px 44px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px));
  }
  .tr-flow-step + .tr-flow-step {
    margin-top: -14px;
    padding-top: 38px;
    clip-path: polygon(0 0, 50% 22px, 100% 0, 100% calc(100% - 22px), 50% 100%, 0 calc(100% - 22px));
  }
  .tr-flow-step:last-child { padding-bottom: 28px; clip-path: polygon(0 0, 50% 22px, 100% 0, 100% 100%, 0 100%); }
  .tr-flow-step:only-child { clip-path: none; }
}

/* ---------- カリキュラム ---------- */
.tr-curr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tr-tabs { display: flex; background: var(--tint); border-radius: 8px; padding: 4px; gap: 4px; }
.tr-tab {
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--sub);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.tr-tab[aria-pressed="true"] { background: var(--navy); color: #fff; }
.tr-curr-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.tr-curr-box { background: var(--tint); border-radius: var(--radius); padding: 28px; }
.tr-curr-box h3 { font-family: var(--head); font-weight: 700; font-size: 20px; }
.tr-curr-sub { margin-top: 4px; font-size: 15px; color: var(--sub); }
.tr-curr-box ul { margin-top: 16px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tr-curr-box li { position: relative; padding-left: 1.1em; }
.tr-curr-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}
.tr-curr-foot {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  color: var(--sub);
}
.tr-curr-foot strong { color: var(--ink); }
.tr-curr-foot a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- 講座概要の表（印刷して申請書類に添付される） ---------- */
.tr-table-wrap {
  margin-top: 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.tr-overview { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.tr-overview tr + tr { border-top: 1px solid var(--line); }
.tr-overview th {
  width: 200px;
  text-align: left;
  vertical-align: top;
  padding: 18px 24px;
  background: var(--cell);
  font-weight: 700;
}
.tr-overview td { padding: 18px 24px; }

/* ---------- 助成制度 ---------- */
.tr-programs {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}
/* 2枚のカードで「対象」の行の高さがそろうように、行をカード間で共有する */
.tr-program {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
  align-content: start;
}
.tr-badge {
  justify-self: start;
  align-self: start;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  padding: 2px 10px;
  border-radius: 4px;
}
.tr-program h3 { margin-top: 12px; font-family: var(--head); font-weight: 700; font-size: 21px; line-height: 1.5; }
.tr-program dl {
  margin-top: 20px;
  font-size: 14px;
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 10px 16px;
  align-self: start;
}
.tr-program dt { font-weight: 700; color: var(--sub); }

.tr-support {
  margin-top: 24px;
  background: var(--tint);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--navy);
}
.tr-support svg { flex: none; margin-top: 3px; }
.tr-support-title { font-weight: 700; }
.tr-support-body { margin-top: 4px; font-size: 14px; color: var(--sub); }

.tr-checks {
  margin-top: 20px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 32px;
  font-size: 15px;
}
.tr-checks li { display: flex; gap: 10px; }
.tr-checks svg { flex: none; margin-top: 4px; color: var(--navy); }

/* ---------- 料金 ---------- */
/* 料金欄の本体は、ファイル末尾「受講料 → 交付後の負担の目安」にあります */

/* ---------- 制作・監修 ---------- */
.tr-team {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.tr-person { background: var(--tint); border-radius: var(--radius); padding: 28px; display: flex; gap: 20px; align-items: flex-start; }
.tr-person-photo {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  background: #DCE2F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--sub);
}
.tr-person-role { font-size: 13px; color: var(--sub); }
.tr-person-name { margin-top: 2px; font-weight: 700; font-size: 20px; }
.tr-person-bio { margin-top: 10px; font-size: 14px; color: var(--sub); }

/* ---------- よくある質問 ---------- */
.tr-faq { margin-top: 32px; border-top: 1px solid var(--line); }
.tr-faq details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
.tr-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.tr-faq summary::-webkit-details-marker { display: none; }
.tr-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--latin);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--navy);
}
.tr-faq details[open] summary::after { content: "−"; }
.tr-faq details p { margin-top: 12px; color: var(--sub); }

/* ---------- お問い合わせ ---------- */
.tr-contact-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.tr-contact-side { flex: 1 1 420px; min-width: 0; }
.tr-contact .tr-h2 { color: #fff; }
.tr-contact-lead { margin-top: 16px; color: var(--on-dark); }
.tr-contact-notice { margin-top: 28px; border-top: 1px solid rgba(18, 200, 119, 0.6); padding-top: 20px; font-size: 14px; color: var(--on-dark); }
.tr-contact-notice-title { font-weight: 700; color: #fff; margin-bottom: 4px; }
.tr-contact-mail { margin-top: 24px; font-size: 14px; color: var(--on-dark); }
.tr-contact-mail a { color: #fff; }
.tr-contact-mail a:hover { color: var(--on-dark); }

.tr-form-card {
  flex: 999 1 560px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: 40px 36px;
}
@media (max-width: 480px) { .tr-form-card { padding: 28px 20px; } }

#tr-form, .tr-form { display: flex; flex-direction: column; gap: 24px; }
.tr-kinds { margin: 0; padding: 0; border: 0; min-width: 0; }
.tr-kinds legend { padding: 0; font-weight: 700; font-size: 15px; }
.tr-kinds > div { margin-top: 10px; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.tr-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--field);
  background: #fff;
  color: var(--sub);
}
.tr-chip input { margin: 0; accent-color: var(--navy); }
.tr-chip:has(input:checked) { border: 2px solid var(--navy); background: var(--tint); color: var(--navy); }

.tr-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.tr-estimate { background: var(--tint); border-radius: 8px; padding: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.tr-field { display: flex; flex-direction: column; gap: 6px; }
.tr-estimate-hint { grid-column: 1 / -1; font-size: 14px; font-weight: 700; color: var(--req); }
.tr-field label { font-weight: 700; font-size: 15px; }
.tr-field input,
.tr-field select,
.tr-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--field);
  border-radius: 6px;
  font-family: inherit;
  font-size: 16px;   /* 16px 未満だと iPhone で入力時に画面が拡大されるため */
  color: var(--ink);
  background: #fff;
}
.tr-field textarea { padding: 12px 14px; line-height: 1.7; resize: vertical; }
.tr-field input:focus,
.tr-field select:focus,
.tr-field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28, 49, 119, 0.16); }
.tr-field [aria-invalid="true"] { border-color: var(--req); }
.tr-req { color: var(--req); font-size: 13px; }
.tr-opt { color: var(--sub); font-size: 13px; font-weight: 500; }

.tr-agree { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--sub); min-height: 44px; cursor: pointer; }
.tr-agree input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }

.tr-form-error { color: var(--req); font-size: 14px; font-weight: 700; }

.tr-submit { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.tr-submit p { font-size: 13px; color: var(--sub); }

.tr-done { text-align: center; padding: 40px 0; color: var(--navy); }
.tr-done svg { margin: 0 auto; }
.tr-done-title { margin-top: 16px; font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--ink); }
.tr-done-body { margin-top: 8px; color: var(--sub); }
.tr-done-mail { margin-top: 8px; font-weight: 700; }
.tr-done .tr-btn { margin-top: 24px; }

/* ---------- フッター ---------- */
.tr-footer { background: var(--navy-deep); color: var(--on-dark-sub); font-size: 13px; }
.tr-footer-inner {
  padding-top: 36px;
  padding-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-end;
}
.tr-footer-logo img { height: 26px; width: auto; margin-bottom: 12px; }
.tr-footer-right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.tr-footer a { color: #fff; text-decoration: none; }
.tr-footer a:hover { text-decoration: underline; color: #fff; }
.tr-footer-back::before { content: "← "; }

/* ---------- 狭い画面の調整 ---------- */
@media (max-width: 760px) {
  .tr-section { padding: 72px 0; }
  .tr-issues { padding-bottom: 0; }
  .tr-hero-inner { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .tr-contact-inner { padding-top: 72px; padding-bottom: 72px; }
  .tr-lead, .tr-issue-body, .tr-role-body { font-size: 16px; }
  .tr-programs, .tr-checks, .tr-team, .tr-curr-grid, .tr-issues-grid, .tr-roles { grid-template-columns: minmax(0, 1fr); }
  .tr-hero-actions .tr-btn { flex: 1 1 100%; }
}

/* ---------- 印刷（講座概要を申請書類に添付するとき） ---------- */
@media print {
  .tr-header, .tr-footer, .tr-contact, .tr-hero-actions, .tr-tabs { display: none !important; }
  .tr-band { background: #fff !important; color: var(--ink) !important; }
  .tr-section { padding: 24px 0; }
  .tr-overview { min-width: 0; }
}

/* とても狭い画面（幅 360px 未満）では、ロゴ横の「医療AIカレッジ」を省く。
   すぐ下のファーストビューに同じ名前が出ているので、伝わり方は変わらない */
@media (max-width: 359px) {
  .tr-brand-sub { display: none; }
}

/* スマートフォンでは講座概要の表を「項目名の下に内容」の縦並びにして、横スクロールなしで読めるようにする */
@media (max-width: 600px) {
  .tr-overview { min-width: 0; }
  .tr-overview th,
  .tr-overview td { display: block; width: auto; }
  .tr-overview th { padding: 14px 18px 6px; }
  .tr-overview td { padding: 0 18px 16px; background: var(--cell); }
}


/* ==================== 受講生の方へ ==================== */
/* ファーストビューの「受講生はこちら」（スマートフォンではヘッダーのリンクが畳まれるため、ここが入口になる） */
.tr-hero-student { margin-top: 20px; font-size: 14px; }
.tr-hero-student a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.5); }
.tr-hero-student a:hover { color: var(--on-dark); text-decoration-color: #fff; }

/* 営業向けのお問い合わせ（紺の帯）と区別するため、白地に上の罫線で始める */
.tr-students { background: #fff; border-top: 6px solid var(--tint); }

.tr-lms {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 28px 32px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: var(--tint);
}
.tr-lms-text { flex: 1 1 420px; min-width: 0; }
.tr-lms-title { font-family: var(--head); font-weight: 700; font-size: 20px; color: var(--navy); }
.tr-lms-body { margin-top: 6px; color: var(--sub); font-size: 15px; }
.tr-lms .tr-btn { flex: none; padding: 0 32px; }
.tr-btn-disabled { background: #DCE2F0; color: var(--sub); cursor: not-allowed; min-height: 56px; padding: 0 32px; }

.tr-students-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}
.tr-students-faq .tr-faq { margin-top: 20px; }
.tr-students-form-lead { margin-top: 8px; font-size: 14px; color: var(--sub); }
.tr-form-card-line { margin-top: 20px; border: 1px solid var(--line); padding: 32px 28px; }
.tr-field-wide { grid-column: 1 / -1; }
.tr-field-note { font-size: 13px; color: var(--sub); }

@media (max-width: 900px) {
  .tr-students-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .tr-lms { padding: 24px 20px; }
  .tr-lms .tr-btn { width: 100%; }
  .tr-form-card-line { padding: 24px 18px; }
}
@media print { .tr-students { display: none !important; } }

/* 受講生用フォームは横幅が狭いので、種類のボタンを2列にする */
.tr-students .tr-kinds > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tr-students .tr-chip { font-size: 14px; padding: 8px 12px; line-height: 1.5; }

/* ==================== 2026年11月 FAXに合わせた追加 ==================== */
/* ファーストビューの助成制度カード：補助率 */
.tr-hero-card-rate { margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--navy); }

/* AI資格の対策講座 */
.tr-cert {
  margin-top: 32px;
  padding: 22px 26px;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  background: #fff;
}
.tr-cert-title { font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--navy); }
.tr-cert-body { margin-top: 6px; font-size: 15px; color: var(--sub); }

/* 制作・監修：写真枠をオフにしたカード */
.tr-person-nophoto { display: block; }

/* お問い合わせ：電話の受付時間 */
.tr-contact-hours { font-size: 13px; color: var(--on-dark-sub); }

/* カードの本文：行末に1〜2字だけ残る折り返しを避ける */
.tr-issue-body, .tr-flow-body, .tr-role-body { text-wrap: pretty; }

/* ==================== 料金：受講料 → 交付後の負担の目安 ====================
   ・受講料は取り消し線・グレーにしない（値下げ前の価格に見せない）
   ・負担額は受講料の約1.4倍まで。東京都と国は同じ大きさ・同じ色
   ・条件は負担額のすぐ下に、14px以上で */
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tr-price { margin-top: 36px; background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 32px 28px; }
.tr-price-title { font-weight: 700; font-size: 18px; }
.tr-plan-row {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 15rem) 9rem minmax(0, 1fr); gap: 20px; align-items: center;
}
.tr-plan-row-solo { grid-template-columns: minmax(0, 1fr); }
.tr-plan-name { font-weight: 700; font-size: 16px; }
.tr-plan-fee { margin-top: 2px; white-space: nowrap; }
.tr-price-amount { font-family: var(--latin); font-weight: 600; font-size: 32px; line-height: 1.3; color: var(--ink); }
.tr-price-unit { font-size: 15px; margin-left: 4px; }
.tr-plan-note { margin-top: 4px; font-size: 14px; color: var(--sub); }
.tr-plan-arrow { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.5; }
.tr-plan-arrow::after {
  content: ""; width: 100%; height: 14px;
  background:
    linear-gradient(var(--navy), var(--navy)) left center / calc(100% - 10px) 2px no-repeat,
    conic-gradient(from -135deg at 100% 50%, var(--navy) 90deg, transparent 0) right center / 10px 14px no-repeat;
}
.tr-plan-after { min-width: 0; background: var(--tint); border-radius: 10px; padding: 16px 18px; }
.tr-plan-after-title { font-weight: 700; font-size: 15px; }
.tr-plan-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.tr-plan-after-title { grid-column: 1 / -1; }
.tr-after { min-width: 0; background: #fff; border-radius: 8px; padding: 12px 14px; }
.tr-after-scheme { font-size: 14px; font-weight: 700; line-height: 1.5; }
.tr-after-target { display: inline-block; margin-left: 6px; padding: 0 6px; border: 1px solid var(--navy); border-radius: 4px; font-size: 12px; color: var(--navy); vertical-align: 1px; }
.tr-after-amount { margin-top: 4px; font-family: var(--latin); font-weight: 600; font-size: 44px; line-height: 1.2; color: var(--navy); white-space: nowrap; }
.tr-after-per { font-weight: 500; }
.tr-after-cond { margin-top: 4px; font-size: 14px; color: var(--ink); line-height: 1.6; }
.tr-price-notes { margin-top: 20px; font-size: 14px; color: var(--ink); line-height: 1.7; }
.tr-price-points { margin-top: 12px; padding-left: 1.2em; font-size: 14px; color: var(--sub); list-style: disc; }
.tr-price-link { margin-top: 12px; font-size: 14px; }
.tr-after-per { white-space: nowrap; }
/* 幅が足りないときは、受講料 → 負担の目安 を縦に並べる（矢印は下向き） */
@media (max-width: 1100px) {
  .tr-plan-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tr-plan-arrow { flex-direction: row; justify-content: flex-start; }
  .tr-plan-arrow::before { content: "↓"; font-size: 20px; line-height: 1; }
  .tr-plan-arrow::after { display: none; }
}
@media (max-width: 640px) {
  .tr-plan-after { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .tr-price { padding: 24px 16px; }
  .tr-plan-after { padding: 12px; }
  .tr-after-amount { font-size: 40px; }
  .tr-price-amount { font-size: 30px; }
}
/* 監督の修正：共通の条件をパネル内に／対象バッジを14pxに */
.tr-after-note { grid-column: 1 / -1; font-size: 14px; line-height: 1.7; color: var(--ink); font-weight: 400; }
.tr-after-target { font-size: 14px; line-height: 1.5; max-width: 100%; white-space: normal; }

/* ==================== 歯科版 Coming soon／版ごとの料金 ==================== */
.tr-soon-chip {
  display: inline-block; margin-left: 10px; padding: 1px 8px; border: 1px solid currentColor; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.04em; vertical-align: 1px; white-space: nowrap;
}
.tr-tab-soon { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25; }
.tr-tab-soon small { font-size: 10px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.8; }
.tr-soon { margin-top: 24px; padding: 20px 22px; border: 1px dashed var(--navy); border-radius: var(--radius); background: #fff; font-size: 15px; }
.tr-soon-title { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.tr-soon-badge {
  display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: var(--navy); color: #fff;
  font-family: var(--latin); font-size: 12px; font-weight: 600; letter-spacing: 0.04em; vertical-align: 2px;
}
.tr-soon-price { margin-top: 20px; background: var(--tint); border-color: transparent; }
.tr-price-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.tr-price-ed { padding: 2px 12px; border-radius: 6px; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.tr-plan-terms { margin-top: 6px; font-size: 14px; color: var(--ink); }
.tr-plan-disc { margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: var(--tint); font-size: 14px; }
.tr-plan-disc-title { font-weight: 700; }
.tr-plan-disc-title span { font-weight: 400; font-size: 13px; }
.tr-plan-disc ul { margin-top: 2px; }
.tr-plan-disc ul { list-style: none; padding: 0; }
