@charset "utf-8";
/*==================================================
	【トップ】ページ固有のスタイル
==================================================*/
#top_ttl img {
	width: 100%;
}
.bg {
	margin-top: 150px;
	padding-left: 100px;
	background : #F2FAF5;
	border-radius : 100px 0px 0px 0px;
}
.bg::before {
	width: 50%;
	left: auto;
	right: 0;
	background : #F2FAF5;
}
#top_msg {
	position: relative;
}
#top_msg h3.sub2 {
	position: relative;
	top: -60px;
	margin-bottom: 0;
}
#top_msg .img {
	position: absolute;
	right: 20px;
	top: -30px;
	text-align: center;
	font-size: 105%;
}
#top_msg .img img {
	border-radius: 60%;
	margin-bottom: 10px;
}
#top_direction {
	position: relative;
	margin-bottom: 80px;
}
#top_direction .img {
	position: absolute;
	left: calc(50% - 50vw - 100px);
	width: calc( (100vw - 1100px) / 2 + (1100px - 730px) );
}
@media only screen and (max-width: 1150px) {
	#top_direction .img {
		left: -130px;
		width: 400px;
	}
}
#top_direction .img img {
	width: 100%;
	height: 275px;
	object-fit: cover;
	border-top-right-radius: 100px;
}
#top_direction .info {
	width: 700px;
	margin-left: auto;
}
#top_profile .name {
	font-size: 90%;
	margin-bottom: 20px;
}
#top_profile .name b {
	font-size: 140%;
	font-weight: normal;
}
#top_profile .skill {
}
#top_profile .skill .box {
	width: 450px;
}
#top_profile .skill .box:first-of-type {
	width: 510px;
}
#top_profile .skill .box dl {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 30px;
}
#top_profile .skill .box dl:last-of-type {
	margin-bottom: 0;
}
#top_profile .skill .box dl dt {
	background: #fff;
	display: inline-block;
	font-size: 105%;
	color: var(--color-primary);
	width: 90px;
	padding-left: 8px;
}
#top_profile .skill .box dl dd {
	width: calc(100% - 110px);
}
#top_service {
	margin-top: 180px;
	background: #F2FAF5;
	position: relative;
}
#top_service::before {
	width: 50%;
	background : #F2FAF5;
}
#top_service h3.sub2 {
	position: relative;
	top: -60px;
	margin-bottom: 0;
}
#top_service .img {
	position: absolute;
	top: -50px;
	right: calc(50% - 50vw);
	width: calc( (100vw - 1100px) / 2 + (1100px - 755px) );
}
@media only screen and (max-width: 1150px) {
	#top_service .img {
		right: -30px;
		width: 400px;
	}
}
#top_service .img img {
	width: 100%;
	height: 275px;
	object-fit: cover;
	border-top-left-radius: 100px;
}
#top_service .txt {
	width: 700px;
}
#top_service .btn01 {
	position: absolute;
	bottom: -35px;
}
#top_menu {
	margin-top: 230px;
}
#top_menu .box {
	width: 500px;
	background: #f2faf5;
	position: relative;
	padding: 110px 50px 60px;
	border-radius: 20px;
}
#top_menu .box .img {
	text-align: center;
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	width: 450px;
}
#top_menu .box .img img {
	border-radius: 50px;
}
#top_menu .box h3 {
	font-size: 40px;
	margin-bottom: 20px;
}
#top_menu .box .txt a {
	text-decoration: underline;
}
#top_menu .box .btn01 {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	bottom: -35px;
}
#top_info {
	margin-top: 50px;
	font-size: 85%;
}
#top_info .list {
	width: 900px;
	margin: 0 auto;
}
#top_info dl {
	border-top: 1px solid #e1e1e1;
	padding: 28px 0;
}
#top_info dl:last-of-type {
	border-bottom: 1px solid #e1e1e1;
}
#top_info dl dd a {
	text-decoration: underline;
}
#top_info .more {
	margin-top: 15px;
}
#top_links {
	margin-bottom: 50px;
	font-size: 80%;
}
#top_links .grid_list {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(5, 200px);
	gap: 40px 0;
}
#top_links .grid_list li a {
	width: 100%;
	display: block;
	border: 1px solid var(--color-primary);
	background: url("../img/arrow.png") no-repeat right 15px center;
	padding: 10px 15px;
	color: #666;
}
@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: 130px;
		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) {  /* タブレット以下 */
	.bg {
		margin-top: 80px;
		padding-left: 20px;
		border-radius: 50px 0px 0px 0px;
	}
	#top_msg  {
		padding-right: 20px;
	}
	#top_msg h3.sub2 {
		top: -40px;
		margin-bottom: -10px;
	}
	#top_msg .img {
		position: relative;
		right: auto;
		top: auto;
		margin-bottom: 20px;
	}
	#top_direction {
		margin-bottom: 40px;
	}
	#top_direction .img {
		width: 300px;
		left: -40px;
	}
	#top_direction .info {
		width: 100%;
		padding-left: 300px;
		padding-right: 20px;
	}
	#top_profile .skill {
		padding-right: 20px;
	}
	#top_profile .skill .box, #top_profile .skill .box:first-of-type {
		width: 100%;
	}
	#top_profile .skill .box:first-of-type {
		margin-bottom: 20px;
	}
	#top_profile .skill .box dl {
		margin-bottom: 20px;
	}
	#top_service {
		margin-top: 100px;
	}
	#top_service h3.sub2 {
		top: -40px;
	}
	#top_service .img {
		width: 300px;
	}
	#top_service .txt {
		width: calc(100% - 300px);
	}
	#top_service .btn01 {
		bottom: -23px;
	}
	#top_menu {
		margin-top: 140px;
	}
	#top_menu .box {
		width: 48.5%;
		padding: 60px 15px 20px;
	}
	#top_menu .box .img {
		width: 270px;
		top: -110px;
	}
	#top_menu .box .img img {
		border-radius: 30px;
	}
	#top_menu .box h3 {
		font-size: 30px;
		margin-bottom: 15px;
	}
	#top_menu .box .btn01 {
		bottom: -23px;
	}
	#top_info .list {
		width: 100%;
	}
	#top_info {
		font-size: 100%;
	}
	#top_info dl {
		padding: 15px 0;
	}
	#top_links {
		font-size: 100%;
	}
	#top_links .grid_list {
		display: block;
	}
	#top_links .grid_list li {
		margin-bottom: 10px;
	}
	#top_links .grid_list li a {
		padding: 5px 10px;
	}
}
@media only screen and (max-width: 640px){ /* スマホ */
	#top_msg .img img {
		width: 200px;
		font-size: 120%;
	}
	#top_direction .img {
		position: relative;
		margin-bottom: 20px;
		width: 100%;
	}
	#top_direction .img img {
		height: 200px;
		border-top-right-radius: 50px;
	}
	#top_direction .info {
		padding-left: 0;
	}
	#top_profile .name b {
		font-size: 130%;
	}
	#top_profile .skill .box dl {
		display: block;
	}
	#top_profile .skill .box dl dt {
		margin-bottom: 10px;
		text-align: center;
		padding-left: 0;
		padding-bottom: 3px;
	}
	#top_profile .skill .box dl dd {
		width: 100%;
	}
	#top_info dl, #top_info .more {
		font-size: 100%;
	}
	#top_links .grid_list {
		grid-template-columns: repeat(2, 48%);
	}
	#top_service .img {
		position: relative;
		width: 100%;
		top: -10px;
		margin-bottom: 10px;
	}
	#top_service .img img {
		height: 200px;
		border-top-left-radius: 50px;
	}
	#top_service .txt {
		width: 100%;
		padding-right: 20px;
	}
	#top_menu .box {
		width: 100%;
		margin-bottom: 170px;
	}
	#top_menu .box:last-of-type {
		margin-bottom: 0;
	}
	#top_menu .box h3 {
		font-size: 25px;
	}
}