/**
 * 全コース詳細の共通スタイル（course-detail.php / koka-course.js）。
 * 共通の文字・見出しは koka-home.css、ヘッダー・フッターは koka-chrome.css。
 * メイン → 特色 → カリキュラム → 進路実績 → 学習支援 → 画面幅別の調整の順。
 * 各コース色は .koka-course--コース名 の変数に集約。数字はGoogle Sans Flex、本文の英字はInter、日本語はZen Kaku Gothic New。
 * メインの輪郭英字はNoto Sans JP、POINTの輪郭数字もGoogle Sans Flexを使う。
 */
@font-face {
  font-family: 'Google Sans Flex';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/google-sans-flex-numerals.woff2') format('woff2');
  unicode-range: U+0025, U+0030-0039;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-400-700.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/noto-sans-jp-latin-700.woff2') format('woff2');
}
.koka-course-page {
  margin: 0;
  min-width: 0;
  background: #fff;
}
.koka-course--premium {
  --course-color: #ee87b4;
  --course-ink: #9c3e69;
  --course-light: #fce6f0;
  --course-pale: #fff5f9;
  --course-table-border: #f1aac8;
  --course-table-ink: #b9447d;
  --course-table-year-bg: #fadcea;
  --course-table-track-bg: #fdeff5;
}
.koka-course--advanced {
  --course-color: #f39b2f;
  --course-goal-color: #07afb9;
  --course-ink: #9a570d;
  --course-light: #fce4c5;
  --course-pale: #fff6e9;
  --course-table-border: #f7c88c;
  --course-table-ink: #a15b0e;
  --course-table-year-bg: #fbcf8e;
  --course-table-track-bg: #fff6ea;
}
.koka-course--future {
  --course-color: #5392c3;
  --course-ink: #345e80;
  --course-light: #dfedf8;
  --course-pale: #f2f7fc;
  --course-table-border: #b2d0e6;
  --course-table-ink: #356889;
  --course-table-year-bg: #d3edfb;
  --course-table-track-bg: #f2f7fc;
}
.koka-course--medical {
  --course-color: #00a6b0;
  --course-ink: #007b83;
  --course-light: #dff3f4;
  --course-pale: #f2fafb;
  --course-table-border: #93d2d5;
  --course-table-ink: #007f88;
  --course-table-year-bg: #93d2d5;
  --course-table-track-bg: #e8f6f7;
}
.koka-course--international {
  --course-color: #a66cab;
  --course-ink: #75457a;
  --course-light: #ecdeee;
  --course-pale: #f8f3f9;
  --course-table-border: #d8c6e0;
  --course-table-ink: #80548a;
  --course-table-year-bg: #d8c6e0;
  --course-table-track-bg: #f2eaf5;
}
.koka-course {
  font-family: 'Google Sans Flex', 'Inter', 'Zen Kaku Gothic New', sans-serif;
  font-kerning: normal;
  font-weight: 400;
}
/* セクション見出しの丸印も、そのコースのメインカラーに合わせる。 */
.koka-course .koka-home-heading > p::before {
  border-radius: 50%;
  background: var(--course-color);
}
.koka-course figure,
.koka-course ol,
.koka-course h4 {
  margin: 0;
  padding: 0;
}
.koka-course ol {
  list-style: none;
}
.koka-course-breadcrumb {
  font-size: 14px;
  line-height: 24px;
  color: #444;
}
.koka-course-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.koka-course-breadcrumb li + li::before {
  content: '›';
  margin-right: 12px;
  color: #777;
}
.koka-course-breadcrumb a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 1;
}

/* メイン：ヘッダー・パンくず・固定メニューを除いた表示領域に合わせる。 */
.koka-course-hero {
  --course-hero-offset: 174px;
  --course-bottom-inset: 0px;
  position: relative;
  height: calc(100vh - var(--course-hero-offset) - var(--course-bottom-inset));
  height: calc(100svh - var(--course-hero-offset) - var(--course-bottom-inset));
  min-height: 440px;
  container-type: size;
  isolation: isolate;
  color: #fff;
}
.koka-course-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 88.57%;
  background: var(--course-color);
}
.koka-course-hero__english {
  position: absolute;
  z-index: 1;
  top: 5%;
  left: 0;
  width: 100%;
  overflow: hidden;
  font-family: 'Noto Sans JP', Arial, sans-serif;
  font-synthesis: none;
  font-size: clamp(64px, min(9.142857cqw, 21cqh), 176px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
}
.koka-course-hero__english-track {
  display: flex;
  width: max-content;
  font: inherit;
  animation: koka-course-marquee 30s linear infinite;
}
.koka-course-hero__english-track > span {
  display: flex;
  flex: 0 0 auto;
}
.koka-course-hero__english-track > span > span {
  display: block;
  flex: 0 0 auto;
  padding-right: 0.3em;
}
/* 同一幅の文字を半周分だけ移動し、継ぎ目を同じ位置に戻す。 */
@keyframes koka-course-marquee {
  to {
    transform: translateX(-50%);
  }
}
.koka-course-hero__copy {
  position: absolute;
  z-index: 2;
  top: 32.1%;
  left: 3.714286%;
  width: 26%;
}
.koka-course-hero__copy h1 {
  font-size: clamp(24px, min(2.857143cqw, 6.2cqh), 52px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.45;
}
.koka-course-hero__copy h1 > span {
  display: block;
  white-space: nowrap;
}
.koka-course-hero__type {
  margin-top: 20px !important;
  padding-left: 8px !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 24px;
}
.koka-course-hero__line {
  display: block;
  width: 47px;
  height: 1px;
  margin: 12px 0 18px 8px;
  background: #fff;
}
.koka-course-hero__catch {
  max-width: 260px;
  padding-left: 8px !important;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.06em;
}
.koka-course-hero__catch > span {
  display: block;
}
@media (min-width: 768px) {
  .koka-course-title-phrase {
    display: inline-block;
    white-space: nowrap;
  }
  .koka-course-feature h3,
  .koka-course-support h2,
  .koka-course-support-card h3 {
    text-wrap: balance;
  }
  .koka-course-feature__text p,
  .koka-course-support-card p,
  .koka-course-voice__text {
    text-wrap: pretty;
  }
}
.koka-course-hero__photo {
  position: absolute;
  top: 22.31%;
  bottom: 0;
  left: 29.428571%;
  width: 70.571429%;
  height: auto;
  overflow: hidden;
}
.koka-course-hero__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 進路目標：内容全体を中央に揃え、行数が変わっても円の中に収める。 */
.koka-course-goal {
  position: absolute;
  z-index: 3;
  right: clamp(96px, 7vw, 160px);
  bottom: calc(clamp(20px, 4cqh, 36px) + 2.5%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 177px;
  height: 177px;
  padding: 18px 14px;
  border-radius: 50%;
  background: var(--course-goal-color, #ffa600);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.12);
  font-size: 20px;
  text-align: center;
}
.koka-course-goal > p {
  width: 108px;
  padding: 4px 0 4px 0.1em;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: inherit;
  font-weight: 700;
  line-height: 31px;
  letter-spacing: 0.1em;
}
.koka-course-goal > strong {
  display: block;
  margin-top: 10px;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
}

/* 特色：文章は通常の文書フロー。長い説明でも写真と重ならない2列。 */
.koka-course-features {
  padding-top: 80px;
  padding-right: 0;
  padding-left: 0;
}
.koka-course .koka-home-heading h2 {
  margin-top: 8px;
  font-size: 48px;
  letter-spacing: 0.07em;
  line-height: 1.45;
}
.koka-course-feature-list {
  display: grid;
  gap: 96px;
  margin-top: 76px;
}
.koka-course-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 445px;
  align-items: center;
  gap: 80px;
}
.koka-course-feature__body {
  min-width: 0;
}
/* 採用C案：大きな輪郭数字に、小さなPOINTをベースラインで揃える。 */
.koka-course .koka-course-point {
  display: flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  white-space: nowrap;
}
.koka-course-point__number {
  flex: 0 0 auto;
  font-family: 'Google Sans Flex', Arial, sans-serif;
  font-synthesis: none;
  color: transparent;
  -webkit-text-stroke: 1px var(--course-color);
  font-size: 58px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: 0.03em;
  line-height: 1;
}
.koka-course-point__label {
  flex: 0 0 auto;
  color: #a6a6a6;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
}
.koka-course-feature h3 {
  margin-top: 12px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.koka-course-feature__text {
  margin-top: 22px;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 30px;
}
.koka-course-feature__text > p + p {
  margin-top: 18px;
}
/* 文の配列で指定した区切りはPCだけ改行し、スマホ・タブレットでは自然に折り返す。 */
.koka-course-pc-break {
  display: none;
}
@media (min-width: 1024px) {
  .koka-course-pc-break {
    display: initial;
  }
}
.koka-course-feature__text--bullets > p,
.koka-course-feature__text > .koka-course-feature__lead {
  position: relative;
  padding-left: 20px;
}
.koka-course-feature__text--bullets > p::before,
.koka-course-feature__lead::before,
.koka-course-feature__text li::before {
  content: '';
  position: absolute;
  top: calc((1lh - 0.625em) / 2);
  left: 0;
  width: 0.625em;
  height: 0.625em;
  border-radius: 50%;
  background: var(--course-color);
}
.koka-course-feature__text ul {
  margin-top: 10px;
}
.koka-course-feature__text li {
  position: relative;
  padding-left: 20px;
}
.koka-course-feature__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 15px;
}
.koka-course-feature__photo figcaption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.8;
}

/* カリキュラム：科目ごとに時数分を結合した38枠。画面が狭い場合は表だけ横スクロール。 */
.koka-course-curriculum {
  padding-top: 110px;
  padding-bottom: 70px;
}
.koka-course-scroll-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 32px 0 18px !important;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 24px;
}
.koka-course-scroll-hint > span {
  font-size: 20px;
  color: var(--course-color);
}
.koka-course-table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-color: var(--course-color) var(--course-light);
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.koka-course-table-scroll::-webkit-scrollbar {
  height: 8px;
}
.koka-course-table-scroll::-webkit-scrollbar-track {
  background: var(--course-light);
  border-radius: 5px;
}
.koka-course-table-scroll::-webkit-scrollbar-thumb {
  background: var(--course-color);
  border-radius: 5px;
}
.koka-course-curriculum-table {
  width: 1440px;
  min-width: 1440px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}
.koka-course-curriculum-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.koka-course-curriculum-table__year {
  width: 48px;
}
.koka-course-curriculum-table__track {
  width: 96px;
}
.koka-course-curriculum-table th,
.koka-course-curriculum-table td {
  border: 0;
  border-right: 1px solid var(--course-table-border);
  border-bottom: 1px solid var(--course-table-border);
  padding: 0;
  text-align: center;
  vertical-align: middle;
  background: #fff;
  font-weight: 400;
}
.koka-course-curriculum-table thead th {
  height: 36px;
  padding: 6px 2px;
  border-top: 1px solid var(--course-table-border);
  color: var(--course-table-ink);
  font-size: 14px;
  font-weight: 700;
}
.koka-course-curriculum-table tbody tr + tr > * {
  border-top: 6px solid #fff;
}
.koka-course-curriculum-table tbody tr.koka-course-curriculum-table__continuation > * {
  border-top: 0;
}
.koka-course-curriculum-table .koka-course-curriculum-table__year-label {
  position: sticky;
  z-index: 2;
  left: 0;
  border-right: 6px solid #fff;
  background: var(--course-table-year-bg);
  color: var(--course-table-ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
}
/* 縦書きの字形差に影響されず、学年の数字と「年」を同じ中心線へ揃える。 */
.koka-course-curriculum-table__year-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  line-height: 1;
}
.koka-course-curriculum-table__year-text > span {
  display: block;
  min-width: 1em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.koka-course-curriculum-table__year-text > span:first-child {
  font-weight: 500;
}
.koka-course-curriculum-table__year-text > span:last-child {
  font-size: 18px;
}
.koka-course-curriculum-table .koka-course-curriculum-table__track-label {
  position: sticky;
  z-index: 1;
  left: 48px;
  border-right: 6px solid #fff;
  background: var(--course-table-track-bg);
  color: var(--course-table-ink);
  font-size: 14px;
  font-weight: 500;
}
.koka-course-curriculum-table td > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 80px;
  padding: 6px 2px;
  overflow-wrap: anywhere;
}
.koka-course-curriculum-table__units {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
}
.koka-course-curriculum-table .koka-course-curriculum-table__choice {
  background: #fffceb;
}
.koka-course-curriculum-table .koka-course-curriculum-table__optional {
  background: #fadcea;
}
.koka-course-curriculum-table__choice > div + div {
  border-top: 1px solid var(--course-table-border);
}
.koka-course-curriculum-table td.koka-course-curriculum-table__choice:has(> div + div) > div {
  min-height: 40px;
  padding: 4px 2px;
}
.koka-course-curriculum__note {
  margin-top: 14px !important;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  text-align: right;
}
.koka-course-features__marker {
  padding: 0 0.06em;
  background-image: linear-gradient(
    transparent 76%,
    var(--course-color) 76%,
    var(--course-color) 94%,
    transparent 94%
  );
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 進路実績：見出しはグレー、数値・リストの印は各グラフの主色。 */
.koka-course-results {
  padding: 70px 0 65px;
  background: #f6f6f6;
}
.koka-course-results h2 {
  color: #666;
  font-size: 43px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
}
.koka-course-results__grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 340px;
  align-items: start;
  gap: 36px;
  margin-top: 44px;
}
.koka-course-results__rate {
  overflow: hidden;
  color: var(--course-color);
}
.koka-course-results__rate h3 {
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 44px;
  text-align: left;
}
.koka-course-results__rate > p {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  margin-top: 20px;
  line-height: 1.15;
}
.koka-course-results__rate strong {
  font-size: 157px;
  font-weight: 500;
}
.koka-course-results__rate p > span {
  font-size: 76px;
  font-weight: 500;
}
.koka-course-results__chart > img {
  display: block;
  width: 80%;
  height: auto;
  margin: 0 auto;
}
.koka-course-results__destinations {
  overflow: hidden;
}
.koka-course-results__destinations h3 {
  margin-bottom: 0;
  color: var(--course-color);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
}
.koka-course-results__destinations h3::after {
  content: '';
  display: block;
  width: min(310px, 100%);
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
}
.koka-course-results__destinations ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-top: 24px;
  font-size: 16px;
  line-height: 32px;
}
.koka-course-results__destinations li {
  position: relative;
  padding-left: 14px;
  white-space: nowrap;
}
.koka-course-results__destinations li::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 0;
  width: 2px;
  height: 20px;
  background: var(--course-color);
}
.koka-course-results__note {
  margin-top: 25px !important;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

/* 学習支援：Figmaの淡い青背景と、白いカードの構成。 */
.koka-course-support {
  padding: 115px 0 190px;
  background: #eff8ff;
}
.koka-course-support > div > h2 {
  position: relative;
  padding-bottom: 30px;
  color: #003b93;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
  text-align: center;
}
.koka-course-support > div > h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(50% - 48.5px);
  width: 97px;
  height: 6px;
  border-radius: 50px;
  background: #006dbc;
}
.koka-course-support__list {
  display: grid;
  gap: 44px;
  margin-top: 70px;
}
.koka-course-support-card,
.koka-course-voice {
  box-shadow: 0 4px 20px rgb(0 59 93 / 0.05);
}
.koka-course-support-card {
  padding: 44px 48px;
  border-radius: 20px;
  background: #fff;
}
.koka-course-support-card--photo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: start;
  gap: 58px;
  padding-top: 52px;
  padding-bottom: 52px;
}
.koka-course-support-card.koka-course-support-card--photos {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 40px;
}
.koka-course-support-card h3 {
  color: #003b93;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.koka-course-support-card h3 + p,
.koka-course--international .koka-course-support-card h3 + .koka-course-support-card__items {
  margin-top: 26px;
}
.koka-course-support-card p {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 30px;
}
.koka-course-support-card figure > img {
  width: 100%;
  aspect-ratio: 400/250;
  object-fit: cover;
  border-radius: 15px;
}
.koka-course-support-card figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 30px;
}
/* 補足説明は見出しと本文を同じ淡い色の枠にまとめる。 */
.koka-course-support-card__note {
  margin-top: 24px;
  padding: 22px 28px;
  border-radius: 8px;
  background: #fffceb;
  color: #141414;
}
.koka-course-support-card__note h4 {
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 30px;
}
.koka-course-support-card__note > p {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 30px;
}
.koka-course-voice {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
  border-radius: 15px;
  background: #fff;
}
.koka-course-voice__portrait {
  --course-portrait-scale: 0.867925;
  --course-portrait-height: 249.1px;
  --course-portrait-trim: 25.5px;
  position: relative;
  width: 184px;
  height: calc((var(--course-portrait-height) - var(--course-portrait-trim)) * var(--course-portrait-scale));
}
/* 写真とマスクを一体で縮小。画像上部の透明部分を除き、カードの上下余白を揃える。 */
.koka-course-voice__portrait-canvas {
  position: relative;
  top: calc(-1 * var(--course-portrait-trim) * var(--course-portrait-scale));
  display: block;
  width: 212px;
  height: var(--course-portrait-height);
  transform: scale(var(--course-portrait-scale));
  transform-origin: top left;
}
.koka-course-voice__background {
  position: absolute;
  top: 36.9px;
  left: 0;
}
.koka-course-voice__lower {
  position: absolute;
  top: 0;
  left: 12.53px;
  width: 189.239px;
  height: 252.319px;
  mask: url('/img/senior/premium/student-mask.svg') -11.53px 36.896px / 212.155px 212.155px no-repeat;
}
.koka-course-voice__lower > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.koka-course-voice__upper {
  position: absolute;
  top: -2px;
  left: 12px;
  width: 188px;
  height: 190px;
  overflow: hidden;
}
.koka-course-voice__upper > img {
  position: absolute;
  top: 0;
  left: -0.08%;
  width: 100.15%;
  max-width: none;
  height: 132.73%;
}
.koka-course-voice__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: #006dbc;
}
/* 文字数に合わせて余白を保つ、CSSの吹き出し。 */
.koka-course-voice__heading h3 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  min-height: 44px;
  padding: 9px 24px;
  border-radius: 999px;
  background: #006dbc;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  white-space: nowrap;
}
.koka-course-voice__heading h3::after {
  content: '';
  position: absolute;
  left: -9px;
  top: calc(50% - 5px);
  width: 18px;
  height: 23px;
  background: inherit;
  clip-path: polygon(0 100%, 100% 0, 100% 55%);
}
.koka-course-voice__label {
  flex: 0 0 auto;
}
.koka-course-voice__name {
  font-weight: 400;
  white-space: nowrap;
}
.koka-course-voice__heading > p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}
.koka-course-voice__heading strong {
  margin-left: 8px;
  font-size: 23px;
  font-weight: 400;
}
.koka-course-voice__text {
  margin-top: 16px !important;
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 27px;
}

/* 演出はJSの準備完了時に有効化。リンクへフォーカスした場合は即座に表示する。 */
.koka-course-page.is-course-motion [data-course-reveal] {
  opacity: 1;
  transform: none;
  transition:
    opacity 700ms ease var(--course-reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.22, 1, 0.36, 1) var(--course-reveal-delay, 0ms);
}
.koka-course-page.is-course-motion [data-course-reveal]:not(.is-course-visible) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}
.koka-course-page.is-course-motion [data-course-reveal]:focus-within {
  transition: none;
}

/* 小さいPC・タブレット。表の文字は縮めず、横スクロールで読む。 */
@media (max-width: 1399px) {
  .koka-course .koka-home-container {
    width: calc(100% - 160px);
  }
  .koka-course .koka-home-heading h2 {
    font-size: clamp(30px, 3.428571vw, 48px);
  }
  .koka-course-feature {
    grid-template-columns: minmax(0, 1fr) 38%;
    gap: 50px;
  }
  .koka-course-feature h3 {
    font-size: 32px;
  }
  .koka-course-results__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }
  .koka-course-results__rate h3 {
    font-size: 25px;
  }
  .koka-course-results__rate strong {
    font-size: 130px;
  }
  .koka-course-results__rate p > span {
    font-size: 64px;
  }
  .koka-course-results__destinations h3 {
    font-size: 20px;
  }
  .koka-course-results__destinations ul {
    grid-template-columns: 1fr;
  }
  .koka-course-support-card--photo {
    grid-template-columns: minmax(0, 1fr) 36%;
    gap: 36px;
  }
  .koka-course-support-card {
    padding: 36px;
  }
}
@media (max-width: 1023px) {
  .koka-course .koka-home-container {
    width: calc(100% - 64px);
  }
  .koka-course-breadcrumb {
    font-size: 12px;
  }
  .koka-course-hero {
    --course-hero-offset: 109px;
    --course-bottom-inset: 60px;
  }
  .koka-course-hero__english {
    font-size: 8.9cqw;
  }
  .koka-course-hero__copy {
    top: 28.5%;
    width: 28%;
  }
  .koka-course-hero__copy h1 {
    font-size: 24px;
    letter-spacing: 0.06em;
  }
  .koka-course-hero__photo {
    left: 34%;
    width: 66%;
  }
  .koka-course-hero__catch {
    font-size: 14px;
    line-height: 26px;
  }
  .koka-course-goal {
    right: 32px;
    bottom: calc(24px + 2.5%);
  }
  .koka-course-feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .koka-course-feature__photo {
    width: 100%;
    max-width: 580px;
  }
  .koka-course-feature-list {
    gap: 72px;
    margin-top: 48px;
  }
  .koka-course-results__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .koka-course-results__destinations {
    grid-column: 1 / -1;
  }
  .koka-course-results__destinations ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .koka-course-support > div > h2 {
    font-size: 32px;
  }
  .koka-course-support-card--photo {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .koka-course-support-card.koka-course-support-card--photos {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .koka-course-support-card figure {
    max-width: 580px;
  }
  .koka-course-voice {
    gap: 28px;
    padding: 28px;
  }
}

/* スマートフォン：Figma「未来創造コース」の大きな英字・右へずらした写真を参照。 */
@media (max-width: 767px) {
  .koka-course .koka-home-container {
    width: calc(100% - 40px);
  }
  .koka-course-breadcrumb {
    font-size: 11px;
    line-height: 20px;
  }
  .koka-course-breadcrumb ol {
    gap: 2px 7px;
  }
  .koka-course-breadcrumb li + li::before {
    margin-right: 7px;
  }
  .koka-course-hero {
    --course-hero-offset: 127px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    padding: clamp(10px, 2svh, 24px) 0 0;
  }
  .koka-course-hero::before {
    height: calc(100% - 96px);
  }
  .koka-course-hero__english {
    position: relative;
    top: auto;
    left: auto;
    flex: none;
    font-size: clamp(52px, min(20.96cqw, 14cqh), 104px);
    letter-spacing: 0.06em;
  }
  .koka-course-hero__copy {
    position: relative;
    top: auto;
    left: auto;
    flex: none;
    width: calc(100% - 60px);
    margin: 4px 30px 0;
  }
  .koka-course-hero__copy h1 {
    font-size: clamp(24px, min(8.205cqw, 5.1cqh), 36px);
    letter-spacing: 0.06em;
    line-height: 1.35;
  }
  .koka-course-hero__copy h1 > span {
    display: block;
  }
  .koka-course-hero__type {
    margin-top: clamp(6px, 1.8cqh, 18px) !important;
    padding-left: 0 !important;
    font-size: clamp(13px, 2.4cqh, 16px);
    line-height: 1.5;
  }
  .koka-course-hero__line {
    margin: 10px 0 clamp(10px, 2cqh, 16px);
    width: 47px;
  }
  .koka-course-hero__catch {
    max-width: 340px;
    padding-left: 0 !important;
    font-size: clamp(13px, 2.2cqh, 14px);
    line-height: 1.7;
  }
  .koka-course-hero__catch > span {
    display: inline;
  }
  .koka-course .koka-course-hero__photo {
    position: relative;
    top: auto;
    left: 14.87%;
    flex: 1 1 0;
    width: 85.13%;
    min-height: 128px;
    height: auto;
    margin: clamp(14px, 3cqh, 32px) 0 0;
  }
  .koka-course-hero__photo > img {
    object-position: 52% center;
  }
  .koka-course-goal {
    right: 16px;
    bottom: 16px;
    width: clamp(118px, 20cqh, 136px);
    height: clamp(118px, 20cqh, 136px);
    padding: 10px;
    font-size: clamp(13px, 2.5cqh, 16px);
  }
  .koka-course-goal > p {
    width: 80%;
    line-height: 1.4;
  }
  .koka-course-goal > strong {
    margin-top: 8px;
  }
  .koka-course-features {
    padding-top: 52px;
  }
  .koka-course .koka-home-heading > p {
    gap: 10px;
    font-size: 12px;
    line-height: 20px;
  }
  .koka-course .koka-home-heading h2 {
    margin-top: 10px;
    font-size: clamp(25px, 6.8vw, 36px);
    letter-spacing: 0.03em;
    line-height: 1.5;
  }
  .koka-course-feature-list {
    margin-top: 34px;
    gap: 48px;
  }
  .koka-course-feature {
    gap: 24px;
  }
  .koka-course-feature h3 {
    margin-top: 12px;
    font-size: 21px;
    letter-spacing: 0.03em;
    line-height: 1.6;
  }
  .koka-course-support > div > h2 > span {
    display: block;
    white-space: nowrap;
  }
  .koka-course-feature__text {
    margin-top: 14px;
    font-size: 14px;
    line-height: 27px;
  }
  .koka-course-feature__text > p + p {
    margin-top: 14px;
  }
  .koka-course-feature__photo img {
    border-radius: 10px;
  }
  .koka-course-feature__photo figcaption {
    margin-top: 8px;
    font-size: 11px;
  }
  .koka-course-curriculum {
    padding-top: 56px;
    padding-bottom: 44px;
  }
  .koka-course-scroll-hint {
    margin: 22px 0 12px !important;
    font-size: 11px;
    line-height: 20px;
    letter-spacing: 0;
  }
  .koka-course-curriculum__note {
    font-size: 11px;
    text-align: left;
  }
  .koka-course-results {
    padding: 40px 0;
  }
  .koka-course-results h2 {
    font-size: 29px;
  }
  .koka-course-results__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin-top: 22px;
  }
  .koka-course-results__rate {
    width: 100%;
    max-width: 360px;
  }
  .koka-course-results__rate h3 {
    padding: 8px 0;
    font-size: 25px;
    line-height: 36px;
  }
  .koka-course-results__rate strong {
    font-size: 100px;
  }
  .koka-course-results__rate p > span {
    font-size: 50px;
  }
  .koka-course-results__chart {
    width: 82%;
    max-width: 270px;
    justify-self: center;
    margin: 2px 0 4px;
  }
  .koka-course-results__destinations {
    grid-column: auto;
  }
  .koka-course-results__destinations h3 {
    font-size: 19px;
  }
  .koka-course-results__destinations h3::after {
    width: 100%;
    margin-top: 14px;
  }
  .koka-course-results__destinations ul {
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 28px;
  }
  .koka-course-results__destinations li {
    padding-left: 10px;
  }
  .koka-course-results__destinations li::before {
    top: 5px;
    height: 18px;
  }
  .koka-course-results__note {
    margin-top: 20px !important;
    font-size: 11px;
  }
  .koka-course-support {
    padding: 48px 0 64px;
  }
  .koka-course-support > div > h2 {
    font-size: 23px;
    letter-spacing: 0.02em;
    line-height: 1.6;
  }
  .koka-course-support > div > h2::after {
    width: 64px;
    height: 4px;
    left: calc(50% - 32px);
  }
  .koka-course-support__list {
    gap: 24px;
    margin-top: 35px;
  }
  .koka-course-support-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .koka-course-support-card--photo {
    gap: 22px;
  }
  .koka-course-support-card h3 {
    font-size: 20px;
    line-height: 1.5;
  }
  .koka-course-support-card h3 + p,
  .koka-course--international .koka-course-support-card h3 + .koka-course-support-card__items {
    margin-top: 14px;
  }
  .koka-course-support-card p {
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0.03em;
  }
  .koka-course-support-card__note {
    margin-top: 20px;
    padding: 16px 18px;
  }
  .koka-course-support-card__note h4 {
    font-size: 16px;
    line-height: 26px;
  }
  .koka-course-support-card__note > p {
    line-height: 27px;
  }
  .koka-course-support-card figcaption {
    font-size: 12px;
    line-height: 24px;
  }
  .koka-course-voice {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-areas: 'portrait heading' 'text text';
    gap: 16px;
    padding: 20px 16px;
    border-radius: 12px;
  }
  .koka-course-voice__portrait {
    --course-portrait-scale: 0.528302;
    grid-area: portrait;
    width: 112px;
  }
  .koka-course-voice__body {
    display: contents;
  }
  .koka-course-voice__heading {
    grid-area: heading;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .koka-course-voice__heading h3 {
    min-width: 128px;
    min-height: 40px;
    padding: 8px 20px;
    font-size: 15px;
  }
  .koka-course-voice__heading h3::after {
    left: -8px;
    width: 16px;
    height: 20px;
  }
  .koka-course-voice__heading > p {
    font-size: 14px;
    line-height: 1.6;
  }
  .koka-course-voice__grade {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
  }
  .koka-course-voice__heading strong {
    margin-left: 0;
    margin-right: 3px;
    font-size: 21px;
  }
  .koka-course-voice__text {
    grid-area: text;
    margin-top: 0 !important;
    font-size: 14px;
    line-height: 27px;
    letter-spacing: 0.03em;
  }
}
@media (max-width: 374px) {
  .koka-course-voice {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
  }
  .koka-course-voice__portrait {
    --course-portrait-scale: 0.452831;
    width: 96px;
  }
  .koka-course-voice__heading h3 {
    min-width: 116px;
    min-height: 38px;
    padding: 8px 16px;
    font-size: 14px;
  }
  .koka-course-voice__heading strong {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .koka-course-hero__english-track {
    animation: none;
  }
  .koka-course-page.is-course-motion [data-course-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 内容の差があるコースも、同じ文字・余白・写真ルールで表示する。 */
.koka-course-goal > strong > span {
  display: block;
}
.koka-course-feature.koka-course-feature--text {
  grid-template-columns: minmax(0, 1fr);
}
.koka-course-curriculum-table td.koka-course-curriculum-table__empty {
  border: 0;
  background: transparent;
}
/* パンフレットの75:41:34の比率で、数字・％・進学を一行に収める。 */
.koka-course-results__rate--with-suffix {
  container-type: inline-size;
}
.koka-course-results__rate--with-suffix > p {
  font-size: min(35.5cqw, 140px);
  line-height: 1;
  white-space: nowrap;
}
.koka-course-results__rate--with-suffix strong {
  font-size: 1em;
}
.koka-course-results__rate--with-suffix p > span {
  font-size: 0.546667em;
}
.koka-course-results__rate--with-suffix p > .koka-course-results__suffix {
  font-weight: 700;
  margin-left: 0.06em;
  font-size: 0.453333em;
  letter-spacing: 0.02em;
}
.koka-course-support-card__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
}
.koka-course-support-card .koka-course-support-card__photos > img {
  aspect-ratio: 4 / 3;
}
.koka-course-support-card__photos > img:first-child {
  object-position: center 78%;
}

/* 未来創造：独自授業の内容と写真を、共通の特色レイアウトに収める。 */
.koka-course-feature__photo--multiple {
  display: grid;
  align-content: center;
  gap: 18px;
}
.koka-course--future .koka-course-curriculum-table,
.koka-course--medical .koka-course-curriculum-table {
  width: 100%;
  min-width: 1200px;
}
.koka-course--international .koka-course-curriculum-table {
  width: 100%;
  min-width: 1200px;
}
.koka-course--international .koka-course-curriculum-table tr.koka-course-curriculum-table__continuation > td {
  border-top: 1px solid var(--course-table-border);
}
.koka-course-feature__section {
  margin-top: 24px;
}
.koka-course-feature__section h4 {
  display: table;
  margin-bottom: 14px;
  color: #003b93;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  background: linear-gradient(transparent 65%, var(--course-light) 65%);
}
.koka-course-feature__section > p + p {
  margin-top: 8px;
}
.koka-course-examples {
  display: grid;
  gap: 16px;
  margin-top: 18px !important;
}
.koka-course-examples li {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.koka-course-feature__text .koka-course-examples li {
  padding-left: 0;
}
.koka-course-feature__text .koka-course-examples li::before {
  content: none;
}
.koka-course-examples__number {
  flex: 0 0 auto;
  padding: 1px 9px;
  border-radius: 20px;
  background: #edf1f4;
  color: #536675;
  font-size: 13px;
  line-height: 1.7;
}
.koka-course-examples__subject {
  flex: 0 0 auto;
  padding: 0 10px;
  border: 1px solid #d2dce3;
  border-radius: 3px;
  color: #345e80;
  font-size: 14px;
}
.koka-course-examples li > p {
  flex: 1 1 260px;
  min-width: 0;
}
.koka-course--future .koka-course-results__rate h3 {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.65;
}
.koka-course-results__phrase {
  display: inline-block;
  white-space: nowrap;
}
/* 左列6件・右列5件を独立させ、右下の2行表記で順天堂大学が下がらないようにする。 */
.koka-course--future .koka-course-results__destinations ul {
  display: block;
  column-count: 2;
}
.koka-course--future .koka-course-results__destinations li {
  break-inside: avoid;
  margin-bottom: 8px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.koka-course--future .koka-course-results__destinations li:nth-child(7) {
  break-before: column;
}
.koka-course--future .koka-course-results__destinations li:nth-child(6),
.koka-course--future .koka-course-results__destinations li:last-child {
  margin-bottom: 0;
}

/* 放課後の生徒紹介：写真が左、プロフィールが右、本文と3つのキーワードが下。 */
.koka-course .koka-course-stories__intro {
  display: table;
  max-width: 100%;
  margin: 30px auto 0 !important;
  padding: 10px 24px;
  border-radius: 40px;
  background: #006fae;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}
.koka-course-support__list.koka-course-stories {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}
.koka-course-story {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 20px rgb(0 59 93 / 0.05);
  container-type: inline-size;
}
.koka-course-story__profile {
  position: relative;
  height: 184px;
}
.koka-course-story__portrait {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 76%;
  height: 184px;
  overflow: hidden;
}
.koka-course-story__portrait > img {
  position: absolute;
  top: 0;
  left: 0.07%;
  width: 105.79%;
  max-width: none;
  height: auto;
  transform: translateY(-10.833%);
}
.koka-course-story--culture .koka-course-story__portrait {
  width: 79%;
}
.koka-course-story--culture .koka-course-story__portrait > img {
  left: 0.03%;
  width: 102.97%;
  transform: translateY(-19.278%);
}
.koka-course-story--water-polo .koka-course-story__portrait {
  width: 68%;
}
.koka-course-story--water-polo .koka-course-story__portrait > img {
  left: 3.26%;
  width: 105.87%;
  transform: translateY(-17.944%);
}
.koka-course-story__badge {
  position: absolute;
  top: 5px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 46%;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: 50%;
  background: #ffa600;
  color: #fff;
  text-align: center;
}
.koka-course-story__grade {
  font-size: clamp(13px, 6cqw, 20px);
  font-weight: 600;
  line-height: 1.5;
}
.koka-course-story__badge h3 {
  margin: 2px 0 0;
  font-size: clamp(14px, 5.3cqw, 18px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  white-space: nowrap;
}
.koka-course-story__badge h3 > span {
  font-size: 0.75em;
}
.koka-course .koka-course-story__activity {
  width: 82%;
  margin-top: 8px !important;
  padding-top: 5px;
  border-top: 1px solid rgb(255 255 255 / 75%);
  font-size: clamp(16px, 6.6cqw, 22px);
  font-weight: 700;
  line-height: 1.5;
}
.koka-course-story__text {
  margin-top: 20px !important;
  font-size: 15px;
  letter-spacing: 0.025em;
  line-height: 1.9;
}
.koka-course .koka-course-story__tags {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
  list-style: none;
}
.koka-course-story__tags li {
  padding: 6px 12px;
  border: 1px solid #5392c3;
  border-radius: 7px;
  color: #006dbc;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.koka-course-story__arrow {
  align-self: center;
  width: 28px;
  height: 14px;
  margin-top: 10px;
  background: #5392c3;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.koka-course-stories__closing {
  margin-top: 64px !important;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.55;
  text-align: center;
}
.koka-course-stories__closing > span {
  display: inline-block;
}
.koka-course-stories__closing strong {
  color: #006fae;
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .koka-course-story {
    padding: 18px;
  }
  .koka-course-story__profile,
  .koka-course-story__portrait {
    height: 160px;
  }
}
@media (max-width: 1023px) {
  .koka-course-support__list.koka-course-stories {
    grid-template-columns: minmax(0, 1fr);
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding-top: 16px;
    container-type: inline-size;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero::before {
    height: calc(100% - 96px);
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__english {
    position: relative;
    top: auto;
    left: auto;
    font-size: 104px;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__copy {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 60px);
    margin: 4px 30px 0;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__copy h1 {
    font-size: 36px;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__type {
    margin-top: 16px !important;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__catch > span {
    display: inline;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__photo {
    position: relative;
    top: auto;
    bottom: auto;
    left: 14.87%;
    width: 85.13%;
    height: auto;
    aspect-ratio: 2200 / 1466;
    margin-top: 24px;
  }
}
@media (max-width: 767px) {
  /* 写真は元の比率を保ち、SPデザインに合わせる。 */
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero {
    height: auto;
    min-height: 0;
    container-type: inline-size;
  }
  :is(.koka-course--future, .koka-course--medical, .koka-course--international) .koka-course-hero__photo {
    flex: none;
    height: auto;
    aspect-ratio: 2200 / 1466;
    margin-top: 24px;
  }
  .koka-course-feature__section h4 {
    font-size: 17px;
  }
  .koka-course-examples {
    gap: 18px;
  }
  .koka-course-examples li > p {
    flex-basis: 100%;
  }
  .koka-course--future .koka-course-results__rate h3 {
    font-size: 22px;
    line-height: 1.55;
  }
  .koka-course--future .koka-course-results__phrase {
    display: block;
  }
  .koka-course .koka-course-stories__intro {
    padding: 10px 18px;
    font-size: 17px;
  }
  .koka-course-story {
    padding: 20px;
  }
  .koka-course-stories__closing {
    margin-top: 48px !important;
    font-size: 27px;
  }
  .koka-course-stories__closing > span {
    display: block;
  }
}
/* Figmaの切り抜き位置を保ち、共通の円形写真の幅に合わせて縮小する。 */
.koka-course--advanced .koka-course-voice__portrait {
  --course-portrait-height: 270.3px;
  --course-portrait-trim: 47.5px;
}
.koka-course--advanced .koka-course-voice__background {
  top: 59px;
}
.koka-course--advanced .koka-course-voice__lower {
  top: 2.56px;
  left: 22.55px;
  width: 178.081px;
  height: 267.121px;
  mask: url('/img/senior/future-advanced/student-mask.svg') -19.194px 60.143px / 207.299px 207.299px no-repeat;
}
.koka-course--advanced .koka-course-voice__upper {
  top: 0;
  left: 22px;
  width: 177px;
  height: 226px;
}
.koka-course--advanced .koka-course-voice__upper > img {
  left: -0.12%;
  width: 100.24%;
  height: 118.08%;
}
@media (max-width: 767px) {
  .koka-course-support-card__photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .koka-course-support-card__photos > img {
    aspect-ratio: 4 / 3;
  }
}

/* 看護医療：学年別の特色、2項目の進路実績、病院・大学との連携。 */
.koka-course--medical .koka-course-hero__photo > img {
  object-position: center;
}
.koka-course--medical .koka-course-hero__photo > picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.koka-course--medical .koka-course-hero__photo > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* 写真枠の高さを変えず、顔と手元が残る範囲で上下をトリミングする。 */
@media (min-width: 1280px) {
  .koka-course--medical .koka-course-hero__photo > picture > img {
    position: absolute;
    top: -7.692308%;
    left: 0;
    height: 128.205128%;
    object-position: center top;
  }
}
.koka-course-feature__year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  margin-right: 12px;
  padding: 3px 12px;
  border: 1px solid var(--course-color);
  border-radius: 999px;
  color: var(--course-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  vertical-align: 0.25em;
  white-space: nowrap;
}
.koka-course-results__rates {
  display: grid;
  gap: 28px;
}
.koka-course--medical .koka-course-results__rate h3 {
  padding: 10px 0;
  font-size: clamp(20px, 7.4cqw, 28px);
  line-height: 1.55;
}
.koka-course--medical .koka-course-results__destinations ul {
  grid-template-columns: 1fr;
}
.koka-course--medical .koka-course-results__destinations li {
  white-space: normal;
  overflow-wrap: anywhere;
}
.koka-course-topics-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.koka-course-topics-heading > h3 {
  min-width: 0;
}
.koka-course-topics-badge {
  position: relative;
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
}
.koka-course-topics-badge > img {
  display: block;
  max-width: none;
}
.koka-course-topics-badge > span {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--course-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}
.koka-course-topics-badge strong {
  font-size: 35px;
  letter-spacing: 0.03em;
}
.koka-course-support-card__details {
  grid-column: 1 / -1;
  padding: 22px 26px;
  border-radius: 12px;
  background: #f6f6f6;
}
.koka-course-support-card__details h4 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}
.koka-course-support-card__details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.koka-course-support-card__details li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.8;
}
.koka-course-support-card__details li::before {
  content: '';
  position: absolute;
  top: calc(0.9em - 0.3125em);
  left: 0;
  width: 0.625em;
  height: 0.625em;
  border-radius: 50%;
  background: var(--course-color);
}
.koka-course--medical .koka-course-support-card__photos > img:first-child {
  object-position: center;
}
/* Figmaの人物と背景円を一体で書き出した素材。上端の透明余白40pxだけを詰める。 */
.koka-course--medical .koka-course-voice__portrait--composite {
  height: auto;
  aspect-ratio: 216 / 230;
  overflow: hidden;
}
.koka-course-voice__portrait--composite > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* 国際挑戦科：Figmaの留学マップ、SAKURAマーク、2列のプログラム紹介。 */
.koka-course-hero__instagram {
  position: absolute;
  z-index: 4;
  bottom: 22px;
  left: 3.571429%;
  display: flex;
  align-items: center;
  gap: 26px;
  width: 250px;
  color: #fff;
}
.koka-course-hero__instagram:hover {
  opacity: 1;
}
.koka-course-hero__instagram:focus-visible {
  outline: 2px solid #003b93;
  outline-offset: 6px;
}
.koka-course-instagram__bubble {
  position: relative;
  display: flex;
  flex: 0 0 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: 50%;
  background: #ffa845;
  color: #fff;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.65;
  text-align: center;
}
.koka-course-instagram__bubble > span {
  white-space: nowrap;
}
.koka-course-instagram__bubble::after {
  content: '';
  position: absolute;
  top: 72px;
  left: 102px;
  width: 20px;
  height: 16px;
  background: url('/img/senior/international/instagram-tail.svg') no-repeat;
}
.koka-course-instagram__qr {
  display: block;
  flex: 0 0 112px;
  width: 112px;
  height: auto;
  outline: 1px solid #e3e3e3;
  outline-offset: -1px;
}
/* 国際挑戦科のリード文は、指定の3行を画面幅に合わせて表示する。 */
.koka-course--international .koka-course-hero__catch {
  max-width: none;
}
.koka-course--international .koka-course-hero__catch > span {
  display: block;
  white-space: nowrap;
}
@media (min-width: 1024px) {
  .koka-course--international .koka-course-hero {
    min-height: 580px;
  }
  .koka-course--international .koka-course-hero__catch {
    font-size: clamp(14px, 1.5cqw, 16px);
  }
}
@media (max-width: 1023px) {
  .koka-course--international .koka-course-hero {
    --course-instagram-space: calc(112px * 2700 / 2350 + 24px);
  }
  .koka-course--international .koka-course-hero::before {
    height: calc(100% - 96px - var(--course-instagram-space));
  }
  .koka-course-hero__instagram {
    position: relative;
    bottom: auto;
    left: auto;
    order: 2;
    align-self: flex-start;
    margin: 24px auto 0;
  }
  .koka-course--international .koka-course-hero__photo {
    order: 1;
  }
  .koka-course--international .koka-course-hero__emblem {
    bottom: calc(var(--course-instagram-space) + 24px);
  }
}
@media (max-width: 767px) {
  .koka-course--international .koka-course-hero__emblem {
    bottom: calc(var(--course-instagram-space) + 12px);
  }
}
.koka-course-hero__emblem {
  position: absolute;
  z-index: 3;
  right: clamp(36px, 5vw, 100px);
  bottom: 32px;
  width: 188px;
}
.koka-course-hero__emblem > img {
  display: block;
  width: 100%;
  height: auto;
}
.koka-course-feature__subtitle {
  margin-top: 10px;
  color: #888;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.koka-course-feature__lead {
  position: relative;
  padding-left: 20px;
}
.koka-course--international .koka-course-feature:first-child .koka-course-feature__photo img {
  object-position: center bottom;
}
.koka-course--international .koka-course-results__rate h3 {
  padding-left: 0;
  font-size: clamp(18px, 6.25cqw, 24px);
  letter-spacing: 0.05em;
}
.koka-course--international .koka-course-results__destinations ul {
  grid-template-columns: minmax(0, 1fr);
}
.koka-course--international .koka-course-results__destinations li {
  white-space: normal;
  overflow-wrap: anywhere;
}
.koka-course-support__list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.koka-course-support__list--grid > :first-child,
.koka-course-support__list--grid > .koka-course-voice {
  grid-column: 1 / -1;
}
.koka-course-support__list--grid > .koka-course-support-card--photo {
  align-items: center;
}
.koka-course-support__list--grid .koka-course-support-card h3 {
  text-wrap: balance;
}
.koka-course-support__list--grid .koka-course-title-phrase {
  display: block;
  max-width: 100%;
  white-space: normal;
}
.koka-course--international .koka-course-support-card__highlight {
  margin: 24px 0 0;
  padding: 0;
  background: none;
  font-size: 20px !important;
  font-weight: 600;
}
.koka-course--international .koka-course-support-card__highlight + p {
  margin: 10px 0;
}
.koka-course-support-card__illustration {
  display: block;
  width: min(100%, 587px);
  height: auto;
  margin-top: 22px;
}
.koka-course-support-card__items {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.koka-course-support-card__items > li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.koka-course-support-card__items > li::before {
  content: '';
  position: absolute;
  top: calc(0.9em - 0.3125em);
  left: 0;
  width: 0.625em;
  height: 0.625em;
  border-radius: 50%;
  background: var(--course-color);
}
.koka-course--international .koka-course-voice__portrait--composite {
  height: auto;
  aspect-ratio: 217 / 231;
  overflow: hidden;
}
@media (max-width: 1023px) {
  .koka-course-support__list--grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .koka-course-hero__emblem {
    right: 24px;
    bottom: 24px;
    width: 140px;
  }
}
@media (max-width: 767px) {
  .koka-course-hero__emblem {
    right: 12px;
    bottom: 12px;
    width: 84px;
  }
  .koka-course-feature__subtitle {
    margin-top: 8px;
    font-size: 14px;
  }
  .koka-course-support-card__items > li {
    font-size: 14px;
  }
}
@media (max-width: 767px) {
  .koka-course-feature__year {
    min-width: 48px;
    margin-right: 8px;
    padding: 2px 9px;
    font-size: 13px;
    vertical-align: 0.15em;
  }
  .koka-course-topics-heading {
    gap: 12px;
    margin-bottom: 20px;
  }
  .koka-course-topics-badge {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
  .koka-course-topics-badge > img {
    transform: scale(0.789474);
    transform-origin: top left;
  }
  .koka-course-topics-badge strong {
    font-size: 28px;
  }
  .koka-course-support-card__details {
    padding: 20px;
  }
}

/* 武田病院との共創：PCでは写真をリード文の横、補足説明を横並びに配置。 */
@media (min-width: 1024px) {
  .koka-course--medical .koka-course-support-card:first-child {
    align-items: start;
    row-gap: 0;
  }
  .koka-course--medical .koka-course-support-card:first-child > div:first-child {
    display: contents;
  }
  .koka-course--medical .koka-course-support-card:first-child .koka-course-topics-heading {
    grid-column: 1 / -1;
  }
  .koka-course--medical .koka-course-support-card:first-child > div:first-child > p {
    grid-column: 1;
  }
  .koka-course--medical .koka-course-support-card:first-child > figure {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
  }
  .koka-course--medical .koka-course-support-card:first-child .koka-course-support-card__note {
    grid-column: 1;
    grid-row: 4;
    align-self: stretch;
  }
  .koka-course--medical .koka-course-support-card:first-child .koka-course-support-card__details {
    grid-column: 2;
    grid-row: 4;
    align-self: stretch;
    margin-top: 24px;
  }
}

/* スマホの武田病院カード：写真の下に補足説明を続けて配置。 */
@media (max-width: 767px) {
  .koka-course--medical .koka-course-support-card:first-child {
    row-gap: 0;
  }
  .koka-course--medical .koka-course-support-card:first-child > div:first-child {
    display: contents;
  }
  .koka-course--medical .koka-course-support-card:first-child > figure {
    grid-row: 4;
    margin-top: 24px;
  }
  .koka-course--medical .koka-course-support-card:first-child .koka-course-support-card__note {
    grid-row: 5;
    margin-top: 24px;
  }
  .koka-course--medical .koka-course-support-card:first-child .koka-course-support-card__details {
    grid-row: 6;
    margin-top: 24px;
  }
}

/* 留学プログラム：説明の下にマップと写真を同じ高さで並べる。 */
@media (min-width: 1024px) {
  .koka-course--international .koka-course-support__list--grid > .koka-course-support-card:first-child {
    align-items: start;
    row-gap: 0;
  }
  .koka-course--international .koka-course-support-card:first-child > div:first-child {
    display: contents;
  }
  .koka-course--international .koka-course-support-card:first-child > div:first-child > :is(h3, p) {
    grid-column: 1 / -1;
  }
  .koka-course--international .koka-course-support-card:first-child .koka-course-support-card__illustration {
    grid-column: 1;
    grid-row: 4;
  }
  .koka-course--international .koka-course-support-card:first-child > figure {
    display: grid;
    grid-column: 2;
    grid-row: 4;
    align-self: stretch;
    margin-top: 22px;
  }
  .koka-course--international .koka-course-support-card:first-child > figure > img {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}

/* スマホの留学プログラム：文字の強弱と改行、見出し下の余白を調整。 */
@media (max-width: 767px) {
  .koka-course--international .koka-course-support-card__highlight {
    margin-top: 16px;
    font-size: 18px !important;
    line-height: 1.6;
    text-wrap: balance;
  }
}
