@charset "utf-8";
/* =============================================================
   株式会社三井住設 エコキュート大特価ページ（/products/）専用スタイル
   ・style.css の変数（--navy / --blue など）を前提に読み込みます。
   ============================================================= */

:root {
	--red: #d7262c;
	--green: #2f9a3b;
	--yellow: #ffe14d;
}

/* ---- FV ---- */
.ec_fv {
	position: relative;
	padding-top: 70px;
	background: url(../img/products/visual_bg.png) no-repeat center right;
	background-size: cover;
}
.ec_fv::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255,255,255,.6) 0%, rgba(255,255,255,.3) 55%, rgba(255,255,255,0) 100%);
	pointer-events: none;
}
.ec_fv .inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1400px;
	min-height: 620px;
	padding: 40px 0;
}
.ec_fv_ttl {
	width: min(1100px, 85%);
	line-height: 0;
}
.ec_fv_ttl img {
	filter: drop-shadow(0 6px 18px rgba(255, 255, 255, .7));
}

/* ---- バナー ---- */
.ec_banner {
	padding: 70px 0 0;
}
.ec_banner .inner {
	max-width: 960px;
}
.ec_banner a,
.ec_banner .ec_banner_img {
	display: block;
	line-height: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 14px 34px rgba(0, 50, 105, .14);
}
.ec_banner a:hover {
	opacity: .85;
}
.ec_banner--works {
	padding: 0 0 100px;
}

/* ---- 共通：リード ---- */
.ec_lead {
	text-align: center;
	font-size: 1.7rem;
	line-height: 2;
	margin: -14px auto 40px;
}

/* ---- 商品カード（スライダー・一覧共通） ---- */
.p_card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 50, 105, .06);
}
.p_card_img {
	position: relative;
	line-height: 0;
	background: #fff;
	padding: 14px 14px 0;
}
.p_card_img img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
}
.p_card_badge {
	position: absolute;
	top: 12px;
	left: 12px;
	display: inline-block;
	padding: 6px 10px;
	background: var(--red);
	color: #fff;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1;
	border-radius: 3px;
	letter-spacing: .06em;
}
.p_card_body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 20px 22px;
}
.p_card_maker {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--blue);
	letter-spacing: .06em;
}
.p_card_model {
	font-size: 2.2rem;
	font-weight: 900;
	line-height: 1.3;
	color: var(--navy);
	margin-top: 2px;
	word-break: break-all;
}
.p_card_tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 12px;
}
.p_card_tags li {
	display: inline-block;
	padding: 5px 10px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	border-radius: 3px;
	background: var(--light-blue);
	color: var(--navy);
}
.p_card_tags .tag_subsidy {
	background: #e8f5e9;
	color: var(--green);
}
.p_card_price {
	margin-top: auto;
	padding-top: 16px;
}
.p_card_price .price_item {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 10px;
	font-size: 1.35rem;
	font-weight: 500;
	padding-bottom: 10px;
	border-bottom: 1px dashed var(--line);
}
.p_card_price .price_item b {
	font-size: 1.7rem;
	font-weight: 700;
}
.p_card_price .price_set {
	margin-top: 10px;
	text-align: right;
}
.p_card_price .price_set .label {
	display: block;
	text-align: left;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--red);
}
.p_card_price .price_set .num {
	font-size: 3rem;
	font-weight: 900;
	line-height: 1.2;
	color: var(--red);
	letter-spacing: .01em;
}
.p_card_price .price_set .yen {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--red);
	margin-left: 2px;
}

/* ---- おすすめ機種スライダー ---- */
.ec_pickup {
	background: var(--gray-bg);
}
.ec_slider {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
}
.ec_slider_track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px 4px 24px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ec_slider_track::-webkit-scrollbar {
	display: none;
}
.ec_slider_track > li {
	flex: 0 0 calc((100% - 24px * 3) / 3.4);
	scroll-snap-align: start;
	display: flex;
}
.ec_slider_track .p_card {
	width: 100%;
}
.ec_slider_btn {
	position: absolute;
	top: 40%;
	z-index: 2;
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: var(--navy);
	box-shadow: 0 8px 18px rgba(0, 50, 105, .25);
	cursor: pointer;
	transition: opacity .3s;
}
.ec_slider_btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 11px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
}
.ec_slider_btn--prev {
	left: -26px;
}
.ec_slider_btn--prev::before {
	transform: translate(-30%, -50%) rotate(-135deg);
}
.ec_slider_btn--next {
	right: -26px;
}
.ec_slider_btn--next::before {
	transform: translate(-70%, -50%) rotate(45deg);
}
.ec_slider_btn:disabled {
	opacity: .25;
	cursor: default;
}
.ec_slider_dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}
.ec_slider_dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: #c5d2de;
	cursor: pointer;
}
.ec_slider_dots button.is-active {
	background: var(--navy);
}

/* ---- メーカー別アコーディオン ---- */
.ec_lineup .inner {
	max-width: 1200px;
}
.maker_acc + .maker_acc {
	margin-top: 18px;
}
.maker_acc summary {
	position: relative;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 22px;
	padding: 24px 80px 24px 30px;
	background: var(--navy);
	color: #fff;
	border-radius: 8px;
	cursor: pointer;
	list-style: none;
	transition: background .3s;
}
.maker_acc summary::-webkit-details-marker {
	display: none;
}
.maker_acc summary:hover {
	background: #064e93;
}
.maker_acc[open] summary {
	border-radius: 8px 8px 0 0;
}
.maker_acc .maker_name {
	font-size: 2.4rem;
	font-weight: 700;
	letter-spacing: .06em;
}
.maker_acc .maker_note {
	font-size: 1.4rem;
	font-weight: 500;
	opacity: .9;
}
.maker_acc .maker_count {
	display: inline-block;
	padding: 4px 12px;
	background: var(--yellow);
	color: var(--navy);
	font-size: 1.3rem;
	font-weight: 700;
	border-radius: 30px;
}
.maker_acc .maker_icon {
	position: absolute;
	top: 50%;
	right: 30px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	border-radius: 50%;
	background: #fff;
}
.maker_acc .maker_icon::before,
.maker_acc .maker_icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	background: var(--navy);
	transition: transform .3s;
}
.maker_acc .maker_icon::after {
	transform: rotate(90deg);
}
.maker_acc[open] .maker_icon::after {
	transform: rotate(0);
}
.maker_acc_body {
	padding: 34px 30px 40px;
	background: #fff;
	border: 1px solid var(--line);
	border-top: none;
	border-radius: 0 0 8px 8px;
}
.maker_group + .maker_group {
	margin-top: 40px;
}
.maker_group_ttl {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 2rem;
	font-weight: 700;
	color: var(--navy);
	margin-bottom: 20px;
}
.maker_group_ttl::before {
	content: "";
	width: 6px;
	height: 24px;
	background: var(--blue);
	border-radius: 3px;
}
.maker_group_list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}
.maker_group_list .p_card_model {
	font-size: 1.9rem;
}
.maker_group_list .p_card_price .price_set .num {
	font-size: 2.6rem;
}

/* ---- 注記 ---- */
.ec_note {
	margin-top: 40px;
	padding: 30px 34px;
	background: #fffbe0;
	border: 2px solid var(--yellow);
	border-radius: 8px;
	text-align: center;
}
.ec_note_main {
	font-size: 2.2rem;
	font-weight: 900;
	line-height: 1.6;
	color: var(--red);
}
.ec_note_sub {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--navy);
	margin-top: 6px;
}

/* ---- お問い合わせ導線 ---- */
.ec_contact .contact_methods {
	margin-bottom: 40px;
}
.ec_contact_btn a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 300px;
	padding: 20px 36px;
	background: #fff;
	color: var(--navy);
	font-size: 1.6rem;
	font-weight: 700;
	border-radius: 4px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
}
.ec_contact_btn .arrow {
	width: 8px;
	height: 8px;
	border-top: 2px solid var(--navy);
	border-right: 2px solid var(--navy);
	transform: rotate(45deg);
}

/* ================= responsive ================= */
@media screen and (max-width: 1280px) {
	.ec_slider_btn--prev {
		left: -10px;
	}
	.ec_slider_btn--next {
		right: -10px;
	}
}

@media screen and (max-width: 1000px) {
	.ec_fv .inner {
		min-height: 500px;
	}
	.ec_slider_track > li {
		flex-basis: calc((100% - 24px) / 2.3);
	}
	.maker_group_list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.ec_fv {
		padding-top: 64px;
		background-position: 86% bottom;
	}
	.ec_fv::before {
		background: linear-gradient(180deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,.6) 45%, rgba(255,255,255,0) 75%);
	}
	.ec_fv .inner {
		min-height: 0;
		padding: 28px 0 150px;
		align-items: flex-start;
	}
	.ec_fv_ttl {
		width: 100%;
	}
	.ec_banner {
		padding-top: 48px;
	}
	.ec_banner--works {
		padding: 0 0 64px;
	}
	.ec_lead {
		font-size: 1.5rem;
		text-align: left;
		margin-bottom: 28px;
	}
	.ec_slider_track {
		gap: 16px;
	}
	.ec_slider_track > li {
		flex-basis: 78%;
	}
	.ec_slider_btn {
		width: 42px;
		height: 42px;
	}
	.ec_slider_btn--prev {
		left: -8px;
	}
	.ec_slider_btn--next {
		right: -8px;
	}
	.maker_acc summary {
		padding: 18px 60px 18px 18px;
		gap: 4px 12px;
	}
	.maker_acc .maker_name {
		font-size: 2rem;
	}
	.maker_acc .maker_note {
		font-size: 1.2rem;
		width: 100%;
		order: 3;
	}
	.maker_acc .maker_icon {
		right: 16px;
		width: 28px;
		height: 28px;
		margin-top: -14px;
	}
	.maker_acc_body {
		padding: 24px 12px 28px;
	}
	.maker_group_ttl {
		font-size: 1.8rem;
	}
	/* SP：1列（画像左・情報右の横長カード） */
	.maker_group_list {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	.maker_group_list .p_card {
		flex-direction: row;
		align-items: center;
	}
	.maker_group_list .p_card_img {
		flex: 0 0 38%;
		padding: 10px 0 10px 10px;
	}
	.maker_group_list .p_card_body {
		flex: 1;
		min-width: 0;
		padding: 14px 14px 14px 12px;
	}
	.maker_group_list .p_card_maker {
		font-size: 1.2rem;
	}
	.maker_group_list .p_card_model {
		font-size: 1.8rem;
	}
	.maker_group_list .p_card_tags {
		margin-top: 8px;
	}
	.maker_group_list .p_card_tags li {
		font-size: 1.15rem;
		padding: 4px 8px;
	}
	.maker_group_list .p_card_price {
		padding-top: 10px;
	}
	.maker_group_list .p_card_price .price_item {
		font-size: 1.2rem;
		padding-bottom: 6px;
	}
	.maker_group_list .p_card_price .price_item b {
		font-size: 1.5rem;
	}
	.maker_group_list .p_card_price .price_set {
		margin-top: 6px;
	}
	.maker_group_list .p_card_price .price_set .label {
		font-size: 1.2rem;
	}
	.maker_group_list .p_card_price .price_set .num {
		font-size: 2.4rem;
	}
	.maker_group_list .p_card_price .price_set .yen {
		font-size: 1.3rem;
	}
	.ec_note {
		padding: 22px 16px;
	}
	.ec_note_main {
		font-size: 1.7rem;
	}
	.ec_note_sub {
		font-size: 1.4rem;
	}
	.ec_contact_btn a {
		width: 100%;
		min-width: 0;
	}
}
