@charset "UTF-8";
/* =========================================================
   小松川病院 採用ページ専用スタイル
   オープニング（森を抜けて病院へ着くロード演出）と
   イラスト世界観の本文セクション。
   注意: iOS対策で fixed / sticky の内側では filter を使わない
   ========================================================= */

/* 一部のiOSアプリ内ブラウザでは、ルート要素の横方向クリップが
   stickyを解除することがある。採用ページ内の装飾は各セクションで
   個別にクリップしているため、ルートは通常の表示へ戻す。 */
html.recruit-motion-page, html.recruit-motion-page body { overflow-x: visible; }

/* ---------- 背景ウォッシュ（スクロールで色が変わる固定レイヤー） ---------- */
.rc-wash {
  position: fixed; inset: 0; z-index: -1;
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 260px 260px;
  transition: background-color .55s var(--ease);
  pointer-events: none;
}

/* =========================================================
   オープニング
   ========================================================= */
.op {
  --op-duration: 6.4s;
  --op-ease-out: cubic-bezier(.23,1,.32,1);
  --op-ease-in-out: cubic-bezier(.45,0,.55,1);
  position: relative;
  height: 100vh;
  height: calc(var(--app-vh, 1vh) * 100);
  background: #e9f2f7;
}
.op__stage {
  position: relative; height: 100vh; height: calc(var(--app-vh, 1vh) * 100);
  overflow: hidden;
  background: #e9f2f7;
}
.op__stage::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 54% 64% at 50% 54%,
    rgba(233,242,247,0) 24%,
    rgba(52,95,69,.08) 62%,
    rgba(29,69,47,.25) 100%);
  pointer-events: none;
}

/* 全レイヤー共通（PCは全レイヤーを同じ枠で重ねて1枚の絵に合成する） */
.op__img, .op__side {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 64%;
  pointer-events: none;
  user-select: none;
}
.op__img--far   { z-index: 1; opacity: 1; transform: scale(1.04); transform-origin: 49% 66.5%; }
.op__img--close { z-index: 3; opacity: 0; transform: scale(1); transform-origin: 50% 58%; }

/* 遠景と玄関の遠近差を隠し、森を抜けた木漏れ日としてつなぐベール */
.op__dip {
  position: absolute; inset: 0; z-index: 4;
  background: radial-gradient(ellipse 70% 60% at 50% 52%, #FFFDFA 0%, #FDFAF7 70%, rgba(253,250,247,.96) 100%);
  opacity: 0;
  pointer-events: none;
}

.op__cloud, .op__bird {
  position: absolute; z-index: 4;
  pointer-events: none; user-select: none;
}
.op__cloud { top: 8%; right: 7%; width: clamp(96px, 11vw, 170px); opacity: .92; }
.op__bird  { top: 33%; left: 15%; width: clamp(48px, 5vw, 82px); }

.op__side--l { z-index: 5; transform: translate3d(7%,0,0) scale(1.18); transform-origin: 18% 72%; }
.op__side--r { z-index: 5; transform: translate3d(-7%,0,0) scale(1.18); transform-origin: 82% 72%; }

/* 実際の画像読み込みを割合で見せ、100%から前進演出へつなぐ */
.op__loader {
  position: absolute; left: 50%; bottom: clamp(92px, 16vh, 150px); z-index: 8;
  width: min(68vw, 410px);
  transform: translateX(-50%);
  padding: 12px 15px 11px;
  color: #382626;
  background: rgba(253,250,247,.94);
  box-shadow: 0 0 24px 12px rgba(253,250,247,.72);
}
.op__loader-meta {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 9px;
  font-family: "Times New Roman", serif;
  font-size: 12px; line-height: 1;
  letter-spacing: .28em;
}
.op__loader-num {
  min-width: 3.6ch;
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-numeric: tabular-nums;
}
.op__loader-track {
  display: block; height: 2px;
  overflow: hidden;
  background: rgba(77,58,58,.22);
}
.op__loader-fill {
  display: block; width: 100%; height: 100%;
  background: #d96f82;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* 中央タイトル */
.op__center {
  position: absolute; inset: 0; z-index: 6;
  display: grid; place-content: center;
  text-align: center; padding: 0 24px;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.op__center::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: min(92vw, 660px); height: min(calc(var(--app-vh, 1vh) * 62), 470px);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
    rgba(253,250,247,.94) 0%,
    rgba(253,250,247,.6) 55%,
    rgba(253,250,247,0) 100%);
  pointer-events: none;
}
.op__ttl { position: relative; margin: 0; display: grid; gap: 10px; font-weight: 400; }
.op__org {
  font-size: 13px; letter-spacing: .22em; color: var(--ink-sub);
}
.op__name {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(40px, 6vw, 66px);
  letter-spacing: .16em; text-indent: .16em;
  color: var(--ink); line-height: 1.2;
}
.op__en {
  font-family: "Times New Roman", serif;
  font-size: 13px; letter-spacing: .46em; text-indent: .46em;
  color: var(--pink-400);
}
.op__copy {
  position: relative; margin: 26px 0 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(15px, 2vw, 19px); letter-spacing: .12em;
  color: var(--ink);
}

.op__ttl, .op__copy { opacity: 1; transform: none; }

/* 途中のキャプション */
.op__caption {
  position: absolute; inset: 0; z-index: 6;
  display: none;
  margin: 0; padding: 0 28px;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(18px, 2.8vw, 30px);
  letter-spacing: .14em; line-height: 2.1;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(253,250,247,.95), 0 0 6px rgba(253,250,247,.9);
  opacity: 0;
  pointer-events: none;
}

/* スクロールの合図 */
.op__cue {
  position: absolute; left: 50%; bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 7;
  display: grid; justify-items: center; gap: 4px;
  margin: 0;
  font-family: "Times New Roman", serif;
  font-size: 11px; letter-spacing: .32em; text-indent: .32em;
  color: var(--pink-500);
  opacity: 0;
}
.op__cue .arrow {
  display: block; font-size: 15px;
  animation: op-cue-bob 1.8s var(--ease) infinite;
}
@keyframes op-cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(7px); }
}

/* 画像の復号後に、森から玄関までを時間軸で一度だけ進める */
.op--playing .op__img,
.op--playing .op__side,
.op--playing .op__dip,
.op--playing .op__cloud,
.op--playing .op__bird,
.op--playing .op__center,
.op--playing .op__cue { will-change: transform, opacity; }
.op--playing .op__img--far {
  animation: op-far-zoom var(--op-duration) var(--op-ease-in-out) both;
}
.op--playing .op__img--close {
  animation:
    op-hospital-arrive var(--op-duration) var(--op-ease-in-out) both,
    op-hospital-fade var(--op-duration) linear both;
}
.op--playing .op__side--l {
  animation:
    op-forest-left var(--op-duration) var(--op-ease-in-out) both,
    op-forest-fade var(--op-duration) linear both;
}
.op--playing .op__side--r {
  animation:
    op-forest-right var(--op-duration) var(--op-ease-in-out) both,
    op-forest-fade var(--op-duration) linear both;
}
.op--playing .op__cloud {
  animation: op-cloud-pass var(--op-duration) var(--op-ease-in-out) both;
}
.op--playing .op__bird {
  animation: op-bird-pass var(--op-duration) var(--op-ease-in-out) both;
}
.op--playing .op__center {
  animation: op-message-in var(--op-duration) var(--op-ease-out) both;
}
.op--playing .op__cue {
  animation: op-cue-in var(--op-duration) var(--op-ease-out) both;
}
.op--playing .op__loader {
  animation: op-loader-out .55s ease both;
}
.op--playing .op__dip {
  animation: op-light-bridge var(--op-duration) var(--op-ease-in-out) both;
}
.op--playing .op__stage::after {
  animation: op-forest-vignette var(--op-duration) ease-out both;
}

@keyframes op-forest-left {
  0%, 6% { transform: translate3d(7%, 0, 0) scale(1.18); }
  42%, 100% { transform: translate3d(-64%, -1%, 0) scale(1.18); }
}
@keyframes op-forest-right {
  0%, 6% { transform: translate3d(-7%, 0, 0) scale(1.18); }
  42%, 100% { transform: translate3d(64%, -1%, 0) scale(1.18); }
}
@keyframes op-forest-fade {
  0%, 28% { opacity: 1; }
  44%, 100% { opacity: 0; }
}
@keyframes op-far-zoom {
  0%, 32% { transform: scale(1.04); }
  90%, 100% { transform: scale(3.1); }
}
@keyframes op-hospital-arrive {
  0%, 90% { transform: scale(1); }
  100% { transform: scale(1.04); }
}
@keyframes op-hospital-fade {
  0%, 89.99% { opacity: 0; }
  90%, 100% { opacity: 1; }
}
@keyframes op-light-bridge {
  0%, 84% { opacity: 0; }
  89.2%, 90.8% { opacity: .94; }
  96.5%, 100% { opacity: 0; }
}
@keyframes op-cloud-pass {
  0%, 36% { opacity: .92; }
  54%, 100% { opacity: 0; }
}
@keyframes op-bird-pass {
  0%, 36% { opacity: 1; }
  54%, 100% { opacity: 0; }
}
@keyframes op-message-in {
  0%, 94% { opacity: 0; transform: translate3d(0, 10px, 0); }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes op-cue-in {
  0%, 97% { opacity: 0; transform: translate3d(-50%, 6px, 0); }
  100% { opacity: 1; transform: translate3d(-50%, 0, 0); }
}
@keyframes op-loader-out {
  to { opacity: 0; transform: translate3d(-50%, -10px, 0); visibility: hidden; }
}
@keyframes op-forest-vignette {
  0%, 30% { opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* 完了後は合成レイヤーを解放して、玄関の静止ヒーローにする */
.op--done .op__img--far,
.op--static .op__img--far { opacity: 0; transform: none; visibility: hidden; }
.op--done .op__img--close { opacity: 1; transform: scale(1.04); visibility: visible; }
.op--static .op__img--close { opacity: 1; transform: none; visibility: visible; }
.op--done .op__side,
.op--static .op__side { opacity: 0; transform: none; visibility: hidden; }
.op--done .op__dip,
.op--static .op__dip { display: none; }
.op--done .op__cloud,
.op--done .op__bird,
.op--static .op__cloud,
.op--static .op__bird { opacity: 0; transform: none; visibility: hidden; }
.op--done .op__center,
.op--static .op__center { opacity: 1; transform: none; visibility: visible; }
.op--done .op__cue,
.op--static .op__cue { opacity: 1; transform: translateX(-50%); }
.op--done .op__loader,
.op--static .op__loader { display: none; }
.op--done .op__stage::after,
.op--static .op__stage::after { display: none; }

/* 病院画像まで取得できない場合も、白画面にせず森とコピーを残す */
.op--forest-fallback .op__stage {
  background:
    radial-gradient(circle at 50% 42%, rgba(253,250,247,.68), rgba(233,242,247,.3) 48%, rgba(64,104,76,.3)),
    #e9f2f7;
}
.op--forest-fallback.op--static .op__img--far {
  opacity: 1;
  transform: scale(1.04);
  visibility: visible;
}
.op--forest-fallback.op--static .op__img--close {
  opacity: 0;
  visibility: hidden;
}

/* =========================================================
   キャストとメッセージ（キャラ大集合 → 白いベールに沈んで文がふわっと出る）
   iOS対策のため blur(filter) は使わず、乳白のベールで背景化を表現する
   ========================================================= */
.cast { position: relative; height: 300vh; height: calc(var(--app-vh, 1vh) * 300); background: #eff4e9; }
.cast__stage {
  position: sticky; top: 0; height: 100vh; height: calc(var(--app-vh, 1vh) * 100);
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 34% at 50% 102%, rgba(233,240,214,.9) 0%, rgba(233,240,214,0) 100%),
    radial-gradient(ellipse 55% 22% at 50% 96%, rgba(248,242,222,.95) 0%, rgba(248,242,222,0) 100%),
    linear-gradient(180deg, #eaf3f7 0%, #FDFAF7 58%, #f7f1e2 100%);
}

/* 小物 */
.cast__deco {
  position: absolute; pointer-events: none; user-select: none;
  animation: rc-float 8s ease-in-out infinite;
}
.cast__deco--sakura { top: 9%; left: 7%; width: clamp(64px, 7vw, 110px); opacity: .9; }
.cast__deco--petals { top: 13%; right: 8%; width: clamp(48px, 5vw, 84px); opacity: .85; animation-delay: 2.2s; }
.cast__deco--grass  { bottom: 5%; left: 38%; width: clamp(60px, 6vw, 100px); opacity: .8; animation-delay: 1.1s; }
.cast__deco--bird   { top: 17%; left: 26%; width: clamp(50px, 5.4vw, 88px); animation-delay: 3s; }

/* キャラクター（入場はis-inで時間差、ふわふわはimg側のアニメ） */
.cast__chara {
  position: absolute; margin: 0;
  opacity: 0; transform: translate3d(0, 30px, 0);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  pointer-events: none; user-select: none;
}
.cast--in .cast__chara { opacity: 1; transform: translate3d(0, 0, 0); }
.cast__chara img { width: 100%; height: auto; animation: rc-float 7s ease-in-out infinite; }
/* ぼやけ版（終わりに向けてくっきり版と入れ替わる） */
.cast__blur {
  position: absolute; top: 0; left: 0;
  width: 100%; height: auto;
  opacity: 0;
  will-change: opacity;
}
.cast__chara--drnurse { left: 1%;  bottom: 15%; width: clamp(220px, 24vw, 410px); transition-delay: .05s; }
.cast__chara--dr2     { right: 2%; bottom: 21%; width: clamp(180px, 18.5vw, 320px); transition-delay: .25s; }
.cast__chara--dr2 img     { animation-delay: 1.4s; }
.cast__chara--grandma { left: 23%; bottom: 2%;  width: clamp(130px, 14vw, 240px); transition-delay: .45s; }
.cast__chara--grandma img { animation-delay: 2.6s; }
.cast__chara--walk    { right: 15%; bottom: 0; width: clamp(180px, 20vw, 340px); transition-delay: .6s; }
.cast__chara--walk img    { animation-delay: 3.4s; }

/* 中央の病院（キャラと同じ入場・退場に乗せる。transformは入場用に使うのでleft+負マージンで中央寄せ） */
.cast__chara--hosp {
  left: 50%; margin-left: calc(clamp(230px, 23.5vw, 390px) / -2);
  bottom: 31%;
  width: clamp(230px, 23.5vw, 390px);
  transition-delay: .18s;
}
.cast__chara--hosp img { animation-duration: 9.5s; }
.cast__tanzaku {
  position: absolute; left: 60%; top: 15%;
  display: flex; flex-direction: row-reverse; gap: clamp(12px, 1.6vw, 22px);
  align-items: flex-start; /* 札の高さは文字数なり（最長に揃えない） */
  will-change: opacity;
}
.cast__tz {
  writing-mode: vertical-rl;
  background: var(--white);
  padding: 1.05em .5em;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(19px, 2.3vw, 29px);
  letter-spacing: .3em; color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 10px 34px rgba(77,35,35,.1);
}
.cast__tz:nth-child(2) { margin-top: 1em; }
.cast__tz:nth-child(3) { margin-top: 2em; }

/* 乳白のベール（キャラを背景に沈める） */
.cast__veil {
  position: absolute; inset: -6%;
  opacity: 0;
  background: radial-gradient(ellipse 58% 52% at 50% 47%,
    rgba(253,250,247,.99) 0%,
    rgba(253,250,247,.9) 58%,
    rgba(240,246,244,.74) 100%);
  will-change: opacity;
  pointer-events: none;
}

/* メッセージ（段落ごとにふわっと出る） */
.cast__msg {
  position: absolute; inset: 0;
  display: grid; place-content: center;
  gap: clamp(26px, calc(var(--app-vh, 1vh) * 4.6), 46px);
  text-align: center; padding: 0 24px;
  pointer-events: none;
}
.cast__p {
  margin: 0; max-width: 660px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(14.5px, 1.6vw, 19px);
  line-height: 2.25; letter-spacing: .1em;
  color: var(--ink);
  opacity: 0; transform: translate3d(0, 26px, 0);
  will-change: opacity, transform;
}

/* 静的フォールバック */
.cast.cast--static { height: auto; }
.cast--static .cast__stage { position: relative; height: auto; min-height: 100vh; min-height: calc(var(--app-vh, 1vh) * 100); padding: 90px 0; }
.cast--static .cast__chara, .cast--static .cast__tanzaku { display: none !important; }
.cast--static .cast__veil { opacity: 1 !important; }
.cast--static .cast__msg { position: relative; padding: 0 24px; }
.cast--static .cast__p { opacity: 1 !important; transform: none !important; }

/* =========================================================
   本文セクション
   ========================================================= */

/* --- メッセージ --- */
.rc-msg { position: relative; overflow: hidden; }
.rc-msg .sec-head { text-align: left; margin-bottom: 26px; }
.rc-msg__grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.rc-msg__lead {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(21px, 2.6vw, 30px);
  letter-spacing: .08em; line-height: 2;
  color: var(--ink);
  margin: 0 0 28px;
}
.rc-msg__fig { margin: 0; }
.rc-msg__fig img { width: min(100%, 420px); margin: 0 auto; }
.rc-deco {
  position: absolute; pointer-events: none; user-select: none;
  animation: rc-float 7s ease-in-out infinite;
}
.rc-deco--sakura { top: 48px; right: 4%; width: clamp(64px, 7vw, 110px); opacity: .9; }
.rc-deco--petals { bottom: 40px; left: 3%; width: clamp(56px, 6vw, 96px); opacity: .85; animation-delay: 1.6s; }
@keyframes rc-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.rc-visit__box {
  position: relative;
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px); align-items: end;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 18px 50px rgba(77,35,35,.07);
}
.rc-visit__fig { margin: 0; align-self: end; }
.rc-visit__fig img { width: clamp(130px, 16vw, 210px); }
.rc-visit__body h2 {
  margin: 0 0 16px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: .1em;
}
.rc-visit__body .en {
  display: block; font-family: "Times New Roman", serif;
  font-size: 12px; letter-spacing: .3em; color: var(--pink-400); margin-bottom: 12px;
}

.rc-fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 24px 24px;
  text-align: center;
}
.rc-fact dt {
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--pink-400);
  margin-bottom: 10px;
}
.rc-fact dd { margin: 0; line-height: 1.7; }
.rc-fact .num {
  display: block;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(26px, 3vw, 34px); letter-spacing: .06em;
  color: var(--ink);
}
.rc-fact .sub { display: block; font-size: 13px; color: var(--ink-sub); margin-top: 6px; }

/* --- 募集職種カード --- */
.rc-jobs__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
}
.rc-job {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.rc-job:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(77,35,35,.12); }
.rc-job__fig {
  margin: 0; display: grid; place-items: end center;
  padding: 30px 20px 0;
  min-height: 240px;
}
.rc-job--nurse .rc-job__fig { background: linear-gradient(180deg, var(--pink-50), rgba(255,242,242,.25)); }
.rc-job--assistant .rc-job__fig { background: linear-gradient(180deg, var(--green-50), rgba(241,255,239,.25)); }
.rc-job__fig img { width: clamp(150px, 17vw, 210px); }
.rc-job--assistant .rc-job__fig img { width: clamp(180px, 20vw, 250px); }
.rc-job__body { padding: 26px 30px 30px; }
.rc-job__body h3 {
  margin: 0 0 10px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400; font-size: clamp(20px, 2.2vw, 25px); letter-spacing: .1em;
}
.rc-job__body p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-sub); }
.rc-job__more {
  font-size: 14px; font-weight: 600; color: var(--pink-500); letter-spacing: .08em;
}
.rc-job__more::after { content: " →"; }

/* --- 川の街バンド --- */
.rc-town { position: relative; overflow: hidden; }
.rc-town__img { width: 100%; height: clamp(360px, 52vw, 620px); object-fit: cover; }
/* カードは使わず、絵の上に文字が浮き出る（白グローで読ませる） */
.rc-town__text {
  position: absolute; left: 0; right: 0; bottom: clamp(34px, 7vw, 84px);
  margin-inline: auto;
  width: min(92%, 720px);
  text-align: center;
}
.rc-town__text h2 {
  margin: 0 0 14px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 400; font-size: clamp(24px, 3.2vw, 38px); letter-spacing: .14em;
  color: var(--ink);
  text-shadow: 0 0 22px rgba(253,250,247,.98), 0 0 8px rgba(253,250,247,.95), 0 1px 2px rgba(253,250,247,.9);
}
.rc-town__text p {
  margin: 0;
  font-size: clamp(13.5px, 1.5vw, 15.5px); line-height: 2.2; letter-spacing: .06em;
  color: var(--ink);
  text-shadow: 0 0 16px rgba(253,250,247,.98), 0 0 6px rgba(253,250,247,.95);
}

/* --- セクション見出し横の小さなイラスト --- */
.sec-head--fig {
  display: grid; grid-template-columns: 1fr auto;
  gap: 24px; align-items: end; text-align: left;
}
.sec-head--fig .sec-head__fig { margin: 0; }
.sec-head--fig .sec-head__fig img { width: clamp(110px, 12vw, 170px); }

/* --- お問い合わせのイラスト --- */
.rc-contact__fig { margin: 0 auto 34px; }
.rc-contact__fig img { width: clamp(200px, 24vw, 300px); margin: 0 auto; }

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 900px) {
  .op { --op-duration: 6.2s; }
  /* 縦型素材でも、森を先に開き切ってから建物へ寄る */
  .op__img, .op__side { object-position: 50% 50%; }
  .op__img--far { transform-origin: 45% 69.5%; }
  .op__img--close { transform: scale(1); }
  .op--playing .op__img--far { animation-name: op-far-zoom-mobile; }
  .op--playing .op__img--close {
    animation:
      op-hospital-arrive-mobile var(--op-duration) var(--op-ease-in-out) both,
      op-hospital-fade var(--op-duration) linear both;
  }
  @keyframes op-far-zoom-mobile {
    0%, 32% { transform: scale(1.04); }
    90%, 100% { transform: scale(5); }
  }
  @keyframes op-hospital-arrive-mobile {
    0%, 90% { transform: scale(1); }
    100% { transform: scale(1.04); }
  }
  .op__side--l { transform-origin: 20% 74%; }
  .op__side--r { transform-origin: 80% 74%; }
  .op__cloud { top: 10%; right: 4%; width: 96px; }
  .op__bird { top: 26%; left: 8%; width: 46px; }
  .op__center { padding-bottom: 16vh; padding-bottom: calc(var(--app-vh, 1vh) * 16); }
  .op__cue { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .op__name { font-size: clamp(34px, 10.5vw, 44px); }
  .op__copy { font-size: 14px; margin-top: 20px; }
  .op__caption { line-height: 2.15; font-size: 19px; letter-spacing: .1em; }
  .op__loader { bottom: calc(112px + env(safe-area-inset-bottom)); width: min(72vw, 330px); }

  /* キャストとメッセージ */
  .cast { height: 250vh; height: calc(var(--app-vh, 1vh) * 250); }
  /* ぼやけ版レイヤーはスマホでは使わない（描画負荷とガチャつき対策。ベールが沈める役を担う） */
  .cast__blur { display: none; }
  .cast__chara--drnurse { left: -4%; bottom: 9%; width: 46vw; }
  .cast__chara--dr2 { right: -3%; bottom: 10%; width: 36vw; }
  .cast__chara--grandma { left: 6%; bottom: -2%; width: 26vw; }
  .cast__chara--walk { right: 8%; bottom: -3%; width: 37vw; }
  .cast__chara--hosp { width: 46vw; margin-left: -23vw; bottom: 34%; }
  .cast__tanzaku { left: 50%; transform: translateX(-50%); top: 11%; gap: 10px; }
  .cast__tz { font-size: 19px; padding: .95em .5em; }
  .cast__tz:nth-child(2) { margin-top: .8em; }
  .cast__tz:nth-child(3) { margin-top: 1.6em; }
  .cast__p { font-size: 14px; line-height: 2.15; letter-spacing: .06em; }
  .cast__msg { gap: 22px; }

  .rc-msg__grid { grid-template-columns: 1fr; gap: 30px; }
  .rc-msg__lead { font-size: 19px; letter-spacing: .04em; }
  .rc-msg__fig img { width: min(78%, 320px); }
  .rc-deco--sakura { top: 22px; right: 3%; width: 58px; }
  .rc-deco--petals { display: none; }



  .rc-jobs__grid { grid-template-columns: 1fr; }
  .rc-job__fig { min-height: 200px; }

  .rc-town__img { height: 420px; }

  .sec-head--fig { grid-template-columns: 1fr; }
  .sec-head--fig .sec-head__fig { display: none; }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .rc-deco, .op__img, .op__side, .op__dip, .op__cloud, .op__bird,
  .op__center, .op__cue, .op__cue .arrow, .op__loader, .cast__chara img, .cast__deco { animation: none !important; }
}

/* JSなしでは玄関を静止表示。JS障害時は森の入口を残し、文字だけ遅れて出す */
html:not(.js) .op__img--far { opacity: 0; visibility: hidden; }
html:not(.js) .op__img--close { opacity: 1; transform: none; visibility: visible; }
html:not(.js) .op__side, html:not(.js) .op__dip,
html:not(.js) .op__cloud, html:not(.js) .op__bird, html:not(.js) .op__caption { display: none; }
html:not(.js) .op__center { opacity: 1; transform: none; }
html:not(.js) .op__cue { opacity: 1; transform: translateX(-50%); }
html.recruit-motion-pending .op__caption,
html.recruit-motion-pending .op__dip { display: none; }
html.recruit-motion-pending .op__center { opacity: 0; animation: none; }
html.recruit-motion-pending .op__cue { opacity: 0; animation: none; }
html:not(.js) .cast, html.recruit-motion-pending .cast { height: auto; }
html:not(.js) .cast__stage, html.recruit-motion-pending .cast__stage { position: relative; height: auto; min-height: 100vh; padding: 90px 0; }
html:not(.js) .cast__chara, html:not(.js) .cast__tanzaku,
html.recruit-motion-pending .cast__chara, html.recruit-motion-pending .cast__tanzaku { display: none; }
html:not(.js) .cast__veil, html.recruit-motion-pending .cast__veil { opacity: 1; }
html:not(.js) .cast__msg, html.recruit-motion-pending .cast__msg { position: relative; }
html:not(.js) .cast__p, html.recruit-motion-pending .cast__p { opacity: 1; transform: none; }

/* =========================================================
   採用サイト共通コンポーネント（大野記念病院の型を小松川パレットで）
   色ゾーン + 波形境界 + アーチ写真 + バナー + タイル
   白文字はゾーン色の上の大きな英字見出しだけ（コントラスト3:1以上を確認済み）
   ========================================================= */

/* ---------- 色ゾーンのヒーロー ---------- */
.rc-hero {
  position: relative;
  padding: calc(var(--header-h) + 66px) 24px clamp(96px, 12vw, 160px);
  text-align: center;
  overflow: hidden;
}
.rc-hero--rose { background: linear-gradient(180deg, #D96E68 0%, #E07B72 100%); }
.rc-hero--sage { background: linear-gradient(180deg, #579B7B 0%, #67A88A 100%); }
.rc-hero__blob {
  position: absolute; pointer-events: none;
  background: rgba(255,255,255,.16);
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  animation: rc-float 11s ease-in-out infinite;
}
.rc-hero__blob--1 { top: 12%; left: -6%; width: 34vw; height: 12vw; }
.rc-hero__blob--2 { top: 6%; right: -4%; width: 26vw; height: 9vw; animation-delay: 3s; }
.rc-hero__blob--3 { bottom: 10%; left: 12%; width: 20vw; height: 7vw; animation-delay: 6s; }
.rc-hero__crumb {
  position: relative;
  display: inline-flex; gap: 10px; align-items: center;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 4px 20px;
  font-size: 12.5px; letter-spacing: .08em; color: var(--ink);
  margin-bottom: clamp(26px, 4vw, 46px);
}
/* タッチ対象を44px相当へ広げる（見た目はピルのまま） */
.rc-hero__crumb a { color: var(--ink-sub); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }
.rc-hero__crumb span:not(.sep) { display: inline-flex; align-items: center; min-height: 44px; }
.rc-hero__crumb .sep { color: var(--pink-300); }
.rc-hero__label {
  position: relative;
  display: inline-block;
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink);
  margin-bottom: 20px;
}
.rc-hero__en {
  position: relative;
  margin: 0;
  font-family: "Times New Roman", serif; font-weight: 400;
  font-size: clamp(46px, 7.4vw, 100px);
  letter-spacing: .04em; line-height: 1.06;
  color: var(--white);
}
.rc-hero__lead {
  position: relative;
  margin: 22px auto 0; max-width: 640px;
  background: rgba(255,255,255,.9);
  border-radius: 18px;
  padding: 16px 26px;
  font-size: 14.5px; line-height: 2; color: var(--ink);
}
.rc-hero__chara {
  position: absolute; bottom: -2%;
  width: clamp(120px, 13vw, 220px);
  pointer-events: none;
  animation: rc-float 8s ease-in-out infinite;
}
.rc-hero__chara--l { left: 4%; }
.rc-hero__chara--r { right: 4%; animation-delay: 2.5s; }
.rc-hero__deco { position: absolute; pointer-events: none; animation: rc-float 9s ease-in-out infinite; }

/* ---------- 波形の境界 ---------- */
.rc-wave { display: block; width: 100%; height: clamp(42px, 6vw, 92px); }
.rc-wave svg { display: block; width: 100%; height: 100%; }

/* ---------- ゾーン帯（濃色 + 白大英字） ---------- */
.rc-band { position: relative; padding: clamp(60px, 8vw, 110px) 24px; text-align: center; overflow: hidden; }
.rc-band--sage { padding-bottom: clamp(120px, 15vw, 210px); }
.rc-band--sage { background: linear-gradient(180deg, #579B7B, #67A88A); }
.rc-band--lav  { background: linear-gradient(180deg, #8A7FC7, #9990D1); }
.rc-band__en {
  margin: 0 0 10px;
  font-family: "Times New Roman", serif; font-weight: 400;
  font-size: clamp(40px, 6vw, 84px); letter-spacing: .04em; line-height: 1.1;
  color: var(--white);
}
.rc-band__label {
  display: inline-block;
  background: rgba(255,255,255,.92); border-radius: 999px;
  padding: 6px 18px; margin-bottom: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink);
}

/* ---------- アーチ型の写真 ---------- */
.arch {
  border-radius: 999px 999px 22px 22px;
  overflow: hidden;
  background: var(--white);
}
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- VIEW MORE ---------- */
.rc-more {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: "Times New Roman", serif;
  font-size: 15px; letter-spacing: .26em;
  color: var(--ink); text-decoration: none;
}
.rc-more .circle {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pink-500); color: var(--white);
  font-size: 13px;
  transition: transform .4s var(--ease);
}
.rc-more:hover .circle { transform: translateX(6px); }

/* ---------- LP: 別ページへの誘導（写真 + 大英字の2カラム） ---------- */
.rc-intro { position: relative; overflow: hidden; }
.rc-intro .wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.rc-intro__en {
  margin: 0 0 18px;
  font-family: "Times New Roman", serif; font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px); letter-spacing: .03em; line-height: 1.1;
  color: var(--pink-400);
}
.rc-intro__label {
  display: inline-block; margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--pink-400);
}
.rc-intro__label::before { content: "● "; font-size: 9px; vertical-align: 2px; }
.rc-intro__text p { margin: 0 0 26px; font-size: 15px; line-height: 2.1; color: var(--ink-sub); }
.rc-intro__photos { position: relative; display: grid; grid-template-columns: 1.25fr .95fr; gap: 20px; align-items: end; }
.rc-intro__photos .arch:nth-child(1) { aspect-ratio: 3 / 3.7; }
.rc-intro__chara {
  position: absolute; left: -7%; bottom: -3%;
  width: clamp(110px, 11vw, 180px);
  animation: rc-float 8s ease-in-out infinite;
  pointer-events: none;
}

/* ---------- バナー（募集要項・見学・エントリー） ---------- */
.rc-banners { display: grid; gap: 24px; }
.rc-banners__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rc-banner {
  position: relative;
  display: grid; grid-template-columns: 1fr auto;
  gap: clamp(14px, 2vw, 28px); align-items: center;
  border-radius: 22px; overflow: hidden;
  padding: clamp(22px, 2.6vw, 34px) clamp(24px, 3vw, 42px);
  text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rc-banner__en {
  display: block; margin-bottom: 4px;
  font-family: "Times New Roman", serif;
  font-size: 13px; letter-spacing: .22em;
  color: var(--pink-400);
}
.rc-banner__chara { margin: 0; align-self: end; }
.rc-banner__chara img { display: block; width: auto; height: clamp(96px, 10vw, 140px); }
.rc-banner:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(77,35,35,.14); }
.rc-banner--pink { background: linear-gradient(100deg, #FFCFC0 0%, #FFE4DB 100%); }
.rc-banner--green { background: linear-gradient(100deg, #CDEBD3 0%, #E9F8EC 100%); }
.rc-banner--lav { background: linear-gradient(100deg, #DCD6F6 0%, #EDEAFB 100%); }
.rc-banner h3 {
  margin: 0 0 8px; display: flex; align-items: center; gap: 14px;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: .1em;
}
.rc-banner h3 .circle {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--pink-500); font-size: 12px;
}
.rc-banner p { margin: 0; font-size: 13.5px; color: var(--ink-sub); }
.rc-banner .btel { font-family: "Times New Roman", serif; font-size: clamp(19px, 2vw, 24px); letter-spacing: .04em; color: var(--ink); }

/* ---------- 4色タイル ---------- */
.rc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 34px); }
.rc-tile {
  position: relative; display: grid; grid-template-rows: auto 1fr;
  border-radius: 24px; overflow: hidden;
  text-decoration: none; color: var(--ink);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rc-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(77,35,35,.14); }
.rc-tile--01 { background: #FBD9D2; }
.rc-tile--02 { background: #D3EBD9; }
.rc-tile--03 { background: #F4E5C3; }
.rc-tile--04 { background: #DCD7F2; }
.rc-tile__ph { height: clamp(180px, 17vw, 250px); overflow: hidden; }
.rc-tile__ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-tile__body { padding: 22px 26px 26px; text-align: left; }
.rc-tile__num { font-family: "Times New Roman", serif; font-size: 15px; letter-spacing: .2em; color: var(--ink-sub); }
.rc-tile__body h3 { margin: 6px 0 8px; font-size: clamp(18px, 1.9vw, 22px); font-weight: 600; letter-spacing: .08em; }
.rc-tile__body p { margin: 0; font-size: 13.5px; line-height: 1.9; color: var(--ink); }
.rc-tile__go {
  position: absolute; right: 20px; bottom: 20px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--white); color: var(--pink-500); font-size: 12px;
}

/* ---------- 数字帯（濃セージに白の大きな数字） ---------- */
.rc-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: var(--maxw); margin: 0 auto; }
.rc-number { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; }
.rc-number .v {
  display: block;
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; letter-spacing: .02em;
  color: var(--white);
}
.rc-number .k {
  display: inline-block; margin-top: 10px;
  background: rgba(255,255,255,.92); border-radius: 999px;
  padding: 5px 16px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; color: var(--ink);
}

/* ---------- ギャラリー ---------- */
.rc-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.rc-gallery figure { margin: 0; }
.rc-gallery .arch { aspect-ratio: 3 / 3.4; }
.rc-gallery .round { border-radius: 20px; overflow: hidden; aspect-ratio: 3 / 3.4; }
.rc-gallery .round img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-gallery figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-sub); text-align: center; letter-spacing: .06em; }
.rc-gallery__note { margin: 26px auto 0; text-align: center; font-size: 12.5px; color: var(--ink-sub); }

/* ---------- 働く環境（アーチ大 + 本文） ---------- */
.rc-env .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.rc-env__fig { margin: 0; }
.rc-env__fig .arch { aspect-ratio: 3 / 3.6; }
.rc-env__fig figcaption { margin-top: 10px; font-size: 12.5px; color: var(--ink-sub); text-align: center; }

/* ---------- スマホ ---------- */
@media (max-width: 900px) {
  .rc-hero { padding: calc(var(--header-h) + 30px) 20px clamp(80px, 22vw, 120px); }
  .rc-hero__en { font-size: clamp(30px, 9vw, 40px); letter-spacing: .02em; }
  .rc-hero__crumb { font-size: 11.5px; padding: 7px 14px; }
  .rc-hero__chara { display: none; }
  .rc-hero__lead { font-size: 13.5px; padding: 14px 18px; }
  .rc-banners__row { grid-template-columns: 1fr; }
  .rc-banner { padding: 20px 22px; }
  .rc-banner h3 { font-size: 18px; }
  .rc-banner h3 .circle { display: none; }
  .rc-banner__chara img { height: 88px; }
  .rc-tiles { grid-template-columns: 1fr; }
  .rc-tile__ph { height: 190px; }
  .rc-numbers { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .rc-gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rc-gallery figcaption { font-size: 11px; }
  .rc-env .wrap { grid-template-columns: 1fr; gap: 26px; }
  .rc-env__fig .arch { max-width: 320px; margin: 0 auto; }
}

/* =========================================================
   写真一面の数字バンド（カード羅列の置き換え）
   ========================================================= */
.rc-stats { position: relative; overflow: hidden; }
.rc-stats__bg { position: absolute; inset: 0; }
.rc-stats__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.rc-stats__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(54,23,23,.54) 0%, rgba(54,23,23,.46) 45%, rgba(54,23,23,.64) 100%);
}
.rc-stats__inner { position: relative; padding: clamp(88px, 11vw, 150px) 24px; text-align: center; }
.rc-stats__label {
  display: inline-block; background: rgba(255,255,255,.94); border-radius: 999px;
  padding: 6px 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink);
}
.rc-stats__en {
  margin: 14px 0 0;
  font-family: "Times New Roman", serif; font-weight: 400;
  font-size: clamp(40px, 5.6vw, 76px); letter-spacing: .04em; line-height: 1.1;
  color: var(--white);
}
.rc-stats__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(30px, 4.6vw, 52px) 18px;
  max-width: 1000px; margin: clamp(38px, 5vw, 64px) auto 0;
  list-style: none; padding: 0;
}
.rc-stat { color: var(--white); }
.rc-stat .v {
  display: block;
  font-family: "Times New Roman", serif;
  font-size: clamp(32px, 4.3vw, 56px); line-height: 1.15; letter-spacing: .02em;
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
}
.rc-stat .k { display: block; margin-top: 7px; font-size: 13px; font-weight: 600; letter-spacing: .18em; }
.rc-stat .s { display: block; margin-top: 4px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.9); }
/* 数字はスクロールで順に浮かび上がる */
html.js .rc-stats__grid .rc-stat { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .rc-stats__grid.is-in .rc-stat { opacity: 1; transform: translate3d(0, 0, 0); }
.rc-stats__grid .rc-stat:nth-child(2) { transition-delay: .12s; }
.rc-stats__grid .rc-stat:nth-child(3) { transition-delay: .24s; }
.rc-stats__grid .rc-stat:nth-child(4) { transition-delay: .36s; }
.rc-stats__grid .rc-stat:nth-child(5) { transition-delay: .48s; }
.rc-stats__grid .rc-stat:nth-child(6) { transition-delay: .6s; }
.rc-stats__more { margin: clamp(34px, 4.6vw, 52px) 0 0; }
.rc-stats__more .rc-more { color: var(--white); }

.rc-door .wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 6vw, 96px); align-items: center;
}
.rc-door__body .rc-intro__label { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--pink-400); }
/* 記号の点(ブレット)は全ページで使わない */
.rc-intro__label::before { content: none; }
.rc-door__body p { margin: 0 0 26px; font-size: 15px; line-height: 2.1; color: var(--ink-sub); }
.rc-door__ph { position: relative; margin: 0; }
.rc-door__ph > a {
  display: block; overflow: hidden;
  border-radius: 999px 999px 22px 22px;
  box-shadow: 0 22px 54px rgba(77,35,35,.14);
}
.rc-door__ph img.main {
  width: 100%; aspect-ratio: 3 / 3.9; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.rc-door__ph > a:hover img.main { transform: scale(1.05); }
.rc-door__chara {
  position: absolute; bottom: -3%;
  width: clamp(110px, 11vw, 180px);
  pointer-events: none;
  animation: rc-float 8s ease-in-out infinite;
}
.rc-door__chara--l { left: -6%; }
.rc-door__chara--r { right: -6%; }

/* タイルの写真も扉型の窓に */
.rc-tile__ph { margin: 22px 22px 0; border-radius: 999px 999px 18px 18px; }

@media (max-width: 900px) {
  .rc-stats__grid { grid-template-columns: 1fr 1fr; gap: 26px 10px; }
  .rc-stat .v { font-size: 27px; }
  .rc-stat .s { font-size: 11px; }
  .rc-tile__ph { margin: 16px 16px 0; }
}

/* =========================================================
   扉セクション改（色ベタ面 + 白大英字 + アーチの連なり）
   白文字は 3:1 以上を計算済みの濃色面に、本文は19px太字で AA large を満たす
   ========================================================= */
.rc-door {
  position: relative;
  padding: clamp(84px, 11vw, 150px) 0;
  overflow: hidden;
}
.rc-door--sage { background: linear-gradient(180deg, #CBE8D2 0%, #D8EFDD 100%); }
.rc-door--rose { background: linear-gradient(180deg, #F9D5D3 0%, #FBE0DE 100%); }
.rc-door--lav  { background: linear-gradient(180deg, #E0D4F2 0%, #E9DFF7 100%); }

/* 有機ブロブ（背景の濃淡） */
.rc-door__blob {
  position: absolute; pointer-events: none;
  background: rgba(255,255,255,.38);
  border-radius: 52% 48% 56% 44% / 46% 56% 44% 54%;
  animation: rc-float 13s ease-in-out infinite;
}
.rc-door__blob--1 { top: -12%; left: -8%; width: 46vw; height: 30vw; }
.rc-door__blob--2 { bottom: -16%; right: -10%; width: 40vw; height: 26vw; animation-delay: 4s; }

.rc-door .wrap {
  position: relative;
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(44px, 6vw, 96px); align-items: center;
}
.rc-door--rev .wrap { grid-template-columns: .98fr 1.02fr; }

/* アーチの連なり: 中央に写真の扉、左右に色の柱が見切れる */
.rc-door__arches { position: relative; display: grid; place-items: center; min-height: clamp(320px, 30vw, 460px); }
.rc-door__pillar {
  position: absolute; bottom: -18%;
  width: clamp(110px, 11.5vw, 180px); height: 118%;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.rc-door__pillar--l { left: -4%; }
.rc-door__pillar--r { right: -4%; }
.rc-door__ph {
  position: relative; margin: 0;
  width: clamp(240px, 25vw, 380px);
}
.rc-door__ph > a {
  display: block; overflow: hidden;
  border-radius: 999px 999px 20px 20px;
  box-shadow: 0 26px 60px rgba(40,20,20,.22);
}
.rc-door__ph img.main {
  /* 扉素材の比率(0.800)に合わせる。CSS側で引き伸ばさないので扉が歪まない */
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block;
  transition: transform .7s var(--ease);
}
.rc-door__ph > a:hover img.main { transform: scale(1.05); }
.rc-door__chara {
  position: absolute; bottom: -4%;
  width: clamp(96px, 9.5vw, 150px);
  z-index: 3; /* 扉より手前（3扉すべてでキャラが見える） */
  pointer-events: none;
  animation: rc-float 8s ease-in-out infinite;
}
.rc-door__chara--l { left: -16%; }
.rc-door__chara--r { right: -16%; }

/* 右カラム（中央寄せの白タイポ） */
.rc-door__body { text-align: center; }
.rc-door__label {
  display: inline-block;
  background: rgba(255,255,255,.94); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 18px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink);
}
.rc-door__en {
  margin: 0 0 20px;
  font-family: "Times New Roman", serif; font-weight: 400;
  font-size: clamp(44px, 5.8vw, 88px);
  letter-spacing: .04em; line-height: 1.08;
  color: var(--ink);
}
.rc-door__desc {
  margin: 0 auto 30px; max-width: 470px;
  font-size: clamp(15px, 1.4vw, 17.5px); font-weight: 600;
  line-height: 2.05; letter-spacing: .06em;
  color: var(--ink);
}
.rc-door__note {
  display: inline-block; margin: 0 0 26px;
  background: rgba(255,255,255,.92); border-radius: 14px;
  padding: 10px 18px;
  font-size: 13px; line-height: 1.9; color: var(--ink);
}
.rc-more--dark {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.95);
  border-radius: 999px; padding: 12px 14px 12px 28px;
  font-family: "Times New Roman", serif;
  font-size: 15px; letter-spacing: .24em;
  color: var(--ink); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.rc-more--dark .circle {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--pink-500); color: var(--white); font-size: 13px;
}
.rc-more--dark:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(40,20,20,.2); }

/* 上端の波（前セクションの地色で被せる） */
.rc-door__wave {
  position: absolute; top: -1px; left: 0; right: 0;
  width: 100%; height: clamp(40px, 5.4vw, 84px);
  pointer-events: none;
}

@media (max-width: 900px) {
  .rc-door { padding: clamp(64px, 16vw, 90px) 0; }
  .rc-door .wrap, .rc-door--rev .wrap { grid-template-columns: 1fr; gap: 34px; }
  .rc-door__arches { order: -1; min-height: 0; }
  .rc-door__ph { width: min(62vw, 300px); }
  .rc-door__chara { width: 84px; }
  .rc-door__chara--l { left: -14%; }
  .rc-door__chara--r { right: -14%; }
  .rc-door__en { font-size: clamp(38px, 11vw, 48px); }
  .rc-door__desc { font-size: 15.5px; }
}

/* =========================================================
   キャスト幕の密度アップ（大野の賑やかさへ）
   ========================================================= */
.cast__bgblob {
  position: absolute; pointer-events: none;
  background: rgba(255,255,255,.5);
  border-radius: 54% 46% 58% 42% / 44% 58% 42% 56%;
  animation: rc-float 14s ease-in-out infinite;
}
.cast__bgblob--1 { top: 6%; left: -10%; width: 52vw; height: 34vw; }
.cast__bgblob--2 { top: 20%; right: -12%; width: 46vw; height: 30vw; background: rgba(255,248,230,.55); animation-delay: 5s; }
.cast__bgblob--3 { bottom: -8%; left: 18%; width: 56vw; height: 30vw; background: rgba(233,244,235,.6); animation-delay: 9s; }

/* キャスト幕の追加小物 */
.cast__deco--cloud   { top: 5%; right: 26%; width: clamp(96px, 10vw, 160px); opacity: .92; animation-delay: 1.8s; }
.cast__deco--sakura2 { top: 36%; right: 5%; width: clamp(52px, 5.4vw, 90px); opacity: .88; animation-delay: 4.2s; }
.cast__deco--petals2 { bottom: 26%; left: 11%; width: clamp(44px, 4.6vw, 76px); opacity: .82; animation-delay: 5.6s; }


/* =========================================================
   扉が開く（アーチ窓に閉じた扉→スクロール到達で観音開き）
   ========================================================= */
.rc-door__ph > a {
  perspective: 1300px;
  -webkit-perspective: 1300px;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
.rc-door__leaf {
  /* 扉素材は窓と同じ比率・中央4%の重なり込みで書き出し済み。
     ここでは引き伸ばさず、覆いの保険として上下左右を数%だけ広げる */
  position: absolute; top: -3%; width: 55%; height: 106%;
  z-index: 2; pointer-events: none;
}
.rc-door__leaf img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-door__leaf--l { left: -2%; transform-origin: left center; }
.rc-door__leaf--r { right: -2%; transform-origin: right center; }
html.js .rc-door__leaf {
  transition: transform 1.7s cubic-bezier(.6,.04,.22,1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
/* 開く直前だけGPUレイヤーを確保し、開き終わったら解放する（常時保持は重い） */
html.js .rc-door.is-opening .rc-door__leaf { will-change: transform; }
/* 開き切った扉は合成対象から外す */
html.js .rc-door.is-done .rc-door__leaf { display: none; }
html.js .rc-door__leaf--r { transition-delay: .09s; }
.rc-door.is-open .rc-door__leaf--l { transform: rotateY(-108deg); }
.rc-door.is-open .rc-door__leaf--r { transform: rotateY(108deg); }
@media (prefers-reduced-motion: reduce) {
  .rc-door__leaf { display: none; }
}
html:not(.js) .rc-door__leaf { display: none; }

/* ---------- 追加軽量化 ---------- */
.op__stage, .cast__stage { contain: layout paint; }
.rc-door { contain: layout; }
@media (max-width: 900px) {
  /* stickyとpaint containmentの組み合わせによるWebKitの描画抜けを避ける */
  .op__stage, .cast__stage { contain: none; }
  /* スマホは常時アニメを全て止める（内蔵ブラウザでの合成負荷が主因・表示は残す） */
  .rc-door__blob, .cast__bgblob, .rc-hero__blob,
  .cast__chara img, .cast__deco, .rc-door__chara, .rc-deco, .rc-hero__chara, .rc-hero__deco { animation: none !important; }
}
