@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#page_title {
	padding-bottom: 20%;
}
#page_title::before {
	content: "";
	background: url("../img/top/bg-h.png") no-repeat bottom left/contain;
	width: 100%;
	height: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
}
#top_ttl img {
	width: 90%;
}
/* 挨拶 */
#top_msg {
	position: relative;
	margin-top: -10%;
	z-index: 2;
}
#top_msg .txt_box {
	width: 1100px;
	background: #fff;
	border-radius: 50px;
	padding: 0 50px;
	box-sizing: border-box;
	margin-bottom: 30px;
}
#top_msg .txt_box .txt {
	width: calc(100% - 30%);
	line-height : 30px;
}
#top_msg .img_box {
	width: 32%;
	position: absolute;
	top: -50px;
	right: 0;
	margin-left: auto;
}
#top_msg .img_box img {
	object-fit: cover;
	width: 100%;
	border-radius: 50px 0 0 50px;
}
/* コンテンツ */
#top_contents {
	padding-bottom: 200px;
}
#top_contents:before {
	background: #ffef8f;
}
#top_contents::after {
	background: url("../img/bg-line01.jpg")repeat-x top center/contain;
}
#top_contents .contents_box .box {
	width: 530px;
	position: relative;
}
#top_contents .contents_box::before {
	background: url("../img/bg-line02.png")repeat-x bottom center /contain;
	top: auto;
	bottom: -18%;
	left: 0;
}
#top_contents .contents_box .box .img_box {
	position: relative;
}
#top_contents .contents_box .box .img_box::before {
	content: "";
	position: absolute;
	background: url("../img/arrow01.png") no-repeat bottom right/100%;
	width: 100px;
	height: 100px;
	bottom: 0;
	right: -2px;
}
#top_contents .contents_box .box .img_box img {
	border-radius: 0 50px 0 50px;
}
#top_contents .contents_box .box h3.sub {
	margin-bottom: 40px;
}
#top_contents .contents_box .box h3.sub .waku {
	width: 236px;
	left: 20px
}
#top_contents .contents_box .box h3.sub .en {
	margin-left: 280px;
}
#top_contents .contents_box .box .txt {
	margin-left: 20px;
	line-height : 30px;
}
/* お知らせ */
#top_info {
	width: 1000px;
	background: #fff;
	border-radius: 50px;
	margin: -100px auto 110px;
	padding: 50px;
	padding-bottom: 0;
}
#top_info dl {
	border-top: 1px solid #b79564;
	padding: 25px;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #b79564;
}
#top_links ul {
	width: 1000px;
	margin: 0 auto 80px;
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(3, 31%);
	gap: 40px 0;
}
@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 {
		margin-top: -80px;
	}
	#top_msg .txt_box {
		width: 90%;
		padding: 0 25px;
	}
	#top_msg .txt_box .txt {
		width: 100%;
	}
	#top_msg .img_box {
		position: relative;
		width: 50%;
		top: 0;
	}
	#top_contents {
		padding-bottom: 150px;
	}
	#top_contents .contents_box .box {
		width: 48%;
	}
	#top_contents .contents_box .box .img_box::before {
		width: 50px;
		height: 50px;
	}
	#top_contents .contents_box .box h3.sub {
		margin-bottom: 20px;
	}
	#top_contents .contents_box .box h3.sub .waku {
		width: 180px;
		left: 15px;
	}
	#top_contents .contents_box .box h3.sub .en {
		margin-left: 215px;
	}
	#top_contents .contents_box .box .txt {
		margin-left: 15px;
		line-height: 1.8em;
	}
	#top_info {
		width: 90%;
		padding: 25px;
		margin: -100px auto 60px;
	}
	#top_info dl {
		padding: 15px 0;
	}
	#top_links ul {
		width: 100%;
		gap: 20px 0;
		margin-bottom: 20px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg {
		margin-top: -30px;
	}
	#top_msg .txt_box {
		padding: 0 15px;
		border-radius: 30px;
	}
	#top_msg .txt_box .txt {
		line-height: 1.8em;
	}
	#top_msg .img_box {
		width: 80%;
	}
	#top_msg .img_box img {
		border-radius: 30px 0 0 30px;
	}
	#top_contents {
		padding-bottom: 120px;
	}
	#top_contents .contents_box::before {
		bottom: -3%;
	}
	#top_contents .contents_box .box {
		width: 90%;
		margin: 0 auto 30px;
	}
	#top_contents .contents_box .box:last-of-type {
		margin-bottom: 0;
	}
	#top_contents .contents_box .box h3.sub .waku {
		width: 130px;
	}
	#top_contents .contents_box .box h3.sub .en {
		margin-left: 155px;
	}
	#top_contents .contents_box .box .img_box img {
		border-radius: 0 30px 0 30px;
	}
	#top_info {
		padding: 15px;
		margin-bottom: 30px;
		border-radius: 30px;
	}
	#top_links ul {
		width: 100%;
		gap: 20px;
		margin-bottom: 20px;
		justify-content: flex-start;
		grid-template-columns: repeat(2, 47%);
	}
}