@charset "utf-8";

/**********************************************/
/*トップページ*/
/**********************************************/

.contents {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto; 
}

/*縦書き*/
.tategaki {
    -ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
}
.tategaki .h2-header{
    margin: 0;
}
.tategaki p {
    margin: 4em 2em;
    line-height:2.15em;
}


/*---------------------------*/
/*くわしくはこちら矢印ボタン*/
/*---------------------------*/
.btn_more {
    width: 100%;
    max-width: 300px;
    margin: 0px auto;
}
.btn_more a:hover {
    text-decoration: none;
    color: #888;
}

/*矢印が右に移動する*/
.btnarrow4 {
    /*矢印と下線の基点とするためrelativeを指定*/
    position: relative;
    /*形状*/
    display: inline-block;
    padding: 0 20px;
    color: #333;
    text-decoration: none;
    outline: none;
}

/*矢印と下線の形状*/
.btnarrow4::before {
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom:-8px;
    left:-30%;
    
    /*下線の形状*/    
    width: 150%;
    height: 1px;
    background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}
.btnarrow4::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom:-3px;
    right:-20%;
    
    /*矢印の形状*/    
    width: 15px;
    height:1px;
    background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before {
    left:0%;
    background:#888;
}
.btnarrow4:hover::after {
    right:-50%;
    background:#888;
}
.btnarrow4:hover {
    color:red;
}


/*非表示用（jsで使う*/
.none {
    display: none;
}


/****************************/
/*表紙*/
/****************************/
#cover {}



/****************************/
/*不動院について*/
/****************************/
#about {
    padding: 100px 0 0;
    text-align: center;
}

/*内枠*/
#about .contents {
    background-image: url("../images/illust/kumo.png"), url("../images/illust/fudouin.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 20%,15%;
    background-position: left top, 100% bottom;
}

/*余白*/
.about-inner {
    padding: 0 20px;
}

/*見出し*/
#about .header-ttl .h2-header {
    margin-bottom: 30px;
}

/*くわしくボタン*/
#about .btn_more {
    margin-top: 50px;
}


/****************************/
/*写真*/
/****************************/
#gallery {
    width:100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    margin: 100px 0 0;
}
#gallery::before {
    content: "";
    display: block;
    padding-top: calc(8.333% * 3); /*画像の枠の高さ*/
}

.gallery-left {
    width:calc(8.333% * 6 - 15px);
    margin-right: 15px;
    background: url("../images/hondou01-e.jpg") no-repeat center center;
    background-size: cover;
}
.gallery-center {
    width:calc(8.333% * 3 - 15px);
    margin-right: 15px;
    background: url("../images/hondou04-e.jpg") no-repeat center center;
    background-size: cover;
}
.gallery-right {
    width:calc(8.333% * 3);
    background: url("../images/about/jihou-004.jpg") no-repeat center center;
    background-size: cover;
}


/****************************/
/*概要*/
/****************************/
#temple {
    padding: 30px 0;
    background-color: #f1efe9;
}

/*内枠*/
#temple .contents {}

/*見出し*/
#temple .header-ttl .h2-header {
    margin-bottom: 30px;
}

/*余白*/
.temple-inner {
    width: 100%;
    padding: 0 20px;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.temple-left {
    width: 50%;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;   
    align-items: center;
}
.temple-right {
    width: 50%;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

/*お札*/
.bill {
    width: 100%;
    max-width: 600px;
}

/*くわしくボタン*/
#temple .btn_more {
    margin: 50px 0 0 auto;
}


/****************************/
/*境内散歩*/
/****************************/
#walk {
    padding: 100px 0 0;
    background-image: url("../images/illust/bird.png"), url("../images/illust/hasumisan01.png");
    background-repeat: no-repeat, no-repeat;
    background-size: 15%,13%;
    background-position: 5% top, 5% bottom;
}

/*内枠*/
#walk .contents {}

/*余白*/
.walk-inner {
    width: 100%;
    padding: 0 20px;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: flex-end;
}
.walk-txt {
    width:calc(8.333% * 3 + 100px);
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
}
.walk-photo {
    width:calc(8.333% * 9 - 300px);
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: center;
}

/*見出し*/
#walk .tategaki {
    height: 500px;
}

/*くわしくボタン*/
#walk .btn_more {
    margin: 10px 0 0 auto;
}

/*写真*/
.photo-walk-box {
    width: 100%;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    justify-content: flex-end;
}
.photo-walk-box img {
    width: 100%;
    max-width: 350px;
    clip-path: circle(50% at 50% 50%);
}

#photo-walk-01 {
    max-width: calc(100% / 2 - 80px);
    margin-top: 100px;
    margin-right: 50px;
}
#photo-walk-02 {
    max-width: calc(100% / 2 - 40px);
    margin-right: -30px;
}


/****************************/
/*年中行事*/
/****************************/
#event {
    padding: 100px 0 0;
}

/*内枠*/
#event .contents {
    background-image: url("../images/illust/obousan02.png"), url("../images/illust/kaidan.png"), url("../images/illust/kumo.png");
    background-repeat: no-repeat;
    background-position: left 80%, 70% 80%, right 30px;
}

/*余白*/
.event-inner {
    width: 100%;
    padding: 0 20px;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.event-txt {
    width:calc(8.333% * 9);
    order: 1;
}
.event-photo {
    width:calc(8.333% * 3);    
    order: 2;
}

/*写真（未使用）*/
.photo-event-box {}

/*見出し*/
#event .tategaki {
    height: 500px;
    margin: 0 auto;
}

/*くわしくボタン*/
#event .btn_more {}


/****************************/
/*ご祈祷*/
/****************************/
#kitou {
    padding: 100px 0 0;
    background-image: url("../images/illst_2.png");
    background-repeat: no-repeat;
    background-position: 5% 100px;
}

/*内枠*/
#kitou .contents {
    background-image: url("../images/illust/inari.png");
    background-repeat: no-repeat;
    background-position: right 80%;
}

/*余白*/
.kitou-inner {
    width: 100%;
    padding: 0 20px;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.kitou-txt {
    width:calc(8.333% * 3 + 100px);
}
.kitou-photo {
    width:calc(8.333% * 9 - 100px);
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    justify-content: center;
    
}

/*見出し*/
#kitou .tategaki {
    height: 500px;
}

/*くわしくボタン*/
#kitou .btn_more {
    margin: 0px 0 100px 50px;
}

/*写真*/
.photo-kitou-box {
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
}
.photo-kitou-box img {
    width: 100%;
    max-width: 220px;
        clip-path: circle(50% at 50% 50%);
}

#photo-kitou-01 {
    width: calc(100% / 4 - 15px);
    margin-top: 170px;
    margin-right: 20px;
}
#photo-kitou-02 {
    width: calc(100% / 4 - 15px);
    margin-top: 80px;
    margin-right: 20px;
}
#photo-kitou-03 {
    width: calc(100% / 4 - 15px);
    margin-top: 190px;
    margin-right: 20px;
}
#photo-kitou-04 {
    width: calc(100% / 4 - 20px);
    margin-top: 100px;
}


/****************************/
/*よみもの*/
/****************************/
#column {
    padding: 100px 0;
    text-align: center;
    background-color: #f7f6f3;
}

/*写真*/
.column-photo {}

/*更新日*/
.column-upday {
    font-size: 1.4rem;
}

/*コメント*/
.column-txt {
    margin: 0;
}

/*newマーク*/
.new {
    font-weight: bold;
    color: red;
    margin-left: 20px;
}

/*スライダー*/
.sliderbox {
    max-width: 1600px;
    margin: 60px auto 0;
    padding: 0 50px;
}
.multiple-item {
    width: 100%;
    margin: 0;
    padding: 0 50px;
    list-style-type: none;
    overflow: hidden;
    opacity:0;
}
.multiple-item .slick-track li {
    margin: 0;
    padding: 0 20px;
    text-align: left;
}
.multiple-item .slick-initialized {
    margin:0;
    padding:0;
}
.multiple-item .slick-slide img {
    display: inline-block;
    border-radius: 10px;
    object-fit: cover;
    width:100%;
    display: block;
    margin: 0 auto 10px;
}
.slick-dotted .slick-slider {
    margin-bottom: 0px;
}

#column .slick-prev {
    left: 0px;
    width: 30px;
    height: 100px;
    z-index: 888;
}
#column .slick-next {
    right: 0;
    width: 30px;
    height: 100px;
    z-index: 888;
}
#column .slick-prev::before {  
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-top: solid 3px #697b91;
    border-right: solid 3px #697b91;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    margin-left: 7px;

}
#column .slick-next::before {
    content: '';
    display: block;
    width: 30px;
    height: 30px;
    border-top: solid 3px #697b91;
    border-right: solid 3px #697b91;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    margin-left: -13px;
}


/****************************/
/*お知らせ*/
/****************************/
#information {
    padding: 100px 0 50px;
    text-align: center;
    background-image: url("../images/illust/tree.png");
    background-repeat: no-repeat;
    background-position: 90% bottom;
     background-size: 14%;
}

/*内枠*/
#information .contents {
    background-image: url("../images/illust/hasumisan.png");
    background-repeat: no-repeat;
    background-position: 3% top;
    background-size: 13%;
}


/*余白*/
.information-inner {
    padding: 0 20px;
}

/*ニュース*/
.news-box {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}
.news-box .news {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.news-box .news li {
    width: 100%;
    display:-webkit-box;
    display:-moz-box;
    display:-ms-flexbox;
    display:-webkit-flex;
    display:-moz-flex;
    display:flex;
    -webkit-box-lines:multiple;
    -moz-box-lines:multiple;
    -webkit-flex-wrap:wrap;
    -moz-flex-wrap:wrap;
    -ms-flex-wrap:wrap;
    flex-wrap:wrap;
    margin: 10px 0;
}

/*更新日*/
.news-box .news li .upday {
    width: 120px;
    margin-right: 30px;
    text-align: center;
}
.news-box .news li .upday span {
    width: 100%;
    padding: 5px 10px;
    border-radius: 50px;
    background-color: #000;
    color:#fff;
    text-align: center;
    font-size: 1.2rem;
    line-height: 100%;
    display: inline-block;
}

/*更新内容*/
.news-box .news li .txt {
    width:  calc(100% - 120px - 30px);
    text-align: left;
}


/****************************/
/*アクセス*/
/****************************/
/*住所*/
#access {
    padding: 100px 0 0;
    text-align: center;    
}

/*余白*/
.access-inner {
    padding: 0 20px;
}

#access address {
    font-style:normal;
    display: block;
    margin: 0px 0 70px;
}
/*地図*/
.map {
    width: 100%;
    height: 400px;
}
.map iframe {
    width: 100%;
    height: 100%;
}


/****************************/
/*お問い合わせ*/
/****************************/
#contact {}




/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1240px) {
}

@media screen and (max-width: 980px) {
    /*#about .contents {
        background-position: left top, 100% bottom;
        background-size: auto, 180px;
    }*/
    
    #walk {
        background-position: 10% 50px, 5% bottom;
        background-size: 170px, 100px;
    }

    #event .contents {
        background-position: 30px top, left 80%, 70% 80%, right 30px;
        background-size: 170px, 150px, 150px, auto;
    }

    #kitou {
        background-position: 5% 70%;
    }

    #information {
        padding: 40px 0 240px;
        background-position: 90% bottom;
        background-size: auto;
    }
    #information .contents {
        padding-top: 20px;
        background-position: 40px top;
        background-size: 120px;
    }
    
    #access {
        padding: 30px 0 0;
    }
}

@media screen and (max-width: 768px) {
    /*不動院について*/
    #about {
        padding: 50px 0 0;
    }
    #about .contents {
        padding: 100px 0 0px;
        background-position: left top, center 80%;
        background-size: 200px, 200px;
    }
    #about .btn_more {
        margin-top: 240px;
    }

    /*ギャラリー*/
    #gallery {
        overflow: auto;
    }
    #gallery::before {
        padding-top: 0;
    }
    .gallery-left {
        width: 100%;
        margin-right: 0;
        height: 400px;
    }
    .gallery-center {
        width: 100%;
        margin-right: 0;
        height: 400px;
    }
    .gallery-right {
        width: 100%;
        height: 400px;
        display: none;
    }

    /*概要*/
    #temple {}
    .temple-left {
        width: 100%;
    }
    .temple-right {
        width: 100%;
    }
    #temple .btn_more {
        margin: 50px auto 70px;
        text-align: center;
    }

    /*境内散歩*/
    #walk {
    background-position: 10% 0px, 90% 35%;
    background-size: 170px, 120px;
    }
    .walk-txt {
        width: 100%;
        order: 1;
        display: block;
    }
    .walk-photo {
        width: 85%;
        order: 2;
        display: block;
        margin: 0 auto;
    }
    .photo-walk-box {
        /*justify-content: center;*/
        display: block;
    }
    .photo-walk-box img {
        max-width: 300px;
    }
    #photo-walk-01 {
        width: 90%;
        max-width: 500px;
        margin: 0 auto 10px auto;
        text-align: left;
    }
    #photo-walk-02 {
        width: 90%;
        max-width: 500px;
        margin: 0 auto;
        text-align: right;
    }
    #walk .tategaki {
        margin: 0 auto;
    }
    #walk .btn_more {
        margin: 0px auto 100px;
        text-align: center;
    }

    /*年中行事*/
    #event {}
    #event .contents {
        background-position: 5% 80% , 50px 50%, 10% top;
    background-size: 180px,0px, 200px;
    }
    .event-txt {
        width: 100%;
    }
    .event-photo {  /*未使用*/
        width: 100%;
        display: none;
    }
    #event .tategaki {
        height: 500px;
        margin: 0 0 0 auto;
    }
    #event .btn_more {
        margin: 0 auto;
        text-align: center;
    }


    /*ご祈祷*/    
    #kitou {
        padding: 50px 0 50px 0;
        background-position: 10% 50px;
        background-size: 170px;
    }
    #kitou .contents {
        background-position: 90% 350px;
        background-size: 80px;
    }    
    .kitou-txt {
        width: 100%;
        order: 1;
        margin-bottom: 70px;
    }
    .kitou-photo {
        width: 100%;
        order: 2;
    }
    #kitou .tategaki {
        margin: 0 auto;
    }
    #kitou .btn_more {
        margin: 0 auto;
        text-align: center;
    }    
    .photo-kitou-box img {
        max-width: 220px;
        display: block;
    }    
    #photo-kitou-01 {
        width: 50%;
        margin: 0px;
    }
    #photo-kitou-01 img {
        margin: 20px auto;
    }
    #photo-kitou-02 {
           width: 40%;
        margin: 10px;
    }
    #photo-kitou-02 img {
        margin: 0px auto 20px;
    }
    #photo-kitou-03 {
    margin: 0px 30px 0 0px;
        width: 40%;
    }
    #photo-kitou-03 img {
        margin: 0px auto;
    }
    #photo-kitou-04 {
        width: 50%;
        margin: 0px;
    }
    #photo-kitou-04 img {
        margin: 0px auto 20px;
    }

    /*よみもの*/
    #column {
        padding: 50px 0 70px;
    }
    .sliderbox {
        margin: 60px auto 0;
        padding: 0 20px;
    }
    .multiple-item .slick-track li {
        padding: 0 10px;
    }

    /*お知らせ*/
    #information {
        padding: 40px 0 160px;
        background-position: 90% 95%;
        background-size: 180px;
    }
    #information .contents {
        padding-top: 40px;
        background-position: 5px top;
        background-size: 100px;
    }
    .news-box {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
    .news-box .news li {
        margin: 20px 0;
    }
    .news-box .news li .upday {
        margin-right: 30px;
        margin-bottom: 5px;
        display: inline-block;
    }
    .news-box .news li .txt {
        width: 100%;
        padding-left: 1em;

    }

    /*アクセス*/
    #access {
        padding: 30px 0 0;
    }
    .map {
        height: 600px;
    }


}

@media screen and (max-width: 540px) {
}

@media screen and (max-width: 380px) {
}
