@charset "utf-8";

/* WordPress shared-shell integration for every product template. */
.product .top-audience,
.product .lower-category-nav {
	background-color: #fff;
}

/* =========================================================
   おすすめ商品一覧：商品画像を共通で大きく表示
   ========================================================= */
.product__recommend-table--dynamic th img {
	display: block;
	width: min(180px, 85%);
	height: 28px;
	max-width: none;
	max-height: none;
	margin: 0 auto;
	object-fit: contain;
}

.product__recommend-table--dynamic .product__recommend-img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 240px !important;
}

.product__recommend-table--dynamic .product__recommend-img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 420px !important;
	max-height: 230px !important;
	object-fit: contain;
	object-position: center;
}

.product__recommend-table--dynamic .product__recommend-table-data {
	grid-template-rows: 240px auto !important;
}

@media screen and (max-width: 1024px) {
	.product__recommend-table--dynamic .product__recommend-img {
		height: 170px !important;
	}

	.product__recommend-table--dynamic .product__recommend-img img {
		max-width: 280px !important;
		max-height: 160px !important;
	}

	.product__recommend-table--dynamic .product__recommend-table-data {
		grid-template-rows: 170px auto !important;
	}

	.solar-detail .product__recommend-table--dynamic .product__recommend-table-data {
		grid-template-rows: 170px !important;
	}
}

@media screen and (max-width: 768px) {
	.product__recommend-table--dynamic .product__recommend-img {
		height: 190px !important;
	}

	.product__recommend-table--dynamic .product__recommend-img img {
		max-width: 320px !important;
		max-height: 180px !important;
	}

	.product__recommend-table--dynamic .product__recommend-table-data {
		grid-template-rows: 190px auto !important;
	}

	.solar-detail .product__recommend-table--dynamic .product__recommend-table-data {
		grid-template-rows: 190px !important;
	}
}

/* =========================================================
   機器詳細カバー：タブレット・スマホ共通
   PCの横並びは維持し、1024px以下だけ画像とテキストを分離
   ========================================================= */
@media screen and (max-width: 1024px) {
	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero--split {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
		padding-bottom: 0;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero--split::before {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		display: block;
		flex: 0 0 auto;
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 2;
		margin-top: 42px;
		background-position: center;
		background-size: contain;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero--split .l-inner {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100% !important;
		max-width: none !important;
		height: auto;
		padding: clamp(34px, 5vw, 52px) 5% clamp(42px, 6vw, 64px);
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__content {
		width: min(100%, 760px);
		max-width: none;
		text-align: center;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__title {
		font-size: clamp(38px, 5.6vw, 52px);
		line-height: 1.2;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__description {
		margin-top: clamp(14px, 2vw, 20px);
		font-size: clamp(16px, 2.2vw, 19px);
		line-height: 1.8;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__description br {
		display: none;
	}
}

@media screen and (max-width: 480px) {
	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero--split::before {
		margin-top: 46px;
		background-position: center bottom;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero--split .l-inner {
		padding: 30px 6% 42px;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__title {
		font-size: 32px;
	}

	:is(
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero__description {
		margin-top: 12px;
		font-size: 15px;
		line-height: 1.75;
	}
}

/* タブレット以下はパンくずを通常フローに戻し、カバー画像との重なりを防ぐ */
@media screen and (max-width: 1024px) {
	:is(
		#product-idx,
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero > .breadcrumb {
		position: relative !important;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		order: 0;
		padding-top: 14px !important;
		padding-bottom: 12px !important;
	}

	:is(
		#product-idx,
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero::before {
		order: 1;
		margin-top: 0;
	}

	:is(
		#product-idx,
		#product-builtin,
		#product-rangefood,
		#product-tableconro,
		#product-dishwasher,
		#product-ricecooker,
		#product-boiler,
		#product-hybridboiler,
		#product-hotdryer,
		#product-dryer,
		#product-gasfanheater,
		#product-gasstove,
		#product-floorheating
	) .product-hero > .l-inner {
		order: 2;
	}
}

/* 創エネ・蓄エネトップ：PCはレイアウト比率を保ったまま可変 */
@media screen and (min-width: 1025px) {
	#product-energy .product-hero {
		height: clamp(560px, 41.6667vw, 800px);
		background-size: auto clamp(120px, 10.4167vw, 200px);
	}

	#product-energy .product-hero .l-inner {
		width: min(92%, 1520px) !important;
		max-width: 1520px !important;
		padding-top: clamp(56px, 3.75vw, 72px);
	}

	#product-energy .product-hero__content {
		width: 100%;
		max-width: none;
	}

	#product-energy .product-hero__h1-icons {
		flex-direction: row;
		align-items: center;
		gap: clamp(16px, 1.25vw, 24px);
	}

	#product-energy .product-hero__h1-icons h1 {
		font-size: clamp(32px, 3.2vw, 62px);
		line-height: 1.25;
		white-space: nowrap;
	}

	#product-energy .product-hero__icons {
		flex-direction: row;
		justify-content: flex-end;
		gap: clamp(8px, 0.625vw, 12px);
	}

	#product-energy .product-hero__icons img {
		width: clamp(72px, 6.25vw, 120px);
		min-width: clamp(72px, 6.25vw, 120px);
		max-width: clamp(72px, 6.25vw, 120px);
		height: clamp(72px, 6.25vw, 120px);
		min-height: clamp(72px, 6.25vw, 120px);
		max-height: clamp(72px, 6.25vw, 120px);
	}

	#product-energy .product-hero__visual {
		right: -40px;
		bottom: 0;
		width: min(1380px, 76vw);
	}

	#product-energy .product-hero__description {
		max-width: clamp(320px, 22vw, 520px);
	}
}

/* 創エネ・蓄エネトップ：タブレット・スマホカバー */
@media screen and (max-width: 1024px) {
	#product-energy .product-hero {
		display: flex;
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	#product-energy .product-hero > .breadcrumb {
		position: relative !important;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		order: 0;
		padding-top: 14px !important;
		padding-bottom: 12px !important;
	}

	#product-energy .product-hero .l-inner {
		display: flex;
		flex-direction: column;
		width: 100% !important;
		max-width: none !important;
		height: auto;
		padding: 0;
	}

	#product-energy .product-hero__visual {
		position: static;
		order: 0;
		width: min(100%, 980px);
		margin: 0 auto;
		transform: none;
	}

	#product-energy .product-hero__visual img {
		display: block;
		width: 100%;
		height: auto;
		content: url(../../img/product/product-energy/hero_energy-no-floor-trim.png);
	}

	#product-energy .product-hero__content {
		order: 1;
		width: min(100%, 780px);
		max-width: none;
		margin: 0 auto;
		padding: clamp(34px, 5vw, 52px) 5% clamp(42px, 6vw, 64px);
		text-align: center;
	}

	#product-energy .product-hero__h1-icons {
		flex-direction: column;
		align-items: center;
		gap: clamp(18px, 3vw, 28px);
	}

	#product-energy .product-hero__h1-icons h1 {
		font-size: clamp(30px, 4.5vw, 42px);
		line-height: 1.3;
		text-align: center;
	}

	#product-energy .product-hero__icons {
		flex-direction: row;
		justify-content: center;
		width: 100%;
		gap: clamp(10px, 2vw, 18px);
	}

	#product-energy .product-hero__icons img {
		width: clamp(76px, 13vw, 108px);
		min-width: clamp(76px, 13vw, 108px);
		max-width: clamp(76px, 13vw, 108px);
		height: clamp(76px, 13vw, 108px);
		min-height: clamp(76px, 13vw, 108px);
		max-height: clamp(76px, 13vw, 108px);
	}

	#product-energy .product-hero__description {
		width: min(100%, 620px);
		max-width: none;
		margin: clamp(20px, 3vw, 28px) auto 0;
		font-size: clamp(16px, 2.2vw, 18px);
		line-height: 1.8;
		text-align: center;
		word-break: normal;
		overflow-wrap: normal;
		line-break: strict;
	}
}

@media screen and (max-width: 480px) {
	#product-energy .product-hero__visual {
		width: 100%;
	}

	#product-energy .product-hero__content {
		padding: 30px 6% 42px;
	}

	#product-energy .product-hero__h1-icons {
		flex-direction: column;
		align-items: center;
		gap: 18px;
	}

	#product-energy .product-hero__h1-icons h1 {
		font-size: clamp(26px, 7.4vw, 32px);
		line-height: 1.3;
	}

	#product-energy .product-hero__icons {
		flex: none;
		flex-direction: row;
		justify-content: center;
		width: 100%;
		gap: 8px;
	}

	#product-energy .product-hero__icons img {
		width: clamp(64px, 20vw, 78px);
		min-width: clamp(64px, 20vw, 78px);
		max-width: clamp(64px, 20vw, 78px);
		height: clamp(64px, 20vw, 78px);
		min-height: clamp(64px, 20vw, 78px);
		max-height: clamp(64px, 20vw, 78px);
	}

	#product-energy .product-hero__description {
		margin-top: 20px;
		font-size: 15px;
		line-height: 1.75;
		word-break: normal;
		overflow-wrap: normal;
		line-break: strict;
	}
}

.l-inner {
	box-sizing: border-box;
	width: min(92%, 1200px) !important;
	max-width: 1200px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

main .breadcrumb {
	box-sizing: border-box;
	width: min(92%, 1200px) !important;
	max-width: 1200px !important;
	margin-right: auto !important;
	margin-left: auto !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

.product-hero {
	height: clamp(360px, 34vw, 480px);
}

#product-idx .product-hero > .breadcrumb,
.product-hero > .breadcrumb {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 3;
}

.product-hero .l-inner {
	padding-top: 56px;
}

#product-idx .product-hero .l-inner {
	display: flex;
	align-items: center;
	height: 100%;
}

#product-idx .product-hero::before {
	right: max(4%, calc((100% - 1200px) / 2));
	bottom: 34px;
	height: 72%;
	max-height: 360px;
}

#product-idx .product-hero::after {
	bottom: 34px;
}

.product-hero__title {
	font-size: clamp(2.4rem, 4.2vw, 4rem);
	line-height: 1.2;
}

.product-hero__description {
	font-size: clamp(1rem, 1.4vw, 1.2rem);
	line-height: 1.8;
}

main h2 {
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

main h3 {
	font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

main h4 {
	font-size: clamp(1rem, 1.3vw, 1.15rem);
}

main > section + section {
	margin-top: clamp(56px, 6vw, 84px) !important;
}

main > section.product-hero + section {
	margin-top: clamp(48px, 5vw, 72px) !important;
}

.product-idx__relief .l-inner {
	padding: clamp(48px, 6vw, 72px) clamp(20px, 3vw, 36px);
}

.product-idx__alarm .l-inner {
	overflow: hidden;
}

.product-idx__alarm-inner {
	align-items: center;
	min-height: 210px;
	padding-right: 190px;
}

.product-idx__alarm-content {
	flex: 1 1 auto;
}

.product-idx__alarm-link {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: auto;
	min-width: min(42%, 460px);
}

.alarm-img {
	top: 50%;
	right: 24px;
	width: 140px;
	max-width: 16%;
	transform: translateY(-50%);
}

.product-idx__monthly .l-inner {
	padding-top: 36px;
	padding-bottom: 36px;
}

.product-idx__monthly-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 36px;
}

.product-idx__monthly h2 {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	line-height: 1.4;
}

@media screen and (min-width: 1201px) {
	.product-idx__monthly h2 {
		font-size: clamp(18px, 1.65vw, 22px);
		white-space: nowrap;
	}
}

.product-idx__monthly-link {
	align-self: center;
	gap: 18px;
}

.product-idx__monthly-link a {
	min-height: 64px;
	height: auto;
}

.product-consult .l-inner {
	padding: clamp(28px, 4vw, 48px);
}

.product-consult {
	margin-bottom: clamp(48px, 6vw, 80px);
}

/* 機器の個別ページ */
.product-single main[id^="product-"][id$="__detail"] {
	padding-bottom: clamp(56px, 6vw, 88px);
}

.product-single main[id^="product-"][id$="__detail"] > .breadcrumb {
	margin-bottom: clamp(28px, 3vw, 44px) !important;
}

.product-single .product__detail > .l-inner:first-child {
	width: min(92%, 960px) !important;
	max-width: 960px !important;
	padding-top: 8px;
}

.product-single .product__detail-cat {
	margin-bottom: clamp(22px, 2.4vw, 34px);
}

.product-single .product__detail-container {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	align-items: start;
	column-gap: clamp(20px, 2.4vw, 36px);
}

.product-single #product-builtin__detail .product__detail-container,
.product-single #product-rangefood__detail .product__detail-container {
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
}

.product-single .product__detail-intro {
	display: flex;
	flex-direction: column;
	align-self: start;
}

.product-single .product__detail-img {
	box-sizing: border-box;
	grid-column: 2;
	grid-row: 1;
	align-self: start;
	justify-self: center;
	margin-top: -70px;
	width: 100%;
	max-width: 100%;
	max-height: 460px;
	height: auto;
	padding: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
	object-fit: contain;
	object-position: center;
}

/* 商品紹介文のみPCで少し小さくする。スマホ・タブレットの文字サイズは維持。 */
@media screen and (min-width: 1025px) {
	.product-single .product__detail-intro-desc {
		font-size: 18px;
	}
}

.product-single .product__detail-intro-company {
	display: block;
	width: auto;
	height: 28px;
	max-width: min(140px, 42vw);
	object-fit: contain;
	object-position: left center;
}

.product-single .product__detail-intro-name-wrap {
	align-items: center;
	min-height: 56px;
}

.product-single .product__detail-intro-name {
	width: auto;
	max-width: min(300px, 58vw);
	height: 56px;
	object-fit: contain;
	object-position: left center;
}

.product-single .product__detail > .l-inner + .l-inner {
	margin-top: clamp(64px, 7vw, 96px) !important;
}

.product-single .product-title--line {
	margin-bottom: clamp(30px, 3.5vw, 48px);
}

.product-single .product__detail-table {
	margin-top: 0;
	margin-bottom: clamp(34px, 4vw, 52px);
}

.product-single .product__detail-links {
	margin-top: clamp(12px, 2vw, 24px);
}

.product-single .product__detail-estimate {
	align-items: center;
}

.product-single .product__detail-estimate .product-estimate-cart {
	display: grid;
	flex: 0 1 38%;
	width: 38%;
	max-width: 420px;
	gap: 10px;
}

.product-single .product__detail-estimate .product-estimate-cart button,
.product-single .product__detail-estimate .product-estimate-cart .gocart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: none;
	min-height: 62px;
	margin: 0;
}

.product-single .product__detail-estimate .product-estimate-cart button.c-btn-square {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 70px;
	padding: 10px 18px;
	border: 2px solid #fff;
	border-radius: 0;
	background: #e60012;
}

.product-single .product__detail-estimate .product-estimate-cart button span,
.product-single .product__detail-estimate .product-estimate-cart .gocart span {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	width: auto;
	min-height: 58px;
	padding: 10px 20px;
	white-space: nowrap;
	writing-mode: horizontal-tb;
}

.product-single .product__detail-estimate .product-estimate-cart button.c-btn-square span {
	min-height: 0;
	padding: 0;
	background: transparent;
	color: #fff;
}

.product-single .product__detail-estimate .product-estimate-cart button.c-btn-square span:hover {
	background: transparent;
	color: #fff;
}

.product-single .product__detail-estimate .product-estimate-cart .gocart,
.product-single .product__detail-estimate .product-estimate-cart .gocart span {
	background: #e60012;
	color: #fff;
}

.product-single .product__detail + .l-inner {
	margin-top: clamp(40px, 5vw, 68px) !important;
}

.product-single .product__detail-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	order: 10;
	margin-top: 18px;
	margin-bottom: 0;
}

.product-single .product__detail-icons span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 10px;
	border-radius: 4px;
	background: #edf8f6;
	color: #008f82;
	font-size: 0.88rem;
	font-weight: 700;
}

@media screen and (max-width: 1200px) {
	.product-hero {
		height: 400px;
	}

	.product-hero__content {
		max-width: 48%;
	}

	.product-hero__title {
		font-size: clamp(2.25rem, 5vw, 3.25rem);
	}

	.product-idx__monthly-wrapper {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.product-idx__monthly-link {
		gap: 20px;
	}
}

@media screen and (max-width: 900px) {
	.l-inner,
	main .breadcrumb {
		width: calc(100% - 32px) !important;
	}

	.product-hero {
		height: auto;
		min-height: 360px;
	}

	.product-hero__content {
		max-width: 56%;
	}

	.product-single .product__detail-img {
		margin-top: -58px;
	}

	.product-idx__relief-list {
		display: grid;
		grid-template-columns: 1fr;
	}

	.product-idx__monthly-link {
		width: 100%;
	}

	.product-idx__alarm-inner {
		padding-right: 150px;
	}

	.alarm-img {
		right: 18px;
		width: 110px;
		max-width: 18%;
	}
}

@media screen and (max-width: 768px) {
	.product-single .product__detail-container,
	.product-single #product-builtin__detail .product__detail-container,
	.product-single #product-rangefood__detail .product__detail-container {
		grid-template-columns: minmax(0, 1fr);
	}

	.product-single .product__detail-img {
		grid-column: 1;
		grid-row: auto;
		align-self: center;
		justify-self: center;
		margin-top: 0;
		width: min(100%, 420px);
	}

	.product-single main[id^="product-"][id$="__detail"] > .breadcrumb {
		margin-bottom: 24px !important;
	}

	.product-single .product__detail-cat {
		margin-bottom: 22px;
	}

	.product-single .product__detail > .l-inner + .l-inner {
		margin-top: 52px !important;
	}

	.product-single .product-title--line {
		margin-bottom: 28px;
	}

	.product-single .product__detail + .l-inner {
		margin-top: 36px !important;
	}

	.product-single .product__detail-estimate .product-estimate-cart {
		flex-basis: auto;
		width: 100%;
		max-width: none;
		margin-top: 10px;
	}

	main > section + section,
	main > section.product-hero + section {
		margin-top: 40px !important;
	}

	.product-hero {
		min-height: 0;
	}

	.product-hero__content {
		max-width: none;
	}

	.product-consult__links,
	.product-idx__monthly-link {
		flex-direction: column;
	}

	.product-consult__links a {
		width: 100%;
		max-width: none;
	}

	.product-hero .l-inner {
		padding-top: 42px;
	}

	.product-idx__alarm-inner {
		min-height: 0;
		padding-right: 18px;
		padding-bottom: 130px;
	}

	.product-idx__alarm-link {
		width: 100%;
	}

	.alarm-img {
		top: auto;
		right: 50%;
		bottom: 12px;
		width: 100px;
		max-width: none;
		transform: translateX(50%);
	}
}
