@charset "utf-8";
/*
 * ==========================================================================
 * site.css ― 西川整形外科クリニック
 * ==========================================================================
 *
 * 値はすべて claude-design-output/assets/style.css の実数値から解決したもの。
 * 目視推定は行っていない。共通CSS（main.css）のクラスで再現できない差分のみ
 * ここに記述する。新規クラスはすべて .nsk- プレフィックス。
 *
 * ==========================================================================
 * 使用した共通CSS（main.css）のクラス
 * ==========================================================================
 *
 * .container / .container-wide / .container-narrow
 *      … 元データ .wrap-m / .wrap / .wrap-s に相当。max-width は SCSS 変数
 *        （$width_base:1400 / $width_wide:1800 / $width_narrow:1200）で解決済み。
 *        左右 padding だけ元データ（2% ／ なし）に合わせて上書き。
 * .section                … $section_padding:72px を解決済み（元データ .sec）
 * .header / .header__inner / .header__logo / .header__nav / .header__nav-item /
 * .header__nav-item--current / .header__right / .header__tel / .header__cta
 *                         … ヘッダーの骨組み。見た目は .nsk-* で上書き
 * .nav-toggle / .nav-toggle__line / .sp-nav / .sp-nav__list / .sp-nav__item /
 * .sp-nav__link / .sp-nav__en / .sp-nav__bottom
 *                         … SPナビ（元データにハンバーガーはないが
 *                            implementation-guide §8 の必須構造）
 * .sp-fixed-bar / __item / __link … 元データ .mobile-bar
 * .page-top / .page-top__link     … トップに戻る
 * .embed                          … Googleマップ iframe ラッパー（radius 12px）
 * .tab-nav / .tab-nav--gap        … 元データ .job-tabs（gap:8px / 下線なし）と一致
 *
 * ==========================================================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ==========================================================================
 *
 * ▼ レイアウト・汎用
 * .nsk-inset               - セクションの左右2%インセット（元データ .sec の左右padding）
 * .nsk-sec-white / -gray   - セクション地色の出し分け
 * .nsk-two-col             - auto-fit minmax(300px,1fr) の2カラム（+ is-start / is-center）
 * .nsk-col-gap-24/30/32/44/56 - 縦積み gap のプリセット
 * .nsk-stack / -stack-l / -stack-s - 縦積み gap 22 / 28 / 14
 * .nsk-scroll-x            - 横スクロール + margin-bottom:22px
 * .nsk-center / --tight    - 中央寄せボタン置き場
 * .nsk-reveal              - スクロールで16px下からフェードイン（1回のみ）
 *
 * ▼ 見出し・テキスト
 * .nsk-sec-head (+ is-center / --flush) - 英字ラベル＋clamp見出しの2段見出し
 * .nsk-sec-en / .nsk-sec-title / --28   - 英字ラベル／セクションタイトル
 * .nsk-head-bar            - 左に丸バーが2pxはみ出す帯見出し
 * .nsk-doctor-name         - 氏名＋よみ
 * .nsk-note-text           - 補足段落（17px / --ink3 / lh1.95）
 *
 * ▼ ヘッダー・フッター
 * .nsk-header / __inner    - sticky + 白96%背景 + blur(8px)
 * .nsk-brand / __body / __ja / __en
 * .nsk-gnav / __item       - pill型ナビ（横スクロール）
 * .nsk-header__right / .nsk-header-tel / __label / __num / .nsk-btn-reserve
 * .nsk-spnav-tel / .nsk-spnav-reserve
 * .nsk-footer / __space / .nsk-footer-card / -brand / -addr / -grid / -map
 * .nsk-footer-contact / -tel / -btns / .nsk-btn-line / .nsk-btn-web
 * .nsk-tbl-foot / .nsk-footer-notes / .nsk-footer-sns / .nsk-copyright
 * .nsk-mobile-bar / __reserve / __tel
 *
 * ▼ TOP
 * .nsk-mv-section / .nsk-mv / __inner / __veil / __copy / __en / __lead / __scroll
 * .nsk-mv-badges / __inner / .nsk-badge-open / .nsk-badge-reserve
 * .nsk-hours-section / -grid / -photo / -pair / -box / .nsk-tbl-hours / .nsk-notes
 * .nsk-wave-section / .nsk-wave (--top / --bottom)
 * .nsk-cards2 / .nsk-card-photo / __veil / __body / __title / __tag / __arrow
 * .nsk-exam-section / .nsk-cards3 / .nsk-exam-card / .nsk-exam-icon
 * .nsk-btn-outline / .nsk-btn-pill
 * .nsk-reserve-section / -inner
 * .nsk-recruit-bnr / __action  - 元データ .apply の実数値を流用した採用バナー
 * .nsk-access-map              - 元データ .hours-photo / .footer-map の実数値を流用
 * .nsk-insta-inner
 *
 * ▼ 下層
 * .nsk-page-hero / __img / __title / .nsk-page-lead
 * .nsk-doctor-photo / .nsk-greet / __sign
 * .nsk-policy-grid / .nsk-policy / __img / __no
 * .nsk-tbl-career / .nsk-list-dot / .nsk-tags / .nsk-info-box / .nsk-tbl-notice
 * .nsk-dept-head / .nsk-dept-mark (.is-green) / .nsk-dept-title / .nsk-dept-lead
 * .nsk-two-col-photo / .nsk-symptom-grid / .nsk-symptom
 * .nsk-rehab / __img / __no / .nsk-target
 * .nsk-exam-row (.is-reverse) / -body / -head / -photo / -note / __title
 * .nsk-recruit-lead / -flex / -photo / -main / .nsk-job-tab / .nsk-job-panel / .nsk-tbl-job
 * .nsk-apply / __body / __action / __tel
 * .nsk-notice / __tag / .nsk-board-list / .nsk-board
 *
 * ==========================================================================
 * 共通SCSSに不足していたもの（5分類）
 * ==========================================================================
 *
 * ■ 値の粒度不足
 *   - font-size / padding が clamp() の値（例 clamp(25px,3vw,34px)）。
 *     fz-* / p-* ユーティリティは固定値のみで、可変値を表現できない。
 *   - 余白の刻みが 5px 単位のため 34px / 22px / 26px / 13px 等が出せない。
 *   - line-height が 1/1.1/1.2/1.4/1.6/1.8/2 の7段。元データの 1.9 / 1.95 /
 *     2.05 / 1.7 が表現できない（body の 1.9 は $line_height_base で解決）。
 *
 * ■ 指定方向不足
 *   - grid の auto-fit + minmax。共通の grid-2/3/4 は列数固定で、
 *     「minmax(258px,1fr) で自動折返し」という指定ができない。
 *   - order:-1（元データ .hours-photo / .exam-row.is-reverse）を指定する
 *     ユーティリティがない。
 *
 * ■ 状態不足
 *   - hover で背景色を「アクセント → アクセント濃」に変える組み合わせ
 *     （btn-reserve が blue→green、btn-line が green-dark→#4d7c33）。
 *     hover-bg-* は変数色のみで、濃淡の中間値を指定できない。
 *
 * ■ 構造不足
 *   - 「英字ラベル(13px) + clamp見出し」の2段見出し（.nsk-sec-head）。
 *     heading 系は英字が大きく日本語が小さい構成のみ。
 *   - 写真の下端に白いタイトル箱を -72px 重ねる下層ヒーロー
 *     （.nsk-page-hero__title）。共通 .page-hero は overflow:hidden のため
 *     はみ出す重なりが成立しない。
 *   - 帯見出しの左に丸バーが 2px はみ出す構造（.nsk-head-bar）。
 *   - カードの角に矩形の矢印チップを差し込む構造（.nsk-card-photo__arrow）。
 *   - タブがパネル境界に 1px 食い込むカードタブ（.nsk-job-tab）。
 *
 * ■ 装飾パターン不足
 *   - セクション上下に配置する 110px のSVG波（.nsk-wave）。
 *     wave-divider は 60〜80px で、上下同時配置・高さ110pxに対応しない。
 *   - 100deg の白グラデーションveil（.nsk-mv__veil）。bg-overlay は単色 rgba のみ。
 *   - 上半分blue・下半分greenの2色縦グラデーションの小バー
 *     （.nsk-exam-note__title::before）。
 *   - 支給待ち写真をぼかして仮置きする表現（.nsk-doctor-photo の blur(14px)）。
 *
 */

/* --------------------------------------------------------------------------
   元データ（claude-design-output/assets/style.css :root）から解決した実数値
   -------------------------------------------------------------------------- */
:root {
  --nsk-blue: #3481c1;
  --nsk-blue-dark: #23608f;
  --nsk-green: #79b555;
  --nsk-green-dark: #5f9440;
  --nsk-ink: #2f3841;
  --nsk-ink2: #454f59;
  --nsk-ink3: #56606a;
  --nsk-gray: #7b8792;
  --nsk-line: #e6ecf1;
  --nsk-bg: #f5f7f9;
  --nsk-bg-blue: #f2f7fb;
  --nsk-footer-bg: #eaf3ea;
}


/* --------------------------------------------------------------------------
   基本要素の上書き（元データ body / a に合わせる）
   共通CSSは body の font-size を tablet/SP で縮小するが、元データには
   その指定がないため 17px のまま固定する。
   -------------------------------------------------------------------------- */
@media (max-width: 900px) { body { font-size: 1.7rem; } }
@media (max-width: 639px) { body { font-size: 1.7rem; } }

a { color: var(--nsk-blue-dark); }
a:hover { color: var(--nsk-green); opacity: 1; }

/* --------------------------------------------------------------------------
   共通ラッパー
   .container       = 元データ .wrap-m（width:100%; max-width:1400px; padding:0 2%）
   .container-wide  = 元データ .wrap  （width:96%;  max-width:1800px; padding なし）
   .container-narrow= 元データ .wrap-s（width:100%; max-width:1200px; padding:0 2%）
   共通CSSは 1399px 以下で max-width:96% + padding:10px に落ちるため打ち消す。
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  padding-left: 2%;
  padding-right: 2%;
}
.container-wide {
  width: 96%;
  padding-left: 0;
  padding-right: 0;
}
.container-narrow {
  width: 100%;
  padding-left: 2%;
  padding-right: 2%;
}
@media (max-width: 1399px) {
  .container { max-width: 1400px; padding-left: 2%; padding-right: 2%; }
  .container-wide { max-width: 1800px; padding-left: 0; padding-right: 0; }
}
@media (max-width: 639px) {
  .container-narrow { max-width: 1200px; }
}

/* セクションの左右インセット（元データ .sec / .hours-section 等の padding 左右 2%） */
.nsk-inset {
  padding-left: 2%;
  padding-right: 2%;
}

/* 元データ body{padding-bottom:64px} @media(max-width:899px)（固定バー分） */
@media (max-width: 899px) {
  body { padding-bottom: 64px; }
}

/* --------------------------------------------------------------------------
   ヘッダー（元データ .site-header / .header-inner / .brand / .gnav / .header-right）
   -------------------------------------------------------------------------- */
.nsk-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--nsk-line);
}
.nsk-header__inner {
  width: 96%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 12px 0;
  height: auto;
  gap: 20px;
  flex-wrap: nowrap;
}
@media (max-width: 1149px) {
  .nsk-header__inner { padding: 12px 0; height: auto; }
}

/* ロゴ（元データ .brand） */
.nsk-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--nsk-ink);
}
.nsk-brand:hover { color: var(--nsk-ink); opacity: 1; }
.nsk-brand img { width: 54px; height: auto; }
@media (max-width: 639px) {
  .nsk-brand img { width: 54px; height: auto; }
}
.nsk-brand__body { display: flex; flex-direction: column; gap: 2px; }
.nsk-brand__ja {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.nsk-brand__en {
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--nsk-blue);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* 極小幅（〜360px）ではロゴが nowrap のまま入りきらず横あふれする。
   さらに .nav-toggle は position:fixed（右10px・44px角）で重なるため、
   その手前までに収まるサイズへ詰める。※ベース定義より後ろに置くこと */
@media (max-width: 374px) {
  .nsk-brand { gap: 10px; }
  .nsk-brand img { width: 48px; }
  .nsk-brand__ja { font-size: 19px; }
  .nsk-brand__en { font-size: 9px; letter-spacing: 0.08em; }
}
@media (max-width: 339px) {
  .nsk-brand { gap: 8px; }
  .nsk-brand img { width: 44px; }
  .nsk-brand__ja { font-size: 17px; }
  .nsk-brand__en { font-size: 8px; letter-spacing: 0.04em; }
}

/* グローバルナビ（元データ .gnav / .gnav-item：pill を横スクロールで並べる） */
.nsk-gnav {
  margin-left: auto;
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--nsk-bg);
  border-radius: 999px;
  padding: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nsk-gnav::-webkit-scrollbar { display: none; }
.nsk-gnav__item { display: flex; }
.nsk-gnav__item > a {
  display: block;
  padding: 11px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #3e4a55;
  white-space: nowrap;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}
.nsk-gnav__item > a::after { display: none; }
.nsk-gnav__item > a:hover {
  background: #e9eff4;
  color: var(--nsk-blue-dark);
  opacity: 1;
}
.header__nav-item--current.nsk-gnav__item > a,
.header__nav-item--current.nsk-gnav__item > a:hover {
  background: var(--nsk-blue);
  color: #fff;
}
@media (max-width: 1399px) {
  .nsk-gnav__item > a { font-size: 14px; padding: 10px 12px; }
}
@media (max-width: 1149px) {
  .nsk-gnav { display: flex; }
}
@media (max-width: 1049px) {
  .nsk-gnav__item > a { font-size: 13px; padding: 10px 9px; }
}
@media (max-width: 899px) {
  .nsk-gnav { display: none; }
}

/* 右側：電話 + WEB予約（元データ .header-right / .header-tel / .btn-reserve） */
.nsk-header__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  height: auto;
}
@media (max-width: 1149px) {
  .nsk-header__right { display: none; }
}
.nsk-header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  white-space: normal;
}
.nsk-header-tel::before { content: none; display: none; }
.nsk-header-tel:hover { opacity: 1; }
.nsk-header-tel__label {
  font-size: 11px;
  color: var(--nsk-gray);
  letter-spacing: 0.08em;
}
.nsk-header-tel__num {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--nsk-blue-dark);
  white-space: nowrap;
}
@media (max-width: 1399px) {
  .nsk-header-tel { display: none; }
}
.nsk-btn-reserve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  height: auto;
  padding: 14px 24px;
  background: var(--nsk-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(52, 129, 193, 0.28);
}
.nsk-btn-reserve:hover {
  background: var(--nsk-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(121, 181, 85, 0.3);
  opacity: 1;
}

/* ハンバーガー / SPナビ：元データにハンバーガーはないため、
   元データのモバイル境界（899px）に合わせて共通CSSの表示切替点をずらす。 */
@media (max-width: 1149px) {
  .nav-toggle { display: none; }
}
@media (max-width: 899px) {
  .nav-toggle { display: block; }
}
/* SPナビの各項目：共通CSSは［英字｜日本語｜›］の並び。
   日本語を左・英字を右に入れ替える。日本語はテキストノード（無名フレックス
   アイテム＝order:0）でセレクタを当てられないため、英字と › 側に order を振る。
   あわせて gap で › とテキストの間隔を広げる。 */
.sp-nav__link { gap: 12px; }
.sp-nav__en {
  order: 1;
  margin-right: 0;
  margin-left: auto;
  padding-left: 0;
}
.sp-nav__link::after { order: 2; }

.sp-nav__bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nsk-spnav-tel,
.nsk-spnav-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.nsk-spnav-tel {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.14);
}
.nsk-spnav-reserve { background: var(--nsk-green); }
.nsk-spnav-tel:hover,
.nsk-spnav-reserve:hover { color: #fff; opacity: 0.85; }

/* --------------------------------------------------------------------------
   フッター（元データ .site-footer / .footer-card / .footer-grid ほか）
   -------------------------------------------------------------------------- */
.nsk-footer {
  background: var(--nsk-footer-bg);
  color: var(--nsk-ink);
}
.nsk-footer__space { height: 34px; }
.nsk-footer-card {
  width: 96%;
  max-width: 1720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 38px 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.nsk-footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.nsk-footer-brand img { width: 56px; height: auto; }
.nsk-footer-brand span {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
}
/* SPは medical name（11文字）が clamp 下限の24pxでも収まらず2行に折り返すため、
   カード左右padding・ロゴ・文字を詰めて必ず1行に収める。
   計算式：使える幅 = 0.96vw - padding44 - ロゴ40 - gap10 → 11.1文字分で割った値 */
@media (max-width: 639px) {
  .nsk-footer-card { padding: 28px 22px 26px; }
  .nsk-footer-brand { gap: 10px; }
  .nsk-footer-brand img { width: 40px; }
  .nsk-footer-brand span {
    font-size: clamp(17px, calc(8.3vw - 8px), 24px);
    white-space: nowrap;
  }
}
.nsk-footer-addr {
  margin: -18px 0 0;
  text-align: center;
  font-size: 17px;
  line-height: 1.95;
  color: var(--nsk-ink2);
}
.nsk-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 44px;
  align-items: start;
}
.nsk-footer-map {
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef2f5;
}
.nsk-footer-map iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}
.nsk-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nsk-footer-contact {
  border: 1px solid var(--nsk-line);
  border-radius: 12px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.nsk-footer-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.nsk-footer-tel b { font-size: 15px; font-weight: 700; }
.nsk-footer-tel a {
  font-family: "Outfit", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  color: var(--nsk-blue-dark);
  line-height: 1.2;
  white-space: nowrap;
}
.nsk-footer-tel a:hover { color: var(--nsk-green-dark); opacity: 1; }
.nsk-footer-tel small { font-size: 13px; color: var(--nsk-gray); }
.nsk-footer-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nsk-btn-line,
.nsk-btn-web {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 172px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 22px;
  border-radius: 8px;
}
.nsk-btn-line { background: var(--nsk-green-dark); }
.nsk-btn-line:hover { background: #4d7c33; color: #fff; opacity: 1; }
.nsk-btn-web { background: var(--nsk-blue); }
.nsk-btn-web:hover { background: var(--nsk-blue-dark); color: #fff; opacity: 1; }

/* 横スクロールラッパー（元データ .scroll-x） */
.nsk-scroll-x {
  overflow-x: auto;
  margin-bottom: 22px;
}

/* フッター受付時間表（元データ .tbl-foot：ヘッダー行をグリーンで組む） */
.nsk-tbl-foot {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.nsk-tbl-foot th {
  background: var(--nsk-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}
.nsk-tbl-foot th.head {
  background: var(--nsk-green-dark);
  text-align: left;
  white-space: nowrap;
  padding: 13px 18px;
}
.nsk-tbl-foot th.off { background: #a9bfae; }
.nsk-tbl-foot td {
  text-align: center;
  padding: 15px 8px;
  border-bottom: 1px solid var(--nsk-line);
  font-size: 19px;
  color: var(--nsk-green);
}
.nsk-tbl-foot td.time {
  text-align: left;
  padding: 15px 18px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--nsk-ink);
  white-space: nowrap;
}
.nsk-tbl-foot td.na { color: #b6c0c9; }
.nsk-footer-notes {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  color: var(--nsk-gray);
  line-height: 1.5;
}

/* SNS（元データにはない。wireframe「SNS：Instagram／LINE公式」のため追加。
   トンマナは .tags / .footer-notes に合わせる） */
.nsk-footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nsk-footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border: 1px solid var(--nsk-line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: var(--nsk-blue-dark);
}
.nsk-footer-sns a:hover {
  background: var(--nsk-bg);
  color: var(--nsk-green-dark);
  opacity: 1;
}
.nsk-copyright {
  width: 96%;
  max-width: 1720px;
  margin: 0 auto;
  padding: 26px 0 32px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  color: #5c6b58;
}
@media (max-width: 900px) {
  .nsk-footer-contact { grid-template-columns: 1fr; }
  .nsk-footer-btns { align-items: center; }
}

/* --------------------------------------------------------------------------
   SP固定バー（元データ .mobile-bar：899px以下のみ表示）
   -------------------------------------------------------------------------- */
.nsk-mobile-bar { display: none; }
@media (max-width: 899px) {
  .nsk-mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #fff;
    padding: 0;
    padding-bottom: 0;
    border-top: none;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    z-index: 60;
  }
}
.nsk-mobile-bar .sp-fixed-bar__item { flex: none; }
.nsk-mobile-bar__reserve,
.nsk-mobile-bar__tel {
  display: block;
  height: 100%;
  padding: 18px 10px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.nsk-mobile-bar__reserve { background: var(--nsk-blue); }
.nsk-mobile-bar__reserve:hover { background: var(--nsk-blue-dark); color: #fff; }
.nsk-mobile-bar__tel { background: var(--nsk-green); }
.nsk-mobile-bar__tel:hover { background: var(--nsk-green-dark); color: #fff; }

/* ページトップ：元データにはないが固定バーと重なるためSPで持ち上げる */
@media (max-width: 899px) {
  .page-top { bottom: 76px; }
}

/* --------------------------------------------------------------------------
   スクロールフェードイン（wireframe「移動量16px程度、1回のみ」）
   -------------------------------------------------------------------------- */
.nsk-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.nsk-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .nsk-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   TOP
   ========================================================================== */

/* --------------------------------------------------------------------------
   メインビジュアル（元データ .mv-section / .mv / .mv-veil / .mv-copy / badges）
   ・スライドはCMSスライダーへ差し替えるため静止画1枚（implementation-guide §10.1）
   ・#slideshow の高さは元データの aspect-ratio + min-height をそのまま採用
   -------------------------------------------------------------------------- */
.nsk-mv-section {
  background: linear-gradient(180deg, #f2f7fb 0%, #fff 100%);
  padding: 40px 0 64px;
}
#slideshow.nsk-mv {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  min-height: 460px;
  border-radius: 20px;
  overflow: hidden;
  background: #e3eaf0;
}
#slideshow.nsk-mv .swiper-slide,
.nsk-mv__inner {
  position: absolute;
  inset: 0;
}
.nsk-mv__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nsk-mv__veil {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.42) 56%, rgba(255, 255, 255, 0) 76%);
  pointer-events: none;
}
.nsk-mv__copy {
  position: absolute;
  left: clamp(24px, 4vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  max-width: min(620px, 54%);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.nsk-mv__copy h1 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.01em;
  display: flex;
  flex-direction: column;
}
.nsk-mv__copy h1 span { white-space: nowrap; }
.nsk-mv__en {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--nsk-blue);
  text-transform: uppercase;
}
.nsk-mv__lead {
  font-size: 18px;
  color: var(--nsk-ink2);
  line-height: 1.95;
}

/* スクロール誘導（元データにはない。wireframe「SCROLLの縦書き英字を中央下に1つ」） */
.nsk-mv__scroll {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--nsk-blue-dark);
}
.nsk-mv__scroll span { writing-mode: vertical-rl; }
.nsk-mv__scroll::after {
  content: "";
  width: 1px;
  height: 34px;
  background: var(--nsk-blue);
}
.nsk-mv__scroll:hover { color: var(--nsk-green-dark); opacity: 1; }

/* 開業告知・予約バッジ（元データ .mv-badges） */
.nsk-mv-badges {
  position: relative;
  height: 0;
}
.nsk-mv-badges__inner {
  position: absolute;
  right: -10px;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}
.nsk-badge-open,
.nsk-badge-reserve {
  width: 154px;
  height: 154px;
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.nsk-badge-open {
  background: var(--nsk-blue);
  gap: 4px;
  box-shadow: 0 10px 24px rgba(35, 96, 143, 0.28);
}
.nsk-badge-open b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.nsk-badge-open b i {
  font-style: normal;
  font-size: 26px;
  font-weight: 900;
  padding: 0 2px;
}
.nsk-badge-open small {
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #a8cfe9;
}
.nsk-badge-reserve {
  background: var(--nsk-green);
  gap: 8px;
  box-shadow: 0 10px 24px rgba(121, 181, 85, 0.3);
}
.nsk-badge-reserve:hover { background: var(--nsk-green-dark); color: #fff; opacity: 1; }
.nsk-badge-reserve span {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}
.nsk-badge-reserve small {
  font-family: "Outfit", sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #dcefcb;
}
@media (max-width: 900px) {
  #slideshow.nsk-mv { min-height: 380px; aspect-ratio: 4/3; }
  .nsk-mv__copy { max-width: 76%; }
  .nsk-mv-badges__inner { right: 0; bottom: -16px; }
  .nsk-badge-open,
  .nsk-badge-reserve { width: 118px; height: 118px; }
}
@media (max-width: 639px) {
  /* 写真は元画像（1536×1024＝3:2）の比率のまま。min-height を外してトリミングしない */
  #slideshow.nsk-mv { aspect-ratio: 3 / 2; min-height: 0; }
  /* キャッチは大きな文字のみ。英字ラベルとリード文はSPでは出さない */
  .nsk-mv__en,
  .nsk-mv__lead { display: none; }
  /* バッジ（右下）と重ならないよう、キャッチは上寄せにする */
  .nsk-mv__copy {
    top: 24px;
    left: 20px;
    transform: none;
    max-width: calc(100% - 40px);
    gap: 0;
  }
  .nsk-mv__copy h1 { font-size: 28px; }
  /* SCROLL誘導はバッジと重なるため非表示 */
  .nsk-mv__scroll { display: none; }
  /* バッジは写真にかぶりすぎないよう下げる（セクション下padding 64px 内に収める） */
  .nsk-mv-badges__inner { bottom: -48px; }
}

/* --------------------------------------------------------------------------
   セクション見出し（元データ .sec-head / .sec-en / .sec-title）
   共通の .heading は英字5rem＋日本語2.2remの中央揃えで、元データの
   「小さな英字ラベル＋clamp見出し」とは構造・値が別物のため個別に定義する。
   -------------------------------------------------------------------------- */
.nsk-sec-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 36px;
}
.nsk-sec-head.is-center {
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}
.nsk-sec-en {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--nsk-green);
  text-transform: uppercase;
}
.nsk-sec-title {
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  color: var(--nsk-ink);
}

/* --------------------------------------------------------------------------
   受付時間（元データ .hours-section / .hours-grid / .hours-box / .tbl-hours）
   -------------------------------------------------------------------------- */
.nsk-hours-section {
  padding-top: 40px;
  padding-bottom: 76px;
  background: #fff;
}
.nsk-hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 48px;
  align-items: stretch;
}
.nsk-hours-photo {
  min-height: 420px;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  order: -1;
}
.nsk-hours-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
/* 「午前 9:00〜12:30」は nowrap のため最小幅238px。SPは2列だと収まらず横あふれする */
@media (max-width: 599px) {
  .nsk-hours-pair { grid-template-columns: 1fr; gap: 12px; }
  .nsk-hours-box { padding: 18px 20px; }
}
.nsk-hours-box {
  background: var(--nsk-bg);
  border-radius: 16px;
  padding: 26px 30px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
}
.nsk-hours-box b {
  font-size: 18px;
  font-weight: 700;
  color: var(--nsk-blue);
}
.nsk-hours-box span {
  font-family: "Outfit", sans-serif;
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  white-space: nowrap;
}
.nsk-tbl-hours {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 17px;
}
.nsk-tbl-hours th {
  background: var(--nsk-blue);
  color: #fff;
  font-weight: 700;
  padding: 14px 8px;
  border: 1px solid #fff;
}
.nsk-tbl-hours th.head {
  background: var(--nsk-blue-dark);
  width: 22%;
  padding: 14px 10px;
}
.nsk-tbl-hours th.off { background: #8fa3b3; }
.nsk-tbl-hours td {
  border: 1px solid var(--nsk-line);
  text-align: center;
  font-size: 22px;
  color: var(--nsk-blue);
  padding: 16px 8px;
}
.nsk-tbl-hours td.time {
  background: var(--nsk-bg);
  border: 1px solid #fff;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--nsk-ink);
  white-space: nowrap;
  padding: 16px 14px;
}
.nsk-tbl-hours td.na { color: #b6c0c9; }
.nsk-notes {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 16px;
  color: var(--nsk-ink3);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   診療科目（元データ .wave-section / .cards2 / .card-photo）
   ※ 共通CSSにも .card-photo があるが構造・値が別物なので衝突を避けて命名する
   -------------------------------------------------------------------------- */
.nsk-wave-section {
  position: relative;
  padding-top: 156px;
  padding-bottom: 186px;
  background: var(--nsk-bg);
  overflow: hidden;
}
.nsk-wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: 110px;
  display: block;
}
.nsk-wave--top { top: -1px; }
.nsk-wave--bottom { bottom: -1px; }
.nsk-cards2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 28px;
}
.nsk-card-photo {
  position: relative;
  display: block;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.nsk-card-photo:hover { color: #fff; opacity: 1; }
.nsk-card-photo__veil {
  position: absolute;
  inset: 0;
  background: rgba(47, 56, 65, 0.42);
}
.nsk-card-photo__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 32px;
}
.nsk-card-photo__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
.nsk-card-photo__tag {
  background: #fff;
  color: var(--nsk-blue-dark);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 999px;
}
.nsk-card-photo__arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66px;
  height: 56px;
  background: var(--nsk-blue);
  border-radius: 14px 0 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   当院の検査（元データ .exam-section / .cards3 / .exam-card / .btn-outline）
   共通の .btn は width:100% ＋ max-width:300px ＋ 1.5rem が前提で、元データの
   内容幅ボタン（17px / padding 14px 30px）とは別物のため個別に定義する。
   -------------------------------------------------------------------------- */
.nsk-exam-section {
  padding-top: 24px;
  padding-bottom: 76px;
  background: #fff;
}
.nsk-cards3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: 22px;
}
.nsk-exam-card {
  border: 1px solid var(--nsk-line);
  border-radius: 20px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}
.nsk-exam-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: var(--nsk-bg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nsk-exam-icon img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.nsk-exam-card h3 { font-size: 22px; font-weight: 700; }
.nsk-exam-card p { font-size: 16px; color: var(--nsk-ink3); }
.nsk-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--nsk-blue);
  color: var(--nsk-blue-dark);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
}
.nsk-btn-outline:hover {
  background: var(--nsk-bg-blue);
  color: var(--nsk-blue-dark);
  opacity: 1;
}
.nsk-center {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* --------------------------------------------------------------------------
   ご予約について（元データ .reserve-section / .reserve-inner / .btn-pill）
   ボタン2つ（WEB予約／LINEで予約）は wireframe の指定。色は元データの
   「押せるもの＝グリーン系」「WEB予約＝ブルー」の使い分けをそのまま踏襲する。
   -------------------------------------------------------------------------- */
.nsk-reserve-section {
  padding-top: 76px;
  padding-bottom: 76px;
  background: linear-gradient(180deg, #f2f7fb 0%, #eaf3ea 100%);
}
.nsk-reserve-inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.nsk-reserve-inner p {
  font-size: 19px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
.nsk-sec-head.nsk-sec-head--flush { margin-bottom: 0; }
.nsk-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nsk-blue);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  padding: 20px 44px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(52, 129, 193, 0.28);
}
.nsk-btn-pill:hover { background: var(--nsk-green); color: #fff; opacity: 1; }

/* --------------------------------------------------------------------------
   汎用パーツ（元データ .sec-gray / .two-col / .tags / .col-gap-* / .tbl-notice）
   -------------------------------------------------------------------------- */
.nsk-sec-white { background: #fff; }
.nsk-sec-gray { background: var(--nsk-bg); }

.nsk-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  align-items: stretch;
}
.nsk-two-col.is-start { align-items: start; }
.nsk-two-col.is-center { align-items: center; }

.nsk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nsk-tags span {
  background: var(--nsk-bg);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 16px;
  color: var(--nsk-ink2);
}

.nsk-col-gap-24 { display: flex; flex-direction: column; gap: 24px; }
.nsk-col-gap-30 { display: flex; flex-direction: column; gap: 30px; }
.nsk-col-gap-32 { display: flex; flex-direction: column; gap: 32px; }
.nsk-col-gap-44 { display: flex; flex-direction: column; gap: 44px; }
.nsk-col-gap-56 { display: flex; flex-direction: column; gap: 56px; }
.nsk-stack-l { display: flex; flex-direction: column; gap: 28px; }
.nsk-stack-s { display: flex; flex-direction: column; gap: 14px; }

.nsk-tbl-notice {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
.nsk-tbl-notice th {
  text-align: left;
  width: 150px;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--nsk-line);
  color: var(--nsk-blue);
  font-weight: 700;
  vertical-align: top;
}
.nsk-tbl-notice td {
  padding: 14px 0;
  border-bottom: 1px solid var(--nsk-line);
  color: var(--nsk-ink2);
}

/* --------------------------------------------------------------------------
   採用情報バナー（元データ .apply の実数値を流用）
   -------------------------------------------------------------------------- */
.nsk-recruit-bnr {
  background: var(--nsk-bg-blue);
  border-radius: 20px;
  padding: 36px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}
.nsk-recruit-bnr p {
  font-size: 17px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
.nsk-recruit-bnr__action {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 900px) {
  .nsk-recruit-bnr__action { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   アクセス（元データ .hours-photo / .footer-map の実数値を流用）
   -------------------------------------------------------------------------- */
.nsk-access-map {
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: #eef2f5;
}
.nsk-access-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   Instagram（元データのインラインstyleをクラス化。公開時点は非表示）
   -------------------------------------------------------------------------- */
.nsk-insta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}
.nsk-insta-inner p { color: var(--nsk-ink3); }

/* ==========================================================================
   下層ページ
   ========================================================================== */

/* --------------------------------------------------------------------------
   ページヒーロー（元データ .page-hero / .page-hero-img / .page-hero-title）
   共通の .page-hero は写真+暗幕+テキストの3層構造で overflow:hidden を持つ。
   元データは「写真の下端に白いタイトル箱を -72px 重ねる」構造で、はみ出しを
   clip しては成立しないため、衝突を避けて個別に定義する。
   -------------------------------------------------------------------------- */
.nsk-page-hero {
  background: #fff;
  padding: 32px 0 8px;
}
.nsk-page-hero__img {
  position: relative;
  width: 100%;
  height: clamp(260px, 30vw, 420px);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-color: #e3eaf0;
}
.nsk-page-hero__title {
  position: relative;
  margin-top: -72px;
  background: #fff;
  border-radius: 0 20px 0 0;
  padding: 30px 72px 26px 30px;
  width: -moz-fit-content;
  width: fit-content;
  max-width: min(680px, 68%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nsk-page-hero__title h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nsk-blue-dark);
}
.nsk-page-lead {
  margin: 26px 0 0;
  padding-left: 30px;
  font-size: 18px;
  line-height: 2;
  color: var(--nsk-ink2);
  max-width: 1120px;
}
/* SPは padding-left の30pxだけが効いて左右の余白が 38px / 8px と食い違うため、
   インデントを外して写真・タイトル箱の左端に揃える */
@media (max-width: 639px) {
  .nsk-page-lead { padding-left: 0; padding-right: 0; }
}

/* --------------------------------------------------------------------------
   医院紹介：院長挨拶（元データ .doctor-photo / .greet）
   -------------------------------------------------------------------------- */
.nsk-doctor-photo {
  position: relative;
  flex: 1;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
}
.nsk-doctor-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--nsk-doctor-photo) center/cover no-repeat;
  filter: blur(14px) saturate(0.85);
  transform: scale(1.1);
}
.nsk-doctor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
}
.nsk-greet {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.nsk-greet h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.6;
}
.nsk-greet p {
  font-size: 18px;
  color: var(--nsk-ink2);
  line-height: 2.05;
}
.nsk-greet__sign {
  font-size: 17px;
  color: var(--nsk-ink);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   診療方針（元データ .policy-grid / .policy）
   -------------------------------------------------------------------------- */
.nsk-policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 0;
}
.nsk-policy {
  padding: 0 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nsk-policy + .nsk-policy { border-left: 1px solid #e2e7eb; }
.nsk-policy__img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}
.nsk-policy__no {
  align-self: flex-start;
  background: var(--nsk-green);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 999px;
}
.nsk-policy h3 {
  font-size: 23px;
  font-weight: 700;
  color: var(--nsk-blue-dark);
}
.nsk-policy p {
  font-size: 16px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
@media (max-width: 900px) {
  .nsk-policy { padding: 0; }
  .nsk-policy + .nsk-policy { border-left: none; padding-top: 28px; }
}

/* --------------------------------------------------------------------------
   院長紹介（元データ .head-bar / .tbl-career / .list-dot / .info-box）
   ※ .head-bar の ::before は margin-left:-2px で箱の左外にはみ出す設計。
      overflow で clip しないこと。
   ※ 共通CSSの .list-dot は list-style:disc ＋ padding-left で、元データの
      「flex ＋ グリーンの中黒」とは別実装のため個別に定義する。
   -------------------------------------------------------------------------- */
.nsk-head-bar {
  background: var(--nsk-bg);
  border-radius: 8px;
  padding: 16px 22px 16px 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--nsk-blue-dark);
  display: flex;
  align-items: center;
  gap: 18px;
}
.nsk-head-bar::before {
  content: "";
  width: 5px;
  height: 22px;
  border-radius: 999px;
  background: var(--nsk-blue-dark);
  flex-shrink: 0;
  margin-left: -2px;
}
.nsk-doctor-name {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--nsk-ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 18px;
}
.nsk-doctor-name span {
  font-size: 15px;
  font-weight: 500;
  color: var(--nsk-gray);
  letter-spacing: 0.08em;
}
.nsk-tbl-career {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
.nsk-tbl-career th {
  text-align: left;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid var(--nsk-line);
  color: var(--nsk-blue);
  font-weight: 700;
  white-space: nowrap;
  vertical-align: top;
}
.nsk-tbl-career td {
  padding: 14px 0;
  border-bottom: 1px solid var(--nsk-line);
  color: var(--nsk-ink2);
}
.nsk-list-dot li {
  display: flex;
  gap: 10px;
  font-size: 17px;
  color: var(--nsk-ink2);
}
.nsk-list-dot li::before {
  content: "・";
  color: var(--nsk-green);
  font-weight: 700;
}
.nsk-info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--nsk-bg-blue);
  border-radius: 18px;
  padding: 26px 28px;
}
.nsk-info-box h3 { font-size: 21px; font-weight: 700; }
.nsk-info-box p {
  font-size: 16px;
  color: var(--nsk-ink3);
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   診療科目（元データ .dept-head / .symptom / .rehab / .target）
   -------------------------------------------------------------------------- */
.nsk-dept-head {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nsk-dept-mark {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  border: 2px solid var(--nsk-blue);
  color: var(--nsk-blue);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nsk-dept-mark.is-green {
  border-color: var(--nsk-green);
  color: var(--nsk-green-dark);
}
.nsk-dept-title {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
}
.nsk-dept-lead {
  font-size: 18px;
  color: var(--nsk-ink2);
  line-height: 2;
  max-width: 1120px;
}
.nsk-two-col-photo {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}
.nsk-symptom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(258px, 100%), 1fr));
  gap: 20px;
}
.nsk-symptom {
  border: 1px solid var(--nsk-line);
  border-radius: 18px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nsk-symptom h3 { font-size: 21px; font-weight: 700; }
.nsk-symptom p {
  font-size: 16px;
  color: var(--nsk-ink3);
  line-height: 1.9;
}
.nsk-rehab {
  background: #fff;
  border-radius: 20px;
  padding: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.nsk-rehab__img {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
}
.nsk-rehab__no {
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--nsk-green);
  letter-spacing: 0.1em;
  padding: 0 30px;
}
.nsk-rehab h3 { font-size: 22px; font-weight: 700; padding: 0 30px; }
.nsk-rehab p {
  font-size: 17px;
  color: var(--nsk-ink3);
  line-height: 1.95;
  padding: 0 30px;
}
.nsk-target {
  background: var(--nsk-bg-blue);
  border-radius: 20px;
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nsk-target h3 { font-size: 21px; font-weight: 700; }
.nsk-target p {
  font-size: 17px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
.nsk-note-text {
  font-size: 17px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
.nsk-center--tight { margin-top: 10px; }

/* --------------------------------------------------------------------------
   当院の検査（元データ .exam-row / .exam-head / .exam-note / .exam-photo）
   -------------------------------------------------------------------------- */
.nsk-exam-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 44px;
  align-items: center;
}
.nsk-exam-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nsk-exam-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nsk-exam-head img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
.nsk-exam-head h2 {
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 700;
}
.nsk-exam-body > p {
  font-size: 18px;
  color: var(--nsk-ink2);
  line-height: 2;
}
.nsk-exam-photo {
  aspect-ratio: 4/3;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}
.nsk-exam-note {
  background: var(--nsk-bg-blue);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nsk-exam-note__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--nsk-blue-dark);
}
.nsk-exam-note__title::before {
  content: "";
  width: 7px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--nsk-blue) 0 50%, var(--nsk-green) 50% 100%);
  flex-shrink: 0;
}
.nsk-exam-note ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 16px;
  color: var(--nsk-ink2);
  line-height: 1.7;
}
.nsk-exam-note li { display: flex; gap: 9px; }
.nsk-exam-note li::before {
  content: "・";
  color: var(--nsk-green);
  font-weight: 700;
}
.nsk-exam-note small {
  font-size: 14px;
  color: #6b757f;
  line-height: 1.7;
}
@media (min-width: 901px) {
  .nsk-exam-row.is-reverse .nsk-exam-photo { order: -1; }
}

/* --------------------------------------------------------------------------
   採用情報（元データ .recruit-flex / .job-tab / .job-panel / .tbl-job / .apply）
   タブの並びは共通の .tab-nav .tab-nav--gap（gap:8px / border-bottom:none）が
   元データの .job-tabs と一致するためそのまま使用。タブ本体のみ個別定義。
   -------------------------------------------------------------------------- */
.nsk-recruit-lead {
  font-size: 19px;
  color: var(--nsk-ink2);
  line-height: 2.05;
  max-width: 1120px;
}
.nsk-recruit-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
  align-items: stretch;
}
.nsk-recruit-photo {
  width: 30%;
  min-width: 260px;
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.nsk-recruit-main {
  width: 66%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
}
.nsk-job-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--nsk-line);
  border-radius: 12px 12px 0 0;
  margin-bottom: -1px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  padding: 15px 32px;
  background: var(--nsk-bg);
  color: var(--nsk-gray);
}
.nsk-job-tab:hover { color: var(--nsk-blue-dark); opacity: 1; }
.nsk-job-tab.is-current {
  background: #fff;
  color: var(--nsk-blue-dark);
  border-bottom-color: #fff;
}
/* SPは3タブ合計386px（padding 32px×2が主因）で、幅300〜360pxに収まらず
   「事務」が2行目に落ちる。3等分＋padding/文字を詰めて1行に収める。 */
@media (max-width: 639px) {
  #jobTabs.tab-nav--gap { gap: 4px; flex-wrap: nowrap; }
  .nsk-job-tab {
    flex: 1 1 0;
    min-width: 0;
    font-size: clamp(13px, 4.2vw, 16px);
    padding: 13px 6px;
    white-space: nowrap;
  }
}
.nsk-job-panel {
  background: #fff;
  border: 1px solid var(--nsk-line);
  border-radius: 0 12px 12px 12px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nsk-tbl-job {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
}
.nsk-tbl-job th {
  text-align: left;
  width: 190px;
  background: var(--nsk-bg);
  color: var(--nsk-ink);
  font-weight: 700;
  padding: 16px 20px;
  border: 1px solid var(--nsk-line);
  vertical-align: top;
}
.nsk-tbl-job td {
  padding: 16px 20px;
  border: 1px solid var(--nsk-line);
  color: var(--nsk-ink3);
}
.nsk-apply {
  background: var(--nsk-bg-blue);
  border-radius: 20px;
  padding: 36px 34px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 32px;
  align-items: center;
}
.nsk-apply__body { display: flex; flex-direction: column; gap: 12px; }
.nsk-apply__action { display: flex; flex-direction: column; gap: 8px; }
.nsk-apply h3 { font-size: 24px; font-weight: 700; }
.nsk-apply p {
  font-size: 17px;
  color: var(--nsk-ink3);
  line-height: 1.95;
}
.nsk-apply__tel {
  font-family: "Outfit", sans-serif;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--nsk-blue-dark);
  line-height: 1.2;
}
.nsk-apply__tel:hover { color: var(--nsk-green-dark); opacity: 1; }
.nsk-apply small { font-size: 15px; color: var(--nsk-gray); }
@media (max-width: 900px) {
  .nsk-recruit-photo,
  .nsk-recruit-main { width: 100%; }
  .nsk-recruit-photo { min-height: 260px; margin-bottom: 24px; }
}

/* --------------------------------------------------------------------------
   お知らせ（元データ .notice / .notice-tag / .board）
   -------------------------------------------------------------------------- */
.nsk-notice {
  border: 2px solid var(--nsk-green);
  border-radius: 20px;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nsk-notice__tag {
  align-self: flex-start;
  background: var(--nsk-green);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 7px 18px;
  border-radius: 999px;
}
.nsk-notice h2 { font-size: 28px; font-weight: 700; }
.nsk-sec-title--28 { font-size: 28px; }
.nsk-board-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nsk-board {
  border: 1px solid var(--nsk-line);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nsk-board h3 { font-size: 21px; font-weight: 700; }
.nsk-board p {
  font-size: 16px;
  color: var(--nsk-gray);
  font-family: ui-monospace, Menlo, monospace;
}

/* --------------------------------------------------------------------------
   採用：職種タブのパネル切替
   共通の .tab-panel（display:none / .is-active で block）と
   .nsk-job-panel（display:flex）は詳細度が同じで競合するため、
   組み合わせた詳細度で明示する。
   -------------------------------------------------------------------------- */
.nsk-job-panel.tab-panel { display: none; }
.nsk-job-panel.tab-panel.is-active {
  display: flex;
  animation: nsk-tab-fade 0.18s ease;
}
@keyframes nsk-tab-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nsk-job-panel.tab-panel.is-active { animation: none; }
}

/* ==========================================================================
   SPの文字サイズ調整
   ・本文系の 17px を 16px に
   ・見出し系を 22px に統一（clamp の下限より小さくするため個別に上書き）
   既存のどの指定よりも後勝ちさせる必要があるため、ファイル末尾に置く。
   ========================================================================== */
@media (max-width: 639px) {
  /* --- 17px → 16px --- */
  body { font-size: 1.6rem; }
  .nsk-footer-addr,
  .nsk-mobile-bar__tel,
  .nsk-tbl-hours,
  .nsk-tbl-hours td.time,
  .nsk-tbl-notice,
  .nsk-recruit-bnr p,
  /* 挨拶文は元 18px。署名は .nsk-greet p に詳細度で負けるため親から指定する */
  .nsk-greet p,
  .nsk-greet .nsk-greet__sign,
  /* 検査ページの本文（元 18px） */
  .nsk-exam-body > p,
  .nsk-tbl-career,
  .nsk-list-dot li,
  .nsk-rehab p,
  .nsk-target p,
  .nsk-note-text,
  .nsk-tbl-job,
  .nsk-apply p { font-size: 16px; }

  /* --- 見出し系 → 22px --- */
  .nsk-sec-title,
  .nsk-sec-title--28,
  .nsk-page-hero__title h1,
  .nsk-card-photo__title,
  .nsk-greet h2,
  .nsk-policy h3,
  .nsk-doctor-name,
  .nsk-head-bar,
  .nsk-info-box h3,
  .nsk-dept-title,
  .nsk-symptom h3,
  .nsk-rehab h3,
  .nsk-target h3,
  .nsk-exam-head h2,
  .nsk-exam-card h3,
  .nsk-apply h3,
  .nsk-notice h2,
  .nsk-board h3 { font-size: 22px; }
}
