@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
/* お知らせ */
#top_info {
	position: relative;
}
#top_info::before {
	background: url("../img/logo.png") no-repeat top -20px left -10px;
}
#top_info .list {
	width: 900px;
	margin: 0 auto;
}
#top_info .list dl {
	padding: 28px 0;
	border-top: 1px solid #d1d8d7;
	font-size: 110%;
}
#top_info .list dl:last-of-type {
	border-bottom: 1px solid #d1d8d7;
}
#top_info .list dl dt {
	color: var(--color-primary);
}
/* 挨拶 */
#top_msg {
	position: relative;
}
#top_msg .txt_area {
	width: 800px;
	font-size: 110%;
	line-height: 2.43;
}
#top_msg .txt_area .name {
	margin-top: 10px;
	font-size: 110%;
}
#top_msg .img {
	position: absolute;
	right: -230px;
	bottom: 50px;
}
/* コンテンツ */
#top_links {
	display: flex;
	margin-bottom: 150px;
}
#top_links a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 400px;
	width: calc(100% / 3);
	background: linear-gradient(rgba(27, 61, 56, 0.5)), url("../img/top/menu01.jpg") no-repeat center/cover;
	color: #fff;
	font-size: 110%;
}
#top_links a:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	background: linear-gradient(rgba(255, 255, 255, 0.5)), url("../img/top/menu01.jpg") no-repeat center/cover;
}
#top_links a:nth-of-type(2) {
	background: linear-gradient(rgba(27, 61, 56, 0.5)), url("../img/top/menu02.jpg") no-repeat center/cover;
}
#top_links a:nth-of-type(2):hover {
	background: linear-gradient(rgba(180, 180, 180, 0.5)), url("../img/top/menu02.jpg") no-repeat center/cover;
}	
#top_links a:nth-of-type(3) {
	background: linear-gradient(rgba(27, 61, 56, 0.5)), url("../img/top/menu03.jpg") no-repeat center/cover;
}
#top_links a:nth-of-type(3):hover {
	background: linear-gradient(rgba(255, 255, 255, 0.1)), url("../img/top/menu03.jpg") no-repeat center/cover;
}
#top_links a h3 {
	color: #fff;
	font-size: 40px;
	text-shadow: 0 0 3px rgba(27,61,56,0.5);
	line-height: 1;
	margin-bottom: 30px;
}
#top_links a .txt {
	text-shadow: 0 0 3px rgba(27,61,56,0.5);
	width: 340px;
	margin-bottom: 40px;
}
#top_links a .btn01 {
	text-align: center;
}
#top_links a:hover .btn01 span {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	border-color: var(--color-primary);
	color: var(--color-primary);
	background: #fff;
}
#top_links a:hover .btn01 span::before {
	border-top: solid 2px var(--color-primary);
	border-right: solid 2px var(--color-primary);
}
@media print, screen and (min-width: 769px){ /* PCのみ */
}
@media print, screen and (min-width: 641px){ /* PC・タブレット */
	/* お知らせ */
	#top_info dl {
		display: flex;
	}
	#top_info dt {
		width: 150px;
		text-align: center;
	}
	#top_info dd {
		width: calc(100% - 150px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_info .list {
		width: 100%;
	}
	#top_info .list dl {
		padding: 20px 0;
	}
	#top_msg .img {
		width: 300px;
		right: -100px;
	}
	#top_msg .txt_area {
		width: calc(100% - 220px);
	}
	#top_msg .txt_area {
		line-height: 1.8;
	}
	#top_links {
		margin-bottom: 100px;
	}
	#top_links a {
		height: 300px;
	}
	#top_links a h3 {
		font-size: 30px;
		margin-bottom: 20px;
	}
	#top_links a .txt {
		width: 90%;
		margin: 0 auto 15px;
	}
	#top_links a .btn01 span {
		width: 170px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_info::before {
		background-size: 40% auto;
	}
	#top_info .list dl {
		padding: 15px 0;
		font-size: 100%;
	}
	#top_msg {
		padding-bottom: 258px;
	}
	#top_msg .txt_area {
		width: 100%;
		font-size: 100%;
	}
	#top_msg .img {
		position: absolute;
		bottom: 20px;
		right: 50%;
		transform: translateX(calc(50% + 50px)); 
	}
	#top_links {
		display: block;
	}
	#top_links a {
		width: 100%;
		height: auto;
		font-size: 100%;
		padding: 30px 0;
	}
	#top_links a h3 {
		font-size: 20px;
		margin-bottom: 10px;
	}
}