@charset "utf-8";

@media screen and (min-width: 521px) {
	body {
		min-width: 1120px;
	}
	.main {
		padding-bottom: 13px;
	}
	.inner {
		width: 840px;
	}
	.sp_only {
		display: none;
	}
}
@media screen and (max-width: 520px) {
	.main {
		padding-bottom: 16px;
		margin-top: -3px;
	}
	.inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.pc_only {
		display: none;
	}
}



.main {
	background-color: #F5F5F5;
	position: relative;
}
.inner {
	margin: auto;
}

main header h2 {
	margin-bottom: 1em;
	font-size: 2em;
}
@media screen and (min-width: 521px) {
	main header h2 {
		margin-top: -1em;
	}
	#mainMovie iframe {
		width: 840px;
		height: 472.5px;
	}
}
@media screen and (max-width: 520px) {
	#mainMovie iframe {
		width: 100%;
		height: calc((100vw - 40px) * 9 / 16);
	}
}
#archive {
	margin-top: 3em;
}
#archive header h3 {
	font-size: 1.3em;
}

.movie_listitem {
	position: relative;
}
.movie_listitem:nth-child(3n) {
	margin-right: 0;
}
.movie_thumb {
	display: block;
	position: relative;
	overflow: hidden;
	color: #fff;
	cursor: pointer;
	border-color: #fff;
	border-style: solid;
	border-right-color: #cdcdcd;
	border-bottom-color: #cdcdcd;
}
.movie_thumb_in {
	position: relative;
	overflow: hidden;
	background-color: #002063;
}
.movie_thumb_in::after {
	content: url(../images/ico_play.svg);
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	transform: translate(-50%, -50%);
}
.txtArea {
	padding: 5%;
	background-color: #fff;
}
.movie_date {
	color: #002063;
	font-weight: 600;
	text-align: center;
	pointer-events: none;
	text-align: left;
}
.txtArea .movie_title {
	margin-top: .5em;
	padding-top: .5em;
	border-top: 1px solid #000;
	font-weight: bold;
}
.btn_back_wrap {
	text-align: center;
}
.btn_back {
	color: #002063;
	background-color: #fff;
	font-weight: 600;
	position: relative;
}
.btn_back::before,
.btn_back::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	margin: auto;
	height: 10px;
}
.btn_back::before {
	bottom: -12px;
	width: 8px;
	right: 20px;
	border-top: 1px solid #002063;
	transform: rotate(40deg);
}
.btn_back::after {
	bottom: 0;
	right: 18px;
	width: 18px;
	border-bottom: 1px solid #002063;
}
/* pc */
@media screen and (min-width: 521px) {
	.main {
		padding-top: 75px;
		padding-bottom: 120px;
	}
	.inner {
		width: 840px;
	}
	.movie_list {
		margin-top: 12px;
		font-size: 0;
	}
	.movie_listitem {
		display: inline-block;
		vertical-align: top;
		width: 264px;
		margin-right: 23px;
		margin-top: 32px;
	}
	.movie_thumb {
		border-width: 4px;
	}
	.movie_thumb_in {
		border: 2px solid #002063;
	}
	.movie_thumb_in > img {
		transform: scale(1.01);
		transition: transform .3s;
		transform-origin: center center;
	}
	.movie_thumb:hover .movie_thumb_in > img {
		transform: scale(1.08);
	}
	.movie_thumb_in::after {
		width: 51px;
		height: 51px;
	}
	.txtArea p { 
		font-size: 14px;
	}
	.btn_back_wrap {
		margin-top: 46px;
	}
	.btn_back {
		border: 3px solid #002063;
		padding: 10px 30px 10px 10px;
		font-size: 18px;
		width: 380px;
	}
}
/* sp */
@media screen and (max-width: 520px) {
	.main {
		padding-top: 36px;
		padding-bottom: 90px;
	}
	.inner {
		padding-left: 20px;
		padding-right: 20px;
	}
	.movie_list {
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		margin-top: 9px;
	}
	.movie_listitem {
		width: 48.36%;
		margin-top: 20px;
	}
	.movie_thumb {
		border-width: 3px;
	}
	.movie_thumb_in {
		border: 1px solid #002063;
	}
	.movie_thumb_in::after {
		width: 28px;
		height: 28px;
	}
	.txtArea p { 
		font-size: 11px;
	}
	.btn_back_wrap {
		margin-top: 32px;
	}
	.btn_back {
		border: 4px solid #002063;
		padding: 8px 60px 8px 45px;
		font-size: 16px;
	}
}

/* .modalOverlay */
.modalOverlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 102;
	display: none;
}
.modal {
	position: fixed;
	top: calc( 50% + 50px );
	left: 50%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 800px;
	background-color: rgba(159, 61, 72, 0.64);
	z-index: 102;
	display: none;
}
.ytplayerWrap {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 56.25%;
}
.modal iframe {
	position: absolute;
	top: 0;
	right: 0;
	width: 100% !important;
	height: 100% !important;
	background-color: rgba(50, 149, 159, 0.44);
}
.modal_button {
	position: absolute;
	top: 0;
	right: 0;
	transform: translateY(-100%);
	border: none;
	width: 8%;
	height: 0;
	padding: 8% 0 0;
	background: none;
	cursor: pointer;
	transition: opacity 0.3s ease;
	background: url(../images/modal_close.svg) no-repeat;
	background-size: 100% auto;
}
.modal_button:hover {
	opacity: 0.8;
}
/* pc */
@media screen and (min-width:641px) and (max-width:1500px) {
    /* 動画表示の調整 */
    .modal {
        max-width: 700px;
    }
}
@media screen and (min-width: 521px) {
	.modal_button {
		width: 48px;
		padding-top: 56px;
	}
}
/* sp */
@media screen and (max-width: 520px) {
	.modal_button {
		width: 25px;
		padding-top: 27px;
	}
}

.mutualBanner {
	margin-top: 3em;
	text-align: center;
}
