/* CSS Document */
:root {
	--dark-blue: #00375f;
	--yellow: #e1b433;
	--green: #3a9638;
}

/* CSS Document */
@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}


 .fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 700ms;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}



    .video-shell {
      width: min(60vw, 1200px);
      aspect-ratio: 16/9;
      background: #000;
      border-radius: 8px;
      overflow: hidden;
      margin-inline: auto;
    }
    .video-shell iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    .modal { display: none; }
    .modal.is-open { display: block; }

    .modal__overlay {
      position: fixed; inset: 0;
      background: rgba(0,0,0,.6);
      display: grid; place-items: center;
      padding: 24px;
    }
	.modal__title {
		font-size: 1.2rem;
	}
    .modal__container {
      background: #111; color: #fff;
      border-radius: 10px;
      padding: 16px;
      max-height: 90vh;
      overflow: auto;
    }
    .modal__header, .modal__footer {
      display: flex; justify-content: space-between; align-items: center;
    }
    .modal__close, .modal__btn {
      border: none; cursor: pointer; padding: 8px 12px;
      border-radius: 6px;
    }
    .modal__close { background: #333; color: #fff; }
    .modal__btn { background: #fff; color: #111; }
/********* /modal **********/

#whiteMainBox_fit img {
	max-width: 100%;
}

div#top {
	width: 100%;
	overflow:hidden;
}

div#top h1 {
	position: relative;
	width: 100%;
	display: block;
}

div#top h1 img:nth-of-type(1) {
	width: 100%;
	min-width: 1400px;
	margin-top: -40px;
}

div#top h1 img:nth-of-type(2) {
	position: absolute;
	width: 26%;
	left: 10%;
	top: 0;
}

div#top h1 img:nth-of-type(3) {
	width: 1140px;
	position: absolute;
	display: block;
	left: 0;
	right: 0;
	bottom: 60px;
	margin: 0px auto;
}

div#message {
	background: url("img/bg_wave.jpg") top left repeat-y;
	background-size: 100% auto;
}

div#message div.inbox {
	width: 900px;
	margin: 0px auto;
	padding: 100px 0;
	text-align: center;
	color: var(--dark-blue);
	font-size: 1.2rem;
}

div#message p {
	margin-bottom: 20px;
}

div#message div.inbox h2 {
	width: 500px;
	margin: auto;
	display: block;
	
}

div#message p.bigfont {
	font-size: 1.8rem;
	font-weight: bold;
	margin: 20px 0;
}

div.bg_blue {
	background: url("img/bg_light.jpg") 0% 100% no-repeat var(--dark-blue);
	background-size: 100% auto;
	padding: 0 0 1px 0;
}

.bg_blue strong {
	background: linear-gradient(transparent 70%, #3a9638 50%);
}

div#aokiri {
	background: url("img/bg_skw.webp") 50% 30% no-repeat;
	background-size: 100% auto;
}

div.skwbox {
	display: flex;
	align-items: center;
	justify-content:flex-start;
	width: 100%;
	margin: 0px auto;
	padding: 100px 0 0 0;
}

div.skwbox div.img {
	width: 50%;
}

div.skwbox div.img img {
	box-shadow: rgba(255, 255, 255, 1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.55) 0px 50px 100px -20px, rgba(0, 0, 0, 0.6) 0px 30px 60px -30px;
}
div.skwbox div.text {
	width: 40%;
	color: #fff;
	font-size: 1.2rem;
	padding-left: 5%;
}

div.skwbox div.text h2 {
	background: var(--green);
	color: #fff;
	padding: 10px;
	display: inline-block;
	margin: 30px 0 50px -20%;
}

div.reverse {
	display: flex;
	align-items: center;
	justify-content:flex-end;
	width: 100%;
	margin: -150px auto 0 auto;
	padding: 0px 0;
}


div.reverse div.img {
	width: 50%;
}

div.reverse div.text {
	width: 45%;
	color: #fff;
	font-size: 1.3rem;

}

 div.text p {
	margin-bottom: 20px;
}

#whiteMainBox_fit h2 {
	text-align: center;
	font-size: 2rem;
}

#whiteMainBox_fit h2 span {
	background: var(--green);
	color: #fff;
	display: inline-block;
	padding: 5px 10px;
}

div.lineup {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 1050px;
	margin: -50px auto 50px auto;
	color: #fff;
}

div.lineup div.img {
	width: 30%;
}

div.lineup div.text {
	width: 60%;
	font-size: 1.2rem;
}

div.lineup div.text p.catch {
	color: var(--yellow);
	font-weight: bold;
	font-size: 1.5rem;
}


div.lineup h3 { 
	font-size: 2rem;
	line-height: 2.5;
	margin-bottom: 30px;
}

div.lineup h3 img {
	width: 150px;
}

div.lineup2 {
	margin-top: 50px;
	flex-direction: row-reverse;
}



div#cm {
	background: #000;
	padding: 100px 0;
	position: relative;
}

div#cm a {
	transition: all 0.3s ease;
	display: block;
	margin: auto;
	width: 1000px;
}

div#cm a:hover {
  opacity: 0.7;
  transform: translateY(-5px);
}


div#cm h2 {
	margin: 60px 0 40px 0;	
}


div#about {
	background: url("img/bg_wave.jpg") top left repeat-y;
	background-size: 100% auto;
	padding: 1px 0;

}

div#about h2 {
	margin: 100px auto 0 auto;
}

div.aboutflex {
	display: flex;
	align-items:stretch;
	justify-content: space-between;
	width: 90%;
	margin: 50px auto 150px auto;
}

div.aboutbox {
	width: 40%;
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	align-items:center;
	color: var(--dark-blue);
	background: #fff;
	padding: 4%;
	box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
	border-radius: 20px;
}

div.aboutbox div.img {
	width: 35%;
	display: flex;
	align-items: flex-end;
}

div.aboutbox div.img img {
	width: 50%;
}

div.aboutbox div.text {
	width: 60%;
	font-size: 0.95rem;
}

div.aboutbox div.text h3 {
	margin-bottom: 30px;
}

div.aboutbox p.link {
	text-align: right;
	margin: 0;
}

div.aboutbox p.link a {
	background: var(--dark-blue);
	padding: 10px 20px;
	display: inline-block;
	color: #fff;
	transition: all 0.3s ease;
	border-radius: 100vh;
}

div.aboutbox p.link a:hover {
	transform: translateY(-5px);
	text-decoration: none;

}


@media screen and (min-width: 0px) and (max-width: 480px) {

	/******** modal **********/
	.modal__overlay {
		padding: 0;
	}
	.modal__title {
		display: none;
	}
	
    .video-shell {
      width: min(100vw);
	}
	
	.modal__container {
    	width: 100%;
	}
	
	/******** modal **********/
	
	div.text p {
		margin-bottom: 10px;
	}
	
	div#top h1 img:nth-of-type(1) {
		min-width: inherit;
		margin-top: 0;
		width: 1127px;
		height: 600px;
		display: block;
		max-width: inherit;
		margin: 0 -370px;
	}
	
	div#top h1 img:nth-of-type(2) {
		position: absolute;
		width: 40%;
		left: 0;
		top: 10px;
	}

	div#top h1 img:nth-of-type(3) {
		display: none;
	}
	
	div#top h1 img:nth-of-type(4) {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 80%;
		margin: auto;
		right: 0;
	}	
	
	div#message {
		background-size: auto;
	}
	
	div#message div.inbox {
		width: 90%;
		margin: 0px auto;
		padding: 50px 0;
		text-align: center;
		color: var(--dark-blue);
		font-size: 1rem;
	}	

	div#message div.inbox h2 {
    	width: 60%;
	}

	div.bg_blue {
		background: url(img/bg_light.jpg) 0% 70% no-repeat var(--dark-blue);
		background-size: 100% auto;
	}
	
	div#aokiri {
		background: url(img/bg_skw.webp) 50% 0% no-repeat;
		background-size: 100% auto;
	}	
	
	div#message p.bigfont {
		font-size: 1.4rem;
	}
	
	
	div.skwbox {
		display: block;
		width: 90%;
		margin: 0px auto;
		padding: 40px 0 0 0;
	}

	div.skwbox div.img {
		width: 100%;
	}

	div.skwbox div.text {
		width: 100%;
		color: #fff;
		font-size: 1rem;
		padding-left: 0;
	}	

	div.skwbox div.text h2 {
		padding: 10px;
		display: inline-block;
		margin: -40px 0 20px 0;
	}	
	#whiteMainBox_fit h2 {
		text-align: center;
		font-size: 1.2rem;
	}	

	div.reverse {
		display: block;
		align-items: center;
		justify-content: flex-end;
		width: 100%;
		margin: 0px auto 0 auto;
		padding: 0px 0;
	}

	div.reverse div.text {
		width: 90%;
		color: #fff;
		font-size: 1rem;
		margin: auto;
	}	
	div.reverse div.img {
		margin-top: -50px;
		width: 100%;
	}

	div.lineup {
		display: block;
		width: 90%;
		margin: 30px auto 50px auto;
	}	
	div.lineup2 {
		margin-top: 50px;
	}	

	div.lineup div.img {
		width: 30%;
		margin: auto;
	}

	div.lineup div.text {
		width: 100%;
		font-size: 1rem;

	}	
	div.lineup h3 {
		font-size: 1.2rem;
		line-height: 2;
		text-align: center;
		margin-bottom: 10px;

	}

	div.lineup h3 img {
		width: 80px;
	}	

	div.lineup div.text p.catch {
		color: var(--yellow);
		font-weight: bold;
		font-size: 1.2rem;
		text-align: center;
	}	

	div#cm {
		background: #000;
		padding: 10px 0 100px 0;
	}	

	div#cm a {
		width: 100%;
	}

	div#about {
		background-size: auto;
	}

	div.aboutflex {
		display: block;
	}

	div.aboutbox {
		width: 90%;
		margin: 0px auto 40px auto;
		display: block;
		padding: 7% 5%;
	}

	div.aboutbox div.img {
		width: 50%;
		margin: auto;
	}	

	div.aboutbox div.text {
		margin-top: 30px;
		width: 100%;
		font-size: 0.95rem;
	}	

	div.aboutbox div.text h3 {
		margin-bottom: 0px;
		text-align: center;
	}	
	
	div#about h2 {
		margin: 50px auto 0 auto;
	}	
	
	
	
	
	
	
	
	
	
	
	
	
	
}



















































