@charset "utf-8";
/* CSS Document */
/* #right-contents、#middle-contents、#left-contents の3カラムパターン */

#middle-contents {
	background: #EBF4F9;
}
#main_in {
	position: relative;
}
#main_area {
	background: #EBF4F9;
}

#main01 img,
#main01_en img,
.reg img,
.reg_en img {
	width: 100%;
	height: auto;
}
.reg img {
	max-width: 500px;
}
.reg_en img {
	max-width: 500px;
}

a.poster {
	width: 100%;
	max-width: 225px;
	display: block;
	margin: 0 auto;
}
figure.hover-parent {
 height: auto;
 position: relative;
 margin: 10px auto 30px;
 overflow: hidden;
}
figcaption.hover-mask {
	width: 100%;
	max-width: 225px;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	color: #fff;
	display: flex;
	align-items: center;
	text-align: center;
	flex-direction: column;
	padding: 70px 30px 30px;
	transition:all 0.6s ease;
	font-weight: 700;
	font-size: 1.8rem;
}
figcaption.hover-mask i {
	font-size: 3rem;
}
figure.hover-parent:hover .hover-mask {
	opacity: 1;
}

a.poster2 {
	width: 100%;
	max-width: 280px;
	display: block;
	margin: 0 auto;
}
figure.hover-parent2 {
 height: auto;
 position: relative;
 margin: 10px auto 30px;
 overflow: hidden;
}
figure.hover-parent2 img {
  width: 100%;
  max-width: 300px;
}
figcaption.hover-mask2 {
	width: 100%;
	max-width: 280px;
	height: auto;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	color: #fff;
	display: flex;
	align-items: center;
	text-align: center;
	flex-direction: column;
	padding: 15px 30px 0;
	transition:all 0.6s ease;
	font-weight: 700;
	font-size: 1.8rem;
}
figcaption.hover-mask2 p {
	margin-bottom: 3px;
}
figcaption.hover-mask2 i {
	font-size: 3rem;
}
figure.hover-parent2:hover .hover-mask2 {
	opacity: 1;
}

.movie {
	margin: 0;
	padding: 10px;
}
.movie h3 {
	font-weight: 500;
	background: #000;
	text-align: center;
	padding: 5px 5px 7px;
	line-height: 1;
	font-size: 1.4rem;
	margin: 0;
	color: #FFF;
}

/* new 更新情報 共通
-----------------------------------------------------*/
.news-panel {
  margin: 10px 15px 15px;
  position:relative;
  z-index:3;
  background:rgba(255,255,255,.92);
  border-radius:15px;
  padding:22px 28px;
  box-shadow:0 8px 10px rgba(0,64,120,.12);
}
.section-title {
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid var(--line);
  padding-bottom:10px;
}
.section-title h2 {
  font-size:20px;
  color:#004c91;
  margin:0;
}
.section-title a {
  margin-left:auto;
  color:#004c91;
  font-weight:700;
  text-decoration:none;
}
.news-list {
  list-style:none;
  margin:10px 0 0;
  padding:0;
}
.news-list li {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dotted var(--line);
  align-items: center;
}
.news-list time {
  font-weight:700;
}

.news-list a {
  color: #1d3146;
  text-decoration: none
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin: 0 15px 30px;
  grid-template-rows: auto;
}

.quick-card {
  background: #fff;
  border: 2px solid #c5ddef;
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  padding: 24px 18px;
  box-shadow: 0 8px 10px rgba(0,64,120,.1);
  transition: .2s
}

.quick-card {
	display: grid;
	grid-template-rows: subgrid; /* ここでSubgridを使用 */
	grid-row: span 4; /* 4行分のスペースを占めるように調整 */
  overflow: hidden;
  background: #fff;
	filter: drop-shadow(-5px -5px 10px #ffffff) drop-shadow(5px 5px 10px #ededed);
}

.quick-card h3 {
  padding: 0;
  margin: 0;
  line-height: 1.2em;
	font-size: clamp(2rem, calc(2rem + ((1vw - 0.36rem) * 0.5435)), 2.5rem);
  min-height: 0vw;
}

.quick-card p {
  padding: 0;
  margin: 0;
  line-height: 1.5em;
  color: #8a8a8f;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,64,120,.16)
}

.quick-card h3 {
  margin: 0;
  font-size: 2.4rem;
  color: #005cab;
  font-weight: 600;
}

.quick-card.green h3 {
  color: var(--green)
}

.quick-card.orange h3 {
  color: #ef6c00
}

.card-icon {
  font-size: 54px;
}

.quick-card p {
  font-size: 1.4rem;
  min-height: 30px
}

.quick-card span {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 28px;
  font-weight: 800
}

/* トップページ下のバナー表示 */
.ad_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px;
	background: #FFF;
}
.ad_area div {
	margin: 10px;
}
.ad_area img {
	width: 100%;
	height: auto;
	max-width: 280px; /* バナーの最大幅 */
}
.ad_area img {
	width: 100%;
	height: auto;
	max-width: 280px; /* バナーの最大幅 */
}
.ad_area a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}

/* トップメニューのバナー表示 */
.bn_area img {
	width: 100%;
	height: auto;
	max-width: 210px; /* バナーの最大幅 */
}
.bn_area a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
	-ms-filter: "alpha(opacity=70)";
}

.bn_area {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	padding: 10px;
	gap: 10px;
}

.sns_area {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	padding: 0 10px 10px;
}
.sns_area img {
	width: 40px;
	height: 40px;
}

@media print {
	.top_l_s {
		margin-bottom: 1em;
	}

	.top_l_b {
		display: none;
	}
}

/* 表示領域が1198.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 1198.98px) {
  .news-panel {
    margin: 20px 18px
  }

  .news-list li {
    grid-template-columns: 1fr;
    gap: 4px
  }
  
  .info-card {
    margin-top: 45px
  }

  .quick-cards {
    grid-template-columns: repeat(1,1fr);
    margin: 0 18px 28px
  }
}

/* 表示領域が1199.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 1199.98px) {
	#contents {
		width: 100%;
		display: grid; 
		grid-template-columns: 230px 1fr; 
		grid-template-rows: 1fr min-content; 
		gap: 0px 0px; 
		grid-template-areas: 
    "left-contents middle-contents"
    "left-contents right-contents"; 
	}
	#right-contents {
		padding: 0 0 10px;
		background: lavender;
	}
}

/* 表示領域が991.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 991.98px) {
	#main_in {
		padding:  0;
		margin: 0 auto;
	}

  .bn_area {
    background: #E8EFF6;
	}

	.movie h3 {
		font-size: 1.8rem;
	}

	.top_l_b { /* 以下 */
		display: none;
	}
	.top_l_s {
		visibility: visible;
		padding: 10px;
		background: #E8EFF6;
  }

	#main01,
	#main01_en {
		margin: 0;
	}
  .quick-cards {
    grid-template-columns: repeat(1,1fr);
  }
}

/* 表示領域が1200px以上の場合に適用するスタイル */
@media screen and (min-width: 1200px) {
	#contents {
		width: 100%;
		max-width: 1500px;
		margin: 0 auto;
		display: grid; 
		grid-template-columns: 230px auto 300px; 
		grid-template-rows: min-content auto;
		grid-template-areas: 
			"left-contents middle-contents right-contents";
	}
	#right-contents {
		margin: 0;
		padding: 0;
		position: relative;
	}
}
/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	#main01 { /* 以上 */
		margin: 0;
	}
	#main01_en { /* 以上 */
		margin: 0;
	}

	/* トップメニューのバナー表示 */
	.top_l_b {
		visibility: visible;
		margin-top: 20px;
	}
	.top_l_s {
		display: none;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 767.98px) {
	#contents {
		width: 100%;
		display: grid; 
		grid-template-columns: 1fr; 
		grid-template-rows: min-content 1fr min-content; 
		gap: 0px 0px; 
		grid-template-areas: 
			"left-contents"
			"middle-contents"
			"right-contents"; 
	}
}
