﻿@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500&display=swap');

h1 {
	font-family: 'EB Garamond', serif;
	font-size: 120px;
	color: #ddd;
	font-weight: 400;
}


#page-info {
	padding: 120px 0 60px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}


h2{
	display: inline-block;
	position: relative;
	font-weight: normal;
	font-size: 40px;
	letter-spacing: 0.2em;
	color: #036;
	font-family: 'Noto Serif JP', serif;
}
    
h2:before {
	display: inline-block;
	position: absolute;
	content: '';
	bottom: -50px; /*下線の上下の位置*/
	left: 50%;
	width: 40px; /*下線の幅*/
	height: 3px; /*下線の太さ*/
	-moz-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translate(-50%); /*位置の調整*/
	background-color: #036; /*下線の色*/
}

#page-info p {
	padding: 80px 0 0 0;
}

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

pic

====================*/
#pic {
	width: 100%;
	background: #f7f7f7;
    margin: 80px auto;
	padding: 100px 20px 40px;
	position: relative;
}

#pic h3 {
	font-family: 'EB Garamond', serif;
	font-size: 90px;
	color: #ddd;
	font-weight: 400;
	margin-top: -120px;
}


.pic-three {
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	max-width: 1200px;
	width: 100%;	
	margin: 80px auto;
	padding: 0;
}

.pic-flex {
	width: 30%;
	max-width: 360px;
	min-width: 280px;
	display: flex;
	flex-direction: column;
}

.pic-flex img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	margin: 0 auto;
	padding: 0;
}

.bg-w-p {
	width: 100%;
	background: #fff;
	min-height: 80px;
	padding: 16px;
}

.bg-w-p p {
	font-size: 18px;
	line-height: 22px;
}






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

スマートフォン対応

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

@media screen and (max-width: 768px) {
	
	h1 {
		font-family: 'EB Garamond', serif;
		font-size: 40px;
		color: #ddd;
		font-weight: 400;
	}
	
	
	#page-info {
		padding: 60px 0 30px;
		width: 100%;
		margin: 0 auto;
		text-align: center;
	}
	
	
	h2{
		display: inline-block;
		position: relative;
		font-weight: normal;
		font-size: 24px;
		color: #036;
		font-family: 'Noto Serif JP', serif;
	}
		
	h2:before {
		display: inline-block;
		position: absolute;
		content: '';
		bottom: -20px; /*下線の上下の位置*/
		left: 50%;
		width: 30px; /*下線の幅*/
		height: 2px; /*下線の太さ*/
		-moz-transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
		-ms-transform: translateX(-50%);
		transform: translate(-50%); /*位置の調整*/
		background-color: #036; /*下線の色*/
	}
	
	#page-info p {
		padding: 30px 18px 0;
		font-size: 14px;
		line-height: 22px;
	}
	
	/*====================
	
	pic
	
	====================*/
	#pic {
		width: 100%;
		background: #f7f7f7;
		margin-bottom: 0;
		padding: 50px 14px;
		position: relative;
	}
	
	#pic h3 {
		font-family: 'EB Garamond', serif;
		font-size: 40px;
		color: #ddd;
		font-weight: 400;
		text-align: center;
		margin-top: -65px;
	}
	
	
	.pic-three {
		display: flex;
		flex-direction: column;
		-webkit-justify-content: space-between;
		justify-content: space-between;
		width: 90%;	
		margin: 0 auto;
		padding: 0;
	}
	
	.pic-flex {
		width: 100%;
		max-width: 500px;
		min-width: 200px;
		display: flex;
		flex-direction: column;
		margin: 20px auto;
	}
	
	.pic-flex img {
		width: 100%;
		height: 240px;
		object-fit: cover;
		margin: 0 auto;
		padding: 0;
	}
	
	.bg-w-p {
		width: 100%;
		background: #fff;
		min-height: 40px;
		padding: 14px;
	}
	
	.bg-w-p p {
		font-size: 14px;
		line-height: 18px;
	}

}
/*========レスポンシブ終了========*/
