/* ==========================================================
   名古屋 神社の森 内科・内視鏡クリニック 守山院
   ========================================================== */

:root {
	--c-green: #386146;
	--c-green-dark: #2b4c37;
	--c-gold: #a8935f;
	--c-gold-line: #d8c9a5;
	--c-section-title: #7e6c2a;
	--c-item-border: #7e6c2a;
	--c-text: #333333;
	--c-catch-text: #63534a;
	--c-text-light: #8a8078;
	--c-orange: #ffa826;
	--c-teal: #51c6d1;
	--c-green-bright: #7daf5b;
	--c-line: #06c755;
	--c-badge: #ddd3ba;
	--c-border: #e3ded6;
	--c-bg: #ffffff;
	--c-pink: #f87580;
	--c-icon-circle: #e5d9c8;
	--c-panel-bg: #f4f2ee;

	--header-height: 158px;
	--fixed-bar-height: 74px;
	--fixed-bar-inner-height: 74px;
	--container-width: 1200px;
	/* 下層ページ本文の基本コンテンツ幅（フッターの--container-widthよりやや狭い）。
	   theme.jsonのlayout.contentSizeと同じ値にすること。 */
	--content-width: 1100px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; }
body {
	margin: 0;
	overflow-x: hidden;
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	font-weight: 400;
	color: var(--c-text);
	background: var(--c-bg);
	line-height: 1.8;
	font-size: 16px;
	letter-spacing: .1rem;
	padding-top: var(--header-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.u-sp-break { display: none; }
@media (max-width: 960px) {
	.u-sp-break { display: inline; }
	body { letter-spacing: .01rem; }
}
.u-sp-only { display: none; }
@media (max-width: 960px) {
	.u-pc-only { display: none; }
	.u-sp-only { display: block; }
}
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }

/* ==========================================================
   リンク未設定ボタンの無効化表示
   ACFでリンク先が設定されておらず href="#" になっているボタン/リンクは、
   不透明な暗い色のオーバーレイで覆い、白文字で「準備中」と表示して押せないようにする
   （未設定であることが一目でわかるように）。
   メインナビ・ドロワーの「子メニューだけ持つ親項目」は仕様上わざと#になるため対象外。
   ========================================================== */
a[href="#"]:not(.site-nav a):not(.drawer a) {
	position: relative;
	pointer-events: none;
	overflow: hidden;
}
/* 個々のコンポーネントが独自に::afterを使っている場合（角の三角形飾りなど）に
   位置・サイズ・形状を奪われて潰れないよう、!importantで確実に全面を覆う。 */
a[href="#"]:not(.site-nav a):not(.drawer a)::after {
	content: "準備中" !important;
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: rgba(80, 80, 80, .78) !important;
	color: #ffffff !important;
	font-size: 13px !important;
	letter-spacing: .1em !important;
	white-space: nowrap !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, .6) !important;
	clip-path: none !important;
	border: 0 solid transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	transform: none !important;
	opacity: 1 !important;
	z-index: 10 !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
}
.skip-link {
	position: fixed;
	top: -100px; left: 0;
	background: var(--c-green);
	color: #fff;
	padding: 8px 16px;
	z-index: 10000;
	transition: top .2s;
}
.skip-link:focus { top: 0; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
/* ログイン中はWPの管理バー分だけヘッダーを下げて、隙間や重なりを防ぐ */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
	body.admin-bar .site-header { top: 46px; }
	body.admin-bar .site-header__icon-nav.is-fixed { top: 46px; }
}
.site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0 10px 224px;
	gap: 16px;
}
.site-header__logo img { height: 56px; width: auto; }

.site-header__top-right {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin-left: auto;
	height: 64px;
}
.site-header__youtube {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 6px 24px;
	background: #f1f0ee;
	overflow: hidden;
}
.site-header__youtube-logo { width: 130px; height: auto; position: relative; z-index: 1; }
.site-header__youtube-text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--c-text);
	white-space: nowrap;
}
.site-header__youtube::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0);
	transition: background .25s ease;
	pointer-events: none;
	z-index: 2;
}
.site-header__youtube:hover::after {
	background: rgba(255, 255, 255, .28);
}

.site-header__recruit {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--c-green);
	color: #fff;
	padding: 0 32px;
	font-weight: 400;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
}
.site-header__recruit img { width: 34px; position: relative; z-index: 1; }
.site-header__recruit::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0);
	transition: background .25s ease;
	pointer-events: none;
	z-index: 2;
}
.site-header__recruit:hover::after {
	background: rgba(255, 255, 255, .28);
}

.site-header__menu-btn {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	margin-left: 12px;
	flex-shrink: 0;
}
.site-header__menu-btn span {
	position: absolute;
	left: 10px; right: 10px;
	height: 2px;
	background: var(--c-green);
	transition: transform .25s, opacity .25s;
}
.site-header__menu-btn span:nth-child(1) { top: 14px; }
.site-header__menu-btn span:nth-child(2) { top: 22px; }
.site-header__menu-btn span:nth-child(3) { top: 30px; }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-header__nav {
	display: flex;
	justify-content: center;
}

/* デスクトップ用ナビが入りきらない幅では、SP版より一足早くハンバーガーメニューに切り替える */
@media (min-width: 961px) and (max-width: 1200px) {
	.site-header__nav { display: none; }
	.site-header__menu-btn { display: block; }
}

.site-header__icon-nav {
	display: none;
}
.site-header__icon-nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 10px 4px;
	border-right: 1px solid var(--c-border);
	background: none;
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
	color: #63534A;
	font-size: 11px;
	font-weight: 500;
}
.site-header__icon-nav-item:last-child { border-right: 0; }
.site-header__icon-nav-item img { width: 22px; height: 22px; object-fit: contain; }
.site-header__icon-nav-item > span {
	line-height: 1.2;
}
.site-header__icon-nav-menu-icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	width: 22px;
	height: 22px;
}
.site-header__icon-nav-menu-icon span {
	display: block;
	height: 2px;
	background: #63534A;
}
.site-nav {
	display: flex;
}
.site-nav__item {
	flex: none;
	position: relative;
	text-align: center;
}
.site-nav__item::after {
	content: "";
	position: absolute;
	right: 0; top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
	background: var(--c-gold-line);
}
.site-nav__item:first-child::before {
	content: "";
	position: absolute;
	left: 0; top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
	background: var(--c-gold-line);
}
.site-nav__item > a {
	display: block;
	padding: 8px 28px 4px;
	color: var(--c-text);
	transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-nav__ja {
	display: block;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.2;
	color: var(--c-catch-text);
	transition: color .2s ease;
}
.site-nav__en {
	display: block;
	font-size: 11px;
	color: #cec4bb;
	letter-spacing: inherit;
	margin-top: 5px;
	margin-bottom: 2px;
	line-height: 1.1;
	transition: color .2s ease;
}
.site-nav__arrow {
	display: block;
	width: 0; height: 0;
	margin: 4px auto 0;
	line-height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #cec4bb;
	transition: border-top-color .2s ease;
}
.site-nav__item:hover > a {
	background: var(--c-green);
	color: #fff;
	box-shadow: 0 8px 16px rgba(56, 97, 70, .35);
	transform: translateY(-3px);
}
.site-nav__item:hover .site-nav__ja { color: #fff; }
.site-nav__item:hover .site-nav__en { color: rgba(255, 255, 255, .85); }
.site-nav__item:hover .site-nav__arrow { border-top-color: #fff; }
.site-nav__item:first-child .site-nav__arrow { display: none; }

.site-nav__sub {
	position: absolute;
	top: 100%; left: 50%;
	transform: translateX(-50%) translateY(-6px);
	min-width: 220px;
	background: #fff;
	box-shadow: 0 8px 20px rgba(0,0,0,.12);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s, transform .2s, visibility .2s;
	z-index: 10;
}
.site-nav__item:hover .site-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}
.site-nav__sub li a {
	display: block;
	padding: 12px 16px;
	text-align: left;
	font-size: 14px;
	border-bottom: 1px solid var(--c-border);
	transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.site-nav__sub li:last-child a { border-bottom: none; }
.site-nav__sub li a:hover {
	background: var(--c-panel-bg);
	color: var(--c-green);
	padding-left: 22px;
	font-weight: 500;
}

/* 項目数が多い時はPCで自動的に2列にする（グループ分けなしの場合） */
.site-nav__sub:not(.has-groups):has(li:nth-child(5)) {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	min-width: 440px;
}

/* 画面端の項目はセンター配置だとはみ出るので、寄せて表示する。
   横並びグループ化でメガメニューが広くなった分、右寄せにする範囲も広めに取る。 */
.site-nav__item:nth-child(-n+3) .site-nav__sub { left: 0; transform: translateY(-6px); }
.site-nav__item:nth-child(-n+3):hover .site-nav__sub { transform: translateY(0); }
.site-nav__item:nth-child(n+5) .site-nav__sub { left: auto; right: 0; transform: translateY(-6px); }
.site-nav__item:nth-child(n+5):hover .site-nav__sub { transform: translateY(0); }

/* カテゴリ分けメニュー（メガメニュー）：グループを横並びのカラムにする */
.site-nav__sub.has-groups {
	display: flex;
	align-items: stretch;
	gap: 0;
	width: max-content;
	max-width: min(1200px, calc(100vw - 40px));
	min-width: 560px;
	padding: 28px 32px;
}
.site-nav__sub-group {
	flex: 1 1 0;
	min-width: 420px;
	padding: 0 32px;
	border-bottom: none;
}
.site-nav__sub-group:first-child { padding-left: 0; }
.site-nav__sub-group:last-child { padding-right: 0; }

/* グループが3つ以上ある場合は1行に収めようとすると画面からはみ出るため、
   2列で折り返す（幅が固定・成長しないようにして、行が変わっても見た目を揃える）。 */
.site-nav__sub.has-groups:has(.site-nav__sub-group:nth-child(3)) {
	flex-wrap: wrap;
	width: min(1000px, calc(100vw - 40px));
	row-gap: 28px;
}
.site-nav__sub.has-groups:has(.site-nav__sub-group:nth-child(3)) .site-nav__sub-group {
	flex-grow: 0;
}
/* 折り返して2列になるので、各行の左端（奇数番目）・右端（偶数番目）で余白を揃える */
.site-nav__sub.has-groups:has(.site-nav__sub-group:nth-child(3)) .site-nav__sub-group {
	padding-left: 32px;
	padding-right: 32px;
}
.site-nav__sub.has-groups:has(.site-nav__sub-group:nth-child(3)) .site-nav__sub-group:nth-child(odd) {
	padding-left: 0;
}
.site-nav__sub.has-groups:has(.site-nav__sub-group:nth-child(3)) .site-nav__sub-group:nth-child(even) {
	padding-right: 0;
}
.site-nav__sub-label {
	margin: 0 0 14px;
	padding-bottom: 10px;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	color: var(--c-text);
	border-bottom: 2px solid var(--c-green);
}
.site-nav__sub-inner {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4px 16px;
}
.site-nav__sub-inner li a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 10px;
	text-align: left;
	font-size: 14px;
	border-bottom: none;
	border-radius: 4px;
	color: var(--c-text);
	transition: background .15s ease, color .15s ease, padding-left .15s ease;
}
.site-nav__sub-inner li a::before {
	content: "";
	width: 0; height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 5px solid var(--c-green);
	flex-shrink: 0;
	transition: transform .15s ease;
}
.site-nav__sub-inner li a:hover {
	background: var(--c-panel-bg);
	color: var(--c-green);
	font-weight: 500;
	padding-left: 14px;
}
.site-nav__sub-inner li a:hover::before { transform: translateX(3px); }

/* ---------- drawer (mobile) ---------- */
.drawer-overlay {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.4);
	z-index: 1090;
	opacity: 0; visibility: hidden;
	transition: opacity .25s, visibility .25s;
}
.drawer-overlay.is-active { opacity: 1; visibility: visible; }

.drawer {
	position: fixed;
	top: 0; right: -100%;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1100;
	overflow-y: auto;
	padding: 24px 0;
	transition: right .3s ease;
}
.drawer.is-active { right: 0; }

.drawer__close {
	position: absolute;
	top: 20px; right: 20px;
	width: 32px; height: 32px;
	z-index: 10;
}
.drawer__close span {
	position: absolute;
	top: 50%; left: 0;
	width: 100%; height: 2px;
	background: var(--c-text);
}
.drawer__close span:nth-child(1) { transform: rotate(45deg); }
.drawer__close span:nth-child(2) { transform: rotate(-45deg); }

.drawer__nav > li > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 24px;
	font-weight: 400;
	border-bottom: 1px solid var(--c-border);
}
.drawer__arrow {
	width: 8px; height: 8px;
	border-right: 2px solid var(--c-text);
	border-bottom: 2px solid var(--c-text);
	transform: rotate(45deg);
	transition: transform .2s;
}
.drawer__nav li.is-open > a .drawer__arrow { transform: rotate(-135deg); }
.drawer__sub { display: none; background: #f9f8f6; }
.drawer__sub li a { display: block; padding: 12px 24px 12px 36px; font-size: 14px; border-bottom: 1px solid var(--c-border); }
.drawer__sub-group { padding: 0; border-bottom: 1px solid var(--c-border); }
.drawer__sub-group:last-child { border-bottom: none; }
/* カテゴリ見出し：緑の帯でひと目でわかるようにする */
.drawer__sub-label {
	margin: 0;
	padding: 10px 24px 10px 36px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .05em;
	color: #fff;
	background: var(--c-green);
}
.drawer__sub-inner { padding: 6px 0; }
/* 項目：見出しより一段小さく、三角アイコン付きで階層を明確にする */
.drawer__sub-inner li a {
	position: relative;
	display: block;
	padding: 9px 24px 9px 52px;
	border-bottom: none;
	font-size: 13px;
	color: var(--c-text);
}
.drawer__sub-inner li a::before {
	content: "";
	position: absolute;
	left: 36px; top: 50%;
	transform: translateY(-50%);
	width: 0; height: 0;
	border-top: 3px solid transparent;
	border-bottom: 3px solid transparent;
	border-left: 4px solid var(--c-green);
}
.drawer__recruit {
	display: block;
	margin: 20px 24px 0;
	padding: 14px;
	text-align: center;
	background: var(--c-green);
	color: #fff;
	font-weight: 400;
}
.drawer__fixed-bar {
	display: flex;
	margin: 20px 0 0;
}
.drawer__fixed-bar .fixed-bar__item {
	flex: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 10px 4px;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	text-align: center;
	border-radius: 0;
	text-decoration: none;
}
.drawer__fixed-bar .fixed-bar__item img {
	width: 20px;
	height: auto;
	flex-shrink: 0;
}

.drawer__hours { margin: 24px 24px 0; }
.drawer__hours,
.drawer__hours * {
	font-weight: 400;
}
.drawer__hours .hours-table th,
.drawer__hours .hours-table td { padding: 6px 2px; font-size: 11px; }
.drawer__hours .hours-table__label { font-size: 13px; }
.drawer__hours .hours-symbol { font-size: 13px; }
.drawer__holiday { margin-top: 12px; font-size: 13px; font-weight: 400; text-align: left; }
.drawer__holiday-extra { margin-top: 6px; font-size: 12px; font-weight: 400; text-align: left; line-height: 1.6; }
.drawer__hours .hours-legend { gap: 6px 14px; margin-top: 12px; }
.drawer__hours .hours-legend li { font-size: 12px; }

/* ---------- FV ---------- */
.fv {
	position: relative;
	min-height: 640px;
	display: flex;
	flex-direction: column;
}
.fv__design {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 1.8s ease-in-out;
}
.fv__design.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.fv__design--1 {
	position: relative;
	flex: 1 1 auto;
	background: linear-gradient(135deg, #efe9dd, #f7f4ee);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 24px 100px;
	z-index: 1;
}
.fv__design--2,
.fv__design--3 {
	position: absolute;
	inset: 0;
	z-index: 2;
}
.fv__design--1.is-active { z-index: 1; }
.fv__design--2.is-active,
.fv__design--3.is-active { z-index: 3; }
.fv__slides {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.fv__slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1);
}
.fv__slide.is-zooming,
.fv__grid-item img.is-zooming,
.fv__grid-col--single img.is-zooming {
	animation: fvSlideZoom 9s ease-out forwards;
}
@keyframes fvSlideZoom {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}
.fv__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	background: rgba(255,255,255,.88);
	border-radius: 20px;
	padding: 48px 40px 56px;
	text-align: center;
}
.fv__box::after {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 140px;
	aspect-ratio: 338 / 386;
	background: url(../../logo-white.png) no-repeat center / contain;
	opacity: .6;
	pointer-events: none;
	z-index: -1;
}
.fv__catch {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--c-catch-text);
}
.fv__catch-en {
	position: relative;
	margin-top: 24px;
	padding-top: 20px;
	font-size: 12px;
	letter-spacing: inherit;
	color: var(--c-catch-text);
}
.fv__catch-en::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 320px;
	height: 1px;
	background: var(--c-gold);
}
.fv__badges {
	position: absolute;
	left: 50%;
	bottom: -125px;
	transform: translateX(-50%);
	display: flex;
	justify-content: center;
	gap: 64px;
	flex-wrap: nowrap;
	width: max-content;
}
.fv__badge {
	width: 140px; height: 162px;
	background: var(--c-badge);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 16px;
}
.fv__badge span {
	color: var(--c-catch-text);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .05rem;
}

/* FV デザイン2・3（六角形なし・画像3枚レイアウト） */
.fv__design--2,
.fv__design--3 {
	overflow: hidden;
}
.fv__grid {
	display: flex;
	width: 100%;
	height: 100%;
}
.fv__grid-col {
	flex: 1 1 50%;
	height: 100%;
}
.fv__grid-col--split {
	display: flex;
	flex-direction: column;
}
.fv__grid-item {
	flex: 1 1 50%;
	overflow: hidden;
}
.fv__grid-item img,
.fv__grid-col--single {
	overflow: hidden;
}
.fv__grid-item img,
.fv__grid-col--single img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.fv__grid-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 100%;
	max-width: 620px;
	background: rgba(255,255,255,.88);
	border-radius: 20px;
	padding: 44px 40px 36px;
	text-align: center;
}
.fv__grid-overlay::after {
	content: "";
	position: absolute;
	top: -100px;
	right: -100px;
	width: 140px;
	aspect-ratio: 338 / 386;
	background: url(../../logo-white.png) no-repeat center / contain;
	opacity: .6;
	pointer-events: none;
	z-index: -1;
}
.fv__grid-catch {
	font-size: 30px;
	font-weight: 500;
	line-height: 1.7;
	color: var(--c-catch-text);
}
.fv__grid-catch-en {
	position: relative;
	margin-top: 22px;
	padding-top: 18px;
	font-size: 12px;
	letter-spacing: inherit;
	color: var(--c-catch-text);
}
.fv__grid-catch-en::before {
	content: "";
	position: absolute;
	top: 0; left: 50%;
	transform: translateX(-50%);
	width: 280px;
	height: 1px;
	background: var(--c-gold);
}

/* ---------- top banners ---------- */
.top-banners {
	padding: 100px 24px 40px;
}
.top-banners__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}
.top-banners__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.top-banners__row + .top-banners__row {
	margin-top: 24px;
}
.top-banners__item {
	position: relative;
	overflow: hidden;
	background: #fff;
}
.top-banners__item a { display: block; }
.top-banners__item img {
	width: 100%;
	transition: opacity .25s ease;
}
.top-banners__item:hover img {
	opacity: .72;
}

@media (max-width: 960px) {
	.top-banners { padding-top: 56px; padding-bottom: 48px; }
	.top-banners__row { grid-template-columns: 1fr; gap: 16px; }
	.top-banners__row + .top-banners__row { margin-top: 16px; }
}

/* ---------- banner slider ---------- */
.banner-slider {
	padding: 40px 0 60px;
}
.banner-slider__viewport {
	max-width: var(--container-width);
	margin: 0 auto;
	position: relative;
	padding: 0 24px;
}
.banner-slider__track {
	--slider-gap: 24px;
	display: flex;
	gap: var(--slider-gap);
	overflow-x: auto;
	overflow-y: visible;
	padding: 16px 0;
	margin: -16px 0;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.banner-slider__track::-webkit-scrollbar { display: none; }
.banner-slider__slide {
	flex: 0 0 calc((100% - (var(--slider-visible) - 1) * var(--slider-gap)) / var(--slider-visible));
	scroll-snap-align: center;
}
.banner-slider__slide--clone {
	pointer-events: none;
}
.banner-slider__slide > a { display: block; }

.banner-slider__card {
	position: relative;
	overflow: hidden;
	background: #fff;
	transform: scale(1);
	transition: transform .3s ease;
}
.banner-slider__card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0);
	transition: background .25s ease;
	pointer-events: none;
	z-index: 3;
}
.banner-slider__card:hover::after,
.banner-slider__slide > a:hover .banner-slider__card::after {
	background: rgba(255, 255, 255, .28);
}
.banner-slider__slide.is-center .banner-slider__card {
	transform: scale(1.08);
	position: relative;
	z-index: 2;
}
.banner-slider__card img {
	display: block;
	width: 100%;
	height: auto;
}
.banner-slider__text {
	position: absolute;
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	max-width: 48%;
	color: var(--c-catch-text);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.6;
}

.banner-slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px; height: 44px;
	background: var(--c-green);
	display: flex;
	align-items: center;
	justify-content: center;
}
.banner-slider__nav::before {
	content: "";
	width: 10px; height: 10px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.banner-slider__nav--prev { left: 33.333%; transform: translate(-50%, -50%); }
.banner-slider__nav--prev::before { transform: rotate(-135deg); margin-left: 3px; }
.banner-slider__nav--next { left: 66.667%; transform: translate(-50%, -50%); }
.banner-slider__nav--next::before { transform: rotate(45deg); margin-right: 3px; }
.banner-slider__nav.is-hidden { display: none; }

.banner-slider__dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
}
.banner-slider__dot {
	width: 8px; height: 8px;
	border-radius: 50%;
	background: var(--c-border);
}
.banner-slider__dot.is-active { background: var(--c-green); }

@media (max-width: 960px) {
	.banner-slider { padding: 32px 0 24px; }
	.banner-slider__viewport { padding: 0 16px; }
	.banner-slider__slide { flex-basis: 100%; }
	.banner-slider__track { gap: 16px; }
	.banner-slider__slide.is-center .banner-slider__card { transform: scale(1); }
	.banner-slider__text { font-size: 16px; left: 20px; max-width: 55%; }
	.banner-slider__nav { width: 36px; height: 36px; }
	.banner-slider__nav--prev { left: 4px; transform: translateY(-50%); }
	.banner-slider__nav--next { left: auto; right: 4px; transform: translateY(-50%); }
	.banner-slider__dots { margin-top: 12px; }
}

/* ---------- center banner ---------- */
.center-banner {
	padding: 40px 24px 60px;
}
.center-banner__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}
.center-banner__inner a {
	display: block;
	width: 50%;
	margin: 0 auto;
	background: #fff;
}
.center-banner__inner img {
	display: block;
	width: 50%;
	margin: 0 auto;
	transition: opacity .25s ease;
}
.center-banner__inner a img {
	width: 100%;
	margin: 0;
}
.center-banner__inner a:hover img,
.center-banner__inner > img:hover {
	opacity: .72;
}

@media (max-width: 960px) {
	.center-banner__inner a,
	.center-banner__inner > img { width: 80%; }
	.center-banner__inner a img { width: 100%; }
}

/* ---------- digismart banner ---------- */
.digismart-banner {
	padding: 0 24px 60px;
}
@media (max-width: 960px) {
	.digismart-banner { padding: 0 15px 40px; }
}
.digismart-banner__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}
.digismart-banner__card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(280px, 380px);
	align-items: center;
	column-gap: 40px;
	background-color: #f2f2f2;
	background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.6) 0, rgba(255,255,255,.6) 1px, transparent 1px, transparent 20px);
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(0,0,0,.08);
	overflow: hidden;
	padding: 32px 48px 32px 56px;
}
.digismart-banner__bar {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 28px;
	background: var(--c-green);
}
.digismart-banner__phone {
	display: flex;
	align-items: center;
	justify-content: center;
}
.digismart-banner__phone img {
	display: block;
	width: 130px;
	height: auto;
}
.digismart-banner__text {
	min-width: 0;
}
.digismart-banner__heading {
	font-size: clamp(22px, 2.4vw, 34px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: inherit;
	color: var(--c-catch-text);
}
.digismart-banner__accent {
	color: var(--c-green);
}
.digismart-banner__body {
	margin-top: 16px;
	font-size: 17px;
	line-height: 1.9;
	color: #000;
}
.digismart-banner__side {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 24px;
	min-width: 0;
}
.digismart-banner__list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.digismart-banner__item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	align-items: center;
	column-gap: 18px;
}
.digismart-banner__item img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	justify-self: center;
}
.digismart-banner__item:nth-child(3) img {
	width: 40px;
	height: 40px;
}
.digismart-banner__item span {
	font-size: 20px;
	font-weight: 500;
	color: var(--c-text);
}
.digismart-banner__button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	background: var(--c-orange);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
	padding: 18px 24px;
	border-radius: 0;
	overflow: hidden;
	box-sizing: border-box;
	transition: box-shadow .25s ease;
}
.digismart-banner__button::after {
	content: "";
	position: absolute;
	right: 10px;
	bottom: 8px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 0 9px 9px;
	border-color: transparent transparent #fff transparent;
	opacity: .8;
	z-index: 2;
	pointer-events: none;
}
@media (max-width: 960px) {
	.digismart-banner__card {
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 20px;
		padding: 28px 20px 24px;
	}
	.digismart-banner__bar {
		top: 0;
		left: 0;
		right: 0;
		bottom: auto;
		width: auto;
		height: 8px;
	}
	.digismart-banner__phone img { width: 72px; }
	.digismart-banner__heading { font-size: 18px; letter-spacing: inherit; }
	.digismart-banner__body { margin-top: 10px; font-size: 14px; line-height: 1.8; }
	.digismart-banner__side {
		grid-column: 1 / -1;
		gap: 16px;
	}
	.digismart-banner__list {
		gap: 12px;
		width: max-content;
		max-width: 100%;
		margin-inline: auto;
	}
	.digismart-banner__item {
		grid-template-columns: 28px minmax(0, 1fr);
		column-gap: 12px;
	}
	.digismart-banner__item img { width: 28px; height: 28px; }
	.digismart-banner__item:nth-child(3) img { width: 30px; height: 30px; }
	.digismart-banner__item span { font-size: 14px; }
	.digismart-banner__button { font-size: 16px; padding: 16px 20px; }
}
@media (min-width: 961px) and (max-width: 1100px) {
	.digismart-banner__card {
		grid-template-columns: auto minmax(0, 1fr) minmax(240px, 300px);
		column-gap: 28px;
		padding: 28px 36px 28px 48px;
	}
	.digismart-banner__phone img { width: 110px; }
	.digismart-banner__body { font-size: 15px; }
	.digismart-banner__item span { font-size: 16px; }
	.digismart-banner__item {
		grid-template-columns: 34px minmax(0, 1fr);
	}
	.digismart-banner__item img { width: 34px; height: 34px; }
	.digismart-banner__item:nth-child(3) img { width: 36px; height: 36px; }
}

/* ---------- top news (front page) ---------- */
.top-news {
	padding: 60px 24px 80px;
}
.top-news__inner {
	max-width: 900px;
	margin: 0 auto;
}
.top-news__title {
	text-align: center;
	font-size: 40px;
	font-weight: 500;
	letter-spacing: .4rem;
	color: var(--c-section-title);
}
.top-news__title-line {
	display: block;
	width: 40px;
	height: 1px;
	background: var(--c-section-title);
	margin: 16px auto;
}
.top-news__title-en {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--c-section-title);
	letter-spacing: .2rem;
}
.top-news__list {
	margin-top: 40px;
	border-top: 1px solid var(--c-item-border);
}
.top-news__item {
	display: flex;
	align-items: baseline;
	gap: 32px;
	padding: 22px 4px;
	border-bottom: 1px solid var(--c-item-border);
	transition: opacity .2s;
}
.top-news__item:hover { opacity: .6; }
.top-news__date {
	flex: 0 0 auto;
	font-size: 18px;
	color: var(--c-text-light);
	letter-spacing: inherit;
}
.top-news__item-title {
	font-size: 20px;
	color: var(--c-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.top-news__more {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

/* ---------- 「一覧を見る」等の共通ボタン ---------- */
.btn-more {
	position: relative;
	display: inline-block;
	background: var(--c-green);
	color: #fff;
	font-size: 18px;
	padding: 18px 48px 18px 32px;
	min-width: 260px;
	text-align: center;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
.btn-more__icon {
	position: relative;
	z-index: 1;
	display: inline-block;
	width: 16px;
	height: auto;
	vertical-align: middle;
	margin-right: 8px;
	margin-top: -3px;
}
.btn-more::after {
	content: "";
	position: absolute;
	right: 5px; bottom: 5px;
	width: 14px; height: 14px;
	background: #fff;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}

/* 塗りボタン共通：バナーと同じ白っぽいホバー */
a.digismart-banner__button:hover,
.btn-more:hover,
.feature__btn:hover,
.endoscopy-card__btn:hover,
.exam-module__btn:hover,
.entry-content .wp-block-button__link:hover,
.medical-tabs__btn:hover,
.search-tabs__btn:hover,
.reservation-app:hover {
	box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, .28);
}

/* ---------- 下層ページ共通：ページタイトル（パンくず・アンカーリンクの間に表示） ---------- */
.page-header-title {
	padding: 48px 0 44px;
	background: #fff;
}
.page-header-title .container {
	position: relative;
}
.page-header-title .container::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 220px;
	aspect-ratio: 338 / 386;
	background-color: var(--c-gold-line);
	opacity: .5;
	-webkit-mask: url(../../logo-back.png) no-repeat center / contain;
	mask: url(../../logo-back.png) no-repeat center / contain;
	z-index: 0;
	pointer-events: none;
}
.page-header-title__text {
	position: relative;
	z-index: 1;
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	font-size: 56px;
	font-weight: 300;
	letter-spacing: .3em;
	color: var(--c-text);
	text-align: left;
}
@media (max-width: 960px) {
	.page-header-title { padding: 18px 0 16px; }
	.page-header-title .container::before { width: 130px; }
	.page-header-title__text { font-size: 28px; letter-spacing: .2em; }
}

/* ---------- 下層ページ共通：全幅アイキャッチ画像 ---------- */
.page-header-eyecatch {
	aspect-ratio: 10 / 3;
	min-height: 200px;
	overflow: hidden;
}
.page-header-eyecatch img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
@media (max-width: 960px) {
	.page-header-eyecatch { aspect-ratio: 10 / 5.8; min-height: 160px; }
}

/* ---------- 下層ページ共通：パンくずリスト ---------- */
.breadcrumb {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 16px 24px;
}
.breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	color: var(--c-text-light);
}
.breadcrumb__item:not(:last-child)::after {
	content: "\203A";
	margin-left: 6px;
	color: var(--c-text-light);
}
.breadcrumb__item a { color: var(--c-text-light); }
.breadcrumb__item a:hover { color: var(--c-green); text-decoration: underline; }

/* ---------- 下層ページ：コンテンツ〜フッター間の余白 ---------- */
body:not(.front-page) .site-main {
	padding-bottom: 0;
}

/* ---------- 下層ページ共通：本文タイポグラフィ（entry-content） ---------- */
/* コンテンツ幅は基本的にこの1パターンのみ（theme.jsonのcontentSizeと同じ値）。
   背景だけ全幅にしたい時は、全幅(alignfull)グループの中に通常のグループを入れる
   （中のグループはこの幅と同じ最大幅に自動で収まる）。 */
.entry-content { max-width: var(--content-width); margin-left: auto; margin-right: auto; font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: 18px; line-height: 1.9; color: var(--c-text); }
.entry-content h2 {
	position: relative;
	z-index: 0;
	margin: 2.2em 0 1em;
	padding: 1.2em 0;
	overflow: visible;
	font-size: 26px;
	font-weight: 500;
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	color: var(--c-text);
	text-align: center;
	width: 100%;
}
.entry-content h2::before {
	content: "";
	position: absolute;
	display: block;
	top: -21px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 56px;
	background: url(../../img/h2-logo.png) no-repeat center / contain;
}
.entry-content h2::after {
	content: "";
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background-color: var(--c-green);
}
.entry-content > h2:first-child { margin-top: 0; }
/* グループブロックの先頭要素がh2の場合、WordPressコアのレイアウト仕様で上マージンが強制的に0になり、
   ::beforeのロゴがグループの外にはみ出てしまう。失われたマージン分をpaddingで補い、ロゴをその中に収める。 */
.entry-content .is-layout-constrained > h2:first-child {
	padding-top: 88px;
}
.entry-content .is-layout-constrained > h2:first-child::before {
	top: 36px;
}
.entry-content h3 {
	margin: 1.8em 0 .9em;
	padding: .3em 0 .3em 20px;
	font-size: 22px;
	font-weight: 500;
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	color: var(--c-text);
	border-left: 6px solid var(--c-gold);
}
.entry-content h4 {
	margin: 1.6em 0 .8em;
	padding-bottom: 10px;
	font-size: 19px;
	font-weight: 500;
	font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
	color: var(--c-text);
	border-bottom: 1px solid var(--c-gold-line);
}
.entry-content h5 {
	position: relative;
	margin: 1.4em 0 .7em;
	padding-left: 1.3em;
	font-size: 17px;
	font-weight: 700;
	color: var(--c-text);
}
.entry-content h5::before {
	content: "";
	position: absolute;
	left: 0; top: .5em;
	width: 8px; height: 8px;
	background: var(--c-gold);
	transform: rotate(45deg);
}
.entry-content p { margin-bottom: 1.6em; }
.entry-content ul { list-style: disc; margin: 1em 0 1.6em 1.5em; padding-left: 24px; }
.entry-content ol { list-style: decimal; margin: 1em 0 1.6em 1.5em; padding-left: 24px; }
.entry-content li { margin-bottom: .5em; }
/* リストブロックのスタイル「2列」選択時：PCは2列、SPは読みやすさのため1列に戻す */
.entry-content .is-style-two-column {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 32px;
	row-gap: .5em;
}
.entry-content .is-style-two-column li { margin-bottom: 0; }
@media (max-width: 960px) {
	.entry-content .is-style-two-column { grid-template-columns: 1fr; }
}
.entry-content strong, .entry-content b { font-weight: 700; }
.entry-content a { color: var(--c-green); text-decoration: underline; overflow-wrap: break-word; word-break: break-all; }
.entry-content a:hover { text-decoration: none; }
.entry-content img { max-width: 100%; height: auto; margin-bottom: 1.5em; border-radius: 4px; }
.entry-content iframe { width: 100%; aspect-ratio: 10 / 6; }
.entry-content .wp-block-table table { width: 100%; border-collapse: collapse; }
.entry-content .wp-block-table thead tr { background: var(--c-green); color: #fff; }
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { padding: 14px 12px; border-bottom: 1px solid var(--c-border); text-align: center; }
.entry-content .is-scroll-on-mobile { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.entry-content .wp-block-button__link {
	position: relative;
	display: inline-block;
	padding: 18px 48px 18px 32px;
	min-width: 260px;
	background: var(--c-green);
	color: #fff !important;
	font-size: 18px;
	text-align: center;
	text-decoration: none !important;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
/* 右下の折り返し風の三角形（.btn-moreと共通デザイン） */
.entry-content .wp-block-button__link::after {
	content: "";
	position: absolute;
	right: 5px; bottom: 5px;
	width: 14px; height: 14px;
	background: #fff;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}
/* グループのpaddingを0にしても、内部見出し(h2)の上マージンが親と相殺されないようにする。
   これにより h2::before のロゴが親グループの外にはみ出さず、上マージンの余白内に収まる。 */
.entry-content .wp-block-group {
	display: flow-root;
}
/* 全幅（alignfull）ブロックを画面いっぱいに広げる */
.entry-content .alignfull {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
	margin-right: -50vw;
}
.entry-content .wp-block-group.alignfull > *:not(.alignfull) {
	max-width: var(--content-width);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}
/* PCでは--content-widthでぴったり収まるが、スマホは画面幅がそれより
   狭いのでmax-widthが効かず、そのままだと画面端に張り付いてしまう。
   スマホの時だけ左右に余白を足す。 */
@media (max-width: 960px) {
	.entry-content .wp-block-group.alignfull > *:not(.alignfull) {
		padding-left: 24px;
		padding-right: 24px;
	}
}
.entry-content .wp-block-image.alignfull > img {
	width: 100%;
	max-width: 100vw;
}
@media (max-width: 960px) {
	.entry-content { font-size: 16px; }
	/* SP: ロゴと見出し文字の間を少し開ける（px指定で確実に反映） */
	.entry-content h2,
	.entry-content h2.wp-block-heading {
		font-size: 20px;
		padding: 48px 0 18px;
	}
	.entry-content h2::before,
	.entry-content h2.wp-block-heading::before {
		top: -14px;
	}
	/* モバイルはpaddingが縮むぶん、::after(下線)の位置も詰めないと
	   見出しが2行以上に折り返したとき下線が文字と重なってしまうため調整する。 */
	.entry-content h2::after,
	.entry-content h2.wp-block-heading::after {
		bottom: 8px;
	}
	/* SP: 先頭h2の例外は、通常のh2と同じ見え方になるようロゴ分だけ確保する
	   （WPが先頭のmarginを潰すため、ロゴをグループ内に置く必要がある） */
	.entry-content .is-layout-constrained > h2:first-child,
	.entry-content .is-layout-constrained > h2.wp-block-heading:first-child {
		padding-top: 62px; /* ロゴ56px + 文字との隙間6px（通常h2と同じ見え方） */
	}
	.entry-content .is-layout-constrained > h2:first-child::before,
	.entry-content .is-layout-constrained > h2.wp-block-heading:first-child::before {
		top: 0;
	}
	.entry-content h3 { font-size: 18px; }
	.entry-content h4 { font-size: 16px; }
	.entry-content h5 { font-size: 15px; }
	.entry-content .is-scroll-on-mobile::before {
		content: "※横にスクロールできます";
		display: block;
		font-size: 11px;
		color: var(--c-text-light);
		text-align: right;
		margin-bottom: 6px;
	}
}

/* アンカージャンプ時の着地位置を固定ヘッダー分だけ下げる（ページ内スムースは JS で制御） */
[id] { scroll-margin-top: calc(var(--header-height) + 20px); }

/* ---------- 固定ページ：目次（アンカーリンク） ---------- */
.anchor-nav { margin: 40px 0 48px; }
.anchor-nav ul { display: flex; flex-wrap: wrap; gap: 24px 40px; list-style: none; margin: 0; padding: 0; }
.anchor-nav li { width: calc(33.333% - 27px); }
.anchor-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--c-border);
	color: var(--c-text);
	font-weight: 400;
	transition: color .2s, border-color .2s;
}
.anchor-nav a::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background-color: var(--c-green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center 54%;
	background-size: 11px 7px;
}
.anchor-nav a:hover { color: var(--c-green); border-color: var(--c-green); }
@media (max-width: 960px) {
	.anchor-nav ul {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 20px;
		align-items: stretch;
	}
	.anchor-nav li {
		width: auto;
		height: 100%;
		display: flex;
	}
	.anchor-nav a {
		flex: 1;
		width: 100%;
		height: 100%;
		box-sizing: border-box;
		font-size: 14px;
	}
}

/* ---------- ブログ記事：自動目次 ---------- */
.anchor-nav-blog {
	background: var(--c-panel-bg);
	border-radius: 8px;
	padding: 28px;
	margin: 32px 0;
}
.anchor-nav-blog p {
	font-size: 18px;
	font-weight: 500;
	color: var(--c-green);
	border-bottom: 2px solid var(--c-green);
	padding-bottom: 14px;
	margin-bottom: 10px;
}
.anchor-nav-blog ul { list-style: none; margin: 0; padding: 0; }
.anchor-nav-blog li { border-bottom: 1px solid var(--c-border); }
.anchor-nav-blog li:last-child { border-bottom: none; }
.anchor-nav-blog li.is-h3 { margin-left: 20px; }
.anchor-nav-blog a {
	position: relative;
	display: block;
	padding: 12px 0 12px 22px;
	color: var(--c-text);
	transition: color .2s, padding-left .2s;
}
.anchor-nav-blog li.is-h3 a { font-size: 14px; color: var(--c-text-light); }
.anchor-nav-blog a::before {
	content: "";
	position: absolute;
	left: 2px; top: 50%;
	transform: translateY(-50%) rotate(45deg);
	width: 8px; height: 8px;
	border-right: 2px solid var(--c-gold);
	border-bottom: 2px solid var(--c-gold);
}
.anchor-nav-blog a:hover { color: var(--c-green); padding-left: 28px; }

/* ---------- ブログ：一覧・詳細・サイドバー ---------- */
.blog-layout {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 60px 24px 100px;
}
.blog-layout__main { flex: 1 1 auto; min-width: 0; }
.blog-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0 0 40px; padding: 0; }
.blog-card a {
	display: block;
	color: var(--c-text);
	border: 1px solid var(--c-border);
	border-radius: 12px;
	overflow: hidden;
	padding-bottom: 16px;
	transition: opacity .2s;
}
.blog-card a:hover { opacity: .8; }
.blog-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-panel-bg); }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card__img--logo {
	display: flex;
	align-items: center;
	justify-content: center;
}
.blog-card__img--logo img {
	width: 42%;
	height: auto;
	max-height: 55%;
	object-fit: contain;
}
.blog-card__category {
	display: inline-block;
	margin: 14px 0 0 16px;
	padding: 3px 14px;
	background: var(--c-green);
	color: #fff;
	font-size: 11px;
	border-radius: 999px;
}
.blog-card__title { display: block; margin-top: 8px; padding: 0 16px; font-size: 16px; font-weight: 500; line-height: 1.5; }
.blog-card__date { display: block; margin-top: 8px; padding: 0 16px; font-size: 13px; color: var(--c-text-light); }

.blog-single__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--c-text-light); }
.blog-single__category { padding: 3px 14px; background: var(--c-green); color: #fff; border-radius: 999px; font-size: 11px; }
.blog-single__title { margin-top: 16px; font-size: 26px; font-weight: 500; color: var(--c-text); line-height: 1.5; }

.sidebar { flex: 0 0 300px; width: 300px; display: flex; flex-direction: column; gap: 40px; }
.sidebar__title { font-size: 17px; font-weight: 500; padding-left: 12px; border-left: 4px solid var(--c-green); margin-bottom: 16px; }
.sidebar__banners { display: flex; flex-direction: column; gap: 14px; }
.sidebar__banner img { width: 100%; border-radius: 6px; transition: opacity .2s; }
.sidebar__banner:hover img { opacity: .8; }
.sidebar__post-list { list-style: none; margin: 0; padding: 0; }
.sidebar__post-list li { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.sidebar__post-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar__post-list a { display: flex; gap: 12px; color: var(--c-text); }
.sidebar__post-img { flex: 0 0 auto; width: 72px; height: 56px; overflow: hidden; border-radius: 4px; background: var(--c-panel-bg); }
.sidebar__post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sidebar__post-img--logo {
	display: flex;
	align-items: center;
	justify-content: center;
}
.sidebar__post-img--logo img {
	width: 55%;
	height: auto;
	max-height: 70%;
	object-fit: contain;
}
.sidebar__post-text { display: block; font-size: 14px; font-weight: 500; line-height: 1.5; }
.sidebar__post-date { display: block; margin-top: 4px; font-size: 12px; color: var(--c-text-light); }
.sidebar__category-list { list-style: none; margin: 0; padding: 0; }
.sidebar__category-list li { border-bottom: 1px solid var(--c-border); }
.sidebar__category-list a { display: flex; justify-content: space-between; padding: 12px 4px; color: var(--c-text); font-size: 14px; transition: color .2s, padding-left .2s; }
.sidebar__category-list a span { color: var(--c-text-light); font-size: 12px; }
.sidebar__category-list a:hover { color: var(--c-green); padding-left: 10px; }

@media (max-width: 960px) {
	.blog-layout { flex-direction: column; gap: 40px; padding: 40px 16px 60px; }
	.sidebar { width: 100%; flex-basis: auto; }
	.blog-list { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
	.blog-single__title { font-size: 20px; }
}

/* ---------- 404 ---------- */
.content-404 { max-width: 700px; margin: 0 auto; padding: 60px 24px 100px; text-align: center; }
.content-404 h2 { font-size: 22px; font-weight: 500; color: var(--c-text); margin-bottom: 24px; }
.content-404 p { line-height: 2; color: var(--c-text-light); }
.content-404__back { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- お知らせ 一覧／詳細 ---------- */
.page-news {
	padding: 60px 24px 100px;
}
.page-news__list {
	border-top: 1px solid var(--c-item-border);
}
.page-news__item {
	display: flex;
	align-items: baseline;
	gap: 32px;
	padding: 22px 4px;
	border-bottom: 1px solid var(--c-item-border);
	transition: opacity .2s;
}
.page-news__item:hover { opacity: .6; }
.page-news__date {
	flex: 0 0 auto;
	font-size: 18px;
	color: var(--c-text-light);
}
.page-news__item-title {
	font-size: 20px;
	color: var(--c-text);
}

.page-news__single { padding: 8px 0 40px; border-bottom: 1px solid var(--c-gold-line); margin-bottom: 40px; }
.page-news__single .page-news__date { display: block; margin-bottom: 12px; }
.page-news__single-title { font-size: 24px; font-weight: 500; color: var(--c-text); margin-bottom: 32px; }
.page-news__content { font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; font-size: 18px; line-height: 2; color: var(--c-text); }
.page-news__content p { margin-bottom: 1.5em; }
.page-news__content img { max-width: 100%; height: auto; }
.page-news__back { display: flex; justify-content: center; margin-top: 20px; }

.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pagination .page-numbers {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	font-size: 14px;
	color: var(--c-text);
	border: 1px solid var(--c-border);
	transition: box-shadow .25s ease, background .25s ease, color .25s ease;
}
.pagination a.page-numbers:hover {
	background: var(--c-green);
	color: #fff;
	border-color: var(--c-green);
	box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, .28);
}
.pagination .page-numbers.current { background: var(--c-green); color: #fff; border-color: var(--c-green); }
.pagination .page-numbers.dots { border: none; }

@media (max-width: 960px) {
	.top-news { padding-top: 40px; }
	.top-news__title { font-size: 28px; letter-spacing: .3rem; }
	.top-news__item, .page-news__item { flex-direction: column; gap: 6px; padding: 18px 4px; }
	.page-news__content { font-size: 16px; }
	.top-news__date,
	.page-news__date { font-size: 14px; }
	.top-news__item-title,
	.page-news__item-title { font-size: 15px; white-space: normal; }
	.btn-more { width: 100%; min-width: 0; font-size: 16px; padding: 14px 40px 14px 28px; }
}

/* ---------- 英字ループ帯 ---------- */
.en-loop {
	overflow: hidden;
	background: var(--c-green);
	padding: 24px 0;
}
.en-loop__track {
	display: flex;
	align-items: center;
	gap: 64px;
	width: max-content;
	white-space: nowrap;
	animation: enLoopScroll 28s linear infinite;
}
.en-loop__img {
	flex: 0 0 auto;
	display: block;
	height: 92px;
	width: auto;
}
@keyframes enLoopScroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (max-width: 960px) {
	.en-loop { padding: 14px 0; }
	.en-loop__img { height: 40px; }
	.en-loop__track { gap: 32px; animation-duration: 16s; }
}

/* ---------- 診療時間・アクセス（共通パーツ） ---------- */
.clinic-info {
	padding: 60px 24px;
	background: #f9f6f5;
}
.clinic-info__inner {
	max-width: var(--container-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

/* 診療時間表 */
.hours-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.hours-table th,
.hours-table td {
	border: none;
	text-align: center;
	padding: 3px 4px;
	font-size: 14px;
}
.hours-table th:first-child,
.hours-table td:first-child {
	width: 26%;
}
.hours-table thead th {
	background: var(--c-green);
	color: #fff;
	font-weight: 500;
}
.hours-table thead th:first-child { text-align: center; }
.hours-table tbody tr:nth-child(odd) { background: var(--c-panel-bg); }
.hours-table__label {
	text-align: center !important;
	font-size: 18px;
	white-space: nowrap;
}
.hours-table__label span { display: block; font-size: 12px; color: var(--c-text-light); }
.hours-symbol { font-size: 16px; line-height: 1; }
.hours-symbol--dot { color: #545454; }
.hours-symbol--slash { color: var(--c-text-light); }
.hours-symbol--square { color: var(--c-teal); }
.hours-symbol--triangle { color: var(--c-orange); }
.hours-symbol--dot2 { color: var(--c-green); }

.clinic-info__holiday { margin-top: 20px; font-size: 16px; font-weight: 400; }
.clinic-info__holiday-extra {
	margin-top: 8px;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
}

.hours-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin-top: 16px;
}
.hours-legend li { display: flex; align-items: center; gap: 8px; font-size: 14px; }

/* 受付ブロック */
.reception-blocks {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 12px;
	margin-top: 32px;
}
.reception-block { flex: 1 1 0; min-width: 0; }
.reception-block:nth-child(1) { flex: 4 1 0; }
.reception-block:nth-child(2) { flex: 6 1 0; }
.reception-block__title {
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: 12px;
}
.reception-block__title span {
	border: 1px solid #63534a;
	border-radius: 999px;
	padding: 6px 18px;
	font-size: 14px;
	white-space: nowrap;
}
.reception-block__title::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #63534a;
}
.reception-block__lines { font-size: 14px; line-height: 1.9; }

@media (min-width: 961px) {
	.reception-block__lines { white-space: nowrap; }
}

/* 予約優先制の告知 */
.reservation-notice {
	margin-top: 32px;
	background: #fff;
	padding: 12px 32px;
	text-align: center;
}
.reservation-notice__title {
	display: inline-block;
	background: var(--c-orange);
	color: #fff;
	font-weight: 400;
	font-size: 17px;
	padding: 3px 28px;
	border-radius: 999px;
}
.reservation-notice__text {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.9;
	text-align: left;
}

.clinic-info__address { margin-top: 24px; font-size: 16px; text-align: center; }

.btn-more--pink {
	background: var(--c-pink);
	display: block;
	width: max-content;
	margin: 20px auto 0;
}

.btn-more--orange { background: var(--c-orange); }
.btn-more--green-bright { background: var(--c-green-bright); }
.reservation-card--center .btn-more--orange { position: relative; overflow: hidden; }
.reservation-card--center .btn-more--orange::before {
	content: "";
	position: absolute;
	top: 5px; left: 5px; right: 0; bottom: 5px;
	background: rgba(255,255,255,.28);
	clip-path: polygon(0 0, 100% 0, 0 100%);
}
.feature__more {
	display: flex;
	justify-content: center;
	margin-top: 90px;
}

.map-embed {
	margin-top: 24px;
	aspect-ratio: 16 / 12;
	background: var(--c-panel-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-text-light);
	font-size: 18px;
	overflow: hidden;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-embed img {
	display: block;
	width: 100%;
	height: auto;
}
/* 画像のときは aspect-ratio を外し、幅100%のまま画像本来の高さに合わせる */
.map-embed:has(> img) {
	aspect-ratio: auto;
	height: auto;
	align-items: stretch;
}
.map-embed--parking { margin-top: 0; }
.clinic-info__col--left .map-embed { aspect-ratio: 16 / 8; }
.clinic-info__col--left .map-embed:has(> img) { aspect-ratio: auto; }

/* アクセス */
.access-group { margin-top: 40px; }
.access-group:first-child { margin-top: 0; }
.access-group__header { display: flex; align-items: center; gap: 0; }
.access-group__label {
	flex: 0 0 auto;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	padding: 4px 20px;
	border-radius: 999px;
}
.access-group__label--green { background: var(--c-green-bright); }
.access-group__label--teal { background: var(--c-teal); }
.access-group__line { flex: 1; height: 1px; background: #63534a; }

.access-group__list { margin-top: 20px; }
.access-group__list li {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
}
.access-group__list li:first-child { margin-top: 0; }
.access-icon {
	flex: 0 0 auto;
	width: 52px; height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.access-icon img { width: 100%; height: 100%; object-fit: contain; }
.access-item-text { font-size: 18px; line-height: 1.7; }

@media (max-width: 960px) {
	.clinic-info { padding: 40px 16px; }
	.clinic-info__inner { grid-template-columns: 1fr; gap: 48px; }
	.hours-table th, .hours-table td { padding: 8px 2px; font-size: 12px; }
	.hours-table__label { font-size: 13px; }
	.reception-blocks { flex-direction: column; gap: 24px; }
	.access-item-text { font-size: 14px; }
	.access-group__list li { gap: 10px; }
	.reservation-notice { padding: 12px 15px; }
	.reservation-notice__title { font-size: 15px; padding: 3px 10px; }
	.reservation-notice__text { font-size: 14px; }
	.clinic-info__address { font-size: 14px; }
	.map-embed { aspect-ratio: 16 / 14; }
	.clinic-info__col--left .map-embed { aspect-ratio: 16 / 10; }
	.map-embed:has(> img),
	.clinic-info__col--left .map-embed:has(> img) { aspect-ratio: auto; }
}

/* ---------- 診療案内（タブ切り替え） ---------- */
.medical-menu {
	padding: 80px 24px 80px;
	background: #f3f3f3;
}
.medical-menu__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}

.medical-tabs { margin-top: 40px; }
.medical-tabs__nav {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
}
.medical-tabs__btn {
	position: relative;
	flex: 0 0 auto;
	min-width: 220px;
	padding: 10px 40px;
	border-radius: 12px 12px 0 0;
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	overflow: hidden;
	transition: background .2s ease, color .2s ease, box-shadow .25s ease, transform .25s ease;
}
.medical-tabs__btn.is-active {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.medical-tabs__btn--green { background: #97a79d; }
.medical-tabs__btn--teal { background: #a8d7dc; }
.medical-tabs__btn--orange { background: #e0c1a0; }
.medical-tabs__btn--green.is-active { background: var(--c-green); }
.medical-tabs__btn--teal.is-active { background: var(--c-teal); }
.medical-tabs__btn--orange.is-active { background: var(--c-orange); }
.medical-tabs__btn.is-active::after {
	content: "";
	position: absolute;
	left: 50%; bottom: -8px;
	transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid currentColor;
}
.medical-tabs__btn--green.is-active::after { border-top-color: var(--c-green); }
.medical-tabs__btn--teal.is-active::after { border-top-color: var(--c-teal); }
.medical-tabs__btn--orange.is-active::after { border-top-color: var(--c-orange); }

.medical-tabs__panels {
	background: #d7dfda;
	border-radius: 0 12px 12px 12px;
	padding: 40px;
	transition: background .25s ease;
}
.medical-tabs__panels:has(.medical-tabs__panel:nth-child(2).is-active) {
	background: #eef9fa;
}
.medical-tabs__panels:has(.medical-tabs__panel:nth-child(3).is-active) {
	background: #eeebe8;
}
.medical-tabs__panel { display: none; }
.medical-tabs__panel.is-active { display: block; }

.medical-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 24px;
}
.medical-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	transition: opacity .2s;
}
.medical-card__img { aspect-ratio: 16 / 9; overflow: hidden; }
.medical-card__img img { width: 100%; height: 100%; object-fit: cover; }
.medical-card__footer {
	padding: 18px 24px;
	background: #fff;
	color: var(--c-text);
	font-size: 15px;
	min-height: 56px;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: background .2s, color .2s;
}
.medical-card__footer span {
	text-align: center;
}
.medical-card::after {
	content: "";
	position: absolute;
	right: 5px; bottom: 5px;
	width: 16px; height: 16px;
	background: var(--c-green);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	transition: background .2s;
	pointer-events: none;
}
.medical-card--green::after { background: var(--c-green); }
.medical-card--teal::after { background: var(--c-teal); }
.medical-card--orange::after { background: var(--c-orange); }
.medical-card:hover .medical-card__footer { color: #fff; }
.medical-card:hover::after { background: #fff; }
.medical-card:hover .medical-card__footer--green { background: var(--c-green); }
.medical-card:hover .medical-card__footer--teal { background: var(--c-teal); }
.medical-card:hover .medical-card__footer--orange { background: var(--c-orange); }

@media (max-width: 960px) {
	.medical-menu { padding-top: 40px; padding-bottom: 40px; }
	.medical-tabs__nav { flex-wrap: nowrap; gap: 4px; }
	.medical-tabs__btn {
		flex: 1 1 0;
		min-width: 0;
		font-size: 12px;
		padding: 10px 4px;
		text-align: center;
		border-radius: 8px 8px 0 0;
	}
	.medical-tabs__panels { padding: 24px 16px; border-radius: 0 0 8px 8px; }
	.medical-cards { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
	.medical-card__footer {
		padding: 12px;
		min-height: 0;
		font-size: 13px;
	}
}

/* ---------- Feature（選ばれる理由） ---------- */
.feature {
	position: relative;
	overflow: hidden;
	padding: 80px 24px 100px;
	background: #f7f5f2;
}
.feature__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
}

.feature__loop {
	position: absolute;
	top: 0; right: 0; bottom: 0;
	width: 140px;
	overflow: hidden;
	background: var(--c-green);
	z-index: 0;
}
.feature__loop-track {
	position: absolute;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	animation: featureLoopScroll 32s linear infinite;
}
.feature__loop-img {
	flex: 0 0 auto;
	display: block;
	width: 100px;
	height: auto;
}
.feature__loop-sep {
	width: 8px; height: 8px;
	margin: 24px 0;
	border-radius: 50%;
	border: 1.5px solid rgba(255,255,255,.6);
}
@keyframes featureLoopScroll {
	from { transform: translateX(-50%) translateY(0); }
	to { transform: translateX(-50%) translateY(-50%); }
}

.feature__list {
	position: relative;
	margin-top: 56px;
}
.feature__row { position: relative; z-index: 1; }
.feature__row--watermark::before {
	content: "";
	position: absolute;
	left: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 40%;
	aspect-ratio: 338 / 386;
	background: url(../../img/logo-back.png) no-repeat center / contain;
	z-index: -1;
	pointer-events: none;
}
.feature__row {
	display: grid;
	grid-template-columns: 45fr 55fr;
	grid-template-areas: "text img" "buttons img";
	align-items: start;
	column-gap: 56px;
	margin-top: 72px;
}
.feature__row:first-child { margin-top: 0; }
.feature__row.is-reverse {
	grid-template-columns: 55fr 45fr;
	grid-template-areas: "img text" "img buttons";
}
.feature__text { grid-area: text; }
.feature__img { grid-area: img; align-self: center; }
.feature__buttons { grid-area: buttons; }

/* Feature05だけ、マーカー付きテキストと見出しの上下を入れ替える */
.feature__row:nth-child(5) .feature__text {
	display: flex;
	flex-direction: column;
}
.feature__row:nth-child(5) .feature__number { order: 1; }
.feature__row:nth-child(5) .feature__heading { order: 2; }
.feature__row:nth-child(5) .feature__highlight { order: 3; }

/* Feature：テキスト左／画像右（逆行は入れ替え）からスッと表示 */
body.js-reveal-ready .feature__text,
body.js-reveal-ready .feature__img,
body.js-reveal-ready .feature__buttons {
	opacity: 0;
	transition: opacity .85s cubic-bezier(.22, 1, .36, 1), transform .85s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}
body.js-reveal-ready .feature__row:not(.is-reverse) .feature__text,
body.js-reveal-ready .feature__row:not(.is-reverse) .feature__buttons {
	transform: translate3d(-80px, 0, 0);
}
body.js-reveal-ready .feature__row:not(.is-reverse) .feature__img {
	transform: translate3d(80px, 0, 0);
}
body.js-reveal-ready .feature__row.is-reverse .feature__text,
body.js-reveal-ready .feature__row.is-reverse .feature__buttons {
	transform: translate3d(80px, 0, 0);
}
body.js-reveal-ready .feature__row.is-reverse .feature__img {
	transform: translate3d(-80px, 0, 0);
}
body.js-reveal-ready .feature__row.is-inview .feature__text,
body.js-reveal-ready .feature__row.is-inview .feature__img,
body.js-reveal-ready .feature__row.is-inview .feature__buttons {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
body.js-reveal-ready .feature__row.is-inview .feature__img { transition-delay: .15s; }
body.js-reveal-ready .feature__row.is-inview .feature__buttons { transition-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
	body.js-reveal-ready .feature__text,
	body.js-reveal-ready .feature__img,
	body.js-reveal-ready .feature__buttons {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}

.feature__img img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 40px 40px 0 40px;
	box-shadow: 0 16px 32px rgba(0,0,0,.18);
}
.feature__row.is-reverse .feature__img img {
	border-radius: 40px 40px 40px 0;
}

.feature__number {
	display: flex;
	align-items: baseline;
	gap: 5px;
	font-size: 30px;
	font-weight: 500;
	letter-spacing: inherit;
	color: var(--c-section-title);
}
.feature__number span {
	font-size: 60px;
	font-weight: 500;
	letter-spacing: inherit;
}

.feature__highlight { margin-top: 16px; }
.feature__highlight span {
	background: linear-gradient(transparent 60%, #deebd6 60%);
	color: var(--c-text);
	font-size: 20px;
	font-weight: 400;
	line-height: 2;
	letter-spacing: inherit;
}

.feature__heading {
	margin-top: 8px;
	font-size: 30px;
	font-weight: 500;
	line-height: 1.9;
	letter-spacing: inherit;
	color: var(--c-green);
}

.feature__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}
.feature__btn {
	position: relative;
	display: inline-block;
	width: 250px;
	box-sizing: border-box;
	padding: 14px 32px 14px 20px;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	text-align: center;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
.feature__btn--green { background: #88b77e; }
.feature__btn--teal { background: var(--c-teal); }
.feature__btn::after {
	content: "";
	position: absolute;
	right: 4px; bottom: 4px;
	width: 10px; height: 10px;
	background: #fff;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}

@media (max-width: 960px) {
	.feature { padding: 40px 16px 60px; }
	.feature__list { margin-top: 30px; }
	.feature__inner { padding-right: 0; }
	.feature__loop { display: none; }
	.feature__row,
	.feature__row.is-reverse {
		grid-template-columns: 1fr;
		grid-template-areas: "text" "img" "buttons";
		gap: 24px;
		margin-top: 48px;
	}
	.feature__img { align-self: auto; }
	.feature__heading { font-size: 22px; }
	.feature__number { font-size: 18px; gap: 5px; letter-spacing: inherit; }
	.feature__number span { font-size: 32px; }
	.feature__highlight span { font-size: 18px; font-weight: 400; line-height: 1.9; }
	.feature__row.is-reverse .feature__img img { border-radius: 40px 40px 0 40px; }
	.feature__buttons { justify-content: center; }
	.feature__btn { width: calc(50% - 6px); font-size: 15px; padding: 12px 28px 12px 16px; }
}

/* ---------- 内視鏡検査 ---------- */
.endoscopy {
	position: relative;
	padding: 80px 24px 100px;
	background:
		linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)),
		url(../../img/endoscopy-back.jpg) center / cover no-repeat;
}
.endoscopy__title-band {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: -80px;
	margin-bottom: 40px;
	padding: 56px 24px;
	background: var(--c-green);
}
.endoscopy .top-news__title { color: #fff; }
.endoscopy .top-news__title-line { background: #fff; }
.endoscopy .top-news__title-en { color: #fff; }
.endoscopy__inner {
	position: relative;
	max-width: var(--container-width);
	margin: 0 auto;
}
.endoscopy__seam {
	position: relative;
	height: 0;
}
.endoscopy__seam::before {
	content: "";
	position: absolute;
	right: -120px;
	top: 0;
	transform: translateY(-50%);
	width: 40%;
	aspect-ratio: 338 / 386;
	background: url(../../img/logo-back.png) no-repeat center / contain;
	z-index: 0;
	pointer-events: none;
}

.endoscopy__panel {
	margin-top: 40px;
	background: #ebe3db;
	padding: 48px;
}

.endoscopy__lead {
	text-align: center;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--c-section-title);
}
.endoscopy__lead-accent { color: var(--c-green); }

.endoscopy__checklist {
	margin-top: 32px;
	background: #fff;
	border-radius: 16px;
	padding: 28px 32px;
}
.endoscopy__checklist li {
	position: relative;
	padding-left: 32px;
	font-size: 20px;
	font-weight: 500;
	color: var(--c-text);
}
.endoscopy__checklist li + li { margin-top: 10px; }
.endoscopy__checklist li::before {
	content: "";
	position: absolute;
	left: 2px; top: 10px;
	width: 14px; height: 8px;
	border-left: 2px solid var(--c-green);
	border-bottom: 2px solid var(--c-green);
	transform: rotate(-45deg);
}

.endoscopy__body {
	margin-top: 28px;
	font-size: 17px;
	line-height: 2;
	color: var(--c-text);
}

.endoscopy__cards {
	margin-top: 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.endoscopy-card { position: relative; z-index: 1; background: #fff; border-radius: 16px; }
.endoscopy-card__label {
	padding: 10px 20px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: inherit;
	text-align: center;
	border-radius: 16px 16px 0 0;
}
.endoscopy-card__label--green { background: var(--c-green); }
.endoscopy-card__label--teal { background: var(--c-teal); }

.endoscopy-card__photo { position: relative; }
.endoscopy-card__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.endoscopy-card__icon {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -34px;
	width: 130px; height: 150px;
	background: var(--c-badge);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
}
.endoscopy-card__icon img { width: 32px; height: 32px; object-fit: contain; }
.endoscopy-card__icon span {
	font-size: 20px;
	font-weight: 400;
	color: var(--c-catch-text);
	text-align: center;
	line-height: 1.4;
}

.endoscopy-card__body { padding: 56px 28px 28px; }
.endoscopy-card__text { font-size: 17px; font-weight: 400; line-height: 1.9; color: var(--c-text); }

.endoscopy-card__buttons {
	margin-top: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.endoscopy-card__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 16px 24px 16px 12px;
	min-height: 60px;
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
.endoscopy-card__btn--green { background: var(--c-green); }
.endoscopy-card__btn--teal { background: var(--c-teal); }
.endoscopy-card__btn::after {
	content: "";
	position: absolute;
	right: 6px; bottom: 6px;
	width: 12px; height: 12px;
	background: #fff;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}

@media (max-width: 960px) {
	.endoscopy { padding: 56px 16px 60px; }
	.endoscopy__title-band { margin-top: -56px; padding: 40px 16px; }
	.endoscopy__panel { padding: 24px 15px; }
	.endoscopy__lead { font-size: 20px; }
	.endoscopy__body { font-size: 15px; }
	.endoscopy__checklist { padding: 28px 15px; }
	.endoscopy__checklist li { font-size: 15px; }
	.endoscopy-card__btn { font-size: 14px; padding: 25px 12px 25px 10px; }
	.endoscopy__cards { grid-template-columns: 1fr; }
	.endoscopy-card__icon { width: 100px; height: 116px; bottom: -24px; }
	.endoscopy-card__icon span { font-size: 14px; }
	.endoscopy-card__body { padding: 40px 15px; }
}

/* ---------- 検査モジュール（腹部エコー検査など） ---------- */
.exam-module {
	margin-top: 0;
	background: #f7f6f5;
	padding: 32px 48px;
}
.exam-module__title {
	position: relative;
	z-index: 1;
	text-align: center;
	font-size: 26px;
	font-weight: 500;
	color: var(--c-section-title);
	margin-bottom: 20px;
}
.exam-module__card {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
}
.exam-module__label {
	background: var(--c-orange);
	color: #fff;
	text-align: center;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: inherit;
	padding: 8px 20px;
}
.exam-module__body {
	display: flex;
	align-items: flex-start;
	gap: 40px;
	padding: 32px;
}
.exam-module__img { flex: 0 0 42%; }
.exam-module__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.exam-module__content { flex: 1 1 0; }
.exam-module__text { font-size: 17px; font-weight: 400; line-height: 1.9; color: var(--c-text); }

.exam-module__buttons {
	margin-top: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.exam-module__btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 60px;
	padding: 14px 24px 14px 12px;
	background: var(--c-orange);
	color: #fff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	overflow: hidden;
	transition: box-shadow .25s ease;
}
.exam-module__btn::after {
	content: "";
	position: absolute;
	right: 6px; bottom: 6px;
	width: 12px; height: 12px;
	background: #fff;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	z-index: 2;
	pointer-events: none;
}

@media (max-width: 960px) {
	.exam-module { padding: 32px 15px; }
	.exam-module__body { flex-direction: column; gap: 20px; padding: 20px; }
	.exam-module__img { flex-basis: auto; width: 100%; }
	.exam-module__buttons { grid-template-columns: 1fr 1fr; gap: 10px; }
	.exam-module__btn { font-size: 14px; padding: 25px 8px 25px 6px; }
}

/* ---------- 病名・症状から探す ---------- */
.search-section {
	padding: 80px 24px 100px;
	background: #fff;
}
.search-section__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}
.search-section__band {
	margin-top: 40px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #f1f1f1;
	padding: 48px 24px;
}

.search-tabs { margin-top: 0; }
.search-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: stretch;
}
.search-tabs__btn {
	position: relative;
	flex: 0 0 auto;
	min-width: 200px;
	padding: 5px 24px;
	border-radius: 12px 12px 0 0;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
	opacity: .55;
	overflow: hidden;
	transition: opacity .2s, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1.15;
}
.search-tabs__btn small { display: block; font-size: 11px; font-weight: 400; margin-top: 2px; line-height: 1.15; }
.search-tabs__btn.is-active { opacity: 1; }
.search-tabs__btn--green { background: var(--c-green); }
.search-tabs__btn--teal { background: var(--c-teal); }
.search-tabs__btn--orange { background: var(--c-orange); }
.search-tabs__btn--tan { background: var(--c-badge); }
.search-tabs__btn--tan.is-active { background: #c7b299; }
.search-tabs__btn.is-active::after {
	content: "";
	position: absolute;
	left: 50%; bottom: -8px;
	transform: translateX(-50%);
	width: 0; height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 8px solid currentColor;
}
.search-tabs__btn--green.is-active::after { border-top-color: var(--c-green); }
.search-tabs__btn--teal.is-active::after { border-top-color: var(--c-teal); }
.search-tabs__btn--orange.is-active::after { border-top-color: var(--c-orange); }
.search-tabs__btn--tan.is-active::after { border-top-color: #c7b299; }

.search-tabs__panels {
	background: #fff;
	padding: 40px;
}
.search-tabs__panel { display: none; }
.search-tabs__panel.is-active { display: block; }

.search-items {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.search-tabs__panel--green { --tab-color: var(--c-green); }
.search-tabs__panel--teal { --tab-color: var(--c-teal); }
.search-tabs__panel--orange { --tab-color: var(--c-orange); }
.search-tabs__panel--tan { --tab-color: var(--c-badge); }

.search-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	min-height: 64px;
	padding: 12px 28px 12px 16px;
	background: #fff;
	border: 2px solid var(--tab-color, var(--c-green));
	color: var(--c-text);
	font-size: 15px;
	font-weight: 500;
	transition: background .2s, color .2s;
}
.search-item::after {
	content: "";
	position: absolute;
	right: 6px; bottom: 6px;
	width: 16px; height: 16px;
	background: var(--tab-color, var(--c-green));
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	transition: background .2s;
}
.search-item:hover {
	background: var(--tab-color, var(--c-green));
	color: #fff;
}
.search-item:hover::after { background: #fff; }

.search-banners {
	margin-top: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.search-banners__item { display: block; background: var(--c-panel-bg); }
.search-banners__item img { width: 100%; display: block; }

.search-tab-images {
	margin-top: 24px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}
.search-tab-images img { width: 100%; display: block; }

@media (max-width: 960px) {
	.search-section { padding: 56px 16px 30px; }
	.search-tabs__nav { display: grid; grid-template-columns: repeat(2, 1fr); }
	.search-tabs__btn { min-width: 0; width: 100%; font-size: 15px; padding: 5px 12px; }
	.search-tabs__panels { padding: 20px; }
	.search-section__band { padding: 24px 16px; }
	.search-items { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.search-banners { grid-template-columns: 1fr; }
	.search-tab-images { grid-template-columns: 1fr; }
}

/* ---------- 予約方法と「デジスマ」について ---------- */
.reservation {
	padding: 80px 24px 100px;
	background: #fff;
}
.reservation__inner {
	max-width: var(--container-width);
	margin: 0 auto;
}

.reservation__title {
	text-align: center;
}
.reservation__title span:first-child {
	display: inline-block;
	background: var(--c-green);
	color: #fff;
	font-size: 40px;
	font-weight: 500;
	padding: 10px 48px;
	letter-spacing: .4rem;
}
.reservation__title-line {
	display: block;
	width: 40px;
	height: 1px;
	background: var(--c-section-title);
	margin: 20px auto;
}
.reservation__title-en {
	display: block;
	font-size: 16px;
	font-weight: 700;
	color: var(--c-section-title);
	letter-spacing: .2rem;
}

.reservation__panel {
	margin-top: 40px;
	background: #f1f1f1;
	padding: 56px 40px;
}
.reservation__body {
	max-width: 900px;
	margin: 0 auto;
	text-align: center;
	font-size: 17px;
	line-height: 2.1;
	color: var(--c-text);
}

.reservation__cards {
	margin-top: 40px;
	display: flex;
	align-items: stretch;
	gap: 0;
	min-width: 0;
}
.reservation-card {
	position: relative;
	z-index: 0;
	flex: 1 1 0;
	min-width: 0;
	background: #fff;
	padding: 32px;
}
.reservation-card--center {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.reservation-card__heading,
.reservation-card__heading2 {
	text-align: center;
	font-size: 21px;
	font-weight: 500;
	color: var(--c-green);
}
.reservation-card__heading-line {
	display: block;
	width: 32px;
	height: 1px;
	background: var(--c-green);
	margin: 14px auto 24px;
}

.reservation-apps {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}
.reservation-app {
	position: relative;
	flex: 1 1 140px;
	max-width: 180px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px 16px;
	overflow: hidden;
	color: #fff;
	transition: box-shadow .25s ease;
}
.reservation-app::before {
	content: "";
	position: absolute;
	top: 5px; left: 5px; right: 0; bottom: 0;
	background: rgba(255,255,255,.28);
	clip-path: polygon(0 0, 65% 0, 0 65%);
}
.reservation-app--green { background: var(--c-green); }
.reservation-app--teal { background: var(--c-teal); }
.reservation-app__label {
	position: relative;
	font-size: 26px;
	font-weight: 700;
	text-align: center;
	line-height: 1.4;
}
.reservation-app__label small { display: block; font-size: 13px; font-weight: 400; }
.reservation-app__dl {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--c-orange);
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 999px;
}
.reservation-app__dl img { width: 14px; height: auto; }

.reservation__arrow {
	position: relative;
	z-index: 5;
	flex: 0 0 auto;
	align-self: center;
	width: 140px;
	margin: 0 -40px;
}
.reservation__arrow img { width: 100%; height: auto; }

.reservation-card__highlight { margin-bottom: 12px; }
.reservation-card__highlight span {
	background: linear-gradient(transparent 55%, rgba(81,198,208,.35) 55%);
	font-size: 17px;
	font-weight: 500;
	color: var(--c-text);
}
.reservation-card__note {
	margin-top: 16px;
	font-size: 17px;
	color: var(--c-green);
}

@media (max-width: 960px) {
	.reservation { padding: 40px 16px 60px; }
	.reservation__title span:first-child { font-size: 22px; padding: 16px 24px; letter-spacing: .3rem; }
	.reservation__panel { padding: 24px 16px; }
	.reservation__body { font-size: 15px; }
	.reservation-card { padding: 32px 15px; width: 100%; flex: none; }
	.reservation-card__highlight span { font-size: 15px; }
	.reservation-card__note { font-size: 15px; }
	.reservation__cards { flex-direction: column; position: relative; }
	.reservation-apps {
		flex-wrap: nowrap;
		gap: 8px;
	}
	.reservation-app {
		flex: 1 1 0;
		max-width: none;
		padding: 20px 8px;
	}
	.reservation-app__label { font-size: 20px; }
	.reservation-app__dl { padding: 8px 10px; font-size: 12px; white-space: nowrap; }
	.reservation__arrow {
		position: relative;
		z-index: 5;
		flex: none;
		width: 90px;
		height: 90px;
		margin: 8px auto;
		transform: none;
		overflow: visible;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.reservation__arrow img {
		width: 90px;
		max-width: none;
		transform: rotate(90deg);
	}
}

/* ---------- 院長挨拶 ---------- */
.greeting {
	position: relative;
	padding: 80px 0 100px;
	background: #f7f5f2;
}
.greeting__inner {
	position: relative;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.greeting__row {
	position: relative;
	margin-top: 56px;
}
.greeting__bg {
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 35vw;
	background: var(--c-green);
	z-index: 0;
	overflow: hidden;
}
.greeting__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../../img/logo-back.png) no-repeat center bottom 40px;
	background-size: 85%;
	opacity: .12;
}

.greeting__row-inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: stretch;
}

.greeting__visual {
	position: relative;
	flex: 0 0 45%;
	max-width: 45%;
	overflow: hidden;
}
.greeting__img {
	position: absolute;
	box-shadow: 0 12px 24px rgba(0,0,0,.15);
}
/* 院長挨拶：画像がふわっと一つずつ */
body.js-reveal-ready .greeting__img {
	opacity: 0;
	transform: translate3d(0, 36px, 0);
	transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}
body.js-reveal-ready .greeting__visual.is-inview .greeting__img {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.greeting__img--main {
	top: 60px;
	left: 0;
	right: 0;
	width: 100%;
	transition-delay: 0s;
}
.greeting__img--sub1 {
	left: 0;
	bottom: 240px;
	width: 55%;
	z-index: 2;
	transition-delay: .2s;
}
.greeting__img--sub2 {
	left: auto;
	right: 0;
	bottom: 80px;
	width: 55%;
	z-index: 3;
	transition-delay: .4s;
}

.greeting__sub-images-sp { display: none; }

@media (prefers-reduced-motion: reduce) {
	body.js-reveal-ready .greeting__img {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}

.greeting__content-wrap {
	flex: 0 0 55%;
	max-width: 55%;
	display: flex;
	align-items: center;
	padding: 40px 0 40px 56px;
}
.greeting__content { width: 100%; }

.greeting__body {
	font-size: 17px;
	line-height: 2;
	color: var(--c-text);
}

.greeting__footer {
	margin-top: 32px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}
.greeting__footer .btn-more {
	letter-spacing: inherit;
}
.greeting__name {
	font-size: 24px;
	font-weight: 500;
	letter-spacing: inherit;
	color: var(--c-text);
}
.greeting__name span {
	font-size: 14px;
	letter-spacing: inherit;
	color: var(--c-text-light);
	margin-right: 8px;
}

@media (max-width: 960px) {
	.greeting { padding: 40px 0 60px; }
	.greeting__row { margin-top: 30px; }
	.greeting__bg { display: none; }
	.greeting__row-inner { flex-direction: column; padding: 0 16px; }
	.greeting__visual {
		flex-basis: auto;
		max-width: 100%;
		height: auto;
		background: none;
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
	}
	.greeting__img { position: static; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
	.greeting__img--main { width: 100%; }
	.greeting__img--sub1, .greeting__img--sub2 { width: calc(50% - 5px); }
	.greeting__content-wrap { flex-basis: auto; max-width: 100%; padding: 24px 0; }
	.greeting__body { font-size: 15px; }
	.greeting__footer { justify-content: center; text-align: center; flex-direction: column; gap: 12px; }

	/* SP: サブ画像は「院長紹介ボタン」の下に出し、少しだけ角を重ねる */
	.greeting__visual .greeting__img--sub1,
	.greeting__visual .greeting__img--sub2 { display: none; }
	.greeting__sub-images-sp {
		display: flex;
		align-items: flex-start;
		justify-content: center;
		gap: 0;
		width: 100%;
		margin-top: 15px;
	}

	.greeting__name {
		width: 100%;
		align-self: flex-end;
		text-align: right;
	}
	.greeting__sub-images-sp .greeting__img--sub1 {
		width: calc(50% - 6px);
		margin-right: -14px; /* 角を少し重ねる */
		transform: translateY(18px);
		z-index: 2;
	}
	.greeting__sub-images-sp .greeting__img--sub2 {
		width: calc(50% - 6px);
		transform: translateY(-10px);
		z-index: 3;
	}
}

/* ---------- 採用情報 ---------- */
.recruit {
	position: relative;
	padding: 80px 0 100px;
	background: #fff;
	overflow: hidden;
}
.recruit__watermark {
	position: absolute;
	left: -70px;
	bottom: 0;
	width: 30%;
	aspect-ratio: 338 / 386;
	background: var(--c-gold-line);
	opacity: .4;
	-webkit-mask: url(../../img/logo-back.png) no-repeat center / contain;
	mask: url(../../img/logo-back.png) no-repeat center / contain;
	z-index: 0;
	pointer-events: none;
}
.recruit__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

.recruit__row {
	position: relative;
	margin-top: 56px;
	aspect-ratio: 1200 / 670;
}

.recruit__catch {
	position: absolute;
	left: 0;
	top: 0;
	width: 26%;
	font-size: 34px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: .2rem;
	color: var(--c-green);
}

.recruit__img {
	position: absolute;
	box-shadow: 0 12px 24px rgba(0,0,0,.12);
	object-fit: cover;
}
/* 採用情報：画像がふわっと一つずつ */
body.js-reveal-ready .recruit__img {
	opacity: 0;
	transform: translate3d(0, 36px, 0);
	transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}
body.js-reveal-ready .recruit__row.is-inview .recruit__img {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.recruit__img--1 { left: 31%; top: 0; width: 23%; aspect-ratio: 1.86; transition-delay: 0s; }
.recruit__img--2 {
	left: 60%;
	right: calc((var(--container-width) - 100vw) / 2 - 420px);
	top: 0;
	height: 50%;
	transition-delay: .15s;
}
.recruit__img--3 { left: 16%; top: 31%; width: 24%; aspect-ratio: 1.97; transition-delay: .3s; }
.recruit__img--4 { left: 0; top: 49%; width: 21%; aspect-ratio: 1.84; transition-delay: .45s; }
.recruit__img--5 { left: 31%; top: 57%; width: 29%; height: 40%; transition-delay: .6s; }
@media (prefers-reduced-motion: reduce) {
	body.js-reveal-ready .recruit__img {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}

.recruit__side {
	position: absolute;
	left: 64%;
	top: 56%;
	width: 36%;
}

/* recruit: SPで画像の並びを制御するためのグループ */
.recruit__img-row { display: contents; }
.recruit__text {
	font-size: 17px;
	line-height: 1.9;
	color: var(--c-text);
}
.recruit__side .btn-more {
	margin-top: 24px;
}

@media (max-width: 960px) {
	.recruit { padding: 40px 0 60px; }
	.recruit__watermark { display: none; }
	.recruit__row {
		margin-top: 30px;
		aspect-ratio: auto;
		display: block;
	}
	.recruit__catch { font-size: 22px; letter-spacing: inherit; }
	.recruit__catch,
	.recruit__side { position: static; width: 100%; height: auto; }
	.recruit__side { margin-top: 16px; }

	/* 画像は絶対配置を解除 */
	.recruit__img { position: static; width: 100%; aspect-ratio: 3 / 2; height: auto; }
	.recruit__text { font-size: 15px; }

	/* SPレイアウト：catch →（後3枚）→ button →（前2枚） */
	.recruit__img-row--top {
		display: flex;
		width: calc(100% + 20px);
		gap: 0;
		margin-top: 12px;
		margin-right: -20px;
		margin-bottom: 44px;
	}
	/* 後3枚：左下→右上へせり上がるように重ねる */
	.recruit__img-row--top .recruit__img { flex: 0 0 33.333%; width: calc(33.333%); }
	.recruit__img-row--top .recruit__img--3 { transform: translateY(28px); z-index: 1; }
	.recruit__img-row--top .recruit__img--4 { transform: translateY(2px); margin-left: -14px; z-index: 2; }
	.recruit__img-row--top .recruit__img--5 { transform: translateY(-28px); margin-left: -14px; z-index: 3; }

	.recruit__img-row--bottom {
		display: flex;
		width: 100%;
		gap: 0;
		margin-top: 18px;
	}
	/* 前2枚：ボタン下にきれいに横並び */
	.recruit__img-row--bottom .recruit__img { flex: 0 0 50%; width: 50%; }
}

/* ---------- footer ---------- */
.site-footer {
	background: #f9f6f5;
}
.footer-info {
	padding: 56px 24px 60px;
}
.footer-info__inner {
	max-width: var(--container-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}
.footer-info__logo { display: block; height: 64px; margin: 0 auto 32px; }

.footer-info__tel {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	font-size: 34px;
	font-weight: 400;
	color: var(--c-text);
}
.footer-info__tel-icon {
	width: 48px;
	height: 48px;
	background: var(--c-green);
	-webkit-mask: url(../../img/icon-tel.png) no-repeat center / contain;
	mask: url(../../img/icon-tel.png) no-repeat center / contain;
}

.footer-info__departments {
	margin-top: 32px;
}
.footer-info__departments-label {
	background: var(--c-green);
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	padding: 10px 20px;
}
.footer-info__departments-text {
	margin-top: 20px;
	font-size: 20px;
	text-align: center;
}

.footer-info__col--right .footer-info__map { aspect-ratio: 16 / 10; }
.footer-info__col--right .footer-info__map:has(> img) { aspect-ratio: auto; }

.clinic-info *,
.footer-info * {
	font-weight: 400;
}

@media (min-width: 961px) {
	.footer-info .hours-table th,
	.footer-info .hours-table td,
	.footer-info .hours-table__label span,
	.footer-info .hours-legend li,
	.footer-info .clinic-info__holiday,
	.footer-info .clinic-info__holiday-extra,
	.footer-info .clinic-info__address,
	.footer-info .reservation-notice__text,
	.footer-info__departments-label {
		font-size: 17px;
	}
}

.footer-bottom {
	position: relative;
	background: var(--c-green);
	padding: 130px 24px 120px;
	overflow: hidden;
}
.footer-bottom__watermark {
	position: absolute;
	left: -80px;
	bottom: 100px;
	width: 30%;
	aspect-ratio: 338 / 386;
	background: url(../../img/logo-back.png) no-repeat center / contain;
	opacity: .15;
	z-index: 0;
	pointer-events: none;
}
.footer-bottom__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin: 0 auto;
}

.partner-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 90px;
	grid-auto-flow: row dense;
	gap: 12px;
	margin-bottom: 56px;
}
.partner-grid--top { margin-bottom: 24px; }
.partner-grid--lower { margin-bottom: 56px; }
.partner-grid__item {
	position: relative;
	display: block;
	background: #fff;
}
.partner-grid__item img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.partner-grid__item::after {
	content: "";
	position: absolute;
	right: 4px; bottom: 4px;
	width: 10px; height: 10px;
	background: var(--c-border);
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.partner-grid__label {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--c-orange);
	color: #fff;
	font-size: 20px;
	font-weight: 500;
	letter-spacing: inherit;
}

.footer-bottom__row {
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 40px;
}

.footer-sitemap-groups {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 56px;
}
.footer-sitemap-group__title {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: inherit;
	color: var(--c-gold-line);
	margin-bottom: 10px;
}
.footer-sitemap {
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
}
.footer-sitemap li {
	font-size: 15px;
	color: #fff;
}
.footer-sitemap li::before { content: "・"; }
.footer-sitemap li a { color: #fff; }
.footer-sitemap li a:hover { text-decoration: underline; }

.site-footer__inner {
	padding: 48px 24px 40px;
	text-align: center;
	border-top: 1px solid var(--c-border);
}
.site-footer__copyright { font-size: 15px; font-weight: 500; color: var(--c-text); }
@media (max-width: 960px) {
	.site-footer__copyright { font-size: 12px; }
}

.site-footer__credit {
	margin: 16px auto 0;
	max-width: 160px;
	padding: 8px 12px;
	border: 1px solid var(--c-border);
	text-align: center;
}
.site-footer__credit--banner {
	display: block;
	padding: 0;
	border: 0;
	margin-bottom: calc(var(--fixed-bar-height) + 16px);
}
.site-footer__credit--banner img {
	width: 100%;
	height: auto;
}
@media (max-width: 960px) {
	.site-footer__credit--banner { margin-bottom: 16px; }
}
.site-footer__credit-label {
	display: block;
	font-size: 9px;
	letter-spacing: inherit;
	color: var(--c-text-light);
}
.site-footer__credit-name {
	display: block;
	margin-top: 3px;
	font-size: 16px;
	letter-spacing: inherit;
	color: var(--c-text-light);
}
.site-footer__credit-sub {
	display: block;
	margin-top: 2px;
	font-size: 9px;
	color: var(--c-text-light);
}

@media (max-width: 960px) {
	.footer-info { padding: 40px 16px; }
	.footer-info__inner { grid-template-columns: 1fr; gap: 48px; }
	.footer-info__logo { height: 48px; margin-bottom: 24px; }
	.footer-info__tel { font-size: 22px; }
	.footer-info__departments-text { font-size: 18px; }
	.footer-info__col--right .footer-info__map { aspect-ratio: 16 / 12; }
	.footer-info__col--right .footer-info__map:has(> img) { aspect-ratio: auto; }

	.footer-bottom { padding: 48px 16px 40px; }
	.footer-bottom__watermark { display: none; }
	.partner-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 70px; }
	.partner-grid--top { margin-bottom: 16px; }
	.partner-grid__label {
		grid-column: 1 / -1;
		grid-row: 1;
		height: auto;
		padding: 10px;
		font-size: 15px;
	}
	.footer-bottom__row { flex-direction: column; align-items: flex-start; text-align: left; gap: 32px; }
	.footer-sitemap-groups {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
		width: 100%;
	}
	.footer-sitemap-group {
		width: 100%;
		text-align: left;
	}
}

/* ---------- fixed bottom bar ----------
   モバイル：画面幅いっぱいに固定表示
   デスクトップ：右下に幅を持たせて固定表示（左側はページが見える）
   SPではカラーバー下に電話案内帯（.fixed-tel-note）を重ねて追従
------------------------------------------ */
.fixed-dock {
	position: fixed;
	left: 0; right: 0; bottom: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}
.fixed-bar {
	position: relative;
	display: flex;
	height: var(--fixed-bar-inner-height);
}
.fixed-tel-note {
	display: none;
}
.fixed-bar__item {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	font-weight: 400;
	text-align: center;
	overflow: hidden;
}
.fixed-bar__tel {
	background: var(--c-orange);
	flex: 1.4;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.fixed-bar__tel-note {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}
.fixed-bar__tel-main {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.fixed-bar__tel img { width: 26px; }
.fixed-bar__tel strong {
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
}
.fixed-bar__tel-label { display: none; }

.fixed-bar__web { background: var(--c-teal); font-size: 13px; }
.fixed-bar__web img { width: 22px; }

.fixed-bar__line { background: var(--c-line); font-size: 14px; }
.fixed-bar__line-icon { width: 30px; }
.fixed-bar__line-icon--sp { display: none; }
.fixed-bar__line-text-short { display: none; }

.fixed-bar__sns { display: flex; background: #fff; }
.fixed-bar__icon {
	position: relative;
	width: 60px;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-left: 1px solid var(--c-border);
	overflow: hidden;
}
.fixed-bar__icon img { width: 26px; position: relative; z-index: 1; }

.fixed-bar__pagetop {
	position: relative;
	width: 84px;
	background: var(--c-green);
	color: #fff;
	font-size: 11px;
	font-weight: 400;
	line-height: 1.4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	overflow: hidden;
}
.fixed-bar__pagetop-arrow {
	position: relative;
	z-index: 1;
	width: 12px; height: 12px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(-45deg);
}
.fixed-bar__pagetop-text { position: relative; z-index: 1; text-align: center; letter-spacing: inherit; }

/* バナーと同じ白っぽいホバー */
.fixed-bar__item > *,
.fixed-bar__tel-label {
	position: relative;
	z-index: 1;
}
.fixed-bar__item::after,
.fixed-bar__icon::after,
.fixed-bar__pagetop::after,
.fixed-tel-note::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0);
	transition: background .25s ease;
	pointer-events: none;
	z-index: 2;
}
.fixed-bar__item:hover::after,
.fixed-bar__icon:hover::after,
.fixed-bar__pagetop:hover::after,
.fixed-tel-note:hover::after {
	background: rgba(255, 255, 255, .28);
}

/* ---------- responsive ---------- */
@media (min-width: 961px) {
	.fixed-dock {
		left: auto;
		width: max-content;
	}
	.fixed-bar__item { flex: none; }
	.fixed-bar__tel { min-width: 0; padding: 0 16px; }
	.fixed-bar__tel-note {
		font-size: 13px;
		white-space: nowrap;
	}
	.fixed-bar__tel strong { font-size: 22px; letter-spacing: .04em; }
	.fixed-bar__web { min-width: 178px; padding: 0 18px; font-size: 15px; }
	.fixed-bar__web span { line-height: 1.15; }
	.fixed-bar__web-word { font-size: 18px; }
	.fixed-bar__line { min-width: 228px; padding: 0 20px; font-size: 16px; }
	.fixed-bar__line-word { font-size: 20px; }
	.fixed-bar__icon { width: 72px; }
	.fixed-bar__icon img { width: 34px; }
	.fixed-bar__pagetop { font-size: 13px; }
}

@media (max-width: 960px) {
	:root {
		--fixed-bar-inner-height: 54px;
		--fixed-bar-height: 100px; /* カラーバー + 電話案内帯（JSで実測上書き） */
	}
	body { padding-bottom: var(--fixed-bar-height); padding-top: 0; }

	.fixed-tel-note {
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		padding: 8px 12px 9px;
		background: #d2c8b1;
		border: 1px solid var(--c-catch-text);
		color: var(--c-catch-text);
		text-align: center;
		text-decoration: none;
		line-height: 1.35;
		overflow: hidden;
	}
	.fixed-tel-note__lead,
	.fixed-tel-note__main {
		position: relative;
		z-index: 1;
	}
	.fixed-tel-note__lead {
		font-size: 11px;
		font-weight: 400;
		border-bottom: 1px solid currentColor;
		padding-bottom: 1px;
		line-height: 1.4;
	}
	.fixed-tel-note__main {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		font-size: 16px;
		font-weight: 500;
		letter-spacing: inherit;
	}
	.fixed-tel-note__icon {
		flex-shrink: 0;
		width: 18px;
		height: 18px;
	}

	/* SPではsite-header__topを通常フローでスクロールさせ、
	   site-header__icon-navだけをJSでスクロール追従表示(position:fixed)させる。
	   overflow-x:hiddenがhtml/bodyに付いているためposition:stickyは効かない。 */
	.site-header { position: static; }
	.site-header__top { padding: 10px 16px; justify-content: center; }
	.site-header__logo img { height: 44px; }
	.site-header__top-right { display: none; }
	.site-header__nav { display: none; }
	.site-header__icon-nav { display: flex; }
	.site-header__icon-nav.is-fixed {
		position: fixed;
		top: 0; left: 0; right: 0;
		z-index: 999;
		background: #fff;
		box-shadow: 0 2px 10px rgba(0,0,0,.06);
	}
	body.admin-bar .site-header__icon-nav.is-fixed { top: 32px; }
	.site-header__icon-nav-spacer { display: block; height: 0; }

	.fv { min-height: 0; }
	.fv__design--1 { padding: 72px 16px 180px; }
	.fv__box { max-width: 100%; padding: 28px 20px 40px; }
	.fv__catch { font-size: 22px; }
	.fv__catch-en { font-size: 8px; }

	.fv__grid { flex-direction: column; }
	.fv__grid-col { flex: 1 1 50%; }
	.fv__grid-col--split { flex-direction: row; }
	.fv__grid-overlay { max-width: calc(100% - 32px); padding: 28px 20px 24px; }
	.fv__grid-catch { font-size: 24px; }
	.fv__grid-catch-en { font-size: 10px; margin-top: 14px; padding-top: 14px; }
	.fv__grid-catch-en::before { width: 200px; }
	.fv__badges { bottom: -90px; gap: 10px; }
	.fv__badge { width: 100px; height: 116px; padding: 0 10px; }
	.fv__badge span { font-size: 13px; letter-spacing: .01rem; }

	.fixed-bar__item { flex: 1; gap: 6px; }
	.fixed-bar__tel-note { display: none; }
	.fixed-bar__tel strong { display: none; }
	.fixed-bar__tel img { width: 20px; }
	.fixed-bar__tel-label { display: block; font-size: 14px; }
	.fixed-bar__web img { width: 18px; }
	.fixed-bar__web span { font-size: 12px; }
	.fixed-bar__line-icon--sp { width: 22px; }
	.fixed-bar__line-text-full { display: none; }
	.fixed-bar__line-text-short { display: block; font-size: 14px; }
	.fixed-bar__line-icon--pc { display: none; }
	.fixed-bar__line-icon--sp { display: block; }

	.fixed-bar__sns { flex: 0 0 52px; justify-content: center; }
	.fixed-bar__icon { width: auto; border-left: 0; }
	.fixed-bar__icon--youtube img { width: 28px; }
	.fixed-bar__icon--instagram {
		position: absolute;
		top: -58px;
		right: 61px;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		box-shadow: 0 2px 8px rgba(0,0,0,.18);
	}
	.fixed-bar__icon--instagram img { width: 28px; }
	.fixed-bar__pagetop {
		position: absolute;
		top: -58px;
		right: 5px;
		width: 50px;
		height: 50px;
		border-radius: 50%;
		font-size: 9px;
		gap: 2px;
	}
	.fixed-bar__pagetop-arrow { width: 10px; height: 10px; }
}

/* ---------- タブレット幅 (768px〜960px) ----------
   基本はSPレイアウトを継承し、余裕のある横幅を活かして
   一部コンポーネントを2〜3カラムなど広め表示に調整する。
------------------------------------------------- */
@media (min-width: 768px) and (max-width: 960px) {
	/* バナースライダー：2枚見える幅に */
	.banner-slider__slide { flex-basis: calc((100% - var(--slider-gap)) / 2); }

	/* 診療案内タブ：文字サイズに少し余裕を */
	.medical-tabs__btn { font-size: 14px; padding: 10px 12px; }

	/* Feature：テキストと画像を横並びに */
	.feature__row,
	.feature__row.is-reverse {
		grid-template-columns: 45fr 55fr;
		gap: 32px;
	}
	.feature__row { grid-template-areas: "text img" "buttons img"; }
	.feature__row.is-reverse { grid-template-areas: "img text" "img buttons"; }
	.feature__img { align-self: center; }
	.feature__row.is-reverse .feature__img img { border-radius: 40px 40px 40px 0; }
	.feature__btn { width: 100%; max-width: 250px; }

	/* 内視鏡検査カード：2カラムに */
	.endoscopy__cards { grid-template-columns: 1fr 1fr; }

	/* 検査モジュール：画像とテキストを横並びに */
	.exam-module__body { flex-direction: row; align-items: flex-start; gap: 32px; padding: 28px; }
	.exam-module__img { flex-basis: 38%; width: auto; }

	/* 病名・症状から探す：3カラムに */
	.search-items { grid-template-columns: repeat(3, 1fr); }
	.search-banners { grid-template-columns: 1fr 1fr; }

	/* 採用情報：キャッチコピーを少し大きく */
	.recruit__catch { font-size: 32px; letter-spacing: inherit; }

	/* フッター情報：2カラムに */
	.footer-info__inner { grid-template-columns: 1fr 1fr; gap: 40px; }

	/* 連携病院グリッド：3カラムに */
	.partner-grid { grid-template-columns: repeat(3, 1fr); }

	/* サイトマップ：カテゴリを横並びに */
	.footer-sitemap-groups { flex-direction: row; align-items: flex-start; }
}



/* SP：スクロール出現アニメを無効化し、常に表示 */
@media (max-width: 960px) {
	body.js-reveal-ready .feature__text,
	body.js-reveal-ready .feature__img,
	body.js-reveal-ready .feature__buttons,
	body.js-reveal-ready .greeting__img,
	body.js-reveal-ready .recruit__img,
	body.js-reveal-ready .top-banners__item,
	body.js-reveal-ready .banner-slider__viewport,
	body.js-reveal-ready .center-banner__inner,
	body.js-reveal-ready .top-news .top-news__title,
	body.js-reveal-ready .top-news__item,
	body.js-reveal-ready .top-news__more,
	body.js-reveal-ready .clinic-info__col,
	body.js-reveal-ready .medical-menu .top-news__title,
	body.js-reveal-ready .medical-tabs__nav,
	body.js-reveal-ready .medical-tabs__panel.is-active .medical-card,
	body.js-reveal-ready .endoscopy .top-news__title,
	body.js-reveal-ready .endoscopy__lead,
	body.js-reveal-ready .endoscopy__checklist,
	body.js-reveal-ready .endoscopy__body,
	body.js-reveal-ready .endoscopy-card,
	body.js-reveal-ready .search-section .top-news__title,
	body.js-reveal-ready .search-tabs,
	body.js-reveal-ready .search-banners__item,
	body.js-reveal-ready .reservation__title,
	body.js-reveal-ready .reservation__body,
	body.js-reveal-ready .reservation-card,
	body.js-reveal-ready .reservation__arrow {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		will-change: auto;
	}
}

/* ---------- front-page scroll reveals ----------
   body に .js-reveal-ready が付いたときだけ初期非表示にする
   （JS無効時は常に表示のまま）
--------------------------------------------- */
body.js-reveal-ready .top-banners__item,
body.js-reveal-ready .banner-slider__viewport,
body.js-reveal-ready .center-banner__inner,
body.js-reveal-ready .top-news .top-news__title,
body.js-reveal-ready .top-news__item,
body.js-reveal-ready .top-news__more,
body.js-reveal-ready .clinic-info__col,
body.js-reveal-ready .medical-menu .top-news__title,
body.js-reveal-ready .medical-tabs__nav,
body.js-reveal-ready .medical-tabs__panel.is-active .medical-card,
body.js-reveal-ready .endoscopy .top-news__title,
body.js-reveal-ready .endoscopy__lead,
body.js-reveal-ready .endoscopy__checklist,
body.js-reveal-ready .endoscopy__body,
body.js-reveal-ready .endoscopy-card,
body.js-reveal-ready .search-section .top-news__title,
body.js-reveal-ready .search-tabs,
body.js-reveal-ready .search-banners__item,
body.js-reveal-ready .reservation__title,
body.js-reveal-ready .reservation__body,
body.js-reveal-ready .reservation-card,
body.js-reveal-ready .reservation__arrow {
	opacity: 0;
	transition: opacity 1s cubic-bezier(.22, 1, .36, 1), transform 1s cubic-bezier(.22, 1, .36, 1);
	will-change: opacity, transform;
}

/* 上からふわっ */
body.js-reveal-ready .top-banners__item,
body.js-reveal-ready .banner-slider__viewport,
body.js-reveal-ready .top-news .top-news__title,
body.js-reveal-ready .top-news__item,
body.js-reveal-ready .top-news__more,
body.js-reveal-ready .medical-menu .top-news__title,
body.js-reveal-ready .medical-tabs__nav,
body.js-reveal-ready .endoscopy .top-news__title,
body.js-reveal-ready .endoscopy__lead,
body.js-reveal-ready .endoscopy__checklist,
body.js-reveal-ready .endoscopy__body,
body.js-reveal-ready .search-section .top-news__title,
body.js-reveal-ready .search-tabs,
body.js-reveal-ready .reservation__title,
body.js-reveal-ready .reservation__body {
	transform: translate3d(0, 48px, 0);
}

/* 左右から */
body.js-reveal-ready .clinic-info__col--left {
	transform: translate3d(-64px, 0, 0);
}
body.js-reveal-ready .clinic-info__col--right {
	transform: translate3d(64px, 0, 0);
}

/* スケール */
body.js-reveal-ready .center-banner__inner,
body.js-reveal-ready .medical-tabs__panel.is-active .medical-card,
body.js-reveal-ready .endoscopy-card,
body.js-reveal-ready .search-banners__item,
body.js-reveal-ready .reservation__arrow,
body.js-reveal-ready .reservation-card {
	transform: translate3d(0, 36px, 0) scale(.92);
}

/* 表示状態 */
body .top-banners__item.is-inview,
body .banner-slider__viewport.is-inview,
body .center-banner__inner.is-inview,
body .top-news .top-news__title.is-inview,
body .top-news__item.is-inview,
body .top-news__more.is-inview,
body .clinic-info__col.is-inview,
body .medical-menu .top-news__title.is-inview,
body .medical-tabs__nav.is-inview,
body .medical-tabs__panel.is-active .medical-card.is-inview,
body .medical-card.is-inview,
body .endoscopy .top-news__title.is-inview,
body .endoscopy__lead.is-inview,
body .endoscopy__checklist.is-inview,
body .endoscopy__body.is-inview,
body .endoscopy-card.is-inview,
body .search-section .top-news__title.is-inview,
body .search-tabs.is-inview,
body .search-banners__item.is-inview,
body .reservation__title.is-inview,
body .reservation__body.is-inview,
body .reservation-card.is-inview,
body .reservation__arrow.is-inview {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	body.js-reveal-ready .top-banners__item,
	body.js-reveal-ready .banner-slider__viewport,
	body.js-reveal-ready .center-banner__inner,
	body.js-reveal-ready .top-news .top-news__title,
	body.js-reveal-ready .top-news__item,
	body.js-reveal-ready .top-news__more,
	body.js-reveal-ready .clinic-info__col,
	body.js-reveal-ready .medical-menu .top-news__title,
	body.js-reveal-ready .medical-tabs__nav,
	body.js-reveal-ready .medical-tabs__panel.is-active .medical-card,
	body.js-reveal-ready .endoscopy .top-news__title,
	body.js-reveal-ready .endoscopy__lead,
	body.js-reveal-ready .endoscopy__checklist,
	body.js-reveal-ready .endoscopy__body,
	body.js-reveal-ready .endoscopy-card,
	body.js-reveal-ready .search-section .top-news__title,
	body.js-reveal-ready .search-tabs,
	body.js-reveal-ready .search-banners__item,
	body.js-reveal-ready .reservation__title,
	body.js-reveal-ready .reservation__body,
	body.js-reveal-ready .reservation-card,
	body.js-reveal-ready .reservation__arrow {
		opacity: 1;
		transform: none;
		transition: none;
		will-change: auto;
	}
}
