@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl {
	position: relative;
}
#top_ttl img:first-of-type {
	width: 100%;
}
#top_ttl img.img_txt {
	position: absolute;
	bottom: -70px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
@media print, screen and (min-width: 769px){ /* PCのみ */
	#top_ttl img.bg {
		object-fit: cover;
		object-position: bottom;
		height: 96vh;

	}
}
#page_title .txt {
	margin-top: 50px;
	font-size: 25px;
	font-weight: 500;
}
#top_menu .box {
	position: relative;
	margin-bottom: 100px;
	min-height: 400px;
}
#top_menu .box:last-of-type {
	margin-bottom: 0;
}
#top_menu .box .img {
	position: absolute;
	left: calc(50% - 50vw);
	width: calc( (100vw - 1100px) / 2 + (1100px - 600px) );
}
#top_menu .box:last-of-type .img {
	width: calc( (100vw - 1100px) / 2 + (1100px - 660px) );
}
#top_menu .box .img::before {
	content: "";
	background: url("../img/top/bg01.png") no-repeat center / 100% auto;
	width: 147px;
	height: 147px;
	position: absolute;
	top: -50px;
	left: 0;
	z-index: -1;
}
#top_menu .box:last-of-type .img::before {
	top: 150px;
	left: -90px;
}
#top_menu .box:last-of-type .img {
	left: auto;
	right: calc(50% - 50vw);
}
@media only screen and (max-width: 1150px) {
	#top_menu .box .img {
		left: -30px;
		width: 500px;
	}
	#top_menu .box:last-of-type .img {
		width: 500px;
		left: auto;
		right: -30px;
	}
}
#top_menu .box .img img {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	border-radius: 0 5px 5px 0;
}
#top_menu .box:last-of-type .img img {
	border-radius: 5px 0 0 5px;
}
#top_menu .box .info {
	width: 50%;
	margin-left: auto;
	position: relative;
}
#top_menu .box .info::before {
	content: "";
	background: url("../img/top/bg02.png") no-repeat center / 100% auto;
	width: 337px;
	height: 423px;
	position: absolute;
	top: -150px;
	right: -180px;
	z-index: -1;
}
#top_menu .box:last-of-type .info {
	margin-left: 0;
	margin-right: auto;
}
#top_menu .box:last-of-type .info::before {
	background: url("../img/top/bg03.png") no-repeat center / 100% auto;
	width: 488px;
	height: 338px;
	top: auto;
	right: auto;
	bottom: -120px;
	left: -160px;
}
#top_menu .box .info h3.sub {
	text-align: left;
	font-size: 61px;
	line-height: 1;
}
#top_menu .box .info h3.sub span {
	font-size: 21px;
	font-weight: normal;
	margin-left: 30px;
}
#top_menu .box .info .txt {
	line-height: 1.9;
	font-size: 110%;
	margin-bottom: 50px;
}
#top_menu .box .info .btn01 {
	text-align: right;
}
#top_menu .box .info .btn01 a {
	text-align: left;
}
#top_menu_sub:before {
	background: #f4f4f4;
}
#top_menu_sub .box {
	width: 530px;
	background: #fff;
	border-radius: 5px;
}
#top_menu_sub .box dl {
	position: relative;
	padding: 20px 20px 40px;
}
#top_menu_sub .box dl dt {
	color: var(--color-primary);
	font-size: 35px;
	font-weight: bold;
	margin-bottom: 10px;
}
#top_menu_sub .box dl dd .txt {
	font-size: 110%;
	line-height: 1.9;
}
#top_menu_sub .box dl dd .btn01 {
	margin-bottom: 0;
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
/* お知らせ */
#top_info .list {
	max-width: 900px;
	margin: 0 auto;
}
#top_info dl {
	border-top: 1px solid #e1e1e1;
	padding: 25px 0;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #e1e1e1;
}
#top_info dl dt {
	color: 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: 140px;
		text-align: center;
	}
	#top_info dd {
		width: calc(100% - 140px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_ttl img.img_txt {
		width: 500px;
		bottom: -40px;
	}
	#page_title .txt {
		margin-top: 30px;
		font-size: 20px;
	}
	#top_info dl {
		padding: 15px 0;
	}
	#top_menu .box {
		margin-bottom: 50px;
		min-height: auto;
	}
	#top_menu .box .img {
		position: relative;
		margin: 0 auto 20px;
		left: auto;
	}
	#top_menu .box:last-of-type .img {
		right: auto;
	}
	#top_menu .box .info {
		width: 100%;
	}
	#top_menu .box .info h3.sub {
		font-size: 40px;
	}
	#top_menu .box .info h3.sub span {
		font-size: 18px;
	}
	#top_menu .box .info .txt {
		margin-bottom: 20px;
		line-height: 1.7;
		font-size: 105%;
	}
	#top_menu_sub .box {
		width: 49%;
	}
	#top_menu_sub .box dl dt {
		font-size: 30px;
		line-height: 1;
		margin-bottom: 15px;
	}
	#top_menu_sub .box dl dd .txt {
		line-height: 1.7;
		font-size: 105%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_ttl img.img_txt {
		bottom: -25px;
		width: 90%;
	}
	#page_title .txt {
		font-size: 18px;
	}
	#top_menu .box .img, #top_menu .box:last-of-type .img {
		width: 100%;
	}
	#top_menu .box .info h3.sub {
		font-size: 30px;
	}
	#top_menu .box .info h3.sub span {
		margin-left: 15px;
		font-size: 16px;
	}
	#top_menu .box .info .txt {
		line-height: 1.6;
		font-size: 100%;
	}
	#top_menu_sub .box {
		width: 100%;
		margin-bottom: 70px;
	}
	#top_menu_sub .box:last-of-type {
		margin-bottom: 30px;
	}
	#top_menu_sub .box dl {
		padding: 15px 15px 30px;
	}
	#top_menu_sub .box dl dt {
		font-size: 25px;
	}
	#top_menu_sub .box dl dd .txt {
		line-height: 1.6;
		font-size: 100%;
	}
	#top_menu_sub .box dl dd .btn01 {
		bottom: -23px;
	}
	#top_info dl {
		padding: 10px 0;
	}
}