@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl {
	position: absolute;
	bottom: 15px;
	left: 50%;
	transform: translateX(-50%);
	width: 98%;
}
#top_ttl img,#slider img {
	width: 100%;
}
/* 挨拶 */
#top_msg {
	padding-top: 130px;
	margin-bottom: 230px;
}
#top_msg::before {
	background: url("../img/top/bg01.png") no-repeat top right/100%;
	width: 383px;
	height: 516px;
	left: auto;
	right: -7%;
	top: 5%;
}
#top_msg::after {
	background: url("../img/top/bg02.png") no-repeat top left/100%;
	width: 299px;
	height: 299px;
	left: -7%;
	top: 30%;
}
#top_msg .txt {
	font-size : 110%;
	line-height : 30px;
}
/* コンテンツ */
#top_contents {
	padding-bottom: 30px;
}
#top_contents:before {
	background: linear-gradient(rgba(0,64,152,0.3)),url("../img/top/bg03.jpg") no-repeat center/cover;
}
#top_contents .contents_box {
	display: grid;
	justify-content: center;
	grid-template-columns: repeat(2, 340px);
	grid-template-rows: auto;
	gap: 40px;
	margin-bottom: 60px;
}
#top_contents .contents_box.w3 {
	grid-template-columns: repeat(3, 340px);
}
#top_contents .contents_box.w2 dl:first-of-type {
	margin-top: -90px;
}
#top_contents .contents_box.w2  dl:nth-of-type(2) {
	margin-top: -120px;
}
#top_contents .contents_box.w3 dl:first-of-type {
	margin-top: 35px;
}
#top_contents .contents_box.w3 dl:last-of-type {
	margin-top: -35px;
}
#top_contents .contents_box dt img {
	width: 100%;
	object-fit: cover;
}
#top_contents .contents_box dd {
	padding: 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	background: #fff;
	min-height: 150px;
}
#top_contents .contents_box dd .ttl {
	font-weight : bold;
	font-size : 33px;
	color : #004098;
	text-align: center;
	line-height : 45px;
}
#top_contents .contents_box dd .sub {
	font-size : 18px;
	text-align: center;
	color : #004098;
}
#top_contents .contents_box dd .text {
	border-top: 1px dashed var(--color-primary);
	margin-top: 10px;
	padding-top: 10px;
}
#top_contents .btn01 a {
	position: absolute;
	bottom: -30px;
	left: calc(50% - 125px);
}
/* お知らせ */
#top_info {
	width: 860px;
	margin: 0 auto;
	padding: 180px 0;
}
#top_info h3.info {
	font-size : 120%;
	color : #004098;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}
#top_info h3.info::before {
	content: "";
	border: 1px solid #004098;
	width: 105px;
	height: 105px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%) rotate(-45deg);
}
#top_info .info_box {
	width: 700px;
}
#top_info .info_box dl {
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	padding: 25px;
	box-sizing: border-box;
	font-size : 110%;
}
#top_info .info_box dl:not(:first-of-type) {
	border-top: none;
}
#top_info .info_box dt {
	color : #004098;
}
@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: 100px;
	}
	#top_info dd {
		width: calc(100% - 100px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_msg {
		padding-top: 80px;
		margin-bottom: 180px;
	}
	#top_msg::before,#top_msg::after {
		width: 30%;
	}
	#top_contents .contents_box {
		grid-template-columns: repeat(2, 32%);
		margin-bottom: 30px;
	}
	#top_contents .contents_box.w3 {
		grid-template-columns: repeat(3, 32%);
		gap: 10px;
	}
	#top_contents .contents_box dd {
		min-height: 100px;
	}
	#top_contents .contents_box dd .sub {
		font-size: 95%;
	}
	#top_contents .contents_box dd .ttl {
		font-size: 115%;
		line-height: 1.2em;
	}
	#top_info {
		width: 100%;
		font-size: 100%;
		padding: 130px 0 80px;
	}
	#top_info h3.info {
		width: 100%;
		font-size: 100%;
		margin-bottom: 60px;
	}
	#top_info h3.info::before {
		width: 70px;
		height: 70px;
	}
	#top_info .info_box dl {
		font-size: 95%;
		padding: 15px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg {
		padding-top: 60px;
		margin-bottom: 160px;
	}
	#top_msg .txt {
		font-size: 96%;
		line-height: 1.8em;
		text-align: left;
	}
	#top_contents .contents_box {
		grid-template-columns: repeat(2, 48%);
		gap: 15px;
		margin-bottom: 0;
	}
	#top_contents .contents_box.w3 {
		display: flex;
		justify-content: center;
		flex-wrap: wrap;
	}
	#top_contents .contents_box dl {
		padding: 5px;
	}
	#top_contents .contents_box.w3 dl {
		width: 48%;
	}
	#top_contents .contents_box.w3 dl:first-of-type {
		margin-top: 25px;
	}
	#top_contents .contents_box.w3 dl:last-of-type {
		margin-top: 10px;
		margin-bottom: 20px;
	}
	#top_contents .contents_box dd {
		padding: 5px;
	}
	#top_contents .contents_box dd .sub {
		font-size: 85%;
	}
	#top_contents .contents_box dd .ttl {
		font-size: 100%;
	}
}
	@media only screen and (max-width: 320px) {

	}