/* リフォームプラン説明(トップページのアコーディオン内) */

#main h2.plan_title {
	text-align: center;
	display: block;
	margin: 20px 0 35px 0;
}
#main h2.plan_title img {
	width: 130px;
	height: auto;
	display: block;
	margin: 0 auto;
}

#main .plan h4 { margin-bottom: 5px; }

.about_reform_plan h3 {
	font-size: 180%;
	font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
	color: #1b9ed2 !important;
	display: block;
	margin: 20px 0 !important;
	padding: 0 !important;
}

.about_reform_plan h4 {
	font-family: "ヒラギノ丸ゴ Pro W4", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HG丸ｺﾞｼｯｸM-PRO", "HGMaruGothicMPRO";
	font-size: 140%;
	font-weight: normal !important;
	color: #1b9ed2;
	display: block;
	margin: 35px 0 20px 0 !important;
	padding: 0 !important;
}

/* 部分リフォームは見出し色を変える */
.about_reform_plan.partial_reformation h3,
.about_reform_plan.partial_reformation h4 { color: #f8bc19 !important; }

.about_reform_plan ol {
	width: 100% !important;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	list-style: none !important;
	padding: 0;
	margin: 0 0 20px 0;
}

.about_reform_plan ol li {
	position: relative;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border: 1px solid #d2cec9;
}

.about_reform_plan ol li span.number {
	position: absolute;
	top: 5px;
	left: 15px;
	font-size: 200%;
	font-family: 'Georgia', serif;
	font-style: italic;
}

@media screen and (min-width: 801px) {
	.about_reform_plan ol li {
		flex-basis: 18%;
		padding: 1% 1% 0.7% 4.5%;
		margin: 0.3%;
	}
}

@media screen and (min-width: 601px) and (max-width: 800px) {
	.about_reform_plan ol li {
		flex-basis: 38%;
		padding: 1.8% 2% 1.3% 7.5%;
		margin: 0.5%;
	}
}

@media screen and (max-width: 600px) {
	.about_reform_plan ol li {
		flex-basis: 100%;
		padding: 2% 1% 1.6% 10%;
		margin: 0.5% 0;
	}
	.about_reform_plan ol li span.number { top: 0; }
}

@media screen and (max-width: 799px) {
	.wrapper #content h3.plan_cat_tit {
		text-align: center !important;
		font-size: 180% !important;
		display: block;
		margin-top: 30px;
	}
}