@charset "utf-8";

/* =========================================================
	看板（hero）
========================================================= */
.eyecach {
	clear: both;
	position: relative;
	padding-top: 40%;
	background-image: url("../images/hero/heroImg__video.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}
.eyecach .inner {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}
.eyecach #video-area {
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
}
.eyecach #video {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	min-height: 100%;
	min-width: 100%;
	object-fit: cover;
}

@media screen and (max-width: 960px) {
	.eyecach {
		margin-top: 80px;
		padding-top: 64%;
	}
}
@media screen and (max-width: 768px) {
	.eyecach {
		padding-top: 80%;
	}
}
@media screen and (max-width: 568px) {
	.eyecach {
		margin-top: 64px;
		padding-top: 120%;
	}
}


/* =========================================================
	とは（welcome）
========================================================= */
section#welcome {
	position: relative;
	padding-top: 32%;
	padding-bottom: 0;
	color: #fff;
	margin-bottom: 40px;
}
section#welcome::after {
	position: absolute;
	bottom: 0;
	right: 0;
	height: 100%;
	width: 50%;
	background-image: url("../images/welcome/welcomeImg__bg.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
}
section#welcome .wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 0 4%;
	max-width: inherit;
	display: flex;
	align-content: center;
	justify-content: center;
	flex-wrap: wrap;
	height: 100%;
	width: 50%;
	background-color: #f5a200;
	z-index: 2;
	overflow: hidden;
}
section#welcome h2 {
	width: 100%;
	margin-bottom: 0.5em;
	text-align: left;
}
section#welcome h2 span.en {
	color: #fff;
}
section#welcome p {
	line-height: 1.9;
}

@media screen and (max-width: 960px) {
	section#welcome {
		padding-top: 100%;
	}
	section#welcome::after {
		height: 50%;
		width: 100%;
	}
	section#welcome .wrap {
		height: 50%;
		width: 100%;
	}
}
@media screen and (max-width: 568px) {
	section#welcome {
		padding-top: 150%;
	}
}


/* =========================================================
	コミック
========================================================= */
ol.comics {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	flex-direction: row-reverse;
	margin: 0 auto;
}
ol.comics li img {
	display: block;
}

@media screen and (max-width: 768px) {
	ol.comics {
		display: block;
	}
	ol.comics li {
		margin-bottom: 1em;
	}
}


/* =========================================================
	スタッフインタビュー
========================================================= */
.youtube {
	text-align: center;
	margin: 0 auto 3em;
	max-width: 800px;
}
.youtube iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	vertical-align: bottom;
}

ul.moviePortrait {
	display: flex;
	justify-content: center;
	align-items: center;
	column-gap: 5%;
	margin: 0 auto;
	max-width: 700px;
}
ul.moviePortrait li {
	max-width: 30%;
}
ul.moviePortrait li img {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	display: block;
	border-radius: 8px;
}
h3.igText {
	margin: 2em 0;
}


/* =========================================================
	選ばれる理由（merit）
========================================================= */
ol.merit {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
	margin: 0 auto;
}
ol.merit li {
	width: 48%;
	margin: 40px 0 1.5em;
	position: relative;
}
ol.merit li h3 {
	position: relative;
}
ol.merit li h3 .num {
	position: absolute;
	top: -40px;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	height: 80px;
	width: 80px;
	margin: auto;
	color: #fff;
	background-color: #f4aa2d;
	font-size: 1.5rem;
}
ol.merit li h3 img {
	display: block;
	border-radius: 8px;
}
ol.merit li h4 {
	margin: 1em 0 0.5em;
	color: #f4712c;
}

@media screen and (max-width: 768px) {
	ol.merit li {
		width: 100%;
	}
}
@media screen and (max-width: 568px) {
	ol.merit li {
		margin-top: 32px;
	}
	ol.merit li h3 .num {
		top: -32px;
		height: 64px;
		width: 64px;
		font-size: 1.2rem;
	}
}


/* =========================================================
	1日の流れ（flow）
========================================================= */
section#flow {
	padding: 3em 0;
}
ol.flowTime {
	margin: 0 auto;
	position: relative;
}
ol.flowTime::before {
	position: absolute;
	top: 0;
	left: 36px;
	content: '';
	background-color: #f4aa2d;
	height: 96%;
	width: 6px;
	z-index: 1;
}
ol.flowTime li {
	position: relative;
	margin-bottom: 1.5em;
	z-index: 2;
}
ol.flowTime li h3 {
	margin-bottom: 0;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
ol.flowTime li h3 .num {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f4aa2d;
	height: 80px;
	width: 80px;
	border-radius: 50%;
	font-size: 1rem;
	color: #fff;
	margin-right: 1em;
	flex-shrink: 0;
}

@media screen and (max-width: 568px) {
	ol.flowTime::before {
		left: 29px;
	}
	ol.flowTime li h3 {
		font-size: 1rem;
	}
	ol.flowTime li h3 .num {
		height: 64px;
		width: 64px;
		font-size: 0.8rem;
	}
}


/* =========================================================
	スタッフからのメッセージ（gallery）
========================================================= */
.gallery {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}
.gallery .gallery-item {
	margin: 0;
}
.gallery .gallery-item a {
	display: block;
	aspect-ratio: 3 / 2;
	border-radius: 4px;
	overflow: hidden;
	cursor: zoom-in;
}
.gallery .gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s linear;
}
.gallery .gallery-item a:hover img {
	transform: scale(1.08);
}

@media screen and (max-width: 960px) {
	.gallery {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media screen and (max-width: 568px) {
	.gallery {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}
}


/* =========================================================
	教室案内（school）
========================================================= */
ul.school {
	margin-left: 0;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	flex-wrap: wrap;
}
ul.school li {
	width: 49%;
	margin-bottom: 2em;
	line-height: 1.6;
	border: 2px solid #f4aa2d;
	background-color: #fff;
	border-radius: 16px 0 16px 0;
	overflow: hidden;
}
ul.school li h3 {
	padding: 0.6em 1em;
	font-size: 1.15rem;
	letter-spacing: 0;
	margin-bottom: 0;
	color: #fff;
	background-color: #f4aa2d;
}
ul.school li p {
	margin: 1.25em 1.5em;
	font-size: 0.95rem;
}

@media screen and (max-width: 960px) {
	ul.school li {
		width: 100%;
	}
}
@media screen and (max-width: 568px) {
	ul.school li {
		border-radius: 12px 0 12px 0;
	}
	ul.school li h3 {
		border-radius: 0;
		font-size: 1rem;
	}
	ul.school li p {
		margin: 1em;
	}
}


/* =========================================================
	募集要項（requirements table）
========================================================= */
section#requir {
	padding: 3em 0;
}
table.color {
	width: 100%;
	border-collapse: collapse;
}
table.color th,
table.color td {
	padding: 1.5em 1em;
	text-align: left;
	vertical-align: middle;
	border: 1px solid #f7bf61;
}
table.color th {
	width: 200px;
	background-color: #fceaca;
	font-weight: 600;
	white-space: nowrap;
}
table.color td {
	background-color: #fff;
}
table.nest {
	width: 100%;
	margin: 0;
}
table.nest th {
	background-color: transparent;
	border: none;
	text-align: left;
	vertical-align: top;
	padding: 0 1em 1em 0;
	font-weight: 600;
	width: 160px;
	white-space: nowrap;
}
table.nest td {
	background-color: transparent;
	border: none;
	padding: 0 0 1em;
}
table.nest tr:last-child th,
table.nest tr:last-child td {
	padding-bottom: 0;
}

@media screen and (max-width: 768px) {
	table.color,
	table.color tbody,
	table.color tr,
	table.color th,
	table.color td {
		display: block;
		width: 100%;
	}
	table.color th {
		border-bottom: none;
		white-space: normal;
	}
	table.color td {
		border-top: none;
	}
	table.nest th,
	table.nest td {
		display: block;
		width: 100%;
		padding: 0 0 0.25em;
	}
	table.nest tr {
		display: block;
		margin-bottom: 1em;
	}
}


/* =========================================================
	見学予約フォーム（reserve）
========================================================= */
.formWrap {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}
.formWrap table {
	width: 100%;
}
.formWrap table tr:nth-child(even) {
	background-color: #f9f5ec;
}
.formWrap table th {
	background-color: transparent;
	border: none;
	text-align: left;
	padding: 2em 1em 1em;
	vertical-align: top;
	width: 220px;
}
.formWrap table th label {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.formWrap table td {
	background-color: transparent;
	border: none;
	padding: 2em 1em 1em;
}
.formWrap input[type="text"],
.formWrap input[type="tel"],
.formWrap input[type="email"],
.formWrap textarea,
.formWrap select {
	background-color: #fff;
	border: 1px solid #999;
	padding: 0.6em;
	font-size: 1rem;
	font-family: inherit;
	border-radius: 0;
	appearance: none;
	-webkit-appearance: none;
}
.formWrap input[type="text"],
.formWrap input[type="tel"],
.formWrap input[type="email"] {
	width: 100%;
	max-width: 380px;
}
.formWrap textarea {
	width: 100%;
	max-width: 500px;
	height: 8em;
}
.formWrap .formDateRow {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.formWrap .radioList {
	display: flex;
	align-items: center;
	gap: 8px 24px;
	flex-wrap: wrap;
	padding-top: 0.6em;
}
.formWrap .radioList label {
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.formWrap span.req,
.formWrap span.any {
	display: inline-block;
	vertical-align: middle;
	padding: 0.4em 0.8em;
	margin-left: 0.5em;
	line-height: 1;
	font-size: 0.65rem;
	font-weight: 400;
	border-radius: 48px;
}
.formWrap span.req {
	background-color: #f4712c;
	color: #fff;
}
.formWrap span.any {
	background-color: #ccc;
	color: #fff;
}
.formWrap tfoot td {
	text-align: center;
	padding-top: 2em;
}
.formWrap input[type="submit"] {
	display: inline-block;
	cursor: pointer;
	font-weight: 600;
	font-size: 1.1rem;
	padding: 1em 4em;
	transition: all 0.15s linear;
	text-align: center;
	border: 1px solid #f4aa2d;
	background-color: #f4aa2d;
	color: #fff;
	border-radius: 9999px;
	appearance: none;
	-webkit-appearance: none;
}
.formWrap input[type="submit"]:hover {
	background-color: #fff;
	color: #f4aa2d;
}
.formArea__complete {
	max-width: 700px;
	margin: 0 auto;
	background-color: #fef6e9;
	border-radius: 8px;
	padding: 3em 2em;
	text-align: center;
	font-size: 1.1rem;
}
p.kome {
	color: #f4712c;
	margin-top: 1em;
}

@media screen and (max-width: 768px) {
	.formWrap input[type="text"],
	.formWrap input[type="tel"],
	.formWrap input[type="email"],
	.formWrap textarea {
		max-width: 100%;
	}
	.formWrap table,
	.formWrap tbody,
	.formWrap tr,
	.formWrap th,
	.formWrap td {
		display: block;
		width: 100%;
	}
	.formWrap table th {
		padding: 1em 0.5em 0;
	}
	.formWrap table td {
		padding: 0.5em 0.5em 1em;
	}
}


/* =========================================================
	lightbox（スタッフギャラリー）
========================================================= */
.js-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.85);
	padding: 40px;
}
.js-lightbox-overlay img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 4px;
}
.js-lightbox-close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 100vh;
	background: rgba(255,255,255,.9);
	border: 0;
	font-size: 22px;
	cursor: pointer;
}


/* =========================================================
	お問い合わせ（contact）
========================================================= */
section#contact {
	clear: both;
	position: relative;
	overflow: hidden;
	padding-top: 16%;
	padding-bottom: 16%;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../images/contact/contactImg__bg.jpg");
	background-size: cover;
	color: #fff;
	text-shadow: 0 0 4px rgba(0,0,0,0.5);
}
section#contact .inner {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	z-index: 2;
	background-color: rgba(99,129,43,0.35);
	padding: 0 4%;
	text-align: center;
}
section#contact h2 {
	text-align: center;
	margin-bottom: 0.75em;
	width: 100%;
}
section#contact dl,
section#contact dl dt,
section#contact dl dd {
	margin: 0;
}
section#contact a.phone {
	display: inline-flex;
	align-items: center;
	font-size: 3rem;
	color: #fff;
}
section#contact svg#phone {
	fill: #fff;
	height: auto;
	width: 24px;
	margin-right: 12px;
}

@media screen and (max-width: 960px) {
	section#contact {
		padding-top: 40%;
		padding-bottom: 40%;
	}
}
@media screen and (max-width: 568px) {
	section#contact {
		padding-top: 60%;
		padding-bottom: 60%;
	}
	section#contact a.phone {
		font-size: 2rem;
	}
	section#contact svg#phone {
		width: 16px;
	}
}
