@import url(font-awesome.min.css);


body{
    background: url(../img/bg_base.png);
    font-size: 16px;
    line-height:140%;
}

a{transition: all  0.5s ease;
}

h1{
    font-size:30px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    border-bottom:thin dotted #111;
    text-align: center;
    margin-top:40px;
    padding-bottom:20px;
}

h2{
    font-size:26px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
    margin-top:40px;
    margin-left: 5px;
}

h3{font-size:20px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
    margin-left:5px;
    }

h4 {
		font-size: 1.1em;
		line-height: 1.5em;
        text-align: left;
        color:#b7282e;
        border-left: 5px #b7282e solid;
        padding-left: 10px;
        margin-left: 10px;
	}

h5 {
		font-size: 0.9em;
		line-height: 1.5em;
        font-size: 20px;
        border-bottom:thin #84b9cb solid;
        background-color: rgba(171,206,216,0.8);
        padding:15px 10px 10px 25px;
        font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
	}


.midashi{
    font-size:20px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
    margin-top:30px;
    margin-left: 5px;

}
.midashi_b{
    font-size:24px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
}

.midashi_keidai{
    font-size:18px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
    margin-top:30px;
}

.tel_midashi{
    font-size:24px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    font-weight: bold;
    text-align: center;
    border: thin #ccc solid;
    padding:15px;
    margin:10px;
    line-height: 150%;
}

.jinja_midashi{
    font-size:28px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    text-align: center;
    padding:5px;
    margin:5px;
}
.add_midashi{
    font-size:24px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    text-align: left;
    padding:15px;
    margin:10px;
    line-height: 150%;

}

.txt_red{color: red;}
.txt_big{
    font-size:20px;font-weight: bold;}

.kakomi{ border: thin #ccc solid;
    padding:5px 5px;
    margin: 3px 10px 10px;}

.kakomi_maru{    border: thin #ccc solid;
    border-radius:30px;
    padding:15px 15px;
    margin: 3px 10px 10px;}

.bg_gold{background-color: rgba(255,215,0,0.2);}

.gyouji_img{
    margin-left:30px;
    margin-bottom: 50px;
}


.btn_kigan a{
    font-size:18px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    text-align: center;
    border: thin #ccc solid;
    padding:15px;
    margin:0 auto;
    display: block;
    width:90%;
}

.btn_kigan a:hover{
    text-decoration: none;
    background: rgba(171,206,216,0.8);
    display: block;
    color:#fff;
    }


ul {
		list-style: none;
		margin: 0 0 2em 0;
		padding-left: 1em;
	}

ul li {
			padding-left: 0.5em;
            margin-bottom: 0.5em;
		}

.top{
    background: url(../img/top-img01.jpg) no-repeat;
    background-size: contain;
     text-align: center;
}

.menu_cover{
    position: relative;
    width:100%;
    margin:0 auto;
    z-index:10;
}

.menu{
    position: relative;
    background: rgba(255,255,255,0.5);
    padding:25px 15px;
    
}

.menu ul{
    list-style: none;
}

.menu li {
    display: block;
    margin:2px;
    padding:20px 10px;
    border-bottom:thin dotted #b7282e;

}
.menu li a{
    color:#b7282e;
    font-size:20px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    display: block;
    background-color: none;
    transition: all  1s ease;
}

.menu li a:hover{
    text-decoration: none;
    display: block;
    background-color: rgba(232,211,209,0.5);
    
}



.sec_header{
    width: 100%;
    background: url(../img/sec_header_02.png) no-repeat center top;
    margin:0 auto;
}

.sec_title{
    width:774px;
    margin:0 auto;
    padding-top:5px;
}



.img_3caram{
    width:100%;
    margin: 0 auto;
}

.contents{
    width:95%;
    margin: 0 auto;
    position: relative;
}

.contents p{
    line-height: 170%;
    letter-spacing: 2px;
    font-size:16px;
    margin:15px 5px;
}

.sec_footer{
    width:100%;
    border-top:#b7282e 2px solid;
    margin-top:30px;
}

.sec_footer ul{
    width:100%;
    list-style: none;
    padding:20px 30px 10px 0px;
    text-align: center;
}

.sec_footer a{
    color:#b7282e;
    font-size:18px;
    margin:5px;
}

.sec_footer a:hover{
    color:#e6b422;
}

.jinja_name{
    font-size:28px;
    font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    color:#b7282e;
    letter-spacing: 5px;
    margin:0 auto;
    text-align: center;
    padding:30px 0 15px 0;;
}

.add{color:#b7282e;text-align: center;}


.sec_footer_en{
    width:100%;
    border-top:#47885e 2px solid;
    margin-top:30px;
}

.sec_footer_en ul{
    width:100%;
    list-style: none;
    padding:20px 30px 10px 0px;
    text-align: center;
}

.sec_footer_en a{
    color:#47885e;
    font-size:18px;
    margin:5px;
}

.sec_footer_en a:hover{
    color:#e6b422;
}

.sec_footer_en .jinja_name,.sec_footer_en .add{
    color:#47885e;
}

.icons a{
    font-size:2em;
}

.gyouji{
    margin-left:20px;
}

dt{
    float: none;
    margin-bottom:5px;
}
dd{
    padding-left:20px;
    margin-bottom:15px;
    border-bottom: dashed #ccc thin;
}




.sub_menu{
    margin:0 auto;
    width:100%;
}
.sub_menu ul{
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top:20px;
}

.sub_menu ul li{
    margin-right:15px;
    border-bottom: dotted 2px #b7282e;
    background-image: url(../img/sub_arrow.png);
    background-repeat: no-repeat;
    background-position: left 50%;
    padding-left:23px;
    padding-right: 10px;
}
.sub_menu ul li a{
    color: #180614;
    text-decoration: none;
}
 .sub_menu ul li:hover {
    background-color:rgba(232,211,209,0.5);
}

.sub_link{
    padding-top:20px;
    
    width:90%;
    margin: 0 auto;
}
.sub_link ul{
    width:100%;
    list-style: none;
    padding:10px 0px 0px 0px;
}

.sub_link li{
    margin-right: 10px;
}

.popup{
  position: relative;
  padding:20px;
    width: auto;
  max-width:620px;
    max-height:520px;
    overflow-y: scroll;
  margin: 0px auto;
    background: url(../img/pop_bg.png) no-repeat;
    background-attachment: inherit;
}

.popup p{
    margin-top:20px;
}

.popup table td{padding:10px;}

.contents table td{padding:10px;}

.omamori_cover{
    font-size:20px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    text-align: center;
    border: thin #ccc solid;
    padding:20px;
    width: 90%;
    margin:0 auto;
    margin-bottom:10px;
    display: block;
    background: url(../img/omamori/omamori_bg.png);
}

.omamori{
    background: rgba(255,255,255,0.7);
    padding:10px;
    box-shadow: 1px 1px 4px 1px #97a791;
}
.omamori img{max-height: 200px;width:auto;}




#page-top a{
    position: fixed;
    right: 20px;
    bottom:20px;
    width:75px;
    height:75px;
    border-radius: 10px;
    background-color: rgba(232,211,209,0.8);
    color:#b7282e;
    padding:12px 20px;
    z-index:20000;
    text-align: center middle;
}
#page-top a:hover{
    background-color: rgba(230,180,34,0.3);
    color:rgba(230,180,34,1);
}


header {
  padding:10px;
  background: #fff;
}
.title{
    font-size:20px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    position: absolute;
    left:40%}
.title_en{
    font-size:20px;
    font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
    position: absolute;
    left:30%}

#nav-drawer {
  position: relative;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*中身*/
#nav-content {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 90%;/*右側に隙間を作る*/
    max-width: 330px;/*最大幅*/
    height: 100%;
    background: #fff;/*背景色*/
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateX(-105%);
    transform: translateX(-105%);/*左に隠しておく*/
    padding:15px;
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);/*中身を表示*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

#nav-content li{
    text-align: center;
    padding:10px;
    border-bottom:thin dotted #b7282e;
}

#nav-content li a{
    color: #b7282e;
}

#nav-content li a:hover{
    color:#e6b422;
    text-decoration: none;
}


@media (max-width: 1024px) {
    img{width: 100%;}
    
    .add_midashi{
    width: 330px;
        margin: 0 auto;
}
}

@media (min-width: 1024px) {
    img{width: 80%;}
}

@media (max-width: 467px) {
h1{
    font-size:28px;
    
}
.jinja_name{
    font-size:25px;
    line-height: 150%;
}

.add_midashi{
    width: 95%;
    font-size: 21px;
        margin: 0 auto;
}
}

.kokuchi_footer{
    padding:25px;
    background-color:floralwhite;
    margin:10px auto;
}

 .kokuchi_footer h6{
    font-size: 1.8rem;
     font-weight: bold;}