/*
Theme Name: はるみクリニック
Template: blankslate
*/

/* ===== 基本 ===== */
body {
	font-family: "M PLUS Rounded 1c", "Rounded Mplus 1c", "Hiragino Maru Gothic ProN", sans-serif;
	color: #453127;
}

.only_pc {
	display: block;
}

.only_sp {
	display: none;
}

@media (max-width: 782px) {
	.only_pc {
		display: none;
	}

	.only_sp {
		display: block;
	}
}

/* リンクホバー:グローバルメニューとロゴ以外は、ホバーでゆっくり少し浮き上がる */
a:not(#menu a, #site-title a, .footer-sitemap a) {
	transition: transform 0.4s ease;
}

a:not(#menu a, #site-title a, .footer-sitemap a):hover {
	transform: translateY(-5px);
}

/* ===== 共通セクション見出し（common_h2） ===== */
.sec-head {
	position: relative;
	text-align: center;
}

/* 背景の英字 */
.sec-head-en {
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	font-size: min(168px, 11vw);
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	color: #ff9100;
	opacity: 0.1;
	pointer-events: none;
}

.sec-head h2 {
	margin: 0;
	padding-top: 115px;
	font-size: 34px;
	font-weight: 700;
	color: #453127;
	position: relative;
}

/* 見出し下の短い下線 */
.sec-head h2::after {
	content: "";
	display: block;
	width: 73px;
	height: 4px;
	margin: 16px auto 0;
	background: #ff9100;
}

/* セクション上部の波（前セクションの色→自セクションの色へのつなぎ） */
.sec-wave {
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 90;
	position: relative;
	top: 0;
}

/* 見出しのスクロールイン演出（sec-head-en→h2の順にふわっと表示） */
.sec-head--will-animate .sec-head-en {
	opacity: 0;
	transform: translate(-50%, 24px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.sec-head--will-animate h2 {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s ease 0.3s, transform 0.7s ease 0.3s;
}

.sec-head--will-animate.is-inview .sec-head-en {
	opacity: 0.1;
	transform: translate(-50%, 0);
}

.sec-head--will-animate.is-inview h2 {
	opacity: 1;
	transform: translateY(0);
}

/* ===== ヘッダー ===== */
#header {
	background: #fefbf9;
	border-bottom: 6px solid #fdc494;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 1512px;
	margin: 0 auto;
	padding: 16px 37px;
	box-sizing: border-box;
}

/* ロゴ */
#site-title {
	margin: 0;
	line-height: 0;
}

#site-title h1 {
	margin: 0;
}

#site-title img {
	width: 280px;
	max-width: 100%;
	height: auto;
}

@media (max-width: 782px) {
	#site-title img {
		width: 200px;
	}
}

/* 電話予約ボタン */
.header-tel {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fffdfa;
	border: 1px solid #f3d5b2;
	border-radius: 30px;
	padding: 12px 32px 12px 14px;
	text-decoration: none;
	flex-shrink: 0;
}

.header-tel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fbf0e0;
	color: #e69649;
}

.header-tel-text {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.header-tel-label {
	font-size: 14px;
	color: #eb9441;
	line-height: 1.5;
}

.header-tel-number {
	font-size: 28px;
	color: #4e3526;
	letter-spacing: 0.04em;
	font-weight: 500;
}

/* SP:ハンバーガーメニュー内に表示する電話番号（PCでは非表示） */
#menu .menu-tel-mobile {
	display: none;
}

/* ===== FV（メインビジュアル） ===== */
.fv {
	position: relative;
	overflow: hidden;
	background-color: #fdf5ea;
}

/* 背景写真（3枚をフェードでクロスフェード） */
.fv-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: right center;
	opacity: 0;
	animation: fv-crossfade 18s infinite;
}

.fv-bg-01 {
	background-image: url(images/fv_01.webp);
	animation-delay: 0s;
}

.fv-bg-02 {
	background-image: url(images/fv_02.webp);
	animation-delay: 6s;
}

.fv-bg-03 {
	background-image: url(images/fv_03.webp);
	animation-delay: 12s;
}

@keyframes fv-crossfade {
	0% {
		opacity: 0;
	}

	5% {
		opacity: 1;
	}

	28% {
		opacity: 1;
	}

	33% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

/* 背景写真の上のグラデーション */
.fv::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(to right, #fdf5ea 0%, #fdf5ea 40%, rgba(253, 245, 234, 0) 72%);
	pointer-events: none;
}

.fv-inner {
	position: relative;
	z-index: 2;
	max-width: 1408px;
	margin: 0 auto;
	padding: 56px 20px 230px;
}

/* バッジ */
.fv-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 12px 15px;
	background: #fff;
	border-radius: 26px;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.06);
	font-size: 16px;
	font-weight: 700;
	color: #7a5c40;
}

/* キャッチコピー */
.fv-copy {
	margin: 40px 0 0;
	font-size: 62px;
	font-weight: 800;
	line-height: 1.35;
	color: #543a20;
}

.fv-copy-accent {
	display: block;
	color: #f57b30;
}

/* リード文 */
.fv-lead {
	margin: 34px 0 0;
	font-size: 20px;
	line-height: 2;
	color: #4c3a26;
}

/* ボタン */
.fv-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-top: 40px;
}

.fv-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 84px;
	padding: 10px 64px 10px 34px;
	border-radius: 45px;
	font-size: 21px;
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s, background 0.2s;
}

/* 右端の矢印（>） */
.fv-btn::after {
	content: "";
	position: absolute;
	right: 30px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

.fv-btn-primary {
	background: #f9823e;
	color: #fff;
	box-shadow: 0 4px 14px rgba(249, 130, 62, 0.35);
}

/* アイコンを白抜きに */
.fv-btn-primary img {
	filter: brightness(0) invert(1);
}

.fv-btn-primary:hover {
	opacity: 0.85;
}

.fv-btn-secondary {
	background: #fffdf9;
	border: 1px solid #f0a869;
	color: #ef7d33;
}

.fv-btn-secondary:hover {
	background: #fdf2e8;
}

/* 下部の情報ピル */
.fv-notes {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.fv-notes li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 16px 30px;
	background: #fff;
	border-radius: 32px;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.06);
	font-size: 16px;
	font-weight: 700;
	color: #453127;
}

/* ===== グローバルナビゲーション ===== */
#menu ul {
	display: flex;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	max-width: 1350px;
	background: #fffcf8;
	border-radius: 20px;
	box-shadow: 0 2px 12px rgba(69, 49, 39, 0.08);
}

#menu li {
	margin: 0;
	display: flex;
	flex: 1;
	justify-content: center;
}

/* 項目間の破線区切り */
#menu li+li {
	border-left: 1px dashed #ddcbb8;
}

#menu a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 16px 19px;
	font-size: 16px;
	font-weight: 500;
	color: #3f2f22;
	text-decoration: none;
	white-space: nowrap;
}

/* 各項目のアイコン（メニュー項目のクラスと対応） */
#menu a::before {
	content: "";
	width: 42px;
	height: 42px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.nav-about>a::before {
	background-image: url(images/icon-nav-about.png);
}

.nav-insurance>a::before {
	background-image: url(images/icon-nav-insurance.png);
}

.nav-jiyu>a::before {
	background-image: url(images/icon-nav-jiyu.png);
}

.nav-price>a::before {
	background-image: url(images/icon-nav-price.png);
}

.nav-symptom>a::before {
	background-image: url(images/icon-nav-symptom.png);
}

.nav-disease>a::before {
	background-image: url(images/icon-nav-disease.png);
}

.nav-news>a::before {
	background-image: url(images/icon-nav-news.png);
}

/* ===== サブメニュー（PC:ホバーでドロップダウン） ===== */
#menu li.menu-item-has-children {
	position: relative;
}

.submenu-toggle {
	display: none;
}

#menu .sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 150;
	width: 240px;
	margin: 0 0 0 -120px;
	padding: 10px 0;
	list-style: none;
	background: #fffcf8;
	border: 1px solid #f3d5b2;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(69, 49, 39, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

#menu li.menu-item-has-children:hover>.sub-menu,
#menu li.menu-item-has-children:focus-within>.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#menu .sub-menu li {
	display: block;
	width: 100%;
}

#menu .sub-menu li+li {
	border-left: 0;
	border-top: 1px dashed #f3e2cd;
}

#menu .sub-menu a {
	box-sizing: border-box;
	width: 100%;
	flex-direction: row;
	justify-content: flex-start;
	padding: 10px 24px;
	font-size: 14px;
	white-space: nowrap;
}

#menu .sub-menu a::before {
	content: none;
	width: 0;
	height: 0;
}

#menu .sub-menu a:hover {
	text-decoration: underline;
	text-decoration-color: #ff9100;
	text-underline-offset: 4px;
}

/* 自由診療・病名から探す：項目数が多いので2カラムで表示 */
#menu .nav-jiyu .sub-menu,
#menu .nav-disease .sub-menu {
	width: 640px;
	margin-left: -320px;
	columns: 2;
	column-gap: 0;
	column-rule: 1px dashed #f3e2cd;
}

#menu .nav-jiyu .sub-menu li,
#menu .nav-disease .sub-menu li {
	break-inside: avoid;
	border-top: 0 !important;
}

#menu .nav-jiyu .sub-menu a,
#menu .nav-disease .sub-menu a {
	white-space: normal;
}

/* 右端に近い項目は右揃えでドロップダウン（画面はみ出し防止） */
#menu .nav-disease .sub-menu,
#menu .nav-news .sub-menu {
	left: auto;
	right: 0;
	margin-left: 0;
}

/* PC:初期位置はビューポート最下部（余白はJSで設定）、スクロールで上部に固定 */
@media (min-width: 783px) {
	#menu {
		position: sticky;
		top: 0;
		z-index: 100;
		padding: 0 20px;
	}

	.nav-toggle {
		display: none;
	}
}

/* ===== お知らせとコラムセクション ===== */
.sec-news {
	background: #fffdfb;
	padding-bottom: 90px;
	overflow: hidden;
}

.news-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1200px;
	margin: 50px auto 0;
	padding: 0 20px;
}

.news-block-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 2px solid #f57b30;
	padding-bottom: 12px;
}

.news-subtitle {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	color: #453127;
}

.news-more {
	font-size: 14px;
	font-weight: 700;
	color: #e8833a;
	text-decoration: none;
}

.news-more::after {
	content: " →";
}

.news-more:hover {
	text-decoration: underline;
}

/* お知らせリスト */
.news-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.news-list li {
	margin: 0;
	border-bottom: 1px dashed #ddcbb8;
}

.news-list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 8px;
	text-decoration: none;
}

.news-list time {
	flex-shrink: 0;
	font-size: 14px;
	color: #8b8177;
}

.news-tag {
	flex-shrink: 0;
	padding: 3px 12px;
	background: #fdeee3;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	color: #e8833a;
}

.news-title {
	font-size: 15px;
	color: #453127;
}

.news-list a:hover .news-title {
	text-decoration: underline;
}

.news-empty {
	padding: 18px 8px;
	font-size: 15px;
	color: #8b8177;
}

/* コラムカード */
.column-cards {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 18px;
}

.column-card {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid #f3ece7;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.04);
	text-decoration: none;
	transition: box-shadow 0.2s;
}

.column-card:hover {
	box-shadow: 0 4px 14px rgba(69, 49, 39, 0.12);
}

.column-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 96px;
	height: 72px;
	background: #fdf2ec;
	border-radius: 10px;
	overflow: hidden;
}

.column-thumb img:not(.column-thumb-placeholder) {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.column-thumb-placeholder {
	opacity: 0.5;
	width: 100%;
}

.column-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.column-body time {
	font-size: 13px;
	color: #8b8177;
}

.column-title {
	font-size: 15px;
	font-weight: 700;
	color: #453127;
}

/* ===== 診療時間・アクセスセクション ===== */
.sec-info {
	background: #fef9f7;
	padding-bottom: 90px;
	overflow: hidden;
}

.info-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1200px;
	margin: 50px auto 0;
	padding: 0 20px;
}

.info-subtitle {
	margin: 0 0 20px;
	padding-bottom: 12px;
	border-bottom: 2px solid #f57b30;
	font-size: 22px;
	font-weight: 700;
	color: #453127;
}

/* 診療時間表 */
.hours-table {
	width: 100%;
	background: #fff;
	border: 1px solid #f3ece7;
	border-collapse: collapse;
	border-radius: 14px;
	overflow: hidden;
}

.hours-table th,
.hours-table td {
	padding: 14px 8px;
	border: 1px solid #f3ece7;
	text-align: center;
	font-size: 15px;
	color: #453127;
}

.hours-table thead th {
	background: #fdf2ec;
	font-weight: 700;
}

.hours-table tbody th {
	font-weight: 700;
	white-space: nowrap;
}

.hours-table td.on {
	color: #f57b30;
	font-weight: 700;
}

.hours-table td.am {
	color: #f0a869;
	font-weight: 700;
}

.hours-table td.off {
	color: #b9ada3;
}

.hours-note {
	margin: 14px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #8b8177;
}

/* 診療内容 */
.info-minititle {
	margin: 30px 0 14px;
	font-size: 18px;
	font-weight: 700;
	color: #453127;
}

.treatment-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.treatment-tags li {
	margin: 0;
	padding: 10px 24px;
	background: #fff;
	border: 1px solid #f6d9c4;
	border-radius: 22px;
	font-size: 15px;
	font-weight: 700;
	color: #c1703a;
}

.reservation-note {
	margin: 20px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #8b8177;
}

/* アクセス */
iframe {
	max-width: 100%;
	width: 100%;
}

.access-map iframe {
	display: block;
	width: 100%;
	height: 280px;
	border: 0;
	border-radius: 14px;
	max-width: 100%;
}

.access-info {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 0;
	margin: 20px 0 0;
}

.access-info dt {
	padding: 16px 0 0;
	border-bottom: 1px dashed #ddcbb8;
	font-size: 15px;
	font-weight: 700;
	color: #c1703a;
}

.access-info dd {
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px dashed #ddcbb8;
	font-size: 15px;
	color: #453127;
	line-height: 1.5;
}

.access-info a {
	color: #453127;
}

/* ===== クリニック紹介セクション ===== */
.sec-about {
	background: #fbecea;
	padding-bottom: 90px;
	overflow: hidden;
}

.about-inner {
	max-width: 1465px;
	margin: 50px auto 0;
	padding: 0 20px;
}

.about-photos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.about-photos li {
	margin: 0;
}

.about-photo {
	margin: 0;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(69, 49, 39, 0.06);
}

.about-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 464 / 302;
	object-fit: cover;
}

.about-photo figcaption {
	padding: 16px 0 18px;
	text-align: center;
	font-size: 17px;
	font-weight: 700;
	color: #453127;
}

/* ラベル下の短い線 */
.about-photo figcaption::after {
	content: "";
	display: block;
	width: 36px;
	margin: 8px auto 0;
	border-bottom: 3px solid #f9823e;
}

.about-more {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 440px;
	max-width: 100%;
	margin: 48px auto 0;
	padding: 20px 10px;
	background: #f9823e;
	border-radius: 36px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.about-more:hover {
	opacity: 0.85;
}

/* ===== 痛み外来とは？セクション ===== */
.sec-vs {
	background: #fff;
	padding-bottom: 100px;
	overflow: hidden;
}

.vs-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1300px;
	margin: 80px auto 0;
	padding: 0 20px;
}

.vs-card {
	padding: 40px 44px 36px;
	border-radius: 20px;
}

.vs-card-ortho {
	background: #f5f6fc;
}

.vs-card-pain {
	background: #fef9f5;
}

.vs-card h3 {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 0 26px;
	font-size: 24px;
	font-weight: 700;
}

.vs-card h3 img {
	width: 68px;
	border-radius: 50%;
}

.vs-card-ortho h3 {
	color: #2b5fa8;
}

.vs-card-pain h3 {
	color: #e8833a;
}

/* 痛み外来カードのアイコンは非表示（PC/SP共通） */
.vs-card-pain h3 img {
	display: none;
}

.vs-card-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.vs-card-main ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vs-card-main li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 16px;
	color: #453127;
}

/* チェックアイコン */
.vs-card-main li::before {
	content: "✓";
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 22px;
	aspect-ratio: 1;
	border-radius: 50%;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.vs-card-ortho li::before {
	background: #4a7fc1;
}

.vs-card-pain li::before {
	background: #f08c3e;
}

.vs-illust {
	flex-shrink: 0;
	width: 105px;
	max-width: 30%;
}

.vs-note {
	margin: 26px 0 0;
	padding-top: 24px;
	font-size: 16px;
	line-height: 1.9;
	color: #453127;
}

.vs-card-ortho .vs-note {
	border-top: 1px dashed #b9c4dd;
}

.vs-card-pain .vs-note {
	border-top: 1px dashed #eccdaf;
}

/* ===== 自由診療・美容メニューセクション ===== */
.sec-beauty {
	background: #f7ebe9;
	padding-bottom: 90px;
	overflow: hidden;
}

.sec-beauty .sec-head-en {
	color: #f63d6f;
	opacity: 0.07;
}

.sec-beauty .sec-head h2::after {
	background: #f63d6f;
}

.beauty-inner {
	max-width: 1480px;
	margin: 80px auto 0;
	padding: 0 20px;
}

.beauty-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

.beauty-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fffcfb;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.05);
	text-decoration: none;
	transition: box-shadow 0.2s;
}

.beauty-card:hover {
	box-shadow: 0 4px 16px rgba(69, 49, 39, 0.14);
}

.beauty-card-photo {
	display: block;
	width: 100%;
	aspect-ratio: 342 / 193;
	object-fit: cover;
}

.beauty-card-title {
	padding: 16px 20px 0;
	font-size: 17px;
	font-weight: 700;
	color: #3a3330;
}

.beauty-card-desc {
	padding: 8px 20px 56px;
	font-size: 13px;
	line-height: 1.7;
	color: #5a5250;
}

/* 右下のピンク矢印 */
.beauty-card-arrow {
	position: absolute;
	right: 16px;
	bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #f63d6f;
	color: #fff;
	font-size: 16px;
}

.beauty-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	width: 520px;
	max-width: 100%;
	margin: 56px auto 0;
	padding: 22px 10px;
	background: #d6788a;
	border-radius: 40px;
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.beauty-all:hover {
	opacity: 0.85;
}

/* ===== 保険診療のご案内セクション ===== */
.sec-insurance {
	position: relative;
	background: #fbe9dc;
	padding-bottom: 100px;
	overflow: hidden;
}

/* 背景の装飾円 */
.sec-insurance::before,
.sec-insurance::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	pointer-events: none;
	z-index: 0;
}

.sec-insurance::before {
	width: 240px;
	aspect-ratio: 1;
	left: 4%;
	bottom: 60px;
}

.sec-insurance::after {
	width: 150px;
	aspect-ratio: 1;
	left: 24%;
	top: 260px;
}

.insurance-inner {
	position: relative;
	margin-top: 60px;
	z-index: 1;
}

.insurance-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: stretch;
	background: #fbe9dc;
}

.insurance-card {
	position: relative;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.insurance-cards .insurance-card:hover {
	opacity: 0.85;
}

/* 写真エリア */
.insurance-card-photo {
	position: relative;
	aspect-ratio: 3 / 2;
	background-size: cover;
	background-position: center;
}

/* 写真の下端を、下の色帯へグラデーションでなじませる */
.insurance-card-photo::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 45%;
	pointer-events: none;
}

.insurance-card-pain .insurance-card-photo {
	background-image: url(images/ins-pain.webp);
}

.insurance-card-pain .insurance-card-photo::after {
	background: linear-gradient(to bottom, rgba(255, 249, 234, 0), #fff9ea);
}

.insurance-card-ortho .insurance-card-photo {
	background-image: url(images/ins-ortho.webp);
}

.insurance-card-ortho .insurance-card-photo::after {
	background: linear-gradient(to bottom, rgba(234, 241, 250, 0), #eaf1fa);
}

.insurance-card-kampo .insurance-card-photo {
	background-image: url(images/ins-kampo.webp);
}

.insurance-card-kampo .insurance-card-photo::after {
	background: linear-gradient(to bottom, rgba(238, 244, 230, 0), #eef4e6);
}

/* 色付きの説明エリア */
.insurance-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 40px 24px 44px;
	text-align: center;
}

.insurance-card-pain .insurance-card-body {
	/* background: #fdf1e6; */
	background-color: #fff9ea;
}

.insurance-card-ortho .insurance-card-body {
	background: #eaf1fa;
}

.insurance-card-kampo .insurance-card-body {
	background: #eef4e6;
}

.insurance-card-body h4 {
	margin: 0 0 20px;
	font-size: clamp(22px, 2.2vw, 26px);
	font-weight: 700;
}

.insurance-card-pain .insurance-card-body h4 {
	color: #e8833a;
}

.insurance-card-ortho .insurance-card-body h4 {
	color: #2b5fa8;
}

.insurance-card-kampo .insurance-card-body h4 {
	color: #4a7a1e;
}

.insurance-card-body p {
	margin: 0 0 28px;
	font-size: 14px;
	line-height: 1.9;
	color: #453127;
	text-align: left;
}

.insurance-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: auto;
	padding: 14px 28px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

.insurance-card-pain .insurance-more {
	background: #e8833a;
}

.insurance-card-ortho .insurance-more {
	background: #2b5fa8;
}

.insurance-card-kampo .insurance-more {
	background: #4a7a1e;
}

/* ===== 当院の特徴セクション ===== */
.sec-feature {
	background: #fcf8f4;
	padding-bottom: 100px;
	overflow: hidden;
}

.feature-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: 1130px;
	margin: 60px auto 0;
	padding: 0 20px;
}

.feature-col {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

@media screen and (max-width: 768px) {
	.sec-feature {
		padding-bottom: 50px;
	}
}

/* 右カラムを下にずらして互い違いに */
.feature-col-offset {
	margin-top: 120px;
}

.feature-card {
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 3px 12px rgba(69, 49, 39, 0.07);
}

.feature-card img {
	display: block;
	width: 100%;
	aspect-ratio: 362 / 205;
	object-fit: cover;
}

/* 白パネルを角丸で写真に重ねる */
.feature-card-body {
	position: relative;
	margin-top: -32px;
	background: #fff;
	border-radius: 26px 26px 0 0;
	padding: 28px 32px 32px;
}

.feature-card h3 {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0;
	padding-bottom: 22px;
	border-bottom: 1px dashed #f2c49b;
	font-size: 20px;
	font-weight: 700;
	color: #e8833a;
	line-height: 1.6;
}

.feature-num {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 46px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fbdec5;
	font-size: 17px;
	color: #ec8a44;
}

.feature-card p {
	margin: 20px 0 0;
	font-size: 14px;
	line-height: 2.05;
	color: #5a4a3c;
}

/* ===== 院長紹介セクション ===== */
.sec-director {
	background: #fdf9f6;
	padding-bottom: 100px;
	overflow: hidden;
}

.director-inner {
	display: flex;
	/* align-items: flex-start; */
	align-items: stretch;
	justify-content: center;
	gap: 60px;
	max-width: 1400px;
	margin: 60px auto 0;
	padding: 0 20px;
}

.director-photo {
	flex-shrink: 0;
	/* width: 536px; */
	max-width: 42%;
	border-radius: 24px;
	object-fit: cover;
}

.director-name {
	display: flex;
	align-items: baseline;
	gap: 28px;
	margin: 10px 0 30px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #e0a56f;
	font-size: 30px;
	font-weight: 700;
	color: #453127;
	letter-spacing: 0.2em;
}

.director-name span {
	font-size: 20px;
}

.director-body p {
	margin: 0 0 32px;
	font-size: 15px;
	line-height: 2.1;
	color: #453127;
}

.director-more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 36px;
	width: 265px;
	max-width: 100%;
	padding: 15px 10px;
	border: 1px solid #ff9100;
	border-radius: 28px;
	font-size: 16px;
	font-weight: 700;
	color: #e8833a;
	text-decoration: none;
	transition: background 0.25s;
}

.director-more:hover {
	background: rgba(255, 145, 0, 0.08);
}

@media (max-width: 782px) {
	.feature-card h3 {
		font-size: 17px;
	}

	.director-more {
		width: 100%;
	}
}

/* ===== CTAセクション ===== */
.sec-cta {
	background: #fff;
	padding: 0 20px 90px;
	overflow: hidden;
}

/* sec-ctaのみ左右にpaddingがあるため、波を画面幅いっぱいに広げる */
.sec-cta .sec-wave {
	width: calc(100% + 40px);
	margin-left: -20px;
}

.cta-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
	max-width: 1236px;
	margin: 0 auto;
	background: linear-gradient(135deg, #f7f6f0 0%, #f2f3ea 100%);
	border-radius: 26px;
	padding: 60px 50px 50px;
	align-items: center;
}

.cta-label {
	margin: 0;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.25em;
	color: #e8833a;
}

/* ラベル下の点線 */
.cta-label::after {
	content: "";
	display: block;
	width: 120px;
	margin: 12px auto 0;
	border-bottom: 2px dotted #c9c4b8;
}

.cta-title {
	margin: 34px 0 0;
	text-align: center;
	font-size: 42px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.6;
	color: #3f3a33;
}

.cta-lead {
	margin: 34px 0 0;
	text-align: center;
	font-size: 14px;
	line-height: 2.1;
	color: #5a544c;
}

.cta-tel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: 420px;
	margin: 40px auto 0;
	padding: 12px 56px 12px 16px;
	background: #fffdfa;
	border: 1px solid #ec8a44;
	border-radius: 45px;
	text-decoration: none;
}

.cta-tel-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #ec8a44;
	color: #fff;
}

.cta-tel-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

.cta-tel-label {
	font-size: 13px;
	font-weight: 700;
	color: #e8833a;
	line-height: 1.5;
}

.cta-tel-number {
	font-size: 26px;
	font-weight: 700;
	color: #4e3526;
	letter-spacing: 0.04em;
}

.cta-tel-arrow {
	position: absolute;
	right: 26px;
	top: 50%;
	transform: translateY(-50%);
	color: #e8833a;
	font-size: 18px;
}

.cta-mail {
	margin-top: 16px;
}

.cta-mail-address {
	font-size: 18px;
	letter-spacing: 0;
}

.cta-note {
	margin: 16px 0 0;
	text-align: center;
	font-size: 13px;
	color: #8b8177;
}

.cta-right {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.cta-photo {
	display: block;
	width: 100%;
	aspect-ratio: 772 / 500;
	object-fit: cover;
	border-radius: 20px;
}

.cta-consult {
	background: #fff;
	border-radius: 18px;
	padding: 24px 30px 28px;
	box-shadow: 0 3px 14px rgba(69, 49, 39, 0.08);
}

.cta-consult-title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #3f3a33;
}

.cta-consult-title img {
	width: 46px;
	border-radius: 50%;
}

.cta-consult-desc {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #5a544c;
}

.cta-consult-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	margin-top: 18px;
	padding: 13px 10px;
	border: 1px solid #ec8a44;
	border-radius: 26px;
	font-size: 15px;
	font-weight: 700;
	color: #e8833a;
	text-decoration: none;
	transition: background 0.25s;
}

.cta-consult-btn:hover {
	background: #fdf2e8;
}

/* 加算・掲示事項などのお知らせ（CTAカードの下に表示） */
.clinic-notices {
	max-width: 1236px;
	margin: 50px auto 0;
	padding-top: 30px;
	border-top: 1px solid #ece7dd;
}

.clinic-notices-title {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #b9ada3;
}

.clinic-notices-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 50px;
}

.clinic-notice {
	margin: 0;
	font-size: 12px;
	line-height: 1.8;
	color: #8b8177;
}

.clinic-notice strong {
	color: #453127;
}

/* ===== フッター ===== */
.site-footer {
	position: relative;
	background: #fff;
	overflow: hidden;
}

.footer-wave {
	display: block;
	width: 100%;
	aspect-ratio: 1440 / 90;
	position: relative;
	top: 1px;
}

.footer-body {
	position: relative;
	z-index: 1;
	background: #826e5c;
	color: #f5ede6;
	padding: 40px 20px 40px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1.1fr;
	gap: 60px;
	max-width: 1360px;
	margin: 0 auto;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: #fff;
}

.footer-logo svg {
	color: #f2ede6;
}

.footer-services {
	margin: 20px 0 0;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.footer-info {
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.footer-info li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.7;
}

.footer-info svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: #f2a065;
}

.footer-tel {
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.footer-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
}

.footer-title svg {
	color: #f2a065;
}

.footer-sitemap ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-sitemap li {
	margin: 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
}

.footer-sitemap a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 11px 4px;
	font-size: 14px;
	color: #f5ede6;
	text-decoration: none;
}

.footer-sitemap a::before {
	content: "";
	width: 6px;
	aspect-ratio: 1;
	border-top: 2px solid #f2a065;
	border-right: 2px solid #f2a065;
	transform: rotate(45deg);
}

.footer-sitemap a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-hours-box {
	margin: 14px 0 0;
	padding: 8px 26px;
	background: rgba(255, 255, 255, 0.08);
	border-radius: 14px;
}

.footer-hours-box>div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
}

.footer-hours-box>div+div {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-hours-box dt {
	font-size: 15px;
	font-weight: 700;
}

.footer-hours-box dd {
	margin: 0;
	font-size: 15px;
	text-align: right;
	line-height: 1.7;
}

.footer-hours-box .is-closed {
	color: #f2a065;
	font-weight: 700;
}

.footer-note {
	margin: 14px 0 0;
	font-size: 13px;
}

.footer-web-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 24px;
	padding: 17px 10px;
	background: #f2955c;
	border-radius: 32px;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}

.footer-web-btn:hover {
	opacity: 0.85;
}

.footer-web-btn span {
	margin-left: 12px;
}

.footer-copy {
	margin: 50px 0 0;
	text-align: center;
	font-size: 13px;
	color: #e8ddd2;
}

/* 装飾の葉 */
.footer-leaf {
	position: absolute;
	z-index: 2;
	bottom: 60px;
	pointer-events: none;
}

.footer-leaf-l {
	left: 24px;
	bottom: 14px;
}

.footer-leaf-r {
	right: 20px;
	bottom: 40px;
}

/* ===== 痛む部分から探すセクション ===== */
.sec-symptom {
	background: #fef9f7;
	padding-bottom: 91px;
	overflow: hidden;
}

.symptom-wrap {
	display: flex;
	justify-content: center;
	/* align-items: flex-start; */
	align-items: center;
	gap: 75px;
	max-width: 1010px;
	margin: 45px auto 0;
	padding: 0 20px;
}

/* イラスト＋強調ドット */
.symptom-figure {
	position: relative;
	flex-shrink: 0;
}

.symptom-figure img {
	display: block;
	width: 311px;
	max-width: 100%;
	height: auto;
}

.symptom-dot {
	position: absolute;
	width: 26px;
	height: 26px;
	margin: -13px 0 0 -13px;
	border-radius: 50%;
	background: #ff9100;
	box-shadow: 0 0 0 9px rgba(255, 145, 0, 0.25);
	opacity: 0;
	transform: scale(0.5);
	transition: opacity 0.25s, transform 0.25s;
	pointer-events: none;
}

/* 点の位置（イラストに対する％。data-part がボタンと対応） */
.symptom-dot[data-part="head"] {
	left: 35.7%;
	top: 8.1%;
}

.symptom-dot[data-part="neck"] {
	left: 51.5%;
	top: 20.8%;
}

.symptom-dot[data-part="chest"] {
	left: 42.4%;
	top: 34.6%;
}

.symptom-dot[data-part="waist"] {
	left: 39.4%;
	top: 44.8%;
}

.symptom-dot[data-part="hand"] {
	left: 68.1%;
	top: 48.2%;
}

.symptom-dot[data-part="hip"] {
	left: 53.9%;
	top: 54.2%;
}

.symptom-dot[data-part="knee"] {
	left: 45.6%;
	top: 69.7%;
}

.symptom-dot[data-part="foot"] {
	left: 47.4%;
	top: 90.2%;
}

/* 部位ボタン */
.symptom-menu {
	flex: 1;
	max-width: 565px;
}

.symptom-btns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 23px 34px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.symptom-btns li {
	margin: 0;
}

.symptom-btns-wide {
	grid-column: 1 / -1;
}

.symptom-btn {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	height: 53px;
	padding: 2px 36px 2px 12px;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.06);
	text-decoration: none;
	transition: box-shadow 0.25s;
}

.symptom-btn:hover {
	box-shadow: 0 4px 14px rgba(69, 49, 39, 0.14);
}

.symptom-btn img {
	width: 49px;
	height: 49px;
}

.symptom-btn-label {
	font-size: 18px;
	font-weight: 700;
	color: #453127;
}

/* 右端の矢印（>） */
.symptom-btn::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 2px solid #e8833a;
	border-right: 2px solid #e8833a;
	transform: translateY(-50%) rotate(45deg);
}

/* その他ボタン（中央寄せ） */
.symptom-btn-other {
	justify-content: center;
}

.symptom-other-icon {
	color: #8b8177;
	font-size: 14px;
	letter-spacing: 3px;
}

/* すべての部位一覧を見る */
.symptom-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	margin-top: 33px;
	height: 52px;
	border: 1px solid #ff9100;
	border-radius: 30px;
	font-size: 18px;
	font-weight: 700;
	color: #e8833a;
	text-decoration: none;
	transition: background 0.25s;
}

.symptom-all:hover {
	background: rgba(255, 145, 0, 0.08);
}

/* ===== 症状・疾患一覧セクション ===== */
.sec-disease {
	background: #fdfcfb;
	padding-bottom: 90px;
	overflow: hidden;
}

.disease-inner {
	max-width: 1408px;
	margin: 60px auto 0;
	padding: 0 20px;
}

/* カテゴリタブ */
.disease-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.disease-tabs li {
	margin: 0;
}

.disease-tab {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 51px;
	padding: 6px 26px;
	background: #fffdfb;
	border: 1px solid #f6d9c4;
	border-radius: 26px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #c1703a;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.disease-tab img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.disease-tab:hover {
	background: #fdf2ea;
}

.disease-tab.is-active {
	background: #ed8253;
	border-color: #ed8253;
	color: #fff;
}

/* アクティブ時はアイコンを白抜きに */
.disease-tab.is-active img {
	filter: brightness(0) invert(1);
}

/* 選択中カテゴリのパネル */
.disease-panel {
	margin-top: 30px;
	padding: 26px 36px 34px;
	background: #fdf2ec;
	border-radius: 20px;
}

.disease-panel-title {
	margin: 0 0 22px;
	font-size: 20px;
	font-weight: 700;
	color: #e8833a;
}

.disease-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.disease-chips li {
	margin: 0;
	padding: 12px 30px;
	background: #fff;
	border-radius: 26px;
	box-shadow: 0 2px 6px rgba(69, 49, 39, 0.05);
	font-size: 16px;
	font-weight: 700;
	color: #453127;
}

/* カテゴリカード（初期非表示。「すべてのカテゴリを一覧で見る」で開閉） */
.disease-cards {
	display: none;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px 32px;
	margin-top: 44px;
}

.disease-cards.is-open {
	display: grid;
}

.disease-card {
	position: relative;
	padding: 24px 28px 20px;
	background: #fff;
	border: 1px solid #f3ece7;
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.04);
}

/* 表示中の並び: 先頭4枚は3カラム分、残り3枚は4カラム分（JSで再割当て） */
.disease-card {
	grid-column: span 3;
}

.disease-card.is-wide {
	grid-column: span 4;
}

/* 親テーマの article{display:block} が UA の [hidden] を打ち消すため明示 */
.disease-card[hidden] {
	display: none;
}

.disease-card-title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: 700;
	color: #453127;
}

.disease-card-title img {
	width: 44px;
	height: 44px;
	object-fit: contain;
}

.disease-card-list {
	margin: 0;
	padding: 0 40px 0 4px;
	list-style: none;
}

.disease-card-list li {
	margin: 0;
	font-size: 14px;
	line-height: 2;
	color: #5f4e41;
}

.disease-card-list li::before {
	content: "・";
	color: #8b8177;
}

.disease-card-list li a,
.disease-chips li a{
	color: #5f4e41;
}

.disease-chips li a{
	text-decoration: none;
}

/* カード右下の矢印 */
.disease-card-more {
	position: absolute;
	right: 20px;
	bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f9efea;
	text-decoration: none;
	transition: background 0.2s;
}

.disease-card-more::after {
	content: "→";
	font-size: 16px;
	color: #e8833a;
}

.disease-card-more:hover {
	background: #f6e2d4;
}

/* すべてのカテゴリを一覧で見る（開閉ボタン） */
.disease-all {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	width: 522px;
	max-width: 100%;
	margin: 44px auto 0;
	height: 52px;
	background: none;
	border: 1px solid #ff9100;
	border-radius: 30px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #e8833a;
	cursor: pointer;
	transition: background 0.25s;
}

.disease-all:hover {
	background: rgba(255, 145, 0, 0.08);
}

/* プラス／マイナスアイコン */
.disease-all-toggle {
	position: relative;
	width: 16px;
	height: 16px;
}

.disease-all-toggle::before,
.disease-all-toggle::after {
	content: "";
	position: absolute;
	background: #e8833a;
}

/* 横棒 */
.disease-all-toggle::before {
	left: 0;
	top: 7px;
	width: 16px;
	height: 2px;
}

/* 縦棒（開いている時は消してマイナスに） */
.disease-all-toggle::after {
	left: 7px;
	top: 0;
	width: 2px;
	height: 16px;
}

.disease-all.is-open .disease-all-toggle::after {
	display: none;
}

/* PC:ボタンホバーで対応する点を強調表示 */
@media (hover: hover) and (min-width: 783px) {

	.symptom-wrap:has(.symptom-btn[data-part="head"]:hover) .symptom-dot[data-part="head"],
	.symptom-wrap:has(.symptom-btn[data-part="neck"]:hover) .symptom-dot[data-part="neck"],
	.symptom-wrap:has(.symptom-btn[data-part="chest"]:hover) .symptom-dot[data-part="chest"],
	.symptom-wrap:has(.symptom-btn[data-part="waist"]:hover) .symptom-dot[data-part="waist"],
	.symptom-wrap:has(.symptom-btn[data-part="hand"]:hover) .symptom-dot[data-part="hand"],
	.symptom-wrap:has(.symptom-btn[data-part="hip"]:hover) .symptom-dot[data-part="hip"],
	.symptom-wrap:has(.symptom-btn[data-part="knee"]:hover) .symptom-dot[data-part="knee"],
	.symptom-wrap:has(.symptom-btn[data-part="foot"]:hover) .symptom-dot[data-part="foot"] {
		opacity: 1;
		transform: scale(1);
	}
}

/* モバイル */
@media (max-width: 782px) {

	/* SPではイラストを表示しない */
	.symptom-figure {
		display: none;
	}

	.symptom-btns {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.sec-head h2 {
		padding-top: 60px;
		font-size: 26px;
		line-height: 1.5;
	}

	.header-inner {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		padding: 23px 20px;
	}

	.header-tel-icon {
		width: 48px;
		height: 48px;
	}

	.header-tel-number {
		font-size: 22px;
	}

	/* FV（SPは全面に薄いグラデーションをかけて文字を読みやすく） */
	.fv::before {
		background-image: linear-gradient(to top, #fdf5ea 0%, rgba(253, 245, 234, 0) 83%);
	}

	.fv-bg {
		background-position: 75% -70px;
	}

	.fv-inner {
		padding: 300px 20px 48px;
	}

	.fv-copy {
		font-size: 36px;
		margin-top: 20px;
	}

	.fv-lead {
		font-size: 13px;
		margin-top: 20px;
	}

	.fv-buttons {
		gap: 16px;
		margin-top: 32px;
	}

	.fv-btn {
		height: 64px;
		padding: 8px 52px 8px 26px;
		font-size: 18px;
	}

	.fv-notes {
		gap: 12px;
		margin-top: 20px;
	}

	.fv-notes li {
		padding: 12px 10px;
		font-size: 14px;
	}

	/* SP:ハンバーガーメニュー */
	.nav-toggle {
		position: fixed;
		top: 14px;
		right: 14px;
		z-index: 300;
		width: 48px;
		height: 48px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		background: #fffcf8;
		border: 1px solid #f3d5b2;
		border-radius: 50%;
		cursor: pointer;
		padding: 0;
	}

	.nav-toggle span {
		display: block;
		width: 20px;
		height: 2px;
		background: #e8833a;
		border-radius: 1px;
		transition: transform 0.25s, opacity 0.25s;
	}

	/* 開いた時は × に変形 */
	.menu-open .nav-toggle span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.menu-open .nav-toggle span:nth-child(2) {
		opacity: 0;
	}

	.menu-open .nav-toggle span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	#menu {
		position: fixed;
		inset: 0;
		z-index: 200;
		background: #fffcf8;
		padding: 80px 24px 24px;
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.25s, visibility 0.25s;
	}

	.menu-open #menu {
		visibility: visible;
		opacity: 1;
	}

	#menu ul {
		flex-direction: column;
		box-shadow: none;
		background: none;
	}

	#menu li+li {
		border-left: 0;
		border-top: 1px dashed #ddcbb8;
	}

	#menu a {
		width: 100%;
		flex-direction: row;
		justify-content: flex-start;
		gap: 16px;
		padding: 14px 8px;
	}

	#menu a::before {
		width: 36px;
		height: 36px;
	}

	/* SP:電話番号はハンバーガーメニュー内の上部に表示（ヘッダー内は非表示） */
	.header-tel:not(.menu-tel-mobile) {
		display: none;
	}

	#menu .menu-tel-mobile {
		display: flex;
		width: 100%;
		justify-content: center;
		margin: 0 0 20px;
	}

	#menu .menu-tel-mobile::before {
		content: none;
		width: 0;
		height: 0;
	}

	/* SP:サブメニューはアコーディオンで開閉 */
	#menu li.menu-item-has-children {
		flex-wrap: wrap;
	}

	#menu li.menu-item-has-children>a {
		flex: 1 1 auto;
		width: auto;
	}

	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		flex-shrink: 0;
		background: none;
		border: 0;
		color: #e8833a;
		cursor: pointer;
	}

	.submenu-toggle::before {
		content: "";
		width: 9px;
		height: 9px;
		border-right: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		transform: rotate(45deg);
		transition: transform 0.2s;
	}

	#menu .menu-item-has-children.is-open>.submenu-toggle::before {
		transform: rotate(-135deg);
	}

	#menu .sub-menu {
		display: none;
		position: static;
		flex-basis: 100%;
		width: 100%;
		margin: 6px 0 6px;
		padding: 0;
		background: #fff6ec;
		border: 0;
		border-radius: 12px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		columns: 1;
	}

	#menu .menu-item-has-children.is-open>.sub-menu {
		display: block;
	}

	#menu .sub-menu a {
		padding: 12px 20px;
		font-size: 14px;
	}

	/* SPでは自由診療・病名から探すも1カラムに戻す */
	#menu .nav-jiyu .sub-menu,
	#menu .nav-disease .sub-menu {
		width: 100%;
		margin-left: 0;
		columns: 1;
		column-rule: none;
	}

	/* お知らせとコラム／診療時間・アクセス */
	.news-inner,
	.info-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hours-table th,
	.hours-table td {
		padding: 10px 4px;
		font-size: 13px;
	}

	.access-info {
		grid-template-columns: 90px 1fr;
	}

	/* クリニック紹介：SPはスワイプで横スクロールするカルーセルに */
	.about-photos {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		gap: 16px;
		margin: 0 -20px;
		padding: 0 20px 8px;
		scrollbar-width: none;
	}

	.about-photos::-webkit-scrollbar {
		display: none;
	}

	.about-photos li {
		flex: 0 0 78%;
		scroll-snap-align: center;
	}

	.vs-inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.vs-card {
		padding: 26px 14px;
	}

	.vs-card-main li {
		gap: 5px;
	}

	/* SPではイラストを表示しない */
	.vs-illust {
		display: none;
	}

	.beauty-cards {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}

	.beauty-card-title {
		padding: 12px 14px 0;
		font-size: 15px;
	}

	.beauty-card-desc {
		padding: 6px 14px 48px;
	}

	.insurance-cards {
		grid-template-columns: 1fr;
	}

	.insurance-card-photo {
		aspect-ratio: 16 / 9;
	}

	.insurance-card-body {
		padding: 28px 24px 32px;
	}

	/* 当院の特徴／院長紹介／CTA／フッター */
	.feature-inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.feature-col {
		gap: 20px;
	}

	.feature-col-offset {
		margin-top: 0;
	}

	.director-inner {
		flex-direction: column;
		gap: 30px;
	}

	.director-photo {
		max-width: 100%;
		margin: 0 auto;
	}

	.cta-card {
		grid-template-columns: 1fr;
		padding: 36px 15px;
	}

	.cta-title {
		font-size: 24px;
	}

	.cta-tel-number {
		font-size: 20px;
		white-space: nowrap;
	}

	/* メールアドレスは電話番号より長いので、幅からはみ出してズレないように折り返す */
	.cta-mail-address {
		font-size: 15px;
		white-space: normal;
		word-break: break-all;
	}

	.clinic-notices {
		margin-top: 36px;
		padding-top: 24px;
	}

	.clinic-notices-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.footer-leaf {
		display: none;
	}

	/* 症状・疾患一覧 */
	.disease-tabs {
		justify-content: center;
	}

	.disease-tab {
		height: 44px;
		padding: 4px 18px;
		font-size: 14px;
	}

	.disease-panel {
		padding: 20px 20px 24px;
	}

	.disease-chips {
		gap: 12px;
	}

	.disease-chips li {
		padding: 10px 22px;
		font-size: 14px;
	}

	.disease-cards {
		grid-template-columns: 1fr;
	}

	.disease-card,
	.disease-card.is-wide {
		grid-column: auto;
	}
}

/* ===== 固定ページ本文（page.php / entry-content） ===== */
/* 下層ページ見出し：フルワイド背景画像＋上下左右中央寄せ */
.entry-header {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 0;
	padding: 90px 20px;
	background-image: url(images/page_header.webp);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
}

/* オレンジ系フィルター */
.entry-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(255, 145, 0, 0.55);
}

.entry-title {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 34px;
	font-weight: 700;
	color: #fff;
}

.entry-meta {
	position: relative;
	z-index: 1;
	margin-top: 16px;
	text-align: center;
	color: #fff;
}

.entry-content {
	max-width: 960px;
	margin: 0 auto;
	padding: 40px 20px 100px;
	font-size: 16px;
	line-height: 1.9;
	color: #453127;
}

.entry-content>*:first-child {
	margin-top: 0;
	max-width: 100%;
	height: auto;
}

.entry-content p {
	margin: 0 0 1.8em;
}

/* 見出し */
.entry-content h2 {
	margin: 2.6em 0 1em;
	padding-bottom: 14px;
	border-bottom: 3px solid #ff9100;
	font-size: 26px;
	font-weight: 700;
	color: #453127;
}

.entry-content h3 {
	margin: 2.2em 0 1em;
	padding-left: 16px;
	border-left: 6px solid #ff9100;
	font-size: 21px;
	font-weight: 700;
	color: #453127;
}

.entry-content h4 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 2em 0 0.9em;
	font-size: 18px;
	font-weight: 700;
	color: #4e3526;
}

.entry-content h4::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #ff9100;
}

.entry-content h5 {
	margin: 1.6em 0 0.8em;
	font-size: 16px;
	font-weight: 700;
	color: #e69649;
}

/* リンク */
.entry-content a {
	color: #e69649;
	text-decoration: underline;
	text-decoration-color: #f3d5b2;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-color: #e69649;
}

/* リスト */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.8em;
	padding-left: 0;
	list-style: none;
}

.entry-content ul li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 26px;
}

.entry-content ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.75em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ff9100;
}

.entry-content ol {
	counter-reset: entry-ol;
}

.entry-content ol li {
	position: relative;
	margin: 0 0 12px;
	padding-left: 32px;
	counter-increment: entry-ol;
}

.entry-content ol li::before {
	content: counter(entry-ol);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fbf0e0;
	color: #e69649;
	font-size: 12px;
	font-weight: 700;
}

.entry-content li>ul,
.entry-content li>ol {
	margin: 12px 0 0;
}

.entry-content li:last-child {
	margin-bottom: 0;
}

/* 引用 */
.entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 24px 28px;
	background: #fffcf8;
	border-left: 4px solid #ff9100;
	border-radius: 0 16px 16px 0;
	color: #4e3526;
	font-style: normal;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* テーブル */
.entry-content .wp-block-table {
	margin: 2em 0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(69, 49, 39, 0.08);
}

.entry-content table {
	width: 100%;
	margin: 0 0 2em;
	border-collapse: collapse;
}

.entry-content .wp-block-table table {
	margin: 0;
}

.entry-content th,
.entry-content td {
	padding: 14px 20px;
	border: 1px solid #f3e2cd;
	text-align: left;
}

.entry-content th {
	background: #fbf0e0;
	color: #4e3526;
	font-weight: 700;
}

.entry-content td {
	background: #fffcf8;
}

.entry-content tbody tr:nth-child(even) td {
	background: #fdf5ea;
}

.entry-content .entry-links {
	margin-top: 40px;
}

@media (max-width: 782px) {
	.entry-header {
		padding: 56px 16px;
	}

	.entry-content {
		padding: 30px 16px 80px;
	}

	.entry-title {
		font-size: 24px;
	}

	.entry-content h2 {
		font-size: 22px;
	}

	.entry-content h3 {
		font-size: 18px;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}
}

/* ===== カテゴリーアーカイブ（お知らせ／コラム／キャンペーン） ===== */
.archive-content {
	max-width: 1130px;
}

/* お知らせ一覧：1カラム（投稿日＋タイトル） */
.archive-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-content .archive-list li {
	margin: 0;
	padding-left: 0;
	border-bottom: 1px dashed #ddcbb8;
}

.entry-content .archive-list li::before {
	content: none;
}

.entry-content .archive-list a {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 22px 8px;
	text-decoration: none;
}

.archive-list time {
	flex-shrink: 0;
	font-size: 14px;
	color: #8b8177;
}

.archive-list-title {
	font-size: 16px;
	color: #453127;
}

.archive-list a:hover .archive-list-title {
	text-decoration: underline;
}

/* コラム／キャンペーン一覧：3カラム（アイキャッチ＋投稿日＋タイトル） */
.archive-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 26px;
}

.entry-content a.archive-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #f3ece7;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.05);
	text-decoration: none;
	transition: box-shadow 0.2s;
}

.archive-card:hover {
	box-shadow: 0 4px 16px rgba(69, 49, 39, 0.14);
}

.archive-card-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 342 / 193;
	background: #fdf2ec;
	overflow: hidden;
}

.archive-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.archive-card-thumb img.archive-card-thumb-placeholder {
	object-fit: cover;
	opacity: 0.6;
}

.archive-card-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.archive-card-body time {
	font-size: 13px;
	color: #8b8177;
}

.archive-card-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.6;
	color: #453127;
}

/* ページネーション */
.archive-pagination {
	margin-top: 56px;
}

.archive-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.entry-content .archive-pagination a,
.archive-pagination span {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	color: #e8833a;
	text-decoration: none;
}

.archive-pagination a {
	background: #fff;
	box-shadow: 0 2px 8px rgba(69, 49, 39, 0.06);
	transition: background 0.2s, color 0.2s;
}

.archive-pagination a:hover {
	background: #ed8253;
	color: #fff;
}

.archive-pagination span.current {
	background: #ed8253;
	color: #fff;
}

.archive-pagination span.dots {
	background: none;
	box-shadow: none;
	color: #b9ada3;
}

@media (max-width: 782px) {
	.archive-grid {
		grid-template-columns: 1fr;
	}

	.archive-list a {
		gap: 14px;
		padding: 18px 4px;
	}
}