/*
Theme Name: temple2026
Description: 寺院用テーマ。AMPページの生成機能をオミットし、記述の簡略化・最適化を図ったバージョン。temple2019Ver.1.1において一部記述が新しいPHPに対応していなかったため修正したもの。
Author: SD_s.y.
Version: 1.2
*/

/* --------------------
パーツデザイン
-------------------- */
/* 投稿アイキャッチ画像 */
.wp-post-image{
  display: block;
  max-width: 100%;
  height: auto;
}

/* 新着コメント */
.new-comments li{
  list-style-type: none;
  padding: 5px 0;
  border-bottom: 1px solid #ccc;
}

span.new-comments-content{
  color: #888;
}

/* ランキング */
.ranking {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.ranking li {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 18px;
  border-bottom: 1px dotted #ccc;
}

.ranking li::before {
  position: absolute;
  top: 7px;
  left: 1px;
  color: #d05;
  content: "★";
  font-size: 9px;
}

.ranking li:first-child::before, .ranking li:nth-child(2)::before, .ranking li:nth-child(3)::before {
  position: absolute;
  top: 1px;
  left: 0;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-bottom: 10px solid #fb0;
  content: "";
}

.ranking li:first-child::after, .ranking li:nth-child(2)::after, .ranking li:nth-child(3)::after {
  position: absolute;
  top: 9px;
  left: 0;
  width: 0;
  height: 0;
  border: 6px solid #fb0;
  border-top: 3px solid transparent;
  border-bottom: 6px solid #f90;
  content: "";
}

.ranking li:nth-child(2)::before {
  border-bottom: 10px solid #ccc;
}

.ranking li:nth-child(2)::after {
  border: 6px solid #ccc;
  border-top: 3px solid transparent;
  border-bottom: 6px solid #aaa;
}

.ranking li:nth-child(3)::before {
  border-bottom: 10px solid #d98;
}

.ranking li:nth-child(3)::after {
  border: 6px solid #d98;
  border-top: 3px solid transparent;
  border-bottom: 6px solid #c76;
}

.ranking li span {
  color: #9ab;
  font-size: 11px;
}

/* ページトップ */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 80%;
}
#page-top a {
    background: rgba(70, 70, 70, 0.85);
    text-decoration: none;
    color: #fff;
    width: 9em;
    padding: 20px 0;
    text-align: center;
    display: block;
    border-radius: 5px;
}
#page-top a:hover {
    text-decoration: none;
    background: rgba(130, 130, 130, 0.85);
}
/*commentform*/
.form-submit{
    margin: 0;
}
.form-submit .submit{
    margin: 0 ;
    width: 100%;
    background-color: #006e54;
}
.form-submit .submit:hover,.form-submit .submit:active {
    background-color: #289b7e;
}
/*searchform*/
.search-title{
    border-bottom: 2px solid #ccc;
    padding-left: 1em;
    margin-bottom: 10px;
    font-weight: bold;
    display: block;
}
.submit{
    background-color: #c9171e;
    padding: 0.5em 1em;
    border-radius: 4px;
    color: #fff;
    border: 0;
    margin-bottom: 30px;
    -webkit-transition-timing-function: ease;
         -o-transition-timing-function: ease;
            transition-timing-function: ease;
    -webkit-transition-duration: .3s;
         -o-transition-duration: .3s;
            transition-duration: .3s;
    -webkit-transition-property: all;
         -o-transition-property: all;
            transition-property: all;
}
.submit:hover{
    background-color: #e9373e;
}
/*searchform-radio*/
input[type=radio] {
  display: none;
}
.input-wrap .radio {
    font-weight: normal;
  box-sizing: border-box;
  -webkit-transition: background-color 0.1s linear;
  transition: background-color 0.1s linear;
  position: relative;
  display: inline-block;
  width: 45%;
  margin: 0 2% 5px;
  padding: 12px 12px 12px 42px;
  border-radius: 4px;
  background-color: #f3f3f2;
  vertical-align: middle;
  cursor: pointer;
}
.radio:hover {
  background-color: #eee;
}
.radio:hover:after {
  border-color: #006e54;
}
.radio:after {
  -webkit-transition: border-color 0.1s linear;
  transition: border-color 0.1s linear;
  position: absolute;
  top: 50%;
  left: 1em;
  display: block;
  margin-top: -0.5em;
  width: 1em;
  height: 1em;
  border: 2px solid #bbb;
  border-radius: 6px;
  content: '';
}

.radio:before {
  -webkit-transition: opacity 0.2s linear;
  transition: opacity 0.2s linear;
  position: absolute;
  top: 50%;
  left: 1.25em;
  display: block;
  margin-top: -0.25em;
  width: .5em;
  height: .5em;
  border-radius: 50%;
  background-color: #006e54;
  content: '';
  opacity: 0;
}
input[type=radio]:checked + .radio:before {
  opacity: 1;
}

/*footer-menu*/
.footer-menu{
    margin: 0;
    padding: 0;
}
.footer-menu li{
    list-style-type: none;
    display: inline-block;
    margin-right: 1.5em;
}
.footer-menu li a{
    color: #f3f3f2;
}
.footer-menu li a:active,.footer-menu li a:hover{
    color: #eee;
}
@media (max-width: 768px) {
    .footer-menu{
        margin-bottom: 50px;
    }
    .footer-menu li{
        display: block;
        text-decoration: underline;
        margin-bottom: 5px;
    }
}
/*side-menu*/
li.cat-item {
    list-style-type: none;
}
.list-group li.cat-item a{
    display: block;
    padding: 0.3em 1em 0.3em 1.5em;
    background: url("./images/icon/icon-brc.gif") .8em center no-repeat;
    background-color: #f9f9f6;
}
.list-group li.cat-item:nth-child(2n) a{
    background-color: #f3f3f2;
}
.list-group li.cat-item a:hover{
    background-color: #eee;
    text-decoration: none;
}

/*画像等に枠をつける*/
.imagewrap{
    border: 1px solid #ddd;
    padding: 5px;
    background: #f6f6f5;
}
/*Pagination*/
.pagination {
    margin: 1em 0;
	text-align: center;
}
.pagination span {
	display: inline-block;
    margin-left: 3px;
}
.pagination span:first-child {
    margin-left: 0;
}
.pagination span.current {
    background: none repeat scroll 0 0 #CCCCCC;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: not-allowed;
    padding: 10px 20px;
}
.pagination span.active {
    background-color: #999999;
    border-radius: 3px;
    color: #FFFFFF;
    cursor: not-allowed;
    padding: 10px 20px;
}
.pagination span a {
    background: none repeat scroll 0 0 #CCCCCC;
    border-radius: 3px;
    color: #FFFFFF;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2);
}
.pagination span a:hover {
    background-color: #444444;
    color: #FFFFFF;
    opacity: 0.8;
    transition-duration: 500ms;
    transition-property: all;
    transition-timing-function: ease;
}
/*寺院リスト*/
ul.templelist-wrap{
    margin: 0;
    padding: 0;
    list-style-type: none;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
li.templelist{
    list-style-type: none;
    position: relative;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background: #f3f3f2;
    overflow: hidden;
}
li.templelist:nth-child(2n){
    background: #f8f8f6;
}
.templelist .img{
    background: #f6f6f5;
    border: 1px solid #ddd;
    padding: 4px;
    display: none;/*当面は固有のサムネイルがないため、画面サイズが小さい場合は非表示にする*/
}
.templelist .title{
    font-size: 2.0rem;
}
.templelist dl{
    margin: 10px 0 0 0;
}
.templelist dl dt{
    width: 100%;
    text-align: center;
    background: #ddd;
}
.templelist .more{
    text-align: center;
    margin-top: 1em;
}

@media (min-width: 768px) {
    .templelist .img{
        display: block;
        float: left;
        height: 110px;
        width: 160px;
        margin-right: 10px;
    }
    .templelist .title{
        display: inline-block;
    }
    .templelist .more{
        position: absolute;
        bottom: 10px;
        right: 10px;
        margin-top: 0;
    }
    .templelist dl dt{
        float: left;
        width: 6em;
        padding: .2em .5em;
        margin-right: 10px;
    }
}
/*市区町村の一覧表示*/

ul.city-list,
ul.area-list{
    margin: 0;
    padding: 10px 15px;
    background: #f3f3f2;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    /*box-shadow: 0 0 3px #ddd inset;*/
}
.city-list li,
.area-list li.cat-item{
    display: inline-block;
    line-height: 2.4;
}
.city-list li:after,
.area-list li.cat-item:after{
    content: " | ";
    color: #ddd;
}
.city-list li:last-child:after,
.area-list li.cat-item:last-child:after{
    content: "";
}
.area-list .categories{
    list-style-type: none;
    overflow: hidden;
    background: #e7e7eb;
    padding:1px;
    border: 1px solid #fff;
    border-bottom: 0;
}
.area-list .categories:last-child{
    border-bottom: 1px solid #fff;
}
.area-list-title{
    display: block;
    width: 6em;
    padding: 15px 1em;
    line-height: 2.4;
    font-weight: bold;
    float: left;
}
.area-list .categories ul{
    padding: 15px 1em;
    margin-left: 6em;
    background: #fcf9f9;
}
/*コピーライト*/
.brand{
    text-align: center;
}
.brand a{
    color: #fff;
    font-size: 20px;
}
.brand a:hover{
    color: #fff;
    text-decoration: none;
}
@media (min-width: 992px) {
    .brand{
        text-align: right;
    }
}
/*お知らせ*/
.news{
    height: 200px;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    padding: 1em;
    overflow-y: scroll;
    box-shadow: 0 0 5px #ddd inset;
}
.news dl{
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
}
.news dl dt{
    font-weight: normal;
    display: inline-block;
    width: 9em;
}
.news dl dd{
    display: inline-block;
}
.news-icon01,
.news-icon02,
.news-icon03{
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 0.8em;
    border-radius: 3px;
    margin-right: 1em;
    color: #fff;
}
.news-icon01{ background: #165e83;}
.news-icon02{ background: #028760;}
.news-icon03{ background: #b7282e;}
/*都道府県選択のテーブル*/
.area-wrap{
    background-color: #fcf9f9;
}
@media (min-width: 992px) {
    .area-wrap{
        background-image: url('./images/area-bg.png');
        background-position: bottom right;
        background-repeat: no-repeat;
    }
}
dl.area{
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    margin-bottom: 0;
}
dl.area:last-child{
    border-bottom: 1px solid #ddd;
}
dl.area dt{
    display: inline-block;
    width: 100%;
    padding: 0.8em 0.9em;
    border: 1px solid #fff;
    background: #e7e7eb;
}
@media (min-width: 768px) {
    dl.area dt{
        width: 8em;
    }
}
dl.area dd{
    display: inline-block;
}
.area dd ul{
    list-style-type: none;
    margin: 0;
    padding: 0 0 0 1em;
}
.area dd ul li{
    display: inline-block;
    line-height: 2.4;
}
.area dd ul li:after{
    content: " | ";
    color: #ddd;
}
.area dd ul li:last-child:after{
    content: "";
}
/*トップページのメインビジュアル*/
.mainimage {
    height: 405px;
    background: url('./images/main-image.jpg') center center no-repeat scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    margin-bottom: 16px;
    box-shadow: 0 0 15px #666 inset;
    border-bottom: 5px solid #242424;
    overflow: hidden;
}
.mainimage-in{
    height: 400px;
    background: url('./images/main-image-over.png') center right no-repeat scroll;
    position: relative;
}
.tagline {
    text-shadow: 0 0 10px #000;
    color: #fff;
    font-size: 3.2rem;
    line-height: 1.6;
    position: relative;
    top: 0;
}
@media (min-width: 992px) {
    .tagline {
        font-size: 4rem;
        top: 40px;
    }
}
.tagline span{
    white-space: nowrap;
}
.mainimage-btn{
    background: rgba(255, 255, 255, 0.2);
    padding: 25px;
    display: block;
    width: 80%;
    margin: 10px auto;
    text-align: center;
}
@media (min-width: 992px) {
    .mainimage-btn{
    position: absolute;
    bottom: 30px;
    width: 50%;
    margin: auto;
    }
}
.img-center {
    margin: 0 auto;
}
/* --------------------
汎用スタイル
-------------------- */
.serif,
.main-title,
h1.main-title,
h2.main-title,
h2.title,
h3.title,
h3.comment-reply-title,
h4.title,
.side-title
{
    font-family:"Roboto Slab" , Garamond , "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
}
.main-title{
    margin-top: 24px;
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .main-title,
    h1.main-title,
    h2.main-title,
    h2.title,
    h3.title,
    h3.comment-reply-title,
    h4.title,
    .side-title{
        margin-top: 8px;
    }
}
.moegi{
    background-color: #006e54 !important;
    color: #fff !important;
}
.btn-moegi {
  color: #fff;
  background-color: #006e54;
  -webkit-transition-timing-function: ease;
       -o-transition-timing-function: ease;
          transition-timing-function: ease;
  -webkit-transition-duration: .3s;
       -o-transition-duration: .3s;
          transition-duration: .3s;
  -webkit-transition-property: all;
       -o-transition-property: all;
          transition-property: all;
}
.btn-moegi:hover,.btn-moegi:active {
  color: #fff !important;
  background-color: #289b7e;
}

.kokihi{
    border-left: 10px solid #c9171e;
    padding-left: 15px;
}
body .btn-xlg{
    width: 100%;
    padding: 10px 0;
    font-size: 2.6rem;
    border-radius: 5px;
    box-shadow: 1px 2px 3px rgba(0,0,0,.5);
}
/* --------------------
見出しスタイル
-------------------- */
h1.main-title,
h2.main-title,
.main-title{
    border-left: 2px solid #c9171e;
    border-top: 1px solid #fff;
    padding: 0.3em 0.4em;
    background: #f3f3f2;
    box-shadow: 1px 1px 3px #ccc;
    font-size: 4rem;
}
h2.title,
h3.title,
h3.comment-reply-title{
    border-left: 2px solid #c9171e;
    padding: 0.2em 0.4em;
    font-size: 2.8rem;
}
h4.title{
    border-bottom: 4px solid #ddd;
    padding: 0.2em 0.4em;
    font-size: 2.4rem;
}
.side-title{
    background: #f3f3f2;
    box-shadow: 1px 1px 3px #ccc;
    border-top: 1px solid #fff;
    border-left: 2px solid #aaa;

    padding: 0.4em 0.6em;
    font-size: 2.0rem;
}
@media (max-width: 768px) {
    h1.main-title,
    h2.main-title,
    .main-title{
        font-size: 2.2rem;
    }
    h2.title,
    h3.title,
    h3.comment-reply-title{
        font-size: 2rem;
    }
    h4.title{
        font-size: 2rem;
    }
}
/* --------------------
ベーススタイル
-------------------- */
body a {
  color: #0095d9;
  text-decoration: none;
}
body a:hover, body a:focus {
  color: #1e50a2;
  text-decoration: underline;
}
body{
    background-color: #ede4cd;
    background-image: radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.01) 99%),
    radial-gradient(closest-side, transparent 98%, rgba(0,0,0,.01) 99%);
    background-size:80px 80px;
    background-position:0 0, 40px 40px;
    border-top: 3px solid #c9171e;
}
#main .container-in{
    background-color: #f8f6f2;
    margin-bottom: 30px;
    padding: 0 15px 20px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
@media (max-width: 768px) {
    #main .container-in{
        padding: 0 5px 5px;
    }
}
#header .navbar{
    box-shadow: 0 1px 3px #666;
    border-radius: 0;
}
#header .navbar-inverse{
    margin-bottom: 0;
}
#footer{
    background-color: #222;
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 -1px 3px #999;
    min-height: 150px;
}
#header .navbar-inverse,
#footer{
    background-image:
    radial-gradient(circle at 100% 150%, #222 24%, #262626 25%, #262626 28%, #222 29%, #222 36%, #262626 36%, #262626 40%, transparent 40%, transparent),
    radial-gradient(circle at 0    150%, #222 24%, #262626 25%, #262626 28%, #222 29%, #222 36%, #262626 36%, #262626 40%, transparent 40%, transparent),
    radial-gradient(circle at 50%  100%, #262626 10%, #222 11%, #222 23%, #262626 24%, #262626 30%, #222 31%, #222 43%, #262626 44%, #262626 50%, #222 51%, #222 63%, #262626 64%, #262626 71%, transparent 71%, transparent),
    radial-gradient(circle at 100% 50%, #262626 5%, #222 6%, #222 15%, #262626 16%, #262626 20%, #222 21%, #222 30%, #262626 31%, #262626 35%, #222 36%, #222 45%, #262626 46%, #262626 49%, transparent 50%, transparent),
    radial-gradient(circle at 0    50%, #262626 5%, #222 6%, #222 15%, #262626 16%, #262626 20%, #222 21%, #222 30%, #262626 31%, #262626 35%, #222 36%, #222 45%, #262626 46%, #262626 49%, transparent 50%, transparent);
    background-size:100px 50px;
}
/* ぱんくず */
.bread_crumb {
  padding-right: 0;
  padding-left: 0;
  margin-top: 20px;
  margin-right: auto;
  margin-left: auto;
}
.bread_crumb:before, .bread_crumb:after {
  display: table;
  content: " ";
}
.bread_crumb:after {
  clear: both;
}
@media (min-width: 768px) {
  .bread_crumb {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .bread_crumb {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .bread_crumb {
    width: 1170px;
  }
}
.bread_crumb li{
	display: inline-block;
	list-style: none;
	position: relative;
	margin-right: 15px;
	padding-right: 15px;
    font-size: 0.95em;
    color: #444;
	background: url(./images/icon/icon-brc.gif) right center no-repeat;
}
.bread_crumb li a{
    padding-left: 4px;
    color: #444;
    text-decoration: underline;
}
.bread_crumb li a:hover{
    color: #999;
    text-decoration: none;
}

.bread_crumb li:before{
	content: url(./images/icon/icon-folder-brc.png);
}

.bread_crumb li:first-child:before{
	content: url(./images/icon/icon-home-brc.png);
}

.bread_crumb li:last-child{
	background: none;
}

.bread_crumb li:last-child:before{
	content: none;
}

	/*Retina（高解像度）ディスプレイ用*/
	@media screen and (-webkit-min-device-pixel-ratio:2),
	(min-resolution: 2dppx){

		.bread_crumb li{
			background: url(./images/icon/icon-brc@2x.gif) right center no-repeat;
			-webkit-background-size: 5px 9px;
			background-size: 5px 9px;
		}

		.bread_crumb li:before{
			width: 12px;
			height: 12px;
			background: url(./images/icon/icon-folder-brc@2x.png);
		}

		.bread_crumb li:first-child:before{
			width: 12px;
			height: 12px;
			background: url(./images/icon/icon-home-brc@2x.png);
		}

		.bread_crumb li:before,
		.bread_crumb li:first-child:before{
			display: inline-block;
			vertical-align: middle;
			-webkit-background-size: contain;
			background-size: contain;
			content: " ";
		}

		.bread_crumb li:last-child:before{
			width: 0;
			height: 0;
			background: none;
			content: none;
		}
	}
