/*
 Theme Name:   SWELL Child - すわ動物病院
 Theme URI:    https://suwa-ah.com/
 Description:  SWELL 子テーマ（すわ動物病院 リニューアル用）
 Author:       すわ動物病院
 Template:     swell
 Version:      1.0.0
 Text Domain:  swell-child
*/

/* ============================================================
   DESIGN TOKENS（カラーパレット統一）
   ============================================================ */
:root {
  --blue:        #2960AC;
  --blue-dark:   #193e7a;
  --blue-mid:    #3d73c0;
  --blue-light:  #eef3fb;
  --blue-pale:   #f5f8fe;
  --accent:      #c94f00;
  --green:       #1b7a4a;
  --text:        #1a1a1a;
  --sub:         #576070;
  --bg:          #f3f6fb;
  --white:       #ffffff;
  --border:      #cad4e6;
  --r-sm:        8px;
  --r-md:        12px;
  --r-lg:        20px;
  --sh-sm:       0 2px 8px  rgba(41,96,172,.08);
  --sh-md:       0 4px 20px rgba(41,96,172,.12);
  --sh-lg:       0 8px 36px rgba(41,96,172,.16);
  --nav-h:       68px;
  --font:        system-ui, -apple-system, BlinkMacSystemFont,
                 "Segoe UI", "Noto Sans JP",
                 "ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
}

/* ============================================================
   BASE OVERRIDE（SWELLのデフォルト上書き）
   ============================================================ */
body {
  font-family: var(--font);
  color: var(--text);
  word-break: normal;
  overflow-wrap: break-word;
  line-break: loose;
  /* 固定フッターナビ分の余白 */
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
  /* overflow-x はbodyではなく#body_wrapで制御する */
}

.no-split {
  display: inline-block;
  white-space: nowrap;
}


/* ============================================================
   セクション共通
   ============================================================ */
.section {
  padding: 3.75rem 1.25rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head__label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: .45rem;
}

.section-head__title {
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.5;
  position: relative;
  padding-bottom: .9rem;
}

.section-head__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 3px;
  background: linear-gradient(to right, var(--blue), var(--blue-mid));
  border-radius: 2px;
}

.section-head__sub {
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--sub);
  line-height: 1.8;
}

/* ============================================================
   診察時間テーブル（メイン）
   ============================================================ */
.hours-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(.76rem, 2.5vw, .88rem);
  min-width: 460px;
}

@media (max-width: 600px) {
  .hours-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.hours-table th {
  background: var(--blue);
  color: var(--white);
  padding: .8em 1.1em;
  text-align: center;
  font-weight: 600;
  letter-spacing: .04em;
  font-size: .8rem;
}

.hours-table th:first-child { text-align: left; padding-left: 1.25em; }

.hours-table td {
  padding: .85em 1em;
  text-align: center;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.hours-table td:first-child  { text-align: left; font-weight: 600; padding-left: 1.25em; }
.hours-table tr:nth-child(even) td { background: var(--blue-pale); }
.hours-table tr:last-child td { border-bottom: none; }

.open   { color: var(--blue); font-weight: 700; font-size: 1.1em; }
.closed { color: #b0b8c4; }

.hours__foot {
  margin-top: 1rem;
  background: var(--blue-light);
  border-radius: var(--r-sm);
  padding: .9rem 1.1rem;
  font-size: .79rem;
  color: var(--sub);
  line-height: 1.9;
  border-left: 3px solid var(--blue);
}

/* ============================================================
   アクセス
   ============================================================ */
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

.access__info { display: flex; flex-direction: column; gap: 1.1rem; }

.access__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.access__value { font-size: .88rem; line-height: 1.7; }

/* ============================================================
   最新記事カード
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.post-card {
  background: var(--white);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform .2s, box-shadow .2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.post-card__thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue);
  opacity: .5;
}

.post-card__body { padding: 1rem 1.1rem; }

.post-card__cat {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--blue-light);
  color: var(--blue);
  padding: .15em .7em;
  border-radius: 4px;
  margin-bottom: .5rem;
}

.post-card__title {
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text);
}

.post-card__date { margin-top: .5rem; font-size: .7rem; color: var(--sub); }

.more-link {
  display: block;
  text-align: center;
  font-size: .84rem;
  font-weight: 700;
  color: var(--blue);
  border: 1.5px solid var(--blue);
  border-radius: 50px;
  padding: .65em 2em;
  width: fit-content;
  margin: 0 auto;
  transition: background .18s, color .18s;
  text-decoration: none;
}

.more-link:hover { background: var(--blue); color: var(--white); }

/* ============================================================
   SWELL ヘッダー調整
   ============================================================ */
/* ロゴとメニューの重なり防止 */
#header #header_logo {
  max-width: 320px;
}

#header #header_menu {
  margin-left: 0;
  float: right;
  width: auto;
}

#header #header_menu > ul > li > a {
  padding: 0 5px;
  font-size: 12px;
  letter-spacing: -0.5px;
}

/* ============================================================
   .headline コンポーネント（グラデーションアンダーライン）
   ============================================================ */
.headline {
  position: relative;
  padding: 0.25em 0;
}

.headline::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(to right, var(--blue), transparent);
  border-radius: 2px;
}

/* ============================================================
   Google マップ レスポンシブ
   ============================================================ */
.gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
}

.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

/* ============================================================
   画像サイズ制御
   ============================================================ */
#post_image img {
  max-width: 100%;
  height: auto;
}

#post_image img.half-width {
  width: 50%;
}

/* ============================================================
   スマホ受付テーブル（横スクロール）
   ============================================================ */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}

.table-scroll table {
  min-width: 500px;
  font-size: clamp(.76rem, 2.5vw, .88rem);
}

/* ============================================================
   固定フッターナビ（3ボタン常駐CTA）
   ============================================================ */
.fixed-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: var(--nav-h);
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,.10);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.fixed-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .4rem .25rem;
  font-size: clamp(.6rem, 2.2vw, .72rem);
  font-weight: 700;
  color: var(--sub);
  letter-spacing: .02em;
  border-right: 1px solid var(--border);
  text-decoration: none;
  transition: background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}

.fixed-nav__item:last-child {
  border-right: none;
}

.fixed-nav__item:active,
.fixed-nav__item:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.fixed-nav__item--primary {
  background: var(--blue);
  color: var(--white);
}

.fixed-nav__item--primary:active,
.fixed-nav__item--primary:hover {
  background: var(--blue-dark);
  color: var(--white);
}

.fixed-nav__icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* ============================================================
   トップページ 強みカード
   ============================================================ */
.str-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.str-card {
  background: var(--bg);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem 1.75rem;
  border-top: 4px solid var(--blue);
  box-shadow: var(--sh-md);
  transition: transform .2s, box-shadow .2s;
}

.str-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.str-card--accent {
  border-top-color: var(--accent);
}

.str-card__icon {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--blue-light);
}

.str-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.str-card--accent .str-card__icon {
  background: #fdf0e8;
}

.str-card__badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: .2em .85em;
  border-radius: 50px;
  margin-bottom: .7rem;
  background: var(--blue);
  color: var(--white);
}

.str-card--accent .str-card__badge {
  background: var(--accent);
}

.str-card__title {
  font-size: clamp(.98rem, 3.5vw, 1.12rem);
  font-weight: 700;
  margin-bottom: .6rem;
  line-height: 1.45;
}

.str-card__text {
  font-size: .84rem;
  color: var(--sub);
  line-height: 1.85;
}

.str-card__stat {
  margin-top: .9rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  font-weight: 700;
  color: var(--blue);
}

.str-card--accent .str-card__stat {
  color: var(--accent);
}

/* ============================================================
   ペットPASS ステップフロー
   ============================================================ */
.steps {
  position: relative;
  display: flex;
  flex-direction: column;
}

.steps::before {
  content: "";
  position: absolute;
  left: 1.55rem;
  top: 3rem;
  bottom: 3rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(61,115,192,.15));
  border-radius: 2px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1rem 0;
}

.step__num {
  flex-shrink: 0;
  width: 3.1rem;
  height: 3.1rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(41,96,172,.3);
  line-height: 1.1;
}

.step__num-lbl { font-size: .55rem; letter-spacing: .04em; opacity: .8; }
.step__num-n   { font-size: 1.1rem; font-weight: 800; }
.step__body    { flex: 1; padding-top: .3rem; }

.step__title {
  font-weight: 700;
  font-size: clamp(.95rem, 3.5vw, 1.05rem);
  margin-bottom: .25rem;
  line-height: 1.45;
}

.step__desc {
  font-size: .83rem;
  color: var(--sub);
  line-height: 1.8;
}

.step__tag {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 700;
  padding: .15em .7em;
  border-radius: 4px;
  margin-top: .45rem;
}

/* ============================================================
   受付時間 比較レイアウト
   ============================================================ */
.hours-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.hours-compare__col {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-md);
}

.hours-compare__head {
  padding: .75em 1.1em;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  display: flex;
  align-items: center;
  gap: .5em;
}

.hours-compare__col--petpass .hours-compare__head {
  background: var(--blue);
  color: var(--white);
}

.hours-compare__col--clinic .hours-compare__head {
  background: var(--green);
  color: var(--white);
}

.hc-row {
  display: flex;
  flex-direction: column;
  padding: .75rem 1rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  gap: .15rem;
}

.hc-row:last-child  { border-bottom: none; }
.hc-row:nth-child(even) { background: var(--blue-pale); }

.hc-day { font-weight: 700; color: var(--blue); font-size: .78rem; }
.hours-compare__col--clinic .hc-day { color: var(--green); }
.hc-time   { color: var(--text); line-height: 1.7; }
.hc-closed { color: #b0b8c4; font-style: italic; }

.hours-compare__note {
  grid-column: 1 / -1;
  background: #fff8f5;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .75rem 1rem;
  font-size: .78rem;
  color: var(--sub);
  line-height: 1.8;
}

.hours-compare__note strong { color: var(--accent); }

/* ============================================================
   レスポンシブ
   ============================================================ */
/* ============================================================
   SWELL コンテナ全幅化（ホームページ専用）
   .l-content.l-container の max-width を解除して全幅にすることで
   ヒーローの breakout 不要にする
   ============================================================ */
.home #content.l-content.l-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 0 !important;
}
.home .c-breadcrumb {
  display: none;
}
.home #main.l-main {
  width: 100%;
  min-width: 0;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ヘッダー〜ヒーロー間の余白をすべて除去 */
.home #content,
.home .l-content,
.home .l-mainWrapper,
.home #main_content,
.home .l-mainContent {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.home .hero {
  margin-top: 0 !important;
}

/* ============================================================
   HERO（front-page.php 対応）
   ============================================================ */
.hero {
  background: linear-gradient(155deg, var(--blue-dark) 0%, var(--blue) 50%, #4880cc 100%);
  color: var(--white);
  padding: 4rem 1.5rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* コンテナが全幅なので width: 100% で OK */
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--bg, #f3f6fb);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: rgba(255,255,255,.92);
  color: var(--blue);
  border: none;
  padding: .3em 1.2em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.hero__philosophy {
  font-size: clamp(1.4rem, 6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero__philosophy-note {
  display: block;
  font-size: clamp(.7rem, 2.5vw, .82rem);
  font-weight: 400;
  opacity: .65;
  letter-spacing: .12em;
  margin-bottom: .6rem;
}

.hero__sub {
  margin-top: 1.25rem;
  font-size: clamp(.82rem, 2.8vw, .95rem);
  opacity: .82;
  line-height: 1.75;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-weight: 700;
  font-size: .88rem;
  padding: .75em 1.75em;
  border-radius: 50px;
  transition: transform .18s, box-shadow .18s;
  cursor: pointer;
  border: none;
  line-height: 1.4;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); }

.btn--white {
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.btn--white:hover { box-shadow: 0 6px 24px rgba(0,0,0,.24); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.55);
}

.wrap {
  width: min(92%, 900px);
  margin-inline: auto;
}

/* HERO直後のセクションは上余白を詰める */
.hero + * .section,
.hero + .section,
.strengths.section {
  padding-top: 2rem;
}

/* ============================================================
   ボタン（青・白背景用）
   ============================================================ */
.btn--primary {
  background: var(--blue);
  color: var(--white) !important;
  box-shadow: 0 4px 16px rgba(41,96,172,.25);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 24px rgba(41,96,172,.35);
}

/* ============================================================
   ページ汎用ヒーロー（初診・アクセスなど固定ページ共通）
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 3rem 1.5rem 2.75rem;
  text-align: center;
  width: 100%;
  position: relative;
}
.page-hero__eyebrow {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
  margin: 0 0 .75rem;
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 .75rem;
  line-height: 1.25;
}
.page-hero__sub {
  font-size: 1rem;
  opacity: .85;
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   カスタムページ共通：コンテナ全幅化 + パンくず非表示
   （front-page.php / page-first-visit.php / page-access.php）
   ============================================================ */
.home .p-breadcrumb,
.page-first-visit .p-breadcrumb,
.page-access .p-breadcrumb,
.page-about .p-breadcrumb,
.page-faq .p-breadcrumb,
.page-staff .p-breadcrumb,
.page-course .p-breadcrumb,
.page-disease .p-breadcrumb,
.page-recruit .p-breadcrumb,
.page-blog .p-breadcrumb {
  display: none;
}
.page-first-visit #content.l-content.l-container,
.page-access #content.l-content.l-container,
.page-about #content.l-content.l-container,
.page-faq #content.l-content.l-container,
.page-staff #content.l-content.l-container,
.page-course #content.l-content.l-container,
.page-disease #content.l-content.l-container,
.page-recruit #content.l-content.l-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.page-first-visit #main.l-main,
.page-access #main.l-main,
.page-about #main.l-main,
.page-faq #main.l-main,
.page-staff #main.l-main,
.page-course #main.l-main,
.page-disease #main.l-main,
.page-recruit #main.l-main {
  width: 100%;
  min-width: 0;
}

/* ブログページ：ヒーロー全幅・コンテンツ幅補正 */
.page-blog .page-hero {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}
.page-blog #main_content.l-mainContent {
  width: 100% !important;
}
.page-blog .p-homeContent {
  margin-top: 3rem !important;
}

/* ============================================================
   アクセスページ：交通案内
   ============================================================ */
.access__transport {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8edf5;
}
.access__transport-ttl {
  font-size: .95rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 .75rem;
}
.access__transport-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.access__transport-list li {
  font-size: .875rem;
  color: #576070;
  padding-left: 1.25rem;
  position: relative;
}
.access__transport-list li::before {
  content: "🚌";
  position: absolute;
  left: 0;
  font-size: .8rem;
}

/* ============================================================
   チェックリスト（お持ちいただくもの）
   ============================================================ */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(41,96,172,.06);
}
.checklist__item--optional {
  opacity: .7;
  border-style: dashed;
  box-shadow: none;
}
.checklist__icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}
.checklist__name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-dark);
  margin: 0 0 .35rem;
}
.checklist__note {
  font-size: .85rem;
  color: #576070;
  line-height: 1.75;
  margin: 0;
}

/* ============================================================
   院長ごあいさつ
   ============================================================ */
.greeting-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 760px;
  margin: 0 auto;
}
.greeting-photo {
  flex-shrink: 0;
  text-align: center;
}
.greeting-photo__img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto .5rem;
  box-shadow: var(--sh-md);
}
.greeting-photo__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.greeting-photo__name {
  font-size: .78rem;
  font-weight: 700;
  color: var(--sub);
  white-space: nowrap;
}
.greeting-body__text {
  font-size: .9rem;
  line-height: 2;
  color: var(--text);
}

/* ============================================================
   診療方針リスト
   ============================================================ */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.policy-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--sh-sm);
  border-left: 4px solid var(--blue);
}
.policy-item__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}
.policy-item__title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  margin: 0 0 .3rem;
}
.policy-item__text {
  font-size: .87rem;
  color: var(--sub);
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   認定資格リスト
   ============================================================ */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-width: 720px;
  margin: 0 auto;
}
.cert-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--sh-sm);
  border-left: 4px solid var(--blue);
}
.cert-item__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .1rem;
}
.cert-item__name {
  font-weight: 700;
  font-size: .93rem;
  color: var(--text);
  margin: 0 0 .2rem;
}
.cert-item__note {
  font-size: .82rem;
  color: var(--sub);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   医療機器グリッド
   ============================================================ */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.equipment-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
}
.equipment-item__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.equipment-item__name {
  padding: .6em .8em;
  font-size: .82rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
}
.equipment-item::before {
  content: none;
  color: var(--blue);
  font-size: .65rem;
  color: var(--blue);
  font-size: .65rem;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}
.faq-q {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: .93rem;
  color: var(--blue-dark);
  background: var(--blue-light);
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  line-height: 1.6;
}
.faq-q__mark {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  margin-top: .05rem;
}
.faq-a {
  padding: 1rem 1.25rem;
  font-size: .87rem;
  color: var(--sub);
  line-height: 1.85;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.faq-a__mark {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  margin-top: .05rem;
}

/* ============================================================
   スタッフ紹介
   ============================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.staff-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  transition: transform .2s, box-shadow .2s;
}
.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
}
.staff-card--chief {
  grid-column: 1 / -1;
  border-left: 4px solid var(--accent);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.staff-card--nurse  { border-top: 4px solid var(--blue); }
.staff-card__photo {
  height: 200px;
  overflow: hidden;
  background: var(--blue-light);
}
.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.staff-card--chief .staff-card__photo {
  width: 360px;
  min-width: 220px;
  flex-shrink: 0;
  height: auto;
  background: linear-gradient(135deg, #fdf0e8, #fffbf7);
}
.staff-card--chief .staff-card__body {
  flex: 1;
  padding: 2rem;
}
.staff-card--nurse .staff-card__photo img {
  object-fit: contain;
}
.staff-card__body { padding: 1.5rem; }
.staff-card__career {
  margin: .75rem 0 .85rem;
}
.staff-card__career-ttl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sub);
  text-transform: uppercase;
  margin: 0 0 .4rem;
}
.staff-card__career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.staff-card__career-list li {
  font-size: .78rem;
  color: var(--sub);
  line-height: 1.6;
  display: flex;
  gap: .75rem;
}
.career-year {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  min-width: 3.2rem;
}
.staff-card__memberships {
  margin: .75rem 0;
  padding: .65rem 1rem;
  background: #f3f6fb;
  border-radius: 8px;
}
.staff-card__memberships-ttl {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sub);
  margin: 0 0 .4rem;
  text-transform: uppercase;
}
.staff-card__memberships ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .4rem;
}
.staff-card__memberships li {
  font-size: .7rem;
  color: var(--sub);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: .15rem .65rem;
  line-height: 1.6;
}
.staff-card__role {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--blue);
  margin: 0 0 .3rem;
  text-transform: uppercase;
}
.staff-card--chief .staff-card__role { color: var(--accent); }
.staff-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 .15rem;
}
.staff-card__name-yomi {
  font-size: .75rem;
  color: var(--sub);
  margin: 0 0 .85rem;
}
.staff-card__certs {
  list-style: none;
  padding: 0;
  margin: 0 0 .85rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.staff-card__certs li {
  font-size: .78rem;
  color: var(--sub);
  padding-left: 1rem;
  position: relative;
  line-height: 1.6;
}
.staff-card__certs li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--blue);
}
.staff-card__bio {
  font-size: .83rem;
  color: var(--sub);
  line-height: 1.8;
  margin: 0;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   フォトリール（無限横スクロール）
   ============================================================ */
.photo-reel {
  overflow: hidden;
  width: 100%;
  padding: 2.5rem 0;
  background: #f3f6fb;
}
.photo-reel__track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: photo-reel-scroll 36s linear infinite;
}
.photo-reel__track:hover {
  animation-play-state: paused;
}
@keyframes photo-reel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.photo-reel__item {
  width: 300px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}
.photo-reel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.photo-reel__item:hover img {
  transform: scale(1.04);
}

/* ============================================================
   トップページ 最新記事セクション（SWELL投稿リストブロック用）
   ============================================================ */
.news-section {
  background: var(--bg);
  padding: 0 1.25rem 3.75rem;
  width: 100%;
}
.news-section > *,
.news-section .swell-block-postList {
  width: min(92%, 900px) !important;
  max-width: min(92%, 900px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ============================================================
   実績アコーディオン（details/summary）
   ============================================================ */
.achievement-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.achievement-group {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-sm);
}
.achievement-group__head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--blue-light);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.achievement-group__head::-webkit-details-marker { display: none; }
.achievement-group__head::after {
  content: "▸";
  margin-left: auto;
  color: var(--blue);
  font-size: .85rem;
  transition: transform .2s;
  flex-shrink: 0;
}
details[open] > .achievement-group__head::after {
  transform: rotate(90deg);
}
.achievement-group__icon { font-size: 1.15rem; }
.achievement-group__title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--blue-dark);
  flex: 1;
}
.achievement-group__count {
  display: none;
}

.pub-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pub-item {
  display: flex;
  gap: 1rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: .84rem;
  align-items: flex-start;
}
.pub-item:last-child { border-bottom: none; }
.pub-item:nth-child(even) { background: var(--blue-pale); }
.pub-item__year {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--blue);
  font-size: .78rem;
  width: 3.2rem;
  padding-top: .15rem;
}
.pub-item__body { flex: 1; }
.pub-item__title {
  display: block;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: .3rem;
}
.pub-item__authors {
  display: block;
  font-size: .72rem;
  color: var(--sub);
  margin-bottom: .2rem;
}
.pub-item__journal {
  display: inline-block;
  font-size: .72rem;
  color: var(--sub);
  background: var(--bg);
  padding: .1em .65em;
  border-radius: 4px;
}
.pub-item__award {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--accent);
  background: #fff3ee;
  padding: .1em .65em;
  border-radius: 4px;
  margin-left: .4em;
}

/* ============================================================
   診療カード（まとめページ）
   ============================================================ */
.course-section__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35em 1em;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.course-section__label--oncology { background: #fff3ee; color: var(--accent); }
.course-section__label--blood    { background: var(--blue-light); color: var(--blue); }
.course-section__label--prevention { background: #edfaf3; color: var(--green); }

.course-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 1.5rem 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--sh-sm);
  transition: transform .18s, box-shadow .18s;
  gap: .5rem;
}
.course-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
  text-decoration: none;
}
.course-card__icon  { font-size: 1.8rem; line-height: 1; }
.course-card__title { font-size: .95rem; font-weight: 700; margin: .25rem 0 0; line-height: 1.4; }
.course-card__desc  { font-size: .8rem; color: var(--sub); line-height: 1.7; margin: 0; flex: 1; }
.course-card__more  { font-size: .78rem; font-weight: 700; color: var(--blue); margin-top: .5rem; }
.course-card--oncology   { border-top: 3px solid var(--accent); }
.course-card--blood      { border-top: 3px solid var(--blue); }
.course-card--prevention { border-top: 3px solid var(--green); }

/* ============================================================
   疾患詳細ページ
   ============================================================ */
.disease-block { max-width: 760px; margin: 0 auto; }
.disease-block__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  border-left: 4px solid var(--blue);
  padding-left: .75rem;
  margin: 0 0 1rem;
  line-height: 1.4;
}
.disease-block__text { font-size: .9rem; line-height: 2; color: var(--text); margin: 0; }

.disease-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.disease-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.disease-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  line-height: 1.7;
}
.disease-list li::before {
  content: "▸";
  color: var(--blue);
  font-size: .75rem;
  flex-shrink: 0;
  margin-top: .25rem;
}

.disease-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .25em .8em;
  border-radius: 4px;
  margin-bottom: .75rem;
}
.disease-tag--oncology   { background: #fff3ee; color: var(--accent); }
.disease-tag--blood      { background: var(--blue-light); color: var(--blue); }
.disease-tag--prevention { background: #edfaf3; color: var(--green); }

.disease-note {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: .85rem 1.1rem;
  font-size: .85rem;
  line-height: 1.8;
  max-width: 760px;
  margin: 1.25rem auto 0;
}
.disease-note--warning { background: #fff8f5; border-color: var(--accent); }

.disease-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 3rem 1.25rem;
  background: var(--bg);
}

/* ============================================================
   予防ページ専用
   ============================================================ */
.prevention-card {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.prevention-card__head {
  background: var(--green);
  color: var(--white);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.prevention-card__icon  { font-size: 1.5rem; }
.prevention-card__title { font-size: 1.05rem; font-weight: 800; }
.prevention-card__body  { padding: 1.5rem; }
.prevention-card__text  { font-size: .88rem; line-height: 2; margin: 0 0 1rem; }

.vaccine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .75rem; }
.vaccine-col__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--green);
  padding-bottom: .3rem;
  margin-bottom: .6rem;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 680px) {
  .hero            { padding: 3rem 1.25rem 2.75rem; }
  .page-hero       { padding: 2.5rem 1.25rem 2.25rem; }
  .str-grid        { grid-template-columns: 1fr; }
  .hours-compare   { grid-template-columns: 1fr; }
  .steps::before   { left: 1.4rem; }
  .step__num       { width: 2.8rem; height: 2.8rem; }
  .step__num-n     { font-size: 1rem; }
  .checklist__item { padding: 1rem 1.1rem; gap: .75rem; }
  .checklist__icon { font-size: 1.4rem; }
  .greeting-layout { flex-direction: column; align-items: center; text-align: center; }
  .equipment-grid  { grid-template-columns: repeat(2, 1fr); }
  .staff-grid      { grid-template-columns: 1fr; }
  .staff-card--chief {
    grid-column: auto;
    flex-direction: column;
    border-left: none;
    border-top: 4px solid var(--accent);
  }
  .staff-card--chief .staff-card__photo {
    width: 100%;
    height: 220px;
  }
  .course-cards    { grid-template-columns: 1fr 1fr; }
  .disease-cols    { grid-template-columns: 1fr; }
  .vaccine-grid    { grid-template-columns: 1fr; }
  .latest-posts-grid { grid-template-columns: 1fr !important; }
  .latest-post__thumb { height: 160px; }
  .recruit-grid    { grid-template-columns: 1fr !important; }
  .recruit-table th,
  .recruit-table td { font-size: .9rem; padding: .6rem .8rem; }
}

/* ============================================================
   トップページ：最新の記事・お知らせ
   ============================================================ */
.latest-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.latest-post {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dde4f0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(41,96,172,.07);
  transition: transform .2s, box-shadow .2s;
}
.latest-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(41,96,172,.13);
  text-decoration: none;
  color: inherit;
}
.latest-post__thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #eef3fb;
}
.latest-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.latest-post__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #aabbdd;
}
.latest-post__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.latest-post__cat {
  display: inline-block;
  background: #eef3fb;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .2em .65em;
  border-radius: 4px;
  margin-bottom: .6rem;
}
.latest-post__title {
  font-size: .95rem;
  font-weight: 700;
  color: #1a2640;
  line-height: 1.55;
  margin: 0 0 auto;
}
.latest-post__date {
  font-size: .78rem;
  color: #8a9ab5;
  margin: .75rem 0 0;
}

/* ============================================================
   求人案内ページ
   ============================================================ */
.recruit-intro {
  background: #f3f6fb;
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.recruit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.recruit-card {
  background: #fff;
  border: 1px solid #dde4f0;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 2px 8px rgba(41,96,172,.07);
}
.recruit-card__type {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .25em .75em;
  border-radius: 4px;
  margin-bottom: .75rem;
}
.recruit-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 0 0 1rem;
}
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
}
.recruit-table th {
  width: 7em;
  background: #f0f4fb;
  color: var(--blue-dark);
  font-weight: 700;
  padding: .75rem 1rem;
  border: 1px solid #dde4f0;
  vertical-align: top;
  white-space: nowrap;
}
.recruit-table td {
  padding: .75rem 1rem;
  border: 1px solid #dde4f0;
  color: #444;
  line-height: 1.7;
}
.recruit-contact {
  background: var(--blue);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 2.5rem;
  text-align: center;
}
.recruit-contact__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
}
.recruit-contact__tel {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: .05em;
  margin: .5rem 0;
}
.recruit-contact__tel a {
  color: #fff;
  text-decoration: none;
}
.recruit-contact__note {
  font-size: .85rem;
  opacity: .8;
  margin: 0;
}
