@charset "utf-8";

.service {
    display: block;
	padding-right: 20px;
	padding-left: 20px;
}
 
/*ボタン設定*/
.service_category {
	display: flex;
	width:100%;
	justify-content:space-between;
}
.service_category2 {
	display: flex;
	width:100%;
}
.category_name {
	width: 32%;

	margin: 7px 0;
}
.service_category2 .category_name {
	width: 32%;
	margin-right:15px;

}
/*
.service_category {
    display: flex;
    width: 100%;
	max-width: 967px;
    justify-content: space-between;
    margin: 0 10px;
	margin-bottom: 10px;
}


.service_category2 {
    display: flex;
    width: 100%;
	max-width: 638px;
/*  justify-content: space-between;*/
 /*   margin: 0 0 0 10px;
}

.category_name {
    width: 310px;
    height: 50px;
    margin-right: 20px;
}

.category_name:last-child {
    margin-right: 0; /* 最後のボタンには右の余白を適用しない */
/*}
*/
.category_name a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 50px; /* ボタンの縦幅と同じに設定 */
    display: block;
    width: 100%;
    height: 100%;
    background: #1479b9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category_name a:hover {
    color: #f29219;
    background: #e5f2fa;
}

/*
.service_category {
	display: flex;
	width:97%;
	justify-content:space-between;
	margin: 0 10px;
}
.service_category2 {
	display: flex;
	width:97%;
	margin: 0 10px;
}
.category_name {
	width: 32%;

	margin: 7px 0;
}
.service_category2 .category_name {
	width: 32%;
	margin-right:15px;

}
.category_name a{
	text-decoration: none;
	color: #ffffff;
	font-size: 16px;
	font-weight: bold;
	text-align:center;
	line-height: 48px;
	display: block;
	width: 100%;
	height: 100%;
	background: #1479b9;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.category_name a:hover {
	color:#f29219;
	background: #e5f2fa;
}
*/
/* h2とh3の設定 */
.h2_title {
	font-size: 24px;
	position: relative;
	display: inline-block;
	color:#ffffff;
	margin-bottom: 1.4em;
}

.h3_back {
	font-size: 16px;
	font-weight: bold;
	background: #e5f2fa;
	position: relative;
	color: #4a2c07;
	text-align: left;
	padding: 10px;
	margin-top:15px;
}


.service_category_w , .service_category_w_last {
	display: flex;
	text-align: left;
	padding: 20px 0;
}
.service_category_w p , .service_category_w_last p {
	padding-left:10px;
	color:#4a2c07;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.7em;
}
.brighten-text {
	font-size: 24px;
	color: #4791bd;
	padding: 5px;
}
.supplement_p {
	margin-bottom: 20px;
	line-height: 1.7em;
}
.supplement-text {
	font-size: 18px;
	font-weight: normal;
	text-align: center;
	color: #000000;
	font-weight: bold;

}


#outimarugoto_cleaning , #ienokataduke , #reform , #oniwamawari , #hikkosi {
	text-align:center;
	margin: 15px 0 20px 0;
	padding-top: 20px;
	background: url("../images/service/h3titleback.jpg") no-repeat;
	background-position: center;
	background-size: auto 100%;
}
#blue-border{

	border: 4px solid #1479b9;

    padding: 10px; /* 余白を調整（必要に応じて調整） */

	margin-top: 20px;
}

#blue-border-last{

	border: 4px solid #1479b9;

    padding: 10px; /* 余白を調整（必要に応じて調整） */

	margin-top: 20px;

	margin-bottom: 60px;
}

.service_category_w img , .service_category_w_last img {
	align-self: flex-start;
	width: 237px;
	height: 160px;
}

/*
.service_category_w_last {
	margin-bottom: 100px;

}
*/
.btn_p {
	margin-top: 10px;

	text-align: right;
}

.waku{
	margin: 0 auto;
	margin-top: 10px;
	margin-left: 10px;
	margin-bottom: 20px;
	display: block;
	border-top: 1px solid;
	font-size: 14px;
	font-weight: normal;
	padding: 10px;
}

/*==============================================
	メディアクエリ
==============================================*/



@media screen and (max-width: 825px){
	.service_category, .service_category2 {
		display: block;
	}
	.service_category:first-of-type {
		padding-bottom: 0px;
	}
	.service_category_jump {
		padding-top: 10px;
	}
	.service_category2 .category_name, .category_name {
		width: 100%;
		margin-bottom: 15px;
	}
}
@media screen and (max-width: 730px){
	.br-sp {
		display: block;
	}
	.h2_bottom_line {
		font-size: 20px;
	}

	.h2_bottom_line:before {
		width: 30px; /*下線の幅*/
		bottom: -6.5px; /*下線の上下位置調整*/
	}
	.supplement_p p {
		font-size: 16px;
		line-height: 1.7em;
	}
	.h3_back {
		font-size: 16px;
	}
	.service_category_w p , .service_category_w_last p {
		font-size: 15px;
	}
	.btn {
		font-size: 13px;
	}
	.service_category_w , .service_category_w_last {
		flex-direction: column;
	}
	.service_category_w img , .service_category_w_last img {
		width: 100%;
		height: auto;
		margin-bottom: 20px;
	}
	.service_category_w p , .service_category_w_last p {
		padding-left: 0px;
	}

}
@media screen and (max-width: 637px){
	#outimarugoto_cleaning , #ienokataduke , #reform , #oniwamawari , #hikkosi {
		background-size: 95%;
	}
	.h2_title {
		font-size: 20px;
		position: relative;
		display: inline-block;
		color: #ffffff;
		margin-bottom: 1.4em;
		text-align: center;
	}
}
@media screen and (max-width: 500px){
	.h2_title {
		font-size: 18px;
		position: relative;
		display: inline-block;
		color: #ffffff;
		margin-bottom: 1.4em;
		text-align: center;
	}
	#outimarugoto_cleaning , #ienokataduke , #reform , #oniwamawari , #hikkosi {
		background-size: 100%;
	}
}