/* 下層ページ共通。トップのデザイン（紺のMV・斜めの写真枠・カードの色使い・段階色）を下層に展開する。
   content.css の後に読み込み、下層ページ（body に .home が無いページ）だけに効かせる */

/* コンテンツ幅。全ページ共通で、トップと同じ広い方（1280px）に揃える */
.content-site:not(.home) .container { width: min(1280px, calc(100% - 40px)); }

/* ------------------------------------------------------------
// ページタイトル：トップのMVと同じ紺地。写真はMVと同じ斜めの枠で切り抜く
------------------------------------------------------------ */
.content-site:not(.home) .page-hero {
  position: relative;
  z-index: 0;
  margin-top: 0;
  /* ヘッダー（浮いた島）の下まで紺を敷くので、その分を上余白に足す */
  padding: clamp(132px, 6vw + 96px, 184px) 0 clamp(56px, 6vw, 96px);
  background: #0f2a4a;
  overflow: hidden;
}
/* 写真の無い側を空にしないよう、MVの写真の並び（右上がりの段差）を面だけでなぞる */
.content-site:not(.home) .page-hero::before,
.content-site:not(.home) .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(150px, 15vw, 260px);
  aspect-ratio: 5 / 7;
  background: rgba(255, 255, 255, .045);
  clip-path: polygon(13% 7%, 100% 0, 87% 93%, 0 100%);
  pointer-events: none;
}
.content-site:not(.home) .page-hero::before { right: clamp(120px, 14vw, 250px); bottom: -14%; }
.content-site:not(.home) .page-hero::after { right: -24px; bottom: 12%; }
.content-site:not(.home) .page-hero h1 {
  font-size: clamp(26px, 2vw + 16px, 42px);
  line-height: 1.5;
  text-wrap: balance;
  letter-spacing: .05em;
}
/* 英字ラベルはMVと同じ差し色。帯は付けない */
.content-site:not(.home) .page-hero .eyebrow {
  display: block;
  margin-bottom: 10px;
  padding: 0;
  color: var(--accent);
  background: none;
  border-radius: 0;
  font-size: clamp(14px, .4vw + 12px, 18px);
  letter-spacing: .2em;
}
/* h1 はページ名。キャッチコピーはその下に一段小さく置く */
.content-site:not(.home) .page-hero__catch {
  max-width: 28em;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
  letter-spacing: .015em;
}
.content-site:not(.home) .page-hero .lead { max-width: 40em; margin-top: 20px; font-size: 15px; line-height: 1.9; }
/* セクション見出しのリード文は1行が長くなりすぎないよう幅を抑える */
.content-site:not(.home) .section-head .lead { max-width: 40em; }
.content-site:not(.home) .page-hero .breadcrumb { margin-bottom: clamp(24px, 3vw, 40px); color: rgba(255, 255, 255, .75); }
.content-site:not(.home) .page-hero.has-media > .container { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
/* 斜めの枠。切り抜きの形は index.css の「斜めの写真枠」と共通で、ここでは傾きだけ指定する */
.content-site:not(.home) .page-hero.has-media img {
  --slant-x: 11%;
  --slant-y: 8%;
  --slant-s: 0.017;
  aspect-ratio: 3 / 2;
  border-radius: 0;
}
/* 写真ありのページタイトルは帯を低くし、写真の下端を帯の外（次のセクション）へはみ出させる。
   はみ出す分（--page-hero-overhang）は次のセクションの上余白に足して、中身と重ならないようにする */
.content-site:not(.home) { --page-hero-overhang: clamp(28px, 4vw, 64px); }
.content-site:not(.home) .page-hero.has-media {
  --page-hero-pb: clamp(40px, 4vw, 64px);
  z-index: 1;
  padding-bottom: var(--page-hero-pb);
  /* 横は飾りの面を切り、縦は写真を帯の下へ出す */
  overflow-x: clip;
  overflow-y: visible;
}
.content-site:not(.home) .page-hero.has-media::before { bottom: 0; }
/* 文章が写真より長いページでも、はみ出し量が変わらないよう写真は行の下端に揃える */
.content-site:not(.home) .page-hero.has-media img { align-self: end; margin-bottom: calc(-1 * (var(--page-hero-pb) + var(--page-hero-overhang))); }
.content-site:not(.home) .page-hero.has-media + .section { padding-top: calc(clamp(60px, 7.2727272727vw + 32.7272727273px, 120px) + var(--page-hero-overhang)); }

/* ------------------------------------------------------------
// ページタイトル直後の、左右に写真を散らしたセクション（トップの「強み」と同じ作り。index.css の .strength）。
// 地は白にして、紺のページタイトルの写真が白地へはみ出す形でつなげる
------------------------------------------------------------ */
/* .strength は z-index: 2 なので、ページタイトルの写真が下に隠れないよう後ろへ回す */
/* 上の余白は他の下層ページ（.page-hero.has-media + .section）と同じにする */
.content-site:not(.home) .page-hero.has-media + .strength { z-index: 0; padding-top: calc(clamp(60px, 7.2727272727vw + 32.7272727273px, 120px) + var(--page-hero-overhang)); }
/* 下の余白はトップの強みより詰めて、次のセクションとの間を空けすぎない */
.content-site:not(.home) .strength--goals { --goals-pb: clamp(56px, 4vw + 32px, 88px); padding-bottom: var(--goals-pb); background: #fff; color: var(--ink); }
.content-site:not(.home) .strength--goals .strength__heading { text-wrap: balance; }
/* 到達目標：カードにはせず白地に直接置き、項目どうしは余白で分ける。短い見出しで拾い読みでき、補足は一段薄く、右に身につくコースを添える */
.content-site:not(.home) .goals-list { margin-top: 40px; gap: 32px; }
.content-site:not(.home) .goals-item { gap: 20px; }
.content-site:not(.home) .goals-item .strength__item-body { flex: 1; }
.content-site:not(.home) .goals-item__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.content-site:not(.home) .goals-item .strength__item-title { font-size: 18px; }
.content-site:not(.home) .goals-item .strength__item-text { margin-top: 4px; font-size: 14px; line-height: 1.7; color: var(--ink-sub); }
.content-site:not(.home) .goals-item__course { flex-shrink: 0; padding: 4px 10px; border-radius: 5px; background: #f4f7fa; color: var(--ink-sub); font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .05em; line-height: 1.4; white-space: nowrap; }
@media (max-width: 767px) {
  .content-site:not(.home) .goals-item { gap: 14px; }
  .content-site:not(.home) .goals-item__head { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
  .content-site:not(.home) .goals-item .strength__item-title { font-size: 16px; }
}
@media (min-width: 992px) {
  /* トップと同じく右上に1枚（02）・左下に1枚（01）。どちらもセクション内に収め、下のセクションへはかぶせない */
  .content-site:not(.home) .strength--goals .strength__photos--right { order: 1; justify-content: flex-end; margin-bottom: 0; }
  .content-site:not(.home) .strength--goals .strength__body { order: 2; }
  .content-site:not(.home) .strength--goals .strength__photos--left { order: 3; }
  .content-site:not(.home) .strength--goals .strength__photo--01 { margin-bottom: 0; margin-right: auto; margin-left: var(--strength-bleed); }
  .content-site:not(.home) .strength--goals .strength__photo--02 { align-self: flex-start; margin-top: 0; margin-right: 0; margin-left: max(0px, 100% - var(--strength-bleed) - var(--photo-width)); }
  /* ぼかしの向きは index.css の既定（01 は右側、02 は左側をぼかす）のまま */
}
/* 白地なので、トップ（紺地）用の紺の色調整は全幅でかけない */
.content-site:not(.home) .strength--goals .strength__photo::after { content: none; }
.content-site:not(.home) .strength--goals .strength__photo img { filter: none; }
/* タイトルは読点・句点の切れ目で改行する（js/content.js が切れ目ごとにまとめる）。幅が足りないときだけ中で折り返す */
.char-phrase { display: inline-block; }
/* 分割が済むまではタイトルを隠す。スクリプトが動かなかった場合は2秒後にそのまま表示する */
.has-js .page-hero h1:not(.reveal-title) { animation: page-title-hold 2s steps(1, end) backwards; }
@keyframes page-title-hold {
  from { opacity: 0; }
}

/* ------------------------------------------------------------
// カードの面：トップと同じく、白地のセクションでは薄い青灰、薄い地のセクションでは白にする
------------------------------------------------------------ */
.content-site:not(.home) .section:not(.section-alt, .career-stories) :is(.card, .tile, .step, .interview-card, .form-card) { background-color: #f4f7fa; }
.content-site:not(.home) .interview-card { max-width: none; }
.content-site:not(.home) .steps + .chips { margin-top: 24px; }
.content-site:not(.home) .step h3, .content-site:not(.home) .card-body h3 { font-size: 20px; }
.content-site:not(.home) .step p, .content-site:not(.home) .card-body p { margin-top: 12px; font-size: 15px; line-height: 1.9; }
/* 順に進む3ステップ：紺の帯の上で番号の丸を線でつなぎ、その下に半透明のカードで中身を置く。カードは紺地より一段明るい半透明の面（スマホは丸と縦線を左に） */
.content-site .steps--flow { --flow-gap: 56px; --flow-num: 44px; gap: var(--flow-gap); margin: 0; padding: 0; list-style: none; }
.content-site:not(.home) .section .steps--flow .step { position: relative; display: flex; flex-direction: column; padding: 0; background: none; }
.content-site .steps--flow .step:not(:last-child)::before { content: ""; position: absolute; top: calc(var(--flow-num) / 2 - 1px); left: 50%; width: calc(100% + var(--flow-gap)); height: 2px; background-color: rgba(90, 167, 242, .45); }
.content-site .step__num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: var(--flow-num); height: var(--flow-num); margin: 0 auto 24px; color: #fff; background-color: #0f2a4a; border: 2px solid #5aa7f2; border-radius: 50%; font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 18px; font-weight: 700; line-height: 1; }
.content-site .step__body { flex-grow: 1; padding: 28px clamp(20px, 2vw, 32px) 32px; background-color: rgba(255, 255, 255, .07); border-radius: 5px; }
.content-site:not(.home) .steps--flow .step h3 { color: #fff; text-align: center; }
.content-site:not(.home) .steps--flow .step p { margin-top: 16px; color: rgba(255, 255, 255, .85); }
.content-site .steps--flow .chips { margin: 20px 0 0; padding: 0; list-style: none; }
.content-site .steps--flow .chip { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 991px) {
  .content-site .steps--flow { --flow-gap: 32px; }
  .content-site:not(.home) .section .steps--flow .step { padding-left: calc(var(--flow-num) + 16px); }
  .content-site .step__num { position: absolute; top: 20px; left: 0; margin: 0; }
  .content-site .steps--flow .step:not(:last-child)::before { top: calc(20px + var(--flow-num)); left: calc(var(--flow-num) / 2 - 1px); width: 2px; height: calc(100% - var(--flow-num) + var(--flow-gap)); }
  .content-site:not(.home) .steps--flow .step h3 { text-align: left; }
}
.content-site:not(.home) .profile .meta { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.content-site:not(.home) .profile-media img { border-radius: 5px 5px 0 0; }
.content-site:not(.home) .role { font-size: 20px; }

/* 文字のアイコン：トップの道筋の丸と同じ、青い丸に白抜き。並び順に青を濃くする */
.content-site:not(.home) .icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-1);
  font-family: "Urbanist", "Noto Sans JP", sans-serif;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(15, 42, 74, .18);
}
.content-site:not(.home) :is(.grid > :nth-child(2), .info-list > :nth-child(2)) .icon { background: var(--blue-2); }
.content-site:not(.home) :is(.grid > :nth-child(3), .info-list > :nth-child(3)) .icon { background: var(--blue-3); }
.content-site:not(.home) :is(.grid > :nth-child(4), .info-list > :nth-child(4)) .icon { background: var(--blue-4); }
.content-site:not(.home) .info-list .icon { display: inline-flex; width: 48px; min-width: 48px; height: 48px; font-size: 16px; }

.content-site:not(.home) .grid .icon.learning-icon {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* 学習環境カード：アイコンを見出しの前に横並び、本文は下に全幅 */
.content-site:not(.home) .card-body:has(> .learning-icon) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 12px;
}
.content-site:not(.home) .card-body:has(> .learning-icon) > .learning-icon { margin-bottom: 0; }
.content-site:not(.home) .card-body:has(> .learning-icon) > h3 { margin: 0; }
.content-site:not(.home) .card-body:has(> .learning-icon) > :not(.learning-icon, h3) { grid-column: 1 / -1; margin-top: 16px; }
.content-site:not(.home) .learning-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 写真と文章の2カラム。薄い地のセクションで複数並ぶもの（インタビュー）は白いカードにまとめる */
.content-site:not(.home) .section-alt .section-head ~ .split { padding: clamp(24px, 3.4vw, 48px); background: #fff; border-radius: 5px; }
.content-site:not(.home) .section-alt .section-head ~ .split.mt-4 { margin-top: clamp(20px, 2vw, 32px); }
.content-site:not(.home) .section-head + :is(.grid, .tiles:not(.tiles--pop), .steps, .programs, .split, .table-wrap, .salary-section__list) { margin-top: 48px; }
.content-site:not(.home) .qa dt:first-child { margin-top: 20px; }

/* 表 */
.content-site:not(.home) .table { border-radius: 5px; overflow: hidden; }
.content-site:not(.home) .table tr:last-child :is(th, td) { border-bottom: 0; }
.content-site:not(.home) .section-alt .table th { color: #fff; background: #0f2a4a; border-bottom-color: rgba(255, 255, 255, .14); }

/* ------------------------------------------------------------
// トップと同じ部品は、トップと同じ見た目にする（マークアップも共通）
------------------------------------------------------------ */
/* 道筋の図：カードの位置を 1280px 幅の座標で決めている（コンテンツ幅と同じ）。
   このページは説明文が長く、道の下側のカードが図の下へ伸びるぶん余白を足す */
.content-site:not(.home) .roadmap-road { margin-top: 72px; }
@media (min-width: 1200px) {
  .content-site:not(.home) .roadmap-road { margin-bottom: 96px; }
}
.content-site:not(.home) .section-head + .faq-section__inner { margin-top: 48px; }
/* 事例（トップの Voices と同じ帯） */
.content-site:not(.home) .career-stories .section-head { margin-inline: 0; }
/* 白地が2つ続くところは、トップと同じく後ろ側の上余白を消す */
.content-site:not(.home) .section:not(.section-alt, .career-stories) + .section:not(.section-alt, .career-stories) { padding-top: 0; }

/* ------------------------------------------------------------
// モデルルート：トップの4枚のカードと同じ色分けとイラスト。色を持つのは英字・番号だけで、文字は紺のまま
------------------------------------------------------------ */
.content-site:not(.home) #route-ai { --route: #2d8bea; }
.content-site:not(.home) #route-fde { --route: #7a5cf0; }
.content-site:not(.home) #route-cloud { --route: #0c98ad; }
.content-site:not(.home) #route-nw { --route: #1aa163; }
.content-site:not(.home) .grid:has(> .route) { row-gap: 96px; padding-top: 64px; }
.content-site:not(.home) .route { position: relative; padding: 0 clamp(20px, 2.4vw, 36px) 12px; background: #fff; }
.content-site:not(.home) .route .goal-visual { display: block; height: 0; padding-top: 70px; }
.content-site:not(.home) .route .goal-visual img { position: absolute; top: 0; left: 50%; width: 250px; max-width: 70%; height: auto; transform: translate(-50%, -50%); object-fit: contain; }
.content-site:not(.home) .route .goal-label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; color: var(--ink); font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.content-site:not(.home) .route .goal-label b { font-size: 40px; font-weight: 700; letter-spacing: 0; color: var(--route); }
.content-site:not(.home) .route > p { margin-top: 12px; font-size: 15px; line-height: 1.9; }
.content-site:not(.home) .route ol { border-top: 1px solid rgba(15, 42, 74, .12); }
.content-site:not(.home) .route .career-support__item { padding-block: 20px; }
.content-site:not(.home) .route .career-support__item:last-child { border-bottom: 0; }
.content-site:not(.home) .route .career-support__num { font-family: "Urbanist", "Noto Sans JP", sans-serif; color: var(--route); }
.content-site:not(.home) .route .career-support__item-title { font-size: 18px; }
.content-site:not(.home) .route .career-support__item-text { margin-top: 4px; font-size: 14px; }
.content-site:not(.home) .route li a { color: var(--route); }
/* 最後の段（到達点）はルートの色を敷く */
.content-site:not(.home) .route li.goal { margin: 8px calc(-1 * clamp(8px, 1vw, 16px)) 0; padding-inline: clamp(8px, 1vw, 16px); border-radius: 5px; background: color-mix(in srgb, var(--route) 9%, #fff); }

/* ------------------------------------------------------------
// 研修コース：番号はトップのルートと同じ英字ラベル＋大きな数字。中身は2カラムに分ける
------------------------------------------------------------ */
.content-site:not(.home) .program .num { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; color: var(--ink); font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.content-site:not(.home) .program .num b { font-size: 40px; font-weight: 700; letter-spacing: 0; color: var(--blue-1); }
.content-site:not(.home) .program:nth-child(2) .num b { color: var(--blue-2); }
.content-site:not(.home) .program:nth-child(3) .num b { color: var(--blue-3); }
.content-site:not(.home) .program-head.training-card__body { padding: 36px clamp(24px, 3vw, 48px) 28px; }
.content-site:not(.home) .program-body { display: grid; gap: 28px clamp(28px, 4vw, 56px); margin-inline: clamp(24px, 3vw, 48px); padding-block: 28px 40px; }
.content-site:not(.home) .program-body h4 { margin: 0 0 4px; font-size: 16px; }
.content-site:not(.home) .program-body li { font-size: 15px; }
.content-site:not(.home) .program-body .chips { margin-top: 12px; }
@media (min-width: 992px) {
  .content-site:not(.home) .program-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-site:not(.home) .program-body > div:has(> .chips) { grid-column: 1 / -1; }
}

/* ------------------------------------------------------------
// お問い合わせ：案内を左、フォームを右に並べる
------------------------------------------------------------ */
.content-site:not(.home) .field input:not([type="checkbox"]), .content-site:not(.home) .field select, .content-site:not(.home) .field textarea { border-radius: 5px; border-color: #c3cfdb; }
.content-site:not(.home) .field :is(input, select, textarea):focus-visible { outline-offset: 2px; }
.content-site:not(.home) .req, .content-site:not(.home) .opt { border-radius: 5px; font-weight: 700; line-height: 1.5; }
.content-site:not(.home) .req { color: #fff; background: #2d8bea; border-color: #2d8bea; }
@media (min-width: 992px) {
  .content-site:not(.home) .form-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; gap: clamp(40px, 5vw, 72px); }
  .content-site:not(.home) .form-grid > div { position: sticky; top: 120px; }
  .content-site:not(.home) .form-card { padding: 40px; }
}

/* ------------------------------------------------------------
// AI系研修のコース：見出しの右に線画アイコン。到達目標はチェック付きの面で一番強く、主な内容は章ラベル＋太字の見出し＋補足、使用技術は一番弱くする
------------------------------------------------------------ */
.content-site:not(.home) .program-ai { --course: var(--blue-1); }
.content-site:not(.home) .program-ai:nth-child(2) { --course: var(--blue-2); }
.content-site:not(.home) .program-ai:nth-child(3) { --course: var(--blue-3); }
.content-site:not(.home) .program-ai .program-head { flex-direction: row; align-items: flex-start; justify-content: space-between; gap: clamp(20px, 3vw, 48px); }
.content-site:not(.home) .program-ai .program-head__text { min-width: 0; max-width: 46em; }
/* コース名は番号（Course 01）に負けないよう、カード内の見出しより一段大きくする */
.content-site:not(.home) .program-ai .training-card__title { font-size: clamp(24px, 1.2vw + 12px, 30px); line-height: 1.45; letter-spacing: .02em; }
/* コースのイラストは「Course 01」とコース名の2行の右横に、背景を付けずに置く */
.content-site:not(.home) .program-head__title { display: flex; align-items: center; gap: clamp(4px, .8vw, 12px); }
.content-site:not(.home) .program-head__name { min-width: 0; }
.content-site:not(.home) .program-head__icon { flex-shrink: 0; width: clamp(84px, 9vw, 132px); height: auto; color: var(--course); }
/* 受講時間はカードの基本情報なので、時計アイコンを付けて一段強くする */
.content-site:not(.home) .program-ai .meta-row .chip { padding: 4px 12px; border: 0; border-radius: 5px; background: #f4f7fa; color: var(--ink-sub); }
.content-site:not(.home) .program-ai .meta-row .chip--time { display: inline-flex; align-items: center; gap: 6px; color: #fff; background: var(--course); }
.content-site:not(.home) .program-ai .chip--time::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
/* 見出しと本文のあいだの線は、到達目標の面で区切りが付くので使わない */
.content-site:not(.home) .program-ai .program-body { border-top: 0; padding-top: 4px; gap: 32px clamp(28px, 4vw, 56px); }
.content-site:not(.home) .program-ai .program-body h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 16px; }
.content-site:not(.home) .program-ai .program-body h4::before { content: ""; flex-shrink: 0; width: 36px; height: 36px; background: var(--course); -webkit-mask: var(--h4-icon) center / contain no-repeat; mask: var(--h4-icon) center / contain no-repeat; }
.content-site:not(.home) .program-block--goal { --h4-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.content-site:not(.home) .program-block--content { --h4-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5a2 2 0 0 1 2-2h13v15H6a2 2 0 0 0-2 2z'/%3E%3Cpath d='M4 20a2 2 0 0 0 2 1h13v-3'/%3E%3C/svg%3E"); }
.content-site:not(.home) .program-block--output { --h4-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12v5a6 6 0 0 1-12 0z'/%3E%3Cpath d='M12 14v4M8 21h8M6 5H3v2a3 3 0 0 0 3 3M18 5h3v2a3 3 0 0 1-3 3'/%3E%3C/svg%3E"); }
.content-site:not(.home) .program-block--tools { --h4-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 6.5a4 4 0 0 0-5.2 5.2L4 17l3 3 5.3-5.3a4 4 0 0 0 5.2-5.2L15 12l-3-3z'/%3E%3C/svg%3E"); }
/* 到達目標：薄い面に乗せ、項目はチェックの丸で始める */
.content-site:not(.home) .program-ai .program-block--goal { align-self: start; padding: clamp(20px, 2vw, 28px); border-radius: 5px; background: color-mix(in srgb, var(--course) 7%, #fff); }
.content-site:not(.home) .program-ai .program-block--goal li { position: relative; margin: 12px 0 0; padding-left: 30px; list-style: none; font-weight: 500; color: var(--ink); }
.content-site:not(.home) .program-ai .program-block--goal li::before { content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%; background: var(--course) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
/* 主な内容：章ラベル→太字の見出し→補足。順に進む内容なので、ここだけ章番号を見せる */
.content-site:not(.home) .program-steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; margin: 16px 0 0; list-style: none; }
.content-site:not(.home) .program-steps li:first-child { margin-top: 0; }
.content-site:not(.home) .program-steps li > b { grid-column: 2; font-size: 15px; line-height: 1.6; color: var(--ink); }
.content-site:not(.home) .program-steps li > span:not(.program-chapter) { grid-column: 2; margin-top: 2px; font-size: 14px; line-height: 1.7; color: var(--ink-sub); }
.content-site:not(.home) .program-steps li:not(:has(.program-chapter)) { grid-template-columns: 1fr; }
.content-site:not(.home) .program-steps li:not(:has(.program-chapter)) > :is(b, span) { grid-column: 1; }
.content-site:not(.home) .program-chapter { grid-row: 1 / span 2; align-self: start; margin-top: 2px; padding: 2px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--course); background: color-mix(in srgb, var(--course) 9%, #fff); white-space: nowrap; }
/* 完成物・使用技術は補足なので文字を小さく */
.content-site:not(.home) .program-ai .program-block--output li { font-size: 14px; color: var(--ink-sub); }
.content-site:not(.home) .program-ai .program-block--tools .tag { border: 0; border-radius: 5px; background: #f4f7fa; color: var(--ink-sub); }
@media (min-width: 992px) {
  .content-site:not(.home) .program-ai .program-body { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .content-site:not(.home) .program-ai .program-block--output { grid-column: 1 / -1; }
}


/* AI系研修のコース（PC）：3枚を縦に積むと長いので、タブで1コースずつ横にスライドして見せる。クラスは js/content.js が付ける。
   画面に固定して回す形にすると、カードが画面より高いとき（縦幅の狭いPC）に読めなくなるので、カードはふつうにスクロールさせる */
.program-tabs, .program-pager { display: none; }
@media (min-width: 992px) {
  .content-site:not(.home) .programs.is-tabbed { position: relative; gap: 0; align-items: start; overflow: hidden; transition: height .5s cubic-bezier(.2, .8, .2, 1); }
  /* .training-card の height: 100%（index.css）が効くと、入れ物の高さを測り直しても縮まなくなるので外す */
  .content-site:not(.home) .programs.is-tabbed > .program { height: auto; transition: opacity .45s ease, translate .55s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .content-site:not(.home) .programs.is-tabbed > .program:not(.is-active) { position: absolute; top: 0; left: 0; width: 100%; visibility: hidden; opacity: 0; pointer-events: none; translate: var(--slide-from, 64px) 0; transition: opacity .3s ease, translate .55s cubic-bezier(.2, .8, .2, 1), visibility 0s .55s; }
  .content-site:not(.home) .programs.is-tabbed > .program.is-active { border-top-left-radius: 0; border-top-right-radius: 0; }
  /* 切り替え前の初期状態では動かさない（隠すカードが一瞬見えないように） */
  .content-site:not(.home) .programs.is-tabbed:not(.is-ready), .content-site:not(.home) .programs.is-tabbed:not(.is-ready) > .program { transition: none; }

  .content-site:not(.home) .program-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 48px; scroll-margin-top: 110px; }
  .content-site:not(.home) .section-head + .program-tabs + .programs { margin-top: 0; }
  .content-site:not(.home) .program-tab { --course: var(--blue-1); position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(14px, 1.4vw, 20px); padding: 18px clamp(18px, 2vw, 28px); border: 0; border-radius: 5px 5px 0 0; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85); font: inherit; text-align: left; cursor: pointer; transition: background-color .3s ease, color .3s ease; }
  .content-site:not(.home) .program-tab:nth-child(2) { --course: var(--blue-2); }
  .content-site:not(.home) .program-tab:nth-child(3) { --course: var(--blue-3); }
  .content-site:not(.home) .program-tab::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 5px 5px 0 0; background: var(--course); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
  .content-site:not(.home) .program-tab:hover { background: rgba(255, 255, 255, .16); }
  .content-site:not(.home) .program-tab[aria-selected="true"] { background: #fff; color: var(--ink); cursor: default; }
  .content-site:not(.home) .program-tab[aria-selected="true"]::before { transform: scaleX(1); }
  /* タブの番号はカードと同じく「小さな COURSE ＋大きな数字」にして、何番目のコースかを一目でわかるようにする */
  .content-site:not(.home) .program-tab__num { display: grid; justify-items: center; gap: 4px; font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--course); }
  .content-site:not(.home) .program-tab__num b { font-size: clamp(32px, 2.8vw, 40px); font-weight: 700; letter-spacing: 0; }
  .content-site:not(.home) .program-tab__text { display: grid; gap: 4px; }
  .content-site:not(.home) .program-tab__title { font-size: clamp(15px, 1.2vw, 17px); font-weight: 700; line-height: 1.5; }
  .content-site:not(.home) .program-tab__time { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .6); }
  .content-site:not(.home) .program-tab:not([aria-selected="true"]) .program-tab__num { color: #5aa7f2; }
  .content-site:not(.home) .program-tab[aria-selected="true"] .program-tab__time { color: var(--ink-sub); }

  /* 読み終えた位置（カードの下）から前後のコースへ。前は左、次は右に置く */
  .content-site:not(.home) .program-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: -8px clamp(24px, 3vw, 48px) 40px; }
  .content-site:not(.home) .program-pager__btn { display: flex; align-items: center; gap: 20px; padding: 20px 24px 20px 28px; border: 0; border-radius: 5px; background: color-mix(in srgb, var(--course) 7%, #fff); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: background-color .3s ease; }
  .content-site:not(.home) .program-pager__btn--prev { flex-direction: row-reverse; padding: 20px 28px 20px 24px; }
  .content-site:not(.home) .program-pager__btn--next { grid-column: 2; }
  .content-site:not(.home) .program-pager__btn:hover { background: color-mix(in srgb, var(--course) 13%, #fff); }
  .content-site:not(.home) .program-pager__text { display: grid; flex: 1; gap: 2px; min-width: 0; }
  .content-site:not(.home) .program-pager__label { font-size: 13px; color: var(--ink-sub); }
  .content-site:not(.home) .program-pager__title { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 700; line-height: 1.5; }
  .content-site:not(.home) .program-pager__title b { font-family: "Urbanist", "Noto Sans JP", sans-serif; font-size: 24px; line-height: 1; color: var(--course); }
  /* 矢印は丸の中。ホバーで進む向きへ少し動かす */
  .content-site:not(.home) .program-pager__arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--course); transition: transform .3s ease; }
  .content-site:not(.home) .program-pager__arrow::before { content: ""; display: block; width: 100%; height: 100%; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; }
  .content-site:not(.home) .program-pager__btn--prev .program-pager__arrow::before { transform: scaleX(-1); }
  .content-site:not(.home) .program-pager__btn--next:hover .program-pager__arrow { transform: translateX(4px); }
  .content-site:not(.home) .program-pager__btn--prev:hover .program-pager__arrow { transform: translateX(-4px); }
}
@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .content-site:not(.home) .programs.is-tabbed, .content-site:not(.home) .programs.is-tabbed > .program { transition: none !important; }
}

/* Goals の到達目標アイコン。順番ではないので番号ではなく内容を表す線画にする */
.content-site:not(.home) .goals-item__icon { flex-shrink: 0; width: 40px; height: 40px; color: var(--blue); }
@media (max-width: 767px) {
  .content-site:not(.home) .goals-item__icon { width: 32px; height: 32px; }
}

@media (max-width: 991px) {
  .content-site:not(.home) .page-hero { padding-top: 124px; }
  .content-site:not(.home) .grid:has(> .route) { grid-template-columns: minmax(0, 640px); justify-content: center; }
}
@media (max-width: 767px) {
  .content-site:not(.home) .page-hero { padding: 108px 0 48px; }
  .content-site:not(.home) .page-hero.has-media > .container { grid-template-columns: 1fr; gap: 28px; }
  .content-site:not(.home) .page-hero.has-media img { max-height: none; aspect-ratio: 16 / 10; }
  .content-site:not(.home) .page-hero::before { right: 34%; bottom: auto; top: 64px; }
  .content-site:not(.home) .page-hero::after { bottom: auto; top: 96px; }
  .content-site:not(.home) .page-hero .lead { font-size: 14px; }
  .content-site:not(.home) .program-head.training-card__body { padding: 28px 20px 24px; }
  .content-site:not(.home) .program-body { margin-inline: 20px; }
}

/* キャリア伴走カード：学習環境カードと同じく、アイコンを見出しの前に横並び、本文は下に全幅 */
.content-site:not(.home) .step:has(> .career-support-icon) { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.content-site .career-support-icon { display: block; width: 56px; height: 56px; object-fit: contain; }
.content-site:not(.home) .step:has(> .career-support-icon) > h3 { margin: 0; }
.content-site:not(.home) .step:has(> .career-support-icon) > :not(.career-support-icon, h3) { grid-column: 1 / -1; margin-top: 16px; }
.content-site .career-column { text-align: center; }
.content-site .career-column .sub-label { justify-content: center; margin-top: 0; margin-bottom: clamp(20px, 2.2vw, 32px); }
.content-site .career-column .sub-label--balloon { position: relative; display: inline-flex; padding: 16px 48px; font-size: 18px; color: #fff; background: var(--ink); border-radius: 999px; margin-bottom: clamp(32px, 3vw, 44px); }
.content-site .career-column .sub-label--balloon::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 14px solid transparent; border-top-color: var(--ink); border-bottom: 0; }
/* 紺地のセクションでは吹き出しが地に溶けるので白にする */
.content-site .section-navy .career-column .sub-label--balloon { color: var(--ink); background: #fff; }
.content-site .section-navy .career-column .sub-label--balloon::after { border-top-color: #fff; }
@media (max-width: 767px) { .content-site .career-column .sub-label--balloon { padding: 12px 28px; font-size: 15px; } }
.content-site .career-video { max-width: 880px; margin-inline: auto; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #0f2a4a; }
.content-site .career-video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* インタビュー：名前は写真の下、経歴タグは本文の頭に大きめに */
.content-site:not(.home) .split > .voice-photo { margin: 0; }
.content-site:not(.home) .split.reverse > .voice-photo { order: 2; }
.content-site:not(.home) .voice-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 5px; }
.content-site:not(.home) .voice-photo__name { margin-top: 16px; color: var(--ink); font-size: 20px; font-weight: 700; text-align: center; }
.content-site:not(.home) .training-card__tag.voice-tag { padding: 6px 16px; font-size: 16px; }
@media (max-width: 767px) {
  .content-site:not(.home) .split.reverse > .voice-photo { order: 0; }
}

/* メンバー紹介：地色なし。写真の下に文字を直接置く */
.content-site:not(.home) .profile { background-color: transparent; border-radius: 0; }
.content-site:not(.home) .profile-media img { border-radius: 5px; }
.content-site:not(.home) .profile .card-body { padding: 20px 0 0; }

/* インタビューQ&A：質問は大きく、答えは質問に寄せ、問いごとの間は広く取る */
.content-site:not(.home) .qa dt { margin-top: 40px; font-size: 18px; line-height: 1.6; }
.content-site:not(.home) .qa dt:first-child { margin-top: 28px; }
.content-site:not(.home) .qa dd { margin-top: 8px; font-size: 15px; line-height: 1.9; color: var(--ink-sub); }
.content-site:not(.home) .profile-media { position: relative; }
.content-site:not(.home) .profile-media .role { position: absolute; left: 0; bottom: 20px; padding: 8px 16px; background: #fff; border-radius: 0 5px 5px 0; font-size: 18px; line-height: 1.5; }
.content-site:not(.home) .profile .card-body > .meta:first-child { margin-top: 0; }
