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

#main_visual {
	position: sticky;
	top: 0;
	width: 100%;
	height: 100vh;
}
#main_visual .visual {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: url("../img/main-p.jpg") no-repeat center;
	background-size: cover;
}
@media only screen and (max-width: 768px) {
	#main_visual .visual {
		background: url("../img/main-s.jpg") no-repeat center;
		background-size: cover;
	}
	
}

#main_contents {
	position: sticky;
	z-index: 10;
	background: #FFF;
	padding-top: 25px;
}
#main_contents section {
	margin: 0 auto;
}

#main_contents img {
	width: 100%;
}
#main_contents .read {
	margin: 10% auto;
	width: 86%;
}
#main_contents .read h2 {
	text-align: center;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 50px;
}
#main_contents .read p {
	text-align: center;
	font-size: 14px;
	margin: 15px auto;
}
@media only screen and (max-width: 768px) {
	#main_contents {
		padding-top: 5%;
	}
	#main_contents .read h2 {
		font-size: 20px;
		line-height: 2.6;
		margin: 20% auto;
	}
	#main_contents .read p {
		font-size: 12px;
		text-align: left;
	}
}





#main_contents .service {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 50px 0;
	position: relative;
}
#main_contents .service h3 {
	text-align: center;
	font-size: 28px;
	font-weight: 600;
	color: #FFF;
	position: relative;
	z-index: 10
}
#main_contents .service::before {
	content: "";
	background: #000;
	position: absolute;
	top: 0;
	left: 5%;
	width: 90%;
	height: 100%;
	z-index: 0
}
#main_contents .service .inner {
	position: relative;
	max-width: 1200px;
	width: 90%;
	margin: 50px auto 50px;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
#main_contents .service .inner .img {
	line-height: 0;
	box-sizing: border-box;
	padding: 0 5%;
}
#main_contents .service .inner .txt {
	box-sizing: border-box;
	padding: 0 5%;
}
#main_contents .service .inner .txt h4 {
	font-size: 20px;
	color: #FFF;
	margin: 6% 0 3%
}
#main_contents .service .inner .txt p {
	font-size: 14px;
	color: #FFF;
}
#main_contents .service .more a {
	border: 1px solid #fff;
	color: #fff;	
	margin: 5% auto;
}
@media only screen and (max-width: 768px) {
	#main_contents .service {
		padding: 10% 0;
		margin: 20% auto;
	}
	#main_contents .service h3 {
		font-size: 26px;
	}
	#main_contents .service::before {
		left: 0;
		width: 100%;
	}
	#main_contents .service .inner {
		width: 100%;
		margin: 10% auto;
		display: block;
	}
	#main_contents .service .inner .img {
		padding: 0;
	}
	#main_contents .service .inner .txt {
		padding: 0;
		width: 86%;
		margin: 10% auto;
	}
	#main_contents .service .inner .txt h4 {
		font-size: 18px;
		margin: 10% 0 5%
	}
	#main_contents .service .inner .txt p {
		font-size: 12px;
	}
}


#main_contents .service .scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
#main_contents .service .scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
#main_contents .service .scroll-infinity__list--left {
  animation: infinity-scroll-left 40s infinite linear 0s both;
}
#main_contents .service .scroll-infinity__item {
  width: calc(100vw / 3.5);
}
#main_contents .service .scroll-infinity__item>img {
  width: 100%;
	box-sizing: border-box;
	padding: 0 1%
}
@media only screen and (max-width: 768px) {
	#main_contents .service .scroll-infinity__list--left {
	  animation: infinity-scroll-left 30s infinite linear 0s both;
	}
	#main_contents .service .scroll-infinity__item {
	  width: calc(100vw / 1.5);
	}
}




#main_contents .news {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 50px 0;
	position: relative;
}
#main_contents .news h3 {
	text-align: center;
	font-size: 28px;
	font-weight: 600;
	color: #000;
	position: relative;
	z-index: 10;
	margin: 50px auto;
}
#main_contents .news ul {
	max-width: 1200px;
	width: 90%;
	margin: 0 auto 50px;
}
#main_contents .news li {
	padding-bottom: 10px;
	padding-right: 50px;
	margin-bottom: 20px;
	border-bottom: 1px solid #000;
	position: relative;
}
#main_contents .news li a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#main_contents .news li a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0,-50%);
	background: url("../img/arrow.webp") no-repeat;
	background-size: auto 100%;
	width: 15px;
	height: 15px;
	filter: invert(1)
}
#main_contents .news li .data {
	position: relative;
}
#main_contents .news li .data .time {
	font-size: 18px;
	display: inline-block;
}
#main_contents .news li .data .category {
	font-size: 12px;
	text-align: center;
	border: 1px solid #000;
	border-radius: 100px;
	display: inline-block;
	padding: 0 25px;
	margin-left: 15px;
}
#main_contents .news li .title p {
	margin: 15px auto;
	font-size: 16px;
}
@media only screen and (max-width: 768px) {
	#main_contents .news {
		margin: 15% auto;
		padding: 0;
	}
	#main_contents .news h3 {
		font-size: 24px;
		margin: 0 auto 10%;
	} 
	#main_contents .news li .data .time {
		font-size: 16px;
	}
	#main_contents .news li .data .category {
		font-size: 12px;
	}
	#main_contents .news li .title p {
		margin: 15px auto;
		font-size: 12px;
	}
}


@keyframes infinity-scroll-left {
	from {
	  transform: translateX(0);
	}
	to {
	  transform: translateX(-100%);
	}
}