@charset "utf-8";

/* ===========================================================================
   TOP CTA（ご予約・ご相談）
   「こんなお悩み・症状はありませんか？」(trouble.css) が淡いベージュ＋白カードなので、
   CTAは濃紺ベタで面を変えている。濃紺は「歯を残す3つの盾」バナー・診療案内タイル・
   コピーライト帯と同系なので浮かない。
   色はサイトが実際に使っているものだけ:
     濃紺 #21324f … 固定CTAバー(#footel)の背景色
     金   #b99251 … お悩みセクションの見出し下線と同じ
   予約ボタンは白ベタ＋濃紺文字。サイト内のボタンは全て「線だけ」で塗りが無いため、
   彩度のある色を足さずに、基調色の反転で一番強いコントラスト(約12.8:1)を作っている。
   TOP専用。header.php でTOPのときだけ読み込む。
   =========================================================================== */

.top-cta,
.top-cta *,
.top-cta *::before,
.top-cta *::after {
	box-sizing: border-box;
}

.top-cta a {
	text-decoration: none;
}

.top-cta h2,
.top-cta p,
.top-cta dl,
.top-cta dt,
.top-cta dd {
	margin: 0;
}

.top-cta {
	padding: 62px 40px 66px;
	background-color: #21324f;
	background-image:
		radial-gradient(
			circle at 50% 0,
			rgba(255, 255, 255, 0.07) 0,
			rgba(255, 255, 255, 0) 62%
		);
}

.top-cta__inner {
	max-width: 1180px;
	margin: 0 auto;
}

/* 見出し
--------------------------------------------------------------------------- */

.top-cta__label {
	color: #b99251;
	font-family: "Times New Roman", serif;
	font-size: 14px;
	letter-spacing: 0.3em;
	text-align: center;
}

.top-cta__heading h2 {
	position: relative;
	margin: 12px 0 26px;
	padding-bottom: 22px;
	color: #fff;
	font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
	font-size: 32px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-align: center;
}

.top-cta__heading h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 58px;
	height: 2px;
	margin-left: -29px;
	background: #b99251;
}

.top-cta__catch {
	margin-bottom: 38px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 16px;
	line-height: 2;
	text-align: center;
}

/* 本体（電話 ／ WEB予約）
--------------------------------------------------------------------------- */

.top-cta__body {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px;
	align-items: stretch;
}

.top-cta__panel {
	display: flex;
	flex-direction: column;
	padding: 28px 30px 30px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.top-cta__panel-title {
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 15px;
	letter-spacing: 0.1em;
	text-align: center;
}

/* 電話 */

.top-cta .top-cta__tel {
	display: block;
	margin-bottom: 16px;
	color: #fff;
	font-size: 38px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.03em;
	text-align: center;
}

.top-cta__hours {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.95;
}

.top-cta__hours-row {
	display: flex;
	gap: 12px;
	align-items: baseline;
}

.top-cta__hours dt {
	flex: 0 0 5.5em;
	color: #fff;
	font-weight: 700;
}

.top-cta__hours dd {
	flex: 1;
	min-width: 0;
}

/* WEB予約 */

.top-cta .top-cta__btn {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	min-height: 68px;
	margin-bottom: 14px;
	padding: 14px 26px;
	color: #21324f;
	background: #fff;
	border: 1px solid #fff;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-align: center;
	transition:
		transform 0.2s,
		background-color 0.2s;
}

.top-cta .top-cta__btn span {
	transition: transform 0.2s;
}

.top-cta .top-cta__btn:hover {
	background: #f4f3ef;
	transform: translateY(-2px);
}

.top-cta .top-cta__btn:hover span {
	transform: translateX(5px);
}

/* 2本目（アクセス）は線だけの控えめな見た目 */

.top-cta .top-cta__btn--sub {
	min-height: 50px;
	color: #fff;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 15px;
	font-weight: 500;
}

.top-cta .top-cta__btn--sub:hover {
	background: rgba(255, 255, 255, 0.12);
	transform: none;
}

.top-cta__access {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 1.95;
	text-align: center;
}

/* タブレット
--------------------------------------------------------------------------- */

@media screen and (max-width: 1100px) {

.top-cta {
	padding: 52px 22px 56px;
}

.top-cta__heading h2 {
	font-size: 27px;
}

.top-cta__body {
	gap: 22px;
}

.top-cta .top-cta__tel {
	font-size: 33px;
}

}

/* スマートフォン
--------------------------------------------------------------------------- */

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

.top-cta {
	padding: 40px 16px 44px;
}

.top-cta__label {
	font-size: 12px;
	letter-spacing: 0.24em;
}

.top-cta__heading h2 {
	margin: 10px 0 20px;
	padding-bottom: 16px;
	font-size: clamp(19px, 5vw, 23px);
	letter-spacing: 0.03em;
}

.top-cta__catch {
	margin-bottom: 26px;
	font-size: 14px;
	line-height: 1.9;
}

.top-cta__body {
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.top-cta__panel {
	padding: 20px 16px 22px;
}

.top-cta__panel-title {
	font-size: 14px;
}

.top-cta .top-cta__tel {
	font-size: clamp(30px, 8.6vw, 36px);
}

.top-cta__hours,
.top-cta__access {
	font-size: 13px;
}

.top-cta__hours dt {
	flex-basis: 5em;
}

.top-cta .top-cta__btn {
	min-height: 62px;
	font-size: 16px;
}

.top-cta .top-cta__btn--sub {
	min-height: 48px;
	font-size: 14px;
}

}
