body{
	text-align: center;
}
.sec1,.sec3{
	max-width: 800px;
	margin: 0 auto;
}

.sec3 .col-sm-3{
	padding: 5px;
}

.midashi{
	text-align: center;
}

.pc-hide{
	display: none;
}

.sec1 h1{
	text-align: center;
	font-weight: bold;
	margin-bottom: 15px;
}

.kiyaku h3 {
  position: relative;
  padding: 5px 26px 5px 42px;
  background: #FFE121;
  font-size: 20px;
  color: #2d2d2d;
  margin-left: -20px;
  margin-right: 10px;
  line-height: 1.3;
  border-bottom: solid 3px #654720;
  z-index:-2;
}
.kiyaku h3{
	font-weight: bold;
}
.kiyaku h3:before {
  position: absolute;
  content: '';
  left: -2px;
  top: -2px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index: -1;
}

.kiyaku h3:after {
  position: absolute;
  content: '';
  right: -3px;
  top: -7px;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 40px transparent;
  border-bottom: solid 79px white;
  z-index: -1;
}

.kiyaku p span{
	font-weight: bold;
	color: red;
}

table{
	width: 100%;
}
table, td, th {
	padding: 6px 3px;
border: 1px gray solid;
}

.sec3 h3{
	margin-top: 50px;
	margin-bottom: 15px;
}

/* インスタボタン */
.btn {
	position: relative;
	width: 280px;
	height: 150px;
	margin: 0 auto;
	display: block;
	border-radius: 12px;
	overflow: hidden;
	cursor: pointer;
}
.btn img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}
.btn:hover img:nth-of-type(2) {
	opacity: 0;
}

.sec4 h2{
	text-align: center;
	font-size: 1.5em;
	line-height: 1.3em;
}
.sec4 p{
	font-size: 0.7em;
	margin-bottom: 30px;
}

footer{
	background-color: black;
	color: white;
	text-align: center;
	padding: 13px 0 1px;
	font-size: 1em;
}

@media screen and (max-width:830px) {
	.sec1,.sec3{
		margin: 0 15px;
	}
}

@media screen and (max-width:575px) {
	.sp-hide{
		display: none;
	}
	.pc-hide{
		display: block;
	}
	.sec3 .col-sm-3{
		padding: 15px;
	}
	.mid1,.mid3{
		width: 150px;
	}
	.mid2{
		width: 220px;
	}
	.mid4{
		width: 300px;
	}
	footer{
	font-size: 0.8em;
}

}