@charset "utf-8";
/* CSS Document */
/* #right-contents、#middle-contents、#left-contents の3カラムパターン */

#middle-contents {
	background: #FFF;
}

#main {
	padding: 0;
	position: relative;
}

#main img {
	width: 100%;
	height: auto;
}

div.info-wrap {
	position: absolute;
	bottom: 0px;
	right: 0;
	padding: 20px 20px 5% 20px;
}

div.info-wrap div {
	padding-bottom: 10px; 
}
div.info-wrap img {
	max-width: 550px;
}

/* new 更新情報 共通
-----------------------------------------------------*/
#content_info h3 {
	color: #FFF;
	padding: 6px 8px;
	line-height: 1;
	margin: 0;
  background: linear-gradient(45deg, rgba(0,154,183,1.00) 0%, rgba(204,233,237,1.00));
	font-size: 1.8rem;
}

#content_info .new dl {
	height: 150px;
	overflow: auto;
	margin: 0;
	padding: 0;
	background: #F2F9F7;
}

/* トップメニューのバナー表示 */
.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;
	}
}

/* 表示領域が1199.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 1199.98px) {
	#contents {
		width: 100%;
		padding: 0;
		display: grid; 
		grid-template-columns: 250px 1fr; 
		grid-template-rows: 1fr min-content; 
		gap: 0px 0px; 
		grid-template-areas: 
    "left-contents middle-contents"
    "left-contents right-contents";
	}
	#left-contents {
		padding: 10px;
	}
	.bn_area { /* 以下 */
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
	}
	.bn_area a {
		margin: 10px;
	}
}

/* 表示領域が1200px以上の場合に適用するスタイル */
@media screen and (min-width: 1200px) {
	#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;
	}
}

/* 表示領域が992px以上の場合に適用するスタイル */
@media screen and (min-width: 992px) {
	/* トップメニューのバナー表示 */
	.top_l_b {
		visibility: visible;
	}
	.top_l_s {
		display: none;
	}
}

/* 表示領域が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";
	}
	#left-contents {
		padding: 0;
	}
	.top_l_b {
		display: none;
	}
	.top_l_s {
		visibility: visible;
		margin: 10px
	}
}

/* 表示領域が768px以上の場合に適用するスタイル */
@media screen and (min-width: 768px) {
	#content_info { /* 以下 */
		padding: 0;
		background: hsla(0,0%,100%,0.8);
	}
	#content_info .new dl {
		height: 200px;
	}
	#content_info .new dt {
		width:90px;
		float: left;
		min-height:12px;
		height:auto!important;
		padding:5px 15px;
	}
	#content_info .new dd {
		padding: 5px 5px 5px 7.5em;
		margin: 0 0 10px 0;
	}
}

/* 表示領域が767.98px以下の場合に適用するスタイル */
@media print, screen and (max-width: 767.98px) {
	#middle-contents {
		margin: 0;
	}

	div.info-wrap {
		padding: 10px 10px 2% 10px;
	}
	div.info-wrap div {
		padding-bottom: 5px; 
	}
	#content_info h3 {
		padding: 8px 10px 9px;
	}

	#content_info .new dl {
		height: 150px;
		font-size: 1.4rem;
	}
	#content_info .new dt {
		padding: 5px 15px 0;
		width: auto;
		float: inherit;
		min-height:auto;
		height:auto!important;
	}
	#content_info .new dd {
		padding: 0 15px 5px;
	}
}