/* CSS Document */

#h1_area{	background-image: url(images/h1_bg.jpg);}


#about
{
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#about .head_area
{
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

#about .head_area .text
{
	display: flow-root;
	width: 960px;
	position: relative;
}

#about .head_area .text h2
{
	font-size: 46px;
	line-height: 1.2;
}

#about .head_area .text  .photo_r
{
	margin-top: -20px;
	position: relative;
	z-index: 10;
}


#about .head_area .menu
{

}

#about .head_area .menu ul
{
	margin: 0px;
	padding: 0px;
}

#about .head_area .menu ul li
{
	background-image: url(images/menu_point.png);
	background-repeat: no-repeat;
	background-position: left center;
	list-style-type: none;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 32px;
}

#about .head_area .menu ul li a
{
	display: inline-block;
	line-height: 1;
	padding-top: 6px;
	padding-right: 0px;
	padding-bottom: 6px;
}

#about .after_link a:hover
{
	color: var(--page-color) !important;
}

#about .after_link a:after
{
	background: var(--page-color);
}



article section h3
{
	font-size: 40px;
	line-height: 1.2;
	text-align: left;
	font-weight: bold;
	padding: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 20px;
	position: relative;
}

article section h3 small
{
	font-size: 18px;
	line-height: 1.2;
	display:block;
}

article section h3 big
{
	font-size: 24px;
	line-height: 1.2;
}

article section h3 .h3_img
{
	display: inline-block;
	margin-left: 30px;
	position: absolute;
	bottom: 0px;
}


#comment03 h3 .h3_img
{
	margin-left: 60px;
}


article section .head_box
{
	position: relative;
}

article section .head_box .text
{
	width: 500px;
}



#comment01,
#comment02,
#comment03,
#comment04
{
	position: relative;
	padding-top: 100px;
	padding-bottom: 100px;
}



#comment01 .comment_bg,
#comment03 .comment_bg
{
	position: absolute;
	inset: 0;
	will-change: transform;
	background:url(images/bg_img.jpg) repeat-x center top / auto 100%;

}

#comment01
{
	padding-top: 140px;
	margin-top: -60px;
}

#comment04
{
	margin-bottom: 100px;
}

#comment01 .comment_bg
{
	background:
	url(images/img_02.png) no-repeat calc(50% + 100px) top,
	url(images/img_03.png) no-repeat right 90px  top 100px,
	url(images/bg_img.jpg) repeat-x center top 30px / auto calc(100% - 30px);
}


#comment02 .head_box  .text,
#comment04 .head_box  .text
{
	margin-right: 0px;
	margin-left: auto;
}

#comment01 .head_box  .text .photo,
#comment03 .head_box  .text .photo
{
	position: absolute;
	top: 40px;
	right: 0px;
}


#comment02 .head_box  .text .photo,
#comment04 .head_box  .text .photo
{
	position: absolute;
	top: 40px;
	left: 0px;
}

#comment04 .head_box  .text .photo
{
	top: 0px;
}

article section .photo_box
{
	background-image: url(images/bg_box.jpg);
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	padding-top: 50px;
	padding-right: 40px;
	padding-bottom: 30px;
	padding-left: 40px;
	position: relative;
}

article section .photo_box h4
{
	font-size: 28px;
	line-height: 1;
	vertical-align: middle;
	margin-top: 0px;
	margin-bottom: 20px;
	position: absolute;
	top: 0;
	transform: translateY(-48%);
}

article section .photo_box h4 .h4_img
{
	display: inline-block;
	margin-right: 20px;
	vertical-align: middle;

}


article section .photo_box ul
{
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 40px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */
	align-items: stretch; /* 子要素をセルの高さに合わせて引き伸ばす */
	margin: 0px;
	padding: 0px;

}

article section .photo_box ul li
{
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}

article section .photo_box ul li p
{
	text-align: center;
	margin-top: 10px;
	line-height: 1.4;
	margin-bottom: 0px;
}


/* PCのみ設定  768 以上*/
@media screen and (min-width:1200px)
{

article section .head_box
{
	min-height: 430px;
}


}


/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1199px)
{

article section h3
{
	font-size: 32px;
	line-height: 1.2;
	margin-top: -20px;
}


#about .head_area .text 
{
	width: 70%;
}

#about .head_area .text h2
{
	font-size: 36px;
	line-height: 1.2;
}

#about .head_area .text  .photo_r
{
	margin-top: 0px;
	max-width: 30%;
}

article section .head_box .text
{
	width: auto;
}

#comment04
{
	margin-bottom: 0px;
}




#comment01 .head_box  .text .photo,
#comment03 .head_box  .text .photo
{
	width: 50%;
	float: right;
	margin-bottom: 20px;
	margin-left: 20px;
	position: static;
}


#comment02 .head_box  .text .photo,
#comment04 .head_box  .text .photo
{
	width: 50%;
	float: left;
	margin-bottom: 20px;
	margin-right: 20px;
	position: static;

}

article section .head_box
{
	margin-bottom: 40px;
}


article section .photo_box ul
{
	column-gap: 20px; /* 横のスペース */
	row-gap: 20px; /* 縦のスペース */

}


article section .photo_box
{
	padding-top: 50px;
	padding-right: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	position: relative;
}

article section .photo_box ul li p
{
	font-size: calc(100vw * (18 / 1000));
	line-height: 1.4;
}

#comment01
{
	padding-top: 100px;
	margin-top: 0px;
}

#comment01 .comment_bg
{
	background:
	url(images/img_02.png) no-repeat calc(50% + 10vw) top / 20vw auto,
	url(images/img_03.png) no-repeat right 90px  top / 14vw auto,
	url(images/bg_img.jpg) repeat-x center top 0px / auto 100%;
}


}

@media screen and (max-width:1199px) and (orientation: landscape)
{
#comment01 .comment_bg
{
	background:
	url(images/img_02.png) no-repeat calc(50% + 10vw) top / 20vw auto,
	url(images/img_03.png) no-repeat right 90px  top / 10vw auto,
	url(images/bg_img.jpg) repeat-x center top 0px / auto 100%;
}

}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{

#about .head_area .text h2
{
	font-size: calc(100vw * (32 / 740));
	line-height: 1.2;
	letter-spacing: 0em;
}





}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

#about .head_area .text h2
{
	font-size: calc(100vw * (22 / 360));
	line-height: 1.2;
	letter-spacing: 0em;
}



#about .head_area
{
	display: block;
}

#about .head_area .text 
{
	width: auto;
	margin-bottom: 20px;
}

#about .head_area .text .photo_r
{
	float: right;
	margin-bottom: 10px;
	margin-left: 10px;
	max-width: 40%;

}

article section h3
{
	margin-bottom: 20px;
	display: inline-block;
	font-size: 30px;
	line-height: 1.2;
}

article section h3 big
{
	display: block;
}

article section h3 .h3_img
{
	max-width: 24vw;
}

#comment02 h3,
#comment04 h3
{
	text-align: center;
}

#comment02 h3 .h3_img,
#comment04 h3 .h3_img
{
	max-width: initial;
	display: block;
	position: static;
	text-align: center;
	margin: 0px;
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

#comment02 h3 .h3_img img,
#comment04 h3 .h3_img img
{
	max-width: 24vw;
}


article section .head_box  .text
{
	text-align: center !important;
}


#comment01,
#comment03
{
	padding-top: 140px;
	padding-bottom: 140px;
}

#comment02,
#comment04
{
	padding-top: 60px;
	padding-bottom: 60px;

}

#comment01 .head_box  .text .photo,
#comment03 .head_box  .text .photo,
#comment02 .head_box  .text .photo,
#comment04 .head_box  .text .photo
{
	width: auto;
	float: none;
	margin-bottom: 20px;
	margin-left: 0px;
	position: static;
	text-align: center;
	clear: both;
}

article section .photo_box ul
{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */

}

article section .photo_box
{
	padding-top: 50px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
}

article section .photo_box h4
{
	font-size: calc(100vw * (32 / 600));	
	line-height: 1;
	vertical-align: middle;
	margin-top: 0px;
	margin-bottom: 20px;
	position: absolute;
}

article section .photo_box h4 .h4_img
{
	display: inline-block;
	max-width: 14vw;
	margin-right: 10px;
	vertical-align: middle;

}


article section .photo_box ul li p
{
	font-size: calc(100vw * (18 / 500));
	line-height: 1.4;
}

#comment01 .comment_bg
{
	background:
	url(images/img_02.png) no-repeat left 20px top 30px / 30vw auto,
	url(images/img_03.png) no-repeat right 10px  top 10px / 20vw auto,
	url(images/bg_img.jpg) repeat-x center top 0px / auto 100%;
}


}