@charset "UTF-8";

/* ==========================================================================
   KDU Corporate Site - components.css
   --------------------------------------------------------------------------
   役割：Object（Component / 汎用Project）— 下層ページ共通のUIパーツ
   出自：短大サイト assets/css/content.css（3,355行）＋ sp.css（256行）
   方針（確定版260624・社内決裁）：
     - トークン / リセット / Layout / Utility は common.css 管理（本ファイルは使用のみ）
     - 学科テーマ（.hyg / .nrs / hygiene / nursing）は除外
     - アコーディオン命名を分離：H2自動型 = c-accordion / FAQ型 = c-faq
     - sp.css のアコーディオン制御を統合し、SP/PC を各メディアクエリ内で完結
     - !important は動作互換を優先しつつ、不要化したものを削減
   収録範囲：
     - c-* コンポーネント全般
     - 汎用 p-*（president / profile / access-map / site-map / portal-banner
       / support-block / card--support 系）
   除外（→ pages/ もしくは新規作成）：
     - 学科固有 p-*（student-voice / career-voice / facility / exams / flow
       / curriculum / voice / .nrs article 等）
     - p-news-header（→ pages/news.css）
     - #flow（campuslife 固有セクション）
   ========================================================================== */


/* ==========================================================================
   1. 見出し（Headings）
   ========================================================================== */

/* --- ページ主見出し（.c-heading-1）= 本文最上部の H1 ---
   中央寄せ・中央 64px のアクセント下線（::after／紺）のみ。役割は KV帯（c-mv）と分離。
   ※ 下線仕様はカンプ 01_02 準拠（カンプに全幅グレー線が無いため ::before は撤去）。 */
.c-heading-1 {
  position: relative;
  text-align: center;
  font-size: var(--fs-heading-h1);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-heading);
  padding-bottom: 0.875em;
  margin-bottom: 1.5em;
}

.c-heading-1::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 5px;
  background: var(--color-main);
}

/* --- <h2> レベル2見出し（大見出し）= 現行命名 .c-heading-2 ---
   出自：live style9301.css L934（左ボーダー9px＋薄背景）。
   色は theme.css の var(--color-main)、サイズ・余白は common.css のトークンで管理。 */
.c-heading-2 {
  font-size: var(--fs-heading-h2);
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);
  color: var(--color-heading);
  padding-bottom: 0;
  margin-top: var(--spacing-2xl);
  margin-bottom: 1em;
  position: relative;
  display: block;
  border-bottom: 4px solid var(--color-gray-350);
}

/* h2 内の補足（日付など）。SPアコーディオンで列が分かれないよう、見出しの文字全体を span で囲んで使う */
.c-heading-2__note {
  font-size: var(--fs-base);
  font-weight: var(--fw-normal);
}
@media (max-width: 768px) {
  .c-heading-2__note {
    font-size: var(--fs-sm);
  }
}
.c-heading-2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 60px;
  height: 4px;
  background: var(--color-main);
}

/* ---- 帯見出し（現行 heading-bg の受け皿） ---- */
.c-heading--band {
  background-color: var(--color-sub);
  padding: 16px 24px;
  border: none;
}
.c-heading--band::before,
.c-heading--band::after {
  display: none;
}
.c-heading--band.c-heading--center {
  text-align: center;
}
/* band と lvl3 の併用で padding-left が 0 に潰れるのを防ぐ（2026-08-24） */
.c-heading-lvl3.c-heading--band {
  padding-left: 24px;
}
@media (max-width: 768px) {
    .c-heading-lvl3.c-heading--band {
    padding-left: 16px;
  }
  .c-heading--band { padding: 12px 16px; }
}

/* --- <h3> レベル3見出し（中見出し）--- */
.c-heading-lvl3 {
  font-size: var(--fs-heading-h3);
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);
  color: var(--color-gray-700);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
  padding-left: 0;
  border-left: none;
}

/* h3 の上に区切り線（outline/facility・outline/policy・
   exams/voice/roundtable-discussion・campuslife/career で使用） */
.c-heading-lvl3--line {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
}

/* 明示的にベース色へ戻すバリアント */
.c-heading-lvl3--base {
  color: var(--color-gray-700);
}

/* 背景付き／左ライン付きバリアント */
.c-heading-lvl3--filled {
  background-color: var(--color-bg-light);
  padding: var(--spacing-sm) var(--spacing-md);
  border-left: 6px solid var(--color-main);
}

/* --- <h4> レベル4見出し（小見出し）--- */
.c-heading-lvl4 {
  font-size: var(--fs-heading-h4);
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);
  color: var(--color-gray-700);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
}

/* --- 見出しのSP調整 --- */
@media (max-width: 768px) {
  .c-heading-2 {
    margin-top: var(--spacing-xl);
  }

  .c-heading-lvl3 {
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    padding-left: 12px;
    border-left-width: 4px;
  }

  .c-heading-lvl4 {
    font-size: var(--fs-md);
    margin-top: 1.25rem;
  }

  .c-heading-lvl4::before {
    width: 10px;
    height: 10px;
    margin-right: 8px;
  }
}


/* ==========================================================================
   2. リスト（Lists）
   ========================================================================== */

/* --- リンクリスト（縦並び）--- */
.c-listLink--v {
  list-style: none;
  padding-left: 0;
  margin: var(--spacing-md) 0;
}

.c-listLink--v li {
  margin-bottom: 2px;
}

.c-listLink--v a {
  display: inline-block;
  position: relative;
  padding-left: 1.5em;
  padding-top: 2px;
  padding-bottom: 2px;
  color: var(--color-link);
  text-decoration: none;
  line-height: var(--lh-tight);
  transition: color var(--transition-base);
}

.c-listLink--v a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 先頭アイコン：絶対配置 */
.c-listLink--v a::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f111"; /* circle (●) */
  font-size: 0.75em;
  color: var(--color-main);
  margin-top: 0.3em;
  display: inline-block;
  text-decoration: none !important;
  line-height: 1;
}

/* 別アイコン（caret）バリアント */
.c-listLink--v--caret a::before {
  content: "\f0da"; /* caret-right (▶) */
}

@media (max-width: 768px) {
  .c-listLink--v a {
    padding: 0.4rem 0 0.4rem 1.5em !important;
    display: inline-block;
  }
  .c-listLink--v a::before {
    top: 0.52em !important;
    line-height: 1;
  }
}

/* --- 汎用リスト（・マーカー・live c-list 準拠）--- */
.c-list {
  list-style: none;
  padding-left: 0;
  margin: var(--spacing-md) 0;
}

.c-list li {
  position: relative;
  padding-left: 1.222em;
  line-height: var(--lh-normal);
  font-size: var(--fs-base);
}

.c-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.c-list li + li {
  margin-top: 0.667em;
}

/* 番号付き（counter式・[start="N"] 対応）*/
.c-list--number {
  counter-reset: list-note-counter;
}

.c-list--number li::before {
  content: counter(list-note-counter) ".";
  counter-increment: list-note-counter;
}

/* 注意書き番号付き（※N・番号付き注意書き専用）*/
.c-list--cautionNumber {
  font-size: var(--fs-sm);
  counter-reset: list-note-counter;
}

.c-list--cautionNumber li {
  padding-left: 2em;
}

.c-list--cautionNumber li::before {
  content: "※" counter(list-note-counter);
  counter-increment: list-note-counter;
}

.c-list--cautionNumber li + li {
  margin-top: 0;
}

/* [start="N"] による開始番号（c-list--number / --cautionNumber 共通）*/
.c-list--number[start="2"],  .c-list--cautionNumber[start="2"]  { counter-set: list-note-counter 1; }
.c-list--number[start="3"],  .c-list--cautionNumber[start="3"]  { counter-set: list-note-counter 2; }
.c-list--number[start="4"],  .c-list--cautionNumber[start="4"]  { counter-set: list-note-counter 3; }
.c-list--number[start="5"],  .c-list--cautionNumber[start="5"]  { counter-set: list-note-counter 4; }
.c-list--number[start="6"],  .c-list--cautionNumber[start="6"]  { counter-set: list-note-counter 5; }
.c-list--number[start="7"],  .c-list--cautionNumber[start="7"]  { counter-set: list-note-counter 6; }
.c-list--number[start="8"],  .c-list--cautionNumber[start="8"]  { counter-set: list-note-counter 7; }
.c-list--number[start="9"],  .c-list--cautionNumber[start="9"]  { counter-set: list-note-counter 8; }
.c-list--number[start="10"], .c-list--cautionNumber[start="10"] { counter-set: list-note-counter 9; }
.c-list--number[start="11"], .c-list--cautionNumber[start="11"] { counter-set: list-note-counter 10; }
.c-list--number[start="12"], .c-list--cautionNumber[start="12"] { counter-set: list-note-counter 11; }
.c-list--number[start="13"], .c-list--cautionNumber[start="13"] { counter-set: list-note-counter 12; }
.c-list--number[start="14"], .c-list--cautionNumber[start="14"] { counter-set: list-note-counter 13; }
.c-list--number[start="15"], .c-list--cautionNumber[start="15"] { counter-set: list-note-counter 14; }
.c-list--number[start="16"], .c-list--cautionNumber[start="16"] { counter-set: list-note-counter 15; }
.c-list--number[start="17"], .c-list--cautionNumber[start="17"] { counter-set: list-note-counter 16; }
.c-list--number[start="18"], .c-list--cautionNumber[start="18"] { counter-set: list-note-counter 17; }
.c-list--number[start="19"], .c-list--cautionNumber[start="19"] { counter-set: list-note-counter 18; }

/* --- 箇条書きリスト（●マーカー）--- */
.c-list-bullet {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--spacing-md) 0;
}

.c-list-bullet li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin-bottom: 0.25em;
}

.c-list-bullet li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--color-text);
  font-size: 0.8em;
  top: 0.1em;
}

/* --- 注意書きリスト（※マーク自動付与）--- */
.c-list-caution {
  list-style: none;
  padding-left: 0;
  margin: var(--spacing-md) 0;
}

.c-list-caution li {
  position: relative;
  padding-left: 1.5em;
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-sm);
  font-size: var(--fs-base);
  color: var(--color-gray-700);
}

.c-list-caution li:last-child {
  margin-bottom: 0;
}

.c-list-caution li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--fs-base);
  color: var(--color-gray-700);
  line-height: var(--lh-relaxed);
}

/* --- 番号付きリスト --- */
.c-list-numbered {
  list-style: decimal;
  padding-left: 1.5em;
  margin: var(--spacing-md) 0;
}

.c-list-numbered li {
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-sm);
  font-size: var(--fs-base);
  padding-left: 0.25em;
}

.c-list-numbered li:last-child {
  margin-bottom: 0;
}

.c-list-numbered .c-list {
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

/* --- カッコ数字リスト --- */
.c-list-paren {
  list-style: none;
  counter-reset: p-item;
  padding-left: 0;
  margin-top: 10px;
}

.c-list-paren > li {
  counter-increment: p-item;
  position: relative;
  padding-left: 2.2em;
  margin-bottom: 8px;
}

.c-list-paren > li::before {
  content: "(" counter(p-item) ")";
  position: absolute;
  left: 0.2em;
  font-weight: normal;
}

/* --- 箇条書き：極小版（テーブル内や狭いエリア用）--- */
.c-list-tight {
  list-style: none;
  padding-left: 0 !important;
  margin: 0 !important;
}

.c-list-tight li {
  position: relative;
  padding-left: 1.1em !important;
  line-height: 1.3 !important;
  margin-bottom: 2px !important;
  font-size: 0.9em;
}

.c-list-tight li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.55em;
  width: 4px;
  height: 4px;
  background-color: currentColor;
  border-radius: 50%;
  opacity: 0.6;
}


/* ==========================================================================
   3. テーブル（Tables）
   --------------------------------------------------------------------------
   <div class="c-table-wrapper">
     <table class="c-table c-table--row"> ... </table>
   </div>
   ※ --table-head-bg / --table-side-bg / --table-side-text は common.css 管理
   ========================================================================== */

/* --- テーブルラッパー（横スクロール対応・外枠と角丸）--- */
.c-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: var(--spacing-xl);
  border-radius: 8px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

/* [core修正 2026-07 / 歯学部先行] ラッパー内の .c-table は上下marginを持たない。
   外側の余白は .c-table-wrapper の margin-bottom が担う。法人・短大へ同期が必要 */
.c-table-wrapper .c-table {
  margin-block: 0;
}

.c-table-wrapper ul,
.c-table-wrapper ol {
  margin: 8px 0;
  padding-left: 1.2em;
}

.c-table-wrapper li {
  margin-bottom: 4px;
  line-height: 1.5;
}

/* スクロールバーのカスタマイズ */
.c-table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.c-table-wrapper::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: var(--radius-pill);
}
.c-table-wrapper::-webkit-scrollbar-track {
  background: var(--color-gray-200);
}

/* --- 基本テーブル --- */
.c-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-xl) 0;
  background: #ffffff;
  min-width: 600px;
}

.c-table th,
.c-table td {
  padding: var(--spacing-md);
  border: 1px solid var(--color-border-light);
  text-align: left;
  line-height: var(--lh-normal);
}

.c-table th {
  background-color: var(--color-gray-100);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  width: 30%;
}

/* ストライプ（偶数行に背景色）*/
.c-table--row tbody tr:nth-child(even) {
  background-color: var(--color-gray-25);
}

@media (max-width: 768px) {
  .c-table {
    font-size: var(--fs-sm);
  }
  .c-table th,
  .c-table td {
    padding: 10px;
  }
}

/* --- 横スクロールテーブル（content系・live c-table--scroll 準拠）---
   SP で横スクロール。cell-sticky を含むセルを1列目固定。
   幅は w-tbl_md / w-tbl_sm で調整可。 */
@media (max-width: 768px) {
  .c-table--scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .c-table--scroll table {
    width: 320vw;
  }
  .c-table--scroll table.w-tbl_md { width: 213.33vw; }
  .c-table--scroll table.w-tbl_sm { width: 160vw; }
  .c-table--scroll th[class*="cell-sticky"],
  .c-table--scroll td[class*="cell-sticky"] {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 1;
  }
  /* border-collapse: collapse のままだとセルの position:sticky が効かない
     （Blink/WebKit 既知制約・rowspan で顕著）。separate 化して機能させる。
     separate で border が二重化するのを避けるため、セル境界は右・下の片側指定に
     寄せ、外周の上辺・左辺はテーブル側で補う（c-table--style-01 L527-533 と同方式）。 */
  .c-table--scroll .c-table {
    border-collapse: separate;
    border-spacing: 0;
    border-top: 1px solid var(--color-border-light);
    border-left: 1px solid var(--color-border-light);
  }
  .c-table--scroll .c-table th,
  .c-table--scroll .c-table td {
    border: none;
    border-right: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
  }
}

/* --- スタイル01（区切り線モデル・横スクロール固定列対応）--- */
/* [core修正 2026-07 / 歯学部先行] rgba()をcolor-mix()へ是正（表記のみ・見た目変更なし）。法人・短大へ同期が必要 */
.c-table--style-01 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  font-size: var(--fs-sm);
  min-width: 800px;
  border: none;
}

.c-table--style-01 thead th {
  background-color: var(--table-head-bg);
  color: #fff;
  font-weight: var(--fw-bold);
  padding: 12px;
  border-right: 1px solid color-mix(in srgb, #fff 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #fff 20%, transparent);
  text-align: center;
  white-space: nowrap;
}

/* [core修正 2026-07 / 歯学部先行] 5列以上の thead th で基底 .c-table th の width:30% が
   合計150%を主張し崩れるため打ち消し。法人・短大へ同期が必要 */
.c-table--style-01 thead th {
  width: auto;
}

/* wrapHead：見出しが長い表で折り返しを許可する（exams/outline の共通テスト利用・2026-08-24） */
.c-table--style-01.c-table--wrapHead thead th {
  white-space: normal;
}

/* [core追加 2026-09 / 歯学部先行] 左列を内容幅にして折り返しを止める。
   このクラスが付いたテーブルにだけ効くため、既存の表には影響しない。
   法人・短大へ同期が必要 */
.c-table--style-01.c-table--nowrapSide tbody th {
  width: 1%;
  white-space: nowrap;
}

.c-table--style-01 th,
.c-table--style-01 td {
  padding: 10px 12px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  line-height: var(--lh-normal);
}

.c-table--style-01 thead tr:first-child th:last-child {
  border-right: 1px solid color-mix(in srgb, #fff 20%, transparent);
}
.c-table--style-01 tbody tr td:last-child,
.c-table--style-01 tbody tr th:last-child {
  border-right: 1px solid var(--color-border);
}
.c-table--style-01 tbody tr td:last-child {
  border-right: none;
}

/* 最終行の底線を消す（wrapper底枠との二重線防止） */
.c-table--style-01 tr:last-child th,
.c-table--style-01 tr:last-child td {
  border-bottom: none;
}

/* 1列目（区分） */
.c-table--style-01 tbody th {
  background-color: var(--table-side-bg);
  color: var(--table-side-text);
  font-weight: var(--fw-bold);
  width: 20%;
}

/* thead を使わず1行目を見出し行にしている表（現行由来）にも紺を当てる */
.c-table--style-01 tbody tr:first-child:not(:has(td)) th {
  background-color: var(--table-head-bg);
  color: #fff;
  width: auto;
}

/* thead を持つ表では、tbody 先頭行の救済ルールを打ち消す（2026-08-24）
   615行の :not(:has(td)) が thead の有無を見ていないため */
.c-table--style-01:has(thead) tbody tr:first-child:not(:has(td)) th {
  background-color: var(--table-side-bg);
  color: var(--table-side-text);
  width: 20%;
}

/* 中央揃えバリアント */
.c-table--style-01.c-table--center th,
.c-table--style-01.c-table--center td {
  text-align: center;
}
.c-table--style-01.c-table--center tbody th {
  text-align: center;
}
.c-table--style-01.c-table--center a {
  justify-content: center;
}

/* 左列メインカラー固定・白文字 */
.c-table--style-01.c-table--side-main tbody th {
  background-color: var(--color-main);
  color: #ffffff;
}

/* 左列メインカラー背景・白文字（罫線つき） */
.c-table--style-01.c-table--fill-main tbody th {
  background-color: var(--color-main);
  color: #ffffff;
  border-right: 1px solid color-mix(in srgb, #fff 20%, transparent);
  border-bottom: 1px solid color-mix(in srgb, #fff 20%, transparent);
}

/* rowspan行の右ボーダー維持 */
.c-table--style-01 tbody tr td.u-border-right,
.c-table--style-01 tbody tr th.u-border-right {
  border-right: 1px solid var(--color-border) !important;
}

/* SP：1列目固定（Sticky Column） */
@media (max-width: 768px) {
  .c-table--style-01 {
    min-width: 650px;
    font-size: var(--fs-sm);
  }

  .c-table--style-01 thead th:first-child,
  .c-table--style-01 tbody th {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 2;
  }

  .c-table--style-01 thead th:first-child::after,
  .c-table--style-01 tbody th::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to right, rgba(0,0,0,0.05), transparent);
    pointer-events: none;
  }

  .c-table--style-01 thead th:first-child {
    z-index: 3;
  }

  .c-table--style-01.c-table--side-main tbody th {
    background-color: var(--color-main);
  }

  .c-table--style-01.c-table--fill-main tbody th {
    background-color: var(--color-main) !important;
  }
}

/* --- スタイル02（時間割専用テーブル）--- */
.c-table--style-02 {
  width: 100%;
  border-collapse: collapse;
  background-color: #B3DAF5;
  font-size: var(--fs-sm);
  min-width: 560px;
}

.c-table--style-02 thead th {
  background-color: var(--color-main);
  color: #ffffff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  padding: 5px 8px;
  text-align: center;
  border: 2px solid var(--color-main);
}

.c-table--style-02 tbody th {
  background-color: var(--color-sub);
  color: var(--color-gray-700);
  font-weight: var(--fw-bold);
  font-size: var(--fs-base);
  text-align: center;
  padding: 4px 12px;
  white-space: nowrap;
  min-width: 130px;
  border: 2px solid var(--color-main);
}

.c-table--style-02 tbody td {
  background-color: var(--color-sub);
  text-align: center;
  vertical-align: middle;
  padding: 4px;
  border: 2px solid var(--color-main);
  line-height: var(--lh-normal);
  font-size: var(--fs-base);
}

.c-table--style-02 td[rowspan] {
  vertical-align: middle;
}

.c-table-wrapper:has(.c-table--style-02) {
  border: 2px solid var(--color-main);
  border-radius: 0;
  box-shadow: none;
}

/* --- ScrollHint 表示調整（潜り込み・はみ出し防止）--- */
.js-scroll-hint,
.scroll-hint {
  position: relative !important;
  z-index: 0 !important;
}

.scroll-hint-icon-wrap {
  z-index: 10 !important;
  right: 15px !important;
}

.scroll-hint-icon {
  background-color: rgba(102, 102, 102, 0.9) !important;
}

.c-table-wrapper.js-scroll-hint,
.scroll-hint-scrollable-wrap {
  overflow-y: hidden !important;
}


/* ---- c-table--staff｜教員紹介（28ページ） ---- */
.c-table--staff { width: 100%; table-layout: fixed; }

.c-table--staff th,
.c-table--staff td { border: none; }

.c-table--staff tr:nth-child(odd) th,
.c-table--staff tr:nth-child(odd) td { background: #f2f2f2; }

.c-table--staff tr:nth-child(even) th,
.c-table--staff tr:nth-child(even) td { background: transparent; }

.c-table--staff th {
  width: 30%;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
  padding: 24px 16px 24px 24px;
}

.c-table--staff td {
  vertical-align: top;
  padding: 24px 24px 24px 0;
  line-height: 1.9;
}

/* ラッパーの箱を消す */
.c-table-wrapper:has(.c-table--staff) {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 24px;
}

/* staff：横スクロールを出さない（現行と同じ） */
.c-table-wrapper:has(.c-table--staff) {
  overflow-x: visible;
}
.c-table--staff {
  min-width: 0;
}

@media (max-width: 768px) {
  .c-table--staff th { width: 28%; padding: 12px 8px 12px 12px; }
  .c-table--staff td { padding: 12px 12px 12px 0; line-height: 1.8; }
}

/* ==========================================================================
   4. テキスト・段落（Typography）
   ========================================================================== */

.c-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5em;
}

/* リード文（導入文）※後方定義を採用：左寄せ・薄グレー */
.c-text--lead {
  font-size: var(--fs-md);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
  text-align: left;
  display: block;
  margin: 0;
}

p {
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-md);
}

/* ※ .c-para 系（CMS残渣）は不採用。本文は素の <p>／<figure> を使用し、
   配置は u-ta_center / u-ta_left / u-ta_right（common.css）で行う。 */

@media (max-width: 768px) {
  .c-text--lead {
    font-size: var(--fs-base);
    padding: var(--spacing-md);
  }
}


/* ==========================================================================
   5. アコーディオン（FAQ型）= c-faq
   --------------------------------------------------------------------------
   構造：.c-faq > .c-faq__item > .c-faq__header + .c-faq__content
   ※ 旧 .c-accordion__* から改名（H2自動型 .c-accordion-* との混同防止）
   ※ JSは .c-faq__item に .is-open を付与（common.js 側 Step1-5で対応）
   ========================================================================== */

   /* c-box--outline：枠で囲んだ補足ボックス（education/appeal の共用試験ほか・2026-08-24）
   現行は水色 #00BFFF・角丸60px の直書きだったが、新coreの色に寄せた */
.c-box--outline {
  border: 3px solid var(--color-main);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  background-color: #ffffff;
}

.c-box--outline > *:first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .c-box--outline {
    padding: var(--spacing-lg);
    border-width: 2px;
  }
}

.c-faq {
  width: 100%;
  margin-bottom: var(--spacing-xl);
}

.c-faq__item {
  border: 1px solid var(--color-border-light);
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #ffffff;
  transition: box-shadow var(--transition-base);
}

.c-faq__item.is-open {
  box-shadow: var(--shadow-sm);
}

.c-faq__header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background-color: #ffffff;
  border: none;
  cursor: pointer;
  text-align: left;
  outline: none;
  transition: background-color var(--transition-fast);
}

.c-faq__header:hover {
  background-color: var(--color-gray-25);
}

/* Qアイコン */
.c-faq__icon-q {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-main);
  color: #ffffff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  flex-shrink: 0;
  margin-right: 12px;
}

.c-faq__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: var(--lh-normal);
  flex-grow: 1;
  padding-right: 12px;
}

/* 右端の矢印 */
.c-faq__arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
  transform: rotate(45deg);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.c-faq__item.is-open .c-faq__arrow {
  transform: rotate(-135deg);
}

/* コンテンツエリア（アニメーション） */
.c-faq__content {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  visibility: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}

.c-faq__item.is-open .c-faq__content {
  border-top: 1px solid var(--color-border-light);
  max-height: 1000px;
  visibility: visible;
  opacity: 1;
}

/* 本文の余白とAアイコン配置 */
.c-faq__body {
  padding: 20px 25px 20px 70px;
  position: relative;
  display: block;
}

/* Aアイコン */
.c-faq__icon-a {
  position: absolute;
  left: 25px;
  top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: #ffffff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  flex-shrink: 0;
  margin-right: 0;
}

.c-faq__text {
  margin: 0 0 var(--spacing-md) 0;
  padding-top: 4px;
}

@media (max-width: 768px) {
  .c-faq__body {
    padding: 5px 5px 5px 55px;
    position: relative;
    display: block;
  }

  .c-faq__icon-a {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 28px;
    height: 28px;
    margin-right: 0;
  }

  .c-faq__text {
    padding-top: 2px;
    margin-bottom: var(--spacing-sm);
  }

  .c-faq__title {
    padding: 12px 40px 12px 15px;
    font-size: 0.9375rem;
  }

  .c-faq__content {
    padding: 15px;
  }
}


/* ==========================================================================
   Q&A（c-faq）一括開閉ボタン
   --------------------------------------------------------------------------
   common.js の initFaqExpandAll() が生成。HTML 側には書かない。
   c-faq は PC・SP とも開閉するため、ボタンも両方で表示する。
   ========================================================================== */
.c-faq-expandAll {
  display: block;
  margin-left: auto;
  margin-bottom: var(--spacing-sm);
  padding: 8px 20px;
  background: #fff;
  border: 1px solid var(--color-main);
  color: var(--color-main);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  cursor: pointer;
}


/* ==========================================================================
   6. アコーディオン（H2自動型）= c-accordion
   --------------------------------------------------------------------------
   common.js が .c-box-content 内の .c-heading-2 から自動生成。
   - SP（≤768px）：見出しを開閉トリガー化（＋/－アイコン）
   - PC（≥769px）：通常は展開固定。.c-accordion--all は PC でも開閉可
   ※ 旧 sp.css を統合し、SP/PC を各メディアクエリ内で完結させた（PC定義の漏れ解消）
   ========================================================================== */

/* セクション間マージンの統一（item に付与された u-mt-* を無効化） */
.c-accordion-item {
  margin-top: 0 !important;
}

/* --- SP（≤768px）：開閉UI --- */
@media (max-width: 768px) {

  /* 見出しベース：トリガー化に向けた調整 */
  .c-box-content .c-heading-2 {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    background: transparent;
    border-left: none;
    border-bottom: 1px solid var(--color-border-light);
  }

  /* 基本の紺セグメント（::after）はSPアコーディオン・トリガーに出さない
     （--no-accordion は除外＝下線型を維持） */
  .c-box-content .c-heading-2:not(.c-heading-2--no-accordion)::after {
    display: none;
  }

  /* アコーディオン化した H2 は上マージンを詰める（間延び解消）。
     HTML 側の u-m_t*（!important・例: u-m_t10=50px）も打ち消すため、
     高い詳細度＋!important で 0 に固定。区切り線・＋アイコンは維持。
     先頭アコーディオンと c-heading-1 の間隔は h1 の margin-bottom で確保。 */
  .c-box-content .c-accordion-item > .c-heading-2 {
    margin-top: 0 !important;
  }

  /* トリガーボタン */
  .c-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding: 20px 50px 20px 15px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: var(--fs-base);
    font-weight: var(--fw-bold);
    color: var(--color-gray-700);
    position: relative;
    line-height: var(--lh-tight);
  }

  .c-accordion-trigger:hover,
  .c-accordion-trigger:active {
    background: #fff;
  }

  /* ＋／－アイコン（共通） */
  .c-accordion-trigger::before,
  .c-accordion-trigger::after {
    content: "";
    position: absolute;
    top: 50%;
    background-color: var(--color-main);
    transition: all var(--transition-base);
  }

  .c-accordion-trigger::before {
    right: 20px;
    width: 16px;
    height: 2px;
    transform: translateY(-50%);
  }

  .c-accordion-trigger::after {
    right: 27px;
    width: 2px;
    height: 16px;
    transform: translateY(-50%);
  }

  /* 開いている時：縦棒を回転で消す（マイナス化） */
  .c-accordion-item.is-active .c-accordion-trigger::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }

  /* 番号部分：折り返し禁止 */
  .c-accordion-trigger__num {
    flex-shrink: 0;
    white-space: nowrap;
    padding-top: 0.1em;
  }

  /* コンテンツエリア */
  .c-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base) ease-out;
    background-color: #fff;
  }

  .c-accordion-item.is-active .c-accordion-content {
    border-bottom: 1px solid var(--color-border-light);
  }

  .c-accordion-content .c-listLink--v {
    padding: 15px;
    margin: 0;
  }

/* アコーディオン化しない H2（SPでもPCデザイン＝下線型を維持） */
  .c-box-content .c-heading-2--no-accordion {
    display: block !important;
    width: auto !important;
    padding-left: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    border-left: none !important;
    border-bottom: 4px solid var(--color-gray-350) !important;
    margin-top: var(--spacing-2xl) !important;
    margin-bottom: var(--spacing-xl) !important;
    font-size: var(--fs-heading-h2) !important;
    position: relative;
  }
    /* 帯見出しを併用しているものはSPでも帯を維持する（2026-08-28） */
    .c-box-content .c-heading-2--no-accordion.c-heading--band {
      background-color: var(--color-sub) !important;
      border-bottom: none !important;
      padding: 12px 16px !important;
    }
}

/* --- PC（≥769px）：展開固定／--all は開閉可 --- */
@media (min-width: 769px) {

  /* SP専用アコーディオン（--all なし）：PCでは常に展開・操作不可 */
  .c-accordion-item:not(.c-accordion--all) .c-accordion-trigger {
    width: 100%;
    padding: 0 0 var(--spacing-sm) 0;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    display: block;
    pointer-events: none;
    cursor: default;
  }

  .c-accordion-item:not(.c-accordion--all) .c-accordion-trigger::before,
  .c-accordion-item:not(.c-accordion--all) .c-accordion-trigger::after {
    display: none;
  }

  .c-accordion-item:not(.c-accordion--all) .c-accordion-content {
    max-height: none;
    overflow: visible;
  }

  /* 両用アコーディオン（--all）：PCでも開閉可・初期は開 */
  .c-accordion--all .c-accordion-trigger {
    width: 100%;
    padding: 0 45px var(--spacing-sm) 0;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    display: block;
    pointer-events: auto;
    cursor: pointer;
  }

  .c-accordion--all .c-accordion-trigger::before,
  .c-accordion--all .c-accordion-trigger::after {
    content: "";
    display: block;
    position: absolute;
    top: calc(50% - 6px);
    background-color: var(--color-main);
    transition: all var(--transition-base);
  }

  .c-accordion--all .c-accordion-trigger::before {
    right: 20px;
    width: 28px;
    height: 3px;
    transform: translateY(-50%);
  }

  .c-accordion--all .c-accordion-trigger::after {
    right: 32px;
    width: 3px;
    height: 28px;
    transform: translateY(-50%);
  }

  .c-accordion--all.is-active .c-accordion-trigger::after {
    transform: translateY(-50%) rotate(90deg);
    opacity: 0;
  }

  /* max-height は JS の inline style に委ねる（!important を付けない） */
  .c-accordion--all .c-accordion-content {
    overflow: hidden;
    background-color: #fff;
    transition: max-height var(--transition-base) ease-out;
  }

  .c-accordion--all.is-active .c-accordion-content {
    border-bottom: 1px solid var(--color-border-light);
  }
}


/* ==========================================================================
   アコーディオン「すべて開く」ボタン（SP専用）
   --------------------------------------------------------------------------
   common.js の initAccordionExpandAll() が生成。HTML 側には書かない。
   PC（≥769px）はアコーディオンが展開固定のため、ボタン自体を出さない。
   ========================================================================== */
.c-accordion-expandAll {
  display: none;
}

@media (max-width: 768px) {
  .c-accordion-expandAll {
    display: block;
    margin-left: auto;
    margin-bottom: var(--spacing-sm);
    padding: 8px 20px;
    background: #fff;
    border: 1px solid var(--color-main);
    color: var(--color-main);
    font-family: inherit;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    cursor: pointer;
  }
}


/* ==========================================================================
   7. グリッド／ボックスカラム（Grid System）
   ========================================================================== */

/* グリッド型（3/4カラム・汎用グリッド）
   ※ .c-boxCol2 は後述の flex 定義が支配するため、ここには含めない */
.c-boxCol3,
.c-boxCol4,
.c-grid,
.c-grid--3col,
.c-grid--4col {
  display: grid;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.c-boxCol3, .c-grid--3col { grid-template-columns: repeat(3, 1fr); }
.c-boxCol4, .c-grid--4col { grid-template-columns: repeat(4, 1fr); }

/* 子要素 */
.c-boxCol {
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .c-boxCol3,
  .c-boxCol4,
  .c-grid,
  .c-grid--3col,
  .c-grid--4col {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-md);
  }
}

/* --- 2カラム（flex：写真＋テキスト）--- */
.c-boxCol2 {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
}

/* type1：左カラム固定幅（写真） */
.c-boxCol2--type1 > .c-boxCol:first-child {
  flex: 0 0 250px;
  max-width: 250px;
}
.c-boxCol2--type1 > .c-boxCol:last-child {
  flex: 1;
  min-width: 0;
}

/* 施設・設備紹介（outline/facility 限定・2026-08-24）
   h3 の上に区切り線／画像を左に置く箇所の左右反転 */
.p-facility .c-heading-lvl3 {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
}

@media (min-width: 769px) {
  .p-facility .c-boxCol2--reverse {
    flex-direction: row-reverse;
  }
}

/* photoNarrow：写真が狭い2カラム（現行 column-img-left / column-img-right の再現）
   左右はDOM順で決まるため、幅は :first-child ではなく子のクラスで指定する。
   出典：現行 style.css の .column-img-left-img = 25% / .column-img-left-txt = 73% */
.c-boxCol2--photoNarrow > .c-boxCol--photo {
  flex: 0 0 32%;
  max-width: 32%;;
}
.c-boxCol2--photoNarrow > .c-boxCol--text {
  flex: 1;
  min-width: 0;
}

/* photoWide：写真側を広めに。outline/staff/index の研究紹介カード用（2026-08-24 追加） */
.c-boxCol2--photoWide > .c-boxCol--photo {
  flex: 0 0 40%;
  max-width: 40%;
}

.c-boxCol2--photoWide > .c-boxCol--text {
  flex: 1;
  min-width: 0;
}

/* 研究紹介の教員カード（outline/staff/index 限定）── 帯見出しと余白の調整（2026-08-24） */
.c-boxCol2--photoWide .c-heading-lvl3.c-heading--band {
  font-size: 1.25rem;
  margin-top: 0;
}

.c-boxCol2--photoWide .c-boxCol--text > p:last-child:not(.column_img_left_default):not(.c-boxCol__title):not(.c-boxCol__para) {
  margin-top: 32px;
}

/* KEYWORD 見出し（研究紹介）── 下に区切り線、グループ間を広くとる（2026-08-24） */
.c-heading--keyword {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-gray-300);
}

.c-boxCol2 + .c-heading--keyword {
  margin-top: 80px;
}

.c-boxCol2--photoWide > .c-boxCol--photo > p:first-child:not(.column_img_left_default):not(.c-boxCol__title):not(.c-boxCol__para),
.c-boxCol2--photoWide > .c-boxCol--photo img:not([class]) {
  margin-top: 0;
}

/* photoFixed：写真の幅が固定の2カラム（教員紹介）
   出典：現行 style.css の .p-outline_info__content__list__img = 225px */
.c-boxCol2--photoFixed > .c-boxCol--photo {
  flex: 0 0 225px;
  max-width: 225px;
}
.c-boxCol2--photoFixed > .c-boxCol--text {
  flex: 1;
  min-width: 0;
}

/* photo3：写真3枚を均等幅で並べる（outline/staff/research-01 の3枚組・2026-08-24） */
.c-boxCol2--photo3 > .c-boxCol {
  flex: 1 1 0;
  min-width: 0;
}

.c-boxCol2--photo3 .button-img3-img {
  margin-top: 0;
}

.c-boxCol2--photo3 .button-img3-img img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .c-boxCol2--photo3 > .c-boxCol {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
}

/* 写真下のプロフィールテキスト */
.c-boxCol p:not(.column_img_left_default):not(.c-boxCol__title):not(.c-boxCol__para) {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin-top: var(--spacing-sm);
  margin-bottom: 0;
}

/* 写真ラッパー段落 */
.column_img_left_default {
  margin: 0;
}
.column_img_left_default img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* テキストエリア内パーツ */
.c-boxCol__title {
  display: inline;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4em;
}

.c-boxCol__para {
  margin-top: 1.5em;
  clear: both;
}

/* スケジュール画像・収支画像 */
.c-boxCol__schedule-img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.c-boxCol__income-wrap {
  display: inline-flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
  max-width: 100%;
}

.c-boxCol__income-wrap img {
  display: block;
  width: auto;
  height: auto;
  max-width: 500px;
}

.c-boxCol img:not([class]) {
  display: block;
  width: 100%;
  height: auto;
  margin-top: var(--spacing-sm);
}

/* 部活セクションの活動写真 */
.c-boxCol .c-boxCol__club-photo {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  margin-top: var(--spacing-md);
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-sm);
}

/* PC：左右反転 2カラム */
@media (min-width: 769px) {
  .c-boxCol2--reverse {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: var(--spacing-xl);
  }
  .c-boxCol2--reverse > .c-boxCol:first-child {
    flex: 0 0 40%;
  }
  .c-boxCol2--reverse > .c-boxCol:last-child {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .c-boxCol2 {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  .c-boxCol2--type1 > .c-boxCol:first-child {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .c-boxCol2--photoNarrow > .c-boxCol--photo {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .c-boxCol2--photoWide > .c-boxCol--photo {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    order: -1;
  }
  .c-boxCol2--photoFixed > .c-boxCol--photo {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
    .c-boxCol2--photoFixed > .c-boxCol--text {
    width: 100%;
    max-width: 100%;
  }
  
/* ---- staff｜SPは 写真 → 名前 → 表 → ボタン（現行に合わせる） ---- */
@media (max-width: 768px) {
  .c-boxCol2--photoFixed > .c-boxCol--photo {
    order: -1;
    align-self: center;
    flex: 0 0 auto;
    width: 55%;
    max-width: 260px;
  }
  .c-boxCol2--photoFixed > .c-boxCol--text > .c-heading-lvl3 {
    order: 1;
    text-align: center;
  }
  .c-boxCol2--photoFixed > .c-boxCol--text > .c-table-wrapper {
    order: 2;
  }
  .c-boxCol2--photoFixed > .c-boxCol--text > p {
    order: 3;
    margin-top: 16px;
  }
}

  .column_img_left_default img {
    max-width: 240px;
    margin-inline: auto;
  }
  .c-boxCol2--type1 > .c-boxCol:first-child p:not(.column_img_left_default) {
    text-align: center;
  }
  .c-boxCol__title {
    font-size: var(--fs-base);
    padding: var(--spacing-sm);
  }
  .c-boxCol__schedule-img {
    max-width: 100%;
  }
  .c-boxCol__income-wrap {
    max-width: 100%;
  }
  .c-boxCol__income-wrap img {
    max-width: 100%;
  }
  .c-boxCol .c-boxCol__club-photo {
    max-width: 100%;
  }
  .c-grid--3col, .c-grid--4col {
    gap: var(--spacing-xl) !important;
  }
  .c-boxCol img {
    margin-inline: auto;
  }
  .c-list-bullet li {
    font-size: var(--fs-sm);
  }
}

/* --- 追加グリッド（カード配置）--- */
.c-grid--2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.c-grid--single {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.c-grid--single .c-card--support--single {
  grid-column: 1 / 2;
  justify-self: start;
  width: 100%;
  max-width: none;
}

.c-grid--support-study {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.c-grid--support-study > .c-card--support:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - var(--spacing-xl) / 2);
  justify-self: start;
}

@media (max-width: 768px) {
  .c-grid--2col {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .c-grid--single {
    grid-template-columns: 1fr;
  }
  .c-grid--single .c-card--support--single {
    grid-column: auto;
  }
  .c-grid--support-study {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  .c-grid--support-study > .c-card--support:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: 100%;
    justify-self: auto;
  }
}


/* ==========================================================================
   7-2. カードグリッド（c-cardGrid）= カテゴリトップのカード一覧（共通部品）
   --------------------------------------------------------------------------
   画像＋見出しカードを N 列グリッドで配置。カテゴリトップ全種で量産利用。
   高さ揃えは CSS（matchHeight 置換・JS非依存）：見出し min-height で
   画像の開始位置を揃える。
   ※ 既存の別系統 .c-boxCol（flexプロフィール）とは別物のため命名を分離。
   ========================================================================== */
.c-cardGrid {
  display: grid;
  gap: var(--spacing-lg);            /* 既定 24px */
  margin-bottom: var(--spacing-2xl); /* 48px */
}

.c-cardGrid--4    { grid-template-columns: repeat(4, 1fr); } /* PC 4列 */
.c-cardGrid--gap6 { gap: 30px 24px; }                        /* 縦30 / 横24 */

/* PC 3列・2列（exams/outline の入試種別ナビとカード・2026-08-24 追加） */
.c-cardGrid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.c-cardGrid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .c-cardGrid--3,
  .c-cardGrid--2 {
    grid-template-columns: 1fr;
  }
}

/* カード（縦並び：見出し → 画像） */
.c-cardGrid__item {
  display: flex;
  flex-direction: column;
}
.c-cardGrid__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 画像枠（角丸・比率固定・はみ出し隠し） */
.c-cardGrid__img {
  position: relative;                /* >アイコンの基準 */
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);   /* 10px */
  overflow: hidden;
  background: var(--color-gray-50);  /* 画像未配置でも枠が見える */
}
/* 画像下部の可読性グラデ（黒→透明・装飾用途のためトークン化せず直書き） */
.c-cardGrid__img::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
  z-index: 1;
  pointer-events: none;
}

/* 画像内リンク（枠いっぱい） */
.c-cardGrid__link { display: block; width: 100%; height: 100%; }
.c-cardGrid__link img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--transition-base);
}
.c-cardGrid__link:hover img { transform: scale(1.05); }

/* 右下：紺丸＋白 >（カンプ準拠） */
.c-cardGrid__link::after {
  content: "\f054";                  /* FA fa-chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px; bottom: 10px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-main);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  z-index: 2;
  transition: background var(--transition-fast);
}
.c-cardGrid__link:hover::after { background: var(--color-main-dark); }

/* カード見出し（画像の上）。2行ぶんの min-height を確保し、1行見出しでも
   画像の開始Y座標を揃える＝matchHeight 置換（JS非依存）。 */
.c-heading-5 {
  font-size: var(--fs-base);         /* 16px */
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);     /* 1.6 */
  color: var(--color-heading);
  margin: 0 0 var(--spacing-sm);     /* 下 8px */
  min-height: calc(var(--fs-base) * var(--lh-normal) * 2); /* ≒51px＝2行 */
}

/* __link 内に移動したラベルは画像内左下にオーバーレイ（白文字・グラデの上・矢印を避ける） */
.c-cardGrid__link .c-heading-5 {
  position: absolute;
  left: 12px; bottom: 10px;
  right: 44px;
  margin: 0;
  min-height: 0;
  color: #fff;
  font-size: var(--fs-lg);
  line-height: var(--lh-tight);
  z-index: 2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.c-cardGrid__link .c-heading-5 small {
  font-size: var(--fs-base);
  font-weight: normal;
}

/* --- SP：1列 --- */
@media (max-width: 768px) {
  .c-cardGrid--4    { grid-template-columns: repeat(2, 1fr); }
  .c-cardGrid--gap6 { gap: 20px 14px; }
  .c-cardGrid__link::after {
    width: 26px; height: 26px; font-size: 12px;
    right: 8px; bottom: 8px;
  }
  .c-heading-5 {
    font-size: var(--fs-sm);         /* 14px */
    min-height: calc(var(--fs-sm) * var(--lh-normal) * 2);
  }
  .c-cardGrid__link .c-heading-5 {
    left: 8px; bottom: 8px; right: 36px;
    font-size: var(--fs-lg);
  }
  .c-cardGrid__link .c-heading-5 small {
    font-size: var(--fs-base);
  }
}

/* --- カテゴリトップ用：フラット画像（角丸・グラデなし）＋見出し下線 --- */
.c-cardGrid--catTop .c-cardGrid__img {
  border-radius: 0;                 /* 角丸削除 */
}
.c-cardGrid--catTop .c-cardGrid__img::before {
  display: none;                    /* 可読性グラデ削除（このモディファイア配下のみ） */
}
.c-cardGrid--catTop .c-heading-5 {
  font-size: var(--fs-lg);        /* 20px（トークン一致） */
  min-height: 0;                  /* 2行確保を解除し、下線をテキスト直下へ */
  padding-bottom: 6px;           /* テキスト↓ライン＝12px */
  border-bottom: 3px solid var(--color-main);  /* ライン3px */
}



/* ==========================================================================
   8. カード（Cards）
   ========================================================================== */

.c-card {
  background-color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.c-card__media {
  margin: 0;
  width: 100%;
}

.c-card__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.c-card__body {
  padding: 10px 0;
}

/* --- サポートカード（画像上＋テキスト下）--- */
.c-card--support {
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.c-card--support .c-card__media {
  margin: 0;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 6 / 4;
  border-radius: var(--radius-lg);
}

.c-card--support .c-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.c-card--support .c-card__body {
  padding: var(--spacing-lg) 0;
  flex: 1;
}

.c-card--support .c-heading-lvl3 {
  font-size: var(--fs-xl);
  margin-top: 0;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.c-card--support .c-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-sm);
  color: var(--color-gray-700);
}

/* チューター制度カード（1カラム中央寄せ） */
.c-card--support--single .c-card__media {
  aspect-ratio: 3 / 2;
}

.c-card--support--single .c-card__body {
  text-align: left;
}

@media (max-width: 768px) {
  .c-card--support .c-heading-lvl3 {
    font-size: var(--fs-base);
  }
  .c-card--support--single {
    max-width: 100%;
  }
  .c-cardGrid--catTop .c-heading-5 {
  font-size: var(--fs-base);   /* 16px（SP・トークン一致） */
}
}


/* ==========================================================================
   9. タブ（Tabs）
   ========================================================================== */

.c-tabs {
  margin-bottom: var(--spacing-2xl);
}

.c-tabs__list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid var(--color-border-light);
  gap: 4px;
}

.c-tabs__trigger {
  flex: 1;
  padding: 16px 20px;
  background-color: var(--color-gray-100);
  border: 1px solid var(--color-border-light);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-gray-600);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  margin-bottom: -2px;
  z-index: 1;
}

.c-tabs__trigger.is-active {
  background-color: #ffffff;
  color: var(--color-main);
  border-color: var(--color-border-light);
  border-top: 4px solid var(--color-main);
  padding-top: 13px;
  z-index: 2;
}

.c-tabs__trigger:hover:not(.is-active) {
  background-color: var(--color-gray-200);
  color: var(--color-text);
}

.c-tabs__content {
  background-color: #ffffff;
  padding-top: var(--spacing-xl);
}

.c-tabs__panel {
  display: none;
  animation: tabFadeIn 0.3s ease-out;
}

.c-tabs__panel.is-active {
  display: block;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .c-tabs__trigger {
    padding: 12px 10px;
    font-size: var(--fs-base);
  }
  .c-tabs__trigger.is-active {
    padding-top: 9px;
  }
}


/* ==========================================================================
   10. インフォカード（c-info-card）
   ========================================================================== */

.c-info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.c-info-card {
  border: 5px solid var(--color-main);
  border-radius: 35px;
  padding: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 0;
}

.c-info-card__num {
  font-size: 4rem;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  line-height: 1;
}

.c-info-card__unit {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.c-info-card__main {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  line-height: var(--lh-normal);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.c-info-card__label {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin: 0 0 var(--spacing-sm);
  line-height: var(--lh-normal);
}

.c-info-card__em {
  color: var(--color-main);
}

.c-info-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: var(--lh-relaxed);
  margin: 0;
  text-align: left;
}

@media (max-width: 768px) {
  .c-info-cards {
    gap: var(--spacing-sm);
  }
  .c-info-card {
    border-width: 2px;
    padding: var(--spacing-md) var(--spacing-sm);
    min-height: 0;
  }
  .c-info-card__num {
    font-size: 2.5rem;
  }
  .c-info-card__unit {
    font-size: var(--fs-md);
  }
  .c-info-card__main {
    font-size: var(--fs-md);
  }
  .c-info-card__label {
    font-size: var(--fs-md);
  }
  .c-info-card__text {
    font-size: var(--fs-xs);
  }
}


/* ==========================================================================
   11. ステップリスト（c-step-list）
   ========================================================================== */

.c-step-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
  margin-top: var(--spacing-xl);
}

.c-step-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xl);
}

.c-step-item__img {
  flex: 0 0 35%;
  max-width: 340px;
}

.c-step-item__img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.c-step-item__body {
  flex: 1;
}

.c-step-item__text {
  margin: 0;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
}

@media (max-width: 768px) {
  .c-step-list {
    gap: var(--spacing-xl);
  }
  .c-step-item {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  .c-step-item__img {
    flex: 0 0 100%;
    max-width: 300px;
    margin-inline: auto;
  }
  .c-step-item__body {
    width: 100%;
    text-align: left;
  }
  .c-step-item__text {
    font-size: var(--fs-sm);
  }
}


/* ==========================================================================
   12. フローリスト（c-flow-list）
   ========================================================================== */

.c-flow-list {
  border: 4px solid var(--color-main);
  border-radius: var(--radius-md);
  padding: 0;
  margin-bottom: 80px;
  list-style: none;
}

@media (min-width: 769px) {
  .c-flow-list {
    width: 80% !important;
    margin-inline: auto !important;
  }
}

.c-flow-list__item {
  padding: 40px;
  position: relative;
}

.c-flow-list__item:not(:last-child) {
  border-bottom: 4px solid var(--color-main);
}

/* ステップ間の矢印（三角形） */
.c-flow-list__item:not(:last-child)::before,
.c-flow-list__item:not(:last-child)::after {
  content: "";
  border: solid transparent;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.c-flow-list__item:not(:last-child)::before {
  border-width: 20px;
  border-top-color: var(--color-main);
}

.c-flow-list__item:not(:last-child)::after {
  border-width: 17px;
  border-top-color: #ffffff;
  margin-top: -3px;
}

.c-flow-list dl {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.c-flow-list dt {
  flex: 0 0 120px;
  margin: 0;
  text-align: center;
}

.c-flow-list dd {
  flex: 1;
  margin: 0;
  text-align: left;
}

.c-flow-list .icon {
  display: block;
  font-size: var(--fs-lg);
  color: #ffffff;
  background: linear-gradient(to right, var(--color-main) 0%, #5ED9C1 100%);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-bold);
}

.c-flow-list__title {
  display: block;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  margin-bottom: 8px;
}

.c-flow-list__text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
}

.c-flow-list .icon2 {
  display: inline-table;
  margin: 20px 5px 0;
  font-size: var(--fs-base);
  color: #ffffff;
  background: linear-gradient(to right, #D9363E 0%, #FF7F7F 100%);
  padding: 8px 50px;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-bold);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .c-flow-list__item {
    padding: 30px 20px;
  }
  .c-flow-list dl {
    flex-direction: column;
    gap: 15px;
  }
  .c-flow-list dt {
    flex: 0 0 auto;
    width: 100px;
  }
}


/* ==========================================================================
   13. スケジュールグリッド（c-schedule-grid）
   --------------------------------------------------------------------------
   日程カードの一覧表示（イベント等で再利用可）
   ========================================================================== */

.c-schedule-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: var(--spacing-xl);
}

@media (min-width: 769px) {
  .c-schedule-grid {
    width: 95% !important;
    margin-inline: auto !important;
  }
}

.c-schedule-grid__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px 20px;
  background-color: #f0f4f9;
  border-radius: 20px;
  text-decoration: none !important;
  color: #474dff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.c-schedule-grid__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(71, 77, 255, 0.15);
  opacity: 1;
}

.c-schedule-grid__item.is-ended {
  background-color: #ccd2da;
  color: #555555;
  pointer-events: none;
}

.c-schedule-grid__date {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.c-schedule-grid__time {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: inherit;
  margin-top: -2px;
  margin-bottom: 10px;
  line-height: 1.2;
}

.c-schedule-grid__dow {
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 4px;
  margin-bottom: 12px;
}

.c-schedule-grid__badge {
  display: block;
  width: 100%;
  max-width: 150px;
  padding: 5px 0;
  background-color: #ffffff;
  color: #474dff;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.is-ended .c-schedule-grid__badge {
  background-color: #8c97a8;
  color: #ffffff;
  box-shadow: none;
}

.c-schedule-grid__year {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 11px;
  font-weight: 800;
  background-color: #474dff;
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 12px 0 12px 0;
}

@media (max-width: 768px) {
  .c-schedule-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .c-schedule-grid__date {
    font-size: 2.5rem;
  }
}


/* ==========================================================================
   14. アイコン・リンク装飾（Icons / Link decorations）
   ========================================================================== */

/* プラスアイコン */
.c-icon-plus {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  position: relative;
}

.c-icon-plus::before,
.c-icon-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-main);
  border-radius: 2px;
}

.c-icon-plus::before {
  width: 100%;
  height: 8px;
}

.c-icon-plus::after {
  width: 8px;
  height: 100%;
}

/* 円形矢印アイコン付きリンク（旧 c-link-icon-blue：学科色→メインカラー化） */
.c-link-icon-blue {
  display: inline-flex;
  align-items: center;
  color: var(--color-main);
  font-size: var(--fs-base);
  text-decoration: none;
  font-weight: var(--fw-bold);
  transition: opacity var(--transition-base);
  white-space: nowrap;
}

.c-link-icon-blue:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  opacity: 0.8;
}

.c-link-icon-blue::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054"; /* chevron-right */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: var(--color-main);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.6rem;
  margin-right: 8px;
  flex-shrink: 0;
  text-decoration: none !important;
  transition: transform var(--transition-base);
}

/* --- ファイル別アイコン（自動付与）--- */
a[href*=".pdf"]::after {
  content: "\f1c1"; /* file-pdf */
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  color: var(--color-pdf-badge);
  margin-left: 6px;
  font-size: 1.1em;
  vertical-align: middle;
}

a[href$=".doc"]::after,
a[href$=".docx"]::after {
  content: "\f1c2"; /* file-word */
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  color: #2b579a;
  margin-left: 6px;
  font-size: 1.1em;
  vertical-align: middle;
}

a[href$=".xls"]::after,
a[href$=".xlsx"]::after {
  content: "\f1c3"; /* file-excel */
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
  color: #1d6f42;
  margin-left: 6px;
  font-size: 1.1em;
  vertical-align: middle;
}

/* --- 外部リンクアイコン（.c-box-content 内の別タブリンク）--- */
.c-box-content a[href^="http"][target="_blank"]:not([href*=".pdf"]):not([href$=".doc"]):not([href$=".docx"]):not([href$=".xls"]):not([href$=".xlsx"])::after {
  content: "\f35d"; /* external-link-alt */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--color-gray-400);
  margin-left: 6px;
  font-size: 0.8em;
  vertical-align: middle;
}

/* --- テキストリンク（content系・現行命名 c-linkText）---------------------
   本文中のインラインリンク。別タブ／PDF 等のアイコンは上記の自動付与に委ね、
   解除は打ち消しクラス .u-no-file-icon / .u-no-ext-icon（common.css）で行う。 */
.c-linkText {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.c-linkText:hover {
  text-decoration: none;
}


/* ==========================================================================
   15. 下層ページ共通（KVビジュアル／本文ラッパ／パンくず）
   --------------------------------------------------------------------------
   下層ページの構造（方針A・現行命名）。DOM順は
   KVビジュアル（.c-mv＝カテゴリ名）→ 本文（.l-mainContent > .c-box-content
   > .l-inner、先頭に主見出し .c-heading-1）→ パンくず（.p-breadcrumb・最下部）。
   出自：live style9301.css（.c-mv L768 ／ .p-breadcrumb L1681）。
   学科バリアントは除外。カテゴリ別 .c-mv-- は学科ではないため維持。
   本文3層ラッパのベース定義は common.css。本ファイルは体裁のみ。
   ========================================================================== */

/* --- KVビジュアル（.c-mv）= 下層ページ最上部の帯（カテゴリ名）------------
   既定＝ブランドカラー（var(--color-main)）。建物等の背景画像はカテゴリ別
   Modifier（--research 等）で指定し、紺オーバーレイ（::after）で視認性を確保。
   本文の主見出し（H1）は .c-heading-1 が担い役割を分離。下層は低めの .c-mv--s。
   タイトルは既定で p 要素（.c-mv__title）。歯学部の下層ページでは .c-mv__cat（カテゴリ名）
   と併用し、.c-mv__title を h1（ページ主見出し）として使用する。法人・短大は従来どおり p のまま。
   ---------------------------------------------------------------------- */
.c-mv {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 400px;
  background-color: var(--color-main);
  background-size: cover;
  background-position: center;
  color: #fff;
}

/* 紺オーバーレイ（黒→紺へ変更。背景画像の視認性確保）*/
.c-mv::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-main);
  opacity: 0.2;
}

/* 下層ページ用（低め）*/
.c-mv--s {
  min-height: 180px;
}

/* [core修正 2026-07 / 歯学部先行] 下層コンテンツ型KV用モディファイア（メインカラーのベタ塗り・オーバーレイ無効）。法人・短大へ同期が必要 */
/* .c-mv--s と組み合わせて使用（高さ・paddingは.c-mv--sを踏襲）。子要素は新設せず.c-mv__inner/.c-mv__titleを流用 */
.c-mv--plain {
  background-image: none;
  background-color: var(--color-main);
  color: #fff;
}
.c-mv--plain::after {
  content: none;
}
.c-mv--plain .c-mv__title {
  color: #fff;
}

.c-mv__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: left;
}

/* タイトル文字列（単独使用時はカテゴリ名として機能。歯学部下層では .c-mv__cat と併用し h1 のページ見出しとして使用）*/
.c-mv__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2.25rem);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
}

.c-mv--s .c-mv__title {
  font-size: clamp(1.375rem, 1.125rem + 1vw, 2rem);
}

/* [core修正 2026-07 / 歯学部先行] KVのカテゴリ名（.c-mv__title＝h1の上に置く小ラベル）。法人・短大へ同期が必要 */
.c-mv__cat {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

/* カテゴリ別KV背景画像（2026-08-29 時点では画像が未制作のためコメントアウト）
   画像ができたら www\assets\img\common\ に配置し、下記を戻す
.c-mv--about   { background-image: url("../img/common/img-mv-about.jpg"); }
.c-mv--research { background-image: url("../img/common/img-mv-research.jpg"); }
.c-mv--local   { background-image: url("../img/common/img-mv-local.jpg"); }
.c-mv--staff   { background-image: url("../img/common/img-mv-staff.jpg"); }
.c-mv--news    { background-image: url("../img/common/img-mv-news.jpg"); }
.c-mv--event   { background-image: url("../img/common/img-mv-event.jpg"); }
.c-mv--medical-facilities { background-image: url("../img/common/img-mv-medical-facilities.jpg"); }
.c-mv--access  { background-image: url("../img/common/img-mv-access.jpg"); }
*/

@media (max-width: 768px) {
  .c-mv {
    min-height: 240px;
  }
  .c-mv--s {
    min-height: 140px;
  }
}

/* [core修正 2026-07 / 歯学部先行] 下層向け新規部品：リード帯。法人・短大へ同期が必要 */
/* --- リード帯（.c-lead）：本文冒頭のリード文を強調する帯 --- */
.c-lead {
  background-color: var(--color-gray-200);
  padding: var(--spacing-lg);
  text-align: center;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: var(--spacing-xl);
}
@media (max-width: 768px) {
  .c-lead {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-size: var(--fs-base);
  }
}

/* [core追加 2026-09 / 歯学部先行] ページ冒頭の導入文。
   キャッチはメインカラー・中央寄せ、本文は通常の文字色。
   法人・短大へ同期が必要 */
.c-intro {
  margin-bottom: var(--spacing-xl);
}
.c-intro__catch {
  color: var(--color-main);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-relaxed);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}
@media (max-width: 768px) {
  .c-intro__catch {
    font-size: var(--fs-md);
    text-align: left;
  }
}

/* [core修正 2026-07 / 歯学部先行] 下層向け新規部品：本文中の大きな画像。法人・短大へ同期が必要 */
/* --- ヒーロー画像（.c-hero-img）：本文中央に配置する大判画像 --- */
.c-hero-img {
  max-width: 600px;
  margin: 0 auto var(--spacing-xl);
}
.c-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}
/* 汎用キャプション（.c-hero-img 直下に限らず、.c-boxCol3 内の画像等でも使用）*/
.c-caption {
  margin-top: var(--spacing-sm);
  font-size: var(--fs-xs);
  color: var(--color-gray-600);
}
@media (max-width: 768px) {
  .c-hero-img {
    max-width: 100%;
  }
}


/* --- 本文コンテンツ領域（.c-box-content）------------------------------
   本文3層ラッパ .l-mainContent > .c-box-content > .l-inner のうち、本ファイル
   ではコンテキスト依存の体裁のみ定義（ベース定義は common.css）。 */

/* セクション区切り */
.c-box-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin-block: var(--spacing-xl);
}

/* リード文を包むヘッダー */
.c-box-content > header {
  margin-bottom: var(--spacing-2xl);
}

/* [core修正 2026-07 / 歯学部先行] 本文とフッターの間の下余白。
   padding-bottomではなくmargin-bottomを使用（法人の.p-breadcrumb margin-top:80pxと
   相殺させ二重余白を回避）。
   当初はWF実値の80px（.cont-area padding 60px 0 80px）だったが、
   目視調整により120pxへ変更（2026-07-22）＝WFからの意図的な逸脱。
   ※法人へ同期する際は注意：相殺後が120pxになり法人の下余白が80→120pxに増える。
     法人は80pxのまま据え置くこと。 */
.c-box-content {
  margin-bottom: 120px;
}

@media (max-width: 768px) {
  .c-box-content {
    margin-bottom: calc(var(--spacing-2xl) * 2);
  }
}


/* --- パンくず（.p-breadcrumb）------------------------------------------
   構造：.p-breadcrumb > ol.p-breadcrumb__list > li.p-breadcrumb__item
         > a.p-breadcrumb__link。区切り(>)は2番目以降の項目に ::before で付与。
   配置：本文の後・フッター直前（最下部）。上ボーダーで区切る。
   出自：live style9301.css L1681。
   ---------------------------------------------------------------------- */
.p-breadcrumb {
  width: 100%;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  margin-top: 80px;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--color-text);
  padding-block: 0.714em;
}

/* [core修正 2026-07 / 歯学部先行] 本文上部（KVより上）用モディファイア。法人・短大へ同期が必要 */
.p-breadcrumb--top {
  margin-top: 0;
  border-top: none;
  border-bottom: 1px solid var(--color-border);
  background: #fff; 
  font-size: var(--fs-xs);
}

.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 16px;
}

.p-breadcrumb__item {
  color: inherit;
}

.p-breadcrumb__link {
  text-decoration: none;
  line-height: inherit;
  color: inherit;
}

.p-breadcrumb__link:hover {
  text-decoration: underline;
}

/* 区切り記号（2番目以降の項目に付与。先頭＝ホームには付けない）*/
.p-breadcrumb__item:nth-child(n+2)::before {
  content: ">";
  display: inline-block;
  margin: 0 1.071em;
  color: var(--color-gray-400);
}

@media (max-width: 768px) {
  .p-breadcrumb {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .p-breadcrumb__list {
    flex-wrap: nowrap;
    white-space: nowrap;
    word-break: keep-all;
  }
}


/* ==========================================================================
   16. 汎用プロジェクト：学長挨拶・プロフィール（President / Profile）
   --------------------------------------------------------------------------
   学長挨拶（C-03）等で再利用
   ========================================================================== */

.p-president-intro {
  display: flex;
  gap: var(--spacing-xl);
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
}

.p-president-intro__img {
  flex: 0 0 320px;
}

.p-president-intro__img img {
  width: 100%;
  box-shadow: var(--shadow-md);
}

.p-president-intro__body {
  flex: 1;
}

.p-president-intro__catch {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--spacing-md);
}

.p-president-sign {
  margin-top: var(--spacing-lg);
  line-height: var(--lh-normal);
}

.p-president-sign__name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  display: inline-block;
  margin-top: 5px;
}

/* プロフィールリスト（DL） */
.p-profile-grid {
  width: 100%;
}

.p-profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-profile-list__item {
  display: flex;
  gap: var(--spacing-md);
  padding-block: var(--spacing-sm);
  margin-bottom: 0;
  border-bottom: 1px dotted var(--color-border-light);
}

.p-profile-list__item:last-child {
  border-bottom: none;
}

.p-profile-list dt {
  flex: 0 0 13em;
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  margin: 0;
  line-height: 1.2;
  font-size: var(--fs-sm);
}

.p-profile-list dd {
  margin: 0;
  flex: 1;
  line-height: var(--lh-normal);
  font-size: var(--fs-sm);
}

@media (max-width: 768px) {
  .p-president-intro {
    flex-direction: column;
    align-items: center;
  }
  .p-president-intro__img {
    flex: 0 0 auto;
    max-width: 300px;
  }
  .p-profile-list__item {
    flex-direction: column;
    gap: 2px;
    padding-block: var(--spacing-sm);
  }
  .p-profile-list dt {
    flex: 0 0 auto;
  }
}


/* ==========================================================================
   17. 汎用プロジェクト：学生生活サポートブロック（support-block）
   ========================================================================== */

.p-support-block {
  margin-bottom: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border);
}

.p-support-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.p-support-block .c-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-gray-700);
  margin-bottom: var(--spacing-sm);
}

.p-support-block a.c-link-icon-blue {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-size: var(--fs-base);
}


/* ==========================================================================
   18. 汎用プロジェクト：アクセスマップ（access-map）
   --------------------------------------------------------------------------
   アクセス（C-31）で再利用
   ========================================================================== */

.p-access-map {
  width: 100%;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.p-access-map iframe {
  width: 100%;
  height: 450px;
  border: 0;
  vertical-align: bottom;
}

@media (max-width: 768px) {
  .p-access-map {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
  }
  .p-access-map iframe {
    height: 400px;
  }
}


/* ==========================================================================
   19. 汎用プロジェクト：ポータルバナー（portal-banner）
   ========================================================================== */

.p-portal-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--color-border-light);
  margin-bottom: var(--spacing-xl);
}

.p-portal-banner__inner {
  display: grid;
  grid-template-areas: "overlay";
  min-height: 400px;
}

.p-portal-banner__img {
  grid-area: overlay;
  width: 100%;
  height: 100%;
}

.p-portal-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-portal-banner__content {
  grid-area: overlay;
  justify-self: end;
  width: 45%;
  background-color: rgba(255, 255, 255, 0.92);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  backdrop-filter: blur(4px);
}

.p-portal-banner__content .c-heading-2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-top: 0;
  margin-bottom: var(--spacing-md);
  padding-bottom: 0;
  border-bottom: none;
  color: var(--color-gray-900);
}

.p-portal-banner__content .c-heading-2::after {
  content: none;
}

.p-portal-banner__content .c-text {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  margin-bottom: var(--spacing-lg);
  color: var(--color-gray-700);
}

.p-portal-banner__content .btn2 {
  min-width: 220px;
  padding: 12px 24px;
}

@media (max-width: 768px) {
  .p-portal-banner__inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  .p-portal-banner__img {
    height: 200px;
  }
  .p-portal-banner__content {
    width: 100%;
    padding: var(--spacing-lg);
    background-color: #ffffff;
    backdrop-filter: none;
  }
}


/* ==========================================================================
   20. 汎用プロジェクト：サイトマップ（site-map）
   --------------------------------------------------------------------------
   サイトマップ（C-34）で再利用
   ========================================================================== */

.p-site-map {
  margin-top: var(--spacing-md);
}

.p-site-map__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-2xl) var(--spacing-lg);
  align-items: start;
}

.p-site-map__column {
  margin-bottom: 0;
}

.p-site-map__heading {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 5px solid var(--color-main);
  line-height: var(--lh-tight);
}

.p-site-map__heading a {
  color: inherit;
  text-decoration: none;
}

.p-site-map__heading a:hover {
  text-decoration: underline;
}

.p-site-map__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-site-map__item {
  margin-bottom: var(--spacing-sm);
}

.p-site-map__item a {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--color-text);
  text-decoration: none;
  line-height: var(--lh-normal);
  transition: color var(--transition-base), transform var(--transition-fast);
}

.p-site-map__item a:hover {
  color: var(--color-main);
  text-decoration: underline;
  transform: translateX(4px);
}

.p-site-map__column--sub {
  grid-column: 1 / -1;
  background-color: var(--color-gray-100);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-top: var(--spacing-md);
}

.p-site-map__list--sub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--spacing-sm) var(--spacing-md);
}

@media (min-width: 1024px) {
  .p-site-map__column--sub {
    grid-column: auto;
    background-color: transparent;
    padding: 0;
    margin-top: 0;
  }
  .p-site-map__list--sub {
    display: block;
  }
}

@media (max-width: 768px) {
  .p-site-map__inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  .p-site-map__item a {
    font-size: var(--fs-base);
    padding-block: var(--spacing-xs);
  }
  .p-site-map__column--sub {
    padding: var(--spacing-md);
  }
}


/* ==========================================================================
   21. ボタン（Buttons）
   --------------------------------------------------------------------------
   出自：短大 common.css L289-495（.btn / .btn-solid / .btn2 系）。
         学科バリアント（--hygiene / --nursing）は除外。カラーは var(--color-*)。
   - .btn        … ゴースト（白地・枠線）＋右矢印自動付与。色は --main / --gray
   - .btn-solid  … 単色塗り・白文字＋右矢印。色は --main
   - .btn2       … シンプル塗りボタン（矢印なし）。色は --black（portal-banner等）
   ========================================================================== */

/* --- ゴーストボタン（基本）--- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between; /* テキストと矢印を両端に */
  background-color: #ffffff;
  border: 3px solid var(--color-border);
  color: var(--color-text);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  min-width: 300px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

/* 右側の矢印アイコン（自動付与） */
.btn::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054"; /* chevron-right */
  font-size: 0.8em;
  transition: transform var(--transition-base);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:hover::after {
  transform: translateX(4px);
}

/* カラーバリエーション（ゴースト） */
.btn--main {
  border-color: var(--color-main);
  color: var(--color-main);
}
.btn--main:hover {
  background-color: var(--color-main);
  color: #ffffff;
}

.btn--gray {
  border-color: var(--color-gray-400);
  color: var(--color-gray-600);
}
.btn--gray:hover {
  background-color: var(--color-gray-400);
  color: #ffffff;
}

/* --- ソリッドボタン（単色塗り・白文字）--- */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 24px;
  min-width: 300px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
  box-sizing: border-box;
  position: relative;
}

.btn-solid::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054";
  font-size: 0.8em;
  color: #ffffff;
  transition: transform var(--transition-base);
}

.btn-solid:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.btn-solid:hover::after {
  transform: translateX(4px);
}

.btn-solid--main {
  background-color: var(--color-main);
}

/* --- シンプル塗りボタン（矢印なし・portal-banner 等で使用）--- */
.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-base), opacity var(--transition-base);
  cursor: pointer;
  border: none;
}

.btn--black {
  background-color: var(--color-gray-900);
  color: #ffffff;
}
.btn--black:hover {
  opacity: 0.8;
  color: #ffffff;
}

@media (max-width: 768px) {
  .btn,
  .btn-solid {
    min-width: 0;
    width: 100%;
  }
}


/* ==========================================================================
   Component: Button (.c-btn)
   [core還元 2026-07 / 歯学部先行] c-btn を top.css から移設。法人core へ同期が必要
   ========================================================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid var(--color-main);
  border-radius: var(--radius-pill);
  background-color: #fff;
  color: var(--color-main);
  font-weight: var(--fw-bold);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color var(--transition-base), color var(--transition-base);
}
.c-btn:hover {
  background-color: var(--color-main);
  color: #fff;
}

/* 右矢印（自動付与） */
.c-btn--arrow::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054"; /* chevron-right */
  font-size: .8em;
  transition: transform var(--transition-base);
}
.c-btn--arrow:hover::after { transform: translateX(4px); }

/* 丸矢印バリアント：白ピル＋紺丸＋白›（§11/§4用）。プレーン›の --arrow とは別物 */
.c-btn--arrowCircle::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f054"; /* chevron-right（--arrow と同じ） */
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1em; height: 2.1em; margin-left: 10px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-main); color: #fff; /* 白は例外許容（白トークン無し） */
  font-size: .8em; line-height: 1;
  padding-top: 0.2em;
}

/* 紺背景の上に置くゴーストボタン（§5 About 用） */
.c-btn--ghost {
  border-color: #fff;
  background-color: transparent;
  color: #fff;
}
.c-btn--ghost:hover {
  background-color: #fff;
  color: var(--color-main);
}

/* [core修正 2026-07 / 歯学部先行] 塗りボタン（下層用）。矢印は--arrow併用時のみ。法人・短大へ同期が必要 */
.c-btn--fill {
  background-color: var(--color-main);
  border-color: var(--color-main);
  color: #fff;
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.c-btn--fill:hover {
  opacity: .8;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* ==========================================================================
   c-movie … トップ MOVIE（公式YouTube）／PC3列・SP2列
   ========================================================================== */
.c-movie {
  padding: var(--spacing-2xl) 0;
  background-color: var(--color-sub);
}
.c-movie__head {
  margin-bottom: var(--spacing-lg);
  text-align: center;
}
.c-movie__head-ja {
  font-size: var(--fs-md);
  color: var(--color-text);
}
.c-movie__head-en {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  color: var(--color-main);
}
.c-movie__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}
.c-movie__card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.c-movie__thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.c-movie__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
  transform: scale(1.02);
}
.c-movie__card:hover .c-movie__thumb { transform: scale(1.05); }
/* [core修正 2026-07 / 歯学部先行] サムネの暗幕を廃止。法人・短大へ同期が必要 */
.c-movie__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 3.5rem;
  text-shadow: 0 2px 8px color-mix(in srgb, #000 40%, transparent);
  pointer-events: none;
}
.c-movie__title {
  margin-top: var(--spacing-sm);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
@media (max-width: 768px) {
  .c-movie { padding: var(--spacing-xl) 0; }
  .c-movie__list { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-sm); }
}

/* [core追加 2026-09 / 歯学部先行] ショート動画カード（縦型9:16・複数ページで使う）。
   トップの c-movie とは別に、下層ページへ1〜数本だけ置くための部品。
   法人・短大へ同期が必要 */
.c-shortMovie {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}
.c-shortMovie__card {
  display: block;
  color: inherit;
  text-decoration: none;
}
.c-shortMovie__thumb-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.c-shortMovie__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}
.c-shortMovie__card:hover .c-shortMovie__thumb {
  transform: scale(1.05);
}
.c-shortMovie__title {
  margin-top: var(--spacing-sm);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
}
.c-shortMovie__soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background-color: var(--color-sub);
  color: var(--color-main);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-normal);
  text-align: center;
}
.c-shortMovie__soon i {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: 2rem;
}
.c-shortMovie__slider {
  position: relative;
  padding-bottom: 40px;
  margin-bottom: var(--spacing-xl);
}
.c-shortMovie__slider .swiper-slide {
  height: auto;
}
.c-shortMovie__slider .c-shortMovie__card {
  display: block;
  height: 100%;
}
.c-shortMovie__scrollbar.swiper-scrollbar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 10px;
  border-radius: 0;
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 4px,
    color-mix(in srgb, #000 15%, transparent) 4px,
    color-mix(in srgb, #000 15%, transparent) 6px,
    transparent 6px,
    transparent 100%
  );
}
.c-shortMovie__scrollbar .swiper-scrollbar-drag {
  height: 10px;
  margin-top: 0;
  background: var(--color-main);
  border-radius: 5px;
}
@media (max-width: 768px) {
  .c-shortMovie {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}

/* 1件だけのときは横並び・中央寄せにする（2026-09-16） */
.c-shortMovie:has(> :only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: var(--spacing-xl);
  border-radius: 16px;
  background: var(--color-sub-blue);
}

.c-shortMovie:has(> :only-child) .c-shortMovie__card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--spacing-lg);
  align-items: center;
  max-width: 640px;
}

.c-shortMovie:has(> :only-child) .c-shortMovie__title {
  margin-top: 0;
  font-size: var(--fs-md);
}

/* サムネイルに再生ボタンを重ねる（件数によらず付ける） */
.c-shortMovie__card .c-shortMovie__thumb-wrap::after {
  content: "\f167";
  font-family: "Font Awesome 6 Brands";
  font-weight: 400;
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  transition: transform var(--transition-base);
}

.c-shortMovie__card:hover .c-shortMovie__thumb-wrap::after {
  transform: translate(-50%, -50%) scale(1.1);
}

@media (max-width: 768px) {
  .c-shortMovie:has(> :only-child) {
    padding: var(--spacing-md);
  }

  .c-shortMovie:has(> :only-child) .c-shortMovie__card {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    max-width: 240px;
  }
}


/* ==========================================================================
   c-floating-cta … 全ページ追従CTA
   PC：右端縦タブ・アイコン無し／SP：下部inset・横3分割・アイコン上テキスト下
   ========================================================================== */
.c-floating-cta {
  position: fixed;
  z-index: 5000;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}
.c-floating-cta__item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  background-color: var(--color-accent);
  transition: opacity var(--transition-fast);
}
.c-floating-cta__item--oc { letter-spacing: -0.04em; }
@media (hover: hover) {
  .c-floating-cta__item:hover { opacity: 0.85; }
}

/* PC（768px以上）：アイコン無し・縦並び・左角丸 */
@media (min-width: 768px) {
  .c-floating-cta {
    top: 22%;
    right: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    box-shadow: -3px 3px 14px rgba(0, 0, 0, 0.22);
  }
  .c-floating-cta__item {
    width: 60px;
    padding: 18px 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }
  .c-floating-cta__item:last-child { border-bottom: none; }
  .c-floating-cta__item::before { display: none; }
}

/* SP（767px以下）：下部inset・横3分割・アイコン上テキスト下 */
@media (max-width: 767px) {
  .c-floating-cta {
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }
  .c-floating-cta__item {
    flex: 1 1 0;
    flex-direction: column;
    gap: 5px;
    padding: 12px 8px;
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: center;
  }
  .c-floating-cta__item + .c-floating-cta__item {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
  }
  .c-floating-cta__item::before {
    display: block;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 1.3rem;
    text-align: center;
  }
  .c-floating-cta__item--request::before { content: "\f0e0"; } /* envelope */
  .c-floating-cta__item--entry::before   { content: "\f518"; } /* book-open */
  .c-floating-cta__item--oc::before      { content: "\f073"; } /* calendar-days */
  .c-floating-cta .u-none_sp,
  .c-floating-cta .u-none_pc { display: block; }
  body { padding-bottom: 90px; }
}
@media (max-width: 768px) {
  .c-floating-cta .u-none_sp { display: none; }
  .c-floating-cta .u-none_pc { display: block; }
}

/* [core追加 2026-09 / 歯学部先行] 追従CTA 4項目版。
   --col4 が付いたときだけ効くため、3項目版（法人・短大）には影響しない。
   法人・短大へ同期が必要 */
@media (max-width: 767px) {
  .c-floating-cta--col4 {
    gap: 2px;
    background-color: #fff;
    border-radius: 0;
    overflow: visible;
  }
  .c-floating-cta--col4 .c-floating-cta__item {
    flex: 1 1 0;
    min-width: 0;
  }
  .c-floating-cta--col4 .c-floating-cta__item + .c-floating-cta__item {
    border-left: none;
  }
  .c-floating-cta__item--apply::before {
    content: "\f109";
  }
}
@media (min-width: 768px) {
  .c-floating-cta--col4 {
    top: 50%;
    transform: translateY(-50%);
  }
}

/* 入居までの流れ：番号バッジ付きのステップ（campuslife/living・2026-08-24）
   短大 content.css 914〜998行から移植。--color-primary は --color-main に読み替え */
#flow {
  position: relative;
  counter-reset: flow-step;
  padding-left: 20px;
}

#flow::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 50px;
  left: 36px;
  width: 2px;
  background-color: var(--color-border);
  z-index: 0;
}

#flow .c-heading-lvl3 {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-sm);
  padding-left: 50px;
  border-left: none;
  color: var(--color-main);
}

#flow .c-heading-lvl3::before {
  counter-increment: flow-step;
  content: counter(flow-step);
  position: absolute;
  left: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-main);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  z-index: 1;
}

#flow p {
  padding-left: 50px;
  margin-bottom: var(--spacing-lg);
}

/* 写真グリッドの figure（campuslife/living の写真6枚） */
.c-cardGrid figure {
  margin: 0;
}

.c-cardGrid figure img {
  display: block;
  width: 100%;
  height: auto;
}

.c-cardGrid figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: var(--fs-sm);
}

@media (max-width: 768px) {
  #flow {
    padding-left: 0;
  }
  #flow::before {
    left: 16px;
  }
  #flow .c-heading-lvl3 {
    padding-left: 40px;
    font-size: var(--fs-base);
  }
  #flow .c-heading-lvl3::before {
    width: 28px;
    height: 28px;
  }
  #flow p {
    padding-left: 40px;
    font-size: var(--fs-sm);
  }
}

/* クラブ活動（campuslife/club 限定・2026-08-24）
   c-boxCol2 が flex のため中身に引っ張られて潰れる。grid で等分する */
@media (min-width: 769px) {
  .p-club .c-boxCol2 {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
  }

  .p-club .c-boxCol2 .c-boxCol2 {
    gap: var(--spacing-md);
  }
}

.p-club .c-boxCol img {
  display: block;
  width: 100%;
  height: auto;
}

.p-club ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0;
}

.p-club li {
  margin-bottom: 4px;
}

/* ============================================
   イベントカレンダー（campuslife/calendar・2026-08-27）
   現行の p-campuslife-event-* をそのまま活かす。
   月バッジ＋縦タイムライン＋3カラム。
   ============================================ */

.p-campuslife-event-inner {
  position: relative;
  padding-left: 40px;
}

/* 縦のタイムライン */
.p-campuslife-event-inner::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 60px;
  left: 39px;
  width: 2px;
  background-color: var(--color-border);
}

.p-campuslife-event-wrapper {
  position: relative;
  margin-bottom: var(--spacing-2xl);
}

.p-campuslife-event-detail {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}

/* 月バッジ */
.p-campuslife-event-date {
  position: absolute;
  left: -40px;
  top: 0;
  width: 64px;
  padding: 10px 0;
  background-color: var(--color-main);
  color: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
  z-index: 1;
}

.p-campuslife-event-date h4 {
  margin: 0;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: 1.2;
}

.p-campuslife-event-date h4 span {
  font-size: var(--fs-sm);
}

.p-campuslife-event-date p {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.2;
}

/* イベント一覧 */
.p-campuslife-event-content {
  grid-column: 2;
  min-height: 60px;
  padding: var(--spacing-lg);
  background-color: var(--color-gray-100);
  border-radius: var(--radius-sm);
}

.p-campuslife-event-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-campuslife-event-content li p {
  margin: 0 0 6px;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* 写真と説明 */
.p-campuslife-event-image {
  margin-top: var(--spacing-lg);
}

.p-campuslife-event-image-item {
  margin-bottom: var(--spacing-xl);
}

.p-campuslife-event-image-item h5 {
  margin: 0 0 var(--spacing-sm);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-gray-700);
}

.p-campuslife-event-image-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  align-items: start;
}

.p-campuslife-event-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.p-campuslife-event-image-wrapper p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* PC：月バッジ＋一覧 ／ 写真を横に並べる */
@media (min-width: 769px) {
  .p-campuslife-event-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
  }

  .p-campuslife-event-image {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .p-campuslife-event-inner {
    padding-left: 32px;
  }

  .p-campuslife-event-inner::before {
    left: 31px;
  }

  .p-campuslife-event-date {
    left: -32px;
    width: 64px;
  }

  .p-campuslife-event-detail {
    grid-template-columns: 32px 1fr;
    gap: var(--spacing-md);
  }

  /* グレーのボックスと左端を揃える（バッジ列32px＋gap） */
  .p-campuslife-event-image {
    padding-left: calc(32px + var(--spacing-md));
  }

  .p-campuslife-event-image-wrapper {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}

/* 大学紹介（outline/about 限定・2026-08-27）
   校歌・応援歌の楽譜／YouTube／音声プレーヤーを中央に、幅を80%に */
.p-about .img__wrapper {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.p-about .img__wrapper img {
  display: block;
  width: 90%;
  max-width: 690px;
  height: auto;
  margin-inline: auto;
}

.p-about .p-outline__yt {
  margin-bottom: var(--spacing-xl);
}

.p-about .p-outline__yt__content {
  position: relative;
  width: 90%;
  max-width: 690px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.p-about .p-outline__yt__content iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-about .p-outline__songs {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.p-about .p-outline__songs audio {
  width: 90%;
  max-width: 690px;
}

@media (max-width: 768px) {
  .p-about .img__wrapper img,
  .p-about .p-outline__yt__content,
  .p-about .p-outline__songs audio {
    width: 100%;
  }
}

/* ============================================
   3つのポリシー（outline/policy 限定・2026-08-27）
   ============================================ */

/* 冒頭の写真を60%に */
.p-policy__hero img {
  display: block;
  width: 60%;
  height: auto;
  margin-inline: auto;
}

/* h3 の上に区切り線（p-facility と同じ扱い） */
.p-policy .c-heading-lvl3 {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
}

.p-policy .c-heading-lvl3.c-heading--band {
  border-top: none;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .p-policy .c-heading-lvl3.c-heading--band {
    padding-top: 12px;
  }
}

/* 学部・修業年限などのブロック */
.p-policy__spec {
  margin-block: var(--spacing-2xl);
}

/* 定義リスト（横並び・コロン・太字） */
.p-policy .p-policyList {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5em;
  margin: 0 2em 0.5em 0;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.p-policy .p-policyList dt {
  margin: 0;
}

.p-policy .p-policyList dt::after {
  content: "：";
}

.p-policy .p-policyList dd {
  margin: 0 1.5em 0 0;
}

/* 知識・技能・態度の3カラム */
.p-policy .c-cardGrid--3 > dl {
  margin: 0;
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.p-policy .c-cardGrid--3 > dl > dt {
  margin-bottom: var(--spacing-md);
  text-align: center;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  font-size: var(--fs-md);
}

.p-policy .c-cardGrid--3 > dl > dd {
  margin: 0;
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}

@media (max-width: 768px) {
  .p-policy__hero img {
    width: 100%;
  }

  .p-policy .p-policyList {
    display: block;
    margin-right: 0;
    font-size: var(--fs-base);
  }

  .p-policy .p-policyList dt,
  .p-policy .p-policyList dd {
    display: inline;
    margin: 0;
  }

  .p-policy .p-policyList dd::after {
    content: "";
    display: block;
    margin-bottom: 0.5em;
  }
}

/* ============================================
   学生voice（exams/voice・2026-08-27）
   写真＋名前＋矢印＋下線のカード
   ============================================ */

.p-voice__lead {
  margin-block: var(--spacing-2xl);
}

.c-card--voice {
  display: block;
  color: var(--color-text);
  text-decoration: none;
  background-color: transparent;
  transition: opacity var(--transition-base);
}

.c-card--voice:hover {
  opacity: 0.7;
}

.c-card--voice figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.c-card--voice figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-card--voice > p {
  position: relative;
  margin: 0;
  padding: var(--spacing-md) 40px var(--spacing-md) 0;
  font-weight: var(--fw-bold);
  border-bottom: 3px solid var(--color-border-light);
}

/* 右端の矢印 */
.c-card--voice > p::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--color-gray-700);
  border-right: 2px solid var(--color-gray-700);
  transform: translateY(-50%) rotate(45deg);
}

/* 下線の右3割を紺に */
.c-card--voice > p::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -3px;
  width: 30%;
  height: 3px;
  background-color: var(--color-main);
}

/* 座談会：写真を切らずに全体を見せる */
.c-card--wide figure {
  aspect-ratio: auto;
}

.c-card--wide figure img {
  height: auto;
  object-fit: contain;
}

/* 座談会：PCではグリッドの2列分を占有 */
@media (min-width: 769px) {
  .c-cardGrid--3 > .c-card--wide {
    grid-column: span 2;
  }
}

/* 座談会：h3 の上に区切り線 */
.p-roundtable .c-heading-lvl3 {
  border-top: 1px solid var(--color-border);
  padding-top: var(--spacing-lg);
}

/* MY STORY には線を付けない */
.p-roundtable .c-heading--story {
  border-top: none;
  padding-top: 0;
}

/* 帯見出しは線を消すが、帯本来の上余白は残す（2026-08-31） */
.p-roundtable .c-heading-lvl3.c-heading--band {
  border-top: none;
  padding-top: 16px;
}

@media (max-width: 768px) {
  .p-roundtable .c-heading-lvl3.c-heading--band {
    padding-top: 12px;
  }
}
/* 座談会：MY STORY の文字色（現行の #b96ad9 を再現。2026-08-31） */
.p-roundtable .c-heading--story {
  color: #b96ad9;
}

/* 座談会：START／NOW／BEYOND の見出し（現行 heading-border 相当。2026-08-31） */
.p-roundtable .c-heading--border {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-md);
  font-size: var(--fs-heading-h4);
  font-weight: var(--fw-bold);
  text-align: center;
  padding-bottom: var(--spacing-md);
  border-top: 2px solid var(--color-main);
  border-bottom: 2px solid var(--color-main);
}

@media (max-width: 768px) {
  .p-roundtable .c-heading--border {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
  }
}

/* ============================================
   進路・就職（campuslife/career 限定・2026-08-28）
   m04「歯科医師の仕事」— 変換元がLP型のため、水色帯・アンカーナビ・
   チェックリストの意匠だけを残して新coreのクラスに寄せた
   ※このページは l-container（本文幅を広く）
   ============================================ */

/* 水色帯（アンカーナビ／2・4本目のブロック） */
.p-career__band {
  background-color: var(--color-sub);
  border-radius: var(--radius-md);
  padding: var(--spacing-xl) var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.p-career__navTitle {
  font-size: var(--fs-heading-h3);
  font-weight: var(--fw-bold);
  color: var(--color-main);
  text-align: center;
  margin: 0 0 var(--spacing-lg);
  padding-left: 0;
  border-left: none;
}

/* アンカーナビ：PC4列・gapを詰める */
.p-career__nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
  gap: 8px;
}

.p-career__nav .btn {
  min-width: 0;
  width: 100%;
  padding: 14px 16px;
  font-size: 0.875rem;
}

/* 仕事紹介の2カラム（写真は左） */
.p-career__job {
  margin-bottom: var(--spacing-2xl);
}

.p-career__job .c-heading-lvl3 {
  margin-top: 0;
}

.p-career__photo {
  margin: 0 0 var(--spacing-lg);
}

.p-career__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.p-career__yt {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.p-career__yt iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-career__label {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin: var(--spacing-lg) 0 var(--spacing-md);
}

/* 大学院（m03）：署名つきプロフィール写真は実寸で置く */
.p-career__profile > .c-boxCol--photo {
  flex: 0 0 auto;
  width: 270px;
  max-width: 100%;
}

.p-career__profile > .c-boxCol--photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* チェックリスト（現行の✓意匠を踏襲） */
.p-career__check li {
  padding-left: 1.5em;
}

.p-career__check li::before {
  content: "✓";
  color: var(--color-main);
  font-weight: var(--fw-bold);
}

@media (max-width: 1024px) {
  .p-career__nav.c-cardGrid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .p-career__band {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .p-career__nav.c-cardGrid--4 {
    grid-template-columns: 1fr;
  }

  /* SPは 見出し → 本文 → 写真 の順に */
  .p-career__job {
    flex-direction: column;
  }

  .p-career__job > .c-boxCol--text {
    order: 1;
  }

  .p-career__job > .c-boxCol--photo {
    order: 2;
    margin-top: var(--spacing-lg);
  }

  .p-career__profile > .c-boxCol--photo {
    width: 100%;
  }
}

/* ============================================
   神奈川歯科大学の魅力（outline/appeal 限定・2026-08-28）
   変換元がLP型。このページに限り現行のレイアウトを踏襲する
   （波形の帯は省略・アクセント色は新サイトの紺に置き換え）
   SP用はファイル末尾にまとめている
   ============================================ */

/* --- 冒頭の2ブロック --- */
.p-appeal__intro {
  margin-bottom: var(--spacing-2xl);
}

.p-appeal__intro .c-heading-lvl3 {
  margin-top: 0;
}

.p-appeal__photo {
  margin: 0;
}

.p-appeal__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- POINT（水色の帯・波形は省略） --- */
.p-appeal__point {
  background-color: var(--color-sub);
  border-radius: 8px;
  padding: var(--spacing-2xl) var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.p-appeal__cards {
  margin-top: 48px;
  margin-bottom: var(--spacing-2xl);
}

.p-appeal__card {
  position: relative;
}

/* 大きな連番（画像の左上に重ねる） */
.p-appeal__num {
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  margin: 0;
  transform: translateY(-42%);
  z-index: 1;
}

.p-appeal__num img,
.p-appeal__cardImg img {
  display: block;
  width: 100%;
  height: auto;
}

.p-appeal__cardImg {
  margin: 0;
}

/* カギ括弧の見出し枠 */
.p-appeal__brackets {
  --x-gradient: linear-gradient(90deg, var(--color-main) 0 15px, transparent 0 calc(100% - 15px), var(--color-main) calc(100% - 15px));
  --y-gradient: linear-gradient(var(--color-main) 0 15px, transparent 0 calc(100% - 15px), var(--color-main) calc(100% - 15px));
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  background-position: top, right, bottom, left;
  min-height: 64px;
  margin: 30px auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-appeal__brackets .c-heading-lvl3 {
  margin: 0 auto;
  padding: 0 6px;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--color-main);
  text-align: center;
}

.p-appeal__cardText {
  padding-left: 20px;
  line-height: 2;
}

/* --- 法医解剖の吹き出し --- */
.p-appeal__bubbleWrap {
  align-items: center;
  margin-bottom: 0;
}

.p-appeal__bubbleWrap > .c-boxCol--photo {
  flex: 0 0 58%;
  max-width: 58%;
}

.p-appeal__bubbleWrap > .c-boxCol--text {
  flex: 1;
  min-width: 0;
}

.p-appeal__bubble {
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  filter: drop-shadow(0 5px 10px rgba(0, 47, 154, 0.15));
}

.p-appeal__bubble::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -30px;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-right: 40px solid #ffffff;
  border-bottom: 20px solid transparent;
}

.p-appeal__bubble .c-heading-lvl3 {
  margin-top: 0;
}

.p-appeal__marker {
  background-image: linear-gradient(transparent 70%, #cdbbff 0%);
}

/* --- 施設 --- */
.p-appeal__lead {
  margin-bottom: var(--spacing-xl);
}

.p-appeal__facilityMain {
  margin-bottom: var(--spacing-lg);
}

.p-appeal__facility {
  margin-bottom: var(--spacing-2xl);
}

.p-appeal__facility figcaption {
  margin-top: var(--spacing-md);
  font-size: var(--fs-base);
}

/* --- サポート体制 --- */
.p-appeal__support {
  margin-bottom: var(--spacing-2xl);
}

.p-appeal__supportPhoto {
  width: 100%;
  min-height: 520px;
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

.p-appeal__supportPhoto--1 {
  background-image: url("../img/support/content_001.jpg");
}

.p-appeal__supportPhoto--2 {
  background-image: url("../img/support/content_003.jpg");
}

/* 写真に重ねる3カラム */
.p-appeal__bubbleCols {
  list-style: none;
  display: flex;
  justify-content: space-between;
  column-gap: 35px;
  row-gap: 3rem;
  width: 100%;
  margin: -230px auto 40px;
  padding: 0;
}

.p-appeal__bubbleCols > li {
  display: block;
  width: 31%;
}

/* 白いキャッチ（下向きの三角つき） */
.p-appeal__catch {
  position: relative;
  background-color: #ffffff;
  color: var(--color-main);
  font-weight: var(--fw-bold);
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: center;
  padding: 30px 10px;
  margin: 0 auto 50px;
  filter: drop-shadow(0 5px 10px rgba(0, 47, 154, 0.15));
}

.p-appeal__catch::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -29px;
  margin: 0 auto;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-top: 30px solid #ffffff;
  border-right: 10px solid transparent;
}

/* 薄青の本文ボックス */
.p-appeal__supportBox {
  background-color: var(--color-sub);
  border-radius: 40px;
  padding: 35px 30px;
  min-height: 242px;
  margin: 0;
}

.p-appeal__supportBox dt {
  font-weight: var(--fw-bold);
  font-size: 1.125rem;
  line-height: 2;
}

.p-appeal__supportBox dd {
  margin-left: 0;
  line-height: 2;
}

.p-appeal__supportBox--wide {
  min-height: 0;
  margin-bottom: var(--spacing-xl);
}

/* 写真つきのボックス（写真が上にはみ出す） */
.p-appeal__supportBox--photo {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  min-height: 0;
  margin-top: var(--spacing-2xl);
}

.p-appeal__supportImg {
  flex: 0 0 37%;
  margin: -55px 0 0;
}

.p-appeal__supportImg img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================
   outline/appeal — SP（768px以下）
   ベース定義より後ろに置くこと。前に置くと上書きされる
   ============================================ */
@media (max-width: 768px) {
  .p-appeal__intro--reverse > .c-boxCol--photo {
    order: -1;
  }

  .p-appeal__point {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .p-appeal__cards {
    margin-top: 40px;
  }

  .p-appeal__bubbleWrap > .c-boxCol--photo,
  .p-appeal__bubbleWrap > .c-boxCol--text {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .p-appeal__bubble {
    margin-top: 40px;
    padding: 2rem;
  }

  /* 吹き出しの三角をSPでは上向きに */
  .p-appeal__bubble::before {
    top: -40px;
    bottom: auto;
    left: 0;
    right: 0;
    margin: auto;
    transform: rotate(90deg);
  }

  .p-appeal__supportPhoto {
    min-height: 260px;
  }

  .p-appeal__bubbleCols {
    flex-direction: column;
    align-items: center;
    margin: -100px auto 40px;
  }

  .p-appeal__bubbleCols > li {
    width: 80%;
  }

  .p-appeal__supportBox {
    min-height: 0;
  }

  .p-appeal__supportBox--photo {
    flex-direction: column;
    align-items: center;
  }

  .p-appeal__supportImg {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin-top: -55px;
  }
}

/* ============================================
   数字で見る神奈川歯科大学（exams/data 限定・2026-08-28）
   ============================================ */

/* KV下のタイトル画像（背景色は現行 mainvisual.png の実測値 #dfeafd） */
.p-data__kvImage {
  background-color: #dfeafd;
  margin-bottom: var(--spacing-2xl);
  text-align: center;
}

.p-data__kvImage img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

/* 数字ブロックの2カラム（現行の寸法に合わせた） */
.p-data__cards {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 60px auto 0;
}

.p-data__col {
  flex: 0 0 48%;
  max-width: 48%;
  display: flex;
  flex-direction: column;
  row-gap: 50px;
}

.p-data__card {
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  border-radius: 40px;
  background-color: #ffffff;
  box-shadow: none;
  filter: drop-shadow(10px 13px 10px rgba(0, 0, 0, 0.16));
}

.p-data__cardTitle {
  position: relative;
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  line-height: 1.45;
  letter-spacing: 1px;
  text-align: center;
  margin: 0 0 var(--spacing-lg);
  padding: 30px 0 16px;
  border-left: none;
  border-bottom: none;
}

/* 点線は中央210pxだけ引く（現行と同じ） */
.p-data__cardTitle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  max-width: 210px;
  width: 90%;
  border-bottom: 4px dotted #a5c0ff;
}

.p-data__cardFig {
  margin: 0 auto;
  max-width: 479px;
  width: 100%;
}

.p-data__cardFig img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .p-data__cards {
    flex-direction: column;
    margin-top: 30px;
    padding-inline: 16px; 
  }

  .p-data__col {
    flex: 0 0 auto;
    max-width: 100%;
    row-gap: 20px;
  }

  .p-data__col + .p-data__col {
    margin-top: 20px;
  }

  .p-data__cardTitle {
    font-size: 1.125rem;
  }
}

/* 在学生出身高校一覧の表（罫線なし・奇数行に薄グレーの縞） */
.p-data__schoolTable {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-2xl);
}

.p-data__schoolTable th,
.p-data__schoolTable td {
  background-color: transparent;
  border: none;
  padding: 16px 20px;
  vertical-align: middle;
  line-height: 1.8;
}

.p-data__schoolTable tr:nth-child(odd) th,
.p-data__schoolTable tr:nth-child(odd) td {
  background-color: var(--color-gray-50);
}

.p-data__schoolTable th {
  width: 160px;
  padding-left: 40px;
  font-weight: var(--fw-bold);
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .p-data__schoolTable th,
  .p-data__schoolTable td {
    padding: 12px;
  }

  .p-data__schoolTable th {
    width: 5em;
    padding-left: 12px;
    white-space: normal;
  }
}

/* ============================================
   オープンキャンパス（exams/opencampus 限定・2026-08-28）
   このページのみ現行のレイアウト・配色・ボタンをそのまま踏襲する
   h2 は c-heading-2 を使わず p-oc__secTitle / p-oc__marker で組む
   （core のSPアコーディオン用ルールを避けるため）
   SP用はファイル末尾にまとめている
   ============================================ */

/* --- 全幅にするブロック --- */
.p-oc__hero,
.p-oc__intro,
.p-oc__schedule,
.p-oc__choose{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* KVの直下から全幅ブロックを始める */
.c-box-content:has(.p-oc__hero) {
  padding-top: 0;
}

/* --- 共通：セクション見出し（中央・背後に飾り文字） --- */
.p-oc__secTitle {
  position: relative;
  text-align: center;
  font-size: 2.25rem;
  line-height: 1.4;
  padding: 60px 0;
  color: #004eff;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: auto 150px;
}

.p-oc__secTitle--schedule { background-image: url("../img/keyword/h_Shedule_thin.svg"); }
.p-oc__secTitle--program  { background-image: url("../img/keyword/h_Program_thin.svg"); }
.p-oc__secTitle--time     { background-image: url("../img/keyword/h_TimeSchedule_thin.svg"); }

/* --- 共通：中見出し（中央・青・点線の下線） --- */
.p-oc__label {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  color: #004eff;
  text-align: center;
  margin: 0 0 32px;;
}

.p-oc__label span {
  display: block;
  padding-bottom: 10px;
  border-bottom: 4px dotted #a5c0ff;
}

/* --- ヒーロー画像 --- */
.p-oc__hero img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- キャッチ（格子の背景＋イラスト4枚） --- */
.p-oc__intro {
  position: relative;
  background-color: #eff5ff;
  padding: 60px 20px 40px;   /* ← 下の余白でセクションの高さを調整する */
}

.p-oc__introInner {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-inline: auto;
  padding-bottom: 120px;     /* ← イラストの居場所。減らすと全体が縮む */
}

.p-oc__introTitle {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
  margin: 0 0 var(--spacing-lg);
}

.p-oc__posGroup {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 71.74%;
  max-width: 980px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.p-oc__posGroup > div {
  position: absolute;
}

.p-oc__posGroup img {
  display: block;
  width: 100%;
  height: auto;
}

.p-oc__pos1-1 { top: 27px; left: 0; width: 100%; max-width: 129px; }
.p-oc__pos1-2 { top: 27px; right: 0; width: 100%; max-width: 126px; }
.p-oc__pos2   { bottom: 60px; left: 0; width: 100%; max-width: 217px; }
.p-oc__pos3   { bottom: 50px; right: 0; width: 100%; max-width: 340px; }

/* --- スケジュール --- */
.p-oc__schedule {
  padding: 60px 20px 80px;
}

.p-oc__scheduleInner {
  max-width: 1200px;
  margin-inline: auto;
}

.p-oc__scheduleImg {
  overflow-x: auto;
  margin-bottom: var(--spacing-2xl);
  -webkit-overflow-scrolling: touch;
}

.p-oc__scheduleImg img {
  display: block;
  width: 100%;
  min-width: 900px;
  height: auto;
}

/* --- 選べるオープンキャンパス！（縦縞の背景） --- */
.p-oc__choose {
  position: relative;
  background-color: #eff5ff;
  padding: 100px 20px 120px;
  overflow: hidden;
}

/* 白い縦縞 */
.p-oc__choose::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, transparent 42%, #ffffff 42%);
  background-size: 112px 64px;
  background-repeat: repeat;
  z-index: 0;
}

.p-oc__chooseInner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin-inline: auto;
}

.p-oc__chooseHead {
  position: relative;
  padding-top: 40px;
  margin-bottom: 60px;
}

.p-oc__pos4,
.p-oc__pos5 {
  position: absolute;
  top: 0;
  width: 100%;
}

.p-oc__pos4 { left: 80px; max-width: 284px; }
.p-oc__pos5 { right: 80px; max-width: 242px; }

.p-oc__pos4 img,
.p-oc__pos5 img {
  display: block;
  width: 100%;
  height: auto;
}

/* 吹き出し「自分の都合で」 */
.p-oc__balloon {
  position: relative;
  display: block;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 20px 75px;
  background-color: #cdbbff;
  color: #ffffff;
  font-size: 1.4375rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-align: center;
  border-radius: 35px;
}

.p-oc__balloon::before {
  content: "・・・・・";
  position: absolute;
  top: 0;
  left: 75px;
  color: #ffffff;
}

.p-oc__balloon::after {
  content: "";
  position: absolute;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 21px;
  background-image: url("../img/opencampus/balloon.png");
  background-size: contain;
  background-repeat: no-repeat;
}

/* マーカー付きの見出し */
.p-oc__marker {
  display: block;
  text-align: center;
  font-size: 2rem;
  line-height: 1.45;
  color: #004eff;
  margin: 0;
}

.p-oc__marker span {
  display: inline-block;
  padding-bottom: 3px;
  background-image: linear-gradient(transparent 54%, #ffffff 54%);
}

/* カード3枚 */
.p-oc__cards {
  margin-top: 90px;
  margin-bottom: 60px;
}

.p-oc__card {
  position: relative;
}

.p-oc__cardNum {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  margin: 0;
  transform: translateY(-42%);
  z-index: 1;
}

.p-oc__cardNum img,
.p-oc__cardImg img {
  display: block;
  width: 100%;
  height: auto;
}

.p-oc__cardImg {
  margin: 0;
}

/* カギ括弧の見出し枠（青） */
.p-oc__brackets {
  --x-gradient: linear-gradient(90deg, #004eff 0 15px, transparent 0 calc(100% - 15px), #004eff calc(100% - 15px));
  --y-gradient: linear-gradient(#004eff 0 15px, transparent 0 calc(100% - 15px), #004eff calc(100% - 15px));
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient), var(--y-gradient);
  background-repeat: no-repeat;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  background-position: top, right, bottom, left;
  min-height: 64px;
  margin: 15px auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p-oc__brackets .c-heading-lvl3 {
  margin: 0 auto;
  padding: 0 6px;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #004eff;
  text-align: center;
}

.p-oc__cardText {
  padding-inline: 10px;
  line-height: 2;
}

/* --- オープンキャンパスに申し込む --- */
.p-oc__apply {
  padding-bottom: 60px;
}

.p-oc__applyInner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-inline: auto;
}

.p-oc__applyInner .c-schedule-grid {
  margin-block: 40px;
}

/* 日程カードは外部リンクアイコンを出さない */
.c-box-content .c-schedule-grid a.c-schedule-grid__item[target="_blank"]::after {
  display: none;
}

/* オンライン個別面談（日付のないカード） */
.p-oc__online .c-schedule-grid__dow {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  margin-top: 0;
}

/* --- 開催内容／選べるコンテンツ --- */
.p-oc__program {
  margin-bottom: var(--spacing-2xl);
}

.p-oc__genre {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin: 0 0 20px;
  padding-left: 0;
  border-left: none;
}

.p-oc__programGrid {
  justify-content: flex-start;
}

.p-oc__contentCard {
  background-color: #f0f6ff;
  border-radius: 40px;
  overflow: hidden;
}

.p-oc__contentCard img {
  display: block;
  width: 100%;
  height: auto;
}

.p-oc__contentText {
  padding: 30px 28px;
}

.p-oc__contentTitle {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  margin: 0;
}

.p-oc__contentDetail {
  margin-top: 10px;
}

.p-oc__contentSchedule {
  color: #004eff;
  font-size: 0.875rem;
  font-weight: var(--fw-bold);
  margin-top: 16px;
  margin-bottom: 0;
}

.p-oc__scheduleList {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.p-oc__scheduleList li {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5em;
}

.p-oc__scheduleDate {
  flex: 0 0 3.5em;
}

.p-oc__scheduleText {
  flex: 1;
}

/* --- タイムスケジュール --- */
.p-oc__time {
  font-weight: var(--fw-bold);
}

.p-oc__note {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-2xl);
}

/* --- その他の入試関連イベント --- */
.p-oc__events {
  display: flex;
  max-width: 1000px;
  margin: 0 auto var(--spacing-2xl);
  border-radius: 40px;
  overflow: hidden;
}

.p-oc__event {
  width: 50%;
}

.p-oc__event:first-child { background-color: #a2e6ff; }
.p-oc__event:last-child  { background-color: #cbf1ff; }

.p-oc__event img {
  display: block;
  width: 100%;
  height: auto;
}

.p-oc__eventBody {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 46px 20px 44px;
  text-align: center;
}

.p-oc__eventBody > p:last-child {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

.p-oc__eventBadge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  width: 100%;
  max-width: 213px;
  padding: 7px 10px 6px;
  background-color: #004eff;
  color: #ffffff;
  line-height: 1.4;
}

.p-oc__eventTitle {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  margin: 0 0 var(--spacing-md);
}

.p-oc__eventText {
  max-width: 390px;
  margin: 0 auto var(--spacing-lg);
  text-align: left;
}

/* --- お問い合わせ／交通アクセス --- */
.p-oc__box {
  display: flex;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto var(--spacing-2xl);
  padding: 27px 45px;
  border: 1px solid #c6c6c6;
  border-radius: 40px;
}

.p-oc__boxCol {
  flex: 1;
  min-width: 0;
}

.p-oc__boxHead {
  font-size: 1.5rem;
  font-weight: var(--fw-bold);
  color: #004eff;
  margin: 0;
}

.p-oc__box p {
  margin-top: 22px;
  margin-bottom: 0;
}

.p-oc__boxSmall {
  font-size: 0.875rem;
}

.p-oc__tel,
.p-oc__mail,
.p-oc__access {
  position: relative;
  padding-left: 26px;
}

.p-oc__tel::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url("../img/opencampus/visit/tel.svg");
  background-repeat: no-repeat;
}

.p-oc__mail::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  width: 16px;
  height: 12px;
  background-image: url("../img/opencampus/visit/mail.svg");
  background-repeat: no-repeat;
}

.p-oc__mail a {
  color: var(--color-text);
  text-decoration: none;
}

.p-oc__access {
  padding-left: 0;
  padding-right: 32px;
  font-weight: var(--fw-bold);
  display: inline-block;
}

.p-oc__access::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 0;
  width: 17px;
  height: 17px;
  background-image: url("../img/opencampus/visit/arrow.png");
  background-repeat: no-repeat;
}

.p-oc__access a {
  color: #004eff;
  text-decoration: none;
}

/* --- 出願サイトのバナー2枚 --- */
.p-oc__entry {
  display: flex;
}

.p-oc__entryCol {
  position: relative;
  display: block;
  width: 50%;
  padding: 88px 20px 50px;
  color: #ffffff;
  font-weight: var(--fw-bold);
  text-align: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.p-oc__entryCol:hover {
  color: #ffffff;
  opacity: 0.85;
}

.p-oc__entryCol--pc { background-color: #007fff; }
.p-oc__entryCol--id { background-color: #0093ff; }

.p-oc__entryCol::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 33px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.p-oc__entryCol--pc::before { background-image: url("../img/icon/icon-big-pcm.svg"); }
.p-oc__entryCol--id::before { background-image: url("../img/icon/icon-big-idcard.svg"); }

/* --- ボタン（青の塗り） --- */
.p-oc__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 340px;
  padding: 18px 48px 18px 32px;
  background-color: #004eff;
  color: #ffffff;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 6px 8px rgba(0, 78, 255, 0.3);
  transition: opacity 0.2s ease;
}

.p-oc__btn:hover {
  color: #ffffff;
  opacity: 0.8;
}

/* PDFリンクのアイコンも打ち消して矢印にそろえる */
.p-oc__btn::after,
.p-oc__btn[href*=".pdf"]::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  background: none;
  transform: translateY(-50%) rotate(45deg);
}

/* --- ボタン（白抜き・カード内／イベント） --- */
.p-oc__btnOutline {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 14px 24px;
  background-color: #ffffff;
  border: 2px solid #004eff;
  color: #004eff;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.p-oc__btnOutline:not([target="_blank"])::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.p-oc__btnOutline:not([target="_blank"]) {
  padding-right: 40px;
}

.p-oc__btnOutline:hover {
  background-color: #004eff;
  color: #ffffff;
}

/* ============================================
   exams/opencampus — SP（768px以下）
   ベース定義より後ろに置くこと。前に置くと上書きされる
   ============================================ */
@media (max-width: 768px) {
  /* 共通の見出し */
  .p-oc__secTitle {
    font-size: 1.625rem;
    padding-top: 70px;
    background-size: auto 80px;
  }

  .p-oc__label {
    font-size: 1.25rem;
  }

  /* キャッチ */
  .p-oc__intro {
    padding: 40px 16px 80px;
  }

  .p-oc__introInner {
    max-width: 100%;
    padding-bottom: 42vw;
  }

  .p-oc__posGroup { width: 100%; }
  .p-oc__pos1-1,
  .p-oc__pos1-2 { max-width: 20%; top: 10px; }
  .p-oc__pos2 { max-width: 30%; bottom: 60px; }
  .p-oc__pos3 { max-width: 60%; bottom: 40px; }

  /* スケジュール */
  .p-oc__schedule {
    padding: 40px 16px 60px;
  }

  /* 選べるオープンキャンパス！ */
  .p-oc__choose {
    padding: 60px 16px 80px;
  }

  .p-oc__choose::before {
    background-size: 64px 64px;
  }

  .p-oc__choose::after {
    height: 48px;
  }

  .p-oc__chooseHead {
    padding-top: 22vw;
  }

  .p-oc__pos4 { left: 0; max-width: 40%; }
  .p-oc__pos5 { right: 0; max-width: 38%; }

  .p-oc__balloon {
    padding: 16px 40px;
    font-size: 1.125rem;
  }

  .p-oc__balloon::before {
    left: 40px;
  }

  .p-oc__marker {
    font-size: 1.375rem;
  }

  .p-oc__cardNum {
    width: 22%;
  }

  /* 開催内容／選べるコンテンツ */
  .p-oc__genre {
    font-size: 1.25rem;
  }

  .p-oc__contentCard {
    border-radius: 24px;
  }

  .p-oc__contentText {
    padding: 15px;
  }

  .p-oc__contentTitle {
    font-size: 1.125rem;
  }

  /* その他の入試関連イベント */
  .p-oc__events {
    flex-direction: column;
    border-radius: 24px;
  }

  .p-oc__event {
    width: 100%;
  }

  /* お問い合わせ */
  .p-oc__box {
    flex-direction: column;
    gap: 24px;
    padding: 15px;
    border-radius: 24px;
  }

  .p-oc__boxHead {
    font-size: 1.25rem;
  }

  /* 出願バナー */
  .p-oc__entryCol {
    padding: 55px 12px 22px;
    font-size: 0.75rem;
  }

  .p-oc__entryCol::before {
    top: 26px;
    width: 33px;
  }

  /* ボタン */
  .p-oc__btn {
    min-width: 0;
    width: 100%;
    max-width: 340px;
    padding: 16px 40px 16px 24px;
    font-size: 0.9375rem;
  }
}

/* --- 2026-09-15 作り直し：目次・hero --- */
.p-oc__hero img {
  display: block;
  width: 100%;
  height: auto;
}

.p-oc__lead {
  margin-block: var(--spacing-xl);
  text-align: center;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: 2;
  color: var(--color-main);
}

.p-oc__nav {
  margin-block: var(--spacing-xl);
  padding: var(--spacing-lg);
  border-radius: 16px;
  background: var(--color-sub-blue);
}

.p-oc__navList {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 0;
  padding: 0;
}

.p-oc__navBtns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: var(--spacing-md) 0 0;
  padding: var(--spacing-md) 0 0;
  border-top: 1px solid var(--color-main);
}

.p-oc__navBtn {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--color-main);
  border-radius: 999px;
  background: #fff;
  color: var(--color-main);
  font-weight: var(--fw-bold);
  text-decoration: none;
}

.p-oc__navBtn:hover {
  background: var(--color-main);
  color: #fff;
  text-decoration: none;
}

.p-oc__navList a {
  font-weight: var(--fw-bold);
  color: var(--color-main);
  text-decoration: none;
}

.p-oc__navList a:hover {
  text-decoration: underline;
}

.p-oc__navList a::after {
  content: "↓";
  margin-left: 6px;
  font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
  .p-oc__hero img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
  }

  .p-oc__nav {
    padding: var(--spacing-md);
  }

  .p-oc__navList {
    flex-direction: column;
    gap: 8px;
  }

  .p-oc__navBtns li {
    width: 100%;
  }

  .p-oc__navBtn {
    display: block;
    text-align: center;
  }
}

/* --- 2026-09-15 日程表（画像からHTML化） --- */
.p-oc__calList {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.p-oc__calItem {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-content: start;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.p-oc__calDate {
  margin: 0;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  font-size: var(--fs-lg);
}

.p-oc__calDate span {
  margin-left: 6px;
  font-size: var(--fs-sm);
}

.p-oc__calDate .p-oc__calYear {
  display: block;
  margin-left: 0;
  font-size: var(--fs-sm);
}

.p-oc__calProgs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.p-oc__calNote {
  margin: 0;
  font-size: var(--fs-sm);
}

.p-oc__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.p-oc__tag--guide {
  background: var(--color-oc-guide);
  color: #fff;
}

.p-oc__tag--talk {
  background: var(--color-oc-talk);
  color: #fff;
}

.p-oc__tag--consult {
  background: var(--color-oc-consult);
  color: #fff;
}

.p-oc__tag--room {
  background: var(--color-oc-room);
  color: #fff;
}

.p-oc__tag--hospital {
  background: var(--color-oc-hospital);
  color: #fff;
}

.p-oc__tag--tour {
  background: var(--color-oc-tour);
  color: var(--color-main);
}

.p-oc__tag--exam {
  background: var(--color-oc-exam);
  color: var(--color-main);
}

.p-oc__tag--interview {
  background: var(--color-oc-interview);
  color: var(--color-main);
}

.p-oc__tag--prep {
  background: var(--color-oc-prep);
  color: #fff;
}

.p-oc__tag--lecture {
  background: var(--color-oc-lecture);
  color: #fff;
}

.p-oc__tag--practice {
  background: var(--color-oc-practice);
  color: #fff;
}

@media (max-width: 768px) {
  .p-oc__calItem {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .p-oc__lead {
    text-align: left;
    font-size: var(--fs-md);
    line-height: 1.9;
  }
}

/* --- 2026-09-15 開催内容のカードをコンパクトに --- */
.p-oc__programGrid.c-cardGrid--3 {
  grid-template-columns: 1fr;
  gap: 16px;
}

.p-oc__contentCard {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: start;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  background: var(--color-sub-blue);
}

.p-oc__contentCard img {
  width: 100%;
  height: auto;
}

.p-oc__contentText {
  padding: 0;
}

.p-oc__contentTitle {
  font-size: var(--fs-md);
}

.p-oc__contentText .p-oc__btnOutline {
  max-width: 390px;
}

@media (max-width: 768px) {
  .p-oc__contentCard {
    grid-template-columns: 140px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .p-oc__contentText {
    padding: 0;
  }
}

/* --- 2026-09-15 セクションごとの背景（PCのみ） --- */
@media (min-width: 769px) {
  .p-oc__hero ~ .c-accordion-item {
    padding: 8px 40px 48px;
    border-radius: 16px;
  }

  .p-oc__hero ~ .c-accordion-item:nth-of-type(1),
  .p-oc__hero ~ .c-accordion-item:nth-of-type(3),
  .p-oc__hero ~ .c-accordion-item:nth-of-type(5) {
    background: var(--color-sub-blue);
  }
}

/* ============================================
   関連リンク（/link/ 限定・2026-08-29）
   ============================================ */

/* バナーには外部リンクアイコンを出さない */
.c-box-content a.p-link__banner[target="_blank"]::after {
  display: none;
}

.p-link__banner img {
  display: block;
  width: 100%;
  max-width: 400px;
}

/* ============================================
   トップ：神奈川歯科大学関連（/index.html 限定・2026-08-29）
   法人サイトのフッター上部のリンクエリアに合わせた専用パーツ
   ============================================ */
.p-relLink {
  background-color: #f7f7f7;
  padding-block: 48px;
}

.p-relLink__title {
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  color: var(--color-main);
  margin: 0 0 20px;
}

.p-relLink__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 法人サイトのピル型ボタン */
.p-relLink__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: 200px;
  padding: 14px 20px 14px 40px;
  background-color: #ffffff;
  border: 1px solid var(--color-main);
  border-radius: 9999px;
  color: var(--color-main);
  font-size: 0.9375rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.p-relLink__btn:hover {
  background-color: var(--color-main);
  color: #ffffff;
}

/* 右側の丸アイコン */
.p-relLink__btn::after {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border-radius: 50%;
  background-color: var(--color-main);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px auto;
  transition: background-color 0.2s ease;
}

.p-relLink__btn:hover::after {
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23252e79' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

@media (max-width: 768px) {
  .p-relLink {
    padding-block: 32px;
  }

  .p-relLink__list {
    gap: 12px;
  }

  .p-relLink__btn {
    width: 100%;
    min-width: 0;
    padding-left: 24px;
  }
}

/* ============================================
   KDUが誇る、6年間の教育の魅力
   （education/appeal 限定・2026-08-29）
   ============================================ */
.p-eduAppeal__fig {
  margin: var(--spacing-xl) 0;
  text-align: center;
}

.p-eduAppeal__fig img {
  display: block;
  width: 100%;
  height: auto;
  margin-inline: auto;
}

.p-eduAppeal__fig--logo img {
  max-width: 700px;
}

.p-eduAppeal__subTitle {
  font-size: 1.0625rem;
  font-weight: var(--fw-bold);
  margin: var(--spacing-xl) 0 var(--spacing-md);
}

/* ===== 教員紹介カード（c-cardStaff） ===== */
.c-cardStaff {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  background: #fff;
  height: 100%;
}
.c-cardStaff__photo {
  flex: 0 0 140px;
  width: 140px;
  overflow: hidden;
  border-radius: 2px;
  align-self: flex-start;
}
.c-cardStaff__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.c-cardStaff__body {
  flex: 1 1 auto;
  min-width: 0;
}
.c-cardStaff__name {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #252e79;
}
.c-cardStaff__link {
  margin: 0 0 14px;
}
.c-cardStaff__link .btn {
  display: inline-flex;
  font-size: 14px;
}
.c-cardStaff__data {
  display: grid;
  grid-template-columns: 5em 1fr;
  column-gap: 12px;
  row-gap: 8px;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.c-cardStaff__data dt {
  font-weight: 700;
  color: #252e79;
}
.c-cardStaff__data dd {
  margin: 0;
  word-break: break-word;
}
.c-cardStaff--noPhoto .c-cardStaff__photo {
  display: none;
}

@media screen and (max-width: 768px) {
  .c-cardStaff {
    gap: 14px;
    padding: 16px;
  }
  .c-cardStaff__photo {
    flex-basis: 100px;
    width: 100px;
  }
  .c-cardStaff__name {
    font-size: 18px;
    margin-bottom: 10px;
  }
  .c-cardStaff__data {
    grid-template-columns: 1fr;
    row-gap: 2px;
    font-size: 14px;
  }
  .c-cardStaff__data dt {
    margin-top: 8px;
  }
  .c-cardStaff__data dt:first-of-type {
    margin-top: 0;
  }
}

/* ==========================================================
   Real voice（学生インタビューの抜粋・複数ページ共通）
   2026-09-14 追加。写真＋吹き出しのコメント＋ハッシュタグ。
   顔写真は /dental/assets/img/campuslife/voice/interview_NN.jpg を流用する
   ========================================================== */
.c-realVoice {
  margin-block: var(--spacing-xl);
}

.c-realVoice__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.c-realVoice__item:last-child {
  margin-bottom: 0;
}

.c-realVoice__photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--color-main);
}

.c-realVoice__bubble {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: var(--spacing-lg);
  border-radius: 12px;
  background: var(--color-sub-blue);
}

.c-realVoice__bubble::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-right: 18px solid var(--color-sub-blue);
  border-bottom: 12px solid transparent;
  transform: translateY(-50%);
}

.c-realVoice__name {
  margin: 0 0 var(--spacing-sm);
  font-weight: var(--fw-bold);
  color: var(--color-main);
}

.c-realVoice__text {
  margin: 0;
}

.c-realVoice .c-realVoice__tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--spacing-md) 0 0;
  padding: 0;
}

.c-realVoice .c-realVoice__tags li {
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--color-main);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

@media (max-width: 768px) {
  .c-realVoice__item {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
  }

  .c-realVoice__photo {
    width: 112px;
    height: 112px;
  }

  .c-realVoice__bubble {
    width: 100%;
    padding: var(--spacing-md);
  }

  .c-realVoice__bubble::before {
    top: -18px;
    left: 50%;
    border-top: 0;
    border-right: 12px solid transparent;
    border-bottom: 18px solid var(--color-sub-blue);
    border-left: 12px solid transparent;
    transform: translateX(-50%);
  }
}

/* ==========================================================
   オープンキャンパスページ（2026-09-22）
   p-oc__ 節の追加分。exams/opencampus 専用。法人・短大へは同期しない
   公開後に pages\ へ分離する予定
   ========================================================== */

/* 4. 開催内容のカード：PC は画像の列を実寸（388px）に広げる */
.p-oc__contentCard {
  grid-template-columns: 388px 1fr;
}

/* 2. 01〜03 のカード：数字は文字にしてタイトルの横へ。並びは HTML の順（数字＋タイトル→写真→説明文）（2026-09-22 変更） */
.p-oc__cards {
  margin-top: 40px;
}
.p-oc__cardNo {
  margin-right: 12px;
  font-size: 2rem;
  font-weight: var(--fw-bold);
  line-height: 1;
}
.p-oc__cardImg {
  margin: 16px 0 0;
}

@media (max-width: 768px) {
  /* 1. 日程のカード：SP で3列。このページの枠の中だけに効かせる */
  .p-oc__apply .c-schedule-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .p-oc__apply .c-schedule-grid__item {
    padding: 14px 4px;
    border-radius: 12px;
  }
  .p-oc__apply .c-schedule-grid__date {
    font-size: 1.25rem;
  }
  .p-oc__apply .c-schedule-grid__dow {
    font-size: 0.75rem;
  }
  .p-oc__apply .c-schedule-grid__badge {
    max-width: 100%;
    padding: 2px 6px;
    font-size: 0.6875rem;
  }
  .p-oc__apply .p-oc__online .c-schedule-grid__dow {
    font-size: 0.8125rem;
  }

  /* 2. 01〜03 のカード（SP）：文字の大きさだけを調整する */
  .p-oc__cards {
    margin-top: 32px;
  }
  .p-oc__brackets .c-heading-lvl3 {
    font-size: var(--fs-base);
  }
  .p-oc__cardNo {
    font-size: 1.5rem;
  }
  .p-oc__cardText {
    font-size: var(--fs-sm);
    line-height: var(--lh-relaxed);
  }

  /* 4. 開催内容のカード：SP は画像を上、文章を下に縦積み */
  .p-oc__contentCard {
    grid-template-columns: 1fr;
  }
}

/* 1. 日程のカード（SP）：「2027」の札を上辺の中央に出し、日付と重ならないようにする。日程カード（SP）の2027の札（2026-09-22 追加） */
@media (max-width: 768px) {
  .p-oc__apply .c-schedule-grid {
    row-gap: 16px;
  }
  .p-oc__apply .c-schedule-grid__item {
    overflow: visible;
  }
  .p-oc__apply .c-schedule-grid__year {
    top: 0;
    right: auto;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2px 10px;
    border-radius: 9999px;
    font-size: 10px;
    line-height: 1.4;
    white-space: nowrap;
  }
}

/* ==========================================================
   5. 平日オンライン個別相談・進学相談会：独立した2枚のカードにする（2026-09-22）
   exams/opencampus 専用。法人・短大へは同期しない。公開後に pages\ へ分離する予定
   並びは「画像→説明文→ボタン」。タイトル文字と帯は画像に任せて外した
   ========================================================== */
.p-oc__events {
  gap: 24px;
  border-radius: 0;
  overflow: visible;
}
.p-oc__events .p-oc__event {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  width: auto;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--color-sub-blue);
}
.p-oc__events .p-oc__event > img {
  display: block;
  width: 100%;
  height: auto;
}
.p-oc__events .p-oc__eventBody {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 28px;
}
.p-oc__events .p-oc__eventText {
  margin: 0 auto 20px;
}
/* ボタンは2枚で下端を揃える */
.p-oc__events .p-oc__eventBody > p:last-child {
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .p-oc__events {
    gap: 16px;
  }
  .p-oc__events .p-oc__event {
    flex: none;
    width: 100%;
  }
  .p-oc__events .p-oc__eventBody {
    padding: 20px 16px 24px;
  }
}

/* ==========================================================
   修正（2026-09-23）
   ========================================================== */

/* No.7 2列の表：SP で最小幅を外し、横スクロールなしで表示する。HTML で c-table--2col を付けた表だけに効く */
@media (max-width: 768px) {
  .c-table--style-01.c-table--2col {
    min-width: 0;
    width: 100%;
  }
  .c-table--style-01.c-table--2col thead th {
    white-space: normal;
  }
  .c-table--style-01.c-table--2col tbody th {
    width: 30%;
  }
  .c-table--style-01.c-table--2col th,
  .c-table--style-01.c-table--2col td {
    overflow-wrap: break-word;
  }
}

/* No.5 大学の魅力（outline/appeal）：SP で吹き出しの下のカードの幅を、全幅のカードと揃える（80%→100%） */
@media (max-width: 768px) {
  .p-appeal__bubbleCols > li {
    width: 100%;
  }
}

/* ==========================================================
   修正（2026-09-23・2回目）
   ========================================================== */

/* 2列以下の表（c-table--2col）：SP で左の列の固定と影を外す。影が右端から5pxはみ出して横スクロールになるため */
@media (max-width: 768px) {
  .c-table--style-01.c-table--2col thead th:first-child,
  .c-table--style-01.c-table--2col tbody th {
    position: static;
  }
  .c-table--style-01.c-table--2col thead th:first-child::after,
  .c-table--style-01.c-table--2col tbody th::after {
    content: none;
  }
}

/* ==========================================================
   修正（2026-09-26）
   ========================================================== */

/* 1行に th が2つ以上ある表・th だけの見出し行がある表（c-table--no-sticky）：
   SP で左の列の固定と影を外す。固定すると th が左端で重なるため */
@media (max-width: 768px) {
  .c-table--style-01.c-table--no-sticky thead th:first-child,
  .c-table--style-01.c-table--no-sticky tbody th {
    position: static;
  }
  .c-table--style-01.c-table--no-sticky thead th:first-child::after,
  .c-table--style-01.c-table--no-sticky tbody th::after {
    content: none;
  }
}

/* 大学の魅力（outline/appeal）：数字 01〜03 を高さで揃えて小さくする（画像の横幅が違い、幅で揃えると 01 だけ大きく見えるため） */
.p-appeal__num {
  width: auto;
}
.p-appeal__num img {
  width: auto;
  height: 72px;
}

@media (max-width: 768px) {
  /* 大学の魅力：吹き出しは元の幅（80%・中央）に戻す。下のカードは全幅のまま */
  .p-appeal__bubbleCols .p-appeal__catch {
    width: 80%;
  }
  .p-appeal__num img {
    height: 60px;
  }
}
