﻿/*
Theme Name:jinjacho
Author: infor
Description: 栃木県神社庁
Version:1.0
*/


html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0px;
    padding: 0px;
    border: 0px none;
    vertical-align: baseline;
}
body{
	font-size:18px;
	letter-spacing:0.05em;
	line-height:160%;
	font-family: "Shippori Mincho B1", serif;
	font-weight: 400;
	font-style: normal;
	color:#16161B;
	width:100%;
}
.clear{
	clear:both;
}
.pc{
	display:block;
}
.smph{
	display:none;
}
.header{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	padding:20px 30px;
	z-index:99999;
	/*background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0));*/
	background-color: rgba(255, 255, 255, 0.8); 
	box-sizing:border-box !important;
}
.headerIn{
	position:relative;
}
h1{
	width:230px;
}
h1 img{
	width:100%;
	height:auto;
}
#glnv{
	position:absolute;
	top:0;
	right:60px;
	width:calc(100% - 300px);
}				
#top_slide{
	height:100vh;
	/*height:calc(100vh - 100px);*/
	/*background:#CCCCCC;*/
	width:100%;
	box-sizing:border-box;
	overflow:hidden;
	position:relative;
}
.slideBox{
}
.slideBox ul.slides li img{
	width:100vw;
	height:100vh;
	/*height:calc(100vh - 100px);*/
	object-fit: cover;
}
#menu{
	display:flex;
	flex-wrap:wrap;
	font-size:16px;
	letter-spacing:0.08em;
	justify-content: flex-end;
}
#menu p{
	padding:0 0.7em;
}
#menu p a{
	/*color:#FFFFFF;*/
	color:#000000;
	text-decoration:none;
}
#menu p.sinsyokusenyo a{
	background:#D0160D;
	padding:2px 15px 4px 15px;
	color:#FFFFFF;
}
.header_scrolled{
	background:#FFFFFF;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	transition: 0.8s;
}
.header_scrolled #menu p a{
	color:#16161B;
	transition: 0.8s;
}
.header_scrolled #menu p.sinsyokusenyo a{
	background:#D0160D;
	color:#FFFFFF;
}
.header_copy{
	writing-mode: vertical-rl;
	/*font-size: 4.5vh;*/
	font-size: 3vh;
	line-height:140%;
	letter-spacing:0.12em;
	color:#FFFFFF;
	position:absolute;
	top:130px;
	right:8%;
	padding-bottom:20px;
	box-sizing:border-box;
}
.copy_textL{
	/*font-size: 6vh;*/
	font-size: 4.5vh;
}
.con_boxIn{
	width:1200px;
	max-width:85%;
	margin:0 auto;
}
.textarea01{
	margin-bottom:20px;
}
.aboutus{
	padding:100px 0;
}
.aboutus_text{
	writing-mode: vertical-rl;
	line-height:200%;
	width:100%;
	box-sizing:border-box;
	display:flex;
	flex-direction:column; /*これを指定*/
	justify-content:center; /*これを指定*/
	margin-bottom:50px;
	height:14em;
}
.aboutus_img img{
	width:100%;
	height:auto;
}
h3{
	font-size:40px;
	line-height:120%;
	margin-bottom:30px;
	font-weight:normal;
}
h3.conTit_sinto_iroha{
	background:url(/wp-content/themes/jinjacho/image/icon_iroha.png) no-repeat left top 6px;
	background-size:auto 38px;
	padding-left:1em;
}
h3.conTit_oshirase{
	background:url(/wp-content/themes/jinjacho/image/icon_oshirase.png) no-repeat left top 6px;
	background-size:auto 38px;
	padding-left:1em;
}

#footer{
	background:#EEEEEE;
	padding-top:40px;
}
.aboutusTit{
	margin-left:30px;
	font-size:23px;
	margin-left:30px;
}
.detail_bt{
	margin-right:30px;
	height:100%;
	position:relative;
}
.detail_bt a{
	display:inline-block;
	position:absolute;
	bottom:0;
}
.detail_bt_right{
	text-align:right;
	margin-top:30px;
}
.detail_bt a{
	text-decoration:none;
	color:#D0160D;
	line-height:120%;
}
.detail_bt_right a{
	text-decoration:none;
	line-height:100%;
	/*font-size:14px;
	font-weight:bold;
	color:#FFFFFF;
	background:#D0160D;
	padding:3px 15px 5px 15px;*/
	color:#D0160D;
}
.sagasu_gosinboku{
	width:100%;
	max-width:1500px;
	display:flex;
	flex-wrap:wrap;
	margin:0 auto;
}
.sagasu_gosinboku > div{
	width:50%;
	aspect-ratio: 3 / 2;
	position:relative;
}
.sagasu_gosinboku > div img{
	width:100%;
	height:auto;
}
.sagasu_gosinbokuTit{
	writing-mode: vertical-rl;
	position:absolute;
	top:0;
	right:10%;
	background:#D0160D;
	color:#FFFFFF;
	line-height:110%;
	font-size:22px;
	padding:15px 5px;
}
.sagasu{
	background:url(/wp-content/themes/jinjacho/image/bg_sagasu.jpg) no-repeat;
	background-size: cover; 
	background-position: center; 
}
.sagasu .sagasu_gosinbokuTitIn{
	background:url(/wp-content/themes/jinjacho/image/jinjasagasu_icon.png) no-repeat center bottom ;
	background-size:90% auto;
	padding-bottom:1.8em;
	padding-left:5px;
	padding-right:5px;
	display:block;
}
.goshinboku .sagasu_gosinbokuTitIn{
	background:url(/wp-content/themes/jinjacho/image/goshinboku_icon.png) no-repeat center bottom ;
	background-size:90% auto;
	padding-bottom:1.5em;
	padding-left:5px;
	padding-right:5px;
	display:block;
}
.goshinboku{
	background:url(/wp-content/themes/jinjacho/image/bg_goshinboku.jpg) no-repeat;
	background-size: cover; 
	background-position: center; 
}
.sinto_iroha{
	padding:80px 0;
	background:#F5F5F5;
}
.sinto_tokki{
	display:flex;
	flex-wrap:wrap;
	gap:30px;
}
.sinto_tokkiBt{
	width:calc( (100% - 60px ) / 3);
	aspect-ratio: 3 / 2;
	position:relative;
	overflow:hidden;
}
.tokki_img{
	aspect-ratio: 3 / 2;
}
.sinto_tokkiBt a{
	position:absolute;
	display:block;
	width:100%;
	height:100%;
	top:0;
	left:0;
}
.tokki_img img{
	width:100%;
	height:auto;
}
.sinto_tokkiTit{
	position:absolute;
	left:0;
	bottom:0;
	color:#FFFFFF;
	background:rgba(0,0,0,0.6);
	padding:5px 15px 10px 15px;
	display:block;
	width:100%;
	line-height:120%;
}
.sinto_tokkiTit span{
	position: relative;
	display: inline-block;
	padding: 0 0 0 18px;
	vertical-align: middle;
}
.sinto_tokkiTit span:before,
.sinto_tokkiTit span:after{
	position: absolute;
	top: 2px;
	bottom: 0;
	left: 0;
	margin: auto;
	content: "";
	vertical-align: middle;
}
.sinto_tokkiTit span:before{
	width: 15px;
	height: 15px;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	background: #D0160D;
}
.sinto_tokkiTit span:after{
	left: 4px;
	width: 4px;
	height: 4px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}
.oshirase{
	padding:80px 0;
}
.oshiraseTit a{
	color:#000000;
	padding:1em 0;
	display:block;
	text-decoration:none;
}
.oshiraseTit{
	border-top:solid 1px #CCCCCC;
}
.oshiraseTit:last-child{
	border-bottom:solid 1px #CCCCCC;
}
.oshirase_all_bt{
	text-align:right;
	margin-top:20px;
	font-size:16px;
}
.oshirase_all_bt a{
	color:#D0160D;
	text-decoration:none;
}


/*drawer menu*/	
nav.menu{ width:50px; font-size:12px; height:6em; top: 0; right:15px; position:fixed; cursor:pointer; display:block; overflow:hidden; z-index:999999;
}
nav .menu1,nav.menu_close .menu1{ width:30px; height:2px; background-color: #000000; left:10px;top:2em; position:absolute; } 
nav .menu2,nav.menu_close .menu2{ width:30px; height:2px; background-color: #000000; left:10px;top:3em; position:absolute; } 
nav .menu3,nav.menu_close .menu3{ width:30px; height:2px; background-color: #000000; left:10px;top:4em; position:absolute; }
nav .menu1,nav .menu2,nav .menu3{ transition: all 0.5s ease-out; -o-transition: all 0.5s ease-out; /* Opera */ -moz-transition: all 0.5s ease-out; /* Firefox */
					 -webkit-transition: all 0.5s ease-out; /* GoogleChrome, Safari */ -ms-transition: all 0.5s ease-out; /* IE */ }
nav.menu_scrolled .menu1,nav.menu_scrolled.menu_close .menu1{ background-color: #000000; transition: 0.8s;} 
nav.menu_scrolled .menu2,nav.menu_scrolled.menu_close .menu2{ background-color: #000000; transition: 0.8s;} 
nav.menu_scrolled .menu3,nav.menu_scrolled.menu_close .menu3{ background-color: #000000; transition: 0.8s;}
nav.menu_open .menu1{ top:3em; -o-transform: rotate(45deg); -moz-transform: rotate(45deg); -webkit-transform: rotate(45deg);
				 	-ms-transform: rotate(45deg); transform: rotate(45deg); background-color: #000000; }
nav.menu_open .menu2{ background-color:rgba(255,255,255,0);  }
nav.menu_open .menu3{ top:3em; -o-transform: rotate(-45deg); -moz-transform: rotate(-45deg);
					-webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); background-color: #000000; } 
					
#nv_sitemap{
	position: fixed;
	display: none;
	top: 0;
	right: 0;
	list-style-type: none;
	background-color:#FFFFFF;
	z-index: 888888;
	box-sizing: border-box !important;;
	width:100%;
	height: 100vh; 
	  overflow-y: auto;
  -webkit-overflow-scrolling: touch; 
	margin:0 !important;
	padding:0 !important;
	
}
#nv_sitemapIn{
	/*display:flex;
	flex-wrap:wrap;
	justify-content:space-between;*/
}
.sitemap_img{
	width:100%;
	background:url(/wp-content/themes/jinjacho/image/drawermenu_bg.jpg) no-repeat center center;
	background-size: cover;
	height:200px;
	margin-bottom:40px;
}
#sitemap_menu{
	display:flex;
	flex-wrap:wrap;
	gap:30px;
}
#nv_sitemap p{
	display:block;
	float:none;
	list-style:none;
}
.{
	width:100% !important;
	margin-bottom:30px;
}
#sitemap_menu > div{
	width:calc( (100% - 90px ) / 4);
	font-size:14px;
	min-width:12em;
}
.sitemap_menu_home{
	margin-bottom:20px;
}
.sitemap_menu_home a{
	color:#000000;
	text-decoration:none;
	font-size:14px;
	font-weight:bold;
}
#sitemap_menu a{
	color:#000000;
	text-decoration:none;
}
#nv_sitemap p a{
	text-decoration:none;
	padding:0.5em;
	color:#000000;
	border:none;
	letter-spacing:0.1em;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
}
.sitemap_menu01{
	font-weight:bold;
	margin-bottom:20px;
	font-size:14px;
	vertical-align: middle;
}
.sitemap_menu02{
	font-weight:bold;
	margin-bottom:10px;
	font-size:14px;
	vertical-align: middle;
}
.sitemap_menuBlock{
	margin-bottom:20px;
}
.sitemap_menuS{
	margin-bottom:25px;
}
.sitemap_menuS p a:before{
	content:"・";
}
.sitemap_bn{
	display:flex;
	flex-wrap:wrap;
	margin-bottom:50px;
}
.sitemap_bn p{
	padding:10px 15px;
	background:#CCCCCC;
	color:#FFFFFF;
	aspect-ratio: 4 / 1;
	overflow:hidden;
	boc-sizing:border-box;
	margin-bottom:10px;
	width:230px;
	margin-right:20px;
}
.sitemap_bn p a{
	text-decoration:none;
	color:#000000;
	font-size:12px;
}
#nv_sitemapIn h1{
	width:180px !important;
	margin-bottom:50px;
}
#nv_sitemapIn h1 img{
	width:100%;
	height:auto;
}
#nv_sitemapIn .sitemap_bn{
	padding-top:20px;
}
#footer h1{
	display:none;
}
.footer_info{
	font-size:14px;
	line-height:150%;
	padding:30px 0;
	box-sizing:border-box;
	border-top:solid 1px #CCCCCC;
}
.footer_logo{
	width:180px;
	margin-bottom:10px;
}
.footer_logo img{
	width:100%;
	height:auto;
}
.footer_address{
	display:flex;
	flex-wrap:wrap;
	gap:10px
}
.cr{
	background:#000000;
	text-align:center;
	color:#FFFFFF;
	padding:7px 15px;
	font-size:12px;
}
@media screen and (min-width: 1025px) {
  /* PC用レイアウト */
}
@media screen and (min-width: 768px) and (max-width: 1024px) {
#glnv{
	display:none;
}
}
@media screen and (max-width:767px){
#glnv{
	display:none;
}
h1{
	width:230px;
	max-width:50%;
}

h3{
	font-size:25px;
	line-height:120%;
	margin-bottom:20px;
	font-weight:normal;
}
h3.conTit_sinto_iroha{
	background:url(/wp-content/themes/jinjacho/image/icon_iroha.png) no-repeat left top 6px;
	background-size:auto 1em;
	padding-left:1em;
}
h3.conTit_oshirase{
	background:url(/wp-content/themes/jinjacho/image/icon_oshirase.png) no-repeat left top 6px;
	background-size:auto 1em;
	padding-left:1em;
}
.aboutus_text{
	writing-mode: vertical-rl;
	line-height:200%;
	width:100%;
	box-sizing:border-box;
	display:flex;
	flex-direction:column; /*これを指定*/
	justify-content:center; /*これを指定*/
	margin-bottom:50px;
	height:26em;
}
.sagasu_gosinboku{
	width:100%;
	max-width:100%;
	display:block;
	flex-wrap:nowrap;
	margin:0 auto;
}

.sagasu_gosinboku > div{
	width:100%;
	aspect-ratio: 3 / 2;
	position:relative;
	margin-bottom:5px;
}
.sagasu_gosinbokuTit{
	writing-mode: vertical-rl;
	position:absolute;
	top:0;
	right:10%;
	background:#D0160D;
	color:#FFFFFF;
	line-height:110%;
	font-size:3.5vw;
	padding:15px 5px;
}
.sinto_tokki{
	display:block;
	flex-wrap:nowrap;
	gap:30px;
}
.sinto_tokkiBt{
	width:100%;
	aspect-ratio: 3 / 2;
	position:relative;
	overflow:hidden;
	margin-bottom:15px;
}
#nv_sitemap{
	position: block;
	display: none;
	top: 0;
	right: 0;
	list-style-type: none;
	background-color:#FFFFFF;
	z-index: 888888;
	box-sizing: border-box !important;;
	width:100%;
	height: 100vh; 
	  overflow-y: auto;
  -webkit-overflow-scrolling: touch; 
	margin:0 !important;
	padding:0 !important;
	
}
#nv_sitemapIn{
	position: block;
	flex-wrap:nowrap;
	justify-content:space-between;
}
.sitemap_img{
	width:25%;
	background:url(/wp-content/themes/jinjacho/image/drawermenu_bg.jpg) no-repeat center center;
	background-size: cover;
	height:100vh;
	display:none;
}
#nv_sitemap #sitemap_menu{
	width:100%;
	padding:30px;
	box-sizing:border-box;
}
#sitemap_menu{
	display: block;
	flex-wrap:nowrap;
	gap:0;
}
#nv_sitemap p{
	display:block;
	float:none;
	list-style:none;
}
#sitemap_menu > div{
	width:100%;
}
#footer #sitemap_menu{
	width:100%;
	float:none;
	padding-left:0;
	box-sizing:border-box;
	border:none;
}
.footer_info{
	width:100%;
	float:none;
	font-size:14px;
	line-height:150%;
	padding-top:50px;
	box-sizing:border-box;
	border:none;
}
/*#footer .sitemap_menuS{
	display:none;
}*/
.sitemap_menu01{
	border-bottom:solid 1px #CCCCCC;
	margin-bottom:0;
}
.sitemap_menu02{
	margin-bottom:0;
}
.sitemap_menuBlock{
	border-bottom:solid 1px #CCCCCC;
	margin-bottom:0;
}
#sitemap_menu a{
	font-size:16px;
	color:#000000;
	text-decoration:none;
}
#nv_sitemap p a{
	text-decoration:none;
	color:#000000;
	border:none;
	letter-spacing:0.1em;
	border-radius:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
}
#nv_sitemap .sitemap_menu_home{
	width:calc(100% - 60px);
	margin:0 auto;
}
.sitemap_menu_home{
	border-top:solid 1px #CCCCCC;
	border-bottom:solid 1px #CCCCCC;
	margin-bottom:0;
}
.sitemap_menu_home a{
	padding:1em 0 !important;
	display:block;
}
.sitemap_menu01 a{
	padding:1em 0 !important;
	display:block;
}
.sitemap_menu02 a{
	padding:1em 0 !important;
	display:block;
}
.sitemap_bn{
	margin-top:40px;
}
#nv_sitemap .sitemap_bn{
	width:calc(100% - 60px);
	margin-left:auto;
	margin-right:auto;
}