@charset "UTF-8";
main {
	margin: 0 auto;
	overflow: hidden;
	text-align: center;
}
img {
	width: auto;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	display: inline-block;
}
body { background-color: #fff; }
body.overflow__hidden {
  height: 100%;
  overflow: hidden;
}
.txt_left { text-align: left; }
select {
	padding: 6px 32px 6px 8px;
	border-radius: 4px;
	-webkit-appearance: none;
    appearance: none;
	background-image: url("../images/select_icon.png");
    background-repeat: no-repeat;
    background-size: 16px;
	background-position: right 8px center;
}
select::-ms-expand {
  display: none;
}

/* レスポンシブデザイン */
@media screen and (min-width:1180px) {
	section .sub_content,
	#top section .content {
		padding: 0;
	}
	section .content {
		padding: 32px 0 0;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section .sub_content,
	#top section .content {
		padding: 0 16px;
	}
	section .content {
		padding: 32px 16px 0;
	}
}
@media screen and (min-width:768px) {
	body { margin: 0 auto; }
	.pcview { display: block; }
	.spview,
	.temple_detail_content .comment_icon.spview,
	.single_page .comment_icon.spview { display: none; }
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
		text-decoration: none;
	}
	a img {
		transition: 1s;
	}
	a img:hover {
		opacity: 0.8;
		transform: translateY(-5px);
	}
}
@media screen and (max-width:767px) {
	.spview { display: block; }
	.pcview,
	.temple_detail_content .comment_icon.pcview,
	.single_page .comment_icon.pcview { display: none; }
	footer p span { display: block; }
	section .sub_content,
	#top section .content {
		padding: 0 16px;
	}
	section .content {
		padding: 32px 16px 0;
	}
}
section .content {
	max-width: 1180px;
	margin: 0 auto;
	position: relative;
}
section .sub_content {
	max-width: 1180px;
	margin: 0 auto 32px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

/* header */
@media screen and (min-width:1400px) {
	.header_menu {
		padding: 0 40px;
		width: calc(100% - 80px);
	}
	.header_menu ul {
		grid-template-columns: repeat(8, 1fr);
	}
	.header_menu ul li {
		padding: 0 16px;
		border-right: 1px solid #CCC;
	}
	.header_menu ul li a br.tabview {
		display: none;
	}
	.header_menu ul li a img {
		width: 29.796px;
		margin: 0 auto 8px;
		text-align: center;
	}
}
@media screen and (min-width:768px) and (max-width:1399px) {
	.header_menu {
		padding: 0 10px;
		width: calc(100% - 20px);
	}
	.header_menu ul {
		grid-template-columns: repeat(8, 1fr);
	}
	.header_menu ul li {
		padding: 0 5px;
		border-right: 1px solid #CCC;
	}
	.header_menu ul li a span {
		padding: 0 5px;
	}
	.header_menu ul li a img {
		height: 30px;
		width: auto;
	}
}
@media screen and (min-width:768px) and (max-width:1023px) {
	.header_menu ul li a span {
		font-size: .75rem;
	}
}
@media screen and (min-width:768px) {
	header .head_box {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: center;
		height: 80px;
		padding: 0 40px;
		position: relative;
		top: 0;
		width: calc(100% - 80px);
		z-index: 2;
		background-color: #fff;
		border-bottom: 1px solid #CCC;
	}
	header p.logo img {
		height: 60px;
		width: auto;
	}
}
@media screen and (max-width:767px) {
	header .head_box {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
		height: 72px;
		padding: 0 16px;
		position: relative;
		top: 0;
		width: calc(100% - 32px);
		z-index: 2;
		background-color: #fff;
		gap: 0 5%;
	}
	header p.logo img {
		width: 100px;
		z-index: 10;
		margin: 0 auto;
	}
	.header_menu {
		display: none;
	}
	header div#nav_drawer nav {
		height: 100vh;
		position: fixed;
		width: calc(100vw - 40px);
		padding: 100px 20px 100px;
		z-index: 10;
	}
	div.header_nav { display: none; }
	header #nav_drawer nav {
		position: fixed;
		z-index: 10;
	}
	#nav_content ul {
		padding-top: 0;
	}
	header #nav_drawer nav ul li {
		padding: 0;
		text-align: left;
	}
	#nav_open span {
		top: 8px;
		right: 5.33px;
	}
	#nav_open {
		position: fixed;
		z-index: 1000;
		top: 20px;
		right: 16px;
		display: inline-block;
		width: 32px;
		height: 32px;
		cursor: pointer;
	}
	#nav_open.scrollon {
		top: 11px;
	}
	#nav_open span {
		position: absolute;
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 3px;
		background: rgba(17, 17, 17, 1);
		content: "";
	}
	#nav_open span::before {
		position: absolute;
		top: 7.5px;
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 3px;
		background: rgba(17, 17, 17, 1);
		content: "";
	}
	#nav_open span::after {
		position: absolute;
		top: 15px;
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 3px;
		background: rgba(17, 17, 17, 1);
		content: "";
	}
	.scrollon #nav_open span,
	.scrollon #nav_open span::before,
	.scrollon #nav_open span::after {
		background-color: #000;
	}
	#nav_open.active {
		top: 20px;
		right: 15px;
	}
	#nav_open.active span {
		transform: rotate(45deg);
		width: 20px;
		top: 15px;
		right: 5px;
		-webkit-transition: transform 0.5s;
		-moz-transition: transform 0.5s;
		-ms-transition: transform 0.5s;
		-o-transition: transform 0.5s;
		transition: transform 1s;
		background: #000;
		height: 2px;
	}
	#nav_open.active span:before {
		background: #000;
		height: 2px;
	}
	#nav_content ul {
		display: grid;
		grid-template-columns: .9fr 1fr;
		gap: 30px 0;
	}
	#nav_content ul li,
	#nav_content ul li a span {
		text-align: left;
		display: inline-block;
		vertical-align: middle;
	}
	#nav_content ul li a img {
		width: 30px;
		display: inline-block;
		vertical-align: middle;
		margin-right: 8px;
	}
	.header_menu ul li a img {
		width: 29.796px;
		margin: 0 auto 8px;
		text-align: center;
	}
}
header {
	margin: 0 auto;
	position: relative;
}
.header_menu {
    height: 100px;
    position: relative;
    top: 0;
    z-index: 2;
    background-color: #fff;
}
.header_menu ul {
	display: grid;
    justify-content: space-between;
    align-items: center;
	height: 100px;
}
.header_menu ul li.menu_memorial {
	padding: 0 2px;
}
.header_menu ul li a {
	padding: 0;
	text-align: center;
	display: block;
	width: 100%;
	height: 100%;
	line-height: 150%;
	letter-spacing: 0.64px;
}
.header_menu ul li:last-child {
	border-right: none;
	
}
.header_menu ul li a span {
	display: block;
}
.nav_unshown { display: none; }
.nav_unshown { display: none; }
#nav_open.active {
  background-color: rgba(0,0,0,0);
}
#nav_close span {
  position: relative;
  z-index: 4;
  display: block;
  width: 100px;
  height: 100px;
  margin: 20px auto;
  cursor: pointer;
}
#nav_close span::before,
#nav_close span::after {
  position: absolute;
  top: 50px;
  left: 0;
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  content: "";
  transition: 0.4s;
  transform: rotate(45deg);
  transform-origin: 50% 50%;
}
#nav_close span::after { transform: rotate(-45deg); }
#nav_content {
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background: #FFF;
  text-align: center;
  pointer-events: none;
  -webkit-overflow-scrolling: touch;
  -webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
	transition: all .2s;
  opacity: 0;
}
#nav_content ul { margin: auto; }
#nav_content li {
  padding: 10px;
  text-align: center;
  display: block;
}
#nav_content.active {
  opacity: 1;
  pointer-events: auto;
  overflow: scroll;
}
#nav_content.active::after {
  display: block;
  width: 1px;
  height: 70px;
  content: '';
}
#nav_open.active span::before {
  transform: rotate(90deg);
  top: 0px;
}
#nav_open.active span::after {
  content: none;
  opacity: 0;
}

/* breadcrumbs */
@media screen and (min-width:768px) {
	.breadcrumbs {
		padding: 13px 38px;
		gap: 0 36px;
	}
}
@media screen and (max-width:767px) {
	.breadcrumbs {
		padding: 12px 16px;
		gap: 0 36px;
	}
}
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}
.breadcrumbs li {
	position: relative;
}
.breadcrumbs li.top a {
	position: relative;
	padding-left: 20px;
}
.breadcrumbs li.top a:before {
	content: "";
	background-image: url("../images/icon_home.png");
	height: 16px;
	width: 16px;
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}
.breadcrumbs li:not(:first-child)::before {
	content: "";
	background-image: url("../images/icon_flow.png");
	height: 9px;
	width: 5.5px;
	background-size: cover;
	background-repeat: no-repeat;
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -21.5px;
}

/* main */
@media screen and (min-width:1180px) {
	section.head_fv {
		position: relative;
		background-image: url("../images/fv.png");
		background-repeat: no-repeat;
		background-size: 100%;
		padding: 0 0 32px;
	}
	.fv_content .search_content {
		padding: 20px 0 0;
	}
	.fv_content .search_content {
		display: grid;
		grid-template-columns: auto 1fr;
		gap: 0 2.2%;
		justify-content: space-between;
		margin: 0 auto 0;
	}
	.search_content .search_box {
		width: 705px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.head_fv {
		position: relative;
		background-image: url("../images/fv_tab.png");
		background-repeat: no-repeat;
		background-size: cover;
		padding: 0 0 64px;
	}
	.fv_content .search_content {
		padding: 20px 20px 0;
	}
	.fv_content .search_content {
		display: grid;
		grid-template-columns: 1fr;
		gap: 2.2%;
		justify-content: space-between;
		margin: 0 auto 0;
	}
	section.head_fv img {
		width: 100%;
	}
}
@media screen and (min-width:768px) {
	.fv_content {
		max-width: 1180px;
		margin: 0 auto 0;
	}
	.search_content .search_box {
		padding: 18px 20px;
		border-radius: 8px;
		background: #FFF;
		position: relative;
		height: 563px;
	}
	.search_form {
		width: fit-content;
		margin: 8px 0 0;
	}
	.search_form input[type=search] {
		width: 240px;
	}
	.search_form .search_form_title {
		text-align: left;
		padding-left: 32px;
	}
	.search_form .search_form_title:before {
		display: inline-block;
		content: "";
		background-image: url("../images/icon_search.png");
		background-repeat: no-repeat;
		background-size: contain;
		width: 24px;
		height: 24px;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
	}
	.area_link {
		width: fit-content;
		position: absolute;
	}
	.area_link ul.two_col {
		gap: 4px;
	}
	.area_link ul li {
		border-radius: 2px;
		border: 1px solid #999;
		background: #FFF;
		max-width: 68px;
	}
	.area_link ul li a {
		display: block;
		color: #333;
		font-weight: 500;
		line-height: 1.8;
		padding: 2px 0 2px 8px;
		width: 60px;
		position: relative;
		text-align: left;
	}
	.area_link ul li a:after {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		right: 4px;
		top: 50%;
		transform: translateY(-50%);
		background-image: url("../images/icon_morelink.png");
		width: 12px;
		height: 12px;
	}
}
@media screen and (max-width:767px) {
	.fv_content .search_content {
		margin: 0 auto 0;
		padding: 0;
	}
	section.head_fv {
		padding: 0 0 32px;
	}
	.search_content .search_box {
		padding: 0 16px 18px;
		position: relative;
		width: calc(100% - 32px);
		position: relative;
	}
	.search_area_box {
		margin-top: -100px;
	}
	.search_form {
		width: calc(100% - 32px);
		margin: 0 auto 32px;
	}
	.search_form input[type=search] {
		width: calc(100% - 90px);
	}
	.search_form .search_form_title {
		margin: 0 auto 4px;
		text-align: center;
	}
	.search_form .search_form_title:before {
		display: inline-block;
		content: "";
		background-image: url("../images/icon_search.png");
		background-repeat: no-repeat;
		background-size: contain;
		width: 24px;
		height: 24px;
		vertical-align: middle;
		margin-right: 8px;
	}
	.area_link {
		background-image: url("../images/map_sp.svg");
		background-size: 100%;
		background-position: center;
		background-repeat: no-repeat;
		margin: 0 auto 0;
		padding: 16px 0 8px;
		width: 100%;
	}
	.area_link ul {
		gap: 1px;
	}
	.area_link ul li {
		outline: solid 1px #ccc;
	}
	.area_link ul li a {
		display: block;
		color: rgba(0, 62, 91, 1);
		font-weight: 700;
		line-height: 1.8;
		padding: 16px 32px 16px 16px;
		width: auto;
		position: relative;
		text-align: left;
	}
	.area_link ul li a:after {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		right: 16px;
		top: 50%;
		transform: translateY(-50%);
		background-image: url("../images/icon_morelink_sp.png");
		width: 24px;
		height: 24px;
	}
}
section h2.search_title {
	position: relative;
	text-align: left;
	padding-left: 40px;
	font-weight: 700;
}
h2.search_title:before {
	display: inline-block;
	content: "";
	background-image: url("../images/icon_location.png");
	background-repeat: no-repeat;
	background-size: contain;
	width: 32px;
	height: 32px;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.search_form {
	border-radius: 8px;
	background: linear-gradient(84deg, #003E5B 0%, #00618F 100%);
	padding: 8px 16px 16px 16px;
	text-align: left;
	position: relative;
	z-index: 1;
}
.search_form .search_form_title {
	position: relative;
	font-weight: 500;
	color: #fff;
	line-height: 1.8;
	letter-spacing: 0.8px;
}
.search_form input[type=search] {
  -webkit-appearance: none;
  display: inline-block;
  margin-right: 0;
  padding: 8px 16px;
  height: 40px;
  font-size: 100%;
  box-sizing: border-box;
  border-radius: 5px 0 0 5px;
  border: 1px solid #fff;
  border-right: none;
}
.search_form input[type=search]::placeholder {
	color: #999;
	text-align: center;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.56px;
}
.search_form input[type=submit] {
  -webkit-appearance: none;
  display: inline-block;
  padding: 8px 16px;
  width: 90px;
  height: 40px;
  color: #fff;
  vertical-align: top;
  border: none;
  border-radius: 0 8px 8px 0;
  background: #000;
  cursor: pointer;
}
p.now_location {
	margin: 8px auto 0;
	text-align: left;
	
}
p.now_location button {
	border-radius: 8px;
	background: #003E5B;
	color: #fff;
	padding: 8px 16px 8px 40px;
	position: relative;
	cursor: pointer;
	z-index: 1;
}
p.now_location button:hover {
	opacity: .8;
}
p.now_location button:before {
	content: "";
	background-image: url("../images/icon_location_white.png");
	width: 24px;
	height: 24px;
	background-size: contain;
	position: absolute;
	left: 8px;
	top: 50%;
	transform: translateY(-50%);
}
.search_area_box {
	position: relative;
}
section.head_fv img.area_map,
section.head_fv svg.area_map {
	width: 510px;
	height: auto;
	position: absolute;
	right: 15.09%;
	top: 0;
}
.area_link.kyusyu {
	left: 22px;
	bottom: 200px;
}
.area_link.chugoku {
	left: 204px;
	bottom: 290px;
}
.area_link.shikoku {
	left: 255px;
	bottom: 18px;
}
.area_link.chubu {
	left: 400px;
	top: 61px;
}
.area_link.kinki {
	left: 429px;
	bottom: 45px;
}
.area_link.kanto {
	right: 22px;
	bottom: 106px;
}
.area_link.tohoku {
	right: 22px;
	bottom: 273px;
}
.area_link.hokkaido {
	top: 61px;
	right: 22px;
}
.area_link .area_location {
	position: relative;
	color: #003E5B;
	font-weight: 700;
	line-height: 1.8;
	padding-left: 20px;
	text-align: left;
}
.area_link .area_location:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_area_location.png");
	width: 16px;
	height: 16px;
}
.area_link ul {
	margin: 4px auto 0;
}
.area_link ul.one_col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
}
.area_link ul.two_col {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.area_link ul li a:hover {
	background: #EDF4F7;
	color: #003E5B;
}
section.main_catch .content {
	padding: 50px 0 60px;
}
section.main_catch .content p {
	text-align: center;
	line-height: 2;
	margin-bottom: 20px;
}
section.main_catch .content p:last-child {
	margin-bottom: 0;
}
.cta_box {
	margin: 60px auto 0;
}
.cta_box a {
	display: block;
	margin-top: 20px;
}
section.head_fv img {
	width: 100%;
}

/* SVG */
@media screen and (min-width:768px) {
	svg.area_map path[fill="#8FBDCC"]:hover {
		fill: #003E5B;
	}
}
@media screen and (max-width:767px) {
	svg.area_map a {
		pointer-events: none;
	}	
}

/* footer */
@media screen and (min-width:1180px) {
	.footer_nav {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 50px 32px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	footer .content {
		padding: 0 16px;
	}
	.footer_nav {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 50px 32px;
	}
}
@media screen and (min-width:768px) {
	footer {
		margin: 0 auto;
		overflow: hidden;
		text-align: center;
		clear: both;
		background: #292929;
		padding: 64px 0 0;
	}
	footer .content .logo_footer {
		margin: 0 auto 48px;
		text-align: left;
	}
	footer .content .logo_footer img {
		height: 60px;
		width: auto;
	}
	.footer_nav .menu_title img {
		height: 30px;
		width: auto;
		display: inline-block;
		margin-right: 8px;
		vertical-align: middle;
	}
	footer .links {
		margin: 0 auto;
		padding: 48px 0;
	}
	footer .links ul li a {
		font-size: 0.875rem;
		padding: 0 20px;
	}
	footer .copyright {
		padding: 32px 0;
		margin: 0 auto;
		background-color: #000;
		color: #fff;
		font-size: 0.75rem;
	}
	.footer_nav ul {
		padding: 12px 0 0;
	}
}
@media screen and (max-width:767px) {
	footer {
		margin: 0 auto;
		overflow: hidden;
		text-align: center;
		clear: both;
		background: #292929;
		padding: 0;
	}
	footer .content {
		padding: 48px 16px 32px;
		background: #292929;
	}
	footer .content .logo_footer {
		margin: 0 auto 48px;
		text-align: center;
	}
	footer .content .logo_footer img {
		height: auto;
		width: 128px;
	}
	.footer_nav .menu_title img.footer_nav_icon {
		display: none;
	}
	footer .links {
		margin: 0 auto;
		padding: 32px 0 0;
	}
	footer .links ul li a {
		font-size: 0.75rem;
		padding: 0 5px;
	}
	footer .copyright {
		background-color: #000;
		padding: 16px;
		margin: 0 auto;
		color: #fff;
		font-size: 0.75rem;
	}
	.footer_nav {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}
	.footer_nav div:first-child .menu_title {
		border-top: 1px solid #ccc;
	}
	.footer_nav ul {
		padding: 16px 16px;
	}
}
footer .content {
	max-width: 1024px;
	margin: 0 auto;
}

.footer_nav .menu_title {
	padding: 0 0 20px;
	border-bottom: 1px solid #ccc;
	color: #fff;
	text-align: left;
	vertical-align: middle;
}
.footer_nav ul li {
	margin-bottom: 8px;
	list-style-type: none;
	text-align: left;
}
.footer_nav ul li:last-child {
	margin-bottom: 0;
}
.footer_nav ul li a,
footer .links ul li a {
	color: #fff;
	position: relative;
}
.footer_nav ul li a:before {
	content: "-";
	color: #fff;
	display: inline-block;
	margin-right: 8px;
}
.footer_nav ul li.nav_button a {
	border-radius: 100px;
	background: #1A1A1A;
	padding: 4px 32px 4px 16px;
	position: relative;
}
.footer_nav ul li.nav_button a:after {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_morelink_white.png");
	width: 20px;
	height: 20px;
}
.footer_nav ul li.nav_button a:before {
	content: none;
}
footer .links ul li {
	display: inline-block;
	line-height: 1;
}
footer .links ul li a {
	font-weight: 400;
}

/* Accordion */
@media screen and (max-width:767px) {
	.footer_nav div .menu_title {
		padding: 16px;
	}
	.menu_title {
		position: relative;
	}
	.menu_title:before {
		content: '';
		display: inline-block;
		position: absolute;
		right: 15px;
		width: 9.33px;
		height: 2px;
		background-color: #fff;
		top: calc(50% + 1px);
		transform: translateY(-50%);
		transition: all .3s ease;
	}
	.menu_title:after {
		content: '';
		display: inline-block;
		position: absolute;
		right: 16px;
		width: 9.33px;
		height: 2px;
		background-color: #fff;
		top: 50%;
		transform: translateY(-50%);
		transition: all .3s ease;
	}
	.menu_title:after {
		transform: rotate(90deg) translateY(-50%);
	}
	.menu_title.active:before {
		transform: rotateZ(180deg) translateY(-50%);
		height: 2px;
	}
	.menu_title.active:after {
		transform: rotateZ(360deg) translateY(-50%);
		height: 0px;
	}
	.footer_nav ul {
		display: none;
	}
	.search_table.sp_search_table table tr th,
	.search_location_sp .location_prefecture,
	.search_train_sp .train_name {
		position: relative;
	}
	.search_table.sp_search_table table tr th:after,
	.search_location_sp .location_prefecture:after,
	.search_train_sp .train_name:after {
		content: "";
		background-image: url("../images/select_icon.png");
		width: 24px;
		height: 24px;
		background-size: contain;
		position: absolute;
		top: 50%;
		right: 16px;
		transform: translateY(-50%);
		
	}
	.search_table.sp_search_table table tr th.active:after,
	.search_location_sp .location_prefecture.active:after,
	.search_train_sp .train_name.active:after {
		transform: scaleY(-1) translateY(10px);
	}
	.search_table.sp_search_table table tr td,
	.search_location_sp .location_detail,
	.search_train_sp .train_detail {
		display: none;
	}
	.location_prefecture label,
	.location_detail label.whole_city,
	.location_detail label.whole_group,
	.location_detail label.whole_town {
		font-weight: 700;
	}
	.location_group,
	.location_town {
		border-top: 1px solid #ccc;
		padding-top: 12px;
	}
	.lcoation_content,
	.train_content {
		margin-top: 56px;
	}
}

/* category */
@media screen and (min-width:1180px) {
	.category_box {
		padding: 20px;
		border-radius: 0.5rem;
		background: #FFF;
		margin: 18px auto 0;
	}
	.category_lists {
		grid-template-columns: repeat(10, 1fr);
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	.category_box {
		padding: 20px;
		border-radius: 0.5rem;
		background: #FFF;
		margin: 32px auto 0;
    	width: calc(100% - 80px);
	}
	.category_lists {
		grid-template-columns: repeat(5, 1fr);
	}
}
@media screen and (min-width:768px) {
	h2.category_box_title {
		padding-left: 32px;
	}
	h2.category_box_title:before {
		width: 24px;
		height: 24px;
	}
}
@media screen and (max-width:767px) {
	h2.category_box_title {
		padding-left: 40px;
	}
	h2.category_box_title:before {
		width: 32px;
		height: 32px;
	}
	.category_box {
		padding: 20px;
		border-radius: 0.5rem;
		background: #FFF;
		margin: 18px auto 0;
	}
	.category_lists {
		grid-template-columns: repeat(3, 1fr);
	}
}
h2.category_box_title {
	position: relative;
	text-align: left;
}
h2.category_box_title:before {
	display: inline-block;
	content: "";
	background-image: url("../images/icon_category.png");
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
.category_lists {
	margin: 20px auto 0;
	display: grid;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.category_lists li a {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0.5rem;
	border: 1px solid #999;
	background: #FFF;
	padding: 4px 0;
	text-align: center;
}
.category_lists li a:hover {
	background: #F5F0E1;
	border: 1px solid #F5F0E1;
	color: rgba(96, 56, 19, 1);
}
.category_lists li.exclude a {
	border: 1px solid #999;
	opacity: 0.4;
	background: #CCC;
}

/* columns */
@media screen and (min-width:768px) {
	section.columns,
	section.consultant,
	section.columns_favorite {
		margin: 64px auto 0;
	}
	.consultant_slider .slick-list {
		margin: 0 -48px;
	}
	.consultant_slider .slick-slide {
		margin: 0 32px;
		max-width: 240px;
	}
	.blog_info,
	.consultant_info {
		margin: 8px auto;
		display: grid;
		grid-template-columns: max-content auto;
		gap: 0 20px;
		align-items: center;
	}
	.blog_info .category a,
	.consultant_info .category a {
		padding: 4px 8px;
	}
}
@media screen and (max-width:767px) {
	section.columns,
	section.consultant,
	section.columns_favorite {
		margin: 48px auto 0;
	}
	.consultant_slider .slick-list {
		margin: 0 -48px;
	}
	.consultant_slider .slick-slide {
		margin: 0 32px;
	}
	.blog_info,
	.consultant_info {
		margin: 8px auto;
		display: grid;
		grid-template-columns: max-content auto;
		gap: 0 8px;
		align-items: center;
	}
	.blog_info .category a,
	.consultant_info .category a {
		padding: 4px;
	}
}
h2.columns_favorite_title,
h2.columns_title,
h2.consultant_title {
	position: relative;
	text-align: left;
	padding-left: 64px;
}
h2.tag_popular_title {
	padding-left: 40px;
	position: relative;
	text-align: left;
}
h2.columns_favorite_title:before,
h2.columns_title:before,
h2.consultant_title:before,
h2.tag_popular_title:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}
h2.columns_favorite_title:before {
	background-image: url("../images/icon_colum_favorite.png");
	width: 48px;
	height: 48px;
}
h2.columns_title:before {
	background-image: url("../images/icon_column.png");
	width: 48px;
	height: 48px;
}
h2.consultant_title:before {
	background-image: url("../images/icon_consultant.png");
	width: 48px;
	height: 48px;
}
h2.tag_popular_title:before {
	background-image: url("../images/icon_tag.png");
	width: 24px;
	height: 24px;
}
.blog_slider .slick-slide,
.consultant_slider .slick-slide .consultant_box {
    margin: 0 16px;
}
.blog_slider .slick-list,
.consultant_slider .slick-list {
    overflow: visible;
}
.consultant_slider.slick-slider {
	padding-bottom: 16px;
}
.blog_box,
.consultant_box {
	text-align: left;
}
.consultant_box {
	border-radius: 0.5rem;
	background: #FFF;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.20);
	padding: 16px;
}
.consultant_slider .slider-item {
  padding: 0;
  box-sizing: border-box;
}
.blog_info.page_head {
	justify-content: flex-start;
}
.blog_info .date,
.consultant_info .date,
.answer_comment .date {
	color: rgba(96, 56, 19, 1);
	font-weight: 600;
	letter-spacing: 0.03rem;
	font-family: "Hiragino Kaku Gothic Pro", sans-serif;
}
.blog_info .category a,
.consultant_info .category a {
	color: #603813;
	border-radius: 0.125rem;
	background: #F5F0E1;
	text-align: center;
	display: inline-block;
}
.blog_info .category li.cat_trouble a,
.consultant_info .category li.cat_trouble a {
	background: #003E5B;
	color: #fff;
}
.blog_box .blog_title,
.blog_box .blog_title a {
	line-height: 1.8;
	letter-spacing: 0.04rem;
}
.search_tag_list {
	padding: 16px;
}
.tag_list {
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 16px;
}
.blog_box .tag_list {
	margin: 12px auto 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 16px;
}
.blog_box .tag_list li a,
.tag_list li a {
	border-radius: 100px;
	border: 1px solid #999;
	background: #FFF;
	padding: 2px 8px;
	text-align: center;
	font-weight: 400;
}
.blog_box .tag_list li a:hover,
.tag_list li a:hover {
	color: #003E5B;
    background: #EDF4F7;
}
p.consultant_title {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	font-weight: 700;
	margin-bottom: 6px;
}
p.consultant_title a {
	font-weight: 700;
}
p.consultant_content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
	color: #666;
}
.consultant_box .review {
	margin: 6px auto 0;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    gap: 0 12px;
    align-items: center;
}
.single_review {
	margin: 0 auto 24px;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    gap: 0 12px;
    align-items: center;
}
.consultant_box .review p.commenter,
.consultant_box .review p.bestanswer,
.single_review p.commenter,
.single_review p.bestanswer {
	color: #999;
	line-height: 1.8;
	position: relative;
	padding-left: 20px;
}
.consultant_box .review p.commenter span,
.consultant_box .review p.bestanswer span,
.single_review p.commenter span,
.single_review p.bestanswer span {
	color: #000;
}
.consultant_box .review p.commenter:before,
.single_review p.commenter:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_commenter.png");
	width: 18px;
	height: 18px;
}
.consultant_box .review p.bestanswer:before,
.single_review p.bestanswer:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_bestanswer.png");
	width: 16px;
	height: 16px;
}

/* Swiper */
.blog_slider,
.consultant_slider {
	position: relative;
	padding-bottom: 30px;
}
.blog_slider .swiper-scrollbar.swiper-scrollbar-horizontal,
.consultant_slider .swiper-scrollbar.swiper-scrollbar-horizontal {
	background-color: #EBEBEB;;
	left: 0;
	height: 4px !important;
	bottom: 0;
	top: initial;
}
.blog_slider .swiper-scrollbar .swiper-scrollbar-drag,
.consultant_slider .swiper-scrollbar .swiper-scrollbar-drag {
  	background-color: #003E5B;
}

/* Tag */
@media screen and (min-width:768px) {
	section.tag_popular {
		margin: 64px auto 0;
	}
}
@media screen and (max-width:767px) {
	section.tag_popular {
		margin: 48px auto 0;
	}
}
ul.tag_link {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	align-items: center;
	margin: 16px auto 0;
}
ul.tag_link li a {
	display: block;
	padding: 0.125rem 0.5rem;
	text-align: center;
	background: #FFF;
	border-radius: 6.25rem;
	border: 1px solid #999;
}
ul.tag_link li a:hover {
	color: #003E5B;
	background: #EDF4F7;
}

/* New Add Temple */
@media screen and (min-width:1180px) {
	.add_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 32px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	.add_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media screen and (max-width:767px) {
	.add_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
section.add_temples {
	margin: 64px auto 0;
}
h2.add_temples_title {
	position: relative;
	text-align: left;
	padding-left: 64px;
}
h2.add_temples_title:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_newadd.png");
	width: 48px;
	height: 48px;
}
.add_temples_lists .temple_box {
	display: grid;
	grid-template-columns: 0.451fr 1fr;
	gap: 0 12px;
}
.add_temples_lists .temple_box .image {
	width: auto;
	height: 100%;
	overflow: hidden;
}
.add_temples_lists .temple_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.temple_box .txt {
	text-align: left;
}
.temple_box .txt p.temple_type {
	color: #603813;
	font-weight: 700;
}
.temple_box .txt p.temple_name {
	margin: 4px auto 0;
}
.temple_box .txt p.temple_address {
	margin: 4px auto 0;
	color: #666;
}
.temple_box .txt p.more_link {
	margin: 12px auto 0;
}

/* Ranking */
@media screen and (min-width:1180px) {
	section.ranking_temples .content {
		padding: 0 0 80px;
	}
	.ranking_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 32px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.ranking_temples .content {
		padding: 0 16px 80px;
	}
	.ranking_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}
@media screen and (max-width:767px) {
	section.ranking_temples .content {
		padding: 0 16px 80px;
	}
	.ranking_temples_lists {
		margin: 32px auto 0;
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
	}
}
section.ranking_temples {
	margin: 64px auto 0;
}
h2.ranking_temples_title {
	position: relative;
	text-align: left;
	padding-left: 64px;
}
h2.ranking_temples_title:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_events.png");
	width: 48px;
	height: 48px;
}
.ranking_temples_lists .temple_box {
	display: grid;
	grid-template-columns: 0.451fr 1fr;
	gap: 0 12px;
}
.ranking_temples_lists .temple_box .image {
	width: auto;
	height: 100%;
	overflow: hidden;
	position: relative;
}
.ranking_temples_lists .temple_box img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.temple_box .image .number {
	border-radius: 0 0.5rem;
	background: #000;
	position: absolute;
	top: -1px;
    right: -1px;
	color: #fff;
	padding: 0.25rem 0.625rem;
	font-weight: 400;
}
.temple_box .image .number.one {
	background: linear-gradient(135deg, #FAD46C 12.14%, #C7A956 92.5%);
	color: #000;
}
.temple_box .image .number.two {
	background: linear-gradient(135deg, #FAFAFA 12.14%, #C7C7C7 92.5%);
	color: #000;
}

.temple_box .image .number.three {
	background: linear-gradient(135deg, #F2AA61 12.14%, #B26B23 92.5%);
	color: #000;
}

/* News */
@media screen and (min-width:1180px) {
	section.news .content {
		padding: 80px 0;
	}
	.news_box {
		padding: 32px 32px 48px 32px;
		width: calc(848px - 64px);
	}
	.news_list li a span.date {
		display: inline-block;
		margin-right: 16px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.news .content {
		padding: 80px 16px;
	}
	.news_box {
		padding: 16px 16px 24px 16px;
		width: calc(100% - 32px);
	}
	.news_list li a span.date {
		display: block;
	}
}
@media screen and (min-width:768px) {
	.news_list li a {
		padding: 24px 84px 24px 24px;
	}
	.news_list li a::after {
		right: 24px;
	}
}
@media screen and (max-width:767px) {
	section.news .content {
		padding: 64px 16px;
	}
	.news_box {
		padding: 24px;
		width: calc(100% - 48px);
	}
	section.news_box h2 {
		text-align: center;
		margin-bottom: 0;
		width: 100%;
	}
	section .sub_content {
		margin: 0 auto 24px;
		display: block;
	}
	.news_list li a {
		padding: 16px 40px 16px 8px;
	}
	.news_list li a span.date {
		display: block;
	}
	.news_list li a::after {
		right: 8px;
	}
}
section.news {
	background: #F5F5F5;
	background-image: url("../images/news_bg.png");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: 100%;
}
.news_box {
	border-radius: 16px;
	background: #FFF;
	margin: 0 auto;
}
.news_list li {
	border-top: 1px solid #CCC;
}
.news_list li:last-child {
	border-bottom: 1px solid #CCC;
}
.news_list li a {
	display: block;
	position: relative;
	text-align: left;
}
.news_list li a::after {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_morelink.png");
	width: 24px;
	height: 24px;
}
.news_list li a span.date {
	font-size: 0.875rem;
	color: #603813;
	font-family: "Hiragino Kaku Gothic Pro";
	font-weight: 600;
}

/* ctn */
@media screen and (min-width:768px) {
	section.ctn {
		background-image: url("../images/ctn_bg.png");
		background-repeat: no-repeat;
		background-size: cover;
		padding: 8px 0;
		overflow: hidden;
	}
	.ctn .three_col {
		display: grid;
		align-items: center;
		grid-template-columns: 0.509fr 1fr 0.433fr;
		gap: 0 8px;
	}
}
@media screen and (max-width:767px) {
	section.ctn {
		background-image: url("../images/ctn_bg_sp.png");
		background-repeat: no-repeat;
		background-size: cover;
		padding: 32px 0;
		overflow: hidden;
	}
	.ctn .three_col {
		display: block;
	}
}
section.ctn .content {
	max-width: 1024px;
}
.ctn .three_col .ctn_image_2 {
	margin-bottom: -40px;
}
section.ctn h2 {
	color: #003E5B;
	text-align: center;
	-webkit-text-stroke: 4px #fff;
	text-stroke: 4px #fff;
	paint-order: stroke;
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: 0.07rem;
}
section.ctn h2 span.small {
	color: #003E5B;
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.06rem;
}
section.ctn h2 span.strong {
	color: #A1312A;
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: 0.07rem;
}
section.ctn h2 span.strong.small {
	color: #A1312A;
	font-size: 1.5rem;
	font-weight: 900;
	letter-spacing: 0.06rem;
}
div.ctn_image_sp {
	max-width: 294px;
	margin: 20px auto 15px;
}

/* button */
@media screen and (min-width:768px) {
	p.login_button a,
	p.logout_button a {
		padding: 8px 16px;
	}
	p.search_button a {
		border-radius: 8px;
		background: #003E5B;
		border: 2px solid #003E5B;
		padding: 4px 24px;
		color: #fff;
		text-align: center;
		line-height: 2.4;
		display: inline-block;
	}
}
@media screen and (max-width:767px) {
	p.login_button a,
	p.logout_button a {
		padding: 4px 8px;
	}
	p.more_link {
		margin: 24px auto 0;
	}
	p.search_button {
		margin: 16px auto 0;
		text-align: center;
	}
	p.search_button a {
		border-radius: 8px;
		background: #003E5B;
		border: 2px solid #003E5B;
		padding: 4px 24px;
		color: #fff;
		text-align: center;
		line-height: 2.4;
		display: inline-block;
	}
	p.search_button.detail a {
		border-radius: 8px;
		background: #003E5B;
		border: 2px solid #003E5B;
		padding: 4px 24px 4px 56px;
		color: #fff;
		text-align: center;
		line-height: 2.4;
		display: inline-block;
		position: relative;
	}
	p.search_button.detail a:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 24px;
		top: 50%;
		transform: translateY(-50%);
		background-image: url(../images/icon_search.png);
		width: 24px;
		height: 24px;
	}
}
p.logout_button {
	margin: 0 24px;
}
p.login_button a,
p.logout_button a {
	border-radius: 100px;
	border: 1px solid #A1312A;
	background: #A1312A;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	line-height: 150%;
	letter-spacing: 0.64px;
}
p.login_button a:hover,
p.logout_button a:hover {
	opacity: .8;
}
p.login_button a span,
p.logout_button a span {
	color: #fff;
}
p.login_button a .icon,
p.logout_button a .icon {
	width: 24px;
}
p.more_link a {
	border-radius: 100px;
	background: #F5F5F5;
	padding: 4px 36px 4px 16px;
	position: relative;
}
p.more_link a:after {
	display: inline-block;
	content: "";
	background-image: url("../images/icon_morelink.png");
	background-repeat: no-repeat;
	background-size: contain;
	width: 24px;
	height: 24px;
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
}
p.ctn_btn {
	display: block;
	margin: 24px auto 0;
}
p.ctn_btn a {
	border-radius: 6.25rem;
	border: 1px solid #A1312A;
	background: #A1312A;
	padding: 0.75rem 2rem;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	display: inline-block;
}
p.search_button a:hover {
	background: #fff;
	color: #003E5B;
}

/* Search */
@media screen and (min-width:1180px) {
	section.search_lists .content {
		padding: 32px 0 0;
	}
	section.search_lists.search_detail .content {
		padding: 32px 0 50px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.search_lists .content {
		padding: 32px 16px 0;
	}
	section.search_lists.search_detail .content {
		padding: 32px 16px 50px;
	}
}
@media screen and (min-width:768px) {
	h2.search_lists_title,
	h1.search_lists_title {
		position: relative;
		text-align: left;
		padding-left: 64px;
		margin: 24px auto;
	}
	h1.search_lists_title.consultant_category {
		margin: 48px auto 24px;
	}
	h2.search_lists_title:before,
	h1.search_lists_title:before {
		width: 48px;
		height: 48px;
	}
	.search_currenlty {
		gap: 32px;
		padding: 24px;
		width: calc(100% - 48px);
	} 
	.search_currenlty > div {
		display: flex;
		gap: 16px;
		flex-wrap: wrap;
		align-items: center;
	}
	p.search_currenlty_location span,
	p.search_currenlty_train span {
		margin-left: 16px;
	}
	section.search_result {
		padding: 0 0 100px;
	}
	.search_table table thead tr,
	.search_table table tbody tr {
		display: grid;
		grid-template-columns: .266fr 1fr;
	}
	.search_table table tbody tr th {
		width: 200px;
		padding: 24px;
	}
	.search_table table tbody tr td {
		width: calc(100% - 48px);
		padding: 24px;
	}
	.search_category,
	.search_religion,
	.search_calendar {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		gap: 12px;
	}
	.access_options {
		display: flex;
		gap: 12px;
		flex-wrap: wrap;
		align-items: center;
	}
}
@media screen and (max-width:767px) {
	section.search_lists .content {
		padding: 16px 16px 0;
	}
	section.search_lists.search_detail .content {
		padding: 16px 16px 50px;
	}
	h2.search_lists_title,
	h1.search_lists_title {
		position: relative;
		text-align: left;
		padding-left: 40px;
		margin: 0 auto 16px;
	}
	h1.search_lists_title.consultant_category {
		margin: 24px auto 16px;
	}
	h2.search_lists_title:before,
	h1.search_lists_title:before {
		width: 32px;
		height: 32px;
	}
	.search_currenlty {
		gap: 16px;
		padding: 16px;
		width: calc(100% - 32px);
	}
	.search_currenlty > div {
		display: grid;
		gap: 8px;
		flex-wrap: wrap;
		align-items: center;
		grid-template-columns: 1fr .8fr;
	}
	p.search_currenlty_location span,
	p.search_currenlty_train span {
		margin-left: 8px;
	}
	section.search_result .content {
		padding: 0 16px;
	}
	.search_result_head .search_result_head_info {
		margin: 4px auto 0;
	}
	section.search_result {
		padding: 0 0 50px;
	}
	.search_detail_list {
		margin: 16px auto 0;
	}
	.search_table table tbody tr th,
	.search_table table tbody tr td {
		display: block;
	}
	.search_table table tbody tr th {
		display: block;
		width: calc(100% - 32px);
		padding: 12px 16px;
	}
	.search_table table tbody tr td {
		width: 100%;
	}
	.search_category,
	.search_religion,
	.search_calendar {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}
	.search_table table tbody tr td label,
	.search_table table tbody tr td .search_dispatch label,
	.search_location_sp .location_detail label,
	.search_train_sp .train_detail label {
		padding: 12px 16px;
		border-bottom: 1px solid #ccc;
		display: block;
	}
	.search_table table tbody tr td label:last-child,
	.search_table table tbody tr td .access_options > div:last-child,
	.search_location_sp .location_detail label:last-child,
	.search_train_sp .train_detail label:last-child {
		border-bottom: none;
	}
	.search_table table tbody tr td .access_options > div {
		padding: 12px 16px;
		border-bottom: 1px solid #ccc;
	}
	.search_table table tbody tr td div div label {
		padding: 0;
	}
	.search_table.sp_search_table table {
		margin: 0 auto 16px;
	}
	.search_table.sp_search_table .search_num {
		border-top: none;
	}
	.location_prefecture label,
	.train_name label {
		padding: 12px 16px;
		border-bottom: 1px solid #ccc;
		display: block;
		text-align: left;
	}
	.search_location_sp,
	.search_train_sp {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		background-color: #fff;
		z-index: 9999;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
		display: none; 
		transition: all .3s;
	}
	.search_location_sp.open,
	.search_train_sp.open {
		display: block;
		overflow-y: scroll;
	}
	.search_location_sp .location_detail label,
	.search_train_sp .train_detail label {
		text-align: left;
	}
	.search_location_sp .location_head,
	.search_train_sp .train_head {
		padding: 16px;
		background: #003E5B;
		position: relative;
		color: #fff;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		position: fixed;
        width: 100%;
        z-index: 10;
		top: 0;
	}
	.search_location_sp .location_head .back,
	.search_train_sp .train_head .back {
		position: absolute;
		left: 16px;
		top: 50%;
		transform: translateY(-50%);
		color: #fff;
		padding-left: 20px;
	}
	.search_location_sp .location_head .back button,
	.search_train_sp .train_head .back button {
	    background: none;
		border: none;
		color: #fff;
	}
	.search_location_sp .location_head .back:before,
	.search_train_sp .train_head .back:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		background-image: url(../images/icon_backlink.png);
		width: 20px;
		height: 20px;
	}
	.search_location_sp .location_head .search_location_title,
	.search_train_sp .train_head .search_train_title {
		position: relative;
		color: #fff;
		padding-left: 28px;
	}
	.search_location_sp .location_head .search_location_title:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		background-image: url(../images/icon_location_white.png);
		width: 20px;
		height: 20px;
	}
	.search_train_sp .train_head .search_train_title:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 0;
		top: 50%;
		transform: translateY(-50%);
		background-image: url(../images/icon_train_white.png);
		width: 20px;
		height: 20px;
	}
	.train_list label a {
		color: #2B6B8A;
		text-decoration: underline;
	}
	.train_name label {
		font-weight: 700;
	}
	.location_prefecture label,
	.train_name label {
		background: #F5F5F5;
	}
}
h2.search_lists_title:before,
h1.search_lists_title:before {
	display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(../images/icon_search_blue.png);
}
h2.search_lists_title span.search_keyword,
h1.search_lists_title span.search_keyword {
	color: #003E5B;
}
.search_table table {
	width: 100%;
}
.search_table table thead tr,
.search_table table tbody tr {
	border-top: 1px solid #CCC;
}
.search_currenlty {
	display: flex;
    flex-wrap: wrap;
	align-items: center;
	border-top: 1px solid #CCC;
} 
.search_currenlty > div.search_table {
	display: block;
}
p.search_currenlty_location,
p.search_currenlty_train {
	color: rgba(0, 62, 91, 1);
	font-weight: 700;
	position: relative;
	padding-left: 32px;
	line-height: 1.5;
}
p.search_currenlty_location:before,
p.search_currenlty_train:before {
	display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}
p.search_currenlty_location:before {
	background-image: url("../images/icon_location_blue.png");
}
p.search_currenlty_train:before {
	background-image: url("../images/icon_train.png");
}
p.search_currenlty_location span,
p.search_currenlty_train span {
	color: #000;
	display: inline-block;
	font-weight: 700;
}
.search_table table tbody tr th {
	background: #F5F5F5;
	text-align: left;
}
.search_table table tbody tr td {
	background-color: #fff;
	text-align: left;
}
.search_table th span {
	position: relative;
	padding-left: 32px;
}
.search_table th span:before {
	display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}
.search_table th span.category:before {
	background-image: url("../images/icon_category_blue.png");
}
.search_table th span.religion:before {
	background-image: url("../images/icon_religion.png");
}
.search_table th span.calendar:before {
	background-image: url("../images/icon_calendar.png");
}
.search_table th span.train:before {
	background-image: url("../images/icon_train.png");
}
.search_table th span.dispatch:before {
	background-image: url("../images/icon_dispatch.png");
}
.search_table th span.tag:before {
	background-image: url("../images/icon_tag_blue.png");
}
.access_options select {
	margin: 0 4px;
}
.search_num {
	padding: 24px;
	border-top: 1px solid #CCC;
	background: #F0F7FA;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 32px;
}
.search_num p.strong_txt {
	font-weight: 700;
	line-height: 1.8;
	display: flex;
    align-items: center;
}
.search_num p.strong_txt span {
	font-weight: 700;
	display: inline-block;
	color: #E52E2E;
	margin-left: 16px;
	line-height: 1.3;
	margin-right: 8px;
}

/* 検索結果 */
@media screen and (min-width:768px) {
	.search_result_head .search_result_head_info {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		gap: 0 32px;
	}
	.search_result_list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		justify-content: space-between;
		margin: 24px auto 0;
	}
	.search_result_list .temple_box {
		padding: 24px;
		border-radius: 8px;
		border: 1px solid #CCC;
		display: grid;
		grid-template-columns: .7fr 1fr;
		gap: 0 20px;
		justify-content: space-between;
		position: relative;
	}
	.temple_box ul.temple_info li:before,
	ul.temple_info li:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 0;
		top: 1px;
		width: 16px;
		height: 16px;
	}
}
@media screen and (max-width:767px) {
	.search_result_head .search_result_head_info {
		display: grid;
		align-items: center;
		justify-content: space-between;
		gap: 0 8px;
		grid-template-columns: 1fr 1fr;
	}
	.search_result_head_num {
		text-align: left;
	}
	.search_result_list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px;
		justify-content: space-between;
		margin: 24px auto 0;
	}
	.search_result_list .temple_box {
		padding: 24px;
		border-radius: 8px;
		border: 1px solid #CCC;
		display: grid;
		grid-template-columns: 1fr;
		gap: 20px;
		justify-content: space-between;
		position: relative;
	}
	.search_result_list .temple_box .image {
		aspect-ratio: 13 / 9;
		width: 100%;
		height: auto;
		overflow: hidden;
		border-radius: 8px;
	}
	.search_result_list .temple_box .image img {
		width: 100%;
		height: auto;
		aspect-ratio: 13 / 9;
		object-fit: cover;
	}
	.temple_box ul.temple_info li:before,
	ul.temple_info li:before {
		display: inline-block;
		content: "";
		background-repeat: no-repeat;
		background-size: contain;
		position: absolute;
		left: 0;
		top: 1px;
		width: 16px;
		height: 16px;
	}
}
.search_result_head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0 32px;
	margin: 24px auto;
}
.search_result_head h2 {
	color: #003E5B;
	line-height: 1.5;
	letter-spacing: 1.28px;
	padding-left: 20px;
	border-left: 4px solid #003E5B;
}
.search_result_head_num p span {
	color: #E52E2E;
}
.sort_box { display: inline-block; }
.sort_box span { vertical-align: middle; }
.search_result_list .temple_box.active {
	background: #F0F7FA;
}
.search_result_list .temple_box.active:after {
	display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 10px;
    bottom: 10px;
   	width: 13.309px;
	height: 14.875px;
	background-image: url("../images/icon_current_map.png");
}
.temple_box h3 {
	margin-bottom: 8px;
}
.temple_box h3 a {
	color: #235770;
	border-bottom: 1px solid #235770;
}
.temple_box h3 a:hover {
	border-bottom: none;
}
.temple_box ul.temple_info,
ul.temple_info {
	margin: 12px auto 0;
}
.temple_box ul.temple_info li,
ul.temple_info li {
	padding-left: 24px;
	position: relative;
	margin: 0 auto 8px;
}
.temple_box ul.temple_info li:last-child,
ul.temple_info li:last-child {
	margin: 0 auto;
}
.temple_box ul.temple_info li.religion:before,
ul.temple_info li.religion:before {
	background-image: url("../images/icon_religion.png");
}
.temple_box ul.temple_info li.location:before,
ul.temple_info li.location:before {
	background-image: url("../images/icon_area_location.png");
}
.temple_box ul.temple_info li.calendar:before,
ul.temple_info li.calendar:before {
	background-image: url("../images/icon_calendar.png");
}
.temple_box ul.temple_info li.train:before,
ul.temple_info li.train:before {
	background-image: url("../images/icon_train.png");
}

/* Popup */
@media screen and (min-width:1180px) {
	.popup_window {
		width: calc(50vw - 64px);
		height: calc(90vh - 64px);
		max-width: 1100px;
		min-width: 950px;
		min-height: 600px;
		max-height: 800px;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		border-radius: 20px;
		border: 1px solid #999;
		background: #FFF;
		overflow: hidden;
	}
	.popup_close {
		top: 10px;
		right: 13%;
		transform: translateX(-13%);
	}
	.popup_window svg.area_map {
		text-align: center;
		margin: 5px auto 0;
		width: auto;
		max-height: 616px;
		height: 90%;
	}
	.popup_window .area_link.tohoku {
		right: 5%;
		bottom: 54%;
	}
	.popup_window .area_link.kanto {
		right: 5%;
		bottom: 23%;
	}
}
@media screen and (max-width:1179px) {
	.popup_window {
		/*
		width: calc(50vw - 64px);
		height: calc(90vh - 64px);
		*/
		width: 750px;
		height: 750px;
		position: fixed;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		border-radius: 20px;
		border: 1px solid #999;
		background: #FFF;
		overflow: hidden;
	}
	.popup_close {
		top: 1%;
		right: 10px;
	}
	.popup_window svg.area_map {
		text-align: center;
		margin: 0 auto;
		width: auto;
		height: 500px;
		position: absolute;
		top: 50%;
		left: 35%;
		transform: translate(-35%, -50%);
	}
	.popup_window .area_link.tohoku {
		right: 1%;
		bottom: 50%;
	}
	.popup_window .area_link.kanto {
		right: 1%;
		bottom: 23%;
	}
}
button.popup_btn,
button.popup_btn_train {
	background-color: #fff;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 4px 8px;
}
.popup-open {
	cursor: pointer;
	border-radius: 4px;
	border: 1px solid #ccc;
	padding: 4px 8px;
}
.popup_overlay {
  	display: none;
}
.popup_overlay.open {
	display: block;
	z-index: 99999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
section.search_lists .popup_window .content {
	position: relative;
	overflow-y: scroll;
	overscroll-behavior-y: contain;
	padding: 0 32px;
	display: block;
	height: 100%;
}
section.search_lists .popup_window .search_num {
	margin: 0 auto 32px;
}
.popup_window .area_link.kyusyu {
	left: 3%;
    bottom: 35%
}
.popup_window .area_link.chugoku {
	left: 24%;
    bottom: 50%;
}
.popup_window .area_link.shikoku {
	left: 35%;
    bottom: 3%;
}
.popup_window .area_link.chubu {
	left: 45%;
    top: 23%;
}
.popup_window .area_link.kinki {
	left: 59%;
    bottom: 7%;
}
.popup_window .area_link.hokkaido {
	top: 8%;
    left: 55%;
}
.popup_window .area_link .area_location {
	position: relative;
	color: #003E5B;
	font-weight: 700;
	line-height: 1.8;
	padding-left: 20px;
	text-align: left;
}
.popup_window .area_link .area_location:before {
	display: inline-block;
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	background-image: url("../images/icon_area_location.png");
	width: 16px;
	height: 16px;
}
.popup_window .area_link ul {
	margin: 4px auto 0;
}
.popup_window .area_link ul.one_col {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
}
.popup_window .area_link ul.two_col {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.popup_window .area_link ul li a:hover {
	background: #EDF4F7;
	color: #003E5B;
}
.popup_close {
  	cursor: pointer;
  	position: absolute;
	z-index: 5;
}
.popup_window .prefecture {
	background: #EDF4F7;
	padding: 16px 24px;
	line-height: 1.8;
	text-align: left;
	margin-top: 32px;
}
.popup_window .city_whole {
	padding: 24px;
	border-bottom: 1px solid #CCC;
	text-align: left;
}
.popup_window .city_whole label.city_name {
	margin: 0 auto 16px;
	color: #333;
	line-height: 1.8;
	display: block;
}
.popup_window .district {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px 8px;
}
.popup_window .district label,
.popup_window .district label a {
	color: #2B6B8A;
	font-weight: 400;
}
.popup_window .district label a {
	text-decoration: underline;
}

/* pagenation */
@media screen and (min-width:768px) {
	ul.page-numbers li {
		margin-right: 2em;
	}
	ul.page-numbers li a.prev {
		margin-right: 2em;
	}
	ul.page-numbers li a.next {
		margin-left: 2em;
	}
}
@media screen and (max-width:767px) {
	ul.page-numbers li {
		margin-right: 1.5rem;
	}
}
ul.page-numbers {
	margin: 56px auto 0;
	width: 100%;
	text-align: center;
}
.consultant_page ul.page-numbers {
	margin: 56px auto;
}
ul.page-numbers li {
  display: inline-block;
  vertical-align: middle;
}
ul.page-numbers li:last-child {
	margin-right: 0;
}
ul.page-numbers li .current {
	color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	background: #003E5B;
	line-height: 38px;
	display: block;
}
ul.page-numbers li a {
	color: #003E5B;
}
ul.page-numbers li a.prev.active svg path,
ul.page-numbers li a.next.active svg path {
	stroke: #000;
}
ul.page-numbers li a.next svg path,
ul.page-numbers li a.prev svg path {
	stroke: #ccc;
}

/* お寺の詳細ページ */
@media screen and (min-width:1180px) {
	section.temple_contact .content {
		padding: 48px 0;
	}
	section.temple_overview_section {
		padding-bottom: 80px;
	}
	.temple_overview {
		display: grid;
		grid-template-columns: 1fr 0.938fr;
		justify-content: space-between;
		gap: 0 40px;
		text-align: left;
	}
	.temple_detail_content .blog_lists,
	.search_result .blog_lists {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 24px;
		justify-content: space-between;
	}
	.single_main .temple_detail_content .blog_lists {
		grid-template-columns: repeat(3, 1fr);
	}
	.temple_detail_content .consultant_list {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		justify-content: space-between;
	}
	.single_main .temple_detail_content .consultant_list {
		grid-template-columns: repeat(2, 1fr);
	}
	.cando {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 16px;
		justify-content: space-between;
	}
	.day_49_price p img {
		height: 190px;
		width: auto;
	}
	ul.religion_can {
		display: grid;
		grid-template-columns: repeat(6, 1fr);
		gap: 8px;
	}
	.event_schedule div p.date {
		color: #603813;
		font-family: "Hiragino Kaku Gothic Pro";
		letter-spacing: 0.035rem;
		font-size: 0.875rem;
		width: 10%;
		vertical-align: middle;
	}
	.event_schedule div p.title {
		width: calc(90% - 16px);
		letter-spacing: 0.04rem;
		vertical-align: middle;
	}
	table.member tr th {
		background: #F6F6F6;
		padding: 16px 24px;
		text-align: left;
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-size: .875rem;
		width: calc(20% - 48px);
	}
	table.member tr td {
		padding: 16px 24px;
		text-align: left;
		background: #fff;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-weight: 400;
		font-size: .875rem;
		width: calc(70% - 48px);
		vertical-align: middle;
	}
	table.member tr td.price {
		width: calc(10% - 54px);
		vertical-align: middle;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.temple_contact .content {
		padding: 48px 16px;
	}
	section.temple_overview_section {
		padding-bottom: 120px;
	}
	.temple_overview {
		display: grid;
		grid-template-columns: 1fr;
		justify-content: space-between;
		gap: 40px;
		text-align: left;
	}
	.temple_detail_content .blog_lists,
	.search_result .blog_lists {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		justify-content: space-between;
	}
	.single_main .temple_detail_content .blog_lists {
		grid-template-columns: repeat(2, 1fr);
	}
	.temple_detail_content .consultant_list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		justify-content: space-between;
	}
	.cando {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		justify-content: space-between;
	}
	.day_49_price p img {
		height: 125px;
		width: auto;
	}
	ul.religion_can {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 8px;
	}
	.event_schedule div p.date {
		color: #603813;
		font-family: "Hiragino Kaku Gothic Pro";
		letter-spacing: 0.035rem;
		font-size: 0.875rem;
		width: 15%;
		vertical-align: middle;
	}
	.event_schedule div p.title {
		width: calc(85% - 16px);
		letter-spacing: 0.04rem;
		vertical-align: middle;
	}
	table.member tr th {
		background: #F6F6F6;
		padding: 16px 24px;
		text-align: left;
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-size: .875rem;
		width: calc(20% - 48px);
	}
	table.member tr td {
		padding: 16px 24px;
		text-align: left;
		background: #fff;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-weight: 400;
		font-size: .875rem;
		width: calc(62% - 48px);
		vertical-align: middle;
	}
	table.member tr td.price {
		width: calc(18% - 54px);
		vertical-align: middle;
	}
}
@media screen and (min-width:768px) {
	.temple_overview .slide {
		width: 100%;
		max-width: 552px;
		margin: 0 auto;
	}
	.temple_overview .slide .temple_slider,
	.temple_overview .slide .thumb {
		max-width: 552px;
	}
	.temple_overview .slide .thumb {
		width: 85%;
	}
	.comment {
		margin: 16px auto 0;
	}
	.comment_text {
		padding: 16px;
	}
	.comment {
		display: grid;
		grid-template-columns: repeat(2, auto);
		gap: 24px;
	}
	.comment.monk {
		align-items: center;
	}
	.temple_detail_content .comment {
		display: flex;
	}
	.temple_detail_content .comment_text {
		background-color: #F5F0E1;
		border: 1px solid #F5F0E1;
		width: calc(100% - 144px);
	}
	.temple_detail_content .comment.monk .comment_text {
		background-color: rgba(255,255,255,0);
		border: none;
	}
	.temple_detail_content .comment.monk .comment_text:before,
	.temple_detail_content .comment.monk .comment_text:after {
		display: none;
		content: none;
	}
	.temple_detail_content .comment_text:before,
	.temple_detail_content .comment_text:after {
		border-right: 20px solid #F5F0E1;
	}
	.comment_text:before {
		position: absolute;
		top: 50%;
		left: -20px;
		border-top: 16px solid transparent;
		border-bottom: 16px solid transparent;
		border-right: 20px solid #fff;
		border-left: 0;
		content: '';
		transform: translateY(-50%);
	}
	.comment_text:after {
		position: absolute;
		top: 50%;
		left: -20px;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-right: 26px solid #fff;
		border-left: 0;
		content: '';
		transform: translateY(-50%);
	}
	.recommend.three_col,
	.equipment.three_col,
	.history.three_col {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 32px 24px;
		justify-content: space-between;
	}
	.recommend.three_col h4,
	.equipment.three_col h4,
	.history.three_col h4 {
		font-weight: 500;
	}
	section.temple_contact table tr,
	table.price tr,
	table.grave_price tr,
	table.member tr {
		display: flex;
		flex-wrap: wrap;
	}
	section.temple_contact table tr th {
		padding: 16px 24px;
		text-align: left;
		background: #FAF7F0;
		width: calc(20% - 48px);
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
	}
	section.temple_contact table tr td {
		padding: 16px 24px;
		text-align: left;
		background: #fff;
		width: calc(80% - 52px);
		border: 1px solid #ccc;
		border-collapse: collapse;
		word-break: break-all;
	}
	table.price tr th {
		background: #F6F6F6;
		padding: 16px 24px;
		text-align: left;
		width: calc(25% - 48px);
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-size: .875rem;
	}
	.cando_list .cando_box {
		display: grid;
		grid-template-columns: .161fr 1fr;
		gap: 0 16px;
		justify-content: flex-start;
		text-align: left;
	}
	.hondo_box,
	.grave_box,
	.event_box {
		display: grid;
		grid-template-columns: .288fr 1fr;
		gap: 0 16px;
		justify-content: flex-start;
	}
	.staff_list {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 32px;
		margin: 24px auto 0;
	}
	.staff_list .staff_box .two_col {
		display: grid;
		grid-template-columns: .274fr 1fr;
		gap: 16px;
	}
	.event_schedule div {
		border-top: 1px solid #CCC;
		padding: 24px;
		width: calc(100% - 48px);
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		align-items: center;
		gap: 0 16px;
	}
	.event_schedule div:last-child {
		border-bottom: 1px solid #CCC;
	}
}
@media screen and (max-width:767px) {
	section.temple_overview_section {
		padding-bottom: 144px;
	}
	section.temple_overview_section .content {
		padding: 0;
	}
	.temple_overview {
		display: grid;
		grid-template-columns: 1fr;
		justify-content: space-between;
		gap: 24px 0;
		text-align: left;
	}
	.temple_overview .slide,
	.temple_overview .slide .temple_slider {
		width: 100vw;
	}
	.temple_overview .slide .thumb {
		width: 80%;
		max-width: 250px;
	}
	.temple_overview .txt {
		padding: 0 16px;
	}
	.comment {
		margin: 8px auto 0;
	}
	.comment_text {
		padding: 8px;
	}
	.comment {
		display: grid;
		grid-template-columns: 1fr;
		gap: 20px 0;
	}
	.comment.head .comment_text {
		padding: 16px;
	}
	.comment.head {
		display: grid;
		grid-template-columns: repeat(2, auto);
		gap: 24px;
	}
	.temple_detail_content .comment_text {
		background-color: #F5F0E1;
		border: 1px solid #F5F0E1;
		width: calc(100% - 16px);
	}
	.temple_detail_content .comment_text:before,
	.temple_detail_content .comment_text:after {
		border-right: 20px solid #F5F0E1;
	}
	.comment_text:before {
		position: absolute;
        bottom: -16px;
        left: 47%;
        border-top: 16px solid transparent;
        border-bottom: 16px solid transparent;
        border-right: 20px solid #fff;
        border-left: 0;
        content: '';
        transform: rotate(270deg);
	}
	.comment_text:after {
		position: absolute;
		 bottom: -16px;
        left: 47%;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-right: 26px solid #fff;
		border-left: 0;
		content: '';
		transform: rotate(270deg);
	}
	.temple_detail_content .comment.monk .comment_text {
		background-color: rgba(255,255,255,0);
		border: none;
	}
	.temple_detail_content .comment.monk .comment_text:before,
	.temple_detail_content .comment.monk .comment_text:after {
		display: none;
		content: none;
	}
	.comment.head .comment_text:before {
		position: absolute;
		top: 50%;
		left: -20px;
		bottom: initial;
		border-top: 16px solid transparent;
		border-bottom: 16px solid transparent;
		border-right: 20px solid #fff;
		border-left: 0;
		content: '';
		transform: translateY(-50%) rotate(0);
	}
	.comment.head .comment_text:after {
		position: absolute;
		top: 50%;
		left: -20px;
		bottom: initial;
		border-top: 10px solid transparent;
		border-bottom: 10px solid transparent;
		border-right: 26px solid #fff;
		border-left: 0;
		content: '';
		transform: translateY(-50%) rotate(0);
	}
	.recommend.three_col,
	.equipment.three_col {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 8px;
		justify-content: space-between;
	}
	.history.three_col {
		display: grid;
		grid-template-columns: 1fr;
		gap: 16px 8px;
		justify-content: space-between;
	}
	.recommend.three_col h4,
	.equipment.three_col h4,
	.history.three_col h4 {
		font-weight: 700;
		font-size: .875rem;
	}
	section.temple_contact .content {
		padding: 48px 16px;
	}
	section.temple_contact table tr th {
		padding: 8px;
		text-align: left;
		background: #FAF7F0;
		width: 100px;
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
	}
	section.temple_contact table tr td {
		padding: 8px;
		text-align: left;
		background: #fff;
		border: 1px solid #ccc;
		border-collapse: collapse;
		word-break: break-all;
	}
	table.price tr th {
		background: #F6F6F6;
		padding: 8px;
		text-align: left;
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-size: .875rem;
	}
	.temple_detail_content .blog_lists,
	.search_result .blog_lists {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		justify-content: space-between;
	}
	.temple_detail_content .consultant_list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px 0;
		justify-content: space-between;
	}
	.cando {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px 0;
		justify-content: space-between;
	}
	.cando_list .cando_box {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px 0;
		justify-content: flex-start;
		text-align: left;
	}
	.cando_list .cando_box img {
		width: 100%;
	}
	.day_49_price p img {
		height: auto;
		width: 100%;
	}
	.hondo_box,
	.grave_box,
	.event_box {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px 0;
		justify-content: flex-start;
	}
	ul.religion_can {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 8px;
	}
	.staff_list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 32px 0;
		margin: 24px auto 0;
	}
	.staff_list .staff_box .two_col {
		display: grid;
		grid-template-columns: .54fr 1fr;
		gap: 16px;
	}
	.event_schedule div {
		border-top: 1px solid #CCC;
		padding: 24px;
		width: calc(100% - 48px);
		display: grid;
		grid-template-columns: 1fr;
		justify-content: flex-start;
		gap: 4px 0;
	}
	.event_schedule div:last-child {
		border-bottom: 1px solid #CCC;
	}
	.event_schedule div p.date {
		color: #603813;
		font-family: "Hiragino Kaku Gothic Pro";
		letter-spacing: 0.035rem;
		font-size: 0.875rem;
		vertical-align: middle;
	}
	.event_schedule div p.title {
		letter-spacing: 0.04rem;
		vertical-align: middle;
	}
	table.member tr th {
		background: #F6F6F6;
		padding: 8px;
		text-align: left;
		vertical-align: top;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-size: .875rem;
		width: 20px;
    	writing-mode: vertical-rl;
	}
	table.member tr td {
		padding: 8px;
		text-align: left;
		background: #fff;
		border: 1px solid #ccc;
		border-collapse: collapse;
		font-weight: 400;
		font-size: .875rem;
		width: calc(70% - 48px);
		vertical-align: middle;
	}
	table.member tr td.price {
		width: 100px;
        vertical-align: middle;
        text-align: center;
	}
}
section.temple_overview_section {
	background-image: url("../images/single_temple_bg.png");
	background-size: cover;
	background-repeat: no-repeat;
}
.temple_overview h1 span.title_sub {
	display: block;
	color: #235770;
	font-weight: 700;
}
.temple_overview h1 {
	color: #235770;
	font-weight: 700;
	letter-spacing: 0.08rem;
	border-bottom: 1px solid #ccc;
	padding-bottom: 8px;
	margin: 0 auto 8px;
}
.slide,
.slide .temple_slider {
	width: 100%;
	max-width: 720px;
}
.slide.main {
	margin: 80px auto;
	text-align: center;
}
.slide .thumb {
	width: 90%;
	max-width: 600px;
	margin: 8px auto 0;
	width: 85%;
}
.temple_overview .slide .thumb {
	margin: 8px auto 0;
}
.temple_overview .slide .thumb .slick-slide,
.slide .thumb .slick-slide {
	margin: 0 4px;
}
.prev-arrow.slick-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: -30px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.next-arrow.slick-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -30px;
	width: 24px;
	height: 24px;
	cursor: pointer;
}
.temple_overview p {
	font-weight: 400;
}

.comment.second {
	margin: 24px auto 0;
}
.comment.third {
	margin: 48px auto 0;
}
.comment_icon {
	display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: auto;
}
.temple_detail_content .comment_icon {
	width: 120px;
    height: 120px;
}
.comment_text {
	position: relative;
    border: 1px solid #fff;
	background-color: #fff;
	border-radius: 4px;
	text-align: left;
	font-weight: 400;
}
.comment_text p {
	font-weight: 400;
	font-size: .875rem;
}
.comment_text p.title {
	font-size: 1rem;
	color: #333;
	font-weight: 500;
	margin-bottom: 4px;
}
.monk .comment_text p.title {
	font-weight: 700;
}
.recommend.three_col div,
.equipment.three_col div,
.history.three_col div {
	text-align: left;
}
.history.three_col div {
	border-bottom: 1px solid #CCC;
	padding-bottom: 16px;
}
.recommend.three_col h4,
.equipment.three_col h4,
.history.three_col h4 {
	line-height: 180%;
	letter-spacing: 0.04rem;
	margin: 8px auto 4px;
}
.recommend.three_col p,
.equipment.three_col p,
.history.three_col p {
	font-weight: 400;
}
section.temple_contact {
	background: #F6F6F6;
}
section.temple_contact table,
table.price,
table.grave_price,
table.member {
	width: 100%;
	background-color: #fff;
	table-layout: fixed;
	border: 1px solid #ccc;
	border-collapse: collapse;
}
table.grave_price {
	margin: 16px auto;
}
table.price tr td {
	padding: 16px 24px;
	text-align: left;
	background: #fff;
	width: calc(75% - 52px);
	border: 1px solid #ccc;
	border-collapse: collapse;
	font-weight: 400;
	font-size: .875rem;
}
table.grave_price tr th {
	background: #F6F6F6;
	padding: 16px 24px;
	text-align: left;
	width: calc(73.8% - 48px);
	vertical-align: top;
	border: 1px solid #ccc;
	border-collapse: collapse;
	font-size: .875rem;
}
table.grave_price tr td {
	padding: 16px 24px;
	text-align: left;
	background: #fff;
	width: calc(26.2% - 52px);
	border: 1px solid #ccc;
	border-collapse: collapse;
	font-weight: 400;
	font-size: .875rem;
}
section.temple_contact table tr td dl dt,
section.temple_contact table tr td dl dd {
	display: inline-block;
	vertical-align: top;
}
section.temple_contact table tr td dl dt {
	min-width: 150px;
	margin-right: 8px;
}
.temple_detail_content .consultant_list p.consultant_title {
	white-space: inherit;
}
.cando div {
	position: relative;
	border-radius: 8px;
	border: 1px solid #999;
	background: #FAF7F0;
	height: 72px;
}
.cando div .cando_image {
	position: absolute;
	left: 0;
	height: 100%;
	width: auto;
	object-fit: cover;
}
.cando div p.title {
	line-height: 1.4;
	padding: 0 40px 0 95px;
    width: 100%;
    text-align: left;
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}
.cando div p.tooltip_icon {
	position: absolute;
	right: 16px;
	height: auto;
	width: 24px;
	top: 50%;
	transform: translateY(-50%);
}
.tooltip {
    width: 260px;
    padding: 10px;
    font-size: 12px;
    margin: -30px 0 0;
    background-color: rgba(199, 169, 86, 1);
    color: #fff;
    position: absolute;
    right: 0px;
    top: -60px;
    text-align: left;
}
.tooltip:before {
	right: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-color: rgba(102, 102, 102, 0);
    border-right-color: rgba(199, 169, 86, 1);
    border-width: 8px;
    margin-top: -8px;
    bottom: -15px;
    transform: rotate(270deg);
    left: 50%;
}
p.notice {
	font-size: .875rem;
	text-align: left;
	margin: 16px auto 0;
}
.service_area_box {
	border: 1px solid #CCC;
	background: #F6F6F6;
	padding: 16px;
	text-align: left;
}
.service_area_box dl dt {
	color: #003E5B;
}
.service_area_box dl dd {
	font-weight: 400;
	font-size: .875rem;
}
.service_area_box dl dt:not(:first-child) {
	margin-top: 8px;
}
.cando_list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.cando_list .cando_box h4 {
	color: #003E5B;
	margin-bottom: 4px;
}
.cando_list .cando_box h4 span {
	display: inline-block;
	border-radius: 100px;
	background: #003E5B;
	width: 24px;
	height: 24px;
	color: #fff;
	line-height: 24px;
	margin-right: 8px;
	text-align: center;
}
.cando_list .cando_box .txt p {
	font-size: .875rem;
	font-weight: 400;
}
.day_49_price {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 0 16px;
	margin: 24px auto;
}
.event_list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px 0;
}
.hondo_box .add_info,
.grave_box .add_info,
.event_box .add_info {
	border-left: 1px solid #666;
	background: #F6F6F6;
	padding: 16px;
	margin-top: 16px;
}
.hondo_box .add_info ul li,
.grave_box .add_info ul li,
.event_box .add_info ul li {
	list-style-type: disc;
	margin-left: 1em;
	font-size: .875rem;
	line-height: 1.8;
	font-weight: 400;
}
.accordion_list {
	margin: 48px auto 0;
}
.accordion {
	border-top: 1px solid #CCC;
	background: #FFF;
	padding: 16px 8px 16px 16px;
	font-size: 1.25rem;
	line-height: 180%;
	position: relative;
	cursor: pointer;
}
.accordion_list {
	border-bottom: 1px solid #CCC;
}
.accordion:after {
	content: "";
	background-image: url("../images/accordion_btn.png");
	width: 24px;
	height: 24px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 8px;
	transition: all .5s;
}
.accordion.active:after {
	transform: translateY(-50%) scale(1,-1);
}
.accordion_content {
	display: none;
	padding-bottom: 48px;
}
p.recommend {
	color: #603813;
	background: #F5F0E1;
	padding: 8px;
	font-weight: 700;
	margin: 8px auto 0;
}
ul.religion_can li {
	border-radius: 8px;
	border: 1px solid #999;
	background: #FAF7F0;
	padding: 8px 12px;
	letter-spacing: 0.64px;
	text-align: center;
}
p.button_close {
	cursor: pointer;
	margin: 48px auto 0;
	text-align: center;
	width: 240px;
}
p.button_close:hover {
	opacity: .8;
}
.staff_list .staff_box .two_col p.title {
	margin-bottom: 8px;
}
.staff_box .staff_comment {
	background-color: #F5F0E1;
    border: 1px solid #F5F0E1;
    width: calc(100% - 32px);
	position: relative;
    padding: 16px;
    border-radius: 4px;
    text-align: left;
    font-weight: 400;
	margin: 24px auto 0;
	font-size: .875rem;
}
.staff_box .staff_comment:before {
	border-right: 20px solid #F5F0E1;
    position: absolute;
    top: -15px;
    left: 50px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 0;
    content: '';
    transform: rotate(90deg);
}
.staff_box .staff_comment:after {
	border-right: 20px solid #F5F0E1;
	position: absolute;
    top: -15px;
    left: 50px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 0;
    content: '';
   	transform: rotate(90deg);
}
.event_schedule {
	margin: 24px auto 0;
}

/* Tab */
@media screen and (min-width:1180px) {
	section.temple_detail_section .content {
		padding: 0 0 80px;
		margin-top: -38px;
	}
	.tab_container {
		grid-template-columns: repeat(8, 1fr);
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.temple_detail_section .content {
		padding: 0 16px 80px;
		margin-top: -78px;
	}
	.tab_container {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media screen and (min-width:768px) {
	.tab {
		border-radius: 8px 8px 0 0;
		padding: 8px 0;
	}
}
@media screen and (max-width:767px) {
	.tab_container {
		grid-template-columns: repeat(4, 1fr);
		align-items: stretch;
	}
	.tab_container .tab {
		display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        width: 100%;
        height: 35px;
		border-radius: 8px;
		padding: 8px 0;
    }
	.tab_container .tab h2 {
		text-align: left;
		margin: 0 auto;
	}
	section.temple_detail_section .content {
		padding: 0 16px 80px;
		margin-top: -120px;
	}
	p.ctn_flow { text-align: center; }
}
.tab_container {
	display: grid;
	gap: 4px;
}
.tab_container {
    margin: 0 auto;
}
.tab {
	background: #F5F0E1;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
	cursor: pointer;
	text-align: center;
	font-weight: 400;
	line-height: 1.8;	
}
.tab h2 {
	color: #333;
}
.tab.active h2 {
	color: #603813;
}
.tab.active {
  	background-color: #fff;
	
	font-weight: 700;
	line-height: 1.8;
}
.temple_detail_content {
  display: none;
  padding: 40px 0 0;
  text-align: left;
}
.temple_detail_content.show {
  display: block;
}
.temple_detail_content h3 {
	margin: 48px auto 16px;
	padding-left: 12px;
	border-left: 4px solid #C7A956;
	text-align: left;
}
p.ctn_flow {
	margin: 24px auto 0;
}
p.ctn_flow img {
	max-width: 856px;
	width: 90%;
}

/* map */
@media screen and (min-width:768px) {
	.gmap {
		width: 100%;
		height: 360px;
		margin: 0 auto;
	}
	.temple_contact .gmap {
		height: 440px;
	}
}
@media screen and (max-width:767px) {
	.gmap {
		width: 100%;
		height: 360px;
		margin: 0 auto;
	}
	table .gmap {
		height: 100px;
	}
}
.gmap iframe {
  width: 100%;
  height: 100%;
}
.temple_contact .gmap {
	margin-top: 16px;
}

/* 固定バナー */
@media screen and (min-width:768px) {
	.fixed_ctn.spview {
		display: none;
	}
	.fixed_ctn {
		position: fixed;
		top: 50%;
		transform: translateY(-50%);
		right: -100px;
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px 0;
		width: 52px;
		z-index: 5;
		opacity: 0;
		transition: all 0.5s;
	}
	.fixed_ctn.show {
		opacity: 1;
		right: 0;
	}
}
@media screen and (max-width:767px) {
	.fixed_ctn.pcview {
		display: none;
	}
	.fixed_ctn {
		position: fixed;
		bottom: -100px;
		left: 50%;
		transform: translateX(-50%);
		display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		gap: 0 4px;
		width: calc(100% - 32px);
		z-index: 5;
		opacity: 0;
		transition: all 0.5s;
		background-color: rgba(0,0,0,.6);
		padding: 8px 16px;
	}
	.fixed_ctn.show {
		opacity: 1;
		bottom: 0;
	}
}

/* 詳細ページ */
@media screen and (min-width:1180px) {
	.single_page {
		max-width: 1180px;
		margin: 0 auto;
		position: relative;
		display: grid;
		grid-template-columns: 1fr .285fr;
		gap: 0 4%;
		justify-content: space-between;
		padding: 40px 0 80px;
	}
}
@media screen and (min-width:768px) and (max-width:1179px) {
	.single_page {
		margin: 0 auto;
		position: relative;
		display: block;
		padding: 40px 16px 80px;
	}
	.single_sidemenu {
		margin-top: 80px;
	}
}
@media screen and (max-width:767px) {
	.single_page {
		margin: 0 auto;
		position: relative;
		display: block;
		padding: 40px 16px 80px;
	}
	.single_sidemenu {
		margin-top: 80px;
	}
}


.single_main {
	text-align: left;
}
h1.single_title {
	margin-bottom: 1.5rem;
}
.single_page_content h1,
.single_page_content h2,
.single_page_content h3 {
	font-weight: 700;
	margin-bottom: .5rem;
}
.single_page_content p {
	margin: 0 auto 1.5rem;
	font-size: .875rem;
	font-weight: 400;
}
.single_main .comment {
	border-radius: 8px;
	background: #F6F6F6;
	padding: 16px 24px;
	justify-content: flex-start;
}
.single_main .comment_icon {
	display: block;
	text-align: center;
	width: auto;
	height: auto;
}
.single_main .comment_icon img {
	width: 60px;
}
.single_main .comment_icon span {
	font-weight: 400;
	font-size: .75rem;
	display: block;
}
.single_main .temple_detail_content .consultant_list p.consultant_title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}
.single_main p.consultant_content {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	overflow: hidden;
}
.single_sidemenu .search_eventbox {
	border-radius: 8px;
	border: 1px solid #CCC;
	overflow: hidden;
	text-align: left;
}
.single_sidemenu p.menutitle {
	color: #fff;
	background: #003E5B;
	padding: 8px 16px;
	font-size: 1.125rem;
	font-weight: 700;
	text-align: left;
}
.single_sidemenu dl {
	padding: 16px;
	border-bottom: 1px solid #ccc;
}
.single_sidemenu dl:last-child {
	border-bottom: none;
}
.single_sidemenu dl dt {
	position: relative;
    padding-left: 32px;
}
.single_sidemenu dl dt:before {
	display: inline-block;
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}
.single_sidemenu dl.category dt:before {
	background-image: url(../images/icon_category.png);
}
.single_sidemenu dl.religion dt:before {
	background-image: url(../images/icon_religion_gold.png);
}
.single_sidemenu dl.tag dt:before {
	background-image: url(../images/icon_tag.png);
}
.single_sidemenu dl dd {
	padding-top: 12px;
	display: grid;
	grid-template-columns: auto auto;
	gap: 12px 4px;
}
.single_sidemenu dl dd label {
	font-size: .875rem;
}
.single_sidemenu .search_num {
	border-top: none;
	margin: 8px auto 0;
}
.single_sidemenu .search_num p.search_button a {
	padding: 4px 16px;
}
.check_input {
 position: absolute;
  opacity: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.check_label {
	border-radius: 100px;
	border: 1px solid #999;
	background: #FFF;
	padding: 2px 8px;
	text-align: center;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 0.75rem;
	display: inline-block;
	position: relative;
}
.check_label:hover {
  	color: #003E5B;
	background: #EDF4F7;
}
.check_label:has(.check_input:checked) {
  	color: #003E5B;
	background: #EDF4F7;
}
.single_sidemenu p.menutitle.second {
	color: #fff;
	background: #003E5B;
	padding: 8px 16px;
	font-size: 1.125rem;
	font-weight: 700;
	border-radius: 8px;
	margin: 24px auto 0;
}
.sidemenu_eventlist,
.sidemenu_consultantlist {
	display: grid;
	grid-template-columns: 1fr;
}
.sidemenu_eventlist .event_detail {
	padding: 16px 0;
	border-bottom: 1px solid #ccc;
	display: grid;
	grid-template-columns: .425fr 1fr;
	gap: 0 8px;
}
.sidemenu_eventlist .event_detail .blog_info,
.sidemenu_consultantlist .consultant_detail .blog_info {
	gap: 0 4px;
	text-align: left;
	justify-content: flex-start;
	margin: 8px auto 8px 0;
}
.sidemenu_eventlist .event_detail .blog_info p.date,
.sidemenu_eventlist .event_detail .blog_info .category li a,
.sidemenu_consultantlist .consultant_detail .blog_info p.date,
.sidemenu_consultantlist .consultant_detail .blog_info .category li a {
	font-size: .75rem;
}
.sidemenu_eventlist .event_detail p.single_title,
.sidemenu_consultantlist .consultant_detail p.single_title {
	font-size: .875rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-align: left;
}
.sidemenu_consultantlist .consultant_detail {
	padding: 16px 0;
	border-bottom: 1px solid #ccc;
	display: grid;
	justify-content: space-between;
	grid-template-columns: 1fr;
}

/* お悩み一覧 */
@media screen and (min-width:1180px) {
	section.header_consultant {
		background-color: #F5F0E1;
		display: grid;
		grid-template-columns: 1fr .33fr;
		align-items: flex-end;
		gap: 0 37px;
		padding: 24px 45px 0 24px;
		max-width: calc(1180px - 69px);
		margin: 48px auto 0;
	}
	section.consultant.group_consultant .content,
	.consultant_page section.search_lists .content {
		padding: 0;
	}
	.consultant_lists {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
}
@media screen and (max-width:1179px) {
	section.consultant.group_consultant .content,
	.consultant_page section.search_lists .content {
		padding: 0 16px;
	}	
}
@media screen and (min-width:768px) and (max-width:1179px) {
	section.header_consultant {
		background-color: #F5F0E1;
		display: grid;
		grid-template-columns: 1fr .5fr;
		align-items: flex-end;
		gap: 0 18px;
		padding: 24px 24px 0 24px;
		max-width: calc(1180px - 69px);
		margin: 48px 16px 0;
	}
	.consultant_lists {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
}
@media screen and (max-width:767px) {
	section.header_consultant {
		background-color: #F5F0E1;
		display: grid;
		grid-template-columns: 1fr;
		align-items: flex-end;
		gap: 0;
		padding: 24px 24px 0 24px;
		max-width: calc(1180px - 69px);
		margin: 48px 16px 24px;
	}
	.consultant_lists {
		display: grid;
		grid-template-columns: 1fr;
		align-items: center;
		justify-content: space-between;
		gap: 24px;
	}
}
section.header_consultant .txt {
	padding-bottom: 24px;
	text-align: left;
}
.header_consultant p.header_title {
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: 0.06rem;
	margin-bottom: 4px;
}
.keyword_box {
	margin: 0 auto 24px;
}
.keyword_box form {
	display: flex;
    flex-wrap: wrap;
	justify-content: flex-start;
}
input[type=search] {
	-webkit-appearance: none;
    display: inline-block;
    margin-right: 0;
    padding: 8px 16px;
    height: 40px;
    font-size: 100%;
    box-sizing: border-box;
    border-radius: 5px 0 0 5px;
    border: 1px solid #fff;
    border-right: none;
	border: 1px solid #999;
	width: calc(100% - 90px);
}
.keyword_box input[type=submit] {
	-webkit-appearance: none;
    display: inline-block;
    padding: 8px 16px;
    width: 90px;
    height: 40px;
    color: #fff;
    vertical-align: top;
    border: none;
    border-radius: 0 8px 8px 0;
    background: #000;
    cursor: pointer;
}
.consultant_page h2.consultant_title:before {
	content: none;
}
.consultant_page h2.consultant_title {
	padding-left: 0;
}
.consultant_page .search_result_head h2.consultant_title {
	border-left: none;
}
.consultant_lists p.consultant_title {
	max-width: 300px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
section.consultant.group_consultant {
	margin: 0 auto 48px;
}
p.contact_btn {
	display: block;
	margin: 0 auto 80px;
	text-align: center;
}
.single_page p.contact_btn {
	margin: 64px auto 0;
}
p.contact_btn a {
	padding: 12px 32px;
	border-radius: 100px;
	background: #003E5B;
	box-shadow: 0 4px 0 0 #001C29;
	color: #fff;
	vertical-align: middle;
	display: inline-block;
}
p.contact_btn a:hover {
	box-shadow: none;
	transform: translateY(4px);
}
p.contact_btn a span {
	display: inline-block;
	border-radius: 100px;
	background: #FFF;
	color: #003E5B;
	padding: 0 8px;
	font-size: .75rem;
	margin-right: 8px;
	vertical-align: middle;
}
details {
	margin: 24px auto 48px;
	overflow: hidden;
}
summary {
	padding: 16px 20px;
	color: #235770;
	margin: 0 auto;
	text-align: center;
	position: relative;
	cursor: pointer;
	user-select: none;
	font-weight: bold;
	transition: all 0.3s ease;
	border: 0;
}
summary:after {
	content: "";
	display: inline-block;
	background-image: url("../images/accordion_icon.png");
	width: 24px;
	height: 24px;
	background-size: contain;
	position: relative;
	vertical-align: middle;
    margin-top: -4px;
    margin-left: 8px;
}
summary::marker {
	content: none;
}
summary:hover {
  	background-color: #F5F5F5;
}
details[open] summary {
	background-color: #F5F5F5;
}
details[open] summary:after {
	transform:scale(1,-1);
}
details > div.search_accordion_detail {
	padding: 15px 20px;
	margin: 0;
	background-color: #fafafa;
	border-top: 1px solid #ddd;
}
.post_user {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 24px auto 0;
	gap: 0 8px;
}
.post_user .image {
	width: 32px;	
}
.post_user p.name,
.post_user p.name span {
	color: #222;
}
.answer_list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px 0;
	width: 100%;
	margin: 24px auto 0;
}
.answer_list .answer_box {
	padding: 16px;
	position: relative;
	border: 1px solid #ccc;
	border-radius: 8px;
}
.answer_box .head_info {
	display: flex;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 0 auto 16px;
	gap: 0 8px;
}
.answer_box .head_info .image {
	width: 80px;
}
.answer_box .head_info .txt p.religion {
	color: #003E5B;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.035rem;
}
.answer_box .head_info .txt p.temple_name a {
	color: #235770;
	font-weight: 700;
	letter-spacing: 0.05rem;
	text-decoration: underline;
}
.answer_box .head_info .txt p.temple_name a:hover {
	text-decoration: none;
}
.answer_box .head_info .txt p.temple_name {
	font-weight: 700;
	letter-spacing: 0.04rem;
}
.answer_box .head_info .txt p.temple_address {
	display: flex;
	flex-wrap: nowrap;
	gap: 0 16px;
	position: relative;
	padding-left: 20px;
	align-items: center;
	margin: 4px auto 0;
}
.answer_box .head_info .txt p.temple_address:before {
	content: "";
	background-image: url("../images/icon_area_location.png");
	width: 16px;
	height: 16px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
}
.answer_box .head_info .txt p.temple_address span {
	position: relative;
}
.answer_box .head_info .txt p.temple_address span:after {
	content: "";
	background-image: url("../images/icon_flow.png");
	width: 4.94px;
	height: 8px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: -10px;
}
.answer_box .head_info .txt p.temple_address span:last-child::after {
	content: none;
}
.answer_box .head_info .txt p.temple_address span a {
	color: #235770;
	font-weight: 400;
	letter-spacing: 0.03rem;
	text-decoration: underline;
}
.answer_box .head_info .txt p.temple_address span a:hover {
	text-decoration: none;
}
.answer_comment p.title {
	margin: 6px auto;
	font-weight: 700;
	line-height: 1.8;
	letter-spacing: 0.04rem;
}
.answer_comment .content,
.answer_comment .content p {
	color: #666;
	line-height: 1.8;
	letter-spacing: 0.035rem;
}
.tag_bestanswer {
	border-radius: 0 0.5rem;
	background: #F33;
	position: absolute;
	right: 0;
	top: 0;
	display: flex;
	padding: 8px;
	align-items: center;
	gap: 0 4px;
}
.tag_bestanswer .image {
	width: 16px;
}
.tag_bestanswer p {
	color: #fff;
	font-size: .75rem;
}

/* Dashboard */
main .dashboard_page {
	display: grid;
	grid-template-columns: .2fr 1fr;
	justify-content: space-between;
	gap: 0;
}
.dashboard_page > .mymenu {
	padding: 32px 0 48px;
}
.mymenu .account_iamge {
	margin: 0 auto 40px;
	text-align: center;
}
.mymenu .account_iamge p {
	font-weight: 700;
}
.mymenu .account_iamge img {
	width: 48px;
}
.mymenu nav ul li {
	padding: 16px 0;
}
.mymenu nav ul li a {
	padding: 0 24px 0 40px;
	position: relative;
	width: calc(100% - 64px);
	text-align: left;
	display: block;
}
.mymenu nav ul li a.active {
	border-left: 4px solid #A1312A;
	color: #A1312A;
}
.mymenu nav ul li a:after {
	content: "";
	background-image: url("../images/icon_flow.png");
	width: 5.5px;
	height: 9px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 20px;
}
.mymenu nav ul li a.active:after {
	right: 24px;
}
.dashboard_page > .dashboard_main {
	background-color: #F6F6F6;
	padding: 0 32px 48px;
}
.mymenu nav ul li a:before {
	content: "";
	width: 18px;
	height: 18px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 20px;
}
ul.setting_list {
	margin: 0 auto 100px;
}
ul.setting_list li {
	padding: 16px 0;
}
ul.setting_list li a {
	padding: 0 24px 0 40px;
	position: relative;
	width: calc(100% - 64px);
	text-align: left;
	display: block;
}
ul.setting_list li a.active {
	border-left: 4px solid #A1312A;
	color: #A1312A;
}
ul.setting_list li a:after {
	content: "";
	background-image: url("../images/icon_according.png");
	width: 16px;
	height: 16px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 16px;
}
ul.setting_list li a.active:after {
	background-image: url("../images/icon_according_on.png");
}
ul.setting_list li a:before {
	content: "";
	width: 18px;
	height: 18px;
	background-size: contain;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 20px;
	background-image: url("../images/icon_dashboard_setting.png");
}
ul.setting_list li a.active:before {
	background-image: url("../images/icon_dashboard_setting_on.png");
} 
.mymenu nav ul li.mypage a:before {
	background-image: url("../images/icon_dashboard_mypage.png");
}
.mymenu nav ul li.mypage a.active:before {
	background-image: url("../images/icon_dashboard_mypage_on.png");
}
.mymenu nav ul li.consultant a:before {
	background-image: url("../images/icon_dashboard_consultant.png");
}
.mymenu nav ul li.consultant a.active:before {
	background-image: url("../images/icon_dashboard_consultant_on.png");
}
.mymenu nav ul li.chat a:before {
	background-image: url("../images/icon_dashboard_chat.png");
}
.mymenu nav ul li.chat a.active:before {
	background-image: url("../images/icon_dashboard_chat_on.png");
}
.mymenu nav ul li.review a:before {
	background-image: url("../images/icon_dashboard_review.png");
}
.mymenu nav ul li.review a.active:before {
	background-image: url("../images/icon_dashboard_review_on.png");
}
.mymenu nav ul li.favorite a:before {
	background-image: url("../images/icon_dashboard_favorite.png");
}
.mymenu nav ul li.favorite a.active:before {
	background-image: url("../images/icon_dashboard_favorite_on.png");
}
.mymenu nav ul li.history a:before {
	background-image: url("../images/icon_dashboard_history.png");
}
.mymenu nav ul li.history a.active:before {
	background-image: url("../images/icon_dashboard_history_on.png");
} 
.mymenu nav ul li.announce a:before {
	background-image: url("../images/icon_dashboard_announce.png");
}
.mymenu nav ul li.announce a.active:before {
	background-image: url("../images/icon_dashboard_announce_on.png");
}