@charset "UTF-8";

/*=====================

　　＜お墓のリフォーム INDEX＞

　　01.共通
　　02.見積


=====================*/


/*---------------------------------------------------

　　01.共通

---------------------------------------------------*/
main {
	background: #FFF;
}
#container {
	background: #FFF;
	color: #333;
	font-family: 'Noto Sans JP', sans-serif;
}
#container .wrap {
	padding: 4rem 0;
}

.section01 h3 {
	margin: 50px 0 35px 0;
	font-family: 'Noto Serif JP', serif;
	text-align: center;
	font-size: 38px;
	letter-spacing: 0.04em;
}
.section01 .read {
	margin-bottom: 150px;
	text-align: center;
	letter-spacing: 0.1em;
	line-height: 2;
	position: relative;
}
.section01 .read::after {
	content: '';
	width: 1px;
	height: 169px;
	background: #5e94b4;
	display: block;
	position: absolute;
	left: 0;
	right: 0;
	top: 120px;
	margin: 0 auto;
}
.section02 {
	background: #f1f4f3;
	/*padding: 120px 0 220px 0;*/
	padding: 8rem 0 0 0;
}
.section02 .inner {
	width: 1118px;
	margin: auto;
}
.section02 h3 {
	text-align: center;
	margin-bottom: 50px;
}
.section02 h3 img {
	width: 268px;
}
.section02 h4 {
	font-size: 38px;
	letter-spacing: 0.04em;
	border-bottom: 4px solid #5e94b4;
	text-align: center;
	font-family: 'Noto Serif JP', serif;
	padding-bottom: 25px;
	margin-bottom: 60px;
}
.section02 h5 {
	font-size: 25px;
	letter-spacing: 0.04em;
	text-align: center;
	font-family: 'Noto Serif JP', serif;
	padding-bottom: 25px;
}
.section02 h6 {
	font-size: 25px;
	letter-spacing: 0.04em;
	text-align: center;
	font-family: 'Noto Serif JP', serif;
	padding-bottom: 25px;
}
.kaimyo {
	margin-bottom: 190px;
}
.kaimyo .photo01 {
	text-align: center;
	margin-bottom: 50px;
}
.kaimyo .photo02 {
	text-align: center;
	margin-bottom: 75px;
}
.section02 .cap {
	margin: 0 auto 0 250px;
	border-left: 8px solid #5e94b4;
	line-height: 30px;
	letter-spacing: 0.025em;
	padding-left: 15px;
}
.section02 .cap b {
	display: block;
	font-size: 13px;
	color: #5E94B4;
	padding-top: 10px;
}
.section02 .cap strong {
	font-size: 18px;
}
.section02 .cap span {
	font-size: 14px;
	line-height: 1.4;
}
.cleaning h5 {
	text-align: center;
	font-size: 28px;
	font-weight: bold;
	margin-bottom: 30px;
}
.cleaning p {
	text-align: left;
	margin-top: 10px;
	line-height: 1.5;
}
.cleaning h6 {
	font-size: 22px;
	font-weight: bold;
	margin-bottom: 30px;
}
.cleaning .photo01 {
	width: 100%;
	max-width: 800px;
	text-align: center;
	margin: 0 auto 105px;
}
.before_after {
	display: flex;
	justify-content: space-between;
	margin-bottom: 65px;
}
.before_after:last-child {
	margin-bottom: 0;
}
.before_after .before {
	width: 441px;
	position: relative;
}
.before_after .before:before {
	content: '白の色入れ';
	width: 108px;
	height: 46px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #333333;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
}
.before_after .before:after {
	content: '';
	width: 77px;
	height: 70px;
	display: block;
	background: url(../img/ico_arrow.svg) no-repeat;
	background-size: 100% 100%;
	position: absolute;
	bottom: 30px;
	right: 0;
}

.before_after .after {
	width: 630px;
	position: relative;
}
.before_after .after:before {
	content: 'after';
	width: 108px;
	height: 46px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: #5e94b4;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.05em;
	text-align: center;
	position: absolute;
	top: 0;
	left: 0;
}
.sec_ttl {
	margin-top: 145px;
}


















/* 左画像（BEFORE）ラベル */
.before_after .before:before {
  content: '色入れ前';
  width: 120px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #bfa76f, #d9c27c);
  color: #fffaf0;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.08em;
  text-align: center;
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* 右画像（AFTER）ラベル */
.before_after .after:before {
  content: '色入れ後';
  width: 120px;
  height: 46px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to right, #bfa76f, #d9c27c);
  color: #fffaf0;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 0.08em;
  text-align: center;
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}















/*
	Tab
----------------------------------------*/
@media screen and (max-width: 1120px) {
	.section01 h3 {
		margin: 4.4642vw 0 3.125vw 0;
		font-size: 3.3928vw;
	}
	.section01 .read {
		margin-bottom: 13.3928vw;
	}
	.section01 .read::after {
		height: 15.0892vw;
		top: 10.7142vw;
	}
	.section02 {
		/*padding: 10.7142vw 0 19.6428vw 0;*/
		padding: 10.7142vw 0 0 0;
	}
	.section02 .inner {
		width: auto;
		padding: 0 1.7857vw;
	}
	.section02 h3 {
		margin-bottom: 4.4642vw;
	}
	.section02 h3 img {
		width: 23.9285vw;
	}
	.section02 h4 {
		font-size: 3.3928vw;
		padding-bottom: 2.2321vw;
		margin-bottom: 5.3571vw;
	}
	.kaimyo {
		margin-bottom: 16.9642vw;
	}
	.kaimyo .photo01 {
		margin-bottom: 4.4642vw;
	}
	.kaimyo .photo02 {
		margin-bottom: 6.6964vw;
	}
	.section02 .cap {
		margin: 0 auto 0 22.3214vw;
		line-height: 2.6785vw;
		padding-left: 1.3392vw;
	}
	.cleaning h5 {
		font-size: 2.5vw;
		margin-bottom: 2.6785vw;
	}
	.cleaning h6 {
		font-size: 1.9642vw;
		margin-bottom: 2.6785vw;
	}
	.cleaning .photo01 {
		margin-bottom: 9.375vw;
	}
	.before_after {
		margin-bottom: 5.8035vw;
	}
	.before_after .before {
		width: 39.375vw;
	}
	.before_after .before:before {
		width: 9.6428vw;
		height: 4.2857vw;
		font-size: 1.7857vw;
	}
	.before_after .before:after {
		width: 6.875vw;
		height: 6.25vw;
		background: url(../img/ico_arrow.svg) no-repeat;
		background-size: 100% 100%;
		bottom: 2.6785vw;
	}
	
	.before_after .after {
		width: 56.25vw;
	}
	.before_after .after:before {
		width: 9.6428vw;
		height: 4.2857vw;
		font-size: 1.7857vw;
	}
	.sec_ttl {
		margin-top: 12.9464vw;
	}
	
}

/*
	sp
----------------------------------------*/
@media only screen and (max-width: 768px) {
	#container .wrap {
		padding: 3rem 0;
	}
	#container p,
	.section01 .read,
	.section02 .cap {
		font-size: 3.125vw !important;
	}
	.section02 .cap b {
		font-size: 3.125vw !important;
		padding-top: 10px;
	}
	.section02 .cap strong {
		font-size: 4.167vw !important;
	}
	.section02 .cap span {
		font-size: 3.125vw !important;
	}
	#container h3 {
		font-size: 4.688vw !important;
	}
	#container h4,
	.cleaning h6 {
		font-size: 4.167vw !important;
	}

	.section01 h3 {
		margin: 4.4642vw 0 3.125vw 0;
		font-size: 4.2666vw;
	}
	.section01 .read {
		margin-bottom: 13.3928vw;
		padding: 0 4vw;
	}
	.section01 .read::after {
		height: 15.0892vw;
		top: 18vw;
	}
	.section02 {
		/*padding: 10.7142vw 0 19.6428vw 0;*/
		padding: 10.7142vw 0 0 0;
	}
	.section02 .inner {
		width: auto;
		padding: 0 4vw;
	}
	.section02 h3 {
		margin-bottom: 8vw;
	}
	.section02 h3 img {
		width: 45vw;
	}
	.section02 h4 {
		font-size: 5vw;
		padding-bottom: 2.2321vw;
		margin-bottom: 5.3571vw;
	}
	.kaimyo {
		margin-bottom: 16.9642vw;
	}
	.kaimyo .photo01 {
		margin-bottom: 4.4642vw;
	}
	.kaimyo .photo02 {
		margin-bottom: 6.6964vw;
	}
	.section02 .cap {
		margin: 0 auto;
		line-height: 1.8;
		padding-left: 1.3392vw;
	}
	.cleaning h5 {
		font-size: 4.5vw;
		margin-bottom: 2.6785vw;
	}
	.cleaning h6 {
		font-size: 4.5vw;
		margin-bottom: 2.6785vw;
	}
	.cleaning .photo01 {
		margin-bottom: 9.375vw;
	}
	.before_after {
		margin-bottom: 5.8035vw;
		display: block;
	}
	.before_after .before {
		width: 100%;
		margin-bottom: 8vw;
	}
	.before_after .before:before {
		width: 20vw;
		height: 8vw;
		font-size: 3vw;
	}
	.before_after .before:after {
		content: '▼';
		color: #5e94b4;
		width: auto;
		height: auto;
		background: none;
		text-align: center;
		bottom: -6.1333vw;
		left: 0;
		right: 0;
		margin: auto;
	}
	
	.before_after .after {
		width: 100%;
	}
	.before_after .after:before {
		width: 20vw;
		height: 8vw;
		font-size: 3vw;
	}
	.sec_ttl {
		margin-top: 12.9464vw;
	}
}

/*---------------------------------------------------

　　02.見積

---------------------------------------------------*/
.mitumoriArea {
	width: 100%;
	margin: 0 auto;
}
.mitumoriArea .mitumori {
	margin-top: 11rem;
	background: #B4CDDC;
	padding: 55px 0;
}
.mitumoriArea .mitumori h5 {
	font-size: 38px;
	border-bottom-width: 8px;
	margin: 0 auto 20px;
	text-align: center;
	font-family: 'Noto Serif JP', serif;
}
.mitumoriArea .mitumori p {
	font-size: 22px;
	text-align: center;
	letter-spacing: 0.04em;
	font-family: 'Noto Serif JP', serif;
}
.mitumoriArea .mitumori_itiran {
	display: inline-block;
  	position: relative;
	width: 100%;
	margin: 7rem auto;
	text-align: center;
	font-size: 22px;
	font-family: 'Noto Serif JP', serif;
}
.mitumoriArea .mitumori_itiran:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -22px;
	display: inline-block;
	width: 52px;
	height: 1px;
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translate(-50%);
	background-color: #333;
  }

/**/
.mitumoriArea ul {
	width: 100%;
	max-width: 600px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 auto 5px;
}
.mitumoriArea li {
	font-size: 16px;
}
.mitumoriArea table {
	border-collapse: collapse; 
	color: #333;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}
.mitumoriArea td, th {
	border: 1px solid #5E94B4;
	text-align: center;
	padding: 20px 10px;
	font-size: 20px;
	background: #fff;
}
.mitumoriArea .bg_color {
	width: 50%;
	background-color: #5E94B4;
	text-align: left;
	color: #fff;
	border-bottom: 1px solid #fff;
}
.mitumoriArea .bg_color_last {
	border-bottom: 1px solid #5E94B4;
}
#requestBtn_bg {
	background: #f1f4f3;
}
/*
	Tab
----------------------------------------*/
@media screen and (max-width: 1120px) {
.mitumori {
	margin-top: 14.2857vw;
}
.mitumori h5 {
	font-size: 3.3928vw;
	margin: 0 auto 1.7857vw auto;
}
.mitumori p {
	font-size: 1.9642vw;
}
}
/*
	sp
----------------------------------------*/
@media only screen and (max-width: 768px) {
.mitumori {
	margin-top: 14.2857vw;
}
.mitumori h5 {
	font-size: 5vw;
	margin: 0 auto 2vw auto;
	border-bottom-width: 3px;
}
.mitumori p {
	font-size: 4.5vw;
}
.mitumoriArea .mitumori {
	margin-top: 4rem;
	background: #B4CDDC;
	padding: 2rem 0;
}
.mitumoriArea .mitumori h5 {
	font-size: 5.167vw !important;
	margin: 0 auto 12px;
}
.mitumoriArea .mitumori_itiran {
	margin: 3rem auto;
	font-size: 4.167vw !important;
}
.mitumoriArea .mitumori_itiran:before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -12px;
}
.mitumoriArea ul {
	width: 100%;
	max-width: initial;
}
.mitumoriArea li {
	font-size: 3.125vw !important;
}
.mitumoriArea table {
	display: block;
	max-width: initial;
}
.mitumoriArea td, th {
	font-size: 4.167vw !important;
	line-height: 1.5;
}
.mitumoriArea .bg_color {
	width: 57%;
}
}




.my-image {
  max-width: 100%;  /* 親の幅を超えない */
  height: auto;     /* 縦横比維持 */
}
.my-image {
  width: 300px;   /* 横幅を300pxに固定 */
  height: auto;   /* 高さは自動で縦横比を維持 */
}



.section03 {
	padding: 160px 0 0 0;
} 
.section03 h3 {
	font-family: 'Noto Serif JP', serif;
	font-size: 32px;
	text-align: center;
	margin-bottom: 50px;
} 
.section03 .inner {
	max-width: 817px;
	margin: auto;
	padding: 0 20px;
} 
.section03 .flow_ttl {
	width: 100%;
	max-width: 980px;
	font-family: 'Noto Serif JP', serif;
    font-size: 32px;
    text-align: center;
	color: #fff;
    margin: 0 auto 60px;
	padding: 24px 0;
	background: #5E94B4;
}
.section03 .flow_box {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 0 50px;
} 
.section03 .flow_box .image::after {
	content: '';
	width: 41px;
	height: 20px;
	background: url(../img/ico_arrow02.svg) no-repeat;
	background-size: contain;
	display: block;
	margin: 10px auto;
} 
.section03 .flow_box:last-child .image::after {
	display: none;
} 
.section03 dl {
	padding: 0;
}
.section03 dt {
	font-family: 'Noto Serif JP', serif;
	font-size: 22px;
	display: flex;
	align-items: center;
	letter-spacing: 0.04em;
	border-bottom: 1px solid #a2c3d3;
	padding-bottom: 25px;
	margin-bottom: 10px;
}
.section03 dt .num {
	width: 44px;
	height: 44px;
	background: #a2c3d3;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 15px;
	letter-spacing: 0;
}
.section03 dd {
	line-height: 1.875;
}






