@charset "utf-8";

@media only screen and (max-width: 900px){
/*=========================
  お寺さん探しのコツ
=========================*/
.tips p {
	width: 65%;
}

/*=========================
  涙そうそうの僧侶派遣サービス
=========================*/
.pc_main {
	background-position: center right 40%;
}

.pc_main .pc_main_contents {
	padding: 20px;
}

/*=========================
  footer
=========================*/
.pc_foot_info {
	display: none;
}
}

@media only screen and (max-width: 768px){

/*=========================
  base
=========================*/
.pc {
	display: none;
}

.sp {
	display: block;
}

main article section {
	padding: 30px 20px;
}

/*=========================
  header
=========================*/
.sp_head {
	display: flex;
}

.sp_head .sp_head_info:first-of-type {
	max-width: 140px;
}

.sp_head .sp_head_info:not(:first-of-type) {
	padding: 15px 0;
	margin-right: 15px;
}

.sp_head .sp_head_info:nth-of-type(2) {
	margin-left: auto;
}

.sp_head .sp_head_info:nth-of-type(2) img {
	max-width: 50px;
}

.sp_head .sp_head_info:last-of-type {
	margin-right: 0;
	padding-right: 15px;
}

.sp_head .sp_head_info .g_nav_btn {
	width: 50px;
	height: 50px;
	position: relative;
	background-color: #444;
}

.sp_head .sp_head_info .g_nav_btn span {
	display: inline-block;
	transition: all 0.5s;
	position: absolute;
	width: 45%;
	height: 3px;
	border-radius: 2px;
	background-color: #fff;
	left: 50%;
	transform: translate(-50%, -50%);
}

.sp_head .sp_head_info .g_nav_btn span:nth-of-type(1) {
	top: calc(50% - 10px);
}

.sp_head .sp_head_info .g_nav_btn span:nth-of-type(2) {
	top: 50%;
}

.sp_head .sp_head_info .g_nav_btn span:nth-of-type(3) {
	top: calc(50% + 10px);
}

.sp_head .sp_head_info .g_nav_btn.active span:nth-of-type(1) {
	top: 18px;
	left: 18px;
	transform: translateY(6px) rotate(-45deg);
	width: 30%;
}
.sp_head .sp_head_info .g_nav_btn.active span:nth-of-type(2) {
	opacity: 0;
}

.sp_head .sp_head_info .g_nav_btn.active span:nth-of-type(3) {
	top: 30px;
	left: 18px;
	transform: translateY(-6px) rotate(45deg);
	width: 30%;
}

.sp_head .sp_head_info nav {
	width: 100vw;
	position: absolute;
	top: 80px;
	left: 0;
	display: none;
	background: rgba(255,255,255,0.9);
	z-index: 2;
}

.sp_head .sp_head_info nav ul li {
	border-top: 1px solid #ccc;
}

.sp_head .sp_head_info nav ul li:last-of-type {
	border-bottom: 1px solid #ccc;
}

.sp_head .sp_head_info nav ul li a {
	color: #333;
	display: block;
	text-align: center;
	font-weight: 900;
	padding: 15px 0;
}

/*=========================
  fv
=========================*/
.fv {
	background: none;
}

/*=========================
  cv
=========================*/
.cv {
	padding: 20px;
}

.sp_cv_tel {
	margin-bottom: 15px;
}

.sp_cv_tel a {
	display: block;
	position: relative;
	background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	box-shadow: 0 4px 0 #ccc;
	border-radius: 3px;
}

.sp_cv_tel a:hover {
	top: 4px;
	box-shadow: none;
}

.cv_contents .cv_mail {
	width: 100%;
}

/*=========================
  依頼の増加
=========================*/
.current li {
	width: calc(98% / 2);
	margin-right: 2%;
	margin-top: 10px;
}

.current li:nth-of-type(2n) {
	margin-right: 0;
}

.current li:nth-of-type(-n + 2) {
	margin-top: 0;
}

/*=========================
  事故物件の定義
=========================*/
.definition_item {
	width: 100%;
	margin-right: 0;
	margin-bottom: 25px;
}

.definition_item:last-of-type {
	margin-bottom: 0;
}

/*=========================
  依頼傾向
=========================*/
.reverse:nth-of-type(odd) {
	flex-direction: column-reverse;
}

.reverse:nth-of-type(odd) p:first-of-type {
	width: 100%;
	padding-right: 0;
}

.reverse:nth-of-type(odd) p:last-of-type {
	width: 100%;
	margin-bottom: 12px;
}

.reverse:nth-of-type(even) p:first-of-type {
	width: 100%;
	margin-bottom: 12px;
}

.reverse:nth-of-type(even) p:last-of-type {
	width: 100%;
	padding-left: 0;
}

/*=========================
  お寺さん探しのコツ
=========================*/
.tips {
	padding: 20px;
	background: none;
	background-color: #c8e1e6;
}

.tips p {
	width: 100%;
}

/*=========================
  涙そうそうの僧侶派遣サービス
=========================*/
main article section.full {
	padding: 30px 0;
}

.full h2 b {
	padding: 10px 20px;
}

.sp_main {
	background-color: #000;
}

.sp_main .sp_main_contents {
	padding: 0 20px 20px;
	color: #fff;
}

/*=========================
  特徴
=========================*/
.feature ul {
	overflow-x: scroll;
	flex-wrap: nowrap;
}

.feature ul li {
	width: 90%;
	margin-right: 12px;
	flex-shrink: 0;
}

.feature ul li:last-of-type {
	margin-right: 0;
}

/*=========================
  全国マップ
=========================*/
.prefecture {
	border: none;
}

.prefecture dl dt {
	width: 100%;
}

.prefecture dl dd {
	width: 100%;
	padding: 15px 0 30px;
}

.prefecture dl dd ul li {
	width: calc(96% / 3);
	margin-right: 2%;
	margin-top: 2%;
}

.prefecture dl dd ul li:nth-of-type(3n) {
	margin-right: 0;
}

.prefecture dl dd ul li:nth-of-type(-n + 3) {
	margin-top: 0;
}

.prefecture dl dd ul li:after {
	content: none;
}

.prefecture dl dd ul li a {
	display: block;
	border: 1px solid #ccc;
	background-color: aliceblue;
	padding: 15px;
	text-align: center;
	border-radius: 3px;
}

/*=========================
  エリアマップ
=========================*/
#area_inquiry dl dd a {
	width: calc(98% / 2);
}

#area_inquiry dl dd a:nth-of-type(2n) {
	margin-right: 0;
}

#area_inquiry dl dd a:nth-of-type(3),
#area_inquiry dl dd a:nth-of-type(4) {
	margin-top: 2%;
}

/*=========================
  料金のご案内
=========================*/
.price_contents {
	width: 100%;
	margin-right: 0;
}

.price_contents table th {
	width: 50%;
}

.price_contents table td {
	width: 50%;
}

.price_contents:not(:first-of-type) {
	margin-top: 20px;
}

/*=========================
  footer
=========================*/
.sp_foot ul li {
	width: calc(100% / 3);
	border-right: 1px solid #fff;
}

sp_foot ul li:last-of-type {
	border-right: none;
}

.sp_foot ul li a {
	display: block;
	font-size: 14px;
	color: #fff;
	padding: 5px 0;
	line-break: 1;
	text-align: center;
}

.sp_foot ul li a img {
	max-width: 30px;
	margin: 0 auto;
}
	
	.sp_foot_timeout ul li {
		width: calc(100% / 2);
	}
	.sp_cv_timeout {
		padding: 10px;
		background-color: #fff;
		border-radius: 2px;
	}
	.sp_cv_timeout .timeout_txt {
		font-size: 1.5em;
		font-weight: bold;
		line-height: 1.5;
		color: #ff0000;
	}
	.sp_cv_timeout ul li {
		padding-left: 20px;
		position: relative;
		font-size: 14px;
	}
	.sp_cv_timeout ul li::before {
		content: "※";
		position: absolute;
		left: 0;
	}
	.sp_cv_timeout ul li a {
		display: inline;
		background: none;
		box-shadow: none;
		font-weight: bold;
	}
	.sp_cv_timeout .under {
		font-weight: bold;
	background:linear-gradient(transparent 60%, #ff6 60%);
	}

}