@charset "UTF-8";
/* =============================================================
   ふかみスマイル歯科 歯科医師採用サイト  共通スタイル
   -------------------------------------------------------------
   ブランドカラー（公式 recruit_lp style.css より）
     ピンク        #F05988  --pink
     淡いピンク    #ED9B9E  --soft-pink
     茶色          #736357  --brown
     本文・主要CTA #49372F  --ink
     小さなピンク系文字 #A53259 --rose-text
     淡い背景      #FFF4F6  --pale / #FAF6F2 --cream
   design/style.css の blue / orange / green という旧名称を
   brand 系の名称に整理したもの。最終的な色は同一。
   ============================================================= */

:root {
  --pink: #f05988;
  --soft-pink: #ed9b9e;
  --brown: #736357;
  --ink: #49372f;
  --rose-text: #a53259;
  --pale: #fff4f6;
  --cream: #faf6f2;
  --cream-deep: #f5eeea;
  --line: #e5d6d1;
  --text-soft: #65554e;
  --font-en: Impact, "Arial Narrow", Arial, sans-serif;
  --font-num: Arial, sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 6px;
}
img { max-width: 100%; height: auto; display: block; object-fit: cover; }
picture { display: contents; }
picture > source { display: none; } /* display:contents 時に source が空のグリッドアイテムにならないようにする */
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 20px; }
h2 { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.65; letter-spacing: .055em; }
h3 { font-size: clamp(23px, 2.2vw, 32px); line-height: 1.65; letter-spacing: .035em; }
.wrap { width: min(1120px, calc(100% - 80px)); margin: auto; }
.rose { color: var(--rose-text); }
.brown { color: var(--brown); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .13em; }
.source-note { font-size: 13px; color: var(--brown); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; top: -100px; left: 10px; padding: 6px 12px; }
.skip:focus { top: 10px; z-index: 20; background: #fff; }

/* ---------- header ---------- */
.site-header {
  min-height: 96px;
  display: flex; align-items: center; justify-content: space-between; gap: 25px;
  padding-left: 32px;
  background: #fff;
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid #f3e8e5;
}
.brand { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.brand img { width: 230px; height: 48px; object-fit: contain; }
.brand span { font-size: 12px; letter-spacing: .13em; margin-left: 5px; }
.global-nav { display: flex; gap: 22px; align-items: center; }
.global-nav a { font-size: 13px; font-weight: 800; white-space: nowrap; }
.global-nav a[aria-current="page"] { color: var(--rose-text); border-bottom: 2px solid var(--pink); }
.global-nav small {
  display: block; font-family: var(--font-num); text-align: center;
  color: var(--rose-text); font-size: 10px; letter-spacing: .15em;
}
.header-entry {
  background: var(--ink); color: #fff;
  padding: 14px 30px; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.header-entry span { font-family: var(--font-en); font-size: 27px; letter-spacing: .08em; }

/* ---------- hero (top) ---------- */
.hero { position: relative; margin: 20px 24px 0; min-height: 700px; padding-bottom: 60px; overflow: hidden; }
.hero-collage {
  position: absolute; inset: 0 0 60px 28%;
  display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
}
.hero-main { grid-row: 1 / 3; width: 100%; height: 100%; object-position: 58% center; }
.hero-small { width: 100%; height: 100%; }
.hero-team { overflow: hidden; position: relative; }
.hero-team img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-copy { position: relative; padding: 22px 0 22px 20px; width: 75%; pointer-events: none; }
.hero-copy .eyebrow { display: inline-block; background: #fff; padding: 3px 8px; }
.hero-english {
  font-family: var(--font-en); font-size: clamp(64px, 7.4vw, 110px); line-height: .98;
  font-weight: 900; letter-spacing: -.025em; margin: 18px 0 22px;
}
.hero-english span { display: table; background: rgba(255,255,255,.95); padding: 0 12px 7px; margin-bottom: 6px; }
.hero-english em { font-style: normal; color: var(--pink); }
.hero-tag {
  display: table; background: var(--soft-pink); color: var(--ink);
  font-weight: 800; letter-spacing: .08em; padding: 5px 18px; font-size: 22px;
}
.hero h1 {
  font-size: clamp(28px, 3.6vw, 49px); line-height: 1.65; letter-spacing: .055em;
  display: table; background: #fff; padding: 6px 18px; margin-top: 12px;
}
.hero h1 .h1-lead {
  display: block; font-size: 13px; letter-spacing: .13em; font-weight: 800;
  color: var(--rose-text); line-height: 1.6; margin-bottom: 4px;
}
mark { background: linear-gradient(transparent 65%, #f7c5d1 65%); color: inherit; }
.hero-bottom {
  position: absolute; bottom: 8px; width: 100%;
  display: flex; justify-content: space-between; padding: 0 20px;
  font-size: 12px; letter-spacing: .09em; font-weight: 700;
}

/* ---------- intro ---------- */
.intro { padding: 100px 0 95px; text-align: center; }
.intro h2 { margin: 18px 0 24px; }
.intro > p:not(.eyebrow) { color: var(--text-soft); line-height: 2.2; }
.intro .lead-fact { color: var(--ink); font-weight: 700; }
.intro-links { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-block: 1px solid var(--line); }
.intro-links a { display: flex; justify-content: space-between; padding: 24px; border-right: 1px solid var(--line); font-weight: 700; }
.intro-links a:last-child { border-right: 0; }
.intro-links b { color: var(--rose-text); }

/* ---------- section common ---------- */
.charms { background: var(--pale); padding: 80px 0; }
.section-heading { margin-bottom: 60px; }
.english { font-family: var(--font-en); font-weight: 900; font-size: clamp(54px, 7vw, 90px); line-height: 1.1; letter-spacing: .025em; }
.english em { font-style: normal; color: var(--pink); }
.section-heading h2 { font-size: 22px; margin-top: 15px; }
.h2-sub { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--brown); margin-top: 4px; }
.expanded { padding-top: 85px; padding-bottom: 85px; }
.pill-link {
  display: table; margin: 36px auto 0; padding: 13px 30px;
  border: 1px solid var(--ink); border-radius: 40px; font-weight: 700; font-size: 14px;
}
.text-link {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--ink); padding: 12px 0; margin-top: 20px;
  font-weight: 800; font-size: 14px; gap: 15px;
}
.text-link span { font-size: 23px; }

/* ---------- features (魅力01/02) ---------- */
.feature { display: grid; grid-template-columns: 1.08fr 1fr; gap: 65px; align-items: center; margin-bottom: 85px; scroll-margin-top: 120px; }
.feature-photo { position: relative; }
.feature-photo img { width: 100%; height: 375px; object-position: center; }
.photo-label {
  position: absolute; bottom: -15px; left: 20px;
  background: var(--brown); color: #fff; font-size: 18px; font-weight: 800;
  padding: 8px 18px; transform: rotate(-3deg);
}
.photo-label.soft { background: var(--soft-pink); color: var(--ink); }
.number { font-family: var(--font-num); font-size: 42px; line-height: 1.2; font-weight: 800; margin-bottom: 18px; }
.number span { font-size: 12px; letter-spacing: .12em; vertical-align: middle; }
.feature-copy h3 { margin-bottom: 20px; }
.feature-copy > p:not(.number) { color: var(--text-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0; }
.chips li { background: #fff; border: 1px solid #ead3da; font-size: 13px; padding: 4px 10px; }
.reverse .feature-photo { order: 2; }

/* ---------- learning band ---------- */
.learning-band {
  display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 30px;
  background: var(--brown); color: #fff; padding: 42px; align-items: center;
}
.learning-band > p { font-family: var(--font-en); font-size: 53px; font-weight: 900; line-height: 1.03; }
.learning-band h3 { font-size: 25px; margin-top: 8px; }
.learning-detail { border-left: 1px solid #ffffff70; padding-left: 30px; }
.learning-detail > strong { font-family: var(--font-num); font-size: 70px; line-height: 1.2; }
.learning-detail strong small { font-family: inherit; font-size: 22px; }
.learning-detail > span { display: block; font-size: 14px; font-weight: 700; }
.learning-detail p { font-size: 13px; margin-top: 10px; }

/* ---------- support grid (STUDY / VOICE) ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 30px; }
.support-grid article { border-top: 3px solid var(--soft-pink); padding: 25px 0; }
.support-grid article > span { font: 700 12px var(--font-num); letter-spacing: .12em; color: var(--rose-text); }
.support-grid h3 { font-size: 23px; margin: 12px 0; }
.support-grid p { font-size: 16px; }

/* ---------- curriculum timeline ---------- */
.curriculum { background: var(--pale); }
.timeline { margin-top: 35px; border-top: 2px solid var(--rose-text); }
.timeline article { display: grid; grid-template-columns: 200px 1fr; gap: 35px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.timeline article > b { font: 800 26px var(--font-num); color: var(--rose-text); }
.timeline small { display: block; font: 700 14px "Yu Gothic", sans-serif; margin-top: 10px; }
.timeline h3 { font-size: 24px; margin-bottom: 10px; }

/* ---------- 年次カリキュラム（curriculum） ---------- */
.year-block { display: grid; grid-template-columns: 200px 1fr; gap: 35px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.year-block:first-of-type { border-top: 2px solid var(--rose-text); }
.year-label { font: 800 26px var(--font-num); color: var(--rose-text); }
.year-label small { display: block; font: 700 14px "Yu Gothic", sans-serif; margin-top: 10px; }
.year-block h3 { font-size: 24px; margin-bottom: 16px; }
.vision-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 18px 0 24px; }
.vision-grid section { background: #fff; border-top: 3px solid var(--soft-pink); padding: 16px 18px; }
.vision-grid h4 { font-size: 13px; letter-spacing: .1em; margin: 0 0 8px; color: var(--rose-text); }
.vision-grid ul { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.85; }
.mini-dl { margin: 0; border-top: 1px solid var(--line); }
.mini-dl > div { display: grid; grid-template-columns: 150px 1fr; border-bottom: 1px solid var(--line); }
.mini-dl dt { padding: 12px 16px; background: #fff; font-weight: 800; font-size: 14px; }
.mini-dl dd { margin: 0; padding: 12px 16px; font-size: 14px; }
.half-label { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--brown); margin: 18px 0 6px; }

/* ---------- career ---------- */
.career { padding: 100px 0; text-align: center; }
.career-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; text-align: left; }
.career-grid article { border-top: 5px solid var(--pink); background: var(--pale); padding: 30px; }
.career-grid article:nth-child(2) { border-color: var(--brown); background: var(--pale); }
.career-grid article:nth-child(3) { border-color: var(--soft-pink); background: var(--cream); }
.career-grid article:nth-child(4) { border-color: var(--brown); background: var(--cream-deep); }
.career-no { font-size: 12px; letter-spacing: .12em; font-weight: 800; }
.career-grid h3 { font-size: 23px; margin: 18px 0 14px; }
.career-grid p { font-size: 15px; }

/* ---------- director message ---------- */
.message { background: var(--cream); padding: 90px 0; }
.message-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 80px; align-items: center; }
.portrait img { width: 100%; height: 510px; object-position: center top; }
.message .english { font-size: 64px; }
.message .eyebrow { margin: 14px 0 25px; }
.message h2 { margin-bottom: 24px; }
.message .director { font-size: 13px; }
.director strong { font-size: 24px; margin-left: 14px; }

/* ---------- voice / values ---------- */
.values { margin-top: 40px; padding: 35px; background: var(--cream); }
.values h3 { margin-top: 10px; font-size: 25px; }
.values ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 35px; padding-left: 22px; margin-bottom: 0; }

/* ---------- requirements ---------- */
.requirements { padding: 100px 0; }
.requirements .section-heading { margin-bottom: 28px; }
dl { margin: 30px 0 0; border-top: 2px solid var(--ink); }
dl > div { display: grid; grid-template-columns: 220px 1fr; border-bottom: 1px solid var(--line); }
dt { padding: 24px; background: var(--pale); font-weight: 800; }
dd { margin: 0; padding: 24px 32px; }
dd strong { font-size: 23px; }
dd small { font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; background: var(--pale); }
.faq .section-heading { margin-bottom: 30px; }
.faq-list { margin-top: 20px; }
.faq-list details { background: #fff; border: 1px solid var(--line); margin: 12px 0; }
.faq-list summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 20px 24px; list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "Q"; font: 800 20px var(--font-num); color: var(--pink); flex-shrink: 0; line-height: 1.5; }
.faq-list summary::after { content: "+"; margin-left: auto; font: 700 24px var(--font-num); color: var(--brown); line-height: 1.2; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list .answer { padding: 0 24px 22px 58px; font-size: 15px; }
.faq-list .answer p + p { margin-top: 10px; }
.faq-list .answer .source-note { margin-top: 10px; }

/* ---------- entry ---------- */
.entry { padding: 75px 0 85px; background: var(--brown); color: #fff; text-align: center; }
.entry .english { font-size: clamp(58px, 9vw, 120px); color: #fff; letter-spacing: -.02em; }
.entry h2 { margin: 22px 0; font-size: 34px; }
.sp-br { display: none; } /* スマートフォンでのみ改行 */
.visit-flow { list-style: none; display: flex; justify-content: center; gap: 30px; padding: 0; margin: 30px 0; font-size: 14px; }
.visit-flow b { font: 800 18px var(--font-num); margin-right: 8px; }
.entry-actions { display: flex; justify-content: center; gap: 35px; align-items: center; margin-top: 35px; }
.entry-button {
  display: flex; align-items: center; gap: 40px; justify-content: space-between;
  background: var(--pale); color: var(--ink); padding: 22px 30px; font-weight: 800;
}
.entry-button b { font-size: 27px; }
.phone { display: flex; flex-direction: column; }
.phone small { font-size: 12px; }
.phone strong { font-family: var(--font-num); font-size: 30px; line-height: 1.6; }

/* ---------- footer ---------- */
.site-footer { padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer strong { font-size: 20px; }
.site-footer span { display: block; font-size: 12px; }
.site-footer address { font-style: normal; font-size: 13px; line-height: 1.8; }
.site-footer > a { font-size: 14px; }
.site-footer > small { font-size: 10px; width: 100%; }
.footer-nav { width: 100%; border-top: 1px solid var(--line); padding-top: 20px; }
.footer-nav p { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--brown); margin-bottom: 10px; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 0; margin: 0; }
.footer-nav a { font-size: 14px; font-weight: 700; }
.footer-nav a[aria-current="page"] { color: var(--rose-text); }
.mobile-entry { display: none; }

/* ---------- 下層ページ共通（見出し帯・ページ内メニュー） ---------- */
.page-hero { background: var(--pale); padding: 35px 0 65px; }
.breadcrumb { font-size: 13px; margin-bottom: 40px; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--brown); }
.breadcrumb a { text-decoration: underline; }
.page-hero h1 { font-size: clamp(30px, 4vw, 50px); line-height: 1.6; margin: 20px 0; }
.page-hero .h1-lead { display: block; font-size: 14px; letter-spacing: .1em; font-weight: 800; color: var(--rose-text); margin-bottom: 6px; }
.study-nav { display: flex; justify-content: center; gap: 32px; padding: 25px 0; flex-wrap: wrap; }
.study-nav a { font-size: 15px; border-bottom: 1px solid var(--rose-text); }
.study-wide { width: 100%; height: auto; max-height: 440px; }
.study-system article { display: grid; grid-template-columns: 80px 1fr; gap: 30px; border-top: 1px solid var(--line); padding: 35px 0; }
.study-system article > span { font: 800 40px var(--font-num); color: var(--rose-text); }
.study-system h3 { margin-bottom: 18px; }
.practice-groups { margin-top: 35px; }
.practice-groups details { background: #fff; margin: 15px 0; border: 1px solid var(--line); }
.practice-groups summary { cursor: pointer; font-weight: 800; font-size: 19px; padding: 22px; }
.practice-groups summary span { font-size: 13px; margin-left: 20px; color: var(--brown); }
.practice-groups ol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 40px; padding: 0 35px 25px 55px; margin: 0; }
.practice-groups li { padding-left: 5px; }


/* ---------- 本文中のリンク・補足 ---------- */
.inline-link { text-decoration: underline; font-weight: 700; }
.visit-flow.on-light { justify-content: flex-start; gap: 36px; margin: 0 0 30px; font-size: 15px; font-weight: 700; }
.visit-flow.on-light b { color: var(--rose-text); }
/* 濃い茶色の帯の中では注記も明るい色にする（背景に文字が沈まないように） */
.entry .source-note { color: #f1e6e2; }
.entry .source-note .inline-link { color: #fff; }
.entry-note { margin-top: 22px; }

/* ---------- hover ---------- */
@media (hover: hover) {
  .global-nav a:hover, .text-link:hover { color: var(--rose-text); }
  .pill-link:hover { background: var(--ink); color: #fff; }
  .entry-button:hover { background: #ffe2e9; }
}

/* ---------- responsive ---------- */
@media (min-width: 1500px) {
  .hero { max-width: 1450px; margin-inline: auto; }
}
@media (max-width: 1100px) {
  .global-nav { gap: 12px; }
  .global-nav a { font-size: 12px; }
  .brand img { width: 185px; }
  .header-entry { padding: 12px 18px; }
  .site-header { padding-left: 20px; gap: 15px; }
  .hero { min-height: 620px; }
  .hero-copy { width: 85%; }
  .feature { gap: 35px; }
  .learning-band { padding: 30px; gap: 20px; }
  .learning-band > p { font-size: 43px; }
  .message-grid { gap: 45px; }
  .career-grid article { padding: 22px; }
  .career-grid h3 { font-size: 20px; }
}
/* タブレット幅：メニュー6項目が収まるように詰める（英字の小見出しは省く） */
@media (max-width: 1000px) {
  .site-header { padding-left: 16px; gap: 12px; }
  .brand img { width: 160px; height: 34px; }
  .brand span { font-size: 10px; }
  .global-nav { gap: 8px; }
  .global-nav a { font-size: 12px; }
  .global-nav small { display: none; }
  .header-entry { padding: 10px 14px; font-size: 12px; }
  .header-entry span { font-size: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 85px; }
  .site-header { min-height: 78px; padding: 8px 18px; }
  .brand img { width: 180px; height: 38px; }
  .brand span { font-size: 10px; }
  .global-nav { display: none; }
  .header-entry { padding: 4px 13px; font-size: 11px; }
  .header-entry span { font-size: 20px; }
  .wrap { width: calc(100% - 40px); }
  .hero { margin: 12px 12px 0; min-height: 710px; }
  .hero-collage { inset: 0 0 65px 16%; grid-template-columns: 1fr 1fr; grid-template-rows: 360px 220px; gap: 8px; }
  .hero-main { grid-column: 1 / 3; grid-row: 1; object-position: center; }
  .hero-small { grid-column: 1; grid-row: 2; }
  .hero-team { grid-column: 2; grid-row: 2; }
  .hero-copy { padding: 12px 0; width: 100%; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .04em; padding: 4px; }
  .hero-english { font-size: clamp(49px, 12.8vw, 84px); margin-top: 25px; }
  .hero-english span { padding: 4px 7px; }
  .hero-tag { font-size: 15px; margin-top: 65px; padding: 5px 10px; }
  .hero h1 { font-size: clamp(23px, 6.1vw, 37px); padding: 8px 10px; margin-top: 12px; line-height: 1.8; }
  .hero h1 .h1-lead { font-size: 11px; }
  .hero-bottom { font-size: 10px; flex-direction: column; gap: 4px; padding: 0; bottom: 16px; }
  .intro { padding: 45px 0 60px; }
  .intro h2 { font-size: 24px; }
  .intro > p:not(.eyebrow) { font-size: 14px; }
  .intro-links { margin-top: 32px; grid-template-columns: 1fr; }
  .intro-links a { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 8px; font-size: 14px; }
  .intro-links a:last-child { border-bottom: 0; }
  .charms { padding: 55px 0; }
  .section-heading { margin-bottom: 35px; }
  .section-heading h2 { font-size: 18px; }
  .expanded { padding-block: 55px; }
  .feature { grid-template-columns: 1fr; gap: 40px; margin-bottom: 60px; }
  .feature-photo img { height: 270px; }
  .reverse .feature-photo { order: 0; }
  .feature-copy h3 { font-size: 26px; }
  .feature-copy > p:not(.number) { font-size: 15px; }
  .photo-label { font-size: 15px; left: 12px; padding: 7px 12px; }
  .learning-band { grid-template-columns: 1fr; padding: 28px; gap: 22px; }
  .learning-band > p { font-size: 48px; }
  .learning-detail { border-left: 0; border-top: 1px solid #ffffff70; padding: 20px 0 0; }
  .support-grid, .career-grid { grid-template-columns: 1fr; gap: 12px; }
  .voice-grid { gap: 8px; }
  .timeline article { grid-template-columns: 1fr; gap: 18px; padding: 25px 0; }
  .timeline article > b { font-size: 22px; }
  .timeline small { display: inline; margin-left: 15px; }
  .timeline h3 { font-size: 22px; }
  .curriculum .english { font-size: clamp(36px, 8vw, 60px); }
  .career { padding: 60px 0; }
  .career-grid { gap: 16px; }
  .career-grid article { padding: 25px; }
  .career-grid h3 { font-size: 24px; margin: 10px 0; }
  .message { padding: 55px 0; }
  .message-grid { grid-template-columns: 1fr; gap: 36px; }
  .portrait img { height: 380px; object-fit: contain; }
  .message .english { font-size: 55px; }
  .message h2 { font-size: 26px; }
  .message p { font-size: 15px; }
  .values { padding: 25px; }
  .values ul { grid-template-columns: 1fr; }
  .requirements { padding: 60px 0; }
  dl > div { grid-template-columns: 1fr; }
  dt { padding: 12px 18px; font-size: 14px; }
  dd { padding: 18px; font-size: 14px; }
  .faq { padding: 55px 0; }
  .faq-list summary { font-size: 15px; padding: 16px 18px; }
  .faq-list .answer { padding: 0 18px 18px 18px; font-size: 14px; }
  .entry { padding: 50px 0; }
  .entry .english { font-size: 54px; }
  .entry h2 { font-size: clamp(19px, 5.9vw, 23px); letter-spacing: .03em; }
  .sp-br { display: inline; }
  .entry p { font-size: 14px; }
  .visit-flow { flex-direction: column; gap: 10px; text-align: left; width: fit-content; margin-inline: auto; }
  .visit-flow.on-light { margin-inline: 0; gap: 8px; }
  .entry-actions { flex-direction: column; gap: 25px; }
  .entry-button { width: 100%; padding: 18px; font-size: 14px; gap: 10px; }
  .site-footer { padding: 30px 20px 110px; flex-direction: column; text-align: center; }
  .mobile-entry {
    display: block; position: fixed; bottom: 0; left: 0; right: 0;
    background: var(--ink); color: #fff; text-align: center;
    font-size: 15px; font-weight: 800;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    z-index: 12; border-top: 2px solid #fff;
  }
  /* study page */
  .study-nav { gap: 15px; }
  .page-hero { padding-bottom: 40px; }
  .page-hero .english { font-size: clamp(40px, 10vw, 65px); }
  .year-block { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .year-label { font-size: 22px; }
  .year-label small { display: inline; margin-left: 15px; }
  .year-block h3 { font-size: 21px; }
  .vision-grid { grid-template-columns: 1fr; gap: 10px; }
  .mini-dl > div { grid-template-columns: 1fr; }
  .mini-dl dt { padding: 10px 14px; background: var(--pale); }
  .mini-dl dd { padding: 12px 14px; }
  .footer-nav ul { flex-direction: column; gap: 10px; align-items: center; }
  .study-system article { grid-template-columns: 1fr; gap: 10px; }
  .practice-groups ol { grid-template-columns: 1fr; }
  .practice-groups summary { font-size: 16px; padding: 18px; }
  .practice-groups summary span { display: block; margin-left: 18px; }
}
/* 320px 付近の極小幅 */
@media (max-width: 360px) {
  .brand img { width: 150px; }
  .header-entry { padding: 4px 10px; font-size: 10px; }
  .header-entry span { font-size: 17px; }
  .hero-english { font-size: 44px; }
  .hero-tag { font-size: 13px; }
  .hero h1 { font-size: 21px; }
  .learning-band > p { font-size: 40px; }
  .english { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== 写真追加版 v1（2026-10-19） ===== */
.photo-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 36px 0 8px; }
.photo-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.photo-strip figure { margin: 0; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; display: block; }
.photo-strip.mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photo-strip.mosaic img { aspect-ratio: 4 / 3; }
/* 階段のステップアップ */
.support-grid.stairs { align-items: end; gap: 64px; margin-top: 40px; position: relative; }
.support-grid.stairs article { border-top: 6px solid var(--pink); background: var(--pale); padding: 26px 24px 30px; border-radius: 4px 4px 0 0; position: relative; display: flex; flex-direction: column; }
.support-grid.stairs article:nth-child(1) { min-height: 300px; }
.support-grid.stairs article:nth-child(2) { min-height: 380px; border-top-color: var(--rose-text); }
.support-grid.stairs article:nth-child(3) { min-height: 460px; border-top-color: var(--brown); background: var(--cream); }
.support-grid.stairs article > span { display: inline-block; align-self: flex-start; background: var(--brown); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: 13px; }
.support-grid.stairs article:not(:last-child)::after { content: ""; position: absolute; right: -95px; top: -104px; width: 126px; height: 92px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 66'%3E%3Cpath d='M6 60 H30 V40 H54 V20 H70' fill='none' stroke='%23f05988' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M66 6 L86 20 L66 34 Z' fill='%23f05988'/%3E%3C/svg%3E") no-repeat center / contain; z-index: 2; }
.support-grid.stairs article::before { font: 800 13px var(--font-num); letter-spacing: .14em; color: var(--rose-text); margin-bottom: 8px; }
.support-grid.stairs article:nth-child(1)::before { content: "STEP 1"; }
.support-grid.stairs article:nth-child(2)::before { content: "STEP 2"; }
.support-grid.stairs article:nth-child(3)::before { content: "STEP 3"; }
.hero-collage { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.hero-small, .hero-team, .hero-team img { min-height: 0; height: 100%; object-fit: cover; }
.photo-cap { font-size: 12px; color: var(--brown); margin: 6px 0 0; }
.card-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; margin-bottom: 16px; }
.career-grid .card-photo { aspect-ratio: 16 / 9; }
.study-system article.has-photo { grid-template-columns: 80px minmax(0, 1fr) 300px; align-items: start; }
.study-system article.has-photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.learning-band .band-photo { width: 100%; max-width: 280px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.img-note { font-size: 11px; color: var(--brown); margin-top: 4px; }
.study-wide { aspect-ratio: 1000 / 450; object-fit: cover; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.course-grid article { border-top: 5px solid var(--pink); background: var(--pale); padding: 24px; min-width: 0; }
.course-grid article:nth-child(2) { border-color: var(--brown); }
.course-grid article:nth-child(3) { border-color: var(--rose-text); background: var(--cream); }
.course-no { font: 800 14px var(--font-num); letter-spacing: .06em; color: var(--rose-text); }
.course-grid h3 { font-size: 21px; margin: 10px 0 6px; line-height: 1.45; }
.course-lead { font-size: 14px; color: var(--brown); margin-bottom: 10px; }
.course-grid h4 { font-size: 13px; margin: 12px 0 4px; color: var(--rose-text); }
.course-grid ul { padding-left: 1.1em; font-size: 14px; display: grid; gap: 4px; }
.photo-slider { overflow: hidden; margin: 36px 0 8px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.slider-track { display: flex; width: max-content; animation: fk-slide 160s linear infinite; }
.slider-track figure { margin: 0; padding-right: 12px; flex: none; }
.slider-track img { width: 300px; height: 225px; object-fit: cover; border-radius: 10px; display: block; }
@keyframes fk-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .slider-track { animation: none; }
  .photo-slider { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .slider-track figure[aria-hidden="true"] { display: none; }
}
@media (max-width: 1000px) {
  .study-system article.has-photo { grid-template-columns: 60px minmax(0, 1fr); }
  .study-system article.has-photo > img { grid-column: 2; max-width: 420px; }
}
@media (max-width: 760px) {
  .photo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .photo-strip.three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .photo-strip.mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slider-track img { width: 200px; height: 150px; }
  .support-grid.stairs article { min-height: 0 !important; }
  .support-grid.stairs article:nth-child(2) { margin-left: 18px; }
  .support-grid.stairs article:nth-child(3) { margin-left: 36px; }
  .support-grid.stairs article:not(:last-child)::after { content: ""; right: 22px; top: auto; bottom: -40px; width: 30px; height: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 46'%3E%3Cpath d='M20 4 V30' stroke='%23f05988' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M6 26 L20 44 L34 26 Z' fill='%23f05988'/%3E%3C/svg%3E"); }
  .course-grid { grid-template-columns: 1fr; }
  .slider-track { animation-duration: 130s; }
  .study-system article.has-photo { grid-template-columns: 1fr; }
  .study-system article.has-photo > img { grid-column: auto; max-width: 100%; }
}

/* 2026-10-20 トップ「勤務医の声」の写真の帯（右から左へ） */
.team-slider { margin-top: 28px; }
.team-slider .slider-track { animation-duration: 45s; }
.team-slider .slider-track img { width: 260px; height: 200px; }
/* 階段カードの下の注記がカードに隠れないように */
.support-grid.stairs + .source-note { position: relative; z-index: 3; margin-top: 28px; }

/* 2026-10-20 SEO・AIO：求人の要点まとめ */
.summary-lead { margin-top: 18px; font-size: 17px; line-height: 2; }
.summary-lead strong { background: linear-gradient(transparent 62%, rgba(240,89,136,.22) 62%); }
.intro-job { margin-top: 22px; }

/* 2026-10-20 応募ボタン（エントリーシート・LINE） */
.apply-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px auto 20px; }
.apply-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 270px; padding: 15px 28px 13px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 19px; letter-spacing: .06em; line-height: 1.35; text-decoration: none; box-shadow: 0 8px 18px rgba(73,55,47,.18); border: 3px solid #fff; transition: transform .2s ease; }
.apply-btn small { font-size: 12px; font-weight: 700; letter-spacing: .04em; opacity: .92; margin-top: 2px; }
.apply-form { background: #f05988; }
.apply-line { background: #06c755; }
@media (hover: hover) { .apply-btn:hover { transform: translateY(-2px); } }
@media (max-width: 760px) { .apply-btn { min-width: 0; width: 100%; } }
