@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
/* 挨拶 */
#top_msg {
	padding-bottom: 150px;
}
#top_msg .txt {
	font-size : 32px;
	letter-spacing : 3.2px;
	font-weight: 600;
}
#top_promise::before {
	background: #f5f5f5;
}
#top_promise::after {
	background: #fff;
	width: 100vw;
	height: 100px;
	clip-path: polygon(0 0, 0% 100%, 100% 0);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}
#top_promise .promise_contents {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(3, 31%);
	gap: 40px;
	margin: 100px 0 30px;
}
#top_promise .promise_contents .box {
	position: relative;
	background: #fff;
}
#top_promise .promise_contents .box::before {
	content: "";
	background: #064cce;
	width: 100%;
	height: 3px;
	position: absolute;
	top: -3px;
	left: 0;
}
#top_promise .promise_contents .box .num {
	position: absolute;
	width: 46px;
	height: 46px;
	background: #064cce;
	border-radius: 50%;
	top: -23px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 500;
}
#top_promise .promise_contents .num span {
	font-size : 21px;
	color : #fff;
}
#top_promise .promise_contents .txt_box {
	padding: 20px;
	padding-top: 10px;
}
#top_promise .promise_contents .ttl {
	font-size : 35px;
	line-height : 46px;
	color : #064CCE;
	font-weight: 600;
	text-align: center;
	margin: 20px 0;
}
#top_promise .promise_contents .ttl span {
	background: linear-gradient(transparent 80%, #ffcc00 80%);
}
#top_promise .promise_contents .txt {
	text-align: center;
}
#top_promise .fee_box {
	margin: 100px 0 80px;
	border: 2px solid #064cce;
	position: relative;
	background: #fff;
	padding: 60px 50px 50px;
	z-index: 0;
}
#top_promise .fee_box::before {
	content: "";
	background: url("../img/top/bg01.png") no-repeat bottom right/contain;
	width: 100%;
	height: 90%;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: -1;
}
#top_promise .fee_box h4.sub {
	background: linear-gradient(180deg,rgba(245, 245, 245, 1) 50%, rgba(255, 255, 255, 1) 50%);
	padding: 0 20px;
	position: absolute;
	top: -25px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
}
#top_promise .fee_box ul {
	width: 50%;
	margin-bottom: 20px;
}
#top_promise .fee_box li {
	font-size : 30px;
	font-weight: 600;
	padding-left: 45px;
	position: relative;
}
#top_promise .fee_box li::before {
	content: "";
	background: url("../img/chk.png") no-repeat top left/100%;
	width: 39px;
	height: 37px;
	position: absolute;
	top: 5px;
	left: 0;
}
#top_promise .fee_box .kome {
	text-indent: -1em;
	padding-left: 1em;
}
#top_promise .link_box {
	width: 750px;
	margin: 0 auto;
}
/* コンテンツ */
#top_contents {
	position: relative;
}
#top_contents:before {
	background: #f5f5f5 ;
}
#top_contents::after {
	content: ""; 
	background: url("../img/top/bg02.png") no-repeat top right/100%;
	width: 411px;
	height: 411px;
	position: absolute;
	top: -220px;
	right: -20px;
	z-index: -1;
}
#top_contents .contents_bg {
	position: relative;
}
#top_contents .contents_bg::before {
	content: "";
	background: #fff;
	width: 100vw;
	height: 100px;
	clip-path: polygon(0 100%, 100% 100%, 100% 0);
	position: absolute;
	top: auto;
	bottom: 0;
	left: 0;
	z-index: -1;
}
#top_contents .contents_box .txt_box {
	background: #fff;
	width: 550px;
	position: absolute;
	padding: 50px;
	box-sizing: border-box;
	top: 50%;
	left: 50%;
	transform: translateY(-50%)
}
#top_contents .contents_box {
	position: relative;
	margin-bottom: 80px;
}
#top_contents .contents_box.reverse {
	margin-bottom: 0;
}
#top_contents .contents_box .img_box {
	width: 55vw;
}
#top_contents .contents_box.reverse .img_box {
	margin-left: auto;
}
#top_contents .contents_box .img_box img {
	width: 100%;
	object-fit: cover;
}
#top_contents .contents_box .txt_box {
	background: #fff;
	width: 550px;
	position: absolute;
	padding: 50px;
	box-sizing: border-box;
	top: 50%;
	left: 50%;
	transform: translateY(-50%)
}
#top_contents .contents_box.reverse .txt_box {
	left: auto;
	right: 50%;
}
#top_contents .contents_box .txt_box::before {
	content: "";
	background: url("../img/key01.png") no-repeat top right/100%;
	width: 52px;
	height: 52px;
	transform: scale(-1,1);
	position: absolute;
	top: -1px;
	right: -1px;
}
#top_contents .contents_box .txt_box::after {
	content: "";
	background: url("../img/key02.png") no-repeat bottom left/100%;
	width: 52px;
	height: 52px;
	transform: scale(-1,1);
	position: absolute;
	bottom: -1px;
	left: -1px;
}
#top_contents .contents_box .txt_box .ttl {
	font-size : 52px;
	color : #064CCE;
	text-align: center;
	font-weight: 600;
	margin-bottom: 15px;
}
#top_contents .contents_box .txt_box .txt {
	font-size: 95%;
	line-height : 25px;
	text-align: center;
	margin-bottom: 20px;
}
#top_contents .contents_box .txt_box .btn03 a {
	position: absolute;
	bottom: -30px;
	left: 50%;
	transform: translateX(-50%);
}
/* お知らせ */
#top_info {
	width: 800px;
	margin: 0 auto;
}
#top_info dl {
	background: #f5f5f5;
	padding: 25px;
	box-sizing: border-box;
	margin: 10px 0;
}
#top_info dt {
	color : #009DE8;
}
@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-bottom: 80px;
	}
	#top_msg .txt {
		font-size: 130%;
	}
	#top_promise::after {
		height: 50px;
	}
	#top_promise .promise_contents {
		margin: 80px 0 30px;
		grid-template-columns: repeat(3, 32%);
		gap: 10px;
	}
	#top_promise .promise_contents .txt_box {
		padding: 15px;
	}
	#top_promise .promise_contents .ttl {
		font-size: 130%;
		margin: 0 0 15px;
	}
	#top_promise .promise_contents .txt {
		text-align: left;
	}
	#top_promise .fee_box {
		padding: 30px 15px 15px;
	}
	#top_promise .fee_box::before {
		height: 80%;
	}
	#top_promise .fee_box h4.sub {
		top: -14px;
	}
	#top_promise .fee_box li {
		font-size: 110%;
		padding-left: 25px;
	}
	#top_promise .fee_box li::before {
		width: 20px;
		height: 22px;
		top: 4px;
	}
	#top_promise .fee_box .kome {
		width: 70%;
	}
	#top_promise .link_box {
		max-width: 630px;
		width: auto;
		margin: 30px auto;
	}
	#top_contents .contents_bg::before {
		height: 50px;
	}
	#top_contents .contents_box .img_box {
		width: 80%;
		margin: 0 auto;
	}
	#top_contents .contents_box .img_box img {
		object-fit: cover;
		height: 200px;
	}
	#top_contents .contents_box .txt_box {
		position: relative;
		width: 80%;
		top: auto;
		left: auto;
		margin: 0 auto;
		transform: none;
		padding: 30px;
	}
	#top_contents .contents_box.reverse .txt_box {
		right: auto;
	}
	#top_contents .contents_box .txt_box .ttl {
		font-size: 150%;
	}
	#top_contents .contents_box.reverse {
		display: flex;
		flex-direction: column-reverse;
	}
	#top_info {
		width: 100%;
	}
	#top_info dl {
		padding: 15px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg {
		padding-bottom: 60px;
	}
	#top_msg .txt {
		font-size: 95%;
	}
	#top_promise::after {
		height: 30px;
	}
	#top_promise .promise_contents {
		grid-template-columns: 100%;
		gap: 50px;
	}
	#top_promise .promise_contents .box {
		width: 80%;
		margin: 0 auto;
	}
	#top_promise .promise_contents .box .num {
		width: 35px;
		height: 35px;
		top: -20px;
	}
	#top_promise .promise_contents .num span {
		font-size: 120%;
	}
	#top_promise .txt.rit {
		text-align: left;
		text-indent: -1em;
		padding-left: 1em;
	}
	#top_promise .fee_box {
		padding: 50px 15px 15px;
		margin-bottom: 40px;
	}
	#top_promise .fee_box h4.sub {
		top: -24px;
	}
	#top_promise .fee_box ul {
		width: 100%;
		margin-bottom: 0;
	}
	#top_promise .fee_box ul:last-of-type {
		margin-bottom: 20px;
	}
	#top_promise .fee_box::before {
		display: none;
	}
	#top_promise .fee_box .kome {
		width: 100%;
	}
	#top_promise .link_box {
		flex-direction: column;
		align-items: center;
	}
	#top_contents::after {
		width: 55%;
		height: 300px;
		top: -170px;
	}
	#top_contents .contents_bg::before{
		height: 30px;
	}
	#top_contents .contents_box .txt_box {
		padding: 15px;
	}
	#top_contents .contents_box .txt_box::before,#top_contents .contents_box .txt_box::after {
		width: 25px;
		height: 25px;
	}
	#top_info {
		margin-top: 60px;
	}
	
}
@media only screen and (max-width: 320px){ /* スマホ */
	#top_msg .txt {
		font-size: 3.5vw;
	}
	#top_contents .contents_box .img_box,#top_contents .contents_box .txt_box {
		width: 90%;
	}
	#top_promise .fee_box h4.sub {
		padding: 0 10px;
	}
	#top_promise .fee_box {
		padding-top: 40px;
	}
}