main{
	background-color: #141e1b;
	position: relative;
	width: 100%;
	height: calc(100vh - 60px);
	z-index: 1;
	overflow: hidden;
}
main .mainbox{
	position: relative;
	width: 100%;
	height: 100%;
}
main::before{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: url(/img/top/main.webp) center no-repeat;
	background-size: cover;
	animation-name: mainanimation;
	will-change: transform; 
	animation-duration:30s;
	opacity: 1;
	animation-iteration-count:infinite;	
	transition-timing-function: ease-in;
}

@keyframes mainanimation{
	0% {
		opacity: 1;
		transform: scale(1);
	}
	20% {
		opacity: 1;

	}
	40% {
		opacity: 	1;

	}
	90% {
		opacity: 1;
	}
	99% {
		opacity: 0;
		transform: scale(1.3);
	}
	100% {
		/* opacity: .5; */
		transform: scale(1);
	}
}
main .mainbox{
	/* content: ''; */
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background: url(/img/top/mainword.webp) center no-repeat;
	background-size: cover;
	mix-blend-mode:overlay;
	animation-name: infinity-scroll-left;
	will-change: transform; 
	animation-duration:30s;
	transition-timing-function: ease-in;
}
@keyframes infinity-scroll-left {
	0% {
		opacity: 1;
	}
	20% {
		opacity: 1;

	}
	40% {
		opacity: 	1;
	}
	95% {
		opacity: 0;
	}
	99% {
		opacity: 0;
	}
	100% {
		/* opacity: .5; */
	}
	}

main h2{
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	font-size: 50px;
	text-shadow: 0px 3px 14px rgba(0, 0, 0, 0.36);
}
.en main h2{
  writing-mode: horizontal-tb!important;
	top:30%;
	width: 97%;
	text-align: center;
}

main .main-logo{
	width: 100%;
	max-width: 500px;
	position: absolute;
	bottom: 15%;
	left: 50%;
	transform: translateX(-50%);
}

main .anniver{
	width: 80px;
	position: absolute;
	top: 10%;
	right: 10px;
	transform: translateX(-50%);
}

main .main-limit{
	position: absolute;
	bottom: 5%;
	left: 50%;
	transform: translateX(-50%);
	text-shadow: 0px 3px 14px rgba(0, 0, 0, 0.66);
	width: 100%;
	display: block;
	max-width: calc(100% - 60px);
}
main .main-limit strong{
	padding-left: 10px;
}
@media only screen and (max-height:850px){
	main h2{
		writing-mode: horizontal-tb;
		display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center;
	}
	.en main h2{
		top:16%
	}
	main .main-logo{
		top: 54%;
		transform: translate(-50%,-50%);
		max-width: 500px;
	}
}


/*NEWS*/
.news {
	background-color: #3c9459;
	border-radius: 0 0 40px 40px;
	padding-bottom: 50px;
}
.news h2{
	font-size: 70px;
}
.news ul li{
	padding: 15px 0;
	border-bottom: 1px solid #fff;
}
.news ul li small{
	padding-right: 10px;
}
.news .textlink{
	color: #d9ff40;
}

.enbg{
	font-size: 180px;
	position: absolute;
	top: -20px;
	left: 0;
	z-index: -2;
	line-height: .8;
	background: linear-gradient(180deg, #ebeeda 0%, #f9eee2 70%, #f4f4f4 100%);
	-webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	width: fit-content;
}
.txtarea{
	width: 60%;
}
.c-h2{
	font-size: 50px;
	line-height: 1.2;
}

.lead ul{
	padding: 30px 0;
}
.lead ul li{
	display: inline-block;
}
.lead ul li::after{
 content:' ｜ ';
}
.lead ul li a{
	color: #000;
}

/*about*/
#about{
	margin-top: 90px;
	/* overflow: hidden; */
}
#about::before{
	content: '';
	background: url(/img/top/img-about.webp) no-repeat center;
	background-size: contain;
	width: 60%;
	height: 100%;
	max-height: 490px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: -1;
}
#about .grid{
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
}
#about .grid > div{
	padding: 0 10px ;
	box-sizing: border-box;
	border-right: dotted 4px #c6c5c4;
	display: grid;
	align-items: flex-end;
}
.en #about .grid > div{
	align-items: flex-start;
}
#about .grid > div:first-child{
	padding-left: 0;
}
#about .grid > div:last-child{
	padding-right: 0;
	border-right: none;
}
.icon{
	max-width: 155px;
}

/*award*/
#award{
	margin-top: 120px;
	overflow: hidden;
}
#award .enbg{
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
	width: 150%;
	text-align: center;
}
#award::before{
	content: '';
	background: url(/img/top/img-award.webp) no-repeat center;
	background-size: contain;
	width: 34%;
	height: 100%;
	max-height: 348px;
	position: absolute;
	top: -30px;
	left: 0;
	z-index: -1;
}

#award .txtarea{
	width: 100%;
	text-align: right;
	padding-left: 40%;
}
#award .grid .grid{
	grid-template-columns: 2fr 1fr;
}

.app-area{
	background: url(/img/top/bg-apply.webp) repeat ;
	margin-top: 72px;
	padding-bottom: 72px;
}
.app-area .lato.size-20{
	color: #fdfb0c;
}
.app-area .size-26 span{
	color: #2469db;
}

#guidelines table tr{
	display: grid;
	grid-template-columns: 1fr 2fr;
}
#guidelines table tr th{
	background-color: #e0ece5;
	border-right: solid 1px #AFAFAF;
}

#pre-award .flexbox{
	gap: 10px;
	justify-content: flex-start;
}
#pre-award .flexbox > div{
	width: calc(100% / 6 - 10px) ;
	min-width: 100px;
	margin-top: 25px;
}
#pre-award h3{
	text-align: center;
	border-radius: 200px;
	display: inline-block;
	width: 100%;
	max-width: 115px;
}
#pre-award ul li{
	position: relative;
	padding-left: 17px;
	margin-top: 10px;
}
#pre-award ul li::before{
	content: '・';
	position: absolute;
	left: 0;
	top: 0;
}

#pre-award ul li a{
	color: #060606;
	text-decoration: underline;
}

#ue{
	padding: 60px 0;
	background: url(/img/top/bg-ue.webp) no-repeat center;
	background-size: cover;
}
#ue a{
	color: #d9ff40;
	display: block;
	text-decoration: underline;
}

#inquiry.grid{
	align-items: center;
}


/*--------------------------------
タブレット
---------------------------------*/
@media only screen and (max-width:1000px){

	main{
		height: calc(80vh - 60px);
	}

	main .main-logo{
		max-width: 320px;
	}

	main .anniver{
		left:50%;
		bottom: 50px;
		top:auto;
		right:auto;
	}
	
	main .main-limit{
		max-width: calc(100% - 200px);
	}
	main .main-limit strong{
		padding-left: 10px;
	}
	.news h2{
		font-size: 50px;
	}

	.enbg{
		font-size: 120px;
	}
	.txtarea{
		width: 65%;
	}
	.c-h2{
		font-size: 36px;
		line-height: 1.2;
	}


	/*about*/
	#about{
		margin-top: 40px;
	}
	.icon{
		max-width: 80px;
	}

	#about .grid{
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	#about .grid > div{
		border-right: none;
		/* border-bottom: dotted 4px #c6c5c4; */
		padding-bottom: 10px;
		display: grid;
		grid-template-columns: 2fr 1fr;
		align-items: flex-start;
	}

	#about .grid > div:last-child{
		border-bottom: none;
	}

	/*award*/
	#award{
		margin-top: 40px;
		overflow: hidden;
	}
	#award::before{
		top: -55px;
		width: 44%;
		max-height: 300px;
	}
	#award .grid .grid{
		grid-template-columns: 1.5fr 1fr;
	}
}




/*--------------------------------
スマホ
---------------------------------*/
@media only screen and (max-width:550px){
	main h2{
		font-size: 40px;
		top: 8%;
	}
	
	main .main-logo{
		max-width: 280px;
		bottom: 26%;
	}
	main .main-limit{
		max-width: calc(100% - 100px);
	}
	main .main-limit strong{
		padding-left: 10px;
	}

	.enbg{
		font-size: 80px;
	}
	.txtarea{
		width: 100%;
	}
	.c-h2{
		font-size: 28px;
		line-height: 1.2;
	}
	/*about*/
	#about{
		margin-top: 0;
		padding-top: 180px;
		text-align: left;
	}
	#about::before{
		max-height: 300px;
    position: absolute;
    top: -10px;
    right: 50%;
    transform: translateX(-50%);
    left: 43%;
		width: 120%;
	}
	#about .grid{
		grid-template-columns: 1fr;
		gap: 10px;
	}

	#award{
		margin-top: 0;
		padding-top: 260px;
		text-align: left;
	}
	#award::before{
		max-height: 300px;
    position: absolute;
    top: -10px;
    transform: translateX(-50%);
    left: 50%;
		width: 120%;
	}
	#award .enbg{
		top: 30px;
	}
	#award .txtarea,	#award .col-lig{
		padding-left: 0;
		text-align: left;
	}
	#award .grid{
		grid-template-columns: 1fr;
		gap: 0;
	}

	.app-area{
		margin-top: 42px;
		padding-bottom: 42px;
	}

	#apply .grid, #inquiry.grid{
		grid-template-columns: 1fr;
	}

	#pre-award .flexbox > div{
		width: calc(100% / 2 - 10px) ;
		margin-top: 15px;
		min-width: 45%;
	}
	.accordionbtn {
		padding-right: 30px;
	}
}
