@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
/* 挨拶 */
#top_msg .main {
	position: relative;
}
#top_msg .txt {
	font-size: 110%;
	width: 790px;
	margin-bottom: 50px;
	line-height: 2;
}
#top_msg .txt b {
	font-size: 120%;
}
#top_msg .img {
	position: absolute;
	right: -8px;
	top: 5px;
}
#top_msg .img::before {
	content: "";
	background: url("../img/top/bg.png") no-repeat center / 100% auto;
	width: 1138px;
	height: 894px;
	position: absolute;
	right: -560px;
	top: -240px;
	z-index: -1;
}
#top_msg .btns {
	display: flex;
	gap: 0 50px;
}
#top_imgs {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
}
#top_imgs img {
	width: 20%;
}
/* コンテンツ */
#top_service {
	position: relative;
	background: #06b5ee;
	overflow: hidden;
}
#top_service::before, #top_service::after {
	content: "SERVICE";
	font-family: var(--font-racing);
	color: rgba(255, 255, 255, 0.2);
	font-size: 124px;
	line-height: 1;
	position: absolute;
	top: -30px;
	left: -10px;
}
#top_service::after {
	content: "MACHINE";
	top: auto;
	left: auto;
	right: -10px;
	bottom: -20px;
}
#top_service .box {
	width: 500px;
	background: #fff;
	border-radius: 30px;
	position: relative;
	border: 10px solid #e6f7fd;
}
#top_service .box::before {
	content: "";
	background: url("../img/ico01.png") no-repeat center / 100% auto;
	width: 27px;
	height: 35px;
	position: absolute;
	top: -20px;
	z-index: 1;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
#top_service .box h3 {
	border-bottom: none;
	font-size: 50px;
	text-align: center;
	padding: 15px 0 20px;
}
#top_service .box .img {
	margin-bottom: 30px;
}
#top_service .box .img img {
	max-width: 500px;
	position: relative;
	left: -10px;
}
#top_service .box .txt {
	padding: 0 30px 40px;
	font-size: 110%;
}
#top_service .box .btn01 {
	margin-bottom: 0;
	position: absolute;
	bottom: -40px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
}
#top_service .box .btn01 a {
	width: 200px;
}
/* お知らせ */
#top_info {
	background: url("../img/top/bg-contact01.png") no-repeat left 50px top -20px, url("../img/top/bg-contact02.png") no-repeat right -30px bottom 20px;
	margin-bottom: 30px;
}
#top_info h3 {
	font-size: 31px;
	margin-bottom: 30px;
}
#top_info .list {
	width: 900px;
	margin: 0 auto;
}
#top_info dl {
	background: #fff;
	margin: 10px;
	border-radius: 20px;
	padding: 20px;
	font-size: 110%;
}
#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;
		justify-content: space-between;
	}
	#top_info dt {
		width: 120px;
		text-align: center;
	}
	#top_info dd {
		width: calc(100% - 130px);
	}
}
@media only screen and (max-width: 768px) and (min-width: 641px){ /* タブレットのみ */
}
@media only screen and (max-width: 768px) {  /* タブレット以下 */
	#top_msg .txt {
		width: 70%;
		margin-bottom: 40px;
		font-size: 105%;
	}
	#top_msg .txt b {
		font-size: 110%;
	}
	#top_msg .img {
		width: 30%;
	}
	#top_msg .img::before {
		width: 683px;
		height: 536px;
		position: absolute;
		right: -336px;
		top: -100px;
	}
	#top_msg .btns {
		width: 500px;
		justify-content: space-between;
		margin: 0 auto;
		gap: 0 20px;
	}
	#top_service .box {
		width: 48%;
		position: relative;
		z-index: 1;
	}
	#top_service .box h3 {
		font-size: 25px;
		padding-bottom: 15px;
	}
	#top_service .box .img {
		margin-bottom: 10px;
	}
	#top_service .box .img img {
		max-width: calc(100% + 20px);
	}
	#top_service .box .txt {
		padding: 0 15px 20px;
	}
	#top_info {
		background-size: 25% auto;
	}
	#top_info .list {
		width: 100%;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg .txt {
		width: 100%;
		font-size: 100%;
		margin-bottom: 20px;
	}
	#top_msg .txt b {
		font-size: 105%;
	}
	#top_msg .img {
		width: 100%;
		position: relative;
		right: auto;
		top: auto;
		margin-bottom: 20px;
	}
	#top_msg .img::before {
		top: 12vw;
		right: -62vw;
	}
	#top_msg .btns {
		display: block;
		width: 100%;
	}
	#top_msg .btns a {
		margin: 0 auto 10px;
	}
	#top_service::before, #top_service::after {
		font-size: 80px;
	}
	#top_service::before {
		top: -16px;
	}
	#top_service::after {
		bottom: -15px;
	}
	#top_service .box {
		margin-bottom: 60px;
	}
	#top_service .box:last-of-type {
		margin-bottom: 30px;
	}
	#top_service .box {
		width: 100%;
	}
	#top_info h3 {
		font-size: 25px;
	}
	#top_info {
		background-size: 30% auto;
		background-position: left 0 top -20px, right 0px bottom 0;
	}
}
@media only screen and (max-width: 320px){ /* スマホ */
	#top_msg .img::before {
		top: 0;
		right: -81vw;
	}
}