@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl {
	background: url("../img/top/bg-title.jpg") no-repeat center / cover;
	height: 700px;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* 挨拶 */
#top_msg {
	position: relative;
}
#top_msg::before, #top_msg::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 50%;
	height: 200px;
	background: url("../img/base-bg.jpg") no-repeat center /cover;
	clip-path: polygon(100% 0, 0 0, 0 100%);
	z-index: -1;
}
#top_msg::after {
	left: auto;
	right: 0;
	clip-path: polygon(100% 0, 0 0, 100% 100%);
}
#top_msg h3.tate {
	margin-bottom: 80px;
}
#top_msg .txt {
	font-size: 110%;
	letter-spacing : 3.2px;
	line-height: 2.5;
}
/* コンテンツ */
#top_contents:before {
	background: url("../img/base-bg.jpg");
	height: 680px;
	top: auto;
	bottom: 0;
}
#top_contents ul.shakun {
	margin: 0 0 120px;
}
#top_contents ul.shakun li {
	position: relative;
	width: 530px;
	height: 315px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	box-shadow: -10px 10px 20px rgba(39,72,107,0.2);
}
#top_contents ul.shakun li::before {
	content: "";
	height: 2px;
	width: 32px;
	position: absolute;
	top: -0px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	display: inline-block;
	z-index: 1;
	background: #28ace9;
	transform: rotate(-45deg);
}
#top_contents ul.shakun li img {
	max-width: 490px;
}
#top_contents ul.shakun li:nth-of-type(2) img {
	max-width: 500px;
}
#top_contents .company {
	position: relative;
	padding-right: 300px;
	justify-content: flex-start;
	align-items: flex-start;
}
#top_contents .company::before {
	content: "";
	position: absolute;
	right: -170px;
	top: -260px;
	width: 462px;
	height: 460px;
	background: url("../img/top/bg.png") no-repeat right top;
	z-index: -1;
}
#top_contents .company h3 {
	margin: 0;
	margin-right: 50px;
}
#top_contents .company .info {
	margin-top: 20px;
}
#top_contents .company .info h4 {
	font-size: 41px;
	color: var(--color-secondary);
	font-weight: normal;
	display: inline-block;
	border-bottom: 2px solid #28ace9;
	margin-bottom: 40px;
}
#top_contents .company .info .txt {
	font-size: 110%;
	line-height: 2.5;
	letter-spacing : 3.2px;
}
#top_contents .company .btn01 {
	position: absolute;
	right: 0;
	bottom: 0;
}
/* お知らせ */
#top_info h3.tate {
	font-size: 25px;
	margin-bottom: 80px;
}
#top_info .list {
	max-width: 900px;
	margin: 0 auto;
}
#top_info dl {
	border-top: 1px solid #e1e1e1;
	padding: 25px 0;
	letter-spacing : 2.8px;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #e1e1e1;
}
#top_info dl dt {
	color: var(--color-secondary);
}
@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 {
		height: 400px;
	}
	#top_ttl img {
		width: 70%;
	}
	#top_msg h3.tate {
		margin-bottom: 30px;
	}
	#top_msg .txt {
		letter-spacing: 2px;
		line-height: 2;
	}
	#top_contents:before {
		height: 500px;
	}
	#top_contents ul.shakun {
		margin-bottom: 50px;
	}
	#top_contents ul.shakun li {
		width: 49%;
		height: auto;
		padding: 20px;
	}
	#top_contents ul.shakun li img {
		max-width: 100% !important;
	}
	#top_contents .company {
		padding-right: 0;
	}
	#top_contents .company::before {
		top: -100px;
		right: -100px;
		width: 300px;
		height: 300px;
		background-size: 100% auto;
	}
	#top_contents .company .info {
		margin-top: 0;
	}
	#top_contents .company .btn01 {
		position: relative;
		margin: 0 auto;
	}
	#top_contents .company h3 {
		margin-right: 30px;
	}
	#top_contents .company .info h4 {
		font-size: 30px;
		margin-bottom: 20px;
	}
	#top_contents .company .info .txt {
		line-height: 2;
	}
	#top_info h3.tate {
		margin-bottom: 30px;
		font-size: 20px;
	}
	#top_info dl {
		padding: 15px 0;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_ttl {
		height: 280px;
	}
	#top_ttl img {
		width: 80%;
	}
	#top_msg::before, #top_msg::after {
		height: 100px;
	}
	#top_msg .txt {
		font-size: 105%;
		letter-spacing: 1px;
		line-height: 1.8;
	}
	#top_contents:before {
		height: 800px;
	}
	#top_contents ul.shakun li {
		width: 100%;
		margin-bottom: 20px;
	}
	#top_contents .company h3 {
		margin-right: 0;
		-ms-writing-mode: unset;
		writing-mode: unset;
		text-align: left;
		margin-bottom: 15px;
	}
	#top_contents .company .info h4 {
		font-size: 25px;
	}
	#top_contents .company .info .txt {
		font-size: 105%;
		letter-spacing: 1px;
	}
	#top_contents .company .btn01 {
		text-align: center;
	}
	#top_contents .company .btn01 a {
		text-align: left;
	}
	#top_info h3.tate {
		-ms-writing-mode: unset;
		writing-mode: unset;
		text-align: left;
		letter-spacing: 2px;
	}
	#top_info dl {
		padding: 10px 0;
		letter-spacing: 1px;
	}
}