/*=============================
暮らしリフォームパートナーが選ばれる理由
=============================*/
#riyu {
	padding-bottom: 1rem;
	position: relative;
}

#riyu .title {
	text-align: center;
	margin-bottom: 0.5rem;
}

#riyu .list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.2rem;
}


#riyu .item {
	width: 20%;
}
@media screen and (max-width: 699px) {
	#riyu .list .item {
		width: 100%;
	}
}


#riyu .item img {
	width: 100%;
	height: auto;
}

#riyu .deco_01 {
	position: absolute;
	bottom: 0;
	left: -3rem;
	max-width: 5.4rem;
	width: 100%;
}
#riyu .deco_02 {
	position: absolute;
	top: 0;
	right: -2rem;
	max-width: 4.2rem;
	width: 100%;
}
#riyu .deco_03 {
	position: absolute;
	bottom: -1rem;
	right: -1rem;
	max-width: 4.2rem;
	width: 100%;
}
@media screen and (max-width: 699px) {
	#riyu .deco_01 {
		left: -1.8rem;
		max-width: 2.8rem;
		z-index: -1;
		bottom: 3rem;
	}
	#riyu .deco_02 {
		right: -1rem;
		max-width: 2.5rem;
		z-index: -1;
	}
	#riyu .deco_03 {
		right: -1rem;
		max-width: 2.2rem;
		z-index: -1;
	}
}
/*=============================
住宅省エネ補助金
=============================*/
#hojokin {
	background: url("../img/hojokin_bg.jpg") no-repeat center center;
	background-size: cover;
	padding: 0.5rem 0;
}

.hojokin_box {
	background: rgba(255, 255, 255, 0.75);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-radius: 12px;
	padding: 0.4rem 0.35rem 0.35rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hojokin_head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.2rem;
	margin-bottom: 0.3rem;
}

.hojokin_head_text {
	flex: 1;
}

.hojokin_title {
	font-size: 0.33rem;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 0.12rem;
}

.hojokin_desc {
	font-size: 0.16rem;
	line-height: 1.8;
}

.hojokin_head_icon {
	flex-shrink: 0;
	width: 2.12rem;
}

.hojokin_cards {
	display: flex;
	gap: 0.12rem;
	margin-bottom: 0.25rem;
}

.hojokin_card img {
	display: block;
	width: 100%;
	height: auto;
}

.hojokin_btn a {
	display: block;
	background: #f06b82;
	color: #fff;
	font-size: 0.17rem;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	padding: 0.2rem 0.2rem;
	max-width: 2.7rem;
	margin: 0 auto;
	transition: opacity 0.3s ease;
	position: relative;

}
@media screen and (max-width: 699px) {
	.hojokin_btn  {
		margin-top: 0.5rem;
	}
}
.hojokin_btn a::after {
	content: '>';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 0.2rem;
}

.hojokin_btn a:hover {
	opacity: 0.8;
}

/* Slick（SP） */
.hojokin_slider .slick-slide {
	padding: 0 0.06rem;
	opacity: 0.45;
}

.hojokin_slider .slick-slide.slick-center {
	opacity: 1;
}

.hojokin_slider .slick-list {
	overflow: hidden;
}

.hojokin_slider .slick-track {
	display: flex;
	align-items: stretch;
}

.hojokin_slider .slick-dots {
	bottom: -0.28rem;
}

.hojokin_slider .slick-dots li button:before {
	font-size: 10px;
	color: #f06b82;
	opacity: 0.4;
}

.hojokin_slider .slick-dots li.slick-active button:before {
	opacity: 1;
	color: #f06b82;
}

@media screen and (max-width: 699px) {
	html,
	body {
		overflow-x: hidden;
		max-width: 100%;
		scroll-padding-top: 80px;
	}

	#hojokin {
		padding: 0.3rem 0;
		overflow-x: hidden;
		overscroll-behavior-x: none;
	}

	#hojokin .container1000 {
		overflow-x: hidden;
		max-width: 100%;
	}

	.hojokin_box {
		padding: 0.3rem 0.15rem 0.45rem;
		border-radius: 8px;
		overflow-x: hidden;
		max-width: 100%;
	}

	.hojokin_cards.hojokin_slider {
		display: block;
		margin-bottom: 0.35rem;
		margin-left: -0.15rem;
		margin-right: -0.15rem;
		overflow: hidden;
		width: auto;
		max-width: calc(100% + 0.3rem);
		touch-action: pan-x;
		-webkit-overflow-scrolling: touch;
	}

	.hojokin_slider .slick-list {
		overflow: hidden;
		margin: 0;
		padding: 0 20px;
	}

	.hojokin_slider .slick-track {
		display: flex;
		will-change: transform;
	}

	.hojokin_head {
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-bottom: 0.2rem;
	}

	.hojokin_title {
		font-size: 0.2rem;
		margin-bottom: 0.1rem;
	}

	.hojokin_desc {
		font-size: 0.15rem;
		text-align: left;
	}

	.hojokin_head_icon {
		width: 1.6rem;
		margin-top: 0.05rem;
	}

	.hojokin_btn a {
		font-size: 0.16rem;
		max-width: 100%;
		padding: 0.12rem 0.15rem;
	}
}
