@charset "shift_jis";
/* CSS Document */
@import url("page.css");
#t-box h1 {
	background-image: url(../images/service/title_sp.jpg);
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
	margin: 0 auto;
	padding-top: 28.85%;
	height: 0;
	width: 100%;
}

#service {
	display: block;
	margin: 50px auto;
	width: 96%;
}

#service li {
	display: block;
	margin: 5px 0;
	width: 100%;
}

.btn,
a.btn,
button.btn {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5em;
 	position: relative;
	display: inline-block;
	padding: 1em;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #3F2B15;
	border-radius: 0.5rem;
	width: 100%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

a.btn-flat {
	overflow: hidden;
	padding: 1em;
	color: #3F2B15;
	border-radius: 0;
	background: #D8CDAF;
}

a.btn-flat span {
	position: relative;
}

a.btn-flat:before {
	position: absolute;
	top: 0;
	left: 0;
	width: 150%;
	height: 500%;
	content: "";
	-webkit-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
	-webkit-transform: translateX(-98%) translateY(-25%) rotate(45deg);
	transform: translateX(-98%) translateY(-25%) rotate(45deg);
	background: #3F2B15;
}
a.btn-flat:hover {
	color: #FFF;
}
a.btn-flat:hover:before {
	-webkit-transform: translateX(-9%) translateY(-25%) rotate(45deg);
	transform: translateX(-9%) translateY(-25%) rotate(45deg);
}

#ct_service {
	display: block;
	margin: 20px auto;
	width: 96%;
}

#ct_service img {
	height: auto;
	width: 100%;
}

@media only screen and (min-width: 769px) {
#t-box h1 {
	background-image: url(../images/service/title.jpg);
	background-size: auto;
	background-repeat: no-repeat;
	display: block;
	text-indent: -9999px;
	margin: 0 auto;
	padding-top: 0;
	height: 150px;
	width: 1015px;
}

#service {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 50px auto;
	width: 1000px;
}


#service li {
	display: block;
	margin: 5px 0;
	width: 300px;
}

#ct_service {
	display: block;
	margin: 20px auto;
	width: 801px;
}

}