@charset "UTF-8";
/* =========================================================
   アニメーション・マウスオーバー
   - 初期状態を隠すのは html.js（JS が動く環境）のときだけ
   - main.js が動かない場合は html.anim-off で全て表示
   - OS の「視差効果を減らす」設定時は動きを止める
   ========================================================= */

:root {
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
}

html { scroll-padding-top: var(--hdr); }

/* キーボード操作時のフォーカス表示 */
:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
}

/* =========================================================
   ヘッダー：スクロールで影＋読了プログレス
   ========================================================= */
.hdr { transition: box-shadow .4s; }
.hdr.is-scrolled { box-shadow: 0 .4rem 2.4rem rgba(89, 90, 94, .08); }
.hdr::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 1;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, var(--gold), var(--g));
	transform: scaleX(var(--progress, 0));
	transform-origin: left center;
	pointer-events: none;
}

/* ナビ：下線が中央から伸びる */
.gnav__item > a .t { position: relative; }
.gnav__item > a .t::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -.8rem;
	height: 1px;
	background: var(--gold-bg);
	transform: scaleX(0);
	transition: transform .4s var(--ease-out);
}
.gnav__item > a:hover .t::after,
.gnav__item--mega:focus-within > a .t::after { transform: scaleX(1); }
.gnav__chev { transition: transform .4s var(--ease-out); }
.gnav__item--mega:hover .gnav__chev { transform: rotate(180deg); }

/* メガメニュー：ふわっと降りる＋項目が順に出る */
.mega { transform: translateY(-1rem); transition: opacity .4s, visibility .4s, transform .5s var(--ease-out); }
.gnav__item--mega:hover .mega,
.gnav__item--mega:focus-within .mega { transform: none; }
.mega__list li { opacity: 0; transform: translateY(.8rem); transition: opacity .4s, transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 25ms); }
.gnav__item--mega:hover .mega__list li,
.gnav__item--mega:focus-within .mega__list li { opacity: 1; transform: none; }
.mega__list a i { transition: width .3s var(--ease-out); }
.mega__list a:hover i { width: 1.6rem; }

/* 予約ボタン：光が走る */
.hdr__btn,
.rsv__btn { position: relative; overflow: hidden; isolation: isolate; }
.hdr__btn::after,
.rsv__btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	z-index: -1;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg);
	transition: left .7s var(--ease-out);
}
.hdr__btn:hover::after,
.rsv__btn:hover::after { left: 130%; }
.hdr__btn:hover,
.rsv__btn:hover { opacity: 1; }
.hdr__btn--tel:hover { background: #735839; }
.hdr__btn--web:hover { background: #435e57; }
.hdr__btn:hover .hdr__ic--tel svg,
.rsv__btn--tel:hover .rsv__ic--tel svg { animation: ring .6s ease-in-out; }
.rsv__btn { transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease-out); }
.rsv__btn:hover { transform: translateY(-.3rem); box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, .15); }
.rsv__btn--tel:hover { background: #435e57; }
.rsv__btn--web:hover { background: var(--gold-bg); color: #fff; }
.rsv__btn--web svg path { transition: fill .4s; }
.rsv__btn--web:hover svg path { fill: #fff; }
@keyframes ring {
	0%, 100% { transform: rotate(0); }
	20% { transform: rotate(-14deg); }
	40% { transform: rotate(12deg); }
	60% { transform: rotate(-8deg); }
	80% { transform: rotate(4deg); }
}

/* VIEW MORE：塗りが左から広がる */
.more { position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.more::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--gold-bg);
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .5s var(--ease-out);
}
.more:hover { background: #fff; color: #fff; }
.more:hover::before { transform: scaleX(1); transform-origin: left center; }

/* =========================================================
   ヒーロー：読み込み時の演出＋パララックス
   ========================================================= */
.hero__doctor,
.hero__interior { will-change: transform; }
/* 写真は最初から最終のトリミングで表示（拡大・ワイプは使わない。左写真の右端が一瞬見えてしまうため）。ふわっと出すだけ */
.js .hero__doctor,
.js .hero__interior { animation: heroFade .8s ease-out both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroWipeDiag {
	from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
	to { clip-path: polygon(14.8% 0, 100% 0, 100% 100%, 0 100%); }
}
.js .hero__ttl .ln { display: inline-block; animation: lineIn 1s var(--ease-out) both; }
.js .hero__ttl .ln:nth-of-type(1) { animation-delay: .3s; }
.js .hero__ttl .ln:nth-of-type(2) { animation-delay: .4s; }
.js .hero__ttl .ln:nth-of-type(3) { animation-delay: .5s; }
.js .hero__lead span { animation: barWipe .7s var(--ease-io) both; }
.js .hero__lead span:nth-child(1) { animation-delay: .7s; }
.js .hero__lead span:nth-child(2) { animation-delay: .78s; }
.js .hero__lead span:nth-child(3) { animation-delay: .86s; }
.js .hero__lead span:nth-child(4) { animation-delay: .94s; }
.js .hero__badges img { animation: badgePop .8s var(--ease-spring) both; }
.js .hero__badges li:nth-child(1) img { animation-delay: .9s; }
.js .hero__badges li:nth-child(2) img { animation-delay: 1s; }
.js .hero__badges li:nth-child(3) img { animation-delay: 1.1s; }
.js .hero__badges li:nth-child(4) img { animation-delay: 1.2s; }
/* ふわふわ浮遊は親の li で transform（GPU合成）。画面外では止める（main.js が .is-paused を付ける） */
.js .hero__badges li { will-change: transform; animation: float 6s ease-in-out infinite; }
.js .hero__badges li:nth-child(1) { animation-delay: 2.6s; }
.js .hero__badges li:nth-child(2) { animation-delay: 3.4s; }
.js .hero__badges li:nth-child(3) { animation-delay: 3s; }
.js .hero__badges li:nth-child(4) { animation-delay: 3.8s; }
.is-paused, .is-paused * { animation-play-state: paused !important; }

@keyframes heroZoom { from { scale: 1.14; } to { scale: 1; } }
@keyframes heroWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes lineIn {
	from { opacity: 0; filter: blur(10px); transform: translateY(2.4rem); }
	to { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes barWipe {
	from { clip-path: inset(0 100% 0 0); }
	to { clip-path: inset(0 0 0 0); }
}
@keyframes badgePop {
	from { opacity: 0; transform: scale(.5) rotate(-25deg); }
	to { opacity: 1; transform: none; }
}
@keyframes float {
	0%, 100% { transform: translate3d(0, 0, 0); }
	50% { transform: translate3d(0, -.8rem, 0); }
}

/* =========================================================
   スクロールで現れる共通演出
   main.js が .is-in を付ける
   ========================================================= */

/* 下からフェードイン（順番に） */
.js :is(
	.sec-ttl__ja, .sec-ttl__logo,
	.info__list li, .info__catch .t,
	.cinfo__row, .hours, .cinfo__map,
	.worry__list li, .trust,
	.rsv__label, .rsv__ttl, .rsv__btns .rsv__btn,
	.feat__ttl, .feat__txt,
	.pick__body,
	.med__list li,
	.price__box, .price__cards li,
	.sci__lead, .sci__txt,
	.dr__name, .dr__catch, .dr__txt,
	.equip__ttl, .equip__list li,
	.insta__icon, .insta__word, .insta__list li, .insta .more,
	.posts__list li, .posts__col > .more,
	.ftr__brand, .ftr__main li, .ftr__medttl, .ftr__medlist li
) {
	opacity: 0;
	transform: translateY(3rem);
	transition:
		opacity .7s var(--ease-out),
		transform .9s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 50ms);
}

/* 英字見出し：字間を詰めながら現れる */
.js .sec-ttl__en {
	opacity: 0;
	letter-spacing: .1em;
	filter: blur(6px);
	transition: opacity .9s var(--ease-out), filter .9s var(--ease-out);
}

/* 写真：幕が開く＋少し引く */
.js :is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map) {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1s var(--ease-io);
	transition-delay: calc(var(--i, 0) * 60ms);
}
.js :is(.feat__img, .pick__img, .dr__img) img {
	scale: 1.18;
	transition: scale 1.3s var(--ease-out);
	transition-delay: calc(var(--i, 0) * 60ms);
}

/* 縦の帯：上から降りる */
.js .team__bar {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.2s var(--ease-io);
}
.js .team__bar--s2 { transition-delay: 0s; }
.js .team__bar--s1 { transition-delay: .2s; }
.js .team__bar--main { transition-delay: .4s; }
.js .info__vertical {
	clip-path: inset(0 0 100% 0);
	transition: clip-path 1.1s var(--ease-io) .1s;
}

/* 円の図：回転しながら現れる */
.js .team__circle img {
	opacity: 0;
	transform: scale(.82) rotate(-14deg);
	transition: opacity .9s var(--ease-out), transform 1.2s var(--ease-out);
}

/* ロゴのシンボル：フェード＋ゆっくり浮遊 */
.js :is(.info__logo, .team__logo, .trust__logo) {
	opacity: 0;
	transform: translateY(4rem) rotate(-6deg);
	transition: opacity 1s var(--ease-out) .15s, transform 1.2s var(--ease-out) .15s;
}
:is(.info__logo, .team__logo).is-in { will-change: transform; animation: float 7s ease-in-out 1.4s infinite; }

/* 科学的根拠：帯が伸びて×が描かれる */
.js .sci__box {
	clip-path: inset(0 100% 0 0);
	transition: clip-path 1.1s var(--ease-io);
}
.js .sci__box--r { transition-delay: .35s; }
.js .sci__cross::before,
.js .sci__cross::after {
	width: 0;
	transition: width .7s var(--ease-out) .25s;
}
.js .sci__cross::after { transition-delay: .45s; }

/* お悩み見出し：下線が引かれる */
.worry__ttl span {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) left 92% / 100% .05em no-repeat;
	padding-bottom: .12em;
}
.js .worry__ttl span {
	background-size: 0 .05em;
	transition: background-size 1.2s var(--ease-io);
}
.js .worry__ttl span:nth-of-type(2) { transition-delay: .25s; }
.js .worry__ttl span:nth-of-type(3) { transition-delay: .5s; }

/* 院長写真のあと人物が浮かぶ（お悩み：Trust us） */
.js .trust__doctor {
	opacity: 0;
	transform: translateY(2rem);
	transition: opacity .8s var(--ease-out) .2s, transform .9s var(--ease-out) .2s;
}

/* ---------- 表示状態 ---------- */
:is(
	.sec-ttl__ja, .sec-ttl__logo,
	.info__list li, .info__catch .t,
	.cinfo__row, .hours, .cinfo__map,
	.worry__list li, .trust,
	.rsv__label, .rsv__ttl, .rsv__btns .rsv__btn,
	.feat__ttl, .feat__txt,
	.pick__body,
	.med__list li,
	.price__box, .price__cards li,
	.sci__lead, .sci__txt,
	.dr__name, .dr__catch, .dr__txt,
	.equip__ttl, .equip__list li,
	.insta__icon, .insta__word, .insta__list li, .insta .more,
	.posts__list li, .posts__col > .more,
	.ftr__brand, .ftr__main li, .ftr__medttl, .ftr__medlist li,
	.info__logo, .team__logo, .trust__logo, .trust__doctor
).is-in,
.anim-off :is(
	.sec-ttl__ja, .sec-ttl__logo,
	.info__list li, .info__catch .t,
	.cinfo__row, .hours, .cinfo__map,
	.worry__list li, .trust,
	.rsv__label, .rsv__ttl, .rsv__btns .rsv__btn,
	.feat__ttl, .feat__txt,
	.pick__body,
	.med__list li,
	.price__box, .price__cards li,
	.sci__lead, .sci__txt,
	.dr__name, .dr__catch, .dr__txt,
	.equip__ttl, .equip__list li,
	.insta__icon, .insta__word, .insta__list li, .insta .more,
	.posts__list li, .posts__col > .more,
	.ftr__brand, .ftr__main li, .ftr__medttl, .ftr__medlist li,
	.info__logo, .team__logo, .trust__logo, .trust__doctor
) {
	opacity: 1;
	transform: none;
}
.sec-ttl__en.is-in,
.anim-off .sec-ttl__en { opacity: 1; letter-spacing: .1em; filter: none; }
:is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box).is-in,
.anim-off :is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box) { clip-path: inset(0 0 0 0); }
:is(.feat__img, .pick__img, .dr__img).is-in img,
.anim-off :is(.feat__img, .pick__img, .dr__img) img { scale: 1; }
.team__circle.is-in img,
.anim-off .team__circle img { opacity: 1; transform: none; }
.sci__ttl.is-in .sci__cross::before,
.sci__ttl.is-in .sci__cross::after,
.anim-off .sci__cross::before,
.anim-off .sci__cross::after { width: 10.6rem; }
.worry__ttl.is-in span,
.anim-off .worry__ttl span { background-size: 100% .05em; }

/* =========================================================
   マウスオーバー
   ========================================================= */
@media (hover: hover) {
	/* 写真がゆっくり拡大 */
	.feat__img,
	.pick__img { overflow: hidden; }
	.feat__item .feat__img img,
	.pick__item .pick__img > img,
	.posts__thumb img { transition: scale 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
	.feat__item:hover .feat__img img,
	.pick__item:hover .pick__img > img { scale: 1.06; }
	.feat__item .num { transition: background-color .4s, color .4s; }
	.feat__item:hover .num { background: var(--g-bg); color: #fff; }
	.pick__item .num { transition: background-color .4s, color .4s; }
	.pick__item:hover .num { background: var(--g-bg); color: #fff; }
	.pick__item .pick__ttl { transition: border-color .4s; }
	.pick__item:hover .pick__ttl { border-color: var(--gold-text); }

	/* お悩み：項目が少し右へ＋チェックが弾む */
	.worry__list li { transition: opacity 1s var(--ease-out), transform .5s var(--ease-out), border-color .4s, box-shadow .4s; }
	.worry__list li:hover { transform: translateX(.6rem); border-color: var(--gold-text); box-shadow: 0 .6rem 2rem rgba(185, 153, 119, .15); }
	.worry__list li svg { transition: transform .5s var(--ease-spring); }
	.worry__list li:hover svg { transform: scale(1.25); }

	/* 医院の特徴：アイコンが揺れる */
	.info__list li img { transition: transform .6s var(--ease-spring); }
	.info__list li:hover img { transform: rotate(-12deg) scale(1.12); }

	/* 診療案内：緑に反転して浮く */
	.med__list a { transition: transform .5s var(--ease-out), box-shadow .5s, background-color .4s; }
	.med__list a:hover { background: var(--g-bg); transform: translateY(-.6rem); box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, .18); }
	.med__ic img { transition: filter .4s, transform .6s var(--ease-spring); }
	.med__list a:hover .med__ic img { filter: brightness(0) invert(1); transform: scale(1.08); }
	.med__label, .med__txtic { transition: color .4s; }
	.med__list a:hover :is(.med__label, .med__txtic) { color: #fff; }

	/* 設備カード */
	.equip__list li { transition: opacity 1s var(--ease-out), transform .6s var(--ease-out), box-shadow .6s; }
	.equip__list li:hover { transform: translateY(-.6rem); box-shadow: 0 1.6rem 3.6rem rgba(89, 90, 94, .14); }

	/* Instagram・お知らせ */
	.insta__list li { transition: opacity 1s var(--ease-out), transform .6s var(--ease-out), filter .4s; }
	.insta__list li:hover { filter: brightness(.92); }
	.posts__list a:hover .posts__thumb img { scale: 1.08; }
	.posts__list a .posts__date,
	.posts__list a time { transition: color .4s; }
	.posts__list a:hover time { color: var(--gold-text); }

	/* フッター：矢印が進む */
	.ftr__main a .arw,
	.ftr__medttl a .arw { transition: transform .4s var(--ease-out); }
	.ftr__main a:hover .arw,
	.ftr__medttl a:hover .arw { transform: translateX(.5rem); }
	.ftr__medlist a i { transition: width .3s var(--ease-out); }
	.ftr__medlist a:hover i { width: 1.6rem; }
}

/* =========================================================
   SP：メニューの項目が順に現れる
   ========================================================= */
@media (max-width: 899px) {
	.spnav:not([hidden]) .spnav__list > li,
	.spnav:not([hidden]) .spnav__cta { animation: navIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 45ms); }
	.spnav:not([hidden]) .spnav__cta { animation-delay: .35s; }
	.spnav__sub:not([hidden]) li { animation: navIn .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 20ms); }
	.js .info__vertical { clip-path: none; }
}
@keyframes navIn {
	from { opacity: 0; transform: translateY(1.2rem); }
	to { opacity: 1; transform: none; }
}

/* =========================================================
   動きを控えめに（2026-10-27 ユーザー指示）
   スクロールで現れる演出は「少しだけ浮き上がってフェード」に統一。
   幕が開く・拡大・回転・ぼかし・ふわふわ浮遊・パララックスはやめる
   ========================================================= */
.js .hero__ttl .ln { animation-name: softIn; animation-duration: .8s; }
.js .hero__badges img { animation-name: softIn; animation-timing-function: ease-out; animation-duration: .6s; }
.js .hero__badges li,
:is(.info__logo, .team__logo).is-in { animation: none !important; }
@keyframes softIn { from { opacity: 0; transform: translateY(.8rem); } to { opacity: 1; transform: none; } }
.js .hero__event { animation: softIn .8s ease-out .5s both; }
.js:not(.anim-off) :is(
	.sec-ttl__ja, .sec-ttl__logo,
	.info__list li, .info__catch .t,
	.cinfo__row, .hours, .cinfo__map,
	.worry__list li, .trust,
	.rsv__label, .rsv__ttl, .rsv__btns .rsv__btn,
	.feat__ttl, .feat__txt,
	.pick__body,
	.med__list li,
	.price__box, .price__cards li,
	.sci__lead, .sci__txt,
	.dr__name, .dr__catch, .dr__txt,
	.equip__ttl, .equip__list li,
	.insta__icon, .insta__word, .insta__list li, .insta .more,
	.posts__list li, .posts__col > .more,
	.ftr__brand, .ftr__main li, .ftr__medttl, .ftr__medlist li
):not(.is-in) {
	transform: translateY(1.2rem);
	transition: opacity .6s ease-out, transform .6s ease-out;
	transition-delay: calc(var(--i, 0) * 30ms);
}
.js .sec-ttl__en { filter: none; transition: opacity .6s ease-out; }
.js:not(.anim-off) :is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box) {
	clip-path: none;
	opacity: 0;
	transition: opacity .7s ease-out;
	transition-delay: calc(var(--i, 0) * 30ms);
}
/* 表示済み(.is-in)は不透明に戻す。上の opacity:0 は .js:not(.anim-off) を含み指定が強いため、同じ強さにそろえる（そろえないと is-in が付いても透明のまま見えない） */
.js:not(.anim-off) :is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box).is-in,
:is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box).is-in,
.anim-off :is(.info__photo, .feat__img, .pick__img, .dr__img, .price__inner, .cinfo__map, .team__bar, .info__vertical, .sci__box) { opacity: 1; }
.js :is(.feat__img, .pick__img, .dr__img) img { scale: 1; transition: none; }
.js .team__circle img { transform: none; transition: opacity .7s ease-out; }
.js:not(.anim-off) :is(.info__logo, .team__logo, .trust__logo):not(.is-in) { transform: translateY(1.2rem); transition: opacity .7s ease-out, transform .7s ease-out; }
.js:not(.anim-off) .trust__doctor:not(.is-in) { transform: translateY(1.2rem); transition: opacity .6s ease-out .1s, transform .6s ease-out .1s; }
.hero__doctor, .hero__interior { translate: none !important; will-change: auto; }

/* =========================================================
   「視差効果を減らす」設定では動かさない
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-delay: 0s !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.hero__doctor, .hero__interior { translate: none !important; }
}
