@charset "UTF-8";
/* -----------------------------------------------------------
   HEADER
------------------------------------------------------------*/
#mainImg{
	line-height: 0;
}
#mainImg img{
	background-image: url(../img/main.jpg?202404);
	background-size: cover;
}

@media all and (min-width: 768px) {

header{
	position: relative;
	background:#ffe655;
	text-align: center;
}

#mainImg img{
	width: 980px;
	height: 693px;
	margin: 0 auto;
	overflow: hidden;
  position: relative;
}


}
@media all and (max-width: 767px) {

header{
	position: relative;
}

#mainImg img{
	width:100%;
	height: 0;
	padding-top: 70.74%;
	overflow: hidden;
  position: relative;
	background-size: cover;
}


}
/* -----------------------------------------------------------
   CONTENTS
------------------------------------------------------------*/
#l-box h2{
	color: #1b222e;
	position: relative;
	display: flex;
	align-items: center;
}
#l-box h2::before{
	content: "";
	display: block;
	background:url(../img/title.svg) left center no-repeat;
	width: 8%;
	height: 0;
	padding-top: calc(117.5% * 0.08);
	margin-right: 3%;
}
#snsBox .box h3{
	color: #01374c;
	text-align:center;
}
.copy span{
	background-color: #ffda00;
	color: #fff;
}

@media all and (min-width: 768px) {
	#l-box h2{
		font-size: 200%;
		font-weight: 500;
		width:650px;
		margin: 0 auto;
		min-height: 2em;
	}
	#snsBox .box h3{
		font-size: 110%;
		font-weight: 300;
		margin-bottom:30px;
		letter-spacing: 0.06em;
	}
	.copy{
		color: #01374c;
		font-size:120%;
		letter-spacing: 0.08em;
		line-height: 2.0;
	}

}
@media all and (max-width: 767px)  {
	#l-box h2{
		font-size:150%;
		letter-spacing: 0.04em;
		font-weight: 500;
		line-height: 1.0;
		padding: 0 3%;
	}
	#l-box h2::before{
		width: 12%;
		padding-top: calc(117.5% * 0.12);
		margin-right: 5%;
	}
	#snsBox .box h3{
		font-size:95%;
		font-weight: 300;
	}
	#l-box p{
		font-size: 86%;
	}
	.copy{
		color: #01374c;
		font-size:90% !important;
		text-align: center;
		line-height: 2.0;
		letter-spacing: 0.01em;
	}
}
/* -----------------------------------------------------------
   BANNER
------------------------------------------------------------*/
#l-box #newsdig a{
	display: block;
	width: 80%;
	height: 0;
	padding-top: calc(21.538% * 0.8);
	background-size: cover;
	background-image:url(../img/newsdig.png);
	text-indent: -9999px;
	margin:0 auto 30px;
	transition: .3s;
}
#l-box #newsdig a:hover{
	opacity: 0.5;
}
@media all and (max-width: 767px)  {
	#l-box #newsdig a{
		width: 90%;
		padding-top: calc(21.538% * 0.9);
		margin: 0 auto 20px;
	}
}
