@charset "utf-8";

/* メインエリア
-------------------------------------------*/
#main_area{
	background: url("../images/top/main.webp") center / cover no-repeat;
	height: 900px;
	position: relative;
}
#main_area > div{
	position: absolute;
	left: 120px;
	bottom: 85px;
}
#main_area > div > *{
	color: #fff;
	text-shadow: rgba(47,51,66,.6) 0 0 6px;
}
#main_area > div > p{
	font-size: 65px;
	margin-bottom: .7em;
}
#main_area > div > p span{
	color: #bcb279;
	font-size: 125px;
}
#main_area > div > span{font-size: 22px;}

/* トップページコンテンツ
-------------------------------------------*/
/* お悩み */
#worries{background: url("../images/top/worries_bg.webp") center / cover no-repeat;}
.worries_li{align-items: flex-start;}
.worries_li li{
	background: rgba(26,26,26,.6);
	color: #fff;
	width: calc((100% - 3%) / 3);
	text-align: center;
	padding: 1.5em 0;
	font-size: clamp(16px,1.2vw,18px);
}
.worries_li li br{display: none;}
.worries_li li:not(:nth-child(3n)){margin-right: 1.5%;}
.worries_li li:not(:nth-last-child(-n+3)){margin-bottom: 1%;}
.worries_text{margin-top: -20px;}
.worries_text > img{
	display: block;
	margin: 0 auto 45px;
}
.worries_text > p{
	width: fit-content;
	margin: 0 auto;
}

/* Re Fine Worksの補修サービス一覧 */
.service_li{
	padding: 70px 65px;
	position: relative;
}
.service_li::before{
	content: "";
	width: 256px;
	aspect-ratio: 256/398;
	position: absolute;
	right: -60px;
	top: -180px;
	background: url("../images/top/service_illust.webp") center / contain no-repeat;
}
.service_li > li{width: calc((100% - 8%) / 3);}
.service_li > li:not(:nth-child(3n)){margin-right: 4%;}
.service_li > li:not(:nth-last-child(-n+3)){margin-bottom: 65px;}
.service_subtitle{
	margin-bottom: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.service_subtitle h3{
	font-size: 22px;
	margin-bottom: .5em;
	background: linear-gradient(to bottom,transparent 70%,rgba(188,178,121,.3) 70%);
}
.service_subtitle > div p{
	color: #b7a96c;
	font-size: 14px;
}
.service_li > li > p{
	line-height: 1.8;
	margin-bottom: 1.5em;
}
.service_li > li .btn{padding: 1em 0;}

/* Re Fine Worksが選ばれる理由 */
.features_li li{
	width: 49%;
	padding: 45px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}
.features_li li:not(:nth-last-child(-n+2)){margin-bottom: 20px;}
.features_li li > div{width: calc(95% - 75px);}
.features_li li h3{
	font-size: 22px;
	margin-bottom: 1em;
}
.features_li li > div p{line-height: 1.8;}

/* 施工事例 */
.work_title_wrap{
	margin-bottom: -52px;
	position: relative;
	z-index: 2;
}
.work_title_wrap img{margin-top: -35px;}
.swiper-button-prev,.swiper-button-next{
	background: #bcb279;
	border-radius: 50%;
	width: 75px!important;
	height: auto!important;
	aspect-ratio: 1/1;
	display: flex;
	align-items: center;
	justify-content: center;
}
.swiper-button-next{right: 9%!important;}
.swiper-button-prev{
	transform: rotate(180deg);
	left: 9%!important;
}
.swiper-button-prev::after,.swiper-button-next::after{content: ''!important;}

/* 対応エリア */
#area{background: #d6d6d6 url("../images/top/area_bg.webp") right top / 727px no-repeat;}
.area_li{align-items: flex-start;}
.area_li li{
	width: calc((100% - 6%) / 4);
	border-radius: 3px;
	background: rgba(47,51,66,.85);
	padding: 1em 0;
	color: #bcb279;
	text-align: center;
	font-size: 22px;
}
.area_li li:not(:nth-child(4n)){margin-right: 2%;}
.area_li li:not(:nth-last-child(-n+4)){margin-bottom: 20px;}

/* お問い合わせから完成までの流れ */
#flow{position: relative;}
#flow::before{
	content: "";
	width: 100%;
	height: 50%;
	clip-path: polygon(0 50%, 100% 0, 100% 100%, 0% 100%);
	background: rgba(26,26,26,.2);
	position: absolute;
	left: 0;
	bottom: 0;
}
.flow_li{
	max-width: 1060px;
	width: 100%;
	margin: 0 0 0 auto;
}
.flow_li li{
	position: relative;
	padding: 25px;
}
.flow_li li:not(:last-child){margin-bottom: 25px;}
.flow_li li:not(:last-child)::after{
	content: "";
	width: 36px;
	aspect-ratio: 36/18;
	clip-path: polygon(0 0, 50% 100%, 100% 0);
	background: #a59759;
	position: absolute;
	left: 50%;
	top: calc(100% - 7px);
	transform: translateX(-50%);
}
.flow_li li > div{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.flow_img{
	background: rgba(26,26,26,.2);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 140px;
	height: auto;
}
.flow_con{
	width: calc(96% - 140px);
	padding: 30px 0;
}
.flow_con h3{
	font-size: 22px;
	margin-bottom: .7em;
}
.flow_con p{line-height: 1.7;}
.flow_li li > span{
	position: absolute;
	font-size: 90px;
	color: rgba(188,178,121,.2);
	right: 0;
	bottom: -.1em;
}

/* よくあるご質問 */
.accordion{width: calc(92% - 200px);}
.accordion dt{cursor: pointer;}
.accordion dt p{
	position: relative;
	padding-right: 25px;
}
.accordion dt p::before,.accordion dt p::after{
	content: '';
	background: #bcb279;
	width: 18px;
	height: 3px;
	position: absolute;
	top: 50%;
	right: 0;
	transition: transform .3s;
}
.accordion dt p::before{transform: translateY(-50%);}
.accordion dt p::after{transform: translateY(-50%) rotate(90deg);}
.accordion dt.active p::after{transform: translateY(-50%) rotate(0);}
.accordion dd{display: none;}

/* 会社案内 */
#company_wrap{
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}
.company_con{width: 50%;}
.company_con h3{
	font-size: 29px;
	color: #a59759;
	padding-bottom: .8em;
	margin-bottom: 1.5em;
	border-bottom: #bcb279 1px solid;
}
.company_con dl > div:not(:last-child){margin-bottom: 45px;}
.company_con dt{
	font-size: 20px;
	border-left: 4px solid #bcb279;
	margin-bottom: 1em;
	padding-left: .6em;
}
.company_con dd,.company_con dd *{font-size: 18px;}
.company_con dl > div:last-child a{
	margin-right: .5em;
	transition: .3s;
}
.company_con dl > div:last-child a:hover{opacity: .4;}
.company_con dl > div:last-child img{
	width: 1.2em;
	margin-right: .3em;
}
.map{
	width: 43%;
	height: auto;
}
.map iframe{
	width: 100%;
	height: 100%;
}

/* Re Fine Worksへのお問い合わせ */
.contact_title h2{margin-bottom: .5em;}
.contact_title p{font-size: 60px;}
.contact_intr{
	max-width: 1250px;
	width: 100%;
	margin: 0 auto;
	position: relative;
}
.contact_intr::before,.contact_intr::after{
	content: "";
	width: 240px;
	aspect-ratio: 240/195;
	position: absolute;
	bottom: 0;
}
.contact_intr::before{
	background: url("../images/top/contact_illust01.webp") center / contain no-repeat;
	left: 0;
}
.contact_intr::after{
	background: url("../images/top/contact_illust02.webp") center / contain no-repeat;
	right: 0;
}
.contact_intr p{padding-bottom: 2.5em;}
.line_text{padding: 1.5em 0;}
/*.cta_btnbox.contact_btnbox{justify-content: center;}
.cta_btnbox.contact_btnbox a{margin: 1%;}
.cta_btnbox.contact_btnbox a:first-child::before{
	content: "";
	background: url("../images/contact_tel_bubble.webp") center / contain no-repeat;
	width: 313px;
	aspect-ratio: 313/40;
	position: absolute;
	left: 50%;
	top: -15px;
	transform: translateX(-50%);
}*/
.form_width{
	max-width: 990px;
	width: 100%;
	margin: 0 auto;
	border-top: 1px solid #2f3342;
	padding-top: 70px;
}
.form > dl:not(:last-child){margin-bottom: 20px;}
.form > dl,.form > dl dt{
	display: flex;
	align-items: center;
}
.form > dl{flex-wrap: wrap;}
.form > dl dt{width: 300px;}
.form > dl dd{width: calc(100% - 300px);}
.form > dl dt p{font-size: 20px;}
.must{
	display: block;
	width: fit-content;
	background-color: #a59759;
	color: #fff;
	padding: .1em .3em;
	margin-left: .5em;
}
.form input,.form select,.form textarea{
	border: none;
	background-color: #e0e0e2;
	outline: none;
	padding: 10px 25px;
	width: 100%;
}
.form input,.form select{height: 75px;}
.form textarea{
	width: 100%!important;
	height: 250px!important;
	padding: 30px 25px;
}
.form input,.form select,.form textarea,.form button{
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: "ShipporiMincho-SemiBold"!important;
	color: #1a1a1a;
}
.privacy{
	width: 100%;
	height: 300px;
	padding: 45px 40px;
	overflow-y: scroll;
}
.privacy > dl > div:not(:last-child){margin-bottom: 35px;}
.check{
	width: fit-content;
	margin: 0 auto;
}
input[type="radio"]{display: none;}
input[type="radio"] ~ label{
	display: block;
	position: relative;
	padding-left: 2em;
	font-size: 20px!important;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
}
input[type="radio"] ~ label:last-child {margin-bottom: 0;}
input[type="radio"] ~ label:before{
	content: '';
	display: block;
	height: 100%;
	aspect-ratio:1/1;
	border: 1px solid #2f3342;
	position: absolute;
	left: 0;
	top: 0;
	-webkit-transition: all .12s, border-color .08s;
	transition: all .12s, border-color .08s;
}
input[type="radio"]:checked ~ label:before {
	width: .5em;
	top: -.2em;
	left: .5em;
	border-radius: 0;
	opacity: 1;
	border-top-color: transparent;
	border-left-color: transparent;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.form_btn{
	cursor: pointer;
	border: none!important;
	font-family: "ShipporiMincho-SemiBold"!important;
	color: #1a1a1a!important;
}

/* 1300px以下から
------------------------------------------------------------*/
@media only screen and (max-width:1300px){

	/* メインエリア
	-------------------------------------------*/
	#main_area{height: 650px;}
	#main_area > div{
		left: 70px;
		bottom: 55px;
	}
	#main_area > div > p{font-size: 50px;}
	#main_area > div > p span{font-size: 80px;}
	#main_area > div > span{font-size: 18px;}
	
	/* トップページコンテンツ
	-------------------------------------------*/
	/* お悩み */
	.worries_li li{width: calc((100% - 2%) / 2);}
	.worries_li li:nth-child(2n+1){margin-right: 2%;}
	.worries_li li:nth-child(2n){margin-right: 0;}
	.worries_li li:not(:nth-last-child(-n+2)){margin-bottom: 1%;}
	.worries_text{margin-top: -15px;}
	.worries_text > img{
		width: 300px;
		margin-bottom: 30px;
	}
	.worries_text > p{
		max-width: 550px;
		width: 100%;
	}
	
	/* Re Fine Worksの補修サービス一覧 */
	.service_li{padding: 50px 35px;}
	.service_li::before{
		width: 190px;
		right: -45px;
		top: -135px;
	}
	.service_li > li:not(:nth-last-child(-n+3)){margin-bottom: 40px;}
	.service_subtitle{margin-bottom: 20px;}
	.service_subtitle h3{font-size: 18px;}
	.service_subtitle > div p{font-size: 12px;}
	.service_subtitle > img{width: 53px;}
	
	/* Re Fine Worksが選ばれる理由 */
	.features_li li{padding: 35px 25px;}
	.features_li li:not(:nth-last-child(-n+2)){margin-bottom: 15px;}
	.features_li li > img{width: 55px;}
	.features_li li > div{width: calc(95% - 55px);}
	.features_li li h3{font-size: 18px;}
	
	/* 施工事例 */
	.work_title_wrap{margin-bottom: -37px;}
	.work_title_wrap img{
		margin-top: -25px;
		width: 320px;
	}
	.swiper-button-prev,.swiper-button-next{width: 55px!important;}
	.swiper-button-prev img,.swiper-button-next img{width: 10px;}
	
	/* 対応エリア */
	#area{background-size: 500px;}
	.area_li li{font-size: 16px;}
	.area_li li:not(:nth-last-child(-n+4)){margin-bottom: 15px;}
	
	/* お問い合わせから完成までの流れ */
	.flow_li{max-width: 900px;}
	.flow_li li{padding: 18px;}
	.flow_li li:not(:last-child){margin-bottom: 18px;}
	.flow_li li:not(:last-child)::after{
		width: 28px;
		top: calc(100% - 5px);
	}
	.flow_img{width: 110px;}
	.flow_img img{width: 60px;}
	.flow_con{
		width: calc(96% - 110px);
		padding: 20 0;
	}
	.flow_con h3{font-size: 18px;}
	.flow_li li > span{font-size: 60px;}
	
	/* よくあるご質問 */
	.accordion{width: calc(92% - 150px);}
	.accordion dt p{padding-right: 15px;}
	.accordion dt p::before,.accordion dt p::after{
		width: 12px;
		height: 2px;
	}
	
	/* 会社案内 */
	.company_con h3{font-size: 20px;}
	.company_con dl > div:not(:last-child){margin-bottom: 30px;}
	.company_con dt{
		font-size: 16px;
		border-left: 3px solid #bcb279;
	}
	.company_con dd{font-size: 14px;}
	
	/* Re Fine Worksへのお問い合わせ */
	.contact_title p{font-size: 35px;}
	.contact_intr{max-width: 900px;}
	.contact_intr::before,.contact_intr::after{width: 160px;}
	.cta_btnbox.contact_btnbox a:first-child::before{
		width: auto;
		height: 34px;
		top: -12px;
	}
	.form_width{
		max-width: 750px;
		padding-top: 45px;
	}
	.form > dl:not(:last-child){margin-bottom: 15px;}
	.form > dl dt{width: 240px;}
	.form > dl dd{width: calc(100% - 240px);}
	.form > dl dt p{font-size: 16px;}
	.form input,.form select,.form textarea{padding: 7px 18px;}
	.form input,.form select{height: 45px;}
	.form textarea{
		height: 160px!important;
		padding: 20px 18px;
	}
	.privacy{
		height: 250px;
		padding: 35px 30px;
	}
	.privacy > dl > div:not(:last-child){margin-bottom: 25px;}
	input[type="radio"] ~ label{font-size: 16px!important;}
}

/* 950px以下から
------------------------------------------------------------*/
@media only screen and (max-width:950px){
	
	/* メインエリア
	-------------------------------------------*/
	#main_area > div{
		left: 20px;
		bottom: 40px;
	}
	
	/* トップページコンテンツ
	-------------------------------------------*/
	/* お悩み */
	.worries_li li{font-size: 14px;}
	.worries_li li br{display: block;}
	
	/* Re Fine Worksの補修サービス一覧 */
	.service_li::before{
		background-image: url("../images/top/service_illustSP.webp");
		aspect-ratio:301/230;
		width: 215px;
		right: -15px;
		top: -150px;
	}
	.service_li > li{width: calc((100% - 4%) / 2);}
	.service_li > li:nth-child(2n+1){margin-right: 4%;}
	.service_li > li:nth-child(2n){margin-right: 0;}
	.service_li > li:not(:last-child){margin-bottom: 45px;}
	
	/* Re Fine Worksが選ばれる理由 */
	.features_li li,.features_li li > img{display: block;}
	.features_li li > img{margin: 0 auto 20px;}
	.features_li li > div{width: 100%;}
	.features_li li h3{text-align: center;}
	
	/* 施工事例 */
	.swiper-button-next,.swiper-button-prev{width: 47px!important;}
	.swiper-button-next{right: 3%!important;}
	.swiper-button-prev{left: 3%!important;}
	
	/* 対応エリア */
	.area_li li{width: calc((100% - 4%) / 3);}
	.area_li li:not(:nth-child(3n)){margin-right: 2%;}
	.area_li li:nth-child(3n){margin-right: 0;}
	.area_li li:not(:nth-last-child(-n+3)){margin-bottom: 15px;}
	.area_li li:nth-last-child(-n+3){margin-bottom: 0;}
	
	/* よくあるご質問 */
	#faq .title{margin-bottom: 40px;}
	.accordion{width: 100%;}
	
	/* 会社案内 */
	.company_con,.map{width: 100%;}
	.company_con{margin-bottom: 40px;}
	.map{height: 300px;}
	
	/* Re Fine Worksへのお問い合わせ */
	.contact_intr p{padding-bottom: 150px;}
	.contact_intr::before,.contact_intr::after{transform: translateX(-50%);}
	.contact_intr::before{left: calc(50% - 90px);}
	.contact_intr::after{
		left: calc(50% + 75px);
		right: auto;
	}
	
}

/* 500px以下から
------------------------------------------*/
@media only screen and (max-width:500px){
	
	#main_area{height: 550px;}
	#main_area > div > p{font-size: 40px;}
	#main_area > div > p span{font-size: 70px;}
	#main_area > div > span{font-size: 16px;}
	
	.worries_text > img{width: 240px;}
	
	/* Re Fine Worksの補修サービス一覧 */
	.service_li{padding: 40px 20px;}
	.service_li > li{
		width: 100%;
		margin-right: 0!important;
	}
	
	/* Re Fine Worksが選ばれる理由 */
	.features_li li{
		padding: 30px 18px;
		width: 100%;
	}
	.features_li li:not(:last-child){margin-bottom: 15px;}
	
	/* 施工事例 */
	.work_title_wrap,.work_title_wrap img{display: block;}
	.work_title_wrap img{
		margin: 0 0 0 auto;
		width: 290px;
	}
	
	/* 対応エリア */
	#area{background-size: 90%;}
	.area_li li{width: calc((100% - 2%) / 2);}
	.area_li li:not(:nth-child(2n)){margin-right: 2%;}
	.area_li li:nth-child(2n){margin-right: 0;}
	.area_li li:not(:nth-last-child(-n+2)){margin-bottom: 15px;}
	.area_li li:nth-last-child(-n+2){margin-bottom: 0;}
	
	/* お問い合わせから完成までの流れ */
	.flow_li li{padding: 18px 18px 25px;}
	.flow_img,.flow_con{width: 100%;}
	.flow_img{
		padding: 25px 0;
		margin-bottom: 25px;
	}
	.flow_con{padding: 0;}
	
	/* Re Fine Worksへのお問い合わせ */
	.cta_btnbox.contact_btnbox a:not(:last-child){margin-bottom: 25px!important;}
	.form > dl:not(:last-child){margin-bottom: 25px;}
	.form > dl > *{width: 100%!important;}
	.form > dl dt{margin-bottom: 10px;}
	.privacy{padding: 30px 15px;}
}