@charset "shift_jis";

@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

body  {
	font-family:Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	margin: 20px;
}
.wrapper {
	margin: auto;
	padding: 10px 0;
	width: 620px;
	font-size: 16px;
	border: 2px solid #666;
	border-radius: 6px;
}
.container {
	margin: 20px 30px 30px 30px;
}
h1 {
	margin: 20px 0;
	color: #6b3906;
	font-size: 40px;
	text-align: center;
}
h2 {
	background: #ffffff;
	background-image: linear-gradient(to bottom, #ffffff, #eff0f4);
	border-radius: 5px;
	border: solid #a4a4a4 1px;
	font-size: 20px;
	padding: 7px 5px;
}
h2:before {
	margin: -1px 10px 0 5px;
	padding: 0px 2px;
	content: "";
	background-color: #0297f3;
}
h3 {
	margin: 10px 0;
	color: #6b3906;
	font-size: 26px;
	text-align: center;
}
p {
	line-height: 150%;
}
.service p {
	margin: 12px 0;
	color: #FFF;
	font-size: 26px;
	font-weight: 500;
	line-height: 70px;
	border-radius: 6px;
	position: relative;
}
.service p:before {
	margin: -1px 0 0 -2px;
	padding: 20px 25px;
	border-radius: 6px 0 0 6px;
	content: "";
}
.service p.auto {
	margin-top: 30px;
	background-color: #678cba;
	border: 2px solid #375d8d;
}
.service p.auto:before {
	background-color: #375d8d;
}
.service p.bike {
	background-color: #60a6a1;
	border: 2px solid #317e78;
}
.service p.bike:before {
	background-color: #317e78;
}
.service p.kasai {
	background-color: #d3a04a;
	border: 2px solid #c08420;
}
.service p.kasai:before {
	background-color: #c08420;
}
.service p.life {
	background-color: #dda397;
	border: 2px solid #c58375;
}
.service p.life:before {
	background-color: #c58375;
}
.service p.pet {
	background-color: #92c93b;
	border: 2px solid #77af20;
}
.service p.pet:before {
	background-color: #77af20;
}
.service p.denki {
	background-color: #ddcb50;
	border: 2px solid #a8961c;
}
.service p.denki:before {
	background-color: #a8961c;
}
.service p span {
	display: inline-block;
	width: 505px;
	text-align: center;
}
.service p span:before {
	width: 12px;
	height: 12px;
	border: 12px solid transparent;
	border-left: 16px solid #FFF;
	top: 23px;
	left: 16px;
	box-sizing: border-box;
	position: absolute;
	content: "";
}
.service p a {
	color: #FFF;
	text-decoration :none;
}
.service p:hover {
	opacity: 0.9;
}

footer {
	margin: 20px 0;
	text-align: center;
}

@media (max-width:680px) {
	body  {
		margin: 10px;
	}
	.wrapper {
		width: 99%;
	}
	.service p span {
		max-width: 90%;
	}
}
@media (max-width:600px) {
	.service p span {
		max-width: 88%;
	}
}
@media (max-width:540px) {
	body  {
		margin: 5px;
	}
	.wrapper {
		padding: 5px 0;
	}
	.container {
		margin: 10px 15px;
	}
	h1 {
		margin: 10px 0;
		font-size: 38px;
	}
	.service p {
		margin: 10px 0;
		font-size: 24px;
		line-height: 65px;
	}
	.service p:before {
		padding: 20px;
	}
	.service p span:before {
		width: 10px;
		height: 10px;
		border: 10px solid transparent;
		border-left: 14px solid #FFF;
		top: 23px;
		left: 13px;
	}
	.service p.auto {
		margin-top: 20px;
	}
}
@media (max-width:460px) {
	p {
		line-height: 130%;
	}
	h1 {
		margin: 10px 0;
		font-size: 35px;
	}
	h2 {
		font-size: 18px;
	}
	.service p {
		margin: 8px 0;
		font-size: 22px;
		line-height: 60px;
	}
	.service p:before {
		padding: 18px;
	}
	.service p span:before {
		width: 8px;
		height: 8px;
		border: 8px solid transparent;
		border-left: 12px solid #FFF;
		top: 23px;
		left: 11px;
	}
}
@media (max-width:430px) {
	.wrapper {
		padding: 0;
	}
	.container {
		margin: 10px;
	}
	h1 {
		margin: 5px 0;
		font-size: 30px;
	}
	h3 {
		font-size: 24px;
	}
	p {
		font-size: 14px;
	}
	.service p {
		margin: 6px 0;
		font-size: 22px;
		line-height: 60px;
	}
	.service p:before {
		padding: 18px;
	}
	.service p span:before {
		width: 8px;
		height: 8px;
		border: 8px solid transparent;
		border-left: 12px solid #FFF;
		top: 23px;
		left: 11px;
	}
	.service p.auto {
		margin-top: 15px;
	}
}
@media (max-width:379px) {
	h1 {
		margin: 5px 0;
		font-size: 28px;
	}
	h2 {
		font-size: 16px;
		padding: 7px 5px;
	}
	h2:before {
		margin: -1px 5px 0 5px;
	}
	h3 {
		margin: 8px 0;
		font-size: 22px;
	}
	.service p {
		margin: 6px 0;
		font-size: 20px;
		line-height: 50px;
	}
	.service p:before {
		padding: 14px;
	}
	.service p span:before {
		width: 6px;
		height: 6px;
		border: 6px solid transparent;
		border-left: 10px solid #FFF;
		top: 20px;
		left: 8px;
	}
	.service p.auto {
		margin-top: 15px;
	}
}
@media (max-width:340px) {
	h1 {
		font-size: 26px;
	}
	h2 {
		font-size: 15px;
	}
	h3 {
		margin: 6px 0;
		font-size: 20px;
	}
	.service p {
		font-size: 18px;
	}
}