/*----- html body -----*/
html > body {
	background-image: url(./image/background_pc.svg);
	background-attachment: fixed;
	background-size: cover;
	background-position: 50% 0;
	display: grid;
	grid-template-columns: 2fr 700px 1fr;
	overflow: hidden;
	@media (width < 1450px) {
		grid-template-columns: 1fr 700px;
	}
	@media (width < 1200px) {
		grid-template-columns: 1fr 700px 1fr;
	}
	@media (width < 700px) {
		grid-template-columns: 1fr;
	}
}
/*----- pcArea -----*/
section.pcArea {
	position: fixed;
	left: 0;
	top: 0;
	@media (width < 1200px) {
		display: none;
	}
	> div {
		width: 500px;
		margin-inline: auto;
		padding-top: 60px;
		padding-inline: min(8%, 60px);
		> figure {
			&:nth-of-type(2) {
				margin-bottom: 20px;
			}
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> img {
					display: inline;
					max-width: 100%;
				}
			}
		}
		> div {
			margin-block: 50px 70px;
			> div {
				margin-bottom: 20px;
				&:last-of-type {
					margin-bottom: 0px;
				}
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.8;
					}
					> h2 {
						display: inline;
						line-height: 1.4;
						font-weight: 500;
						color: #fff;
						font-size: min(1.1rem, 5.0vw);
						font-weight: 700;
					}
				}
			}
		}
	}
}
/*----- main -----*/
main {
	background-color: #fff;
	grid-column: 2/3;
	@media (width < 700px) {
		grid-column: 1/2;
	}
}
section.panel {
	> figure {
		display: grid;
		> img {
			grid-area: 1/1/2/2;
			max-width: 100%;
		}
		> a {
			grid-area: 1/1/2/2;
			justify-self: center;
			align-self: end;
			width: 80%;
			margin-bottom: 22%;
			&:hover {
				opacity: 0.8;
			}
			> img {
				filter: drop-shadow(4px 4px 8px #000);
				width: 100%;
			}
		}
	}
}

section.mind {
	padding: 40px 5% 0px 5%;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> figure {
			text-align: center;
			> img {
				max-width: 100%;
			}
		}
		> h2 {
			margin-top: -20px;
			text-align: center;
			font-size: min(2.0rem, 8vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
		}
		> p {
			margin-top: 30px;
			text-align: justify;
			font-size: min(1.1rem, 5vw);
			line-height: 2.2;
			font-weight: 600;
			color: #1c2d52;
			> span {
				background: linear-gradient(transparent 60%, yellow 30%);
			}
		}
	}
}

section.school {
	margin-top: 10px;
	> div {
		max-width: 700px;
		margin-inline: auto;
		display: grid;
		> figure {
			grid-area: 1/1/2/2;
			text-align: center;
			> img {
				max-width: 100%;
			}
		}
		> p {
			margin-bottom: 5px;
			padding-inline: 5%;
			grid-area: 1/1/2/2;
			text-align: right;
			align-self: end;
			font-size: min(1.1rem, 4.5vw);
			line-height: 1.4;
			font-weight: 600;
			color: #fff;
		}
	}
}
section.features {
	padding: 40px 5% 50px 5%;
	background: #faee00;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 9vw);
			line-height: 1.0;
			color: #1c2d52;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
			font-family: var(--font-en);
		}
		> article {
			> img {
				position: relative;
				z-index: 2;
				margin-left: 2%;
				margin-bottom: -5%;
				width: min(55px, 10vw);
			}
			> figure {
				position: relative;
				z-index: 1;
				> img {
					border-radius: 10px;
					max-width: 100%;
				}
			}
			> p {
				margin-top: 5px;
				font-size: min(1.0rem, 5vw);
				line-height: 1.5;
				font-weight: 500;
				color: #1c2d52;
			}
		}
		> div {
			margin-top: 30px;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			row-gap: 30px;
			column-gap: 20px;
			@media (width < 500px) {
				column-gap: 10px;
			}
			> article {
				> img {
					position: relative;
					z-index: 2;
					margin-left: 2%;
					margin-bottom: -5%;
					width: min(55px, 10vw);
				}
				> figure {
					position: relative;
					z-index: 1;
					> img {
						width: 100%;
						max-width: 100%;
					}
				}
				> p {
					margin-top: 5px;
					font-size: min(1.0rem, 5vw);
					line-height: 1.5;
					font-weight: 500;
					color: #1c2d52;
				}
			}
		}
	}
}
section.menu {
	padding: 60px 5% 20px 5%;
	background-color: #f2f2f2;
	background-image: linear-gradient(90deg, #e1e1e180 2px, transparent 2px), linear-gradient(#e1e1e180 2px, transparent 2px);
	background-position: 30px 10px;
	background-size: 22px 22px;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 9vw);
			line-height: 1.0;
			color: #1c2d52;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
			font-family: var(--font-en);
		}
	}
}
section.menupanel {
	> figure {
		max-width: 700px;
		margin-inline: auto;
		> img {
			max-width: 100%;
		}
	}
}
section.menucontent {
	padding: 30px 5% 100px 5%;
	background-color: #f2f2f2;
	background: linear-gradient(90deg, #e1e1e180 2px, transparent 2px), linear-gradient(#e1e1e180 2px, transparent 2px), url(./image/soccer_boll.svg);
	background-position: 30px 10px, 30px 10px, 95% 95%;
	background-size: 32px 32px, 32px 32px, 100px 100px;
	background-repeat: repeat, repeat, no-repeat;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> article {
			margin-bottom: 20px;
			background-color: #fff;
			border: 2px solid #1c2d52;
			border-radius: 5px;
			&:last-of-type {
				margin-bottom: 0px;
			}
			> input[type="checkbox"] {
				display: none;
				&:checked + label > figure {
					transform: rotate(-45deg);
				}
				&:checked + label + div {
					animation-name: moreToggleOpen;
					animation-duration: 0.3s;
					animation-fill-mode: forwards;
					animation-timing-function: ease-in;
				}
				& + label + div {
					animation-name: moreToggleClose;
					animation-duration: 0.3s;
					animation-fill-mode: forwards;
					animation-timing-function: ease-out;
				}
			}
			> label {
				list-style: none;
				display: flex;
				justify-content: space-between;
				align-items: center;
				cursor: pointer;
				padding: 20px;
				@media (width < 500px) {
					padding: 10px;
				}
				> h3 {
					flex-grow: 1;
					text-align: center;
					color: #1c2d52;
					font-size: 1.6rem;
					line-height: 1.0;
					font-weight: 700;
					letter-spacing: 0.5rem;
				}
				> figure {
					transition: 0.2s;
					> img {
						width: 20px;
					}
				}
			}
			> div {
				overflow: hidden;
				> div {
					padding: 0px 20px 30px 20px;
					@media (width < 500px) {
						padding: 0px 10px 20px 10px;
					}
					> iframe {
						width: 100%;
						height: min(300px, 50vw);
					}
					> p {
						padding-top: 10px;
						font-size: min(1.3rem, 5vw);
						line-height: 1.3;
						font-weight: 500;
						color: #1c2d52;
						text-align: justify;
					}
				}
			}
		}
	}
}
@keyframes moreToggleOpen {
	0% {
		max-height: 0px;
	}
	80% {
		max-height: 100px;
	}
	90% {
		max-height: 200px;
	}
	100% {
		max-height: 9999px;
	}
}
@keyframes moreToggleClose {
	0% {
		max-height: 9999px;
	}
	10% {
		max-height: 200px;
	}
	20% {
		max-height: 100px;
	}
	100% {
		max-height: 0px;
	}
}
section.idep {
	padding: 200px 5% 100px 5%;
	background-image: url(./image/background_idep.webp);
	background-size: cover;
	background-position: 50% 0;
	@media (width < 550px) {
		padding: 150px 5% 100px 5%;
	}
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			padding: 20px 30px;
			background-color: #333333;
			font-size: min(1.8rem, 5.5vw);
			line-height: 1.4;
			color: #d0ff00;
			font-weight: 600;
		}
		> p {
			padding: 30px 10px;
			font-size: min(1.3rem, 5vw);
			line-height: 1.8;
			font-weight: 500;
			color: #fff;
		}
		> iframe {
			width: 100%;
			height: min(300px, 50vw);
		}
	}
}
section.message {
	padding: 80px 5% 80px 5%;
	background: url(./image/message_bg01.svg), url(./image/message_bg02.svg) , #1c2d52;
	background-size: 100%;
	background-position: 50% 0, 50% 100%;
	background-repeat: no-repeat;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 9vw);
			line-height: 1.0;
			color: #fff;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #fff;
			font-weight: 600;
			font-family: var(--font-en);
		}
		> figure {
			margin-top: 40px;
			> img {
				max-width: 100%;
			}
		}
		> div.block {
			margin-block: 20px 30px;
			display: grid;
			grid-template-columns: auto 1fr;
			column-gap: 20px;
			@media (width < 550px) {
				grid-template-columns: 30vw 1fr;
			}
			> figure {
				> img {
					max-width: 100%;
				}
			}
			> div {
				> div {
					display: grid;
					grid-template-columns: auto 1fr;
					column-gap: 20px;
					@media (width < 460px) {
						grid-template-columns: 1fr;
						row-gap: 10px;
					}
					> h3 {
						align-self: start;
						padding: 5px 20px;
						background-color: #38a1db;
						font-size: min(1.3rem, 5.0vw);
						line-height: 1.0;
						color: #1c2d52;
						font-weight: 600;
						@media (width < 460px) {
							justify-self: start;
						}
					}
					> div {
						> p {
							font-size: min(1.3rem, 5.0vw);
							line-height: 1.0;
							color: #fff;
							font-weight: 500;
							> small {
								font-size: min(1.0rem, 5vw);
								color: #38a1db;
								line-height: 1.3;
							}
						}
					}
				}
				> p {
					padding-top: 20px;
					font-size: min(1rem, 5.0vw);
					line-height: 1.4;
					color: #fff;
					font-weight: 500;
					text-align: justify;
					@media (width < 460px) {
						padding-top: 10px;
					}
				}
			}
		}
		> div.coach {
			margin-top: 30px;
			padding-top: 40px;
			border-top: 2px solid #fff;
			> h2 {
				text-align: center;
				font-size: min(1.8rem, 5.5vw);
				line-height: 1.0;
				color: #fff;
				font-weight: 600;
			}
			> h3 {
				text-align: center;
				font-size: min(1.3rem, 5.0vw);
				line-height: 1.4;
				color: #fff;
				font-weight: 600;
				font-family: var(--font-en);
			}
			> p {
				margin-top: 30px;
				font-size: min(1rem, 5.0vw);
				line-height: 1.5;
				color: #fff;
				font-weight: 500;
				text-align: justify;
			}
			> div {
				margin-top: 10px;
				display: grid;
				grid-template-columns: repeat(2, 1fr);
				column-gap: 20px;
				row-gap: 20px;
				> article {
					position: relative;
					padding-top: 10px;
					padding-inline: 5px;
					&:nth-of-type(odd) {
						&::after {
							content: "";
							position: absolute;
							top: 0;
 							right: -10px;
							height: 100%;
							border-right: 1px dotted #fff;
						}
					}
					&:nth-of-type(3), &:nth-of-type(4) {
						&::before {
							content: "";
							position: absolute;
							top: -10px;
 							right: 0px;
							width: 100%;
							border-top: 1px dotted #fff;
						}
					}
					> figure {
						text-align: center;
						max-width: 160px;
						margin-inline: auto;
						> img {
							width: 100%;
						}
					}
					> p {
						text-align: center;
						font-size: min(0.9rem, 4.5vw);
						line-height: 1.4;
						color: #fff;
						> small {
							font-size: min(0.9rem,  4.5vw);
							color: #38a1db;
						}
						&:nth-of-type(1) {
							padding-top: 10px;
						}
						&:nth-of-type(3) {
							padding-top: 10px;
							padding-bottom: 10px;
							text-align: justify;
						}
					}
					> h3 {
						margin-top: 10px;
						padding-block: 5px;
						padding-inline: 5px;
						text-align: center;
						background-color: #38a1db;
						font-size: min(0.9rem, 5.0vw);
						line-height: 1.1;
						color: #1c2d52;
					}
				}
			}
		}
	}
}
section.free {
	padding: 0 5% 50px 5%;
	background-image: url(./image/free_bg.webp);
	background-size: cover;
	background-position: 50% 0;
	background-repeat: no-repeat;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> figure {
			text-align: center;
			> img {
				width: 100%;
				max-width: 100%;
			}
		}
		> div.school {
			margin-top: 10px;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			column-gap: 20px;
			row-gap: 20px;
			> h3 {
				padding: 5px 20px;
				text-align: center;
				font-size: min(1.4rem, 5.0vw);
				line-height: 1.1;
				color: #fff;
				font-weight: 600;
				border: 2px solid #fff;
				&:nth-of-type(1) {
					background-color: #59A874;
				}
				&:nth-of-type(2) {
					background-color: #F9B44D;
				}
				@media (width < 500px) {
					padding: 5px 10px;
				}
			}
		}
		> div.block {
			margin-block: 20px;
			border-top: 3px solid #fff;
			border-bottom: 3px solid #fff;
			padding: 10px 15px;
			> h2 {
				font-size: min(2.0rem, 6vw);
				line-height: 1.3;
				color: #fff;
				font-weight: 500;
				text-shadow: #000 0 0 10px;
				&:nth-of-type(2) {
					line-height: 1.8;
				}
				> small {
					font-size: min(1.5rem, 5.0vw);
				}
			}
			@media (width < 500px) {
				padding: 10px;
			}
		}
		> p {
			padding: 0px 15px;
			font-size: min(1.0rem, 5vw);
			line-height: 1.6;
			color: #fff;
			font-weight: 500;
			text-shadow: #000 0 0 10px;
			@media (width < 500px) {
				padding: 0 10px;
			}
		}
	}
}
section.soccerschool {
	padding: 50px 5% 0px 5%;
	&.color01 {
		> div {
			> h4 {
				background-color: #59A874;
			}
		}
	}
	&.color02 {
		> div {
			> h4 {
				background-color: #F9B44D;
			}
		}
	}
	&.color03 {
		> div {
			> h4 {
				background-color: #52ADCE;
			}
		}
	}
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 9vw);
			line-height: 1.0;
			color: #1c2d52;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
			font-family: var(--font-en);
		}
		> h4 {
			margin-top: 30px;
			text-align: center;
			font-size: min(1.3rem, 5.5vw);
			line-height: 1.0;
			color: #fff;
			font-weight: 500;
			padding: 10px 5px;
		}
		> h5 {
			font-size: min(1.1rem, 5.5vw);
			line-height: 1.7;
			color: #231815;
			font-weight: 600;
		}
		> p {
			font-size: min(1.0rem, 5vw);
			line-height: 1.3;
			color: #231815;
			font-weight: 600;
			> b {
				color: #e50012;
			}
			> small {
				font-size: min(0.8rem, 5vw);
			}
		}
		> div.item {
			padding-top: 20px;
			border-bottom: 1px solid #d4d9dc;
			> p {
				margin-bottom: -1px;
				padding: 5px;
				background-color: #d4d9dc;
				width: 50%;
				clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
				color: #231815;
				font-size: min(1.0rem, 5vw);
				line-height: 1.3;
				font-weight: 600;
				@media (width < 470px) {
					width: 75%;
				}
			}
			&.from {
				display: flex;
				justify-content: space-between;
				align-items: end;
				> h5 {
					font-size: min(1.0rem, 4.5vw);
					line-height: 1.0;
					font-weight: 600;
					color: #231815;
					padding-bottom: 5px;
				}
				> p {
					margin-top: 20px;
					width: 60%;
					@media (width < 470px) {
						clip-path: polygon(0 0, 82% 0, 100% 100%, 0% 100%);
						width: 70%;
						padding: 5px 20px 5px 5px;
					}
				}
			}
		}
		> div.block {
			> p {
				padding-top: 10px;
				text-indent: -1em;
				padding-left: 1em;
				color: #231815;
				font-size: min(0.9rem, 4.5vw);
				line-height: 1.4;
				font-weight: 500;
				> span {
					color: #d4d9dc;
				}
			}
		}
		> figure {
			margin-top: 10px;
			> img {
				max-width: 100%;
				width: 100%;
			}
		}
		> iframe {
			margin-top: 20px;
			border: none;
			width: 100%;
			height: 400px;
		}
	}
}
section.voice {
	margin-top: 100px;
	border-top-left-radius: 50% 150px;
    border-top-right-radius: 50% 150px;
	padding: 80px 5% 80px 5%;
	background-image: repeating-linear-gradient(160deg, #98d8f6, #98d8f6 4px, #7ecef4 4px, #7ecef4 21px);
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 8vw);
			line-height: 1.2;
			color: #1c2d52;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
			font-family: var(--font-en);
		}
		> iframe {
			margin-top: 50px;
			border: none;
			width: 100%;
			height: 350px;
			@media (width < 690px) {
				height: 50vw;
			}
		}
		> figure {
			margin-top: 80px;
			> img {
				width: 100%;
                max-width: 100%;
			}
		}
		> div {
			margin-top: 30px;
			display: flex;
			justify-content: center;
			> h4 {
				min-width: 200px;
				text-align: center;
				display: inline;
				background-color: #186af7;
				font-size: min(1.2rem, 5.5vw);
				line-height: 1.4;
				color: #fff;
				font-weight: 500;
				padding: 10px 30px;
			}
		}
	}
}
section.faq {
	padding: 80px 5% 20px 5%;
	background-image: url(./image/soccer_bollbg.webp);
	background-size: cover;
	background-position: 50% 0;
	background-repeat: no-repeat;
	> div {
		max-width: 700px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			font-size: min(2.0rem, 9vw);
			line-height: 1.0;
			color: #1c2d52;
			font-weight: 600;
		}
		> h3 {
			text-align: center;
			font-size: min(1.5rem, 6.5vw);
			line-height: 1.4;
			color: #1c2d52;
			font-weight: 600;
			font-family: var(--font-en);
		}
		> article {
			margin-top: 30px;
			> input[type="checkbox"] {
				display: none;
				&:checked + label > figure {
					transform: rotate(-45deg);
				}
				&:checked + label + div {
					animation-name: moreToggleOpen;
					animation-duration: 0.3s;
					animation-fill-mode: forwards;
					animation-timing-function: ease-in;
				}
				& + label + div {
					animation-name: moreToggleClose;
					animation-duration: 0.3s;
					animation-fill-mode: forwards;
					animation-timing-function: ease-out;
				}
			}
			> label {
				list-style: none;
				display: grid;
				grid-template-columns: 40px 1fr 20px;
				align-items: center;
				cursor: pointer;
				column-gap: 10px;
				@media (width < 400px) {
					grid-template-columns: 30px 1fr 20px;
				}
				> h3 {
					text-align: justify;
					color: #1c2d52;
					font-size: min(1.3rem, 6vw);
					line-height: 1.2;
					font-weight: 700;
				}
				> img {
					width: 100%;
					align-self: start;
					max-width: 100%;
				}
				> figure {
					margin-top: 5px;
					align-self: start;
					transition: 0.2s;
					> img {
						max-width: 100%;
					}
				}
			}
			> div {
				padding-top: 20px;
				overflow: hidden;
				display: grid;
				grid-template-columns: 40px 1fr 20px;
				column-gap: 10px;
				@media (width < 400px) {
					grid-template-columns: 30px 1fr 20px;
				}
				> figure {
					> img {
						width: 100%;
						max-width: 100%;
					}
				}
				> div {
					> p {
						text-align: justify;
						margin-bottom: 20px;
						font-size: min(1.1rem, 5.5vw);
						line-height: 1.4;
						color: #333;
						font-weight: 500;
					}
				}
			}
		}
	}
}
section.observer {
	position: fixed;
	bottom: 0;
	z-index: 5;
	display: block;
	max-width: 700px;
	width: 100%;
	transition: transform 0.3s;
	&.hidden {
		transform: translateY(200px);
	}
	> div {
		padding-top: 10px;
		text-align: center;
		background-color: rgba(212, 217, 220, 0.7);
		> a {
			display: block;
			text-decoration: none;
			&:hover {
				opacity: 0.8;
			}
			> img {
				display: inline-block;
				width: 80%;
			}
		}
		> p {
			padding-block: 5px;
			color: #231815;
			text-align: center;
			font-size: min(0.8rem, 4vw);
			line-height: 1.2;
			font-weight: 500;
		}
	}
}
