@charset "UTF-8";
/* ==============================
   全体設定
   ============================== */
:root{
  /* メインカラー（青→黄緑グラデ） */
  --brand-blue:#4aabdb;   /* グラデ左（青） */
  --brand-mid:#6fc6bb;    /* グラデ中間（ミント） */
  --brand-lime:#a9da84;   /* グラデ右（黄緑） */
  --brand-grad:linear-gradient(100deg,#4aabdb 0%,#6fc6bb 48%,#a9da84 100%);
  --brand-grad-v:linear-gradient(170deg,#4aabdb 0%,#6fc6bb 46%,#a9da84 100%); /* SP用・縦向き */
  --brand-grad-rev:linear-gradient(100deg,#a9da84 0%,#6fc6bb 52%,#4aabdb 100%); /* 左右反転（緑→青） */
  --brand-grad-v-rev:linear-gradient(170deg,#a9da84 0%,#6fc6bb 46%,#4aabdb 100%); /* SP用・縦向きの反転 */
  --brand-grad-deep:linear-gradient(120deg,#2382b6 0%,#2f9a86 52%,#5aa74f 100%);
  --green:#2f9a7e;        /* 文字・ボタン用（グラデと同系の濃色） */
  --green-dark:#1f7a66;
  --teal:#3a9fd0;         /* グラデの青側 */
  --frame:#3d8b78;        /* ヒーローの枠色 */
  --orange:#f08c2e;       /* OCカード・CTA */
  --orange-deep:#e07514;
  --ink:#1c2b28;
  --ink-soft:#4c5f5a;
  --paper:#ffffff;
  --mist:#f2f7f4;         /* 薄緑がかったグレー */
  --line:#dce8e2;
  --dept-pt1:#89d38b;     /* 理学療法学科カラー */
  --dept-pt2:#c7e284;
  --dept-ems1:#6fb4e0;    /* 救急救命学科カラー */
  --dept-ems2:#8ad5dc;
  --radius:14px;
  --shadow:0 10px 30px rgba(28,43,40,.12);
  --font:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","YuGothic",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip;} /* iOS Safariの自動文字拡大を無効化（横スクロール表で文字が肥大する対策） */
body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  background:var(--paper);
  line-height:1.8;
  overflow-x:clip;
}
img{max-width:100%;height:auto;display:block}
figure{margin:0}
a{color:inherit;text-decoration:none}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3{margin:0;line-height:1.35;text-wrap:balance}
p{margin:0}

.l-container{max-width:1140px;margin:0 auto;padding:0 24px}
.l-section{padding:88px 0}
.l-section--mist{background:var(--mist)}

/* mist背景のときのth配色 */
.l-section--mist .c-lower-table thead th, .l-section--mist .c-lower-table th, .l-section--mist .c-doctable thead th, .l-section--mist .c-table--center thead th { background: var(--line); }
.l-section--mist .c-lower-table thead th:not(:last-child), .l-section--mist .c-doctable thead th:not(:last-child), .l-section--mist .c-table--center thead th:not(:last-child) { border-right-color: var(--paper); }
.l-section--mist .c-lower-table th:not(:last-child){ border-bottom-color: var(--paper); }

/* ログイン時：管理バーと固定要素の重なり回避 */
body:has(#wpadminbar) .l-header{top:32px}
body:has(#wpadminbar) .l-header__menu{top:50px}
body:has(#wpadminbar) .l-drawer{top:32px}
@media (max-width: 782px){
  body:has(#wpadminbar) .l-header{top:46px}
  body:has(#wpadminbar) .l-header__menu{top:64px}
  body:has(#wpadminbar) .l-drawer{top:46px}
}
@media (max-width: 640px){
  body:has(#wpadminbar) .l-header__menu{top:54px}
}
@media (max-width: 600px){
  html #wpadminbar{position:fixed}
}

/* 記事内の文字リンクの色を変える */
.p-news-detail-body p a,.p-news-detail-body li a{color:var(--green-dark);text-decoration:underline;text-underline-offset:.2em}
.p-news-detail-body p a:hover,.p-news-detail-body li a:hover{text-decoration:none}
