/* もろおか歯科 トップページ
   配色：ロゴのオレンジ・イエロー＋診療室のグリーン */
:root {
  --ink: #2b2420;          /* 文字・ダークボタン（ロゴの墨色 #231815 に寄せた暖色の黒） */
  --text: #3d3530;
  --muted: #6f655d;
  --orange: #ef8200;       /* ロゴのオレンジ（線・飾り） */
  --orange-deep: #b4500a;  /* 白文字を載せるオレンジ（白とのコントラスト 5.1） */
  --yellow: #f7c83a;       /* ロゴのイエロー寄り（濃い文字を載せる） */
  --green: #2c7a5b;        /* 診療室のグリーン（白とのコントラスト 5.2） */
  --cream: #fbf7f0;
  --cream-2: #fff4de;
  --line: #e7dfd4;
  --radius: 20px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --en: "Poppins", "Noto Sans JP", sans-serif;
  /* 動きのイージング */
  --ease-out: cubic-bezier(.165, .84, .44, 1);   /* 出てくる動き：最初に速く、最後にゆっくり止まる */
  --ease-soft: cubic-bezier(.19, 1, .22, 1);     /* 文字の登場・ホバー：さらに余韻を長く */
  --ease-io: cubic-bezier(.76, 0, .24, 1);       /* 幕が開く動き：ためてから一気に */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  line-height: 2.05;
  color: var(--text);
  background: #fff;
  letter-spacing: .03em;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.sp { display: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ==========================================================
   ボタン（サイト全体で共通）
   角の小さな長方形＋右端の線の矢印。ホバーで色面が下からせり上がり、矢印の線が伸びる
   ========================================================== */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
  min-height: 56px; padding: 10px 22px 10px 26px;
  border: 1.5px solid var(--ink); border-radius: 4px;
  background: #fff; color: var(--ink);
  font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: .04em; white-space: nowrap;
  transition: color .44s var(--ease-soft), border-color .44s var(--ease-soft);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%;
  transition: transform .44s var(--ease-soft);
}
.btn-label { display: flex; flex-direction: column; }
.btn-sm { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; opacity: .85; }
.btn-num { font-family: var(--en); font-weight: 600; font-size: 22px; letter-spacing: .05em; line-height: 1.25; }
.btn-arw {
  position: relative; flex: none; display: inline-block; width: 26px; height: 10px;
}
.btn-arw::before { /* 線 */
  content: ""; position: absolute; left: 0; right: 1px; top: 50%; height: 1.5px; margin-top: -.75px;
  background: currentColor; transform-origin: 0 50%; transition: transform .44s var(--ease-soft);
}
.btn-arw::after { /* 先端 */
  content: ""; position: absolute; right: 1px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .44s var(--ease-soft);
}
@media (hover: hover) {
  a.btn:hover, a:hover > .btn--static, a:hover .btn--static { color: #fff; }
  a.btn:hover::before, a:hover .btn--static::before { transform: scaleY(1); }
  a.btn:hover .btn-arw::before, a:hover .btn--static .btn-arw::before { transform: scaleX(1.45); }
  a.btn:hover .btn-arw::after, a:hover .btn--static .btn-arw::after { transform: translateX(11px) rotate(45deg); }
}
.btn--fill { background: var(--orange-deep); border-color: var(--orange-deep); color: #fff; }
.btn--fill::before { background: #8a3c06; }
.btn--onDark { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--onDark::before { background: #fff; }
@media (hover: hover) { a.btn--onDark:hover { color: var(--ink); border-color: #fff; } }
.btn--lg { min-height: 68px; font-size: 19px; padding-left: 32px; padding-right: 26px; min-width: 320px; }
.btn--sm { min-height: 46px; font-size: 15px; padding: 6px 18px 6px 22px; }
.btn--tel { padding-top: 8px; padding-bottom: 8px; }
.is-static-tel { cursor: default; }
.btn.is-static-tel::before { display: none; }
.btn.btn--line.is-static-tel:hover { color: var(--ink); }
.btn.btn--fill.is-static-tel:hover { color: #fff; }

/* ---------- 見出し ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--en); font-weight: 600; font-size: 14px;
  letter-spacing: .14em; color: var(--ink); line-height: 1;
  margin-bottom: 22px;
}
.eyebrow-line { width: 44px; height: 3px; background: var(--orange); border-radius: 2px; transform-origin: 0 50%; }
.eyebrow--light { color: #fff; }
.h-xxl { font-size: clamp(42px, 5.2vw, 76px); font-weight: 900; line-height: 1.25; color: var(--ink); letter-spacing: .04em; }
.h-xl  { font-size: clamp(30px, 3.3vw, 48px); font-weight: 900; line-height: 1.5;  color: var(--ink); letter-spacing: .04em; }
.h-lg  { font-size: clamp(28px, 2.6vw, 38px); font-weight: 900; line-height: 1.4;  color: var(--ink); }
.h-sub { display: inline-block; margin-top: 10px; font-size: .48em; font-weight: 700; letter-spacing: .1em; color: var(--orange-deep); line-height: 1.5; }
.sec-head { margin-bottom: 64px; }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.sec-lead { font-size: 22px; font-weight: 700; line-height: 1.9; color: var(--ink); flex: none; }
.link-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* 見出しの行（JSで行ごとに包む。JSが動かなければ普通の見出しのまま） */
.ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.ln-i { display: inline-block; }

/* ==========================================================
   ヘッダー
   ========================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 26px 40px 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-logo {
  display: block; width: 250px; padding: 14px 18px;
  border-radius: 12px; background: rgba(255,255,255,.88); transition: background .35s, box-shadow .35s;
}
.site-header.is-scrolled .site-logo { background: rgba(255,255,255,.96); box-shadow: 0 6px 24px rgba(43,36,32,.08); }
.header-right { display: flex; align-items: stretch; gap: 12px; }
.gnav { background: #fff; border-radius: 6px; box-shadow: 0 6px 24px rgba(43,36,32,.10); }
.gnav > ul { display: flex; height: 60px; align-items: stretch; padding: 0 10px; }
.gnav > ul > li { position: relative; display: flex; }
.gnav > ul > li > a, .gnav-parent {
  display: flex; align-items: center; gap: 6px; padding: 0 16px;
  font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; line-height: 1;
}
.gnav-text { position: relative; padding: 6px 0; }
.gnav-text::after { /* ホバーで下線が左から引かれ、離れると右へ抜ける */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease-soft);
}
@media (hover: hover) {
  .gnav > ul > li > a:hover .gnav-text::after, .gnav-parent:hover .gnav-text::after,
  .has-sub:hover .gnav-text::after { transform: scaleX(1); transform-origin: 0 50%; }
}
.gnav-parent::after { content: "+"; font-family: var(--en); font-weight: 500; color: var(--orange); margin-left: 2px; transition: transform .44s var(--ease-soft); }
.has-sub:hover .gnav-parent::after, .has-sub.is-open .gnav-parent::after { transform: rotate(45deg); }
.gnav-recruit { color: var(--orange-deep) !important; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px;
  background: #fff; border-radius: 8px; box-shadow: 0 12px 32px rgba(43,36,32,.14);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateX(-10px);
  transition: opacity .3s var(--ease-out), transform .44s var(--ease-soft), visibility .3s;
}
.sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 12px 16px; border-radius: 4px; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink); transition: background .3s, color .3s, padding .44s var(--ease-soft); }
.sub a:hover { background: var(--cream); color: var(--orange-deep); padding-left: 22px; }

.header-cta { display: flex; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 24px rgba(43,36,32,.16); }
.hbtn {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 10px; padding: 0 22px;
  background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: nowrap;
}
.hbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--orange-deep); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .44s var(--ease-soft); }
@media (hover: hover) { a.hbtn:not(.is-static-tel):hover::before { transform: scaleY(1); } }
.hbtn + .hbtn { border-left: 1px solid rgba(255,255,255,.18); }
.hbtn svg { width: 22px; height: 22px; flex: none; }
.tel-body { display: flex; flex-direction: column; }
.tel-num { font-family: var(--en); font-size: 18px; font-weight: 600; letter-spacing: .04em; }
.tel-time { font-size: 12px; font-weight: 500; opacity: .85; letter-spacing: 0; }

.menu-toggle {
  display: none; width: 56px; height: 56px; border-radius: 6px; background: var(--ink);
  flex-direction: column; justify-content: center; align-items: center; gap: 7px;
}
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .44s var(--ease-soft), opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* スマホメニュー */
.spmenu {
  position: fixed; inset: 0; z-index: 45; background: #fff;
  overflow-y: auto; padding: 110px 24px 120px;
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.spmenu.is-open { opacity: 1; }
.spmenu-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.spmenu .spmenu-group, .spmenu .spmenu-tel { transform: translateX(-16px); opacity: 0; transition: transform .6s var(--ease-soft), opacity .5s var(--ease-out); }
.spmenu.is-open .spmenu-group, .spmenu.is-open .spmenu-tel { transform: none; opacity: 1; }
.spmenu.is-open .spmenu-group:nth-child(2) { transition-delay: .05s; }
.spmenu.is-open .spmenu-group:nth-child(3) { transition-delay: .1s; }
.spmenu.is-open .spmenu-group:nth-child(4) { transition-delay: .15s; }
.spmenu.is-open .spmenu-group:nth-child(5) { transition-delay: .2s; }
.spmenu.is-open .spmenu-tel { transition-delay: .25s; }
.spmenu-label { font-size: 13px; font-weight: 700; color: var(--orange-deep); letter-spacing: .1em; margin-bottom: 4px; }
.spmenu-group a { display: block; padding: 12px 0; font-size: 18px; font-weight: 700; line-height: 1.5; color: var(--ink); }
.spmenu-recruit { color: var(--orange-deep) !important; }
.spmenu-tel {
  display: flex; flex-direction: column; align-items: center; margin-top: 28px; padding: 14px; border-radius: 4px;
  background: var(--orange-deep); color: #fff; font-family: var(--en); font-weight: 600; font-size: 24px; letter-spacing: .05em; line-height: 1.3;
}
.spmenu-tel-sm { font-family: var(--font); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; }

/* ==========================================================
   第一画面
   ========================================================== */
.hero {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; min-height: 640px; overflow: hidden; background: var(--cream);
}
.hero-stage { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 0; will-change: transform; }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(30,22,16,.78) 0%, rgba(30,22,16,.5) 26%, rgba(30,22,16,0) 52%);
}
.hero-curtain { position: absolute; inset: 0; background: var(--cream); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.hero-copy { position: absolute; left: 64px; right: 64px; bottom: 64px; color: #fff; will-change: transform, opacity; }
.hero-title {
  font-size: clamp(32px, 3.7vw, 54px); font-weight: 900; line-height: 1.5; letter-spacing: .05em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.hl { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .08em 0; margin-bottom: -.08em; }
.hl-i { display: inline-block; }
.hero-lead { margin-top: 22px; font-size: 18px; font-weight: 700; line-height: 1.95; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-scroll {
  position: absolute; right: 56px; bottom: 56px; width: 128px; height: 128px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.8); display: grid; place-items: center;
  font-family: var(--en); font-size: 12px; letter-spacing: .2em; color: #fff;
}
.hero-scroll span { position: relative; padding-bottom: 26px; }
.hero-scroll span::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 18px; background: #fff;
  animation: scrollLine 2.4s var(--ease-io) infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* 第一画面の登場（初回表示）：幕が右から左へ畳まれ、写真が引いて、見出しが行ごとに左から現れる
   ※ CSSだけで完結するので、JSが失敗しても約2秒で必ず全部見える */
.intro .hero-curtain { animation: curtainOut 1.1s var(--ease-io) .15s both; }
.intro .hero-photo { animation: photoIn 1.8s var(--ease-out) .2s both; }
.intro .hl-i { animation: lineIn 1s var(--ease-soft) both; }
.intro .hl:nth-of-type(1) .hl-i { animation-delay: .78s; }
.intro .hl:nth-of-type(2) .hl-i { animation-delay: .9s; }
.intro .hl:nth-of-type(3) .hl-i { animation-delay: 1.02s; }
.intro .hero-lead { animation: leadIn .9s var(--ease-out) 1.2s both; }
.intro .hero-scroll > span { animation: fadeIn .8s var(--ease-out) 1.45s both; }
.intro .site-header { animation: headerIn .9s var(--ease-soft) .95s both; }
.hero-photo img { animation: heroDrift 16s ease-in-out 2s infinite alternate; }
@keyframes curtainOut { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes photoIn { from { transform: scale(1.16) translateX(2.5%); } to { transform: none; } }
@keyframes lineIn { from { transform: translateX(-104%); } to { transform: none; } }
@keyframes leadIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes headerIn { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@keyframes heroDrift { from { transform: scale(1) translateX(0); } to { transform: scale(1.045) translateX(-1.2%); } }

/* 第一画面の上に本文が重なって上がってくる */
.page { position: relative; z-index: 2; background: #fff; }

/* ==========================================================
   医院の考え・院長
   ========================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.about-photo { position: relative; overflow: hidden; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-body { padding: 140px 80px 120px; max-width: 720px; }
.about-text { margin-top: 36px; }
.about-text p + p { margin-top: 1.2em; }
.director {
  display: flex; gap: 24px; align-items: center; margin-top: 48px;
  padding: 24px; border-radius: var(--radius); background: var(--cream);
}
.director-photo { width: 112px; height: 136px; object-fit: cover; border-radius: 12px; flex: none; }
.director-role { font-size: 14px; font-weight: 700; color: var(--orange-deep); line-height: 1.4; }
.director-name { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.5; letter-spacing: .12em; }
.director-meta { margin-top: 6px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.director-meta li::before { content: "・"; }

/* 横に流れる写真（JSで左右にゆっくり動く。動かなければそのまま） */
[data-drift] { overflow: hidden; }
[data-drift] img { transform: scale(1.12); will-change: transform; }

/* ==========================================================
   診療の強み
   配置の考え方：項目ごとに位置をずらす非対称な配置、細い罫線と横組み
   ========================================================== */
.strength { background: var(--cream); padding: 150px 0 220px; }
.strength-head { margin-bottom: 80px; max-width: 760px; }
.strength-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 96px; row-gap: 72px; }
.strength-item { position: relative; padding: 0 0 0 30px; border-left: 1px solid rgba(43,36,32,.22); }
.strength-no {
  display: block; font-family: var(--en); font-weight: 500; font-size: 56px; line-height: 1;
  color: var(--orange-deep); letter-spacing: .02em; margin-bottom: 22px;
}
.strength-item h3 { font-size: 24px; font-weight: 900; line-height: 1.5; color: var(--ink); margin-bottom: 16px; }
.strength-item p { font-size: 16px; line-height: 2; max-width: 440px; }
/* 01は幅いっぱいの主項目：番号・見出しを左、本文を右に */
.strength-item--lead {
  grid-column: 1 / -1; display: grid; grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.15fr); column-gap: 48px; align-items: start;
  padding: 48px 0 56px; border-left: 0; border-top: 1.5px solid var(--ink); border-bottom: 1px solid rgba(43,36,32,.22);
  margin-bottom: 24px;
}
.strength-item--lead .strength-no { font-size: 96px; margin: -6px 0 0; }
.strength-item--lead h3 { font-size: 32px; margin: 0; }
.strength-item--lead p { max-width: none; font-size: 17px; }
/* 02〜05：右の列を下げて段差をつける */
.strength-item:nth-child(odd):not(.strength-item--lead) { top: 110px; }

/* ==========================================================
   英字の帯（区画の切れ目の飾り）
   左から右へ一定の速さで流れる。CSSのみ・transformのみ。動きを減らす設定では止まり、文字は表示のまま
   ========================================================== */
.marquee { position: relative; z-index: 1; overflow: hidden; contain: paint; padding: 56px 0 8px; background: #fff; pointer-events: none; user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marqueeRight 60s linear infinite; will-change: transform; }
.marquee-set { display: flex; align-items: center; flex: none; margin: 0; }
.marquee-set span:not(.marquee-dot) {
  font-family: var(--en); font-weight: 600; font-size: clamp(56px, 8.4vw, 132px); line-height: 1.1;
  letter-spacing: .01em; color: #efe7dc; white-space: nowrap; padding: 0 .32em;
}
.marquee-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); opacity: .55; }
/* 帯の直後の区画は上の余白を詰める */
.marquee + .service { padding-top: 88px; }
@keyframes marqueeRight { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 767px) {
  .marquee { padding: 36px 0 0; }
  .marquee-set span:not(.marquee-dot) { font-size: 52px; }
  .marquee-dot { width: 10px; height: 10px; }
  .marquee-track { animation-duration: 40s; }
  .marquee + .service { padding-top: 64px; }
}

/* ==========================================================
   診療内容（スクロールで重なるカード）
   ========================================================== */
.service { padding: 140px 0 100px; background: #fff; }
.cards { padding: 0 40px; max-width: 1440px; margin: 0 auto; }
.card {
  position: sticky; top: 120px;
  height: min(680px, calc(100vh - 160px)); min-height: 520px;
  border-radius: 28px; overflow: hidden; margin-bottom: 48px;
  color: #fff;
  box-shadow: 0 -10px 40px rgba(43,36,32,.10);
  transform-origin: 50% 0; will-change: transform, opacity;
}
.card:last-child { margin-bottom: 0; }
.card--green  { background: var(--green); }
.card--orange { background: var(--orange-deep); }
.card--yellow { background: var(--yellow); color: var(--ink); }
.card::before { /* 色面の奥にうっすら大きな円 */
  content: ""; position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.07); pointer-events: none;
}
.card--yellow::before { background: rgba(255,255,255,.28); }
.card-inner { position: relative; display: grid; grid-template-columns: 44% 1fr; gap: 64px; height: 100%; padding: 56px; }
.card-photo { border-radius: 18px; overflow: hidden; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); will-change: transform; }
.card-body { position: relative; display: flex; flex-direction: column; justify-content: center; padding-right: 40px; will-change: transform; }
.card-kicker { font-size: 22px; font-weight: 700; line-height: 1.7; }
.card-title { font-size: clamp(40px, 4.4vw, 64px); font-weight: 900; line-height: 1.3; margin-top: 12px; letter-spacing: .05em; }
.card-target { margin-top: 48px; padding-left: 20px; border-left: 2px solid currentColor; font-size: 16px; line-height: 1.9; }
.card-target-label { font-weight: 900; margin-bottom: 4px; }
.card-arrow { /* 四角いボタン。ホバーで色面がせり上がる */
  position: absolute; right: 0; bottom: 0; width: 76px; height: 76px; border-radius: 4px; background: #fff;
  display: grid; place-items: center; overflow: hidden; isolation: isolate; color: var(--green);
  transition: color .44s var(--ease-soft);
}
.card-arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .44s var(--ease-soft); }
.card-arrow .btn-arw { width: 30px; }
.card--orange .card-arrow { color: var(--orange-deep); }
.card--yellow .card-arrow { background: var(--ink); color: var(--yellow); }
.card--yellow .card-arrow::before { background: #fff; }
@media (hover: hover) {
  .card-arrow:hover { color: #fff; }
  .card--yellow .card-arrow:hover { color: var(--ink); }
  .card-arrow:hover::before { transform: scaleY(1); }
  .card-arrow:hover .btn-arw::before { transform: scaleX(1.45); }
  .card-arrow:hover .btn-arw::after { transform: translateX(13px) rotate(45deg); }
}

/* ==========================================================
   人と場所
   配置の考え方：大きな写真に文章の面を重ね、写真ブロックを上下にずらす
   ========================================================== */
.faces { padding: 150px 0 160px; background: #fff; }
.faces-head { margin-bottom: 64px; }
.faces-staff { position: relative; max-width: 1440px; margin: 0 auto; padding-right: 40px; }
.faces-staff-link { display: grid; grid-template-columns: 64% 1fr; align-items: end; }
.faces-staff-photo { aspect-ratio: 3 / 2; border-radius: 0 20px 20px 0; }
.faces-staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.faces-note {
  position: relative; z-index: 1; margin: 0 0 -72px -120px; padding: 48px 48px 52px;
  background: #fff; border-radius: 16px 16px 0 16px; box-shadow: 0 24px 60px rgba(43,36,32,.10);
  display: flex; flex-direction: column; gap: 10px;
}
.face-en { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--orange-deep); line-height: 1; }
.faces-note h3, .faces-clinic-body h3 { font-size: 32px; font-weight: 900; color: var(--ink); line-height: 1.4; }
.faces-note p:not(.face-en), .faces-clinic-body p:not(.face-en) { margin-bottom: 18px; }
.faces-note .btn, .faces-clinic-body .btn { align-self: flex-start; }
.faces-clinic { display: grid; grid-template-columns: 1fr 1.25fr; gap: 72px; align-items: center; margin-top: 180px; }
.faces-clinic-body { display: flex; flex-direction: column; gap: 10px; padding-left: 8%; }
.faces-clinic-photo { aspect-ratio: 16 / 10; border-radius: 20px; transform: translateY(-40px); }
.faces-clinic-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   採用情報
   配置の考え方：見出しと短い本文の列と、画面の右端まで届く大きな写真を左右に置く
   ========================================================== */
.recruit { position: relative; background: transparent; padding: 150px 0; }
.sec-plate { position: absolute; inset: 0; z-index: 0; pointer-events: none; will-change: transform; }
.recruit > .sec-plate { background: var(--cream-2); }
.recruit > .wrap, .access > .wrap { position: relative; z-index: 1; }
.recruit-wrap { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 80px; align-items: center; }
.recruit-text { padding: 40px 0; }
.recruit-lead { margin-top: 28px; font-size: 18px; }
.recruit-cta { display: flex; margin-top: 48px; }
.recruit-photo { border-radius: 24px 0 0 24px; aspect-ratio: 4 / 3; margin-right: calc(-1 * var(--side)); }
.recruit-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================
   患者様向けのご案内
   配置の考え方：番号と細い罫線で行を区切る、表のような整理
   ========================================================== */
.guide { padding: 150px 0; background: #fff; }
.guide-rows { border-bottom: 1px solid var(--line); }
.guide-row {
  position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) auto; gap: 56px;
  align-items: start; padding: 44px 0;
}
.guide-row::before { /* 行の上の罫線（表示時に左から引かれる） */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); transform-origin: 0 50%;
}
.guide-row--main { padding: 56px 0 60px; }
.guide-row--main::before { height: 1.5px; background: var(--ink); }
.guide-title { display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; align-items: baseline; }
.guide-no { grid-row: 1 / 3; font-family: var(--en); font-weight: 500; font-size: 30px; line-height: 1; color: var(--orange-deep); padding-top: 4px; }
.guide-en { font-family: var(--en); font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--muted); line-height: 1; margin-bottom: 12px; }
.guide-title h3 { font-size: 26px; font-weight: 900; line-height: 1.5; color: var(--ink); }
.guide-row--main .guide-title h3 { font-size: 32px; }
.guide-title h3 a { transition: color .3s; }
.guide-title h3 a:hover { color: var(--orange-deep); }
.guide-text { font-size: 16px; }
.guide-list { margin-top: 14px; }
.guide-list li + li { border-top: 1px dashed var(--line); }
.guide-list a { display: block; padding: 10px 0; font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--ink); transition: color .3s, transform .5s var(--ease-soft); }
.guide-list a:hover { color: var(--orange-deep); transform: translateX(6px); }
.guide-list--faq a { position: relative; padding-left: 34px; }
.guide-list--faq a::before { content: "Q"; position: absolute; left: 0; top: 10px; font-family: var(--en); font-weight: 600; color: var(--orange-deep); font-size: 17px; line-height: 1.5; }
.guide-list time { display: block; font-family: var(--en); font-size: 12px; color: var(--muted); font-weight: 500; }
.guide-action { padding-top: 4px; }

/* ==========================================================
   お知らせ
   ========================================================== */
.news { padding: 120px 0 140px; background: var(--cream); }
.news-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 64px; }
.news-head .btn { margin-top: 32px; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a { display: block; padding: 26px 8px; transition: background .4s var(--ease-out), padding .5s var(--ease-soft); }
.news-list a:hover { background: #fff; padding-left: 20px; }
.news-meta { display: flex; align-items: center; gap: 14px; font-family: var(--en); font-size: 14px; color: var(--muted); line-height: 1.6; }
.tag { font-family: var(--font); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 4px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.news-title { display: block; margin-top: 6px; font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.7; }

/* ==========================================================
   アクセス・予約
   配置の考え方：写真と医院情報を左右に置き、電話番号を大きく
   ========================================================== */
.access { position: relative; padding: 150px 0 140px; color: #fff; background: transparent; }
.access > .sec-plate { background: var(--ink); }
.access .h-xl { color: #fff; }
.access-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
.access-photo { position: sticky; top: 140px; aspect-ratio: 4 / 5; border-radius: 20px; }
.access-photo img { width: 100%; height: 100%; object-fit: cover; }
.access-tel { margin-top: 36px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.access-tel a { font-family: var(--en); font-size: 48px; font-weight: 600; letter-spacing: .04em; line-height: 1.2; color: var(--yellow); }
.access-tel span { font-size: 15px; opacity: .85; }
.access-dl { margin-top: 28px; }
.access-dl > div { display: grid; grid-template-columns: 110px 1fr; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); }
.access-dl > div:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.access-dl dt { font-weight: 700; color: var(--yellow); }
.access-dl dd { margin: 0; font-size: 17px; line-height: 1.9; }
.text-link { display: inline-block; margin-top: 20px; font-weight: 700; line-height: 1.6; position: relative; }
.text-link::before { content: ""; position: absolute; left: 0; right: 1.2em; bottom: -2px; height: 1.5px; background: var(--yellow); transform-origin: 0 50%; transition: transform .5s var(--ease-soft); }
.text-link:hover::before { transform: scaleX(.3); }
.text-link::after { content: " ↗"; }
.hours { margin-top: 48px; background: #fff; color: var(--ink); border-radius: 12px; padding: 30px 32px; }
.hours table { width: 100%; border-collapse: collapse; text-align: center; }
.hours caption { text-align: left; font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.hours th, .hours td { padding: 13px 6px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.5; }
.hours thead th { font-size: 14px; background: var(--cream); font-weight: 700; }
.hours tbody th { text-align: left; font-family: var(--en); font-weight: 600; white-space: nowrap; }
.hours tbody th small { display: block; font-family: var(--font); font-size: 13px; font-weight: 500; color: var(--muted); }
.hours td { color: var(--orange-deep); font-weight: 900; }
.hours td.off { color: #b9b0a7; font-weight: 500; }
.hours-note { margin-top: 14px; font-size: 14.5px; color: var(--muted); line-height: 1.8; }
.access-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; scroll-margin-top: 120px; }
.access-cta .btn { width: 100%; min-height: 76px; padding-left: 28px; font-size: 19px; }
.access-cta .btn--fill .btn-num { font-size: 28px; }

/* ==========================================================
   フッター
   ========================================================== */
.site-footer { position: relative; z-index: 2; background: #fff; padding: 80px 0 40px; border-top: 1px solid var(--line); }
.footer-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; }
.footer-brand img { width: 240px; }
.footer-brand p { margin-top: 18px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.footer-nav { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 24px; }
.footer-nav a, .footer-nav p { white-space: nowrap; }
.footer-nav-sub { margin-top: 18px; }
.footer-nav p { font-size: 13px; font-weight: 700; color: var(--orange-deep); margin-bottom: 8px; letter-spacing: .08em; }
.footer-nav a { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; padding: 6px 0; color: var(--ink); transition: color .3s, transform .5s var(--ease-soft); }
.footer-nav a:hover { color: var(--orange-deep); transform: translateX(4px); }
.photo-note { position: relative; z-index: 2; margin: 0; padding: 22px 20px; background: #fff; border-top: 1px solid var(--line); text-align: center; font-size: 14px; font-weight: 500; color: #5a5049; line-height: 1.8; }
.copyright { text-align: center; margin-top: 56px; font-family: var(--en); font-size: 12px; color: var(--muted); }

/* スマホ固定導線（PCでは非表示） */
.fixbar { display: none; }

/* ==========================================================
   スクロールで現れる（JSの準備が整ったときだけ隠す。JSが失敗しても隠れたままにならない）
   ========================================================== */
.motion-ready .reveal { opacity: 0; transform: translateX(-22px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-soft); transition-delay: var(--d, 0s); }
.motion-ready .reveal[data-from="right"] { transform: translateX(22px); }
.motion-ready .reveal.is-in { opacity: 1; transform: none; }
.motion-ready .eyebrow.reveal { transform: none; }
.motion-ready .eyebrow.reveal .eyebrow-line { transform: scaleX(0); transition: transform .8s var(--ease-soft) .1s; }
.motion-ready .eyebrow.reveal.is-in .eyebrow-line { transform: none; }
.motion-ready [data-split] .ln-i { transform: translateX(-104%); transition: transform 1s var(--ease-soft); transition-delay: calc(var(--i, 0) * .09s + .08s); }
.motion-ready [data-split].is-in .ln-i { transform: none; }
.motion-ready .guide-row.reveal { transform: none; }
.motion-ready .guide-row.reveal::before { transform: scaleX(0); transition: transform 1.1s var(--ease-soft); }
.motion-ready .guide-row.reveal > * { opacity: 0; transform: translateX(-16px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-soft); }
.motion-ready .guide-row.reveal > :nth-child(2) { transition-delay: .08s; }
.motion-ready .guide-row.reveal > :nth-child(3) { transition-delay: .16s; }
.motion-ready .guide-row.reveal.is-in::before { transform: none; }
.motion-ready .guide-row.reveal.is-in > * { opacity: 1; transform: none; }

/* ==========================================================
   幅と文字の大きさ（広い画面ほど中身を広く・文字を大きく）
   中身の幅は画面の約78%（1240px未満にはしない）。本文の1行は約40字までに抑える
   ========================================================== */
:root {
  --pad: 40px;
  --inner: max(1160px, 78vw);                     /* 中身の幅 */
  --side: max(var(--pad), calc((100vw - var(--inner)) / 2));   /* 中身の外側の余白 */
  --fs-body: clamp(17px, calc(10.5px + .5vw), 22px);
  --fs-small: clamp(16px, calc(9.5px + .45vw), 20px);
}
body { font-size: var(--fs-body); }
.wrap { max-width: calc(var(--inner) + var(--pad) * 2); padding: 0 var(--pad); }

/* 文字 */
.eyebrow { font-size: clamp(14px, calc(7px + .5vw), 20px); }
.eyebrow-line { width: clamp(44px, 3vw, 72px); }
.h-xl { font-size: clamp(30px, calc(14px + 2.4vw), 76px); }
.h-lg { font-size: clamp(28px, calc(12px + 1.8vw), 58px); }
.sec-lead { font-size: clamp(22px, calc(10px + .85vw), 32px); }
.btn { font-size: var(--fs-small); min-height: 3.5em; padding: .6em 1.35em .6em 1.6em; gap: 1.4em; }
.btn--lg { font-size: clamp(19px, calc(10px + .6vw), 25px); min-width: 20em; }
.btn--sm { font-size: clamp(15px, calc(9px + .42vw), 19px); min-height: 3em; }
.btn-sm { font-size: .78em; }
.btn-num { font-size: 1.4em; }
.btn-arw { width: 1.65em; }
/* 本文の1行の長さ（約40字） */
.about-text p, .strength-item p, .recruit-lead, .guide-text, .faces-note p, .faces-clinic-body p, .card-target, .hours-note { max-width: 40em; }

/* ヘッダー */
.site-header { padding: clamp(26px, 1.6vw, 40px) var(--pad) 0; }
.site-logo { width: clamp(250px, 14vw, 340px); }
.gnav > ul { height: clamp(60px, 3.6vw, 80px); }
.gnav > ul > li > a, .gnav-parent { font-size: clamp(15px, calc(9px + .42vw), 19px); padding: 0 clamp(16px, 1.1vw, 26px); }
.hbtn { font-size: clamp(15px, calc(9px + .42vw), 19px); padding: 0 clamp(22px, 1.5vw, 34px); }
.tel-num { font-size: clamp(18px, calc(10px + .55vw), 24px); }
.tel-time { font-size: clamp(12px, calc(7px + .35vw), 15px); }
.sub a { font-size: clamp(15px, calc(9px + .42vw), 19px); }
.sub { min-width: clamp(260px, 17vw, 380px); }

/* 医院の考え */
.about-body { max-width: none; padding: clamp(140px, 8vw, 220px) calc(var(--side)) clamp(120px, 7vw, 200px) clamp(80px, 6vw, 160px); }
.director { padding: clamp(24px, 1.6vw, 40px); gap: clamp(24px, 1.6vw, 40px); }
.director-photo { width: clamp(112px, 7vw, 150px); height: auto; aspect-ratio: 112 / 136; }
.director-role { font-size: clamp(14px, calc(8px + .4vw), 18px); }
.director-name { font-size: clamp(26px, calc(12px + 1vw), 38px); }
.director-meta { font-size: clamp(15px, calc(9px + .42vw), 19px); }

/* 強み */
.strength { padding: clamp(150px, 9vw, 240px) 0 clamp(220px, 12vw, 320px); }
.strength-head { max-width: none; margin-bottom: clamp(80px, 5vw, 130px); }
.strength-list { column-gap: clamp(96px, 7vw, 200px); row-gap: clamp(72px, 4.5vw, 120px); }
.strength-no { font-size: clamp(56px, 3.9vw, 100px); }
.strength-item h3 { font-size: clamp(24px, calc(10px + 1vw), 38px); }
.strength-item--lead { grid-template-columns: clamp(120px, 9vw, 230px) minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(48px, 3.5vw, 100px); padding: clamp(48px, 3.4vw, 90px) 0 clamp(56px, 3.9vw, 100px); }
.strength-item--lead .strength-no { font-size: clamp(96px, 6.7vw, 170px); }
.strength-item--lead h3 { font-size: clamp(32px, calc(12px + 1.4vw), 52px); }
.strength-item--lead p { font-size: var(--fs-body); }
.strength-item:nth-child(odd):not(.strength-item--lead) { top: clamp(110px, 7vw, 180px); }

/* 英字の帯 */
.marquee-set span:not(.marquee-dot) { font-size: clamp(56px, 8.4vw, 200px); }
.marquee-dot { width: clamp(14px, 1vw, 24px); height: clamp(14px, 1vw, 24px); }

/* 診療内容のカード：画面いっぱいに近く */
.service { padding-top: clamp(140px, 8vw, 220px); }
.marquee + .service { padding-top: clamp(88px, 5vw, 140px); }
.cards { max-width: none; padding: 0 max(40px, 4vw); }
.card { height: min(calc(100vh - 160px), max(680px, 38vw)); top: clamp(120px, 7vw, 150px); border-radius: clamp(28px, 1.9vw, 44px); margin-bottom: clamp(48px, 3vw, 80px); }
.card-inner { grid-template-columns: 46% 1fr; gap: clamp(64px, 4.4vw, 140px); padding: clamp(56px, 3.6vw, 96px); }
.card-photo { border-radius: clamp(18px, 1.2vw, 30px); }
.card-kicker { font-size: clamp(22px, calc(10px + .85vw), 34px); }
.card-title { font-size: clamp(40px, calc(15px + 3.4vw), 104px); }
.card-target { font-size: var(--fs-small); margin-top: clamp(48px, 3vw, 80px); }
.card-arrow { width: clamp(76px, 5vw, 120px); height: clamp(76px, 5vw, 120px); }
.card-arrow .btn-arw { width: clamp(30px, 2vw, 46px); }

/* 人と場所 */
.faces { padding: clamp(150px, 9vw, 240px) 0 clamp(160px, 9.5vw, 250px); }
.faces-head { margin-bottom: clamp(64px, 4vw, 110px); }
.faces-staff { max-width: none; padding-right: var(--side); }
.faces-note { padding: clamp(48px, 3.2vw, 88px); margin-left: clamp(-200px, -8vw, -120px); justify-self: start; width: 100%; max-width: clamp(480px, 30vw, 760px); }
.faces-note h3, .faces-clinic-body h3 { font-size: clamp(32px, calc(12px + 1.4vw), 54px); }
.face-en { font-size: clamp(13px, calc(7px + .42vw), 18px); }
.faces-clinic { margin-top: clamp(180px, 11vw, 280px); gap: clamp(72px, 5vw, 140px); }

/* 採用 */
.recruit { padding: clamp(150px, 9vw, 240px) 0; }
.recruit-wrap { gap: clamp(80px, 5.5vw, 160px); }
.recruit-lead { font-size: clamp(18px, calc(11px + .5vw), 23px); margin-top: clamp(28px, 2vw, 48px); }
.recruit-cta { margin-top: clamp(48px, 3vw, 72px); }

/* ご案内 */
.guide { padding: clamp(150px, 9vw, 240px) 0; }
.guide-row { gap: clamp(56px, 4vw, 120px); padding: clamp(44px, 3vw, 76px) 0; }
.guide-row--main { padding: clamp(56px, 3.9vw, 96px) 0 clamp(60px, 4.2vw, 104px); }
.guide-title { grid-template-columns: 2.1em 1fr; font-size: clamp(30px, 2.1vw, 50px); column-gap: .45em; }
.guide-no { font-size: 1em; }
.guide-en { font-size: clamp(12px, calc(7px + .35vw), 16px); }
.guide-title h3 { font-size: clamp(26px, calc(11px + 1.05vw), 42px); }
.guide-row--main .guide-title h3 { font-size: clamp(32px, calc(12px + 1.4vw), 52px); }
.guide-text { font-size: var(--fs-small); }
.guide-list a { font-size: var(--fs-small); }
.guide-list--faq a { padding-left: 2.1em; }
.guide-list--faq a::before { font-size: 1.1em; }
.guide-list time { font-size: clamp(12px, calc(7px + .35vw), 16px); }

/* お知らせ */
.news { padding: clamp(120px, 7.5vw, 200px) 0 clamp(140px, 8.5vw, 220px); }
.news-wrap { grid-template-columns: clamp(320px, 24vw, 560px) 1fr; gap: clamp(64px, 4.4vw, 140px); }
.news-list a { padding: clamp(26px, 1.8vw, 44px) 8px; }
.news-meta { font-size: clamp(14px, calc(8px + .42vw), 18px); }
.news-title { font-size: clamp(18px, calc(10px + .6vw), 26px); }
.tag { font-size: .85em; }

/* アクセス */
.access { padding: clamp(150px, 9vw, 240px) 0 clamp(140px, 8.5vw, 220px); }
.access-wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(80px, 5.5vw, 160px); }
.access-photo { top: clamp(140px, 8vw, 180px); max-width: 680px; aspect-ratio: 1 / 1.1; }
.access-tel a { font-size: clamp(48px, 3.4vw, 84px); }
.access-tel span { font-size: var(--fs-small); }
.access-dl > div { grid-template-columns: 7em 1fr; }
.access-dl dt { font-size: var(--fs-small); }
.access-dl dd { font-size: var(--fs-body); }
.hours { padding: clamp(30px, 2.2vw, 56px) clamp(32px, 2.4vw, 60px); }
.hours caption { font-size: clamp(20px, calc(10px + .7vw), 30px); }
.hours th, .hours td { font-size: clamp(17px, calc(9px + .55vw), 23px); padding: .8em .4em; }
.hours thead th { font-size: clamp(14px, calc(8px + .42vw), 19px); }
.hours tbody th small { font-size: .78em; }
.hours-note { font-size: clamp(14.5px, calc(8.5px + .42vw), 18px); }
.access-cta .btn { min-height: 4.2em; font-size: clamp(19px, calc(10px + .6vw), 25px); }
.access-cta .btn-sm { font-size: .7em; }

/* フッター */
.footer-wrap { grid-template-columns: clamp(280px, 20vw, 460px) 1fr; gap: clamp(56px, 4vw, 120px); }
.footer-brand img { width: clamp(240px, 14vw, 340px); }
.footer-brand p { font-size: clamp(15px, calc(9px + .42vw), 19px); }
.footer-nav p { font-size: clamp(13px, calc(7.5px + .38vw), 17px); }
.footer-nav a { font-size: clamp(15px, calc(9px + .42vw), 19px); }
.photo-note { font-size: clamp(14px, calc(8px + .42vw), 18px); }
.copyright { font-size: clamp(12px, calc(7px + .35vw), 15px); }

/* ==========================================================
   写真の隅のマーク（生成した写真のみ。画像は加工せず、写真の枠に重ねる。写真が動いても枠に固定）
   ========================================================== */
.photo-tag { position: relative; }
.hero-photo.photo-tag { position: absolute; }
.photo-tag::after {
  content: "サンプル";
  position: absolute; z-index: 2; top: clamp(12px, .9vw, 20px); left: clamp(12px, .9vw, 20px);
  padding: .3em .75em; border-radius: 4px;
  background: rgba(30, 22, 16, .62); color: #fff;
  font-family: var(--font); font-size: clamp(12px, calc(9px + .22vw), 14px); font-weight: 700; line-height: 1.4; letter-spacing: .08em;
  pointer-events: none; user-select: none;
}
.photo-tag--r::after { left: auto; right: clamp(12px, .9vw, 20px); }
/* 第一画面：ヘッダー（ロゴ）の下に置く */
.photo-tag--hero::after { top: clamp(124px, 7.6vw, 160px); left: var(--pad); }

/* ==========================================================
   レスポンシブ
   ========================================================== */
@media (max-width: 1240px) {
  .gnav { display: none; }
  .menu-toggle { display: flex; }
  .header-right { align-items: center; }
  .header-cta { height: 56px; }
}
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-photo { aspect-ratio: 4 / 3; }
  .about-body { padding: 100px 40px; max-width: none; }
  .strength-item--lead { grid-template-columns: 1fr; row-gap: 18px; }
  .card-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 40px; }
  .faces-staff-link { grid-template-columns: 1fr; }
  .faces-note { margin: -80px 0 0 40px; max-width: 520px; }
  .faces-clinic { grid-template-columns: 1fr; gap: 32px; margin-top: 96px; }
  .faces-clinic-photo { transform: none; order: -1; }
  .faces-clinic-body { padding-left: 0; }
  .recruit-wrap { grid-template-columns: 1fr; gap: 48px; }
  .recruit-text { padding: 0; }
  .guide-row { grid-template-columns: 1fr 1.4fr; }
  .guide-action { grid-column: 2; }
  .access-wrap { grid-template-columns: 1fr; }
  .access-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .footer-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  :root { --radius: 16px; }
  .photo-tag::after { font-size: 12px; top: 10px; left: 10px; }
  .photo-tag--r::after { left: auto; right: 10px; }
  .photo-tag--hero::after { top: 84px; left: 14px; }
  /* スマホは従来の大きさ（幅と文字の拡大はPCのみ） */
  :root { --pad: 20px; --fs-body: 16px; --fs-small: 15.5px; }
  .eyebrow-line { width: 32px; }
  .btn { min-height: 54px; padding: 10px 18px 10px 22px; gap: 18px; }
  .btn--lg { min-width: 0; }
  .site-header { padding: 14px 14px 0; }
  .site-logo { width: 168px; }
  .about-body { padding: 72px 20px 80px; }
  .director { padding: 18px; gap: 16px; }
  .director-photo { width: 84px; }
  .director-role { font-size: 14px; }
  .director-name { font-size: 22px; }
  .director-meta { font-size: 14px; }
  .strength { padding: 88px 0 96px; }
  .strength-head { margin-bottom: 44px; }
  .strength-list { row-gap: 44px; }
  .strength-no { font-size: 44px; }
  .strength-item h3 { font-size: 21px; }
  .strength-item p { font-size: 15.5px; }
  .strength-item--lead { padding: 32px 0 36px; }
  .strength-item--lead .strength-no { font-size: 64px; }
  .strength-item--lead h3 { font-size: 24px; }
  .strength-item--lead p { font-size: 15.5px; }
  .strength-item:nth-child(odd):not(.strength-item--lead) { top: 0; }
  .service { padding-top: 88px; }
  .cards { padding: 0 14px; }
  .card { top: 78px; height: auto; border-radius: 22px; margin-bottom: 28px; }
  .card-inner { grid-template-columns: 1fr; gap: 22px; padding: 18px 18px 26px; }
  .card-photo { border-radius: 18px; }
  .card-kicker { font-size: 16px; }
  .card-target { font-size: 14.5px; margin-top: 20px; }
  .card-arrow { width: 58px; height: 58px; }
  .card-arrow .btn-arw { width: 24px; }
  .faces { padding: 88px 0 96px; }
  .faces-head { margin-bottom: 36px; }
  .faces-staff { padding-right: 14px; }
  .faces-note { padding: 28px 22px 30px; margin-left: 28px; max-width: none; width: auto; }
  .faces-note h3, .faces-clinic-body h3 { font-size: 26px; }
  .face-en { font-size: 13px; }
  .faces-clinic { margin-top: 72px; gap: 24px; }
  .recruit { padding: 88px 0 96px; }
  .recruit-wrap { gap: 56px; }
  .recruit-lead { font-size: 16px; }
  .guide { padding: 88px 0; }
  .guide-row, .guide-row--main { gap: 18px; padding: 32px 0 36px; }
  .guide-title { grid-template-columns: 46px 1fr; font-size: 24px; column-gap: 14px; }
  .guide-en { font-size: 12px; }
  .guide-title h3, .guide-row--main .guide-title h3 { font-size: 23px; }
  .guide-list a { font-size: 15px; }
  .guide-text { font-size: 16px; }
  .marquee-set span:not(.marquee-dot) { font-size: 52px; }
  .marquee-dot { width: 10px; height: 10px; }
  .marquee + .service { padding-top: 64px; }
  .guide-list time { font-size: 12px; }
  .news { padding: 80px 0 88px; }
  .news-wrap { grid-template-columns: 1fr; gap: 28px; }
  .news-list a { padding: 20px 4px; }
  .news-meta { font-size: 14px; }
  .news-title { font-size: 16.5px; }
  .access { padding: 88px 0; }
  .access-wrap { grid-template-columns: 1fr; gap: 40px; }
  .access-photo { max-width: none; aspect-ratio: 16 / 10; }
  .access-tel a { font-size: 36px; }
  .access-tel span { font-size: 15px; }
  .access-dl dt { font-size: 16px; }
  .access-dl dd { font-size: 16px; }
  .hours { padding: 22px 14px; }
  .hours caption { font-size: 19px; }
  .hours th, .hours td { padding: 12px 2px; font-size: 15px; }
  .hours thead th { font-size: 12px; }
  .hours-note { font-size: 14.5px; }
  .access-cta .btn { min-height: 68px; font-size: 17px; }
  .footer-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand img { width: 240px; }
  .footer-brand p { font-size: 15px; }
  .footer-nav p { font-size: 13px; }
  .footer-nav a { font-size: 14px; }
  .photo-note { font-size: 14px; }
  .copyright { font-size: 12px; }

  body { font-size: 16px; line-height: 1.95; padding-bottom: 64px; }
  .sp { display: inline; }
  .pc { display: none; }
  .wrap { padding: 0 20px; }
  .sec-head { margin-bottom: 40px; }
  .sec-head--split { display: block; }
  .sec-lead { font-size: 18px; margin-top: 20px; }
  .eyebrow { font-size: 12px; margin-bottom: 16px; }
  .eyebrow-line { width: 32px; }
  .h-xl { font-size: 27px; }
  .btn { min-height: 54px; font-size: 15.5px; }
  .btn--lg { min-width: 0; width: 100%; font-size: 17px; min-height: 62px; }

  .site-header { padding: 14px 14px 0; }
  .site-logo { width: 168px; padding: 9px 11px; border-radius: 10px; }
  .header-cta { display: none; }
  .menu-toggle { width: 52px; height: 52px; }

  .hero { height: 100svh; min-height: 600px; }
  .hero-photo img { object-position: 50% 30%; }
  .hero-shade { background: linear-gradient(to top, rgba(30,22,16,.82) 0%, rgba(30,22,16,.55) 32%, rgba(30,22,16,0) 58%); }
  .hero-copy { left: 22px; right: 22px; bottom: 100px; }
  .hero-title { font-size: 27px; line-height: 1.55; letter-spacing: .03em; }
  .hero-title br { display: none; }
  .hero-lead { font-size: 15px; margin-top: 16px; line-height: 1.9; }
  .hero-scroll { display: none; }

  .about-body { padding: 72px 20px 80px; }
  .about-text { margin-top: 24px; }
  .director { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px; }
  .director-photo { width: 84px; height: 104px; }
  .director-name { font-size: 22px; }
  .director-meta { font-size: 14px; line-height: 1.75; }
  .link-row { margin-top: 28px; }
  .link-row .btn { flex: 1 1 100%; }

  .strength { padding: 88px 0 96px; }
  .strength-head { margin-bottom: 44px; }
  .strength-list { grid-template-columns: 1fr; row-gap: 44px; }
  .strength-item { padding-left: 22px; }
  .strength-item:nth-child(odd):not(.strength-item--lead) { top: 0; margin-left: 28px; }
  .motion-ready .reveal[data-from="right"] { transform: translateX(-22px); }
  .motion-ready .reveal[data-from="right"].is-in { transform: none; }
  .strength-item--lead { padding: 32px 0 36px; margin-bottom: 0; }
  .strength-item--lead .strength-no { font-size: 64px; }
  .strength-item--lead h3 { font-size: 24px; }
  .strength-item--lead p { font-size: 15.5px; }
  .strength-no { font-size: 44px; margin-bottom: 14px; }
  .strength-item h3 { font-size: 21px; }
  .strength-item p { font-size: 15.5px; }

  .service { padding: 88px 0 72px; }
  .cards { padding: 0 14px; }
  .card { top: 78px; height: auto; min-height: 0; margin-bottom: 28px; border-radius: 22px; }
  .card-inner { grid-template-columns: 1fr; gap: 22px; padding: 18px 18px 26px; height: auto; }
  .card-photo { aspect-ratio: 16 / 10; }
  .card-body { padding-right: 0; }
  .card-kicker { font-size: 16px; }
  .card-title { font-size: 34px; margin-top: 4px; }
  .card-target { margin-top: 20px; font-size: 14.5px; padding-left: 14px; padding-right: 74px; }
  .card-target br { display: none; }
  .card-arrow { width: 58px; height: 58px; }
  .card-arrow .btn-arw { width: 24px; }

  .faces { padding: 88px 0 96px; }
  .faces-head { margin-bottom: 36px; }
  .faces-staff { padding-right: 14px; }
  .faces-staff-photo { border-radius: 0 14px 14px 0; }
  .faces-note { margin: -48px 0 0 28px; padding: 28px 22px 30px; border-radius: 12px 0 12px 12px; }
  .faces-note h3, .faces-clinic-body h3 { font-size: 26px; }
  .faces-clinic { margin-top: 72px; gap: 24px; }
  .faces-clinic-photo { border-radius: 14px; margin-right: -20px; }

  .recruit { padding: 88px 0 96px; }
  .recruit-wrap { gap: 56px; }
  .recruit-lead { font-size: 16px; margin-top: 20px; }
  .recruit-cta { margin-top: 32px; }
  .recruit-cta .btn { width: 100%; }
  .recruit-photo { border-radius: 14px 0 0 14px; margin-right: -20px; }

  .guide { padding: 88px 0; }
  .guide-row, .guide-row--main { grid-template-columns: 1fr; gap: 18px; padding: 32px 0 36px; }
  .guide-action { grid-column: auto; }
  .guide-action .btn { width: 100%; }
  .guide-title { grid-template-columns: 46px 1fr; }
  .guide-no { font-size: 24px; }
  .guide-title h3, .guide-row--main .guide-title h3 { font-size: 23px; }

  .news { padding: 80px 0 88px; }
  .news-wrap { grid-template-columns: 1fr; gap: 28px; }
  .news-head .btn { margin-top: 18px; }
  .news-list a { padding: 20px 4px; }
  .news-title { font-size: 16.5px; }

  .access { padding: 88px 0; }
  .access-wrap { gap: 40px; }
  .access-photo { border-radius: 14px; }
  .access-tel a { font-size: 36px; }
  .access-dl > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .access-dl dd { font-size: 16px; }
  .hours { margin-top: 36px; padding: 22px 14px; border-radius: 12px; }
  .hours caption { font-size: 19px; }
  .hours th, .hours td { padding: 12px 2px; font-size: 15px; }
  .hours thead th { font-size: 12px; }
  .hours tbody th { font-size: 13px; white-space: normal; }
  .hours tbody th small { font-size: 11px; }
  .access-cta .btn { min-height: 68px; font-size: 17px; padding-left: 22px; }
  .access-cta .btn--fill .btn-num { font-size: 24px; }

  .site-footer { padding: 56px 0 32px; }
  .footer-wrap { gap: 36px; }
  .footer-nav { grid-template-columns: 1fr 1fr; justify-content: stretch; gap: 20px 16px; }
  .footer-nav a, .footer-nav p { white-space: normal; }
  .footer-nav a { font-size: 14px; padding: 8px 0; }

  /* 固定導線：白い帯に細い線のアイコン。電話だけ色面で少し広く */
  .fixbar {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: 64px;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(43,36,32,.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .fixbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: .04em; transition: background .3s, transform .3s var(--ease-out); }
  .fixbar a:active { transform: scale(.96); }
  .fixbar a + a { border-left: 1px solid var(--line); }
  .fixbar a:not(.fixbar-tel) { flex-direction: column; gap: 2px; font-size: 11.5px; }
  .fixbar svg { width: 20px; height: 20px; flex: none; }
  .fixbar .fixbar-tel { background: var(--orange-deep); color: #fff; font-size: 14.5px; }
  .fixbar .fixbar-recruit { color: var(--orange-deep); background: var(--cream-2); }
}

/* 動きを減らす設定の方には、動きを止める（内容はすべて最初から見える） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal, .motion-ready .reveal > *, .motion-ready [data-split] .ln-i,
  .motion-ready .eyebrow.reveal .eyebrow-line, .motion-ready .guide-row.reveal::before { opacity: 1 !important; transform: none !important; }
  .hero-curtain { display: none; }
  .marquee-track { transform: none; }
  [data-drift] img, .card-photo img { transform: none; }
}
