@charset "utf-8";
/* CSS Document */
/* #right-contents、#middle-contents、#left-contents の3カラムパターン */

#middle-contents {
	background: #FFF;
}

#main img {
	width: 100%;
	height: auto;
}

#main01 img {
	max-width: 100%;
}

#main01 {
	display: flex;
	padding: 15px;
	justify-content: space-around;
	align-items: center;
}
#main01 div:first-of-type {
	margin-right: 10px;
}

#main02_03 {
	display: flex;
	gap: 10px;
	flex-direction: column;
	/*align-items: center;*/
}

.movie {
	margin: 0;
	padding: 10px;
}
.movie h3 {
	font-weight: 500;
	background: #BF244D;
	color: #FFF;
	text-align: center;
	padding: 5px 5px 7px;
	line-height: 1;
	font-size: 1.4rem;
	margin: 0;
}

/* new 更新情報 共通
-----------------------------------------------------*/
#content_info h3 {
	color: #FFF;
	padding: 6px 8px;
	line-height: 1;
	margin: 0;
  background: linear-gradient(-90deg, rgba(129,199,176,1.00) 0%, rgba(202,222,126,1.00));
	font-size: 1.8rem;
}

#content_info .new dl {
	height: 150px;
	overflow: auto;
	margin: 0;
	padding: 0;
}

/* トップメニューのバナー表示 */
.bn_area img {
	width: 100%;
	height: auto;
	max-width: 200px; /* バナーの最大幅 */
}
.bn_area a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}

@media print {
	.top_l_s {
		margin-bottom: 1em;
	}

	.top_l_b {
		display: none;
	}
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  margin: 15% auto;
  width: 60%;  /* モーダルウィンドウの横幅 */
	padding: 20px;
	line-height:1.2em;
	background: #fffaf0;
	border-top: 1px solid #FBEBCD;
}
.close-button {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
	text-align: right;
}
.close-button:hover,
.close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* 表示領域が767.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 767.98px) {
	#middle-contents {
		margin: 0;
	}

	#main01 {
		flex-direction: column;
	}
	
	#main02_03 {
		margin-top: 15px;
		flex-direction: row;
	}
	#content_info { /* 767.98以下 */
		margin: 10px;
		padding: 0;
		background: #FFF;
		border: 1px solid #152005;
	}
	#content_info .new dt {
		padding:0 5px;
	}
	#content_info .new dd {
		padding: 0 5px;
	}
}

/* 表示領域が768px以上の場合に適用するスタイル */
@media screen and (min-width: 768px) {
	#main01 {
		justify-content: space-around;
		flex-wrap: nowrap;
	}

	#content_info { /* 768px以上 */
		margin: 0;
		padding: 0;
		background: rgba(254,243,121,0.50);
		font-size: 1.4rem;
	}
	#content_info .new dt {
		width:90px;
		float: left;
		min-height:12px;
		height:auto!important;
		padding:5px 10px;
	}
	#content_info .new dd {
		padding: 5px 5px 5px 7em;
		margin: 0 0 10px 0;
	}
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	#contents,
	#contents-test {
		width: 100%;
		display: grid; 
		grid-template-columns: 1fr; 
		grid-template-rows: min-content min-content 1fr;
		gap: 0px 0px; 
		grid-template-areas: 
			"left-contents"
			"middle-contents"
			"right-contents";
	}

	#right-contents {
		background: hsla(0,0%,100%,0.70);
	}

	.bn_area { /* 以下 */
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.bn_area a {
		margin: 10px;
	}

	.top_l_b {
		display: none;
	}
	.top_l_s {
		visibility: visible;
		margin: 10px
	}

	.modal-content {
		width: 90%;
	}

}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	#contents,
	#contents-test {
		width: 100%;
		max-width: 1400px;
		margin: 0 auto;
		display: grid; 
		grid-template-columns: 250px auto 250px; 
		grid-template-rows: min-content auto;
		grid-template-areas: 
			"left-contents middle-contents right-contents";
	}
	#contents-test {
		grid-template-columns: 250px auto 250px; 
	}

	#left-contents {
		padding: 10px;
	}
	#right-contents {
		margin: 0;
		padding: 0;
		background: hsla(0,0%,100%,0.70);
		position: relative;
	}

	.bn_area {
		display: flex;
		flex-direction: column;
		text-align: center;
	}
	.bn_area {
		margin-top: 10px;
	}
	.bn_area a {
		margin-bottom: 10px;
	}

	/* トップメニューのバナー表示 */
	.top_l_b {
		visibility: visible;
	}
	.top_l_s {
		display: none;
	}
}