/* あおさぎ歯科医院 採用サイト（デモ）
   白 × あおさぎの灰青 #6C8EA4 × 桜 #F2C6C2。文字は灰青の濃い色 #2F4250。
   見出しも本文も M PLUS Rounded 1c、時刻と数字は Inter。角は大きく丸く（16px）。
   あしらいは、見出しの左の細い羽1枚と、区画の境目の桜色の短い線。 */

:root {
  --white: #FFFFFF;
  --ao: #6C8EA4;          /* あおさぎの灰青（線・印・大きい字） */
  --ao-btn: #4F7489;      /* ボタンの地（白い字が読める濃さ） */
  --ao-ink: #4A6B80;      /* 小さい字にするときの灰青 */
  --ao-l: #C9D7E0;
  --mist: #F1F5F8;        /* 灰青をごく薄くした地 */
  --mist-2: #E4ECF1;
  --sakura: #F2C6C2;
  --sakura-l: #FBEDEB;
  --sakura-d: #B4615A;    /* 入力の誤りの印 */
  --ink: #2F4250;
  --ink-2: #55697A;
  --off: #E7EBEE;         /* 休みのマス */

  --round: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --inter: "Inter", "M PLUS Rounded 1c", sans-serif;
  --r: 16px;
  --hd: 64px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 1080px) { :root { --hd: 78px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--round); font-weight: 400;
  font-size: clamp(15px, .22vw + 14.2px, 17px); line-height: 1.9; letter-spacing: .03em;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.45; letter-spacing: .04em; font-feature-settings: "palt"; text-wrap: balance; word-break: auto-phrase; }
p, dd, li { text-wrap: pretty; }
table { border-collapse: collapse; }
small { font-size: .8em; }
:focus-visible { outline: 3px solid var(--ao-btn); outline-offset: 3px; border-radius: 6px; }
.num { font-family: var(--inter); font-weight: 600; font-feature-settings: "tnum"; letter-spacing: .01em; }
.nb { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap--n { width: min(820px, 100% - 40px); }
@media (min-width: 768px) { .wrap { width: min(var(--wrap), 100% - 80px); } .wrap--n { width: min(820px, 100% - 80px); } }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .5em 1.6em .5em 1.8em; border-radius: 999px;
  font-weight: 800; font-size: 15px; letter-spacing: .06em; line-height: 1.4; text-decoration: none;
  border: 2px solid var(--ao-btn); background: var(--white); color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--ink { background: var(--ao-btn); color: var(--white); }
.btn--ink:hover { background: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--mist); }

/* ---------- 見出し（左に羽を1枚） ---------- */
.ttl {
  display: flex; align-items: center; gap: 14px;
  font-size: clamp(24px, 1.4vw + 18px, 36px); color: var(--ink);
  margin-bottom: clamp(28px, 3.4vw, 48px);
}
.ttl__fe { width: 16px; height: 44px; flex: none; color: var(--ao); transform: rotate(-22deg); transform-origin: 50% 90%; }
.js .ttl .ttl__fe { transition: transform 1s var(--ease-out); }
.js .rv:not(.is-in) .ttl__fe, .js .ttl.rv:not(.is-in) .ttl__fe { transform: rotate(-50deg); }

/* ---------- 区画 ---------- */
.sec { position: relative; padding-block: clamp(64px, 8vw, 120px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }
.sec--mist { background: var(--mist); }
.sec::before {
  content: ""; position: absolute; top: -3px; left: 50%; width: 48px; height: 6px; margin-left: -24px;
  border-radius: 6px; background: var(--sakura);
}
.sec__note { margin-top: 24px; color: var(--ink-2); }
.sec__more { margin-top: 36px; }

/* ---------- 動き（JS が html に .js を付けたときだけ隠す） ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease-out); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--mist-2); }
.hd__in { height: var(--hd); display: flex; align-items: center; gap: 8px; padding-inline: 14px 4px; max-width: 1440px; margin-inline: auto; }
@media (min-width: 1080px) { .hd__in { padding-inline: 32px; gap: 18px; } }
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); flex: none; }
.brand__mk { width: 34px; height: 41px; color: var(--ao); flex: none; }
@media (min-width: 1080px) { .brand__mk { width: 40px; height: 48px; } }
.brand__tx { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 15px; letter-spacing: .06em; }
.brand__sub { font-size: 11px; letter-spacing: .2em; color: var(--ao-ink); margin-top: 3px; }
@media (min-width: 1080px) { .brand__name { font-size: 18px; } .brand__sub { font-size: 12px; } }
.demo { flex: none; font-family: var(--inter); font-size: 9.5px; letter-spacing: .14em; color: var(--ao-ink); border: 1px solid var(--ao-l); border-radius: 999px; padding: 1px 7px; margin-left: 2px; align-self: center; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; }
.gnav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 15px; letter-spacing: .05em; transition: background-color .2s; }
.gnav a:hover { background: var(--mist); }
.gnav a[aria-current="page"] { background: var(--mist); color: var(--ao-btn); box-shadow: inset 0 -3px 0 var(--sakura); }
.hd__btn {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: var(--ao-btn); color: var(--white); font-weight: 800; font-size: 13.5px; letter-spacing: .06em; text-decoration: none;
  transition: background-color .2s;
}
.hd__btn:hover { background: var(--ink); }
@media (min-width: 1080px) { .hd__btn { min-height: 50px; padding: 0 26px; font-size: 15px; } }
.menu { display: none; }

@media (max-width: 1079px) {
  .hd__btn { margin-left: auto; }
  .menu {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    width: 50px; height: 50px; border: 0; background: none; color: var(--ink); cursor: pointer; padding: 0;
  }
  .menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .menu__bars { position: relative; }
  .menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
  .menu__bars::before { top: -7px; } .menu__bars::after { top: 7px; }
  .menu__label { font-family: var(--inter); font-size: 9px; letter-spacing: .12em; margin-top: 7px; }
  .is-menu .menu__bars { background: transparent; }
  .is-menu .menu__bars::before { transform: translateY(7px) rotate(45deg); }
  .is-menu .menu__bars::after { transform: translateY(-7px) rotate(-45deg); }
  .gnav {
    position: fixed; inset: var(--hd) 0 auto 0; margin: 0; background: var(--white);
    padding: 12px 20px 28px; border-bottom: 1px solid var(--mist-2); box-shadow: 0 18px 30px rgba(47, 66, 80, .08);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .is-menu .gnav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease); }
  .gnav ul { flex-direction: column; gap: 2px; }
  .gnav a { padding: 14px 16px; font-size: 16px; }
}
@media (max-width: 359px) { .demo { display: none; } }

/* ---------- パンくず ---------- */
.crumb { font-size: 12px; color: var(--ink-2); padding-top: 14px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumb li + li::before { content: "/"; margin: 0 .6em; color: var(--ao-l); }
.crumb a { color: var(--ao-ink); }

/* ---------- 最初の画面 ---------- */
.hero { position: relative; padding-bottom: 24px; }
.hero__ph { overflow: hidden; height: clamp(300px, 56vw, 470px); }
.hero__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__card {
  position: relative; z-index: 2; margin: -72px 16px 0; padding: 26px 20px 28px;
  background: var(--white); border-radius: var(--r); box-shadow: 0 20px 50px rgba(47, 66, 80, .12);
}
.hero__eye { font-size: 13px; font-weight: 800; color: var(--ao-ink); letter-spacing: .06em; }
.hero__title { margin-top: 8px; font-size: clamp(27px, 3vw + 14px, 46px); line-height: 1.38; letter-spacing: .03em; }
.hero__title span { display: block; }
.hero__off { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.hero__offk { display: inline-block; font-weight: 800; color: var(--ink); background: var(--off); border-radius: 6px; padding: 0 8px; margin-right: 8px; }
.hero__card .btn { margin-top: 20px; }
.tag {
  position: absolute; top: -54px; right: 14px; z-index: 3;
  width: 98px; height: 98px; border-radius: 50%; background: var(--sakura); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none;
  font-weight: 800; font-size: 13px; line-height: 1.35; letter-spacing: .06em; text-align: center;
  box-shadow: 0 10px 24px rgba(180, 97, 90, .22);
}
.tag svg { width: 16px; height: 16px; margin-top: 2px; transition: transform .3s var(--ease-out); }
.tag:hover svg { transform: translateX(3px); }
@media (min-width: 768px) {
  .hero__ph { height: clamp(420px, 50vw, 520px); }
  .hero__card { margin: -120px auto 0; width: min(620px, 100% - 80px); padding: 34px 36px 34px; }
  .tag { top: auto; bottom: -30px; right: -30px; width: 118px; height: 118px; font-size: 14.5px; }
}
@media (min-width: 1080px) {
  .hero { padding-bottom: 0; }
  .hero__ph { height: min(84vh, 700px); min-height: 560px; border-radius: 0 0 40px 40px; }
  .hero__ph img { object-position: 50% 50%; }
  .hero__card { position: absolute; top: 44px; left: max(40px, (100% - 1360px) / 2); margin: 0; width: min(40%, 540px); min-width: 470px; padding: 36px 38px 38px; }
}

/* 読み込み時の動き（最初の画面は判定を待たない） */
@keyframes settle { from { transform: scale(1.07); } to { transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.js .hero__ph img { animation: settle 2.4s var(--ease-out) both; }
.js .hero__card { animation: up .9s .15s var(--ease-out) both; }
.js .hero__card .wk td { animation: pop .5s calc(.7s + var(--i) * 45ms) var(--ease-out) both; }
.js .tag { animation: pop .6s 1.2s var(--ease-out) both, bob 5s 2s ease-in-out infinite; }

/* ---------- SR-3 1週間の勤務 ---------- */
.wk table { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.wk th, .wk td { text-align: center; vertical-align: middle; padding: 0; }
.wk thead th { font-weight: 800; font-size: 12px; color: var(--ink); padding-bottom: 2px; }
.wk thead th.wk__sat { color: var(--ao-ink); }
.wk tbody th { font-size: 10.5px; color: var(--ink-2); text-align: left; line-height: 1.3; width: 4.7em; padding-right: 2px; word-break: keep-all; }
.wk td { height: 34px; border-radius: 8px; font-size: 10.5px; font-weight: 800; }
.wk__on { background: var(--mist); }
.wk__dot { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ao); vertical-align: middle; font-size: 0; color: transparent; }
.wk__off { background: var(--off); color: var(--ink-2); }
.wk__half { color: var(--ink-2); background: repeating-linear-gradient(-45deg, var(--off) 0 4px, var(--white) 4px 8px); }
.hero__card .wk { margin-top: 16px; }
.wk--mini thead th:last-child { font-size: 10.5px; letter-spacing: 0; }
@media (min-width: 768px) {
  .wk--mini table { border-spacing: 4px; }
  .wk--mini td { height: 38px; font-size: 11.5px; }
  .wk--mini tbody th { font-size: 11.5px; width: 5.6em; }
}
.wk--big { background: var(--white); border-radius: var(--r); padding: clamp(12px, 2.4vw, 32px); box-shadow: 0 0 0 1px var(--mist-2); }
.wk--big table { border-spacing: 4px; }
.wk--big thead th { font-size: clamp(13px, 1vw + 9px, 18px); padding-bottom: 6px; }
.wk--big tbody th { font-size: clamp(11px, .6vw + 8.6px, 15px); width: 5em; }
.wk--big td { height: clamp(52px, 6vw, 84px); border-radius: 12px; font-size: clamp(11px, .5vw + 9px, 15px); }
.wk--big .wk__dot { width: clamp(18px, 2vw, 28px); height: clamp(18px, 2vw, 28px); border-width: 4px; }
@media (min-width: 768px) { .wk--big table { border-spacing: 8px; } .wk--big tbody th { width: 8.5em; } }
.wk__note { margin-top: 14px; font-size: 14px; color: var(--ink-2); padding-left: 4px; }
.js .wk--big td { opacity: 0; transform: scale(.6); transition: opacity .5s calc(var(--i) * 50ms), transform .6s calc(var(--i) * 50ms) var(--ease-out); }
.js .wk--big.is-in td { opacity: 1; transform: none; }

/* ---------- 募集している仕事 ---------- */
.jobsel__list { display: grid; gap: 28px; }
@media (min-width: 768px) { .jobsel__list { grid-template-columns: 1fr 1fr; gap: 32px; } }
.job { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--ink); background: var(--white); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--mist-2), 0 14px 34px rgba(47, 66, 80, .06); transition: box-shadow .3s; }
.job:hover { box-shadow: 0 0 0 2px var(--ao), 0 18px 40px rgba(47, 66, 80, .1); }
.job__ph { aspect-ratio: 16 / 10; overflow: hidden; }
.job__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.job:hover .job__ph img { transform: scale(1.04); }
.job__tx { position: relative; padding: 24px 24px 76px; flex: 1; }
@media (min-width: 1080px) { .job__tx { padding: 30px 34px 84px; } }
.job__name { font-size: clamp(22px, 1vw + 18px, 30px); }
.job__kind { display: inline-block; margin: 6px 0 12px; font-size: 12.5px; font-weight: 800; color: var(--ao-ink); border: 1.5px solid var(--ao-l); border-radius: 999px; padding: 1px 12px; }
.job--sakura .job__kind { border-color: var(--sakura); background: var(--sakura-l); color: var(--ink); }
.job__arw { position: absolute; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--ao-btn); color: var(--white); display: grid; place-items: center; transition: transform .35s var(--ease-out); }
.job--sakura .job__arw { background: var(--sakura); color: var(--ink); }
.job__arw svg { width: 20px; height: 20px; }
.job:hover .job__arw { transform: translateX(4px); }

/* ---------- 院長から ---------- */
.msg__in { display: grid; gap: 40px; }
@media (min-width: 900px) { .msg__in { grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; } }
.msg__body p + p { margin-top: 1em; }
.msg__body { line-height: 2.05; }
.msg__last { font-weight: 800; color: var(--ao-btn); }
.msg__name { margin: 26px 0 28px; font-weight: 800; letter-spacing: .1em; }
.msg__name small { font-weight: 400; margin-left: .3em; color: var(--ink-2); }
.msg__ph { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.msg__ph::before { content: ""; position: absolute; inset: 9% -9% -7% 12%; border-radius: 50%; background: var(--sakura); opacity: .55; }
.msg__ph img { position: relative; border-radius: var(--r); aspect-ratio: 896 / 1024; object-fit: cover; }

/* ---------- 先輩の話（トップ） ---------- */
.voice__list { display: grid; gap: 24px; }
@media (min-width: 900px) { .voice__list { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; } .voice__list li:nth-child(2) { margin-top: 72px; } }
.vc { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 6px 20px; padding: 26px 22px 30px; border-radius: var(--r); background: var(--mist); text-decoration: none; color: var(--ink); transition: transform .35s var(--ease-out); }
.vc--sakura { background: var(--sakura-l); }
.vc:hover { transform: translateY(-4px); }
@media (min-width: 1080px) { .vc { grid-template-columns: 132px 1fr; padding: 34px 34px 40px; gap: 8px 28px; } }
.vc__ph { grid-row: span 2; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 4px solid var(--white); }
@media (min-width: 1080px) { .vc__ph { width: 132px; height: 132px; } }
.vc__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.vc--sakura .vc__ph img { object-position: 70% 30%; }
.vc__who { font-size: 13px; font-weight: 800; color: var(--ao-ink); align-self: end; }
.vc__q { font-weight: 800; font-size: clamp(16px, .6vw + 13.6px, 20px); line-height: 1.75; position: relative; }
@media (max-width: 479px) { .vc { grid-template-columns: 72px 1fr; } .vc__ph { width: 72px; height: 72px; grid-row: span 1; } .vc__q { grid-column: 1 / -1; margin-top: 8px; } }
.vc__more { position: absolute; right: 18px; bottom: -18px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--ao-btn); box-shadow: 0 6px 16px rgba(47, 66, 80, .12); }
.vc__more svg { width: 18px; height: 18px; }

/* ---------- SR-1 歯科衛生士の1日 ---------- */
.day { background: var(--white); border-radius: var(--r); padding: 22px 18px 20px; box-shadow: 0 0 0 1px var(--mist-2); }
.sec:not(.sec--mist) .day { background: var(--mist); box-shadow: none; }
.day__list { position: relative; display: grid; gap: 0; }
.day__it { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 10px 0 10px; }
.day__it::before { content: ""; position: absolute; left: 66px; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: var(--ao); border-radius: 2px; }
.day__it:first-child::before { top: 18px; }
.day__it:last-child::before { bottom: calc(100% - 22px); }
.day__it::after { content: ""; position: absolute; left: 66px; top: 17px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--white); border: 3px solid var(--ao); }
.day__it--lunch::before { width: 16px; margin-left: -8px; background: var(--sakura); }
.day__it--lunch::after { border-color: var(--sakura); }
.day__it--lunch { padding-block: 22px; }
.day__t { font-size: 17px; color: var(--ao-ink); text-align: right; line-height: 1.6; }
.day__tx { padding-left: 18px; font-size: 14.5px; line-height: 1.7; padding-top: 1px; }
.day__it--lunch .day__tx { font-weight: 800; }
.day__axis { display: none; }
.day__cap { margin-top: 12px; font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--ao-l); padding-top: 12px; }
.js .day .day__it { opacity: 0; transform: translateX(-10px); transition: opacity .5s calc(.1s + var(--i) * 90ms), transform .6s calc(.1s + var(--i) * 90ms) var(--ease-out); }
.js .day.is-in .day__it { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .day { padding: 30px 28px 24px; }
  .day__list { grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: stretch; }
  .day__it { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 16px; background: var(--white); border-radius: 12px; box-shadow: 0 0 0 1px var(--mist-2); }
  .sec--mist .day__it { background: var(--mist); box-shadow: none; }
  .day__it::before, .day__it::after { display: none; }
  .day__it--lunch, .sec--mist .day__it--lunch { background: var(--sakura); padding-block: 14px 16px; }
  .day__t { text-align: left; font-size: 20px; }
  .day__tx { padding: 0; font-size: 13.5px; }
  .day__axis { display: block; position: relative; }
  .day__leads { width: 100%; height: 40px; overflow: visible; }
  .day__leads line { stroke: var(--ao); stroke-width: 1.2; stroke-dasharray: 2 3; }
  .day__bar { display: flex; align-items: center; height: 26px; }
  .day__bar span { display: block; height: 10px; transform-origin: left center; }
  .day__am { flex: 0 0 37.5%; background: var(--ao); border-radius: 6px 0 0 6px; }
  .day__lunch { flex: 0 0 20%; height: 26px !important; background: var(--sakura); border-radius: 8px; }
  .day__pm { flex: 1; background: var(--ao); border-radius: 0 6px 6px 0; }
  .day__cap { margin-top: 16px; border-top: 0; padding-top: 0; font-size: 13.5px; }
  .js .day .day__it { transform: translateY(12px); }
  .js .day .day__bar span { transform: scaleX(0); transition: transform .9s var(--ease-out); }
  .js .day .day__lunch { transition-delay: .9s; }
  .js .day .day__pm { transition-delay: 1.3s; transition-duration: 1.1s; }
  .js .day.is-in .day__bar span { transform: none; }
  .js .day .day__leads { opacity: 0; transition: opacity .8s .8s; }
  .js .day.is-in .day__leads { opacity: 1; }
}
.day--big .day__t { font-size: 18px; }
@media (min-width: 900px) { .day--big .day__t { font-size: 22px; } .day--big .day__tx { font-size: 14px; } }

/* ---------- SR-2 入ってからの1年（階段） ---------- */
.year__in { display: grid; gap: 36px; }
@media (min-width: 1080px) { .year__in { grid-template-columns: .72fr 1.6fr; gap: 56px; align-items: end; } }
.year__tx p { margin-bottom: 26px; }
.yr__cap { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.yr__list { display: grid; gap: 8px; }
.yr__st { position: relative; padding: 14px 18px 16px; border-radius: 14px; background: var(--mist); margin-left: calc(var(--i) * 14px); }
.sec--mist .yr__st { background: var(--white); }
.yr__st--7, .sec--mist .yr__st--7 { background: var(--sakura); }
.yr__m { display: block; font-weight: 800; font-size: 17px; color: var(--ao-btn); }
.yr__st--7 .yr__m { color: var(--ink); }
.yr__tx { display: block; font-size: 14px; line-height: 1.7; }
.yr__fe { position: absolute; right: 14px; top: -26px; width: 22px; height: 58px; color: var(--ao); transform: rotate(18deg); }
@media (min-width: 768px) {
  .yr__list { grid-template-columns: repeat(5, 1fr); align-items: end; gap: 8px; padding-top: 56px; border-bottom: 3px solid var(--ao); }
  .yr__st { margin: 0; min-height: calc(130px + var(--i) * 42px); border-radius: 14px 14px 0 0; padding: 14px 12px 14px; }
  .yr__m { font-size: 16px; }
  .yr__tx { font-size: 13px; }
  .yr__fe { right: 50%; margin-right: -11px; top: -66px; }
  .yr--big .yr__st { min-height: calc(150px + var(--i) * 48px); padding: 18px 16px; }
  .yr--big .yr__m { font-size: 18px; }
  .yr--big .yr__tx { font-size: 14px; }
}
.js .yr .yr__st { opacity: 0; transform: translateY(28px); transition: opacity .5s calc(var(--i) * 120ms), transform .7s calc(var(--i) * 120ms) var(--ease-out); }
.js .yr.is-in .yr__st { opacity: 1; transform: none; }
.js .yr .yr__fe { transform: rotate(-30deg) translateY(10px); opacity: 0; transition: transform 1s .8s var(--ease-out), opacity .6s .8s; }
.js .yr.is-in .yr__fe { transform: rotate(18deg); opacity: 1; }
.yr--big { margin-top: 44px; }

/* ---------- 医院見学（桜色の帯） ---------- */
.band { position: relative; background: var(--sakura); color: var(--ink); padding-block: clamp(56px, 7vw, 100px); overflow: hidden; }
.band__in { position: relative; text-align: center; }
.band__heron { width: 64px; height: 77px; margin: 0 auto 14px; color: var(--ink); }
.band__title { font-size: clamp(24px, 2vw + 16px, 40px); }
.band__lead { max-width: 640px; margin: 18px auto 0; text-align: left; }
@media (min-width: 640px) { .band__lead { text-align: center; } }
.band__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 30px; }
.band .btn--ink { background: var(--ink); border-color: var(--ink); }
.band .btn--ink:hover { background: var(--ao-btn); border-color: var(--ao-btn); }
.band .btn--line { border-color: var(--ink); }
.band .btn--line:hover { background: var(--sakura-l); }
.js .band__heron { transition: transform 1.2s var(--ease-out); }
.band:hover .band__heron { transform: translateY(-3px); }

/* ---------- フッター ---------- */
.ft { background: var(--ink); color: #E9EFF3; padding: 52px 0 24px; font-size: 14px; }
.ft a { color: inherit; text-decoration: none; }
.ft a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft__in { display: grid; gap: 28px; }
@media (min-width: 900px) { .ft__in { grid-template-columns: auto 1fr; gap: 60px; align-items: start; } }
.ft__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: .06em; }
.ft__brand .brand__mk { color: var(--sakura); }
.ft__addr { margin-top: 10px; line-height: 1.8; }
.ft__addr a { text-decoration: underline; text-underline-offset: 3px; }
.ft__nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
@media (min-width: 900px) { .ft__nav { justify-content: flex-end; max-width: 560px; justify-self: end; } }
.ft__copy { margin-top: 36px; color: #B9C6CF; }

/* ---------- 下層の頭 ---------- */
.ph { padding-top: clamp(24px, 4vw, 48px); }
.ph__in { padding-bottom: clamp(24px, 3vw, 40px); }
.ph__title { display: flex; align-items: center; gap: 16px; font-size: clamp(30px, 2.6vw + 20px, 52px); }
.ph__title .ttl__fe { width: 20px; height: 56px; }
.ph__lead { margin-top: 14px; font-size: clamp(16px, .5vw + 14px, 19px); font-weight: 800; color: var(--ao-btn); }
.ph__img { width: min(1360px, 100% - 24px); margin-inline: auto; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; }
@media (min-width: 768px) { .ph__img { aspect-ratio: 21 / 8; width: min(1360px, 100% - 48px); } }
.ph__img img { width: 100%; height: 100%; object-fit: cover; }
.js .ph__img img { animation: settle 2.4s var(--ease-out) both; }
.js .ph__in { animation: up .8s .1s var(--ease-out) both; }
.ph--plain { position: relative; background: var(--mist); padding-bottom: clamp(36px, 5vw, 64px); overflow: hidden; }
.ph--plain .ph__in { padding-bottom: 0; }
.ph--plain::after { content: ""; position: absolute; right: -40px; bottom: -36px; width: 220px; height: 264px; opacity: .2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48'%3E%3Cg fill='none' stroke='%236C8EA4' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.4 10.6 L11.2 8.4'/%3E%3Cpath d='M11.2 8.4 C11.6 6.6 14.6 6.2 15.6 8.2 C16.2 9.6 15.2 10.8 14.4 11.8 C13.2 13.4 12.6 15.6 14 17.8 C15 19.4 16.6 20.6 17.4 22.4'/%3E%3Cpath d='M15.4 8 C18 8 20.8 9 23 11.2'/%3E%3Cpath d='M17.4 22.4 C20.6 20.2 26.4 20 30.4 22.6 C33 24.4 35.2 27.4 36.6 31.2 C32.6 30.6 28.4 31 24.6 31.4 C21 31.8 18.2 29.6 17.4 26.4 Z'/%3E%3Cpath d='M22.6 24.4 C26 23.8 29.6 25 32.2 28'/%3E%3Cpath d='M24.2 31.4 L24.2 45.4'/%3E%3Cpath d='M21 45.4 L27.6 45.4'/%3E%3Cpath d='M25.8 31.2 L29.2 35.6 L25.4 37.4'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; }
@media (min-width: 768px) { .ph--plain::after { right: 6%; bottom: -30px; width: 260px; height: 312px; opacity: .3; } }
.ph--plain + .sec::before, .ph + .sec::before { display: none; }

/* ---------- 仕事の中身（定義リスト） ---------- */
.work__list { display: grid; gap: 0; border-top: 1px solid var(--mist-2); }
.work__list > div { display: grid; gap: 6px; padding: 20px 0; border-bottom: 1px solid var(--mist-2); }
@media (min-width: 768px) { .work__list > div { grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 24px 0; } }
.work__list dt { justify-self: start; font-weight: 800; font-size: 16px; padding: 4px 16px; border-radius: 999px; background: var(--mist); color: var(--ao-btn); }
.work__list--sakura dt { background: var(--sakura-l); color: var(--ink); }
.work__note { margin-top: 22px; font-weight: 800; }

.tanto__body { max-width: 760px; font-size: clamp(16px, .4vw + 14.6px, 19px); line-height: 2.1; }
.tanto__body p + p { margin-top: 1em; }

.split { display: grid; gap: 28px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr .9fr; gap: 56px; align-items: center; } }
.split__tx p + p { margin-top: 1em; }
.split__ph img, .duo__ph img, .wide img, .pdir__ph img, .pp__ph img { border-radius: var(--r); width: 100%; object-fit: cover; }
.split__ph img { aspect-ratio: 4 / 3; }

/* ---------- 募集要項 ---------- */
.req { border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px var(--mist-2); }
.req table { width: 100%; }
.req th, .req td { text-align: left; vertical-align: top; padding: 16px 20px; border-bottom: 1px solid var(--mist-2); line-height: 1.75; }
.req tr:last-child th, .req tr:last-child td { border-bottom: 0; }
.req th { font-weight: 800; font-size: 14.5px; color: var(--ao-btn); background: #F7FAFB; width: 15em; }
@media (max-width: 699px) {
  .req th, .req td { display: block; width: auto; }
  .req th { padding: 12px 18px 4px; border-bottom: 0; background: none; }
  .req td { padding: 0 18px 14px; }
  .req tr { display: block; border-bottom: 1px solid var(--mist-2); }
  .req tr:last-child { border-bottom: 0; }
  .req td { border-bottom: 0; }
}
.req__note { margin-top: 18px; color: var(--ink-2); }

/* ---------- 覚える順番（歯科助手） ---------- */
.order { display: grid; gap: 12px; counter-reset: none; }
.order li { position: relative; padding: 46px 22px 22px; border-radius: var(--r); background: var(--white); overflow: hidden; }
.order li::before { content: ""; position: absolute; top: 18px; left: 22px; height: 8px; border-radius: 4px; background: var(--sakura); width: calc((100% - 44px) * (var(--i) + 1) / 3); transform-origin: left center; }
.order li::after { content: ""; position: absolute; top: 18px; left: 22px; right: 22px; height: 8px; border-radius: 4px; background: var(--mist-2); z-index: 0; }
.order li::before { z-index: 1; }
.order__m { display: block; font-weight: 800; font-size: 20px; color: var(--ao-btn); }
.order__tx { display: block; margin-top: 4px; }
@media (min-width: 768px) { .order { grid-template-columns: repeat(3, 1fr); gap: 16px; } .order li { padding: 52px 26px 28px; } }
.js .order li::before { transform: scaleX(0); transition: transform 1s calc(.2s + var(--i) * 200ms) var(--ease-out); }
.js .order.is-in li::before { transform: none; }

/* ---------- 休み ---------- */
.off__list { display: grid; gap: 12px; }
@media (min-width: 640px) { .off__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .off__list { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.off__list > div { background: var(--white); border-radius: var(--r); padding: 20px 22px 22px; border-top: 5px solid var(--ao-l); }
.off__list > div:nth-child(-n+2) { border-top-color: var(--ao); }
.off__list dt { font-weight: 800; font-size: 14px; color: var(--ao-ink); }
.off__list dd { margin-top: 4px; font-weight: 800; font-size: clamp(16px, .5vw + 14px, 19px); line-height: 1.6; }
.off__list > div:nth-child(n+5) dd { font-weight: 400; font-size: 15px; line-height: 1.8; }

.wide { margin-bottom: 28px; }
.wide img { aspect-ratio: 21 / 9; object-position: 50% 30%; }
@media (max-width: 599px) { .wide img { aspect-ratio: 4 / 3; } }

.duo { display: grid; gap: 28px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; } .duo--rev .duo__ph { order: 2; } }
.duo__ph img { aspect-ratio: 4 / 3; }
.duo__tx p + p { margin-top: 1em; }
.duo__tx .ttl { margin-bottom: 22px; }

/* ---------- 院長と先輩 ---------- */
.pdir__in { display: grid; gap: 32px; }
@media (min-width: 900px) { .pdir__in { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; } }
.pdir__ph { max-width: 460px; }
.pdir__ph img { aspect-ratio: 896 / 1024; }
.pdir__role { display: inline-block; font-weight: 800; font-size: 14px; background: var(--mist); color: var(--ao-btn); border-radius: 999px; padding: 2px 16px; margin-bottom: 18px; }
.pdir__body { line-height: 2.05; }
.pdir__body p + p { margin-top: 1em; }
.pdir .msg__name { margin-bottom: 0; }

.pp--sakura { background: var(--sakura-l); }
.pp__in { display: grid; gap: 30px; }
@media (min-width: 900px) { .pp__in { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; } .pp__side { position: sticky; top: calc(var(--hd) + 28px); } }
.pp__ph img { aspect-ratio: 4 / 3; }
.pp__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 18px; }
.pp__yr { font-size: 13px; background: var(--sakura); color: var(--ink); border-radius: 999px; padding: 1px 12px; }
.pp--sakura .pp__yr { background: var(--white); }
.pp__job { font-size: clamp(22px, 1vw + 18px, 28px); }
.pp__nm { font-size: 15px; font-weight: 400; color: var(--ink-2); }
.qa + .qa { margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--ao-l); }
.qa__q { font-size: 17px; color: var(--ao-btn); margin-bottom: 8px; }
.pp--sakura .qa + .qa { border-top-color: var(--sakura); }

/* ---------- 見学・応募 ---------- */
.visit { display: grid; gap: 32px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; } }
.visit__tx p + p { margin-top: 1em; }
.line { padding: 26px 24px 24px; border-radius: var(--r); background: var(--white); border: 2px dashed var(--ao-l); }
.line__tx { font-weight: 800; line-height: 1.8; }
.line__btn { margin-top: 18px; width: 100%; }
.line__sub { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); text-align: center; }

.form { background: var(--white); border-radius: var(--r); padding: clamp(22px, 4vw, 44px); display: grid; gap: 22px; }
.fld { border: 0; margin: 0; padding: 0; min-width: 0; }
.fld > label, .fld > legend { display: block; font-weight: 800; font-size: 15px; margin-bottom: 8px; padding: 0; }
.req-mk { display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 800; color: var(--ink); background: var(--sakura); border-radius: 999px; padding: 0 9px; vertical-align: 2px; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #FBFCFD;
  border: 1.5px solid var(--ao-l); border-radius: 12px; padding: 12px 14px; line-height: 1.6;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--ao-btn); box-shadow: 0 0 0 3px rgba(79, 116, 137, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input[type="radio"] { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--ao-l); background: #FBFCFD; font-size: 15px; transition: background-color .2s, border-color .2s; }
.chips input[type="radio"]:checked + span { background: var(--mist); border-color: var(--ao-btn); font-weight: 800; color: var(--ao-btn); }
.chips input[type="radio"]:focus-visible + span { outline: 3px solid var(--ao-btn); outline-offset: 2px; }
.chips .yrs { position: relative; z-index: 2; width: 3.2em !important; padding: 4px 6px !important; margin: 0 4px; text-align: center; border-radius: 8px !important; }
.fld--agree label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.fld--agree input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--ao-btn); flex: none; }
.form__err { color: var(--sakura-d); font-weight: 800; }
.form.is-checked :invalid { border-color: var(--sakura-d) !important; }
.form.is-checked .fld--agree input:invalid { outline: 2px solid var(--sakura-d); outline-offset: 2px; }
.btn--send { justify-self: start; min-width: 240px; }
.form__after { font-size: 14px; color: var(--ink-2); }

.telbox { text-align: center; }
.telbox__h { font-size: 16px; color: var(--ao-ink); margin-bottom: 4px; }
.telbox__num { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(28px, 2vw + 20px, 40px); text-decoration: none; color: var(--ink); }
.telbox__num svg { width: 30px; height: 30px; color: var(--ao); }
.telbox__sub { font-size: 14px; color: var(--ink-2); }

/* ---------- SR-4 応募から入るまで ---------- */
.fl__list { position: relative; display: grid; gap: 16px; }
.fl__list::before { content: ""; position: absolute; left: 35px; top: 30px; bottom: 30px; width: 3px; background: var(--ao-l); border-radius: 2px; transform-origin: top center; }
.fl__list li { position: relative; display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center; }
.fl__n { grid-row: span 2; width: 72px; height: 72px; border-radius: 50%; background: var(--white); border: 3px solid var(--ao); display: grid; place-items: center; font-size: 24px; color: var(--ao-btn); }
.fl__list li:last-child .fl__n { background: var(--sakura); border-color: var(--sakura); color: var(--ink); }
.fl__a { font-weight: 800; font-size: 17px; align-self: end; }
.fl__sub { font-size: 13.5px; color: var(--ink-2); align-self: start; line-height: 1.6; }
.fl__list li:not(:has(.fl__sub)) .fl__a { grid-row: span 2; align-self: center; }
.fl__cap { margin-top: 24px; font-size: 14px; color: var(--ink-2); }
@media (min-width: 900px) {
  .fl__list { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .fl__list::before { left: 10%; right: 10%; top: 60px; bottom: auto; width: auto; height: 3px; transform-origin: left center; }
  .fl__list li { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .fl__n { width: 120px; height: 120px; font-size: 34px; margin-bottom: 14px; }
  .fl__sub { margin-top: 2px; }
  .fl__cap { text-align: center; }
}
.js .fl .fl__list::before { transform: scaleY(0); transition: transform 1.2s var(--ease-out); }
@media (min-width: 900px) { .js .fl .fl__list::before { transform: scaleX(0); } }
.js .fl.is-in .fl__list::before { transform: none; }
.js .fl .fl__n { transform: scale(.5); opacity: 0; transition: transform .6s calc(.2s + var(--i) * 180ms) var(--ease-out), opacity .4s calc(.2s + var(--i) * 180ms); }
.js .fl.is-in .fl__n { transform: none; opacity: 1; }

/* ---------- よくある質問 ---------- */
.faq { display: grid; gap: 12px; }
.faq > div { border-radius: var(--r); background: var(--mist); padding: 20px 22px 22px; }
.faq dt { font-weight: 800; font-size: 16.5px; color: var(--ink); }
.faq dd { margin-top: 8px; padding-left: 1.1em; text-indent: -1.1em; }

/* ---------- 動きを減らす設定では、すべて完成形 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 狭い画面の詰め ---------- */
@media (max-width: 479px) {
  .hd__in { padding-inline: 10px 0; gap: 6px; }
  .brand__mk { width: 28px; height: 34px; }
  .brand__name { font-size: 14px; letter-spacing: .03em; }
  .brand__sub { font-size: 10px; letter-spacing: .14em; }
  .demo { font-size: 8.5px; padding: 0 5px; letter-spacing: .08em; }
  .hd__btn { min-height: 40px; padding: 0 12px; font-size: 12.5px; letter-spacing: .03em; }
  .menu { width: 44px; }
  .ft__addr .nb { white-space: normal; }
}
.msg, .voice { overflow-x: clip; }
@media (max-width: 767px) { .tag { top: -92px; right: 12px; } }
@media (min-width: 1080px) {
  .hero__card { width: 580px; min-width: 0; }
  .hero__title { font-size: 44px; }
  .hero__title span { white-space: nowrap; }
}
p, dd, li, figcaption, dt, th, td { word-break: auto-phrase; }
.vc__who { word-break: keep-all; }
@media (min-width: 900px) {
  .tanto { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
  .tanto .ttl { margin-bottom: 0; }
}
@media (min-width: 900px) { .fl__list li > * { align-self: center !important; } }
@media (min-width: 600px) and (max-width: 899px) {
  .pp__in { grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
  .pdir__in { grid-template-columns: 260px 1fr; gap: 36px; align-items: start; }
  .msg__ph { max-width: 360px; }
}
