@charset "utf-8";
/* CSS Document */

#houyou h3 {
	width: 50%;
	margin: 0 auto 40px;
	padding: 15px 30px;
	color: #fff;
	font-size: 2em;
	text-align: center;
}

#houyou ul {
	font-size: 0;
	text-align: center;
}

#houyou li {
	display: inline-block;
	margin: 0 35px;
	transition: 0.4s;
}

#houyou li:hover {
	opacity: 0.7;
	transition: 0.4s;
}

.bg_purple {
	background: #844970;
}

.bg_green {
	background: #6e7354;
}

.kannon_bg {
	background: #fef7ed;
	background-image: url(../images/houyou/kuyou_bg.jpg);
	background-repeat: no-repeat;
	overflow: hidden;
}

.white {
	padding: 30px;
	background: #fff;
}

.white table {
	width: 100%;
	border-collapse:separate;
	border-spacing:27px;
}

.white table th {
	padding: 15px;
	border-bottom: #844870 solid 2px;
	vertical-align: middle;
	font-weight: bold;
}

.white table td {
	padding: 15px;
	border-bottom: #cc9933 solid 1px;
}

#houyou .contact_button {
    display: inline-block;
	width: 36%;
    margin: 0 32%;
    border: #000 solid 2px;
    transition: 0.8s;
	font-size: 1.2em;
	text-align: center;
}
#houyou .contact_button a {
	display: block;
    position: relative;
    padding: 10px 30px 10px 40px;
    color: #000;
    transition: 0.8s;
}

#houyou .contact_button a::before{
	position: absolute;
    top: 18px;
    left: 20px;
    width: 6px;
    height: 6px;
    border-top: 2px solid #000;
    border-right: 2px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    transition: 0.8s;
}

.kaji {
	background: url(../images/bg_hasu.jpg) no-repeat right bottom;
}

#houyou .contact_button:hover {
    border: #cc9933 solid 2px;
    transition: 0.4s;
}

#houyou .contact_button:hover a::before{
    border-top: 2px solid #cc9933;
    border-right: 2px solid #cc9933;
    transition: 0.4s;
}

#houyou .contact_button a:hover {
	color: #cc9933;
    transition: 0.4s;
}

@media print, screen and (max-width:999px) {
	
	#houyou h3 {
		/*margin-top: 40px;*/
	}
	
	#anc_kuyou, #anc_kaji {
		margin-top: -66px;
		padding-top: 66px;
	}
	
	#houyou li {
		width: 46%;
		margin: 0 2%;
	}
	
	#houyou li:nth-child(1) {
		text-align: right;
	}
	
	#houyou li:nth-child(2) {
		text-align: left;
	}
	
	#houyou li img {
		width: 100%;
		max-width: 318px;
	}
	

}

@media print, screen and (max-width:768px) {
	#houyou h3 {
		width: 70%;
		margin-bottom: 20px;
		padding: 10px;
		font-size: 1.6em;
		/*margin-top: 40px;*/
	}
	
	.kannon_bg {
		background-image: url(../images/houyou/kuyou_bg.jpg);
		background-size: 40% auto;
	}
	
	.white {
		padding: 10px 10px 20px;
	}
	
	.white table {
		border-collapse: separate;
		border-spacing: 5px;
	}
	
	.white table th, .white table td {
		padding: 0;
	}
	
	.white table th {
		width: 20%; 
	}
	
	#houyou .contact_button {
		width: 66%;
		margin: 0 16%;
	}
	
	#houyou p.mb60 {
		margin-bottom: 20px;
	}
	
	#houyou .contact_button a {
		padding: 10px 10px 10px 20px;
		font-size: 0.9em;
	}
	
	#houyou .contact_button a::before{
		left: 10px;
	}
	
	.kaji {
		background: url(../images/bg_hasu.jpg) no-repeat right bottom;
		background-size: 50% auto;
	}
	
	
	
}
