/* デザイン案A（tmp/gen/comp/top-a.png）を分解して組み直したスタイル。2026-10-08 */
/* 目次（上から順。「」内の語でこのファイルを検索すると見つかる。並べ替えると効き方が変わるので、足すときは末尾に足して目次に1行足す）
   - 共通・ヘッダー・トップ:「header（案A」「hero」「message」「voices」「advantage」「jobs」「entry（案A」「footer（案A」
   - 下層ページの見出し帯:「下層ページの見出し帯」／スマホのファーストビュー:「スマホのファーストビュー」
   - 先輩インタビュー:「先輩インタビューの個別ページ」「先輩のイラスト」
   - 私たちについて:「私たちについて（/about/）」「働いているスタッフの話」「医院概要・アクセス」
   - メインビジュアル:「メインビジュアル2案」「メインビジュアル3案」「メインビジュアルのスライダー」
   - 院長メッセージ:「トップの院長メッセージ」／日本語の改行（keep-all の一覧）:「日本語の文字組み」
   - 募集要項:「===== 募集要項」／申し込みフォーム・送信完了・個人情報:「見学・応募の申し込みフォーム」
   - 働く環境:「福利厚生・制度のカード」「働く環境ページ v2」（丸い顔の共通指定もここ）／フォームの下のアクセス:「フォームの下のアクセス」
   - トップのSPT専任の枠（働く魅力 01 の続き）:「SPT・歯周病管理の専任勤務」／メインビジュアルの札:「メインビジュアルのSPT専任の札」
   - メインビジュアルのボタンの上の一文:「ボタンのすぐ上に添える募集職種」 */
:root {
  --ta-blue: #2B6FD6;        /* 案Aの見出しの青 */
  --ta-navy: #1F2E8C;        /* 案Aのフッター・強い文字 */
  --ta-sky: #EAF3FC;         /* 案Aの淡い背景 */
  --ta-sky2: #F5F9FE;
  --ta-orange: #F28C3A;
  --ta-ink: #333B4E;
  --ta-script: "Caveat", "Segoe Script", cursive;
  --ta-hand: "Yomogi", "Zen Kurenaido", "Noto Serif JP", serif;
}
body { color: var(--ta-ink); }
.ta-wrap { max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); position: relative; }
.ta-sec { padding: clamp(72px, 8vw, 120px) 0; position: relative; }
.ta-label { font: 600 13px/1 var(--font-body); letter-spacing: .22em; color: var(--ta-blue); }
.ta-h2 { margin-top: 14px; font: 500 clamp(26px, 1.6vw + 18px, 40px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .08em; }
.ta-text { margin-top: 28px; font-size: 16px; line-height: 2.1; letter-spacing: .04em; }
.ta-sign { margin-top: 28px; font: 500 16px/1.6 var(--font-quote); letter-spacing: .2em; color: var(--ta-navy); }
.ta-script { font: 400 clamp(40px, 3vw + 18px, 64px)/1 var(--ta-script); color: rgba(43,111,214,.22); transform: rotate(-6deg); pointer-events: none; }
.ta-hand { font: 400 clamp(17px, .5vw + 14px, 22px)/1.6 var(--ta-hand); color: var(--ta-blue); transform: rotate(-4deg); }
.ta-head { display: flex; align-items: flex-end; gap: 48px; margin-bottom: 48px; }
.ta-head .ta-hand, .ta-head .ta-script { margin-left: 16px; padding-bottom: 6px; }
.ta-center { margin-top: 48px; text-align: center; }
.ta-more { display: inline-flex; align-items: center; gap: 14px; padding: 14px 32px; border: 1px solid var(--ta-blue); border-radius: 999px; color: var(--ta-blue); background: #fff; text-decoration: none; font: 500 15px/1 var(--font-body); letter-spacing: .08em; transition: background .2s, color .2s; }
.ta-more::after { content: "\2192"; }
.ta-more:hover { background: var(--ta-blue); color: #fff; }
.ta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 60px; padding: 0 40px; border-radius: 999px; text-decoration: none; font: 700 17px/1 var(--font-body); letter-spacing: .1em; }
.ta-btn::after { content: "\2192"; }
.ta-btn--orange { background: var(--ta-orange); color: #fff; box-shadow: 0 10px 24px -8px rgba(242,140,58,.6); }
.ta-btn--line { border: 1.5px solid var(--ta-navy); color: var(--ta-navy); background: #fff; }
.ta-tag { display: inline-block; padding: 6px 12px; background: var(--ta-blue); color: #fff; font: 600 12px/1 var(--font-body); letter-spacing: .1em; }
.ta-tag--pink { background: #E77FA3; }
.ta-tag--purple { background: #7C83D8; }
.ta-imgnote { position: absolute; right: 16px; bottom: 12px; font-size: 11px; color: rgba(255,255,255,.9); text-shadow: 0 1px 3px rgba(0,0,0,.4); z-index: 2; }

/* header（案A: 白・右にナビとオレンジのピル） */
.gnav { background: rgba(255,255,255,.97); border-bottom: 0; box-shadow: 0 2px 16px rgba(31,46,140,.06); }
.gnav__inner { max-width: 1280px; padding-block: 14px; }
.gnav__logo img { width: 220px; }
.gnav__menu ul a { font: 500 14px/1.4 var(--font-body); letter-spacing: .1em; color: var(--ta-navy); }
.gnav__entry { background: var(--ta-orange); font: 700 14px/1 var(--font-body); padding: 0 26px; min-height: 46px; box-shadow: 0 8px 18px -8px rgba(242,140,58,.7); }
.gnav__entry::after { content: "\2192"; margin-left: 10px; }

/* hero */
.ta-hero { position: relative; isolation: isolate; min-height: clamp(560px, 82vh, 820px); display: flex; align-items: center; overflow: hidden; }
.ta-hero__photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; } /* 絵が切り替わるときの寄り（1.04倍）を枠の中で切る。スマホで枠の下にはみ出し、白いぼかしの外に色の帯が出ていた（2026-10-19） */
.ta-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 35%; }
.ta-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 32%, rgba(255,255,255,.2) 55%, rgba(255,255,255,0) 70%); }
.ta-hero__body { width: 100%; max-width: 1280px; margin-inline: auto; padding: 80px clamp(20px, 4vw, 64px); }
.ta-hero .hero__catch { font: 500 clamp(34px, 2.6vw + 18px, 60px)/1.45 var(--font-quote); color: var(--ta-navy); letter-spacing: .1em; max-width: 9em; }
.ta-hero .hero__catch .ta-big { display: block; font-size: 1.6em; color: var(--ta-blue); letter-spacing: .04em; position: relative; width: fit-content; }
.ta-hero .hero__catch .ta-big::after { content: ""; position: absolute; left: -4%; right: -10%; bottom: .08em; height: .14em; background: linear-gradient(90deg, rgba(43,111,214,.0), rgba(43,111,214,.35) 20%, rgba(117,163,242,.5)); border-radius: 999px; transform: rotate(-2deg); z-index: -1; }
.ta-hero .hero__sub { margin-top: 24px; max-width: 26em; font: 500 clamp(15px, .3vw + 14px, 18px)/2 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
.ta-hero__label { margin-top: 28px; padding-top: 14px; border-top: 1px solid rgba(31,46,140,.35); width: min(320px, 100%); font: 500 12px/1.4 var(--font-body); letter-spacing: .24em; color: var(--ta-navy); }
.ta-hero .hero__lead { margin-top: 10px; font-size: 13px; color: var(--ta-ink); }
.ta-hero__cta { margin-top: 32px; }
.ta-hero [data-catch-variant] .hero__catch + .hero__sub { }
@media (max-width: 767px) {
  .ta-hero { align-items: flex-end; min-height: 680px; }
  .ta-hero__photo img { object-position: 74% 20%; }
  .ta-hero__photo::after { background: linear-gradient(0deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.9) 42%, rgba(255,255,255,0) 68%); }
  .ta-hero__body { padding-bottom: 40px; }
}

/* message */
.ta-message { background: linear-gradient(180deg, #fff 0%, var(--ta-sky2) 100%); }
.ta-message__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ta-message__photo img { width: 100%; height: auto; display: block; }
.ta-message__body .ta-more { margin-top: 32px; }
@media (max-width: 899px) { .ta-message__grid { grid-template-columns: 1fr; } .ta-message__photo { max-width: 460px; } }

/* voices */
.ta-voices { background: linear-gradient(180deg, var(--ta-sky) 0%, #fff 100%); }
.ta-voices__list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.ta-voices__list a { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--ta-ink); box-shadow: 0 8px 24px -12px rgba(31,46,140,.25); transition: transform .25s; }
.ta-voices__list a:hover { transform: translateY(-4px); }
.ta-voices__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.ta-voices__photo img { width: 100%; height: 100%; object-fit: cover; }
.ta-voices__photo .ta-tag { position: absolute; left: 0; bottom: 0; }
.ta-voices__q { margin: 16px 16px 0; font: 600 15px/1.7 var(--font-body); color: var(--ta-navy); }
.ta-voices__who { margin: auto 16px 18px; padding-top: 10px; font-size: 12px; color: #6B7386; }
@media (max-width: 1023px) { .ta-voices__list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 599px) { .ta-voices__list { grid-template-columns: 1fr 1fr; } .ta-head { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* advantage */
.ta-adv { background: #fff; }
.ta-adv__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; text-align: center; }
.ta-adv__list li { padding: 0 8px; }
.ta-adv__icon { display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: var(--ta-sky); color: var(--ta-navy); }
.ta-adv__icon svg { width: 52px; height: 52px; }
.ta-adv__no { margin-top: 18px; font: 400 26px/1 var(--ta-script); color: var(--ta-blue); }
.ta-adv__list h3 { margin-top: 10px; font: 600 18px/1.5 var(--font-body); color: var(--ta-navy); }
.ta-adv__list p:last-child { margin-top: 12px; font-size: 14px; line-height: 1.9; }
@media (max-width: 899px) { .ta-adv__list { grid-template-columns: 1fr 1fr; row-gap: 48px; } }

/* jobs */
.ta-jobs { background: var(--ta-sky2); }
.ta-jobs__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.ta-jobs__list a { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--ta-ink); box-shadow: 0 8px 24px -12px rgba(31,46,140,.25); transition: transform .25s; }
.ta-jobs__list a:hover { transform: translateY(-4px); }
.ta-jobs__photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.ta-jobs__photo img { width: 100%; height: 100%; object-fit: cover; }
.ta-jobs__photo .ta-tag { position: absolute; left: 20px; bottom: -12px; padding: 10px 18px; font-size: 14px; }
.ta-jobs__desc { margin: 32px 24px 0; font: 500 16px/1.8 var(--font-body); color: var(--ta-navy); }
.ta-jobs__more { margin: 18px 24px 24px; font-size: 14px; color: var(--ta-blue); letter-spacing: .08em; }
.ta-jobs__more::after { content: " \2192"; }
@media (max-width: 767px) { .ta-jobs__list { grid-template-columns: 1fr; } }

/* entry（案A: 左に手書き風の見出し、中央に集合写真、右にボタン2つ） */
.ta-entry { position: relative; background: linear-gradient(90deg, #fff 0%, var(--ta-sky) 100%); overflow: hidden; }
.ta-entry__grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; align-items: center; gap: 24px; min-height: 380px; }
.ta-entry__copy h2 { font: 400 clamp(26px, 1.4vw + 18px, 38px)/1.5 var(--ta-hand); color: var(--ta-navy); transform: rotate(-4deg); }
.ta-entry__copy p { margin-top: 20px; font-size: 15px; line-height: 1.9; }
.ta-entry__photo { align-self: end; }
.ta-entry__photo img { width: 100%; height: auto; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.ta-entry__btns { display: grid; gap: 16px; justify-items: stretch; }
.ta-entry__btns .ta-btn { min-height: 64px; }
.ta-entry__tel { margin-top: 4px; text-align: center; font-size: 13px; }
.ta-entry__tel a { font: 700 20px/1.4 var(--font-body); color: var(--ta-navy); text-decoration: none; letter-spacing: .06em; }
@media (max-width: 899px) { .ta-entry__grid { grid-template-columns: 1fr; padding-block: 56px; } .ta-entry__photo { order: 3; } }

/* footer（案A: 濃い藍） */
.footer { background: var(--ta-navy); color: #fff; }
.footer a, .footer .footer__info, .footer .footer__copy { color: #fff; }
.footer .footer__logo { filter: brightness(0) invert(1); }
.footer .footer__imgnote { margin-top: 16px; font-size: 12px; opacity: .8; }

/* 下層ページの見出し帯を案Aの色に */
.page-hero::before { background: linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.8) 40%, rgba(255,255,255,.1) 75%); }
.page-hero { color: var(--ta-navy); }
.page-hero__en { font: 600 13px/1 var(--font-body); letter-spacing: .22em; color: var(--ta-blue); font-style: normal; }
.page-hero__title { color: var(--ta-navy); font: 500 clamp(30px, 2vw + 20px, 48px)/1.4 var(--font-quote); letter-spacing: .1em; }
.page-hero__crumb, .page-hero__crumb a { color: #5B6478; }
.ta-message { padding-bottom: clamp(96px, 10vw, 150px); }

/* 下層ページの見出しもトップ（案A）の調子に揃える */
main .section h2 { font: 500 clamp(24px, 1.2vw + 18px, 36px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .08em; }
main .section h3 { font-weight: 500; font-family: var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
main .section .label { color: var(--ta-blue); letter-spacing: .18em; }
.section--wash { background: var(--ta-sky2); }
.iv-article .iv-q { font-weight: 600; font-family: var(--font-body); color: var(--ta-blue); }

/* スマホのファーストビュー（2026-10-08 梅村「スマホ版のファーストビューが、イマイチ」）
   写真を上に大きく見せて人を主役に、文字は写真の下から少し重ねる。ヘッダーのはみ出しも直す */
@media (max-width: 767px) {
  .gnav__inner { gap: 8px; padding: 10px 16px; }
  .gnav__logo img { width: 168px; }
  .gnav__tag { display: none; }
  .gnav__toggle { width: 44px; height: 44px; flex: none; margin-right: -6px; }

  .ta-hero { display: block; min-height: 0; }
  .ta-hero__photo { position: relative; z-index: 0; height: min(62vh, 520px); }
  .ta-hero__photo img { object-position: 44% 22%; }
  .ta-hero__photo::after { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.85) 14%, rgba(255,255,255,0) 38%); }
  .ta-hero__body { position: relative; z-index: 1; margin-top: -96px; padding: 0 20px 44px; }
  .ta-hero .hero__catch { font-size: 28px; line-height: 1.5; letter-spacing: .08em; }
  .ta-hero .hero__catch .ta-big { font-size: 2em; line-height: 1.15; }
  .ta-hero .hero__sub { margin-top: 16px; font-size: 14px; line-height: 1.9; }
  .ta-hero__label { margin-top: 20px; font-size: 11px; }
  .ta-hero .hero__lead { font-size: 13px; }
  .ta-hero__cta { margin-top: 24px; }
  .ta-hero__cta .ta-btn { width: 100%; }
  .ta-imgnote { top: calc(min(62vh, 520px) - 120px); bottom: auto; right: 12px; }
}
@media (max-width: 767px) {
  .ta-hero__photo { height: min(50vh, 440px); }
  .ta-imgnote { top: calc(min(50vh, 440px) - 116px); }
  .ta-hero__label { display: none; }
  .ta-hero .hero__lead { margin-top: 14px; }
  .ta-hero__body { padding-bottom: 32px; }
}

/* ===== 先輩インタビューの個別ページ（2026-10-08 梅村「一覧と個別ページは分けた方がよくないですか」）
   左に本人の写真、右に一言。本文は読みやすい幅の1カラム、途中に仕事の写真を1枚 ===== */
.iv-single__hero { background: linear-gradient(180deg, var(--ta-sky) 0%, var(--ta-sky2) 100%); padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.iv-single__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1180px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.iv-single__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(31,46,140,.45); }
.iv-single__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-single__imgnote { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: rgba(255,255,255,.92); text-shadow: 0 1px 3px rgba(0,0,0,.45); }
.iv-single__crumb { font-size: 12px; color: #6B7386; letter-spacing: .04em; }
.iv-single__crumb a { color: #6B7386; }
.iv-single__en { margin-top: clamp(24px, 3vw, 40px); font: 400 clamp(30px, 1.6vw + 20px, 44px)/1 var(--ta-script); color: var(--ta-blue); }
.iv-single__tag { margin-top: 18px; }
.iv-single__quote { margin-top: 20px; font: 500 clamp(26px, 1.8vw + 16px, 42px)/1.6 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; font-feature-settings: "palt"; }
.iv-single__who { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(31,46,140,.25); font: 600 15px/1.6 var(--font-body); color: var(--ta-navy); letter-spacing: .1em; }
.iv-single__profile { margin-top: 10px; font-size: 15px; line-height: 2; }

.iv-single__body { padding: clamp(56px, 6vw, 96px) 0 clamp(72px, 8vw, 120px); background: #fff; }
.iv-single__inner { max-width: 760px; margin-inline: auto; padding-inline: 20px; }
.iv-single__inner .iv-qa { margin-top: 56px; }
.iv-single__inner .iv-qa:first-child { margin-top: 0; }
.iv-single__inner .iv-q { padding-bottom: 14px; border-bottom: 1px solid #D6E3F5; font: 600 clamp(18px, .3vw + 16.8px, 21px)/1.6 var(--font-body); color: var(--ta-blue); letter-spacing: .04em; }
.iv-single__inner .iv-a { margin-top: 20px; }
.iv-single__inner .iv-a p { font-size: 16px; line-height: 2.1; letter-spacing: .04em; }
.iv-single__inner .iv-a p + p { margin-top: 1em; }
.iv-single__inner .iv-day { margin-top: 80px; padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px); border: 0; background: var(--ta-sky2); }
.iv-single__inner .iv-day__title { margin: 0 0 12px; font: 500 clamp(20px, .6vw + 17px, 24px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .08em; }

.iv-others { background: var(--ta-sky2); }
.iv-others .ta-h2 { margin-bottom: 40px; }
.iv-others__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.iv-others__list a { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--ta-ink); box-shadow: 0 8px 24px -12px rgba(31,46,140,.25); transition: transform .25s; }
.iv-others__list a:hover { transform: translateY(-4px); }
.iv-others__photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.iv-others__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.iv-others__photo .ta-tag { position: absolute; left: 0; bottom: 0; }
.iv-others__q { display: block; margin: 16px 16px 0; font: 600 15px/1.7 var(--font-body); color: var(--ta-navy); }
.iv-others__who { display: block; margin: auto 16px 18px; padding-top: 10px; font-size: 12px; color: #6B7386; }

@media (max-width: 899px) {
  .iv-single__grid { grid-template-columns: 1fr; }
  .iv-single__photo { max-width: 480px; width: 100%; margin-inline: auto; }
  .iv-single__intro { order: -1; }
  .iv-single__en { margin-top: 20px; }
  .iv-others__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
  .iv-single__hero { padding-top: 0; }
  .iv-single__grid { padding-inline: 0; gap: 0; }
  .iv-single__intro { order: 0; position: relative; margin: -48px 12px 0; padding: 24px 22px 28px; background: #fff; box-shadow: 0 12px 32px -20px rgba(31,46,140,.4); }
  .iv-single__photo { max-width: none; aspect-ratio: 4 / 4.4; box-shadow: none; }
  .iv-single__photo img { object-position: 50% 18%; }
  .iv-single__crumb { display: none; }
  .iv-single__en { margin-top: 0; font-size: 30px; }
  .iv-single__quote { font-size: 24px; }
}

/* ナビを1行に収める（2026-10-08） */
.gnav__menu ul a { white-space: nowrap; }
@media (min-width: 1024px) {
  .gnav__menu { gap: 20px; }
  .gnav__menu ul { gap: clamp(14px, 1.4vw, 24px); }
  .gnav__menu ul a { letter-spacing: .06em; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .gnav__logo img { width: 180px; }
  .gnav__tag { display: none; }
  .gnav__menu ul a { font-size: 13px; letter-spacing: .02em; }
  .gnav__entry { padding: 0 18px; font-size: 13px; }
}
@media (max-width: 599px) { .footer__banner-en { display: none; } .iv-others__who { font-size: 11px; } }

/* ===== 私たちについて（/about/）。参考サイトの型に合わせて組み直し（2026-10-08 梅村「参考サイトの書き方や構成、本サイトとの使い分けを参考に」）
   佐藤歯科「私たちについて」＝院長メッセージ→理念（中央・大きく）→チーム医療（カード3枚）→スタッフへのメリット（写真と文の交互）
   なみき通り歯科＝医院概要・アクセスの表／栄知会＝院長の略歴、最後に医院ごとの公式サイトボタン ===== */
#message { scroll-margin-top: 90px; }
.ab-career { margin-top: 32px; padding: 24px 28px; background: var(--ta-sky2); }
.ab-career__title { font: 600 14px/1.6 var(--font-body); color: var(--ta-navy); letter-spacing: .1em; }
.ab-career dl { display: grid; grid-template-columns: 7em 1fr; gap: 8px 16px; margin: 14px 0 0; font-size: 14px; line-height: 1.8; }
.ab-career dt { color: var(--ta-blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.ab-career dd { margin: 0; }
.ab-career__lic { margin-top: 12px; font-size: 13px; line-height: 1.9; color: #4B5468; }

.ab-philosophy { background: linear-gradient(180deg, var(--ta-sky) 0%, var(--ta-sky2) 100%); text-align: center; scroll-margin-top: 90px; }
.ab-philosophy__inner { max-width: 880px; }
.ab-philosophy__motto { margin-top: 36px; font: 500 clamp(28px, 2vw + 18px, 46px)/1.6 var(--font-quote); color: var(--ta-blue); letter-spacing: .12em; }
.ab-philosophy__en { margin-top: 10px; font: 400 clamp(22px, 1vw + 16px, 30px)/1.3 var(--ta-script); color: rgba(43,111,214,.55); }
.ab-philosophy__text { margin-top: 32px; font-size: 16px; line-height: 2.2; letter-spacing: .04em; }

.ab-team { background: #fff; scroll-margin-top: 90px; }
.ab-team__lead { max-width: 40em; }
.ab-team__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 48px 0 0; padding: 0; }
.ab-team__list li { padding: 36px 32px 40px; background: #fff; box-shadow: 0 8px 28px -12px rgba(31,46,140,.25); }
.ab-team__no { font: 400 30px/1 var(--ta-script); color: var(--ta-blue); }
.ab-team__list h3 { margin-top: 14px; font: 600 18px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .06em; }
.ab-team__list p:last-child { margin-top: 14px; font-size: 15px; line-height: 2; }

.ab-staff { background: var(--ta-sky2); scroll-margin-top: 90px; }
.ab-staff__list { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: clamp(40px, 5vw, 72px); }
.ab-staff__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-staff__list li:nth-child(even) .ab-staff__photo { order: 2; }
.ab-staff__photo { aspect-ratio: 3 / 2; overflow: hidden; }
.ab-staff__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-staff__no { font: 400 30px/1 var(--ta-script); color: var(--ta-blue); }
.ab-staff__body h3 { margin-top: 10px; font: 500 clamp(20px, .8vw + 16px, 26px)/1.6 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
.ab-staff__body p:not(.ab-staff__no) { margin-top: 16px; font-size: 15px; line-height: 2.1; }

.ab-facility { background: #fff; scroll-margin-top: 90px; }
.ab-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 13vw, 200px); gap: 12px; list-style: none; margin: 40px 0 0; padding: 0; }
.ab-gallery li { position: relative; overflow: hidden; }
.ab-gallery li.ab-gallery__wide { grid-column: span 2; grid-row: span 2; }
.ab-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-gallery span { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: rgba(31,46,140,.82); color: #fff; font-size: 12px; letter-spacing: .08em; }

.ab-outline { background: var(--ta-sky2); }
.ab-outline__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.ab-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.9; background: #fff; }
.ab-table th, .ab-table td { padding: 16px 20px; border-bottom: 1px solid #D6E3F5; text-align: left; vertical-align: top; }
.ab-table tr:first-child th, .ab-table tr:first-child td { border-top: 1px solid #D6E3F5; }
.ab-table th { width: 8em; color: var(--ta-navy); font-weight: 600; white-space: nowrap; background: #F7FAFE; }
.ab-table a { color: var(--ta-blue); }

/* 公式サイト（栄知会の「医院紹介」ブロックの型: 写真・ロゴ・住所・電話・公式サイトボタン） */
.ab-clinic { padding: clamp(64px, 7vw, 104px) 0; background: #fff; }
.ab-clinic__card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 4vw, 56px); max-width: 1000px; margin-inline: auto; border: 1px solid #D6E3F5; }
.ab-clinic__photo { align-self: stretch; }
.ab-clinic__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-clinic__body { padding: 32px clamp(20px, 3vw, 40px) 36px 0; }
.ab-clinic__title { margin-top: 14px; }
.ab-clinic__title img { width: min(280px, 100%); height: auto; display: block; }
.ab-clinic__info { margin-top: 16px; font-size: 14px; line-height: 1.9; }
.ab-clinic__info a { color: var(--ta-navy); }
.ab-clinic__desc { margin-top: 12px; font-size: 14px; line-height: 1.9; color: #4B5468; }
.ab-clinic__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 14px 28px; border: 1px solid var(--ta-navy); color: var(--ta-navy); text-decoration: none; font: 600 14px/1 var(--font-body); letter-spacing: .1em; transition: background .2s, color .2s; }
.ab-clinic__btn:hover { background: var(--ta-navy); color: #fff; }

/* トップの「どんな職場？」（なみき通り歯科トップの ABOUT US の型: 3つのトピック） */
.ab-topics { background: var(--ta-sky2); }
.ab-topics__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.ab-topics__list a { display: flex; flex-direction: column; height: 100%; background: #fff; text-decoration: none; color: var(--ta-navy); box-shadow: 0 8px 24px -12px rgba(31,46,140,.25); transition: transform .25s; }
.ab-topics__list a:hover { transform: translateY(-4px); }
.ab-topics__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ab-topics__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ab-topics__en { display: block; margin: 20px 24px 0; font: 600 12px/1 var(--font-body); letter-spacing: .2em; color: var(--ta-blue); }
.ab-topics__title { display: block; margin: 10px 24px 24px; font: 500 18px/1.6 var(--font-quote); letter-spacing: .06em; }
.ab-topics__title::after { content: " \2192"; color: var(--ta-blue); }

/* フッターの公式サイト（なみき通り歯科のフッターの型: 枠のボタン） */
.footer__banner { display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 14px 24px; border: 1px solid rgba(255,255,255,.55); text-decoration: none; transition: background .2s; }
.footer__banner:hover { background: rgba(255,255,255,.1); }
.footer__banner-en { font-size: 11px; letter-spacing: .2em; opacity: .75; }
.footer__banner-title { font: 500 15px/1.4 var(--font-quote); letter-spacing: .08em; }

/* スマホのメニューの最後に公式サイト（佐藤歯科の型）。PCのヘッダーには出さない */
.gnav__official { display: none; }
@media (max-width: 1023px) {
  .gnav__official { display: block; margin-top: 16px; padding: 12px 0; text-align: center; font-size: 13px; color: var(--ta-navy); letter-spacing: .06em; }
}

@media (max-width: 899px) {
  .ab-outline__grid { grid-template-columns: 1fr; }
  .ab-team__list, .ab-topics__list { grid-template-columns: 1fr; }
  .ab-staff__list li { grid-template-columns: 1fr; gap: 20px; }
  .ab-staff__list li:nth-child(even) .ab-staff__photo { order: 0; }
  .ab-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .ab-clinic__card { grid-template-columns: 1fr; gap: 0; }
  .ab-clinic__photo img { aspect-ratio: 16 / 9; height: auto; }
  .ab-clinic__body { padding: 24px 20px 28px; }
}
@media (max-width: 599px) {
  .ab-philosophy { text-align: left; }
  .ab-philosophy__text br { display: none; }
  .ab-table th, .ab-table td { display: block; width: auto; padding: 10px 14px; }
  .ab-table th { border-bottom: 0; padding-bottom: 0; background: #fff; }
  .ab-table tr:first-child td { border-top: 0; }
  .ab-career { padding: 20px; }
  .ab-career dl { grid-template-columns: 6.5em 1fr; font-size: 13px; }
}
.ab-nb { display: inline-block; }
.ab-philosophy__text { max-width: none; }
.ta-center { max-width: none; }

/* ===== 先輩のイラスト（2026-10-09 梅村「イラスト加工を希望」。本人の写真3人分をもとにGPTで作成・背景は透明）
   背景は職種の札の色に合わせた淡い色＋白い円。全身の切り抜きは、枠からはみ出して、ゆっくり上下に動かす ===== */
.il-bg { --il-c1: #DCEBFB; --il-c2: #F1F7FE;
  background: radial-gradient(circle at 50% 64%, rgba(255,255,255,.92) 0 34%, transparent 34.6%), linear-gradient(180deg, var(--il-c1) 0%, var(--il-c2) 100%); }
.il-bg--dh, .il-circle.il-bg--dh { --il-c1: #DCEBFB; --il-c2: #F1F7FE; }
.il-bg--da, .il-circle.il-bg--da { --il-c1: #FBE3EC; --il-c2: #FEF4F7; }
.il-bg--re, .il-circle.il-bg--re { --il-c1: #E7E6FA; --il-c2: #F5F4FE; }
.ta-voices__photo.il-bg img, .iv-others__photo.il-bg img { object-fit: contain; object-position: 50% 100%; }

/* 一覧ページのカード（横長の枠）: 顔から胸までが見えるように */
.iv-card--photo .iv-card__photo.il-bg { aspect-ratio: 4 / 3; }
.iv-card--photo .iv-card__photo.il-bg img { object-fit: cover; object-position: 50% 8%; }

/* 個別ページの見出し: 写真の影をやめて、角を丸めた色面に */
.iv-single__photo.il-bg { box-shadow: none; border-radius: 28px; }
.iv-single__photo.il-bg img { object-fit: contain; object-position: 50% 100%; }
.iv-single__photo.il-bg .iv-single__imgnote { color: #6B7386; text-shadow: none; }

/* 本文の途中の「仕事中」のイラスト（白い円の上に切り抜き） */
.il-circle { position: relative; margin: 48px auto 0; width: min(260px, 70%); }
.il-circle::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: 3%; aspect-ratio: 1; border-radius: 50%; background: var(--il-c1); }
.il-circle img { position: relative; display: block; width: 100%; height: auto; }
@media (min-width: 1360px) {
  /* 広い画面では、本文の右の余白に出す（雑誌のように本文の外へ） */
  .iv-single__aside { float: right; width: 280px; margin: 40px -320px 0 0; }
}

/* 1日のスケジュールに、全身の切り抜きを枠からはみ出させて置く */
.iv-single__inner .iv-day--move { position: relative; padding-right: 250px; }
.iv-day__move { position: absolute; right: 12px; bottom: 0; width: 220px; height: auto; pointer-events: none; animation: il-bob 3.6s ease-in-out infinite; }
@keyframes il-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* トップの先輩インタビューの見出しの右にも1人 */
.ta-voices .ta-head { position: relative; }
.ta-voices__move { position: absolute; right: 2%; bottom: -16px; width: 116px; height: auto; pointer-events: none; animation: il-bob 3.6s ease-in-out infinite; }

@media (max-width: 767px) {
  .ta-voices__move { display: none; }
}
@media (max-width: 599px) {
  .iv-single__photo.il-bg { border-radius: 0; }
  .iv-single__inner .iv-day--move { padding-right: clamp(20px, 4vw, 48px); padding-top: 170px; }
  .iv-day__move { top: -48px; bottom: auto; right: 8px; width: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  .iv-day__move, .ta-voices__move { animation: none; }
}

/* メインビジュアル2案の切り替え（2026-10-09）。既定＝案A イラスト／?mv=b＝案B 手元の写真（イメージ） */
.ta-hero__img--b, .ta-imgnote--b { display: none; }
.mv-b .ta-hero__img--a { display: none; }
.mv-b .ta-hero__img--b, .mv-b .ta-imgnote--b { display: block; }
.ta-hero__photo .ta-hero__img--a { object-position: 70% 0%; }
.ta-hero__photo .ta-hero__img--b { object-position: 72% 40%; }
@media (max-width: 767px) {
  .ta-hero__photo .ta-hero__img--a { object-position: 74% 20%; }
  .ta-hero__photo .ta-hero__img--b { object-position: 70% 40%; }
}

/* メインビジュアル3案（2026-10-09 更新）。既定＝合成（実物の写真＋イラスト）／?mv=a＝イラストだけ／?mv=b＝手元の写真（イメージ） */
.ta-hero__img--a { display: none; }
.mv-a .ta-hero__img--c, .mv-b .ta-hero__img--c { display: none; }
.mv-a .ta-hero__img--a { display: block; }
.ta-hero__photo .ta-hero__img--c { object-position: 70% 20%; }
@media (max-width: 767px) { .ta-hero__photo .ta-hero__img--c { object-position: 72% 20%; } }
@media (max-width: 599px) { .iv-single__imgnote { top: 10px; bottom: auto; } }

/* メインビジュアルのスライダー（2026-10-09）。重ねて置いて、表示中の1枚だけ不透明に。少しずつ寄っていく動き */
.ta-slides { position: absolute; inset: 0; }
.ta-hero__photo .ta-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 20%; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 7s ease-out; }
.ta-hero__photo .ta-slide.is-on { opacity: 1; transform: scale(1); }
.ta-hero__photo .ta-slide--2 { object-position: 80% 50%; }
.ta-hero__photo .ta-slide--3 { object-position: 85% 30%; }
.mv-a .ta-dots, .mv-b .ta-dots { display: none; }
.ta-dots { position: absolute; right: clamp(20px, 4vw, 64px); bottom: 40px; z-index: 2; display: flex; gap: 10px; }
.ta-dot { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(31,46,140,.22); cursor: pointer; }
.ta-dot.is-on { background: var(--ta-blue); }
.ta-dot:focus-visible { outline: 2px solid var(--ta-blue); outline-offset: 4px; }
@media (max-width: 767px) {
  .ta-hero__photo .ta-slide { object-position: 74% 20%; }
  .ta-hero__photo .ta-slide--2 { object-position: 100% 60%; }
  .ta-hero__photo .ta-slide--3 { object-position: 100% 30%; }
  .ta-dots { top: 14px; bottom: auto; right: 16px; }
  .ta-dot { width: 26px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(31,46,140,.15); }
}
@media (prefers-reduced-motion: reduce) { .ta-hero__photo .ta-slide { transition: none; transform: none; } }

/* 募集職種: 職種の札が枠の下で切れていたので、はみ出しを見せる（2026-10-09 梅村「職種の文字が見切れてる」） */
.ta-jobs__photo { overflow: visible; }
.ta-jobs__photo img { display: block; }

/* ===== トップの院長メッセージ（2026-10-09 梅村「弱すぎる」）。写真を大きく藍の帯の上に、院長の言葉を明朝で大きく、下にスタッフから見た院長 ===== */
.ta-message { background: linear-gradient(180deg, #fff 0%, var(--ta-sky2) 100%); overflow: hidden; padding-bottom: clamp(80px, 9vw, 130px); }
.ta-message__bgword { position: absolute; left: -1vw; top: clamp(20px, 4vw, 60px); font: 400 clamp(90px, 13vw, 210px)/1 var(--ta-script); color: rgba(43,111,214,.07); pointer-events: none; white-space: nowrap; }
.ta-message__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.ta-message__photo { position: relative; margin: 0; isolation: isolate; }
.ta-message__photo::before { content: ""; position: absolute; left: -9999px; right: 22%; top: 12%; bottom: -8%; background: var(--ta-navy); z-index: -1; }
.ta-message__photo img { width: 100%; height: auto; display: block; box-shadow: 0 30px 60px -30px rgba(31,46,140,.55); }
.ta-message__photo figcaption { position: absolute; left: 0; bottom: -8%; transform: translateY(50%); padding: 14px 22px; background: #fff; font: 500 20px/1.3 var(--font-quote); color: var(--ta-navy); letter-spacing: .16em; box-shadow: 0 10px 24px -14px rgba(31,46,140,.4); }
.ta-message__photo figcaption span { display: block; margin-bottom: 4px; font: 600 11px/1 var(--font-body); letter-spacing: .2em; color: var(--ta-blue); }
.ta-message__lead { margin-top: 22px; font: 500 clamp(15px, .3vw + 14px, 18px)/1.8 var(--font-quote); color: var(--ta-ink); letter-spacing: .06em; }
.ta-message__quote { margin-top: 10px; font: 500 clamp(26px, 1.7vw + 16px, 42px)/1.55 var(--font-quote); color: var(--ta-navy); letter-spacing: .04em; font-feature-settings: "palt"; text-indent: -.5em; }
.ta-message__body .ta-text { margin-top: 22px; }
.ta-message__body .ta-text + .ta-text { margin-top: 12px; }
.ta-message__body .ta-sign { margin-top: 26px; }

.ta-boss { margin-top: clamp(72px, 8vw, 112px); }
.ta-boss__title { display: flex; align-items: center; gap: 18px; font: 500 clamp(18px, .5vw + 15px, 22px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .1em; }
.ta-boss__title::after { content: ""; flex: 1; height: 1px; background: rgba(31,46,140,.2); }
.ta-boss__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 28px 0 0; padding: 0; }
.ta-boss__list a { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: 1fr auto; column-gap: 16px; row-gap: 8px; height: 100%; padding: 20px 22px; background: #fff; text-decoration: none; color: var(--ta-ink); box-shadow: 0 8px 24px -14px rgba(31,46,140,.3); transition: transform .25s; }
.ta-boss__list a:hover { transform: translateY(-3px); }
.ta-boss__face { grid-row: 1 / 3; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; }
.ta-boss__face img { width: 100%; height: 125%; object-fit: cover; object-position: 50% 0; display: block; }
.ta-boss__q { font: 500 15px/1.85 var(--font-body); color: var(--ta-navy); }
.ta-boss__who { font-size: 12px; color: #6B7386; letter-spacing: .06em; }

@media (max-width: 899px) {
  .ta-message__grid { grid-template-columns: 1fr; }
  .ta-message__photo { max-width: 420px; width: 86%; }
  .ta-message__photo::before { right: 30%; }
  .ta-message__body { margin-top: 48px; }
  .ta-boss__list { grid-template-columns: 1fr; }
}

/* 私たちについての院長メッセージ: 公式サイトの原文を全文で */
.philosophy__lead { font: 500 clamp(15px, .3vw + 14px, 18px)/1.8 var(--font-quote); color: var(--ta-ink); letter-spacing: .06em; }
.philosophy .philosophy__quote blockquote p { margin-top: 6px; font: 500 clamp(24px, 1.4vw + 16px, 36px)/1.55 var(--font-quote); color: var(--ta-navy); text-indent: -.5em; }
.philosophy__message { margin-top: 28px; }
.philosophy__message p { max-width: none; font-size: 16px; line-height: 2.05; letter-spacing: .04em; }
.philosophy__message p + p { margin-top: 1em; }
.philosophy__message .philosophy__sign { margin-top: 22px; font: 500 16px/1.6 var(--font-quote); color: var(--ta-navy); letter-spacing: .2em; }

/* ===== 日本語の文字組み（2026-10-09 梅村「スマホ版の文字組みがわるい」）
   見出し・キャッチ・カードの短い文は、生成時に文節の切れ目へ <wbr> を入れてある（tools/build-pages.py・BudouX）。
   ここで keep-all にして、文節の途中では折り返さない（iPhone の Safari でも同じになる）。本文の段落はふつうの折り返し ===== */
h1, h2, h3, h4,
.hero__catch, .hero__sub, .ta-voices__q, .ta-boss__q, .iv-others__q, .iv-card__quote p, .ta-jobs__desc, .ta-message__lead,
.ab-topics__title, .iv-single__who, .ta-adv__text, .ta-hand, .ta-entry__copy h2, .page-hero__title, .timeline__d, .ta-message__quote,
.philosophy__quote blockquote p, .ef-choice__t, .ef-choice__s, .ef-step, .ef__lead, .ef__side-title, .et__text, .ef-mock, .bn-card__d,
.nm-step__t, .nm-step__d, .ev-flow__t, .fit-card__t, .fit-card__d, .ws-person__d, .ws-people__title {
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
/* 段落の最後の行に1〜2文字だけ残るのを減らす（対応ブラウザのみ） */
p, li, dd { text-wrap: pretty; }
@media (max-width: 599px) {
  /* 狭い画面では字間を詰めて、1行に入る字数を増やす */
  .ta-text, .iv-single__inner .iv-a p, .philosophy__message p, .ab-staff__body p { letter-spacing: .02em; }
  .ta-h2, .ta-message__quote, .iv-single__quote, .page-hero__title, .ab-staff__body h3 { letter-spacing: .04em; }
  .ta-voices__q, .iv-others__q, .ta-boss__q { letter-spacing: 0; }
  .ta-hero .hero__catch { letter-spacing: .04em; }
}

/* スマホ: 先輩のカードは横長1列（写真が左・文が右）。2列だと文が窮屈で、閉じかっこだけ次の行に落ちていた */
@media (max-width: 599px) {
  .ta-voices__list, .iv-others__list { grid-template-columns: 1fr; gap: 14px; }
  .ta-voices__list a, .iv-others__list a { display: grid; grid-template-columns: 36% 1fr; grid-template-rows: 1fr auto; align-items: start; }
  .ta-voices__photo, .iv-others__photo { grid-row: 1 / 3; aspect-ratio: 4 / 5; height: 100%; }
  .ta-voices__q, .iv-others__q { margin: 16px 16px 0; font-size: 15px; }
  .ta-voices__who, .iv-others__who { margin: 8px 16px 16px; padding-top: 0; align-self: end; }
  .ta-voices__photo .ta-tag, .iv-others__photo .ta-tag { font-size: 11px; padding: 5px 9px; }

  /* 働く魅力: アイコンを左、文を右に。左揃え */
  .ta-adv__list { grid-template-columns: 1fr; row-gap: 28px; text-align: left; }
  .ta-adv__list li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; padding: 0; }
  .ta-adv__icon { grid-row: 1 / 4; width: 72px; height: 72px; margin: 0; }
  .ta-adv__icon svg { width: 34px; height: 34px; }
  .ta-adv__no { margin-top: 0; font-size: 22px; }
  .ta-adv__list h3 { margin-top: 4px; font-size: 17px; }
  .ta-adv__list p:last-child { margin-top: 6px; }
}
.nw { white-space: nowrap; }
@media (max-width: 599px) { .ta-voices__q, .iv-others__q { font-size: 14px; } }
.philosophy__lead { word-break: keep-all; overflow-wrap: anywhere; }

/* ===== 募集要項（2026-10-14 梅村「デザイン的にみにくい。画像やイラストも欲しい」）
   写真つきの職種タブ／職種の見出しにイラスト／主な条件のカード／項目を4つのまとまりに／先輩のひと言 ===== */
.requirements { background: linear-gradient(180deg, #fff 0, var(--ta-sky2) 280px); }
.requirements .req__wrap { max-width: none; margin-top: 0; }
.req-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.req-ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 職種タブ（写真つき） */
.tabs--pic { gap: 16px; border-bottom: 0; }
.tabs--pic [role="tab"] { display: flex; flex-direction: column; padding: 0; margin: 0; border: 0; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 8px 24px -14px rgba(31,46,140,.35); color: var(--ta-ink); transition: transform .2s, box-shadow .2s; }
.tabs--pic .tabs__pic { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.tabs--pic .tabs__pic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); opacity: .75; transition: filter .2s, opacity .2s; }
.tabs--pic .tabs__name { display: block; padding: 12px 8px 14px; font: 600 16px/1.3 var(--font-body); letter-spacing: .06em; text-align: center; transition: background .2s, color .2s; }
.tabs--pic [role="tab"]:hover { transform: translateY(-2px); color: var(--ta-navy); }
.tabs--pic [role="tab"][aria-selected="true"] { box-shadow: 0 0 0 3px var(--ta-blue), 0 12px 28px -14px rgba(31,46,140,.45); }
.tabs--pic [role="tab"][aria-selected="true"] img { filter: none; opacity: 1; }
.tabs--pic [role="tab"][aria-selected="true"] .tabs__name { background: var(--ta-blue); color: #fff; }
.tabs--pic [role="tab"]:focus-visible { outline: 3px solid var(--ta-navy); outline-offset: 3px; }
.requirements [role="tabpanel"] { padding-top: 48px; }

/* 職種の見出し（イラストつき） */
.req-head { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; }
.req-head__desc { margin-top: 14px; font: 500 clamp(20px, 1vw + 15px, 28px)/1.6 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
.req-head__badge { display: inline-block; margin-top: 14px; padding: 6px 16px; border: 1.5px solid var(--ta-orange); border-radius: 999px; background: #FFF1E4; color: #A84A0B; font: 700 14px/1.5 var(--font-body); letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; }
.req-head__pic { width: clamp(120px, 16vw, 200px); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; }
.req-head__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* 主な条件 */
.req-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.req-points li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 6px; align-content: start; align-items: center;
  padding: 18px 20px 16px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px -16px rgba(31,46,140,.35); }
.req-points .req-ico { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--ta-sky); color: var(--ta-blue); }
.req-points__k { font: 600 13px/1.4 var(--font-body); color: var(--color-ink-soft); letter-spacing: .08em; }
.req-points__v { grid-column: 1 / -1; font: 700 clamp(19px, .6vw + 15px, 24px)/1.4 var(--font-body); color: var(--ta-navy); letter-spacing: .02em; }
.req-points__s { grid-column: 1 / -1; padding-top: 8px; border-top: 1px dashed var(--color-border); font-size: 13px; line-height: 1.6; }
.req-head__desc, .req-points__v, .req-points__s, .requirements .req-empty { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }

/* 4つのまとまり */
.req-groups { margin-top: 40px; columns: 2; column-gap: 24px; }
.req-group { break-inside: avoid; margin: 0 0 24px; padding: 24px 28px 8px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px -18px rgba(31,46,140,.35); }
.req-group__title { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ta-blue);
  font: 700 18px/1.4 var(--font-body); color: var(--ta-navy); letter-spacing: .08em; }
.req-group__title .req-ico { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: var(--ta-sky); color: var(--ta-blue); }
.req-group .req-table { max-width: none; border-top: 0; }
.req-group .req-table th { width: 34%; padding: 14px 12px 14px 0; background: none; font: 600 14px/1.7 var(--font-body); color: var(--ta-navy); }
.req-group .req-table td { padding: 14px 0; font-size: 15px; line-height: 1.8; }
.req-group .req-table tr:last-child th, .req-group .req-table tr:last-child td { border-bottom: 0; }
/* 中身がまだ1行も無いまとまり（歯科助手）は出さない。?review=1 のときは出す */
html:not(.is-review) .req-group:not(:has(tbody tr:not([data-tbd]))) { display: none; }
.requirements .req-empty { margin: 28px 0 0; padding: 16px 20px; background: #fff; border-left: 4px solid #E77FA3; border-radius: 8px; }

/* 先輩のひと言 */
.req-voice { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; max-width: 880px; margin: 16px auto 0; padding: 28px 32px;
  background: #fff; border-radius: 20px; box-shadow: 0 8px 24px -18px rgba(31,46,140,.35); }
.req-voice__face { width: 120px; aspect-ratio: 1; }
.req-voice__label { font: 600 12px/1 var(--font-body); letter-spacing: .2em; color: var(--ta-blue); }
.req-voice blockquote { margin: 10px 0 0; }
.req-voice blockquote p { font: 500 clamp(16px, .4vw + 14px, 19px)/1.8 var(--font-quote); color: var(--ta-navy); }
.req-voice figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 10px; font-size: 13px; color: var(--color-ink-soft); }
.req-voice__link { color: var(--ta-blue); font-weight: 600; }
.req-voice__link::after { content: " \2192"; }
.req-links { max-width: none; margin-top: 32px; text-align: center; }
/* il-bg の白い円は胸から上の切り抜き用。丸い顔写真の枠では背景の色だけ使う */
.req-voice__face.il-bg { background: linear-gradient(180deg, var(--il-c1) 0%, var(--il-c2) 100%); }
/* 見えている最後の行の下線を消す（その下に、まだ出さない行が続くことがある） */
html:not(.is-review) .req-group .req-table tr:not(:has(~ tr:not([data-tbd]))) > * { border-bottom: 0; }

@media (max-width: 1023px) {
  .req-points { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .req-groups { columns: 1; margin-top: 28px; }
  .req-group { margin-bottom: 16px; padding: 20px 20px 4px; }
}
@media (max-width: 599px) {
  .tabs--pic { gap: 8px; }
  .tabs--pic [role="tab"] { border-radius: 12px; }
  .tabs--pic .tabs__pic { aspect-ratio: 4 / 3; }
  .tabs--pic .tabs__name { padding: 8px 2px 10px; font-size: 13px; letter-spacing: 0; }
  .requirements [role="tabpanel"] { padding-top: 32px; }
  .req-head { gap: 12px; }
  .req-head__pic { width: 108px; border-radius: 18px; }
  .req-head__desc { font-size: 18px; }
  .req-head__badge { margin-top: 10px; padding: 6px 12px; font-size: 12px; }
  .req-points { gap: 10px; margin-top: 20px; }
  .req-points li { padding: 14px 12px 12px; column-gap: 8px; }
  .req-points .req-ico { width: 32px; height: 32px; padding: 6px; }
  .req-points__k { font-size: 12px; letter-spacing: .02em; }
  .req-points__v { font-size: 18px; }
  .req-points__s { font-size: 12px; }
  .req-group .req-table th { width: auto; padding: 14px 0 2px; font-size: 13px; border-bottom: 0; }
  .req-group .req-table td { padding: 0 0 14px; }
  .req-voice { grid-template-columns: 72px 1fr; gap: 14px; align-items: start; padding: 20px 18px; }
  .req-voice__face { width: 72px; }
  .req-voice blockquote p { font-size: 15px; }
}

/* ===== 私たちについて「働いているスタッフの話」：インタビューへのリンクに本人のアイコン（2026-10-14 梅村「各人のアイコンとかつけようかな」） ===== */
.ab-staff__people { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin: 22px 0 0; padding: 0; }
.ab-staff__people a { display: inline-flex; align-items: center; gap: 10px; padding: 5px 18px 5px 5px; background: #fff; border: 1px solid rgba(43,111,214,.28);
  border-radius: 999px; color: var(--ta-blue); text-decoration: none; font: 500 14px/1.3 var(--font-body); letter-spacing: .04em;
  box-shadow: 0 6px 16px -12px rgba(31,46,140,.45); transition: background .2s, color .2s, transform .2s; }
.ab-staff__people a::after { content: "\2192"; margin-left: 2px; }
.ab-staff__people a:hover { background: var(--ta-blue); color: #fff; transform: translateY(-1px); }
.ab-staff__people a:focus-visible { outline: 3px solid var(--ta-navy); outline-offset: 3px; }
.ab-staff__face { display: block; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; }
.ab-staff__face.il-bg { background: linear-gradient(180deg, var(--il-c1) 0%, var(--il-c2) 100%); }
.ab-staff__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
/* 5人の顔を少し重ねて並べる */
.ab-staff__faces { display: inline-flex; }
.ab-staff__faces .ab-staff__face { width: 38px; height: 38px; border: 2px solid #fff; box-sizing: content-box; }
.ab-staff__faces .ab-staff__face + .ab-staff__face { margin-left: -12px; }
@media (max-width: 599px) {
  .ab-staff__people a { font-size: 13px; padding-right: 14px; }
  .ab-staff__face { width: 40px; height: 40px; }
  .ab-staff__faces .ab-staff__face { width: 32px; height: 32px; }
}
/* 外側の .ab-staff__list li（2列のグリッド）がチップの li にも効くので打ち消す */
.ab-staff__list .ab-staff__people li { display: block; gap: 0; }
.ab-staff__people a { white-space: nowrap; }

/* ===== 私たちについて「医院概要・アクセス」：Googleマップの地図（2026-10-14 梅村「リンクだけじゃなくて、地図表示させたい」）
   APIキーの要らない埋め込み（maps.google.com/maps?q=…&output=embed）。表の「Googleマップで開く」はスマホで地図アプリを開く用に残す ===== */
.ab-map { grid-column: 2; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #E9EEF5; box-shadow: 0 8px 24px -16px rgba(31,46,140,.35); }
.ab-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 899px) { .ab-map { grid-column: auto; aspect-ratio: 4 / 3; } }
/* 見学・エントリーの連絡先の下にも同じ地図（2026-10-14 梅村「見学・エントリーページにも地図いれといて」） */
.flow__map { max-width: 880px; margin: 24px auto 0; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #E9EEF5; box-shadow: 0 8px 24px -16px rgba(31,46,140,.35); }
.flow__map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 599px) { .flow__map { aspect-ratio: 4 / 3; } }

/* 見学・応募の申し込みフォーム（/entry/form/）・送信完了・個人情報の取り扱い（2026-10-15 見た目だけの見本） */
.footer__privacy { margin-top: 16px; font-size: 13px; }
.footer__privacy a { color: inherit; }
.ef-mock { display: inline-block; margin-bottom: 24px; padding: 8px 14px; border: 1px dashed #C9A23A; border-radius: 8px; background: #FFF8E1; color: #7A5B00; font-size: 13px; line-height: 1.6; }
.ef { padding: clamp(48px, 6vw, 96px) 0 clamp(72px, 8vw, 120px); background: var(--ta-sky2); }
.ef__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.ef__main { background: #fff; border-radius: 20px; padding: clamp(24px, 4vw, 56px); box-shadow: 0 12px 40px -24px rgba(31,46,140,.3); }
.ef__title { font: 500 clamp(24px, 1.2vw + 18px, 32px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
.ef__lead { margin-top: 14px; line-height: 1.9; }
.ef__legend-note { margin-top: 10px; font-size: 13px; color: #5F6672; }
.ef-req, .ef-opt { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 4px; font: 700 11px/1.2 var(--font-body); letter-spacing: .06em; vertical-align: 2px; }
.ef__legend-note .ef-req { margin-left: 0; margin-right: 4px; }
.ef-req { background: var(--ta-orange); color: #fff; }
.ef-opt { background: #E9EEF5; color: #5F6672; }
.ef-errors { margin-top: 24px; padding: 16px 20px; border: 2px solid #D33B3B; border-radius: 12px; background: #FFF5F5; }
.ef-errors:focus { outline: none; }
.ef-errors__title { font-weight: 700; color: #B42323; }
.ef-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.ef-errors a { color: #B42323; }
.ef-form { margin-top: 32px; }
.ef-field { margin: 0 0 32px; padding: 0; border: 0; min-width: 0; }
.ef-label { display: block; padding: 0; margin-bottom: 12px; font: 700 16px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; }
.ef-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.ef-input { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 12px 14px; border: 1.5px solid #C9D3E3; border-radius: 10px; background: #fff; font: 400 16px/1.5 var(--font-body); color: var(--ta-ink); -webkit-appearance: none; appearance: none; }
.ef-input:focus { outline: none; border-color: var(--ta-blue); box-shadow: 0 0 0 3px rgba(43,111,214,.18); }
.ef-input::placeholder { color: #9AA3B2; }
.ef-textarea { min-height: 140px; resize: vertical; }
select.ef-input { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231F2E8C' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; padding-right: 36px; }
.ef-hint { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #5F6672; }
.ef-err { margin-top: 8px; font-size: 14px; font-weight: 700; color: #B42323; }
.is-error .ef-input { border-color: #D33B3B; background: #FFFAFA; }
.is-error .ef-choice__box, .is-error .ef-chip span { border-color: #D33B3B; }
.ef-warn { margin-top: 10px; font-size: 13px; color: #7A5B00; }
.ef-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ef-choices--big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ef-choice, .ef-chip { position: relative; cursor: pointer; }
.ef-choice input, .ef-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ef-choice__box { display: flex; flex-direction: column; justify-content: center; gap: 6px; height: 100%; min-height: 88px; padding: 16px 16px 16px 48px; border: 1.5px solid #C9D3E3; border-radius: 14px; background: #fff; position: relative; transition: border-color .15s, background .15s; }
.ef-choice__box::before { content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid #AEB8C8; border-radius: 50%; background: #fff; box-sizing: border-box; }
.ef-choice__t { font: 700 16px/1.4 var(--font-body); color: var(--ta-navy); }
.ef-choice__s { font-size: 12px; line-height: 1.5; color: #5F6672; }
.ef-choice input:checked + .ef-choice__box { border-color: var(--ta-blue); background: var(--ta-sky); }
.ef-choice input:checked + .ef-choice__box::before { border-color: var(--ta-blue); box-shadow: inset 0 0 0 4px #fff; background: var(--ta-blue); }
.ef-chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px; border: 1.5px solid #C9D3E3; border-radius: 999px; background: #fff; font-size: 15px; line-height: 1.4; transition: border-color .15s, background .15s, color .15s; }
.ef-chip input:checked + span { border-color: var(--ta-blue); background: var(--ta-blue); color: #fff; }
.ef-choice input:focus-visible + .ef-choice__box, .ef-chip input:focus-visible + span { outline: 3px solid rgba(43,111,214,.45); outline-offset: 2px; }
.ef-visit { padding: 20px; border-radius: 14px; background: var(--ta-sky2); }
.ef-visit[hidden] { display: none; }
.ef-visit .ef-label { float: left; width: 100%; }
.ef-visit .ef-hint { clear: both; margin: 0 0 14px; }
.ef-dates { display: grid; gap: 12px; }
.ef-date { display: grid; grid-template-columns: 5em minmax(0, 1fr) 8em; gap: 10px; align-items: center; }
.ef-date__no { font-size: 14px; font-weight: 700; color: var(--ta-navy); }
.ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ef-submit { margin-top: 8px; padding-top: 32px; border-top: 1px solid #E3E8F0; text-align: center; }
.ef-summary { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: var(--ta-sky); font-size: 15px; }
.ef-summary[hidden] { display: none; }
.ef-summary strong { color: var(--ta-navy); }
.ef-privacy { font-size: 13px; line-height: 1.8; color: #5F6672; }
.ef-privacy a { color: var(--ta-blue); }
.ef-btn { margin-top: 20px; width: min(100%, 360px); min-height: 64px; border: 0; border-radius: 999px; background: var(--ta-orange); color: #fff; font: 700 18px/1 var(--font-body); letter-spacing: .14em; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(242,140,58,.6); transition: translate .15s, box-shadow .15s; }
.ef-btn:hover { translate: 0 -2px; }
.ef-btn:disabled { opacity: .7; cursor: default; translate: 0 0; }
.ef-btn:focus-visible { outline: 3px solid var(--ta-navy); outline-offset: 4px; }
.ef-tel { margin-top: 18px; font-size: 14px; color: #5F6672; }
.ef-tel a { font-weight: 700; color: var(--ta-navy); }
.ef__side { position: sticky; top: 100px; padding: 28px 24px; border-radius: 20px; background: #fff; box-shadow: 0 12px 40px -24px rgba(31,46,140,.3); }
.ef__pic { width: 140px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.ef__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.ef__side-title { margin-top: 18px; text-align: center; font: 500 18px/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .08em; }
.ef-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.ef-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.7; }
.ef-steps__no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ta-blue); color: #fff; font: 700 13px/1 var(--font-body); }
.ef__side-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid #E3E8F0; font-size: 13px; line-height: 1.8; color: #5F6672; }
@media (max-width: 960px) {
  .ef__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ef__side { position: static; order: -1; display: grid; grid-template-columns: 88px 1fr; gap: 0 16px; padding: 20px; }
  .ef__pic { width: 88px; grid-row: span 2; }
  .ef__side-title { margin-top: 0; text-align: left; font-size: 16px; }
  .ef-steps { margin-top: 8px; gap: 6px; }
  .ef-steps li { font-size: 13px; grid-template-columns: 22px 1fr; }
  .ef-steps__no { width: 22px; height: 22px; font-size: 11px; }
  .ef__side-note { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ef-row { grid-template-columns: minmax(0, 1fr); }
  .ef-choices--big { grid-template-columns: minmax(0, 1fr); }
  .ef-choice__box { min-height: 0; }
  .ef-date { grid-template-columns: minmax(0, 1fr) 7em; }
  .ef-date__no { grid-column: 1 / -1; }
  .ef-chip span { font-size: 14px; padding: 8px 14px; }
}
.et { padding: clamp(48px, 6vw, 96px) 0; background: var(--ta-sky2); }
.et__inner { max-width: 720px; text-align: center; }
.et__pic { width: 160px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; overflow: hidden; }
.et__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.et__title { margin-top: 24px; font: 500 clamp(24px, 1.2vw + 18px, 34px)/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .06em; }
.et__text { margin-top: 16px; line-height: 2; }
.et__small { margin-top: 16px; font-size: 13px; line-height: 1.8; color: #5F6672; }
.et__tel { margin: 32px auto 0; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px -24px rgba(31,46,140,.3); }
.et__tel-label { font-size: 14px; color: #5F6672; }
.et__tel-num a { font: 700 clamp(26px, 2vw + 16px, 34px)/1.4 var(--font-body); color: var(--ta-navy); letter-spacing: .06em; text-decoration: none; }
.et__tel-hours { margin-top: 4px; font-size: 13px; line-height: 1.8; color: #5F6672; }
.et__more-title { margin-top: 40px; font: 500 16px/1.5 var(--font-quote); color: var(--ta-navy); letter-spacing: .08em; }
.et__links { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.et__links a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border: 1px solid var(--ta-blue); border-radius: 999px; background: #fff; color: var(--ta-blue); text-decoration: none; font-size: 15px; }
.et__links a::after { content: "\2192"; margin-left: 10px; }
.pv { padding: clamp(48px, 6vw, 96px) 0; }
.pv__inner { max-width: 820px; }
.pv__title { font: 500 clamp(22px, 1vw + 17px, 30px)/1.6 var(--font-quote); color: var(--ta-navy); letter-spacing: .04em; }
.pv__lead { margin-top: 20px; line-height: 2; }
.pv h3 { margin-top: 40px; padding-left: 14px; border-left: 4px solid var(--ta-blue); font: 700 17px/1.5 var(--font-body); color: var(--ta-navy); }
.pv h3 + p { margin-top: 12px; line-height: 2; }
.pv__tbd { color: #7A5B00; }
.pv__contact { display: grid; grid-template-columns: 6em 1fr; gap: 10px 16px; margin-top: 24px; padding: 20px 24px; border-radius: 14px; background: var(--ta-sky2); }
.pv__contact dt { font-weight: 700; color: var(--ta-navy); }
.pv__contact dd { margin: 0; }

/* ===== 福利厚生・制度のカード（働く環境ページの先頭・2026-10-16） ===== */
.bn-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0 0; padding: 0; list-style: none; }
.bn-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px 22px; background: #fff; border: 1px solid #E3E9F3; border-radius: 14px; box-shadow: 0 8px 24px -18px rgba(31,46,140,.35); }
.bn-ico { width: 44px; height: 44px; flex: none; padding: 9px; border-radius: 50%; background: var(--ta-sky); color: var(--ta-blue); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefits .bn-card__t { font: 700 17px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; }
.bn-card__d { margin-top: 6px; font-size: 14px; line-height: 1.8; }
.benefits .bn-lead { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.bn-tag { display: inline-block; margin-left: 4px; padding: 3px 8px; border-radius: 4px; background: var(--ta-sky); color: var(--ta-blue); font: 600 11px/1.4 var(--font-body); letter-spacing: .06em; vertical-align: 2px; white-space: nowrap; }
@media (max-width: 960px) { .bn-cards { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 640px) {
  /* スマホは2列。アイコンを上に置いて、12枚が縦に長くなりすぎないようにする */
  .bn-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
  .bn-card { flex-direction: column; gap: 10px; padding: 16px 14px; }
  .bn-ico { width: 38px; height: 38px; padding: 8px; }
  .benefits .bn-card__t { font-size: 15px; }
  .bn-card__d { margin-top: 4px; font-size: 13px; line-height: 1.7; }
  .bn-tag { margin: 4px 0 0; display: table; }
}

/* ===== 働く環境ページ v2（2026-10-16 梅村「全体的にクオリティが低い」「実際の声にはアイコンを」） ===== */
/* 声の吹き出しに付ける顔（仕事の内容ページの吹き出しにも使う） */
/* 丸い顔のイラスト（声・先輩カードで共通）。大きさは各クラスで決める */
.vface, .req-voice__face, .ev-voice__face, .ws-person__face, .fit-card__face { border-radius: 50%; overflow: hidden; }
.vface img, .req-voice__face img, .ev-voice__face img, .ws-person__face img, .fit-card__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.vface { display: inline-block; width: 36px; height: 36px; margin-right: 10px; vertical-align: middle; flex: none; }
.job__voice figcaption { display: flex; align-items: center; }

/* 顔つきの声のカード */
.ev-voice { display: flex; gap: 18px; align-items: flex-start; margin: 0; padding: 26px 28px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(31,46,140,.35); }
.ev-voice__face { flex: none; width: 76px; height: 76px; }
.ev-voice blockquote p { font: 500 16px/1.9 var(--font-quote); color: var(--ta-ink); }
.ev-voice figcaption { margin-top: 10px; font-size: 13px; color: var(--color-ink-soft); }
.ev-voice figcaption a { display: inline-block; margin-left: 12px; color: var(--ta-blue); font-weight: 600; }
.ev-voice--tall { flex-direction: column; align-items: flex-start; }
.ev-voice--tall .ev-voice__face { width: 96px; height: 96px; }

/* 指名のしくみ（3つの手順） */
.nm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; counter-reset: none; }
.nm-step { position: relative; padding: 34px 26px 28px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(31,46,140,.35); text-align: center; }
.nm-step + .nm-step::before { content: ""; position: absolute; left: -31px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6FD6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.nm-step__no { position: absolute; left: 50%; top: -16px; translate: -50% 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ta-blue); color: #fff; font: 700 15px/1 var(--font-body); }
.nm-step__ico { width: 56px; height: 56px; padding: 13px; border-radius: 50%; background: var(--ta-sky); color: var(--ta-blue); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.growth .nm-step__t { margin-top: 14px; font: 700 18px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; }
.nm-step__d { margin-top: 10px; font-size: 14px; line-height: 1.85; text-align: left; }
.nm-after { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 48px; }
.nm-after__text { font-size: 16px; line-height: 2; }
.nm-seminar { display: flex; gap: 24px; align-items: flex-start; max-width: none; margin-top: 56px; padding: 32px 36px; background: #fff; border-radius: 18px; border: 2px solid var(--ta-sky); }
.nm-seminar__ico { flex: none; width: 64px; height: 64px; padding: 15px; border-radius: 50%; background: var(--ta-orange); color: #fff; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.nm-seminar h3 { font-size: clamp(19px, .6vw + 15px, 24px); }

/* 最初の教わり方 */
.ev-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.ev-flow { position: relative; margin: 36px 0 0; padding: 0; list-style: none; }
.ev-flow li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.ev-flow li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 2px dashed #BBD3F3; }
.ev-flow__no { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ta-sky); color: var(--ta-blue); font: 700 18px/1 var(--font-body); }
.start .ev-flow__t { padding-top: 8px; font: 700 18px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; }
.ev-flow p { margin-top: 8px; font-size: 15px; line-height: 1.9; }

/* 働き方 */
.ws-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; margin-top: 40px; align-items: start; }
.ws-panel { padding: 36px 40px; background: #fff; border-radius: 18px; box-shadow: 0 10px 30px -18px rgba(31,46,140,.35); }
.ws-panel__ico { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: #FDEEF3; color: #E77FA3; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ws-panel h3 { margin-top: 16px; font-size: clamp(20px, .6vw + 17px, 26px); }
.ws-panel p { margin-top: 16px; font-size: 15px; line-height: 2; }
.ws-people__title { font: 700 15px/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .08em; }
.ws-person { display: flex; gap: 18px; align-items: center; margin-top: 14px; padding: 18px 20px; background: #fff; border-radius: 16px; box-shadow: 0 8px 24px -18px rgba(31,46,140,.35); color: inherit; text-decoration: none; transition: translate .2s; }
.ws-person:hover { translate: 0 -2px; }
.ws-person__face { flex: none; width: 72px; height: 72px; }
.ws-person__body { display: flex; flex-direction: column; gap: 2px; }
.ws-person__who { font-size: 12px; color: var(--color-ink-soft); letter-spacing: .06em; }
.ws-person__time { font: 700 20px/1.4 var(--font-body); color: var(--ta-blue); letter-spacing: .02em; }
.ws-person__d { font-size: 14px; line-height: 1.7; }

/* こんな人に来てほしい */
.fit-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.fit-card { display: flex; flex-direction: column; align-items: center; padding: 26px 16px 22px; background: #fff; border: 1px solid #E3E9F3; border-radius: 18px; text-align: center; }
.fit-card__face { width: 96px; height: 96px; }
.fit-card__who { margin-top: 12px; font-size: 11px; line-height: 1.5; color: var(--color-ink-soft); letter-spacing: .04em; }
.fit-card__t { margin-top: 10px; font: 700 17px/1.5 var(--font-body); color: var(--ta-navy); }
.fit-card__d { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #D5DEEC; font-size: 13px; line-height: 1.8; text-align: left; }

@media (max-width: 960px) {
  .nm-steps { grid-template-columns: 1fr; gap: 36px; max-width: 520px; margin-inline: auto; }
  .nm-step + .nm-step::before { display: none; }
  .nm-after, .ev-grid, .ws-grid { grid-template-columns: 1fr; gap: 28px; }
  .fit-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nm-step { padding: 30px 20px 22px; }
  .nm-seminar { flex-direction: column; gap: 14px; padding: 24px 20px; }
  .ev-voice { padding: 20px; gap: 14px; }
  .ev-voice__face { width: 60px; height: 60px; }
  .ws-panel { padding: 26px 22px; }
  .ws-person { padding: 14px 16px; }
  .ws-person__face { width: 60px; height: 60px; }
  /* スマホは1人1行（顔を左、ことばを右） */
  .fit-cards { grid-template-columns: 1fr; gap: 10px; }
  .fit-card { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: start; padding: 16px; text-align: left; }
  .fit-card__face { grid-row: 1 / 4; width: 64px; height: 64px; }
  .fit-card__who { margin-top: 0; }
  .fit-card__t { margin-top: 2px; font-size: 16px; }
  .fit-card__d { margin-top: 6px; padding-top: 6px; }
}

/* フォームの下のアクセス（/entry/ を廃止して移した・2026-10-16）。元の .flow は上の波の分だけ余白が大きいので詰める */
.flow.ef-access { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }

/* トップの「SPT・歯周病管理の専任勤務」（働く魅力 01「1人60分のメンテナンス」の続き・2026-10-19）。
   PCでは上の三角が 01 のカードを指す。4列のときだけ出す */
.ta-spt { position: relative; scroll-margin-top: 96px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-top: 64px; padding: clamp(32px, 4vw, 52px); border-radius: 28px; background: var(--ta-sky); }
.ta-spt::before { content: ""; position: absolute; top: -16px; left: calc((100% - 72px) / 8 - 16px); border: 16px solid transparent; border-top: 0; border-bottom-color: var(--ta-sky); }
.ta-spt__lead { font: 400 clamp(18px, .5vw + 15px, 22px)/1.6 var(--ta-hand); color: var(--ta-blue); }
.ta-spt__title { margin-top: 6px; font: 700 clamp(22px, .8vw + 17px, 30px)/1.5 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; }
.ta-spt__body > p:not(.ta-spt__lead):not(.ta-spt__more) { margin-top: 14px; font-size: 15px; line-height: 2; }
.ta-spt__body > .ta-spt__title + p { margin-top: 18px; }
.ta-spt__wish { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.ta-spt__want { padding: 10px 20px; border-radius: 999px; background: #fff; color: var(--ta-navy); font: 600 15px/1.6 var(--font-body);
  box-shadow: 0 6px 18px -12px rgba(31,46,140,.45); }
.ta-spt__lead, .ta-spt__want { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.ta-spt__more { margin-top: 26px; }
.ta-spt__photo { margin: 0; border-radius: 20px; overflow: hidden; }
.ta-spt__photo img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  .ta-spt { grid-template-columns: 1fr; margin-top: 48px; }
  .ta-spt::before { display: none; }
  .ta-spt__photo { order: -1; }
}
@media (max-width: 599px) {
  .ta-spt { padding: 24px 20px 28px; border-radius: 22px; gap: 22px; }
  .ta-spt__want { padding: 8px 16px; font-size: 14px; border-radius: 18px; }
  .ta-spt__more .ta-more { gap: 10px; padding: 13px 18px; font-size: 13px; letter-spacing: .02em; white-space: nowrap; }
}

/* メインビジュアルのSPT専任の札（2026-10-19 梅村「目立つように」→ 同日「CTAよりデカくなっちゃった。もうちょい控えめで」で、白地に青い枠の小さい札にした。同日「↓はいらない」で矢印を外した）。
   写真に重ねるとスライドによって人物の顔や手にかかるので、文字の列に置く。押すと #spt へ */
.ta-mv-spt { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-top: 22px; padding: 6px 16px 6px 6px;
  border: 1.5px solid var(--ta-blue); border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ta-navy); text-decoration: none; transition: background .2s; }
.ta-mv-spt:hover { background: var(--ta-sky); }
.ta-mv-spt__job { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--ta-blue); color: #fff; font: 700 11px/1.4 var(--font-body); letter-spacing: .06em; }
.ta-mv-spt__t { font: 700 15px/1.5 var(--font-body); letter-spacing: .04em; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.ta-mv-spt + .ta-hero__label { margin-top: 22px; }
/* 1199px までは文字の列が人物に近いので、札を上にした2段で幅を詰める（1行だと 768〜900px で2枚目のマスク・3枚目の手に、1024×1366 で3枚目の手にかかった） */
@media (min-width: 768px) and (max-width: 1199px) {
  .ta-mv-spt { display: inline-grid; grid-template-columns: auto; row-gap: 4px; padding: 8px 14px 8px 12px; border-radius: 12px; }
  .ta-mv-spt__job { justify-self: start; padding: 2px 8px; }
  .ta-mv-spt__t { max-width: 10.5em; font-size: 14px; }
}
@media (max-width: 767px) {
  .ta-mv-spt { gap: 8px; margin-top: 18px; padding: 5px 14px 5px 5px; }
  .ta-mv-spt__job { padding: 3px 8px; font-size: 10px; }
  .ta-mv-spt__t { font-size: 13.5px; letter-spacing: .02em; }
}

/* ボタンのすぐ上に添える募集職種（2026-10-19 梅村「このマイクロコピーはCTAの中にいれちゃおうかな」）。
   ボタンの幅は変えず、一文をボタンの幅で折り返す（width:0＋min-width:100% で一文が幅を広げないようにする）。
   ボタンを一文の幅まで伸ばすと、768〜820px でボタンが人物の服にかかった */
.ta-hero__cta { display: inline-flex; flex-direction: column; align-items: stretch; gap: 10px; max-width: 100%; }
.ta-hero .ta-hero__cta .hero__lead { width: 0; min-width: 100%; margin: 0; text-align: center; font: 500 13px/1.6 var(--font-body); color: var(--ta-navy); letter-spacing: .04em; text-wrap: balance; }
@media (max-width: 767px) {
  .ta-hero__cta { display: flex; gap: 8px; }
  .ta-hero .ta-hero__cta .hero__lead { margin: 0; font-size: 12px; letter-spacing: .02em; }
}
