@charset "UTF-8";
/* CSS Document */

html,
body {
	padding: 0;
	margin: 0;
}
img {
	width: 100%;
}
ul,li {
	list-style: none;
	margin: 0;
	padding: 0;
}
h1,h2,h3,p,a {
	margin: 0;
	padding: 0;
}

#cl {
	width: 100%;
	position: relative;
	font-family: "Libre Baskerville","Noto Serif JP", serif;
	background: #e2dfde;
	padding-bottom: 5%;
}
.spv {
	display: none;
}
@media only screen and (max-width: 768px)  {
	.spv {
		display: block;
	}
	.pcv {
		display: none;
	}
}

#side_contents {
	position:sticky;
	top: 0;
	width: 100%;
	z-index: 1000;
	background: #e2dfde;

}
#side_contents h1 {
	width: 90%;
	padding: 20px 0;
	margin: 0 auto;
	line-height: 0;
	position: relative;
}
#side_contents h1 img:nth-of-type(1) {
    width: 12%;
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(0,-50%);

}	
#side_contents h1 img:nth-of-type(2) {
    width: 16%;
    margin-left: 84%;
}
@media only screen and (max-width: 768px)  {
	#side_contents h1 {
		width: 90%;
		padding: 5% 0;
		margin: 0 auto;
	}
	#side_contents h1 img:nth-of-type(1) {
		width: 35%;
		position: absolute;
		top: 50%;
		left: 0%;
		transform: translate(0,-50%);

	}	
	#side_contents h1 img:nth-of-type(2) {
		width: 40%;
		margin-left: 60%;
	}	
}


#main_visual {
	position: relative;
	position: sticky;
}
#main_contents {
	max-width: 1350px;
	width: 90%;
	margin: -5% auto 0;
	position: relative;
	position: sticky;
	background: #FFF;
	z-index: 10;
	padding: 5% 0;
	
}
#main_contents .title {
	width: 50%;
	max-width: 400px;
	margin: 0 auto;
}
#main_contents .title h2 {
	line-height: 0;
	margin-bottom: 25px;
}
#main_contents .title .no{
	text-align: center;
	font-size: 14px;
}
#main_contents .txt{
	max-width: 600px;
	margin: 5% auto;
	font-size: 14px;
	line-height: 2;
}
@media only screen and (max-width: 768px)  {
	#main_visual {
		position: sticky;
	}
	#main_contents {
		position: sticky;
		width: 96%;
		padding: 10% 0;
	}
	#main_contents .title {
		width: 70%;
	}
	#main_contents .txt{
		width: 80%;
		margin: 15% auto;
		font-size: 12px;
		line-height: 2;
	}
}

#main_contents .section {
	position: relative;
	width: 80%;
	margin: 0 auto;
	
}

#main_contents .grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5%;
	margin: 0 auto;
}
#main_contents .w30 {
	width: 30%;
	margin: 5% auto;
}
#main_contents .item {
	margin: 5% auto;
	text-align: center;
	letter-spacing: 1px;
	line-height: 1.8;
}
#main_contents .item p {
	font-size: 11px;
	margin: 5px auto
}
#main_contents .item p span {
	font-size: 14px;
	font-weight: 600;
	display: block;
	margin-bottom: 10px;
}
#main_contents .item .btn a {
	display: block;
	max-width: 100px;
	margin: 10px auto;
	text-decoration: none;
	color: #000;
	padding-bottom: 5px;
	border-bottom: 1px solid #000;
	font-size: 12px;
	font-weight: 600;
}

@media only screen and (max-width: 768px)  {
	#main_contents .section {
		width: 100%;

	}
	#main_contents .grid {
		display: block;
		margin: 0 auto;
	}
	#main_contents .grid .img:nth-of-type(2) {
		width: 75%;
		margin: 10% auto;
	}
	#main_contents .item {
		margin: 10% auto;
		text-align: center;
		letter-spacing: 1px;
	}
}
#foot {
	max-width: 1350px;
	width: 90%;
	margin: 5% auto;
}

#foot .title {
	max-width: 300px;
	margin: 0 auto 25px;
}
#foot .txt {
	max-width: 600px;
	margin: 0 auto;
	font-size: 11px;
	line-height: 1.8;
}
#foot .logo {
	max-width: 200px;
	margin: 15% auto 5%;
}
@media only screen and (max-width: 768px)  {
	#foot {
		margin: 15% auto;
	}
	#foot .logo {
		max-width: 200px;
		margin: 25% auto 5%;
	}
	
}

#side_contents .inner {
	opacity: 0;
	transition: 1.5s all 0s ease;
}
#side_contents.ac .inner {
	opacity: 1;
}
#main_visual {
	overflow: hidden;
}
#main_visual::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: #cccccc;
	z-index: 10
}
#main_visual.ac::before {
	animation: 1.4s slide 0s forwards;
}
#main_visual .visual {
	opacity: 0;
	transform: scale(1.1);
	transition: 1s all 0.5s ease
}
#main_visual.ac .visual {
	transform: scale(1);
	opacity: 1;
}
.img {
	overflow: hidden;
}
.img img {
	opacity: 0;
	transform: scale(1.1);
	transition: 2s all 0s ease
}
.img.ac img  {
	transform: scale(1);
	opacity: 1;
}
.anim {
	opacity: 0;
	transition: 2s all 0s ease;
}
.anim.ac {
	opacity: 1;
}
@keyframes slide {
	0% {
		left: -100%;
	}
	50% {
		left: 0
	}
	60% {
		left: 0;
	}
	100% {
		left: 100%;
	}
}

