@charset "utf-8";
/* CSS Document */
/* #right-contents、#middle-contents、#left-contents の3カラムパターン */

#middle-contents {
	background: #FFF;
}

#main {
	background: url('../images/bg_img01.png') top center;
	background-size: cover;
	padding: 0;
}

#main img {
	width: 100%;
	height: auto;
}

.title-wrap {
  position: relative;
  overflow: hidden;
}
.title-wrap img {
	max-width: 700px;
	padding: 30px 15px;
}

/* 左から徐々に表示するアニメーション */
.theme-wrap {
  position: relative;
  overflow: hidden;
}
.theme-wrap img {
	padding: 30px 20px;
	max-width: 700px;
  /*object-fit: cover;
  clip-path: inset(0 100% 0 0);*/ /* 初期状態: 全て隠す */
  /*animation: clip-reveal 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;*/
}
@keyframes clip-reveal {
  100% {
    clip-path: inset(0 0 0 0); /* 最終状態: 全体を表示 */
  }
}

/* 2秒後にフェードイン */
.img-wrap {
	opacity: 0; /* 初期状態を非表示に設定 */
  animation: fade-in 3s ease-in-out; /* アニメーションの継続時間とイージング */
  animation-delay: 0s; /* 1秒後に開始 */
  animation-fill-mode: forwards; /* アニメーション後の状態を保持 */
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

div.info-wrap {
  padding: 0 20px 20px;
  /*animation: fadeIn 2s ease-out 0s 1 normal backwards;
  animation-delay: 2s;*/ /* 2秒後に開始 */
	margin: 0 auto;
	max-width: 750px;
}

/* 	上からフェードイン */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-300px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.date_area {
	max-width: 525px;
	margin-bottom: 2.5rem;
}

.movie {
	margin: 0;
	padding: 10px;
}
.movie h3 {
	font-weight: 500;
	background: #EE86AE;
	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(45deg, rgba(0,104,183,1.00) 0%, rgba(0,170,232,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) {
	#content_info { /* 768px以上 */
		margin: 0;
		padding: 0;
		background: #FFF;
		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 {
		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 {
		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";
	}
	#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;
	}
}