/*
Theme Name: Finemedic 2026 v2
Description: 株式会社ファインメディック 新デザインテーマ（ロゴカラー・やわらかい背景・アイコン版）
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: finemedic2026
*/

/* ==========================================================
   色・文字（ロゴの紺・若葉・空色から）
   ========================================================== */
:root {
  --ink: #1E2A4A;
  --sub: #424C66;
  --muted: #5A6378;
  --line: #E2E7EF;
  --line2: #CDD6E3;
  --navy: #24308A;
  --navy-d: #1A2466;
  --navy-l: #EEF0FA;
  --leaf: #8CC63F;
  --leaf-d: #437A18;
  --leaf-l: #EEF6E3;
  --sky: #7FC7EC;
  --sky-d: #1C7FB8;
  --sky-l: #EAF5FC;
  --cream: #FBFAF1;
  --bg2: #F6F9FC;
  --ph: #E6EEF6;
  --warn: #8A4500;
  --warn-bg: #FFF6EC;
  --warn-line: #F3D3AE;
  --few-bg: #FFF1E0;
  /* 旧テーマとの互換 */
  --accent: var(--navy);
  --accent-d: var(--navy-d);
  --accent-l: var(--leaf-l);
  --cta: var(--leaf-d);
  --blue: var(--sky-d);
  --blue-l: var(--sky-l);
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-d: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --font-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(30, 42, 74, .07);
  --shadow-s: 0 4px 14px rgba(30, 42, 74, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; line-height: 1.8; font-size: 16px; letter-spacing: .02em; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--sky-d); }
h1, h2, h3 { line-height: 1.45; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

.l-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.l-narrow { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================
   ボタン
   ========================================================== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.3; text-align: center; letter-spacing: .04em; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(36,48,138,.22); }
.btn--primary:hover { background: var(--navy-d); color: #fff; }
.btn--outline { background: #fff; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy-l); color: var(--navy-d); }
.btn--cta { background: var(--leaf-d); color: #fff; box-shadow: 0 6px 16px rgba(67,122,24,.25); }
.btn--cta:hover { background: #366512; color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { color: var(--navy-d); }
.btn--ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--blue { background: var(--sky-d); color: #fff; }
.btn--blue:hover { background: #156A9C; color: #fff; }
.btn--blue-outline { background: #fff; border-color: var(--sky-d); color: var(--sky-d); }
.btn svg { flex: 0 0 auto; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(6px); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.site-logo { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: var(--ink); }
.site-logo__img { display: block; height: 46px; width: auto; max-width: 100%; object-fit: contain; flex: 0 0 auto; }
.site-logo__sub { font-size: 11px; color: var(--muted); letter-spacing: .06em; margin-top: 2px; }
.gnav ul { display: flex; flex-wrap: wrap; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; font-weight: 500; }
.gnav a { color: var(--ink); text-decoration: none; position: relative; padding: 6px 0; }
.gnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--leaf); transform: scaleX(0); transition: transform .2s; }
.gnav a:hover::after, .gnav .is-current a::after { transform: scaleX(1); }
.gnav .is-current a { color: var(--navy); font-weight: 700; }
.gnav .is-muted a { color: var(--muted); }
.site-header__cta { display: flex; align-items: center; gap: 16px; }
.site-header__tel { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; color: var(--muted); line-height: 1.4; }
.site-header__tel a { font-size: 19px; font-weight: 700; color: var(--navy); text-decoration: none; font-family: var(--font-en); letter-spacing: .04em; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

/* ==========================================================
   見出し・セクション・背景
   ========================================================== */
.eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-style: italic; font-size: 19px; font-weight: 600; color: var(--sky-d); letter-spacing: .06em; }
.eyebrow::before { content: ''; width: 14px; height: 14px; border-radius: 0 10px 0 10px; background: var(--leaf); transform: rotate(-10deg); }
.section-title { margin: 6px 0 36px; font-family: var(--font-d); font-weight: 700; font-size: 34px; letter-spacing: .06em; color: var(--ink); }
.section-lead { margin: -20px 0 36px; color: var(--sub); max-width: 680px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 36px; }
.section-head .section-title { margin-bottom: 0; }
.more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.more-link::after { content: '→'; transition: transform .2s; }
.more-link:hover::after { transform: translateX(3px); }

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 64px 0; }
.section--alt, .section--sky { background: linear-gradient(180deg, var(--sky-l) 0%, #F7FBFE 100%); }
.section--cream { background: var(--cream); }
.section--leaf { background: linear-gradient(180deg, #F3F9EC 0%, #FBFDF8 100%); }
/* やわらかい波の区切り */
.wave-top::before, .wave-bottom::after { content: ''; position: absolute; left: 0; right: 0; height: 48px; background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.wave-top::before { top: -47px; }
.wave-bottom::after { bottom: -47px; transform: scaleY(-1); }
.section--sky.wave-top::before, .section--sky.wave-bottom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V24C240 0 480 0 720 22s480 26 720 2v24z' fill='%23EAF5FC'/%3E%3C/svg%3E"); }
.section--sky.wave-bottom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V24C240 0 480 0 720 22s480 26 720 2v24z' fill='%23F7FBFE'/%3E%3C/svg%3E"); }
.section--cream.wave-top::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V28C300 4 560 0 820 18s420 30 620 6v24z' fill='%23FBFAF1'/%3E%3C/svg%3E"); }
.section--cream.wave-bottom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V28C300 4 560 0 820 18s420 30 620 6v24z' fill='%23FBFAF1'/%3E%3C/svg%3E"); }
.section--leaf.wave-top::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V20C260 40 520 44 760 24S1200 0 1440 18v30z' fill='%23F3F9EC'/%3E%3C/svg%3E"); }
.section--leaf.wave-bottom::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V20C260 40 520 44 760 24S1200 0 1440 18v30z' fill='%23FBFDF8'/%3E%3C/svg%3E"); }
/* 背景の葉のかざり */
.deco-leaf { position: absolute; pointer-events: none; opacity: .5; color: var(--leaf); }

.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-s); position: relative; }
.section--sky .card, .section--cream .card, .section--leaf .card, .section--alt .card { border-color: transparent; }
.card h3 { margin: 0; font-size: 19px; font-family: var(--font-d); font-weight: 700; letter-spacing: .04em; }
.card p { margin: 0; color: var(--sub); font-size: 15px; }
.card__num { position: absolute; top: 20px; right: 24px; font-family: var(--font-en); font-style: italic; font-weight: 600; font-size: 34px; color: var(--sky); line-height: 1; opacity: .7; }

/* アイコンの丸 */
.icon-badge { width: 60px; height: 60px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--sky-l); color: var(--sky-d); }
.icon-badge--leaf { background: var(--leaf-l); color: var(--leaf-d); }
.icon-badge--navy { background: var(--navy-l); color: var(--navy); }
.icon-badge--sm { width: 44px; height: 44px; }
.icon-badge svg { width: 28px; height: 28px; }
.icon-badge--sm svg { width: 22px; height: 22px; }

/* ==========================================================
   ヒーロー（トップの最初の画面）
   ========================================================== */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 88% 18%, rgba(127,199,236,.28) 0%, rgba(127,199,236,0) 70%),
  radial-gradient(45% 60% at 70% 95%, rgba(140,198,63,.20) 0%, rgba(140,198,63,0) 70%),
  linear-gradient(180deg, #FBFDFF 0%, #F3F8FC 100%); }
.hero__inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 104px; position: relative; z-index: 1; }
.hero__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__aside { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; position: relative; }
.hero__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line2); border-radius: 999px; padding: 6px 16px; font-size: 13px; font-weight: 700; color: var(--navy); box-shadow: var(--shadow-s); }
.hero__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--leaf-l); }
.hero__title { margin: 0; font-family: var(--font-d); font-weight: 700; font-size: 52px; line-height: 1.38; letter-spacing: .06em; color: var(--ink); }
.hero__title em { font-style: normal; background: linear-gradient(transparent 68%, rgba(140,198,63,.35) 68%); }
.hero__lead { margin: 0; font-size: 17px; color: var(--sub); max-width: 560px; line-height: 2; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-s); }
.pills li svg { color: var(--leaf-d); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__note { margin: 0; font-size: 13px; color: var(--muted); }
.hero__photo { aspect-ratio: 4 / 3; border-radius: 28px; background: var(--ph); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-illust { width: 100%; height: auto; display: block; }
.hero-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: -40px; position: relative; z-index: 1; padding: 0 12px; }
.hero-card { background: rgba(255,255,255,.96); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
.hero-card span { font-size: 12px; color: var(--muted); }
.hero-card strong { font-family: var(--font-d); font-size: 20px; color: var(--navy); letter-spacing: .03em; }
.stat { background: #fff; border-radius: 16px; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: var(--shadow-s); }
.stat__label { font-size: 13px; color: var(--sub); display: inline-flex; align-items: center; gap: 8px; }
.stat__value { font-family: var(--font-d); font-weight: 700; font-size: 24px; color: var(--navy); }
.stat__value small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 8px; font-family: var(--font); }

/* ==========================================================
   ラベル・求人カード
   ========================================================== */
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; background: #F0F3F8; color: var(--sub); line-height: 1.8; }
.tag--open { background: var(--leaf-l); color: var(--leaf-d); }
.tag--few { background: var(--few-bg); color: var(--warn); }
.tag--closed { background: #ECEFF3; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }

.job-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden; }
.job-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--leaf), var(--sky)); opacity: 0; transition: opacity .2s; }
.job-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); border-color: var(--line2); }
.job-card:hover::before { opacity: 1; }
.job-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.job-card__date { font-family: var(--font-d); font-weight: 700; font-size: 22px; color: var(--navy); }
.job-card__title { font-size: 15px; font-weight: 700; }
.job-card__meta { font-size: 13px; color: var(--muted); }
.job-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line2); padding-top: 12px; margin-top: 6px; }
.job-card__pay { font-weight: 700; font-size: 17px; color: var(--leaf-d); }
.job-card__more { font-size: 13px; font-weight: 700; color: var(--navy); }

.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; text-decoration: none; color: var(--ink); background: #fff; box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s; }
.job-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.job-row__when { flex: 0 0 136px; display: flex; flex-direction: column; padding-right: 18px; border-right: 1px solid var(--line); }
.job-row__date { font-family: var(--font-d); font-weight: 700; font-size: 22px; line-height: 1.3; color: var(--navy); }
.job-row__time { font-size: 13px; color: var(--muted); }
.job-row__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.job-row__area { font-weight: 700; font-size: 17px; }
.job-row__meta { font-size: 13px; color: var(--muted); }
.job-row__side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.job-row__pay { font-weight: 700; font-size: 18px; color: var(--leaf-d); }
.job-row__more { font-size: 13px; font-weight: 700; color: var(--navy); }

.empty { border: 1px dashed var(--line2); border-radius: var(--radius); padding: 36px; text-align: center; color: var(--sub); background: #fff; }
.banner { margin-top: 24px; background: linear-gradient(90deg, var(--navy-l), var(--sky-l)); border-radius: var(--radius); padding: 20px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }

/* ==========================================================
   絞り込み・2カラム
   ========================================================== */
.filter { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; box-shadow: var(--shadow-s); }
.filter__label { font-size: 14px; font-weight: 700; margin-right: 8px; display: inline-flex; align-items: center; gap: 6px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line2); background: #fff; color: var(--ink); font-size: 14px; text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.count { margin: 0; font-size: 14px; color: var(--sub); }
.count strong { font-size: 20px; color: var(--navy); font-family: var(--font-d); }

.layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 36px; padding-bottom: 96px; }
.layout__main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.layout__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.layout__side--sticky { position: sticky; top: 100px; }
.side-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: #fff; box-shadow: var(--shadow-s); }
.side-box--accent { background: linear-gradient(150deg, var(--navy) 0%, #2D4BA8 60%, var(--sky-d) 100%); border-color: transparent; color: #fff; }
.side-box--accent strong { font-family: var(--font-d); font-size: 20px; line-height: 1.5; }
.side-box--shadow { box-shadow: var(--shadow); }
.side-box__pay { font-family: var(--font-d); font-size: 30px; font-weight: 700; color: var(--leaf-d); line-height: 1.3; }
.side-box small { font-size: 12px; color: var(--muted); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink); text-decoration: none; background: #fff; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }

/* ==========================================================
   表・お知らせ
   ========================================================== */
.dl-table { margin: 0; display: grid; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr); border-top: 1px solid var(--line); background: #fff; border-radius: 0 0 12px 12px; }
.dl-table dt { padding: 16px 18px; background: var(--bg2); border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--navy); }
.dl-table dd { margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.dl-table .is-pay { font-weight: 700; color: var(--leaf-d); }
.h2 { margin: 0 0 18px; font-size: 22px; font-weight: 700; font-family: var(--font-d); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }
.h2::before { content: ''; width: 6px; height: 22px; border-radius: 3px; background: linear-gradient(180deg, var(--leaf), var(--sky)); }
.job-title { margin: 10px 0 0; font-family: var(--font-d); font-weight: 700; font-size: 34px; line-height: 1.5; letter-spacing: .04em; }
.job-sub { margin: 6px 0 0; color: var(--muted); font-size: 13px; }

.notice { border: 1px solid var(--warn-line); background: var(--warn-bg); border-radius: 14px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.notice strong { color: var(--warn); }
.notice p { margin: 0; font-size: 15px; color: var(--sub); }
.notice--closed { background: #F2F4F7; border-color: var(--line2); }
.notice--closed strong { color: var(--ink); }

/* ==========================================================
   ステップ・タイムライン
   ========================================================== */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.steps li { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; display: flex; flex-direction: column; gap: 10px; background: #fff; box-shadow: var(--shadow-s); position: relative; }
.steps__no { font-family: var(--font-en); font-style: italic; font-size: 17px; font-weight: 600; color: var(--sky-d); letter-spacing: .06em; }
.steps strong { font-size: 18px; font-family: var(--font-d); }
.steps span:last-child { font-size: 14px; color: var(--sub); }
.steps .icon-badge { margin-bottom: 4px; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; position: relative; }
.timeline li { padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.timeline .icon-badge { width: 48px; height: 48px; }
.timeline li::before { content: ''; position: absolute; top: 23px; left: 60px; right: 8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 12px); }
.timeline li:last-child::before { display: none; }
.timeline li span { font-size: 14px; color: var(--sub); }
.timeline strong { font-family: var(--font-d); font-size: 17px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; background: #fff; box-shadow: var(--shadow-s); }
.faq summary { font-weight: 700; cursor: pointer; display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; margin-left: auto; color: var(--navy); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq__q { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 600; font-size: 17px; }
.faq__a { margin-top: 14px; display: flex; gap: 14px; color: var(--sub); font-size: 15px; }
.faq__a b { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--leaf-l); color: var(--leaf-d); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-en); font-weight: 600; font-size: 17px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq-group { margin-top: 44px; }
.faq-group h2 { font-size: 22px; margin: 0 0 18px; font-family: var(--font-d); display: flex; align-items: center; gap: 10px; }

/* ==========================================================
   エリア・日給・チェックリスト
   ========================================================== */
.area-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s; }
.area-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.area-card__txt { display: flex; flex-direction: column; }
.area-card strong { font-family: var(--font-d); font-size: 22px; letter-spacing: .06em; }
.area-card span { font-size: 13px; color: var(--muted); }

.pay-band { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.pay-band span { display: block; font-size: 13px; color: var(--muted); }
.pay-band strong { font-family: var(--font-d); font-size: 26px; color: var(--navy); }
.pay-band__note { display: flex; flex-direction: column; justify-content: center; font-size: 14px; color: var(--sub); }

.checklist { margin: 0; padding: 28px; list-style: none; background: #fff; border-radius: var(--radius); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; margin-top: 3px; color: var(--leaf-d); }

.consult { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; background: var(--sky-l); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.consult__photo { width: 72px; height: 72px; border-radius: 50%; background: var(--ph); overflow: hidden; flex: 0 0 72px; }
.consult__photo img { width: 100%; height: 100%; object-fit: cover; }
.consult__body { flex: 1 1 300px; min-width: 0; }
.consult__body p { margin: 0; color: var(--sub); font-size: 15px; }

/* ご相談（吹き出し） */
.voice { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 14px; }
.voice__q { position: relative; align-self: flex-start; background: var(--navy-l); color: var(--navy); font-weight: 700; padding: 12px 18px; border-radius: 16px 16px 16px 4px; font-family: var(--font-d); }
.voice__a { display: flex; gap: 12px; align-items: flex-start; }
.voice__a p { margin: 0; color: var(--sub); font-size: 15px; }

.pill-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 1px solid var(--line2); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 15px; background: #fff; transition: all .2s; }
.pill-links a:hover { border-color: var(--navy); color: var(--navy); }
.pill-links svg { color: var(--sky-d); }

/* ==========================================================
   CTA帯
   ========================================================== */
.cta-band { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(50% 80% at 90% 10%, rgba(127,199,236,.45) 0%, rgba(127,199,236,0) 70%),
  radial-gradient(40% 70% at 10% 100%, rgba(140,198,63,.35) 0%, rgba(140,198,63,0) 70%),
  linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 55%, #2C55A8 100%); }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-top: 80px; padding-bottom: 80px; position: relative; z-index: 1; }
.cta-band h2 { margin: 0 0 10px; font-family: var(--font-d); font-weight: 700; font-size: 34px; line-height: 1.5; letter-spacing: .06em; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .deco-leaf { color: #fff; opacity: .08; }
.cta-box { margin-top: 56px; color: #fff; border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; background:
  radial-gradient(50% 90% at 95% 0%, rgba(127,199,236,.45) 0%, rgba(127,199,236,0) 70%),
  linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 60%, #2C55A8 100%); }
.cta-box strong { display: block; font-family: var(--font-d); font-size: 24px; letter-spacing: .04em; }
.cta-box span { opacity: .92; }

/* ==========================================================
   ページ上部（下層ページ）
   ========================================================== */
.page-head { position: relative; overflow: hidden; padding: 28px 0 64px; background:
  radial-gradient(50% 120% at 92% 0%, rgba(127,199,236,.30) 0%, rgba(127,199,236,0) 70%),
  radial-gradient(30% 90% at 75% 110%, rgba(140,198,63,.18) 0%, rgba(140,198,63,0) 70%),
  linear-gradient(180deg, #FBFDFF 0%, #F2F7FC 100%); }
.page-head--blue { background:
  radial-gradient(50% 120% at 92% 0%, rgba(127,199,236,.40) 0%, rgba(127,199,236,0) 70%),
  linear-gradient(180deg, #F7FBFE 0%, #EAF5FC 100%); }
.page-head .l-wrap { position: relative; z-index: 1; }
.page-head .deco-leaf { right: 4%; top: 18px; width: 180px; height: 180px; opacity: .35; }
.breadcrumb { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.breadcrumb a { color: var(--navy); text-decoration: none; }
.page-head__title { margin: 22px 0 10px; font-family: var(--font-d); font-weight: 700; font-size: 40px; letter-spacing: .06em; line-height: 1.45; }
.page-head__lead { margin: 0; color: var(--sub); max-width: 680px; font-size: 16px; line-height: 2; }

/* ==========================================================
   本文・フォーム
   ========================================================== */
.entry-content { font-size: 16px; }
.entry-content h2 { font-size: 26px; margin: 48px 0 16px; font-family: var(--font-d); font-weight: 700; }
.entry-content h3 { font-size: 19px; margin: 32px 0 12px; font-family: var(--font-d); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 16px 0; background: #fff; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 14px 16px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--bg2); font-weight: 700; font-size: 14px; width: 30%; color: var(--navy); }
.table-scroll { overflow-x: auto; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="number"], .entry-content input[type="date"], .entry-content select, .entry-content textarea,
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea { width: 100%; max-width: 520px; min-height: 50px; border: 1px solid var(--line2); border-radius: 12px; padding: 10px 16px; font: inherit; font-size: 16px; background: #FBFCFE; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.entry-content textarea, .form textarea { min-height: 120px; max-width: 100%; }
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus { outline: none; border-color: var(--sky-d); box-shadow: 0 0 0 4px rgba(127,199,236,.3); background: #fff; }
.entry-content input[type="submit"], .entry-content button[type="submit"], .entry-content .mwform-submit, .entry-content input[name="submitConfirm"], .entry-content input[name="submitBack"] { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; min-width: 260px; padding: 0 36px; border: 0; border-radius: 999px; background: var(--leaf-d); color: #fff; font: inherit; font-weight: 700; font-size: 17px; letter-spacing: .06em; cursor: pointer; margin: 10px 8px 0 0; box-shadow: 0 6px 16px rgba(67,122,24,.25); }
.entry-content input[type="submit"]:hover { background: #366512; }
.entry-content input[name="submitBack"] { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.entry-content .mwform-checkbox-field, .entry-content .mwform-radio-field { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-right: 18px; }
.entry-content input[type="checkbox"], .entry-content input[type="radio"] { width: 18px; height: 18px; accent-color: var(--navy); }
.entry-content .error { display: block; color: #B3261E; font-size: 13px; margin-top: 4px; }
.req { display: inline-block; background: #FCEDEC; color: #B3261E; font-size: 11px; font-weight: 700; margin-left: 8px; padding: 1px 8px; border-radius: 999px; vertical-align: middle; }
.opt { display: inline-block; background: #F0F3F8; color: var(--muted); font-size: 11px; margin-left: 8px; padding: 1px 8px; border-radius: 999px; font-weight: 400; vertical-align: middle; }
.entry-content input[name^="tel[data]"] { width: 5.5em; max-width: 30%; display: inline-block; }
.entry-content .mwform-tel-field { display: inline-flex; align-items: center; gap: 4px; flex-wrap: wrap; }

.form-card { background: #fff; border-radius: 24px; padding: 44px; box-shadow: var(--shadow); }
.page-entry { background: linear-gradient(180deg, #F7FBFE 0%, var(--sky-l) 100%); }
.stepbar { margin: 0 0 24px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stepbar li { padding: 10px 14px; border-radius: 999px; font-size: 14px; text-align: center; background: #EEF1F6; color: var(--muted); }
.stepbar li.is-current { background: var(--navy); color: #fff; font-weight: 700; }

/* ==========================================================
   会社概要・医療機関
   ========================================================== */
.message { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.message__photo { flex: 0 0 240px; max-width: 240px; min-width: 0; aspect-ratio: 4 / 5; border-radius: 24px; background: var(--ph); overflow: hidden; box-shadow: var(--shadow); position: relative; }
.message__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.message__body { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.message__body p { margin: 0; color: var(--sub); line-height: 2.1; }
.map { aspect-ratio: 16 / 7; border-radius: var(--radius); overflow: hidden; background: var(--ph); box-shadow: var(--shadow-s); }
.map iframe { width: 100%; height: 100%; border: 0; }
.info-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; box-shadow: var(--shadow-s); }
.info-box h2 { margin: 0 0 12px; font-size: 18px; font-family: var(--font-d); }

.is-clinic .eyebrow, .is-clinic .steps__no { color: var(--sky-d); }
.clinic-card { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-s); border: 1px solid var(--line); }
.clinic-card strong { font-size: 19px; font-family: var(--font-d); }
.clinic-card span { font-size: 15px; color: var(--sub); }
.clinic-form { background: linear-gradient(180deg, var(--sky-l), #F7FBFE); border-radius: 24px; padding: 44px; display: flex; flex-wrap: wrap; gap: 40px; }
.clinic-form__head { flex: 1 1 280px; min-width: 0; }
.clinic-form__body { flex: 999 1 520px; min-width: 0; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-s); }
.is-clinic .entry-content input[type="submit"], .is-clinic .entry-content input[name="submitConfirm"] { background: var(--sky-d); box-shadow: 0 6px 16px rgba(28,127,184,.25); }

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { position: relative; background: linear-gradient(180deg, #1C2550 0%, #151C3D 100%); color: #D4DAEA; font-size: 13px; margin-top: 48px; }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -47px; height: 48px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V26C220 4 470 2 720 20s500 30 720 4v24z' fill='%231C2550'/%3E%3C/svg%3E") no-repeat; background-size: 100% 100%; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 40px; }
.site-footer__info { display: flex; flex-direction: column; gap: 4px; }
.site-footer__info strong { color: #fff; font-size: 16px; font-family: var(--font-d); letter-spacing: .06em; }
.site-footer a { color: #D4DAEA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.fnav { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 24px; margin: 0; padding: 0; list-style: none; max-width: 560px; flex: 1 1 280px; min-width: 0; }
.fnav a::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 0 4px 0 4px; background: var(--leaf); margin-right: 8px; vertical-align: middle; }
.site-footer__copy { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 24px; text-align: center; font-size: 11px; color: #9BA6C4; }

.sp-cta { display: none; }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 900px) {
  .site-header__tel { display: none; }
  .menu-toggle { display: inline-flex; }
  .gnav { display: none; width: 100%; order: 3; }
  .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; gap: 0; }
  .gnav li a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
  .gnav a::after { display: none; }
  .site-header__cta .btn { display: none; }
}
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 84px; }
  .site-header { position: relative; }
  .site-logo__img { height: 36px; }
  .site-logo__sub { font-size: 10px; }
  .hero__inner { padding-top: 36px; padding-bottom: 64px; gap: 28px; }
  .hero__title { font-size: 31px; }
  .hero__lead { font-size: 15px; }
  .pills li { font-size: 13px; padding: 6px 12px; }
  .hero-cards { margin-top: -24px; }
  .hero-card strong { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-title { font-size: 25px; margin-bottom: 26px; }
  .eyebrow { font-size: 17px; }
  .page-head { padding-bottom: 44px; }
  .page-head__title { font-size: 27px; }
  .page-head .deco-leaf { width: 110px; height: 110px; opacity: .25; }
  .job-title { font-size: 25px; }
  .message__photo { flex-basis: 180px; max-width: 180px; }
  .cta-band h2 { font-size: 25px; }
  .form-card, .clinic-form, .cta-box { padding: 26px 20px; }
  .dl-table { grid-template-columns: 1fr; }
  .dl-table dt { border-bottom: 0; padding-bottom: 6px; }
  .dl-table dd { padding-top: 6px; }
  .job-row__when { border-right: 0; padding-right: 0; flex-basis: 100%; }
  .job-row__side { align-items: flex-start; }
  .layout__side--sticky { position: static; }
  .timeline { gap: 18px; }
  .timeline li::before { display: none; }
  .form table, .form tbody, .form tr, .form th, .form td { display: block; width: 100%; }
  .form th { border-bottom: 0; }
  .sp-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(30,42,74,.08); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .sp-cta--single { grid-template-columns: 1fr; }
  .sp-cta .btn { min-height: 52px; font-size: 15px; padding: 0 8px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   フォントの統一（Zen Kaku Gothic New）
   ========================================================== */
:root {
  --font: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', Meiryo, sans-serif;
  --font-d: var(--font);
  --font-en: var(--font);
}
body { letter-spacing: .03em; }
h1, h2, h3, .hero__title, .section-title, .page-head__title, .job-title { font-weight: 700; }
.eyebrow { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.steps__no { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.card__num { font-style: normal; font-weight: 700; font-size: 30px; }
.faq__q, .faq__a b { font-weight: 700; font-size: 15px; }
.site-header__tel a { letter-spacing: .02em; }
@media (max-width: 767px) { .eyebrow { font-size: 12px; } }

/* ヘッダーが2段にならないように（中くらいの画面幅） */
@media (max-width: 1200px) {
  .site-header__tel { display: none; }
  .gnav ul { gap: 20px; }
}

/* 見出しの途中で改行しないように */
.nw { white-space: nowrap; }
@media (max-width: 767px) {
  .hero__title { font-size: clamp(24px, 7.4vw, 31px); letter-spacing: .02em; }
}
