@charset "UTF-8";

:root {
	/* サイトに合わせて調整しやすいように変数化 */
	--primary: #6cba5a;
	--primary-dark: #6cba5a;
	--bg: #f8fbfd;
	--card: #fff;
	--text: #333;
	--muted: #333;
	--border: #ddd;
	--shadow: none;
	--radius: 14px;
	--max: 1100px;
}

* {
	box-sizing: border-box;
}

body {}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

#page main section {
	margin-top: 30px;
}

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

.pill {
	display: inline-flex;
	gap: .6em;
	align-items: center;
	padding: .25em .9em;
	border-radius: 999px;
	background: var(--primary-dark);
	color: #fff;
	font-weight: 700;
	font-size: .85rem;
}

.btn,
.btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .9em 1.6em;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: .02em;
	border: 1px solid transparent;
	transition: .2s ease;
}

.btn:hover {
	opacity: .7;
	text-decoration: none;
}

.btn-ghost {
	background: #fff;
	color: var(--primary-dark);
	border: 1px solid rgba(47, 127, 110, .25);
	box-shadow: none;
}

.btn-ghost:hover {
	background: rgba(47, 127, 110, .08);
}

/* ===== Grid → Flex（共通） ===== */
.grid {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

@media screen and (max-width: 767px) {
	.grid {
		flex-direction: column;
	}
}


.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.card .inner {
	padding: 18px;
}

.sec {
	padding: 56px 0;
}

.sec.bg {
	background: var(--bg);
}

.sec-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.sec-title {
	margin: 0;
	font-size: 1.6rem;
	line-height: 1.3;
}

.sec-sub {
	margin: .2em 0 0;
	color: var(--muted);
	font-size: .95rem;
}

.hr {
	height: 1px;
	background: var(--border);
	margin: 18px 0;
}

.kicker {
	font-weight: 900;
	color: var(--primary-dark);
	letter-spacing: .08em;
	font-size: .8rem;
}

.note {
	color: var(--muted);
	font-size: .92rem;
	margin-top: 1em;
}

.ul {
	margin: .6em 0 0;
	padding-left: 1.2em;
}

.ul li {
	margin: .2em 0;
}

.badge {
	display: inline-block;
	padding: .15em .6em;
	border-radius: 6px;
	font-weight: 800;
	font-size: .8rem;
	background: var(--primary-dark);
	color: #fff;
}

main .features {
	margin-top: 50px;
}

/* Hero */
.hero {
	background: var(--bg);
	padding: 44px 0 30px;
	margin-top: 50px;
}

/* 元のgrid版は廃止し、flex版に */
.hero-grid {
	display: flex;
	gap: 22px;
	align-items: center;
	flex-wrap: wrap;
}

/* 1.1fr / .9fr 相当 */
.hero-grid> :first-child {
	flex: 1.1 1 0;
	min-width: 280px;
}

.hero-grid> :last-child {
	flex: .9 1 0;
	min-width: 280px;
}

.hero h1 {
	margin: .35em 0 0;
	font-size: 2rem;
	line-height: 1.5;
}

@media screen and (max-width: 767px) {
	main .contents {
		width: 100%;
	}

	.hero {
		margin-top: 0;
	}

	.hero h1 {
		font-size: 1.7rem;
	}
}

.hero p {
	margin: .8em 0 0;
	color: var(--muted);
}

.hero-media {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	background: #999;
	/* 画像プレースホルダー */
}

.hero-media figcaption {
	padding: 10px 12px;
	font-size: .86rem;
	color: var(--muted);
	border-top: 1px solid var(--border);
	background: #fff;
}

/* 고민ナビ（3カラム） */
.worries {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.worry {
	flex: 1 1 calc((100% - 24px) / 3);
	/* 12px×2 */
	min-width: 240px;
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px;
	background: #fff;
}

.worry h3 {
	margin: 0;
	font-size: 1.05rem;
}

.worry p {
	margin: .5em 0 0;
	color: var(--muted);
	font-size: .85rem;
	line-height: 1.5em;
}

.worry a {
	display: inline-flex;
	margin-top: .7em;
	font-weight: 800;
	color: var(--primary-dark);
	text-decoration: none;
}

.worry a:hover {
	text-decoration: underline;
}

/* Features（4カラム） */
.features {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.feat {
	flex: 1 1 calc((100% - 54px) / 4);
	/* 18px×3 */
	min-width: 200px;
	padding: 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid var(--border);
}

.feat .t {
	margin: 0;
	font-weight: 900;
}

.feat .d {
	margin: .35em 0 0;
	color: var(--muted);
	font-size: .83rem;
	line-height: 1.7;
}

/* Cases（★常に縦並び） */
.cases {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.case figure {
	margin: 0;
}



.case h3 {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.35;
}

.case .meta {
	margin: .35em 0 0;
	color: var(--muted);
	font-size: 1rem;
	font-weight: bold;
	line-height: 1.6;
}

.price {
	margin-top: 10px;
	padding: 20px;
	border-radius: 12px;
	background: var(--bg);
}

.price .sum {
	font-weight: 900;
}

/* Flow（縦並び） */
.flow {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Step（320px + 1fr 相当） */
.step {
	display: flex;
	gap: 3%;
	align-items: center;
	padding: 0;
	flex-wrap: wrap;
}

.step .ph {
	width: 30%;
}

.step .ph img {
	width: 100%;
	height: auto;
	border-radius: 14px;
}

.step .txt {
	width: 65%;
}


@media screen and (max-width: 767px) {
	.step {
		padding-bottom: 5vw;
	}

	.step .ph {
		width: 100%;
	}

	.step .txt {
		width: 100%;
	}
}


.step h3 {
	margin: 0;
	font-size: 1.08rem;
}

.step p {
	margin: .45em 0 0;
	color: var(--muted);
	font-size: .92rem;
	line-height: 1.7;
}

.step .no {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--primary);
	color: #fff;
	font-weight: 900;
	margin-right: 8px;
}

/* Equip（1.1fr .9fr 相当） */
.equip {
	display: flex;
	gap: 3%;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 30px;
}

.equip .inner {
	width: 60%;
}

.equip .thumb {
	width: 35%;
}

.equip h3 {
	margin: 0;
	font-size: 1.15rem;
}

.equip p {
	margin: .45em 0 0;
	color: var(--muted);
	font-size: .92rem;
	line-height: 1.7;
}

/* CTA */
.cta {
	background: linear-gradient(180deg, rgba(47, 127, 110, .10), rgba(47, 127, 110, .02));
	border: 1px solid rgba(47, 127, 110, .18);
}

.cta .inner {
	padding: 22px;
}

.cta h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.3;
}

.cta p {
	margin: .6em 0 0;
	color: var(--muted);
}

.cta .row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
	align-items: center;
}

.tel {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: .55em .9em;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(47, 127, 110, .22);
	color: var(--primary-dark);
	font-weight: 900;
	text-decoration: none;
}

.tel:hover {
	background: rgba(255, 255, 255, .75);
}

.smallprint {
	font-size: .86rem;
	color: var(--muted);
	margin-top: 10px;
	line-height: 1.6em;
}


/* ===== 治療例 ===== */
.case {
	padding: 20px;
}

.case .ph {
	display: flex;
	border-bottom: 0;
	gap: 4%;
	padding: 18px;
}

.case .ph .item {
	position: relative;
	width: 22%;
}

. .case .ph .item img {
	border-radius: 10px;
}

.case .ph .item p {
	font-size: .85rem;
	margin-top: .5em;
	text-align: center;
}

.case .ph .item::after {
	position: absolute;
	top: 50px;
	right: -25px;
	content: "\f105";
	font-family: FontAwesome;
	font-size: 1.6rem;
	color: var(--primary-dark);
}


.case .ph .item.maru::before {
	position: absolute;
	top: 2px;
	left: 0;
	right: 0;
	margin: auto;
	text-align: center;
	content: "○";
	font-size: 6rem;
	color: var(--primary-dark);
	z-index: 3;
	line-height: 1em;
}



.case .ph .item:last-child::after {
	display: none;
}



@media screen and (max-width: 767px) {
	.case .ph {
		flex-direction: column;
		gap: 5% 0;
		padding: 18px;
	}

	.case .ph .item {
		width: 100%;
	}

	.case .ph .item::after {
		position: relative;
		display: block;
		top: auto;
		right: auto;
		margin: 10px auto;
		text-align: center;
		font-size: 2rem;
		content: "\f107";
	}


	.case .ph .item.maru::before {
		position: absolute;
		top: 2px;
		font-size: 30vw;
	}
}


/* テキストを左へ */
.case .inner {}

/* Responsive */
@media screen and (max-width: 767px) {

	/* Hero：縦並び */
	.hero-grid {
		flex-direction: column;
	}

	.hero-grid> :first-child,
	.hero-grid> :last-child {
		flex: 1 1 100%;
		min-width: 0;
	}

	/* Features：2カラム */
	.feat {
		flex: 1 1 calc((100% - 18px) / 2);
		min-width: 0;
	}

	/* Worries：1カラム */
	.worry {
		flex: 1 1 100%;
		min-width: 0;
	}

	/* Equip：1カラム */
	.equip {
		flex-direction: column;
		align-items: stretch;
	}

	.equip .inner,
	.equip .thumb {
		width: 100%;
	}

	/* Step：縦並び */
	.step {
		display: block;
	}

	.step .ph {
		width: 100%;
		max-width: none;
	}

	.step h3 {
		margin-top: .8em;
	}

	/* Case：SPは縦並び（画像を上へ） */
	.case figure {
		flex-direction: column;
	}

	.case .thumb {
		order: 1;
		flex: 0 0 auto;
		max-width: none;
		border-left: 0;
		border-bottom: 1px solid var(--border);
		min-height: 200px;
	}

	.case .inner {
		order: 2;
	}
}