/* ヤマヂ歯科・矯正歯科クリニック 採用サイト
   Layout: 全面写真のメインビジュアル、英字の大見出し＋日本語見出し、写真と色面を重ねた構成。クローバーの緑と黄緑
   明るい院内に合わせ、ライトテーマのみで作る（背景色・文字色はすべて下の変数から） */
:root {
  --white: #ffffff;
  --bg-soft: #f5f8ef;
  --bg-mint: #e9f2df;
  --ink: #232a22;
  --ink-2: #566052;
  --ink-3: #8a9387;
  --line: #e2e8d9;
  --line-2: #ccd6c0;
  --green: #2f7a34;
  --green-deep: #1d4a23;
  --green-ink: #24572a;
  --lime: #c6db4f;
  --lime-soft: #eef5c9;
  --on-dark: #f4f7ef;

  --f-en: "Jost", "Zen Kaku Gothic New", sans-serif;
  --f-serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-script: "Cormorant Garamond", "Shippori Mincho B1", serif;
  --f-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --fs-h2: clamp(1.45rem, 2.6vw, 2.05rem);
  --fs-h3: clamp(1.15rem, 1.8vw, 1.4rem);
  --fs-body: clamp(0.98rem, 0.95rem + 0.12vw, 1.04rem);
  --fs-small: 0.84rem;

  --r-lg: 24px;
  --r-md: 14px;
  --r-sm: 8px;
  --shadow: 0 30px 60px -32px rgba(24, 56, 26, 0.45);
  --shadow-sm: 0 14px 30px -20px rgba(24, 56, 26, 0.4);

  --wrap: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --head-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--f-ja); font-size: var(--fs-body); line-height: 1.95; letter-spacing: 0.03em;
  overflow-wrap: anywhere; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green); text-underline-offset: 0.22em; }
a:hover { color: var(--green-deep); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; letter-spacing: 0.06em; text-wrap: balance; word-break: auto-phrase; }
small, .small { font-size: var(--fs-small); line-height: 1.75; color: var(--ink-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mark { background: linear-gradient(transparent 60%, var(--lime-soft) 60%); font-weight: 700; }
.num { font-family: var(--f-en); }
.note { font-size: var(--fs-small); color: var(--ink-2); line-height: 1.75; }
.note::before { content: "※"; }
.label { font-size: 0.82rem; font-weight: 700; color: var(--green); letter-spacing: 0.12em; }
.lead { color: var(--ink-2); }
.stack { display: grid; gap: 18px; }
.stack-lg { display: grid; gap: clamp(48px, 7vw, 80px); }
.sub-title { font-size: var(--fs-h3); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap--narrow { max-width: calc(880px + 40px); }

/* ───────── ボタン ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 0 30px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-ja); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-decoration: none;
  cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--entry, .btn--main { background: var(--green); color: var(--white); box-shadow: 0 14px 28px -16px rgba(29, 74, 35, .9); }
.btn--entry:hover, .btn--main:hover { background: var(--green-deep); color: var(--white); }
.btn--line { background: var(--white); color: var(--green-ink); border-color: var(--green); }
.btn--line:hover { background: var(--bg-mint); color: var(--green-ink); }
.btn--glass { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .7); backdrop-filter: blur(6px); }
.btn--glass:hover { background: var(--white); color: var(--green-ink); }
.btn--white { background: var(--white); color: var(--green-ink); }
.btn--white:hover { background: var(--lime); color: var(--green-deep); }
.btn--wide { width: 100%; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: 0.88rem; }
.btn__sub { font-weight: 500; font-size: 0.74em; letter-spacing: 0.02em; }
.arrow::after { content: ""; display: inline-block; flex: none; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.btn.arrow::after { margin-left: 4px; }
a.arrow:not(.btn) { font-weight: 700; display: inline-flex; align-items: center; gap: 10px; }

/* ───────── 確認用の帯・確認のお願い ───────── */
.review-bar { background: var(--green-deep); color: var(--on-dark); font-size: 0.8rem; line-height: 1.6; text-align: center; padding: 8px var(--gutter-r) 8px var(--gutter-l); }
.review-bar a { color: var(--lime); font-weight: 700; margin-left: 10px; }
.review .sec-head h1 { font-size: var(--fs-h2); display: flex; align-items: center; gap: 14px; }
.review .sec-head h1::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--lime); }
.review .others { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.checklist { display: grid; gap: 12px; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 18px; padding: 22px 24px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.checklist li::before { content: counter(c); grid-row: 1 / 4; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-family: var(--f-en); font-size: 1.05rem; }
.checklist b { font-size: 1.05rem; }
.checklist span { font-size: 0.92rem; color: var(--ink-2); line-height: 1.85; }
.checklist em { font-style: normal; justify-self: start; margin-top: 6px; font-size: 0.74rem; font-weight: 700; color: var(--green-ink); background: var(--lime-soft); padding: 2px 10px; border-radius: 999px; }

/* ───────── ヘッダー ───────── */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.5) blur(10px); transition: box-shadow .3s; }
.site-head.is-scrolled { box-shadow: 0 8px 24px -18px rgba(24, 56, 26, .5); }
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: var(--head-h); max-width: calc(1320px + 40px); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand__txt { display: grid; line-height: 1.3; min-width: 0; }
.brand__corp { font-size: 0.66rem; color: var(--ink-3); letter-spacing: 0.08em; }
.brand__name { font-weight: 700; font-size: 0.95rem; letter-spacing: 0.06em; white-space: nowrap; }
.brand__tag { font-family: var(--f-en); font-size: 0.7rem; font-weight: 500; color: var(--green); letter-spacing: 0.22em; }
.gnav { display: flex; align-items: center; gap: 6px; }
.gnav a:not(.head-entry) { display: grid; justify-items: center; text-decoration: none; color: var(--ink); padding: 8px 14px; line-height: 1.35; position: relative; }
.gnav a:not(.head-entry) span { font-size: 0.9rem; font-weight: 700; }
.gnav a:not(.head-entry) small { font-family: var(--f-en); font-size: 0.6rem; letter-spacing: 0.16em; color: var(--ink-3); }
.gnav a:not(.head-entry)::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); transform: translateX(-50%) scale(0); transition: transform .25s; }
.gnav a:not(.head-entry):hover::after, .gnav a[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.gnav a[aria-current="page"] span { color: var(--green); }
.head-entry { display: grid; justify-items: center; align-content: center; margin-left: 12px; min-width: 132px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 700; font-size: 0.92rem; text-decoration: none; line-height: 1.3; letter-spacing: 0.08em; transition: background-color .25s; }
.head-entry small { font-family: var(--f-en); font-size: 0.62rem; font-weight: 500; letter-spacing: 0.24em; color: var(--lime); }
.head-entry:hover { background: var(--green-deep); color: var(--white); }
.menu-btn { display: none; }

/* ───────── セクション共通 ───────── */
.sec { padding-block: clamp(84px, 11vw, 140px); position: relative; }
.sec--tint, .sec--note { background: var(--bg-soft); }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(40px, 6vw, 64px); max-width: 46em; }
.sec-head__en { font-family: var(--f-en); font-weight: 300; font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1; letter-spacing: 0.04em; color: var(--green); white-space: nowrap; }
.sec-head__body { display: grid; gap: 16px; }
.sec-head h2 { font-size: var(--fs-h2); display: flex; align-items: center; gap: 14px; }
.sec-head h2::before { content: ""; flex: none; width: 28px; height: 2px; background: var(--lime); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--center h2 { justify-content: center; }
.sec-head--center h2::before { display: none; }
.sec-head--light .sec-head__en { color: var(--white); }
.sec-head--light h2 { color: var(--white); }
.sec-head--light .lead { color: rgba(255, 255, 255, .82); }
.prose { display: grid; gap: 1em; max-width: 40em; }

/* ───────── メインビジュアル ───────── */
.mv { position: relative; margin: 0 clamp(0px, 1.4vw, 20px); height: clamp(580px, calc(100svh - var(--head-h) - 12px), 880px); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; color: var(--white); isolation: isolate; }
.mv__slides, .mv__slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.mv__slides img { object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.04); }
.mv__slides img.is-on { opacity: 1; }
.mv::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgba(14, 28, 14, .82) 0%, rgba(14, 28, 14, .42) 38%, rgba(14, 28, 14, .06) 68%), linear-gradient(to right, rgba(14, 28, 14, .35), transparent 55%); }
.mv__in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(110px, 13vw, 150px); max-width: calc(1320px + 40px); }
/* ファーストビューの白い文字: 見出しは明朝（しっぽり明朝 B1）、英字は細身のイタリック（Cormorant Garamond） */
.mv__en { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(10px, 1.4vw, 18px); font-family: var(--f-script); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: 0.02em; color: rgba(255, 255, 255, .95); text-shadow: 0 2px 18px rgba(0, 0, 0, .28); }
.mv__en::after { content: ""; width: clamp(48px, 6vw, 96px); height: 1px; background: rgba(255, 255, 255, .7); }
.mv__title { font-family: var(--f-serif); font-size: clamp(2.2rem, 4.9vw, 4.1rem); font-weight: 700; line-height: 1.5; letter-spacing: 0.12em; text-shadow: 0 2px 24px rgba(0, 0, 0, .42), 0 0 2px rgba(0, 0, 0, .18); }
.mv__title span { display: block; }
.mv__title span:last-child { display: inline-block; position: relative; isolation: isolate; }
.mv__title span:last-child::after { content: ""; position: absolute; left: 0.04em; right: 0.6em; bottom: 0.02em; height: 2px; background: var(--lime); }
.mv__lead { margin-top: 22px; font-size: clamp(0.9rem, 1.2vw, 1.02rem); font-weight: 500; line-height: 2.1; letter-spacing: 0.1em; max-width: 40em; color: rgba(255, 255, 255, .94); text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.mv__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.mv__scroll { position: absolute; z-index: 1; right: clamp(20px, 3vw, 44px); bottom: 120px; writing-mode: vertical-rl; font-family: var(--f-en); font-size: 0.68rem; letter-spacing: 0.3em; color: rgba(255, 255, 255, .8); display: flex; align-items: center; gap: 12px; }
.mv__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(rgba(255, 255, 255, .9) 50%, rgba(255, 255, 255, .25) 50%); background-size: 1px 200%; animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { from { background-position: 0 100%; } to { background-position: 0 -100%; } }

/* 数字の帯（メインビジュアルに重ねる） */
.facts-wrap { position: relative; z-index: 2; margin-top: -78px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 10px; }
.facts > div { padding: 22px 26px; display: grid; gap: 4px; align-content: start; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px; }
.facts dd { font-family: var(--f-en); font-weight: 400; font-size: clamp(2.1rem, 3.4vw, 3rem); line-height: 1.15; color: var(--green); }
.facts dd small, .facts dd .pre { font-family: var(--f-ja); font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-left: 3px; }
.facts dd .pre { margin: 0 4px 0 0; }
.facts-note { margin-top: 14px; padding-inline: 8px; }
.ico { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* はじめに */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.intro__photos { position: relative; padding: 0 12% 18% 0; }
.intro__p1 { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); position: relative; z-index: 1; }
.intro__p2 { position: absolute; z-index: 2; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-lg); border: 8px solid var(--white); box-shadow: var(--shadow-sm); }
.intro__deco { position: absolute; z-index: 0; left: -8%; top: 12%; width: 70%; height: 80%; border-radius: var(--r-lg); background: var(--bg-mint); }
.intro__body { display: grid; gap: 22px; }
.intro__body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.6; }
.joblinks { margin-top: 10px; display: grid; gap: 12px; }
.joblinks__label { font-size: 0.82rem; font-weight: 700; color: var(--green); letter-spacing: 0.12em; }
.joblinks ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.joblinks a { display: grid; grid-template-columns: minmax(0, 1fr) 34px; column-gap: 10px; align-items: center; padding: 14px 16px 14px 20px; border-radius: var(--r-md); background: var(--bg-soft); text-decoration: none; color: var(--ink); line-height: 1.5; transition: background-color .25s; }
.joblinks a::after { content: ""; grid-column: 2; grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a34' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; }
.joblinks a:hover { background: var(--bg-mint); }
.joblinks b { font-size: 1.02rem; grid-column: 1; }
.joblinks span { font-size: 0.78rem; color: var(--ink-2); grid-column: 1; }

/* ───────── 数字（写真の背景） ───────── */
.numbers { position: relative; padding-block: clamp(84px, 11vw, 140px); color: var(--white); isolation: isolate; overflow: hidden; }
.numbers__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.numbers::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(22, 56, 27, .93), rgba(18, 44, 22, .86)); }
.nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .22); }
.nums > div { padding: 30px 26px 32px; border-bottom: 1px solid rgba(255, 255, 255, .22); display: grid; gap: 6px; align-content: start; }
.nums > div:not(:nth-child(4n + 1)) { border-left: 1px solid rgba(255, 255, 255, .22); }
.nums dt { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; }
.nums .ico { stroke: var(--lime); width: 1.7em; height: 1.7em; }
.nums dd.v { font-family: var(--f-en); font-weight: 300; font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1.1; }
.nums dd.v small { font-family: var(--f-ja); font-size: 0.9rem; font-weight: 700; color: var(--white); margin-left: 4px; }
.nums dd.n { font-size: 0.8rem; color: rgba(255, 255, 255, .76); line-height: 1.7; }

/* 記録表（職種ページの数字） */
.sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sheet > div { padding: 24px 22px; border-radius: var(--r-md); background: var(--white); display: grid; gap: 4px; align-content: start; box-shadow: var(--shadow-sm); }
.sheet dt { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); }
.sheet dd.v { font-family: var(--f-en); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1.15; color: var(--green); }
.sheet dd.v small { font-family: var(--f-ja); font-size: 0.86rem; font-weight: 700; color: var(--ink); margin-left: 3px; }
.sheet dd.n { font-size: 0.8rem; color: var(--ink-2); line-height: 1.65; }

/* ───────── 理由（写真と文の交互） ───────── */
.reasons { display: grid; gap: clamp(72px, 10vw, 128px); }
.reason { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.reason:nth-child(even) .reason__media { order: 2; }
.reason__media { position: relative; display: grid; gap: 10px; isolation: isolate; }
figure.reason__media::before { content: ""; position: absolute; z-index: -1; inset: 28px -22px -22px 28px; border-radius: var(--r-lg); background: var(--bg-mint); }
.reason:nth-child(even) figure.reason__media::before { inset: 28px 28px -22px -22px; }
.reason__media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.reason__media figcaption { font-size: 0.78rem; color: var(--ink-3); padding-left: 4px; }
.reason__media.stack { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.reason__body { display: grid; gap: 18px; }
.reason__tag { display: flex; align-items: center; gap: 16px; font-size: 0.86rem; font-weight: 700; color: var(--green); letter-spacing: 0.14em; }
.reason__no { font-family: var(--f-en); font-weight: 300; font-size: clamp(3.6rem, 6vw, 5rem); line-height: .8; letter-spacing: 0; color: transparent; -webkit-text-stroke: 1.2px var(--green); }
.reason__body h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); line-height: 1.6; }
.reason__body .more { margin-top: 4px; }

/* 箇条 */
.ruled { display: grid; gap: 2px; }
.ruled > li { position: relative; padding: 8px 0 8px 30px; line-height: 1.75; border-bottom: 1px dashed var(--line-2); }
.ruled > li:last-child { border-bottom: 0; }
.ruled > li::before { content: ""; position: absolute; left: 0; top: 0.9em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ruled--check > li::before { border-radius: 4px; background: var(--white); border: 1.5px solid var(--green); width: 16px; height: 16px; }
.ruled b { font-weight: 700; }

/* 週の休み */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; text-align: center; }
.week > div { padding: 10px 0 8px; display: grid; border-radius: var(--r-sm); background: var(--bg-soft); }
.week b { font-size: 1.05rem; }
.week span { font-size: 0.72rem; font-weight: 700; color: var(--ink-3); }
.week .off { background: var(--green); color: var(--white); }
.week .off span { color: var(--lime); }
.week-note { font-size: 0.86rem; line-height: 1.8; color: var(--ink-2); }

/* 時間の物差し */
.ruler { display: grid; gap: 10px; }
.ruler__scale { position: relative; height: 26px; margin-left: 56px; border-bottom: 1px solid var(--line-2); }
.ruler__scale span { position: absolute; bottom: 0; transform: translateX(-50%); font-family: var(--f-en); font-size: 0.74rem; color: var(--ink-2); line-height: 1; padding-bottom: 8px; }
.ruler__scale span::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 1px; height: 5px; background: var(--ink-3); }
.ruler__row { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; }
.ruler__row > b { font-size: 0.82rem; }
.ruler__track { position: relative; height: 30px; border-radius: 999px; background: var(--bg-soft); }
.ruler__bar { position: absolute; top: 5px; bottom: 5px; background: var(--green); border-radius: 999px; }
.ruler__gap { position: absolute; top: 5px; bottom: 5px; background: var(--lime); border-radius: 999px; display: grid; place-items: center; font-size: 0.66rem; font-weight: 700; color: var(--green-deep); white-space: nowrap; }
.ruler__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.78rem; color: var(--ink-2); margin-left: 56px; }
.ruler__legend i { display: inline-block; width: 18px; height: 8px; vertical-align: middle; margin-right: 6px; border-radius: 999px; }

/* ───────── 院内 ───────── */
.tour { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.tour figure { margin: 0; position: relative; min-width: 0; overflow: hidden; border-radius: var(--r-md); isolation: isolate; }
.tour img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .8s ease; }
.tour figure:hover img { transform: scale(1.05); }
.tour figure:first-child { grid-row: 1 / 3; }
.tour figure:first-child img { position: absolute; inset: 0; aspect-ratio: auto; }
.tour figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 14px; background: linear-gradient(transparent, rgba(14, 28, 14, .7)); color: var(--white); font-size: 0.8rem; line-height: 1.6; }
.tour figcaption b { display: block; font-size: 1rem; letter-spacing: 0.08em; }
.equip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.equip li { padding: 8px 18px; font-size: 0.86rem; font-weight: 700; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); }
.equip li:first-child { background: none; border: 0; padding-left: 0; color: var(--green); letter-spacing: 0.12em; }

/* ───────── 院長 ───────── */
.message { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.message__photo { position: relative; isolation: isolate; }
.message__photo::before { content: ""; position: absolute; z-index: -1; inset: -22px 28px 28px -22px; border-radius: var(--r-lg); background: var(--lime-soft); }
.message__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-lg); }
.message__body { display: grid; gap: 22px; }
.message__quote { font-size: clamp(1.35rem, 2.5vw, 1.95rem); font-weight: 700; line-height: 1.8; letter-spacing: 0.08em; }
.message__sign { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.message__sign b { font-size: 1.15rem; letter-spacing: 0.16em; }
.message__sign span { font-size: 0.82rem; color: var(--ink-2); line-height: 1.8; }

/* ───────── 先輩の声 ───────── */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; align-items: start; }
.voice { position: relative; display: grid; gap: 12px; padding: 38px 30px 26px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.voice::before { content: "“"; position: absolute; top: -4px; left: 22px; font-family: var(--f-en); font-size: 5.2rem; line-height: 1; color: var(--lime); }
.voice__q { font-size: 0.8rem; font-weight: 700; color: var(--green); letter-spacing: 0.08em; }
.voice__a { font-size: 0.98rem; line-height: 1.95; }
.voice__who { display: flex; align-items: center; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.voice__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.voice__who b { display: block; font-size: 0.94rem; letter-spacing: 0.08em; }
.voice__who span { display: block; font-size: 0.76rem; color: var(--ink-2); line-height: 1.55; }
.voice__who .voice__ini { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--bg-mint); color: var(--green-ink); font-family: var(--f-en); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; }
.reason__body .voice { margin-top: 8px; }

.carousel { position: relative; }
.carousel .voices { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 4px 30px; margin-inline: -4px; scrollbar-width: none; }
.carousel .voices::-webkit-scrollbar { display: none; }
.carousel .voice { flex: 0 0 min(360px, 84vw); scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }
.carousel__btn { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--green); background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; cursor: pointer; transition: background-color .25s; }
.carousel__btn[data-dir="-1"] { transform: scaleX(-1); }
.carousel__btn:hover { background-color: var(--lime-soft); }

/* 仕事の外（横に流れる写真） */
.loop { overflow: hidden; margin-top: 8px; }
.loop__track { display: flex; width: max-content; animation: loop 70s linear infinite; }
.loop__dup { display: contents; }
.loop img { height: clamp(180px, 22vw, 290px); width: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-right: 18px; }
.loop:hover .loop__track { animation-play-state: paused; }
@keyframes loop { to { transform: translateX(-50%); } }

/* ───────── 職種カード ───────── */
.jobcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.jobcard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.jobcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.jobcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 28, 14, .86) 0%, rgba(14, 28, 14, .3) 50%, rgba(14, 28, 14, 0) 75%); }
.jobcard:hover { color: var(--white); }
.jobcard:hover img { transform: scale(1.06); }
.jobcard__body { position: absolute; left: clamp(22px, 3vw, 34px); right: 96px; bottom: clamp(22px, 3vw, 30px); display: grid; gap: 4px; }
.jobcard__en { font-family: var(--f-en); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; color: var(--lime); }
.jobcard__name { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 700; letter-spacing: 0.1em; line-height: 1.35; }
.jobcard__catch { font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, .92); }
.jobcard__terms { font-size: 0.78rem; color: rgba(255, 255, 255, .78); }
.jobcard__go { position: absolute; right: clamp(20px, 3vw, 30px); bottom: clamp(20px, 3vw, 30px); width: 58px; height: 58px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7a34' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; transition: background-color .3s, transform .3s; }
.jobcard:hover .jobcard__go { background-color: var(--lime); transform: translateX(4px); }

/* ───────── 職種ページのメインビジュアル ───────── */
.phero { position: relative; margin: 0 clamp(0px, 1.4vw, 20px); height: clamp(440px, 64vh, 640px); border-radius: 0 0 var(--r-lg) var(--r-lg); overflow: hidden; color: var(--white); isolation: isolate; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(14, 28, 14, .85) 0%, rgba(14, 28, 14, .35) 50%, rgba(14, 28, 14, .1) 80%), linear-gradient(to right, rgba(14, 28, 14, .4), transparent 60%); }
.phero__in { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-bottom: clamp(100px, 12vw, 130px); max-width: calc(1320px + 40px); position: relative; }
.crumb { position: absolute; top: 22px; left: var(--gutter-l); font-size: 0.76rem; color: rgba(255, 255, 255, .85); }
.crumb a { color: var(--white); }
.phero__en { font-family: var(--f-script); font-style: italic; font-weight: 500; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.05; letter-spacing: 0.01em; color: rgba(255, 255, 255, .95); text-shadow: 0 2px 18px rgba(0, 0, 0, .28); }
.phero__job { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.86rem; letter-spacing: 0.22em; color: var(--lime); }
.phero__job::before { content: ""; width: 30px; height: 2px; background: var(--lime); }
.phero h1 { font-family: var(--f-serif); font-size: clamp(1.7rem, 3.3vw, 2.7rem); font-weight: 700; line-height: 1.6; letter-spacing: 0.12em; text-shadow: 0 2px 24px rgba(0, 0, 0, .42), 0 0 2px rgba(0, 0, 0, .18); }
.phero__panel { position: relative; z-index: 2; margin-top: -72px; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 22px 40px; align-items: center; }
.phero__lead { grid-column: 1 / -1; font-size: 1rem; color: var(--ink-2); max-width: 52em; }
.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.terms > div { padding: 4px 20px; display: grid; gap: 2px; align-content: start; }
.terms > div:first-child { padding-left: 0; }
.terms > div + div { border-left: 1px solid var(--line); }
.terms dt { font-size: 0.76rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.06em; }
.terms dd { font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 700; color: var(--green); line-height: 1.45; }
.terms dd small { display: block; font-size: 0.74rem; color: var(--ink-2); font-weight: 500; line-height: 1.5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.phero__panel .hero__cta { flex-direction: column; }

/* 職種ページの理由 */
.points { display: grid; gap: 16px; counter-reset: pt; }
.point { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 10px 32px; padding: 28px 32px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.point__key { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 900; color: var(--green); line-height: 1.4; letter-spacing: 0.1em; }
.point__body { display: grid; gap: 10px; max-width: 46em; }
.point__body h3 { font-size: var(--fs-h3); }
.points:has(.point--img) { gap: clamp(56px, 8vw, 96px); }
.point--img { counter-increment: pt; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "img key" "img body"; align-content: center; align-items: start; gap: 14px clamp(32px, 5vw, 64px); padding: 0; background: none; box-shadow: none; border-radius: 0; }
.point--img:nth-child(even) { grid-template-areas: "key img" "body img"; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.point--img .point__key { grid-area: key; align-self: end; display: grid; gap: 4px; }
.point--img .point__key::before { content: "REASON " counter(pt, decimal-leading-zero); font-family: var(--f-en); font-weight: 400; font-size: 0.8rem; letter-spacing: 0.24em; color: var(--ink-3); }
.point--img .point__body { grid-area: body; }
.point--img .point__body h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.point__img { grid-area: img; margin: 0; position: relative; isolation: isolate; }
.point__img::before { content: ""; position: absolute; z-index: -1; inset: 22px -18px -18px 22px; border-radius: var(--r-lg); background: var(--bg-mint); }
.point__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }

/* 年次の流れ */
.steps { display: grid; gap: 22px; position: relative; padding-left: 34px; }
.steps::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--lime), var(--green)); }
.step { position: relative; display: grid; gap: 10px; padding: 26px 30px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.step::before { content: ""; position: absolute; left: -34px; top: 30px; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 5px solid var(--green); }
.step__when { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 900; color: var(--green-ink); letter-spacing: 0.08em; }
.step__when small { display: inline-block; margin-left: 12px; padding: 2px 12px; border-radius: 999px; background: var(--lime-soft); font-size: 0.74rem; font-weight: 700; color: var(--green-ink); letter-spacing: 0.06em; vertical-align: middle; }
.step__goal { font-weight: 700; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }

/* 写真・図 */
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: start; }
.pair figure { margin: 0; display: grid; gap: 8px; }
.pair img { width: 100%; border-radius: var(--r-md); object-fit: cover; }
.pair figcaption, .fig figcaption { font-size: 0.78rem; color: var(--ink-3); line-height: 1.65; }
.fig { margin: 0; display: grid; gap: 10px; }
.fig img, .fig video { width: 100%; border-radius: var(--r-md); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split > * { min-width: 0; }

/* 認定証 */
.diploma { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); display: grid; gap: 14px; text-align: center; justify-items: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
.diploma::after { content: ""; position: absolute; inset: 12px; border: 1px solid var(--lime); border-radius: calc(var(--r-lg) - 8px); pointer-events: none; }
.diploma__kind { font-size: 0.8rem; font-weight: 700; color: var(--ink-3); letter-spacing: 0.2em; }
.diploma__title { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 900; letter-spacing: 0.12em; line-height: 1.5; color: var(--green-ink); }
.diploma__who { font-size: 0.9rem; }
.diploma img { max-width: 340px; width: 100%; border-radius: var(--r-sm); }
.diploma__seal { position: absolute; z-index: 1; right: 26px; top: 22px; width: 64px; height: 64px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 0.74rem; line-height: 1.3; text-align: center; transform: rotate(-10deg); box-shadow: var(--shadow-sm); }

/* 資格の一覧 */
.qual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qual li { padding: 14px 18px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; line-height: 1.6; display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.qual em { font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--white); background: var(--green); padding: 3px 10px; border-radius: 999px; white-space: nowrap; }

/* 指導医 */
.doctors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.doctor { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 22px; align-items: start; padding: 26px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.doctor img { width: 136px; height: 164px; object-fit: cover; object-position: 50% 15%; border-radius: var(--r-md); background: var(--bg-soft); }
.doctor__ph { width: 136px; height: 164px; border-radius: var(--r-md); background: var(--bg-soft); border: 1px dashed var(--line-2); display: grid; place-items: center; font-size: 0.75rem; color: var(--ink-3); text-align: center; }
.doctor__body { display: grid; gap: 8px; }
.doctor__role { font-size: 0.76rem; font-weight: 700; color: var(--green); letter-spacing: 0.08em; }
.doctor__name { font-size: 1.35rem; font-weight: 700; letter-spacing: 0.16em; line-height: 1.3; }
.doctor__txt { font-size: 0.88rem; line-height: 1.85; }
.doctor ul { display: grid; gap: 2px; }
.doctor li { font-size: 0.8rem; line-height: 1.65; padding-left: 1em; text-indent: -1em; color: var(--ink-2); }
.doctor li::before { content: "・"; }

/* 本 */
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.book { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: center; padding: 22px; border-radius: var(--r-md); background: var(--bg-soft); }
.book img { width: 112px; box-shadow: 0 12px 24px -12px rgba(24, 40, 20, .5); border-radius: 3px; }
.book b { font-size: 1.05rem; line-height: 1.55; display: block; }
.book span { font-size: 0.8rem; color: var(--ink-2); display: block; line-height: 1.7; }

/* 動画 */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.videos--tall { max-width: 820px; }
.vid { margin: 0; display: grid; gap: 10px; }
.vid__box { position: relative; background: #1b2118; border-radius: var(--r-md); overflow: hidden; }
.vid__box video, .vid__box img { width: 100%; height: 100%; object-fit: cover; }
.vid--tall .vid__box { aspect-ratio: 9 / 16; }
.vid--wide .vid__box { aspect-ratio: 16 / 9; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 55%); border: 0; cursor: pointer; padding: 0; }
.vid__play span { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .95); display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .25s; }
.vid__play span::after { content: ""; border-left: 18px solid var(--green); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.vid__play:hover span { transform: scale(1.08); }
.vid figcaption { font-size: 0.84rem; line-height: 1.65; color: var(--ink-2); }
.vid figcaption b { display: block; font-size: 0.95rem; color: var(--ink); }

.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ba figure { margin: 0; display: grid; gap: 8px; }
.ba img { border-radius: var(--r-sm); }
.ba figcaption { font-size: 0.82rem; font-weight: 700; }

/* 特典 */
.gift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 14px; align-items: center; }
.gift > div { padding: 26px 28px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); display: grid; gap: 6px; border-top: 4px solid var(--lime); }
.gift__or { width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 0; }
.gift__or::before { content: "OR"; font-family: var(--f-en); font-size: 0.82rem; letter-spacing: 0.1em; }
.gift b { font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--green-ink); }
.gift span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.7; }

/* 割合の帯 */
.share { display: grid; gap: 14px; }
.share__bar { display: flex; height: 60px; border-radius: 999px; overflow: hidden; }
.share__bar > div { display: flex; align-items: center; padding-inline: 22px; font-family: var(--f-en); font-size: 1.3rem; white-space: nowrap; overflow: hidden; }
.share__a { background: var(--green); color: var(--white); }
.share__b { background: var(--lime); color: var(--green-deep); }
.share__legend { display: grid; grid-template-columns: 70fr 30fr; gap: 14px; font-size: 0.86rem; line-height: 1.75; }

/* 工程 */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: p; }
.process li { padding: 26px 22px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); display: grid; gap: 8px; align-content: start; counter-increment: p; }
.process li::before { content: counter(p, decimal-leading-zero); font-family: var(--f-en); font-weight: 300; font-size: 2.6rem; line-height: 1; color: var(--green); }
.process b { font-size: 1.08rem; line-height: 1.5; }
.process span { font-size: 0.88rem; line-height: 1.8; color: var(--ink-2); }

/* 1日の流れ */
.day { display: grid; }
.day li { display: grid; grid-template-columns: 5em minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--line-2); }
.day li:last-child { border-bottom: 0; }
.day time { font-family: var(--f-en); font-size: 1.35rem; color: var(--green); line-height: 1.3; }
.day b { display: block; }
.day span { font-size: 0.88rem; color: var(--ink-2); line-height: 1.8; }

/* 募集要項 */
.req { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.req > div { display: grid; grid-template-columns: 11em minmax(0, 1fr); }
.req > div + div { border-top: 1px solid var(--line); }
.req dt { padding: 18px 22px; background: var(--bg-soft); font-weight: 700; font-size: 0.9rem; color: var(--green-ink); }
.req dd { padding: 18px 24px; font-size: 0.94rem; line-height: 1.85; }
.req dd .note { display: block; margin-top: 4px; }

/* よくある質問 */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px minmax(0, 1fr) 22px; gap: 14px; align-items: center; padding: 20px 24px; font-weight: 700; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-family: var(--f-en); font-size: 1.05rem; }
.faq summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(var(--green), var(--green)) center / 14px 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 0 24px 22px; }
.faq .a::before { content: "A"; width: 40px; height: 40px; border-radius: 50%; background: var(--lime-soft); color: var(--green-ink); display: grid; place-items: center; font-family: var(--f-en); font-size: 1.05rem; }
.faq .a > p { padding-top: 6px; color: var(--ink-2); }

/* ほかの職種 */
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.others a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .25s; }
.others a:hover { transform: translateY(-3px); color: var(--ink); }
.others img { width: 104px; height: 80px; object-fit: cover; border-radius: var(--r-sm); }
.others b { font-size: 1.08rem; display: block; line-height: 1.4; }
.others span { font-size: 0.78rem; color: var(--ink-2); }

/* ───────── 見学・応募 ───────── */
.entry-banner { position: relative; color: var(--white); text-align: center; isolation: isolate; overflow: hidden; margin: 0 clamp(0px, 1.4vw, 20px); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.entry-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.entry-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(29, 74, 35, .92), rgba(20, 48, 24, .82)); }
.entry-banner__in { display: grid; justify-items: center; gap: 18px; padding-block: clamp(72px, 9vw, 110px); }
.entry-banner__en { font-family: var(--f-en); font-weight: 300; font-size: clamp(3.6rem, 11vw, 8.4rem); line-height: .9; letter-spacing: 0.1em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .7); }
.entry-banner__title { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 900; letter-spacing: 0.1em; }
.entry-banner__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.entry-banner__tags li { padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .5); font-size: 0.84rem; font-weight: 700; }
.entry-banner__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 10px; }
.entry-banner__cta .btn { min-width: 250px; }
.entry-banner .btn--entry { background: var(--lime); color: var(--green-deep); }
.entry-banner .btn--entry:hover { background: var(--white); color: var(--green-deep); }
.entry-banner__tel { font-size: 0.9rem; display: grid; gap: 2px; }
.entry-banner__tel a { color: var(--white); font-family: var(--f-en); font-size: 1.9rem; letter-spacing: 0.08em; text-decoration: none; }
.entry-banner__tel span { font-size: 0.78rem; opacity: .8; }

.entry { background: var(--bg-soft); padding-top: clamp(64px, 8vw, 96px); }
.entry__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.entry__info { display: grid; gap: 22px; }
.entry__badge { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--lime); color: var(--green-deep); font-weight: 900; font-size: 0.86rem; line-height: 1.35; text-align: center; transform: rotate(-8deg); }
.entry h2 { font-size: var(--fs-h2); }
.entry__list { display: grid; border-radius: var(--r-md); background: var(--white); padding: 6px 22px; }
.entry__list li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; padding: 12px 0; font-size: 0.9rem; line-height: 1.7; }
.entry__list li + li { border-top: 1px dashed var(--line-2); }
.entry__list b { color: var(--green-ink); }
.flow { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.84rem; font-weight: 700; }
.flow li { display: flex; align-items: center; gap: 8px; }
.flow li + li::before { content: ""; width: 14px; height: 2px; background: var(--line-2); }
.tel { display: grid; gap: 2px; padding: 18px 22px; border-radius: var(--r-md); background: var(--green); color: var(--white); }
.tel__label { font-size: 0.8rem; font-weight: 700; opacity: .85; }
.tel__num { font-family: var(--f-en); font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--white); text-decoration: none; letter-spacing: 0.08em; line-height: 1.3; }
.tel__num:hover { color: var(--lime); }
.tel__time { font-size: 0.78rem; opacity: .85; line-height: 1.6; }

.form { background: var(--white); padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.form__title { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.08em; display: flex; align-items: center; gap: 12px; }
.form__title::before { content: ""; width: 28px; height: 2px; background: var(--lime); }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > legend, .field > label { font-weight: 700; font-size: 0.92rem; padding: 0; display: flex; align-items: center; gap: 8px; }
fieldset.field > legend { margin-bottom: 10px; }
.req-tag, .opt-tag { font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: 0.04em; }
.req-tag { background: var(--green); color: var(--white); }
.opt-tag { background: var(--bg-soft); color: var(--ink-2); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 0.9rem; font-weight: 500; background: var(--white); line-height: 1.4; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choices input:checked + span { border-color: var(--green); background: var(--green); color: var(--white); font-weight: 700; }
.choices input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.input { width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: var(--r-sm); transition: border-color .2s, background-color .2s; }
.input:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 4px var(--lime-soft); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.7; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hint { font-size: 0.8rem; color: var(--ink-2); line-height: 1.6; }
.err { font-size: 0.86rem; color: #a3341f; font-weight: 700; background: #fbefe9; padding: 12px 16px; border-radius: var(--r-sm); }
.form__privacy { font-size: 0.8rem; color: var(--ink-2); line-height: 1.7; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__done { display: grid; gap: 12px; }
.form__done h3 { font-size: 1.3rem; color: var(--green-ink); }
.form__summary { border-top: 1px solid var(--line); font-size: 0.9rem; }
.form__summary div { display: grid; grid-template-columns: 8em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.form__summary dt { font-weight: 700; color: var(--ink-2); }

/* ───────── フッター ───────── */
.site-foot { background: var(--green-deep); color: var(--on-dark); padding-block: 64px calc(36px + env(safe-area-inset-bottom, 0px)); }
.site-foot a { color: var(--on-dark); }
.site-foot a:hover { color: var(--lime); }
.site-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.site-foot__logo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.site-foot__logo img { width: 54px; height: 54px; background: var(--white); border-radius: 50%; padding: 6px; }
.site-foot__logo span { display: grid; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; line-height: 1.4; }
.site-foot__logo small { font-size: 0.7rem; color: rgba(255, 255, 255, .7); font-weight: 500; }
.site-foot__logo em { font-style: normal; font-family: var(--f-en); font-size: 0.7rem; letter-spacing: 0.3em; color: var(--lime); font-weight: 400; }
.site-foot p, .site-foot li { font-size: 0.84rem; line-height: 1.95; }
.site-foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; align-content: start; }
.site-foot__nav a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.site-foot__nav a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.site-foot__copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-family: var(--f-en); font-size: 0.72rem; letter-spacing: 0.14em; opacity: .7; }

/* スマホ下部の固定ボタン・パソコンの追従ボタン */
.sp-cta { display: none; }
.float-cta { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 40; display: inline-flex; align-items: center; gap: 12px; padding: 12px 26px 12px 12px; border-radius: 999px; background: var(--green); color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 16px 34px -14px rgba(20, 50, 24, .7); transition: transform .35s, opacity .35s, background-color .25s; letter-spacing: 0.06em; }
.float-cta:hover { color: var(--white); background: var(--green-deep); }
.float-cta img { width: 40px; height: 40px; background: var(--white); border-radius: 50%; padding: 4px; }
.float-cta small { display: block; font-size: 0.7rem; font-weight: 500; opacity: .85; letter-spacing: 0.02em; }
.float-cta.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ───────── 動き ───────── */
@media (prefers-reduced-motion: no-preference) {
  .mv__slides img.is-on { animation: kenburns 9s ease-out both; }
  @keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
  .mv__title span, .mv__lead, .mv__cta { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  .mv__title span:nth-child(2) { animation-delay: .15s; }
  .mv__lead { animation-delay: .3s; }
  .mv__cta { animation-delay: .45s; }
  @keyframes rise { from { transform: translateY(24px); } to { transform: none; } }
  .js-reveal .reveal { transform: translateY(26px); transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
  .js-reveal .reveal.is-in { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::after { transition: none !important; animation: none !important; }
  .loop { overflow-x: auto; }
}

/* ───────── タブレット ───────── */
@media (max-width: 1100px) {
  .gnav a:not(.head-entry) { padding: 8px 8px; }
  .gnav a:not(.head-entry) small { display: none; }
  .brand__name { font-size: 0.86rem; }
  .nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nums > div:not(:nth-child(4n + 1)) { border-left: 0; }
  .nums > div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .22); }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phero__panel { grid-template-columns: 1fr; }
  .phero__panel .hero__cta { flex-direction: row; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ───────── スマホ ───────── */
@media (max-width: 860px) {
  :root { --head-h: 64px; --gutter-l: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px)); }
  .brand img { width: 38px; height: 38px; }
  .gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter-r) 20px var(--gutter-l); box-shadow: 0 18px 30px -18px rgba(24, 56, 26, .4); }
  .gnav.is-open { display: flex; }
  .gnav a:not(.head-entry) { justify-items: start; padding: 14px 4px; border-bottom: 1px solid var(--line); grid-template-columns: auto auto; justify-content: space-between; align-items: baseline; }
  .gnav a:not(.head-entry) small { display: block; }
  .gnav a:not(.head-entry)::after { display: none; }
  .head-entry { margin: 16px 0 0; min-height: 56px; }
  .menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--green); color: var(--white); cursor: pointer; padding: 0; font-size: 0; }
  .menu-btn i { display: block; width: 18px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

  .mv { margin: 0; height: clamp(520px, 82svh, 720px); }
  .mv__en { font-size: clamp(2.2rem, 11vw, 3rem); }
  .mv__title { font-size: clamp(1.8rem, 7.8vw, 2.4rem); letter-spacing: 0.08em; }
  .phero h1 { letter-spacing: 0.08em; }
  .mv__lead br { display: none; }
  .mv__cta .btn { flex: 1 1 100%; }
  .mv__in { padding-bottom: 96px; }
  .mv__scroll { display: none; }
  .facts-wrap { margin-top: -64px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 4px; }
  .facts > div { padding: 16px 16px; }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .intro__grid, .reason, .message, .split, .split--wide-left, .entry__grid, .site-foot__grid { grid-template-columns: 1fr; }
  .intro__photos { padding: 0 14% 20% 0; max-width: 520px; }
  .joblinks ul { grid-template-columns: 1fr; }
  .reason:nth-child(even) .reason__media { order: 0; }
  .reason--text-first .reason__media, .reason--text-first:nth-child(even) .reason__media { order: 2; }
  figure.reason__media::before, .reason:nth-child(even) figure.reason__media::before { inset: 18px -10px -12px 18px; }
  .message__photo { max-width: 440px; }
  .nums > div { padding: 22px 16px 24px; }
  .tour { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tour figure:first-child { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16 / 10; }
  .jobcards { grid-template-columns: 1fr; gap: 16px; }
  .jobcard { aspect-ratio: 4 / 3.4; }
  .phero { margin: 0; height: clamp(380px, 62svh, 520px); }
  .phero__in { padding-bottom: 88px; }
  .phero__panel { margin-top: -56px; }
  .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
  .terms > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .phero__panel .hero__cta .btn { flex: 1 1 100%; }
  .point, .point--img, .point--img:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "img" "key" "body"; padding: 24px; }
  .point--img, .point--img:nth-child(even) { padding: 0; }
  .point__img::before { inset: 14px -8px -10px 14px; }
  .doctors, .books, .qual, .cols-2, .others { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .gift { grid-template-columns: 1fr; }
  .gift__or { justify-self: center; }
  .site-foot__grid { gap: 28px; }

  .float-cta { display: none; }
  .sp-cta { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter-r) calc(10px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); background: rgba(255, 255, 255, .96); box-shadow: 0 -10px 24px -18px rgba(24, 56, 26, .5); transition: transform .3s; }
  .sp-cta.is-hidden { transform: translateY(110%); }
  .sp-cta .btn { min-height: 52px; padding: 4px 10px; font-size: 0.92rem; flex-direction: column; gap: 0; line-height: 1.3; }
  body { padding-bottom: 78px; }
}

@media (max-width: 560px) {
  .brand__corp { display: none; }
  .brand__name { font-size: 0.78rem; letter-spacing: 0.02em; }
  .brand__tag { font-size: 0.6rem; }
  .sec-head__en { font-size: clamp(2.3rem, 11vw, 3rem); white-space: normal; }
  .sheet { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sheet > div { padding: 18px 14px; }
  .req > div { grid-template-columns: 1fr; }
  .req dt { padding: 12px 18px; }
  .req dd { padding: 14px 18px; }
  .videos { grid-template-columns: 1fr 1fr; }
  .videos .vid--wide { grid-column: 1 / -1 !important; }
  .two { grid-template-columns: 1fr; }
  .doctor { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .doctor img, .doctor__ph { width: 100px; height: 124px; }
  .book { grid-template-columns: 84px minmax(0, 1fr); }
  .book img { width: 84px; }
  .entry__list li { grid-template-columns: 5.5em minmax(0, 1fr); }
  .entry-banner { margin: 0; border-radius: 0; }
  .entry-banner__cta .btn { min-width: 0; flex: 1 1 100%; }
  .ruler__scale, .ruler__legend { margin-left: 44px; }
  .ruler__row { grid-template-columns: 44px minmax(0, 1fr); }
  .faq summary { padding: 16px; grid-template-columns: 34px minmax(0, 1fr) 18px; gap: 12px; }
  .faq summary::before, .faq .a::before { width: 34px; height: 34px; }
  .faq .a { padding: 0 16px 18px; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .step { padding: 22px 20px; }
  .steps { padding-left: 28px; }
  .step::before { left: -28px; }
  .steps::before { left: 7px; }
}
