/* =========================================================
   cta.css — CTA ブロック（Figma 3219:23418, 1440x408）
   ========================================================= */
.c-cta {
	position: relative;
	overflow: hidden;
	background: var(--c-blue);
	color: var(--c-white);
	isolation: isolate;
}
.c-cta__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	mix-blend-mode: hard-light;
	z-index: -1;
	pointer-events: none;
}
.c-cta__inner {
	max-width: var(--w-content);
	height: 408px;
	margin: 0 auto;
	padding-top: 45px;
}
.c-cta__head { text-align: center; line-height: 1.5; }
.c-cta__title { font-size: 26px; font-weight: 700; }
.c-cta__sub { font-size: 16px; }

.c-cta__body {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	margin-top: 42px;
	padding-left: 1px;
}

/* カード 389x197 */
.c-cta__card {
	position: relative;
	flex: none;
	width: 389px;
	height: 197px;
	overflow: hidden;
	background: var(--c-white);
	border-radius: 4px;
	box-shadow: 0 5px 8px rgba(0, 0, 0, .25);
	color: var(--c-blue-deep);
	isolation: isolate;
}
.c-cta__card-img {
	position: absolute;
	top: 0;
	left: 216px;
	z-index: -2;
}
.c-cta__card--contact .c-cta__card-img { left: 215px; }
.c-cta__card::before { /* 左→右 白フェード */
	content: "";
	position: absolute;
	top: 0;
	left: 215px;
	width: 245px;
	height: 197px;
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
	z-index: -1;
}
.c-cta__card-head {
	position: absolute;
	top: 29px;
	left: 39px;
	display: flex;
	align-items: flex-start;
	gap: 22px;
}
.c-cta__card--contact .c-cta__card-head { top: 28px; left: 36px; }
.c-cta__card-icon { flex: none; width: 55px; height: 55px; margin-top: 15px; }
.c-cta__card--contact .c-cta__card-icon { margin-top: 16px; }
.c-cta__card-title { font-size: 20px; font-weight: 700; line-height: 1.5; }
.c-cta__card-text { margin-top: 6px; font-size: 16px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.c-cta__btn {
	position: absolute;
	top: 132px;
	left: 40px;
	width: 309px;
}

/* 電話 */
.c-cta__tel {
	position: relative;
	flex: none;
	width: 291px;
	height: 197px;
	margin-left: auto;
	margin-right: 1px;
}
.c-cta__tel-lead {
	position: absolute;
	top: 5px;
	left: 0;
	right: 0;
	font-size: 15px;
	line-height: 1.5;
	text-align: center;
	white-space: nowrap;
}
.c-cta__tel-num {
	position: absolute;
	top: 30px;
	left: 4px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 34px;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
}
.c-cta__tel-num img { width: 30px; height: 30px; margin-top: 3px; }
.c-cta__tel-num:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.c-cta__tel::after { /* 区切り線 */
	content: "";
	position: absolute;
	top: 97px;
	left: 0;
	width: 291px;
	height: 1px;
	background: rgba(255, 255, 255, .6);
}
.c-cta__hours {
	position: absolute;
	top: 119px;
	left: 6px;
	display: flex;
	align-items: flex-start;
	gap: 7px;
	font-size: 18px;
	letter-spacing: .09em;
	line-height: 1.5;
	white-space: nowrap;
}
.c-cta__hours img { width: 33px; height: 33px; }
.c-cta__hours span { margin-top: 3px; }

/* ---------- 無料サンプル請求あり（シーリングマジックColor。Figma 4102:23727, 1440x530） ----------
   カード3枚（389・間24）を横並び、電話は線の下の段に中央寄せ */
.c-cta--sample .c-cta__inner { max-width: 1215px; height: 530px; }
.c-cta--sample .c-cta__body { flex-wrap: wrap; padding-left: 0; }
.c-cta__card--sample::before { width: 105px; }
.c-cta__card--sample .c-cta__card-head { left: 39px; }
.c-cta__card--sample .c-cta__card-text { width: 232px; white-space: normal; letter-spacing: -.03em; }
.c-cta--sample .c-cta__tel {
	display: flex;
	justify-content: center;
	align-items: center;
	flex: 0 0 100%;
	width: auto;
	height: auto;
	margin: 16px 0 0; /* カード下 → 線 40px（gap 24 + 16） */
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .6);
}
.c-cta--sample .c-cta__tel::after { content: none; }
.c-cta--sample .c-cta__tel-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 1px 27px 6px 0;
	border-right: 1px solid rgba(255, 255, 255, .6);
}
.c-cta--sample .c-cta__tel-lead,
.c-cta--sample .c-cta__tel-num,
.c-cta--sample .c-cta__hours { position: static; }
.c-cta--sample .c-cta__tel-num { margin-top: 2px; }
.c-cta--sample .c-cta__hours { margin-left: 27px; }

@media (max-width: 1200px) {
	.c-cta__inner,
	.c-cta--sample .c-cta__inner { height: auto; padding: 45px 20px 56px; }
	.c-cta__body { flex-wrap: wrap; justify-content: center; }
	.c-cta__tel { margin: 0 auto; }
}
/* ---------- SP（Figma CTA_sp 2858:9288, 375x709） ---------- */
@media (max-width: 767px) {
	.c-cta__bg { opacity: .7; object-position: 72% bottom; }
	.c-cta__inner { max-width: none; height: auto; padding: 36px 20px 31px; }
	.c-cta__title { font-size: 18px; line-height: 1.6; }
	.c-cta__sub { margin-top: 6px; font-size: 15px; }
	.c-cta__body { display: flex; flex-direction: column; align-items: center; gap: 17px; margin-top: 31px; padding: 0; }

	/* カード 335x170（中身は PC と同じく絶対配置、375基準の座標） */
	.c-cta__card {
		width: 100%;
		max-width: 335px;
		height: 170px;
		padding: 0;
		border-radius: 3.4px;
		box-shadow: 0 4.3px 6.9px rgba(0, 0, 0, .25);
	}
	.c-cta__card-img,
	.c-cta__card--contact .c-cta__card-img { left: auto; right: 0; width: calc(100% - 185px); height: 100%; object-fit: cover; object-position: left center; }
	.c-cta__card::before { left: auto; right: 0; width: calc(100% - 185px); height: 100%; }
	.c-cta__card-head,
	.c-cta__card--contact .c-cta__card-head { top: 24px; left: 31px; gap: 19px; }
	.c-cta__card--catalog .c-cta__card-head { top: 25px; left: 34px; }
	.c-cta__card-icon,
	.c-cta__card--contact .c-cta__card-icon { width: 47px; height: 47px; margin-top: 14px; }
	.c-cta__card-title { font-size: min(18px, 4.8vw); }
	.c-cta__card-text { margin-top: 4px; font-size: min(14px, 3.73vw); }
	.c-cta__btn {
		position: absolute;
		top: 114px;
		left: 34px;
		right: 34px;
		width: auto;
		gap: 13px;
		padding: 10px 12px;
		font-size: min(14px, 3.73vw);
		line-height: 1.5;
	}
	.c-cta__btn .c-btn__icon { width: 15.5px; height: 15.5px; }

	/* 電話 */
	.c-cta__tel { width: 100%; max-width: 335px; height: 168px; margin: 11px auto 0; }
	.c-cta__tel-lead { top: 0; }
	.c-cta__tel-num { top: 25.5px; left: 50%; width: max-content; transform: translateX(-50%); }
	.c-cta__tel::after { top: 92px; width: 100%; }
	.c-cta__hours { top: 111px; left: calc(50% - 130px); width: max-content; gap: 7px; }

	/* 無料サンプル請求あり: カード3枚を縦積み、電話は通常の SP と同じ形 */
	.c-cta--sample .c-cta__inner { height: auto; }
	.c-cta--sample .c-cta__body { flex-wrap: nowrap; }
	.c-cta__card--sample .c-cta__card-head { left: 31px; }
	.c-cta__card--sample .c-cta__card-text { width: min(220px, calc(100vw - 155px)); }
	.c-cta__card--sample { display: none; } /* SP は「無料サンプル請求」カードを出さない */
	.c-cta--sample .c-cta__tel { display: block; flex: none; width: 100%; height: 168px; margin: 11px auto 0; padding: 0; border-top: 0; }
	.c-cta--sample .c-cta__tel::after { content: ""; }
	.c-cta--sample .c-cta__tel-main { display: contents; }
	.c-cta--sample .c-cta__tel-lead,
	.c-cta--sample .c-cta__tel-num,
	.c-cta--sample .c-cta__hours { position: absolute; }
	.c-cta--sample .c-cta__tel-num { margin-top: 0; }
	.c-cta--sample .c-cta__hours { margin-left: 0; }
}
