@charset "utf-8";

body {
	margin: 0;
	font-family: "Noto Sans", sans-serif;
	background: #F4F6F9;
}

a {}

img {
	vertical-align: top;
}

header {
	background: #FFF;
	box-shadow: 0px 2px 4px 0px rgba( 0, 0, 0, 0.03);
}
header .h_contents {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}
header .h_contents .logo h1 {
	margin: 35px 0 20px;
}
header .h_contents .link {
	display: flex;
}
header .h_contents .link a {
	display: block;
	width: 140px;
	height: 40px;
	line-height: 40px;
	color: #221715;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border: solid 1px #221715;
	border-radius: 20px;
}
header .h_contents .link a:hover {
	opacity: 0.5;
}
header .h_contents .link a:first-child {
	margin-right: 30px;
}
header .h_contents .link a span {
	display: flex;
	justify-content: center;
}
header .h_contents .link a span img {
	margin-left: 10px;
}

footer {
	margin-top: 160px;
	background: #305B85;
}
footer .f_contents {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}
footer .f_contents .logo_area .logo {
	margin: 45px 0 20px;
}
footer .f_contents .logo_area .copyright {
	margin-bottom: 25px;
	color: #9AB5CE;
	font-size: 10px;
	font-weight: bold;
}
footer .f_contents .link {
	display: flex;
}
footer .f_contents .link a {
	display: block;
	width: 140px;
	height: 40px;
	line-height: 40px;
	color: #FFF;
	font-size: 15px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
	border: solid 1px #FFF;
	border-radius: 20px;
}
footer .f_contents .link a:hover {
	opacity: 0.5;
}
footer .f_contents .link a:first-child {
	margin-right: 30px;
}
footer .f_contents .link a span {
	display: flex;
	justify-content: center;
}
footer .f_contents .link a span img {
	margin-left: 10px;
}

.contents {
	max-width: 1140px;
	margin: 80px auto;
	padding: 0 20px;
}

.contents h2 {
	margin: 0;
	padding-bottom: 10px;
	color: #2F5B84;
	font-size: 22px;
	font-weight: bold;
	border-bottom: solid 3px #E0E0E0;
	position: relative;
}
.contents h2::after {
	content: '';
	width: 120px;
	height: 3px;
	background: #305B85;
	position: absolute;
	left: 0;
	bottom: -3px;
}

.contents .movie_area {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 50px 30px;
	margin-top: 40px;
}
.contents .movie_area .box .thumbnail img {
	max-width: 100%;
}
.contents .movie_area .box .thumbnail img:hover {
	cursor: pointer;
	opacity: 0.6;
}
.contents .movie_area .box .title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 20px 0 15px;
}
.contents .movie_area .box .title p {
	margin: 0;
	font-size: 18px;
	font-weight: bold;
}
.contents .movie_area .box .title span {
	display: block;
	width: 64px;
	height: 26px;
	line-height: 26px;
	color: #FFF;
	font-size: 12px;
	text-align: center;
	border-radius: 6px;
	background: #305B85;
}
.contents .movie_area .box .description {
	color: #666;
	font-size: 14px;
}


@media screen and (max-width: 900px) {

	.contents .movie_area {
		grid-template-columns: 1fr 1fr;
	}

}


@media screen and (max-width: 768px) {

	header .h_contents {
		justify-content: center;
		max-width: unset;
	}
	header .h_contents .logo h1 {
		width: 260px;
		margin: 20px 0 10px;
	}
	header .h_contents .logo h1 img {
		max-width: 100%;
	}
	header .h_contents .link {
		display: none;
	}

	footer {
		margin-top: 80px;
	}
	footer .f_contents {
		display: block;
		max-width: unset;
		padding: 30px 10px 20px;
	}
	footer .f_contents .logo_area .logo {
		margin: 30px 0 20px;
	}
	footer .f_contents .logo_area .copyright {
		margin-bottom: 0;
	}
	footer .f_contents .link {
		justify-content: center;
	}
	footer .f_contents .link a:first-child {
		margin-right: 15px;
	}

	.contents {
		max-width: unset;
		margin: 40px auto;
	}

	.contents h2 {
		padding-bottom: 8px;
		font-size: 18px;
	}

	.contents .movie_area {
		grid-template-columns: 1fr 1fr;
		gap: 40px 20px;
		margin-top: 40px;
	}
	.contents .movie_area .box .title {
		display: block;
		margin: 12px 0;
	}
	.contents .movie_area .box .title p {
		margin-bottom: 8px;
		font-size: 16px;
	}
	.contents .movie_area .box .description {
		font-size: 13px;
	}

}

/*
 * モーダル
 */
.modal {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	background: rgba(0,0,0,0.8);
	overflow: auto;
}
.modal-content {
	width: 90%;
	max-width: 800px;
	background: #fff;
	box-shadow: 0 0 30px rgba(0,0,0,0.5);
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.modal video {
	display: block;
	width: 100%;
	height: auto;
}
.modal-close {
	color: #fff;
	font-size: 50px;
	line-height: 1;
	cursor: pointer;
	position: fixed;
	top: 14px;
	right: 20px;
	z-index: 10000;
}
.modal-close:hover {
	opacity: 0.6;
}

