@charset "UTF-8";

/* ==========================================================================
   KDU Corporate Site - common.css
   --------------------------------------------------------------------------
   役割：Foundation（リセット・デザイントークン・Base）＋ Layout ＋ Utility
   出自：短大サイト assets/css/common.css（1,197行）からの抽出・再構成
   方針：仕様決定事項（確定版 260624）に準拠
     - フォント：Noto Sans JP
     - コンテナ幅：1000px（.m-container）/ 1200px（.l-container）
     - ブレークポイント：SP ≤768px / PC ≥769px（2段階）
     - トークンは本ファイル :root に一元管理（components/nav は使用のみ）
   注記：
     - コンポーネント（.btn / .c-heading-* / .c-card / .p-breadcrumb /
       .c-mv / .c-box-content / .c-list-* 等）は
       components.css へ分離（本ファイルには含めない）
     - 本文3層ラッパ（.l-mainContent / .c-box-content / .l-inner）の
       ベース定義は本ファイル Layout で持つ（体裁は components.css §15）
     - 印刷スタイルは print.css へ分離
     - 学科テーマ（.hyg / .nrs / hygiene / nursing）は短大固有のため不採用
   ========================================================================== */


/* ==========================================================================
   1. Normalize & Reset (normalize.css v8.0.1)
   ========================================================================== */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }


/* ==========================================================================
   2. Design Tokens（デザイントークン）
   --------------------------------------------------------------------------
   【管理方針】
   - すべてのCSS変数は本ファイル :root で一元管理する
   - components.css / nav.css 等では定義せず「使用のみ」
   - 値は「ブランド層（theme.css で上書き）」と「システム層（3サイト共通）」
     の2層で構成する
   ========================================================================== */

:root {

  /* ======================================================================
     2-1. ブランド層（theme.css でサイト別に上書きする想定）
     ----------------------------------------------------------------------
     ★ 法人ブランドカラーはカンプ確定後に theme.css で上書きする。
        以下は暫定値（構造確認用）。
     ====================================================================== */
  --color-main:          #12C19E;  /* メインカラー（★暫定・theme.cssで上書き） */
  --color-sub:           #EEF6FD;  /* サブカラー */
  --color-primary:       #004098;  /* プライマリ（紺） */
  --color-primary-light: #5EA4E1;  /* プライマリ薄（水色） */

  /* アクセント */
  --color-accent:   #f25a5c;  /* アクセント1（コーラル） */
  --color-accent02: #00cc99;  /* アクセント2（グリーン） */
  --color-accent03: #f47ca2;  /* アクセント3（ピンク） */

  /* テーブルヘッダー背景（メインカラー連動。theme.css で個別上書き可） */
  --table-head-bg: var(--color-main);


  /* ======================================================================
     2-2. システム層（3サイト共通。原則そのまま）
     ====================================================================== */

  /* --- グレースケール --- */
  --color-gray-25:  #fafafa;
  --color-gray-50:  #f5f7f6;
  --color-gray-100: #f4f7f9;
  --color-gray-200: #f0f0f0;
  --color-gray-300: #dddddd;
  --color-gray-350: #cccccc;
  --color-gray-400: #aaaaaa;
  --color-gray-500: #d5dfe5;
  --color-gray-600: #666666;
  --color-gray-700: #555555;
  --color-gray-900: #222222;

  /* --- セマンティックカラー（用途別エイリアス）--- */
  --color-text:         var(--color-gray-900);  /* 本文テキスト */
  --color-heading:      var(--color-gray-900);  /* 見出し：黒（意図的にprimaryと分離） */
  --color-border:       var(--color-gray-300);  /* 汎用ボーダー */
  --color-border-light: var(--color-gray-500);  /* テーブル等の薄いボーダー */
  --color-bg-light:     var(--color-gray-50);   /* 薄い背景 */
  --color-link:         #0066cc;                /* リンク */
  --color-link-hover:   #0052a3;                /* リンクホバー */
  --color-pdf-badge:    #cc0000;                /* PDFバッジ */
  --color-exam:         #cc0000;                /* NEWSカテゴリ「入試情報」用の赤 */
  --color-text-red:     #f00;                   /* 汎用の強調赤（u-text-red用）。現行 style9301.css 2155-2157 の .u-color_red と同値に統一 */

  /* テーブル補助色（旧 content.css :root から集約） */
  --table-side-bg:   #f2f2f2;
  --table-side-text: #666;

  /* --- Font Sizes（Base: 16px = 1rem）--- */
  --fs-xs:   0.75rem;    /* 12px - 注釈、キャプション */
  --fs-sm:   0.875rem;   /* 14px - 小さめテキスト、テーブル */
  --fs-base: 1rem;       /* 16px - 本文（デフォルト） */
  --fs-md:   1.125rem;   /* 18px - リード文、h4 */
  --fs-lg:   1.25rem;    /* 20px - h3相当 */
  --fs-xl:   1.375rem;   /* 22px - h3相当 */
  --fs-2xl:  1.5625rem;  /* 25px - h2相当 */
  --fs-3xl:  1.875rem;   /* 30px - h1相当 */

  /* レスポンシブ見出し（トップページ等） */
  --fs-heading-md:  clamp(1.75rem,  1.5rem + 1vw,   2rem);
  --fs-heading-lg:  clamp(1.875rem, 1.5rem + 1.5vw, 2.1875rem);
  --fs-heading-xl:  clamp(2rem,     1.5rem + 2vw,   2.5rem);
  --fs-heading-2xl: clamp(2.5rem,   2rem   + 2.5vw, 3.125rem);

  /* コンテンツページ用見出し（h2-h4のSP値は §2-3 のメディアクエリで上書き） */
  --fs-heading-h1: clamp(1.375rem, 1.125rem + 1vw, 2rem);   /* .c-mv--s .c-mv__title(components.css:2465)と同値に統一・全幅clampのためSP上書き無し */
  --fs-heading-h2: 1.75rem;   /* 28px */
  --fs-heading-h3: 1.5rem;    /* 24px */
  --fs-heading-h4: 1.25rem;   /* 20px相当 */

  /* --- Font Weights --- */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold:   700;

  /* --- Line Heights --- */
  --lh-tight:   1.25;
  --lh-normal:  1.6;
  --lh-relaxed: 1.8;

  /* --- Spacing --- */
  --spacing-xs:  0.25rem;  /*  4px */
  --spacing-sm:  0.5rem;   /*  8px */
  --spacing-md:  1rem;     /* 16px */
  --spacing-lg:  1.5rem;   /* 24px */
  --spacing-xl:  2rem;     /* 32px */
  --spacing-2xl: 3rem;     /* 48px */

  /* --- Border Radius --- */
  --radius-sm:   5px;
  --radius-md:   10px;
  --radius-lg:   15px;
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

  /* --- Transitions --- */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* --- Layout（固定ヘッダー高さ。nav.css 実装後に実値を調整）--- */
  --header-height: 220px;  /* PC（暫定・短大踏襲値） */
}

/* 2-3. SP（≤768px）でのトークン上書き
   ※ 短大の「:root 内に @media をネスト」する構造バグを解消し、
     トップレベルの独立ブロックとして記述する。 */
@media (max-width: 768px) {
  :root {
    --header-height:  165px;     /* SP ヘッダー高さ */
    --fs-heading-h2:  1.375rem;  /* 22px相当 */
    --fs-heading-h3:  1.25rem;   /* 20px */
  }
}


/* ==========================================================================
   3. Base Styles
   ========================================================================== */

html {
  box-sizing: border-box;
  font-size: 100%;
  line-height: 1.7;
  letter-spacing: 0.03em;
  scroll-padding-top: var(--header-height); /* アンカー時にヘッダー分オフセット */
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: var(--fs-base);
  color: var(--color-text);
  margin: 0;
  padding-top: var(--header-height); /* 固定ヘッダー分の余白 */
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: underline;
  color: var(--color-link);
  transition: opacity var(--transition-base), color var(--transition-base);
}

a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}


/* ==========================================================================
   4. Layout
   ========================================================================== */

.l-container {
  max-width: 1200px;
  padding-inline: 16px;
  margin-inline: auto;
}

.m-container {
  max-width: 1000px;
  padding-inline: 16px;
  margin-inline: auto;
}

.l-main {
  /* フッターとの間に余白を確保 */
  margin-bottom: 0px;
}

/* --- 本文3層ラッパ（下層ページ共通）---------------------------------------
   .l-mainContent（外側）> .c-box-content（白ボックス）> .l-inner（内側・最大幅）
   ベース余白は content ひな形の実装時に実値確定（現時点は構造のみの暫定値）。 */
.l-mainContent {
  width: 100%;
}

.c-box-content {
  background: #ffffff;
  padding-top: 85px;
}

.l-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}

/* 本文コンテナ幅は確定仕様 1000px（l-inner 既定 1200 は据え置き、本文のみ上書き）*/
.c-box-content .l-inner {
  max-width: 1000px;
}


/* ==========================================================================
   5. Utility
   --------------------------------------------------------------------------
   調整用クラス、ヘルパー（u- 接頭辞）
   ========================================================================== */

/* --- レスポンシブ表示切り替え --- */

@media (max-width: 768px) {
  .u-none_sp { display: none !important; }
  .u-w_10_sp { width: 10% !important; }
}

@media (min-width: 769px) {
  .u-none_pc { display: none !important; }
}

/* --- テキスト配置 --- */
.u-ta_center { text-align: center !important; }
.u-ta_left   { text-align: left   !important; }
.u-ta_right  { text-align: right  !important; }

/* u-ta_center 直下の img/picture>img を中央寄せにする追加指定
   現行 style9301.css 26-29行の img に display 指定が無い（インラインのまま）ことに基づく移植
   （common.css の img{display:block} が this とバッティングするため、直下imgのみ inline に戻す） */
.u-ta_center > img,
.u-ta_center > picture > img {
  display: inline;
}
.u-ai_c     { align-items: center !important; }
.u-fs_l     { font-size: var(--fs-lg) !important; line-height: 1.5; }

/* --- マージン調整（Margin Top・現行命名 u-m_t*／live 準拠）---------------
   content系の余白は本スケールを使用（margin-top）。値は live のステップに対応。
   ※ Step1 の u-mb-*（margin-bottom）は content系では使用しない。 */
.u-m_t0  { margin-top: 0    !important; }
.u-m_t1  { margin-top: 8px  !important; }
.u-m_t2  { margin-top: 12px !important; }
.u-m_t3  { margin-top: 16px !important; }
.u-m_t4  { margin-top: 20px !important; }
.u-m_t5  { margin-top: 24px !important; }
.u-m_t6  { margin-top: 30px !important; }
.u-m_t7  { margin-top: 35px !important; }
.u-m_t8  { margin-top: 40px !important; }
.u-m_t9  { margin-top: 45px !important; }
.u-m_t10 { margin-top: 50px !important; }
.u-m_t50 { margin-top: 2.778em; }

/* --- マージン調整（Margin Top・旧命名 u-mt-*／非content系で残置）--- */
.u-mt-0  { margin-top: 0    !important; }
.u-mt-20 { margin-top: 20px !important; }
.u-mt-30 { margin-top: 30px !important; }
.u-mt-40 { margin-top: 40px !important; }
.u-mt-50 { margin-top: 50px !important; }
.u-mt-60 { margin-top: 60px !important; }

/* --- マージン調整（Margin Bottom）--- */
.u-mb-0   { margin-bottom: 0    !important; }
.u-mb-10  { margin-bottom: 10px !important; }
.u-mb-20  { margin-bottom: 20px !important; }
.u-mb-30  { margin-bottom: 30px !important; }
.u-mb-40  { margin-bottom: 40px !important; }
.u-mb-50  { margin-bottom: 50px !important; }
.u-mb-60  { margin-bottom: 60px !important; }
.u-mb-80  { margin-bottom: 80px !important; }
.u-mb-100 { margin-bottom: 100px !important; }
.u-mb-150 { margin-bottom: 150px !important; }

/* トークン連動の余白（旧 content.css から集約） */
.u-mb-sm  { margin-bottom: var(--spacing-sm)  !important; } /*  8px */
.u-mb-lg  { margin-bottom: var(--spacing-lg)  !important; } /* 24px */
.u-mb-2xl { margin-bottom: var(--spacing-2xl) !important; } /* 48px */

/* --- 画像：レスポンシブサイズ制御 --- */
.u-img-sm { max-width: 300px; width: 100%; height: auto; display: block; margin: 40px auto !important; }
.u-img-md { max-width: 500px; width: 100%; height: auto; display: block; margin: 40px auto !important; }
.u-img-lg { max-width: 700px; width: 100%; height: auto; display: block; margin: 40px auto !important; }
.u-img-center { margin-left: auto; margin-right: auto !important; }

/* --- カラー --- */
.u-color-main    { color: var(--color-main) !important; }
.u-bg-main       { background-color: var(--color-main) !important; color: #ffffff !important; }
.u-text-accent02 { color: var(--color-accent02); }
.u-text-accent03 { color: var(--color-accent03); }
.u-text-red      { color: var(--color-text-red) !important; }

/* --- 装飾 --- */
.u-radius-lg { border-radius: var(--radius-lg) !important; }
.u-fw-bold   { font-weight: var(--fw-bold) !important; }

/* --- 文字サイズ（小）：注記・構成区分①〜④ 等の一段小さい説明文に使用 --- */
.u-fs_s { font-size: var(--fs-sm) !important; }

/* 標準の下線（文字色と同じ色） */
.u-text-underline {
  text-decoration: underline !important;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 1px;
}

/* 外部リンクアイコンを非表示にするユーティリティ */
.u-no-ext-icon::after { content: none !important; }

/* ファイル種別アイコン（PDF/Word/Excel 自動付与）を解除する打ち消しクラス */
.u-no-file-icon::after { content: none !important; }

/* --- テーブル関連ユーティリティ --- */

/* パーセント指定：比率調整用 */
.u-w_p1  { width: 1%   !important; }
.u-w_p10 { width: 10%  !important; }
.u-w_p15 { width: 15%  !important; }
.u-w_p18 { width: 18% !important; }
.u-w_p20 { width: 20%  !important; }
.u-w_p25 { width: 25%  !important; }
.u-w_p30 { width: 30%  !important; }
.u-w_p32 { width: 32% !important; } 
.u-w_p35 { width: 35% !important; }
.u-w_p50 { width: 50% !important; }

/* ピクセル指定：日付など文字数固定用 */
.u-w_180 { width: 180px !important; }
.u-w_200 { width: 200px !important; }
.u-w_220 { width: 220px !important; }
.u-w_240 { width: 240px !important; }
.u-w_260 { width: 260px !important; }
.u-w_280 { width: 280px !important; }

.u-fill_main  { background-color: var(--color-primary); color: #fff; }
.u-fill_main2 { background-color: var(--color-gray-200); }
.u-bg_gray1   { background-color: var(--color-gray-50); }

.b-r_none { border-right: none !important; }
.b-l_none { border-left:  none !important; }

.sticky_c {
  position: sticky;
  left: 0;
  background: var(--color-gray-50);
  z-index: 1;
}

/* --- リスト：余白・記号を消す --- */
.u-list-none {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- アクセシビリティ --- */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
