*{
    box-sizing: border-box;
    min-height:0;
    min-width : 0;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    letter-spacing: .05em;
    color: #171717;
    font-family: YuMincho,    /* Mac用 */
	'Yu Mincho', /* Windows用 */
	serif;
    line-height: 1.7;
}

img {
    width: 100%;
    vertical-align: middle;
    height: auto;
}

a {
    text-decoration: none;
}

/*      タブレット用のcss 601~1024px */

/*      スマホ用のcss 600px以下      */
@media screen and (max-width:600px){
.pcHeader {
    display: none;
}
.pc-nav {
    display: none;
}
/*      ヘッダー         */
.site-header{
}

.site-header.fixed{
    position: fixed;
    top: 0;
}
.site-logo img{
    height: 60px;
    width: auto;
}

.gnav img {
    height: 60px;
    width: auto;
}

.gnav__menu{
    display: flex;
}
.gnav__menu__item{
}
.gnav__menu__item a{
    color: #333;
    text-decoration: none;
}
.hero{
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    background-image: url(../img/パッケージAトップ.png);
    background-position: center;
    background-size: cover;
    }
.heroTitle{
    height: auto;
    width: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 91;
    }
.heroTitle img {
    height: auto;
    width: 100%;
}
.header-change{
    background: #fff;
    display: flex;
    justify-content: space-between;
    padding: 0;
    position: fixed;
    top: -60px;
    transition: .5s;
    width: 100%;
    height: 60px;
}
.header-change.show{
    top: 0;
}
.header-change .gnav__menu__item a{
    color: #fff;
    text-decoration: none;
}
.pc-nav {
    display: none;
}
.sp-nav {
    display: flex;
    width: 45%;
    justify-content: space-between;
    z-index: 99;
}
.top-bottun {
    width: 100%;
    height: 50px;
    color: white;
    line-height: 60px;
    display: block;
    text-align: center;
    z-index: 99;
}

/*      ここからハンバーガーメニュー         */
.menu-btn {
    position: fixed;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 99;
    background-color: white;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #333;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}
#menu-btn-check {
    display: none;
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background: rgba(255,255,255,0.9);
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #518665;
    list-style: none;
    width: 90%;
    margin: auto;
}
.menu-content ul li:nth-of-type(1) {
    border-top: solid 1px #518665;
}
.menu-content ul li a {
    display: block;
    width: 90%;
    font-size: 20px;
    box-sizing: border-box;
    color:#333;
    text-decoration: none;
    padding:15px;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 10px;
    height: 10px;
    border-top: solid 2px #518665;
    border-right: solid 2px #518665;
    transform: rotate(45deg);
    position: absolute;
    right: 0;
    top: 25px;
}
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}

.phone {
    color: #518665;
    display: block;
    width: 200px;
    margin:0 auto;
    font-size: 25px;
}
.phone i {
    margin-right: 20px;
}
.header-sns {
    display: flex;
    width: 90%;
    margin: 30px auto 0;
    justify-content: space-around;
}
.border-radius {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background-color: white;
    border-radius: 50%;
    text-align: center;
    z-index: 1;
    align-items: center;
  }
.border-radius img {
    width: 100%;
    height: auto;
    z-index: 2;
    display: block;
    margin: auto;
    opacity: 1;
}

.header-info {
    width: 90%;
    margin:50px auto 20px;
    text-align: center;
}
.header-infoTemple {
    font-size: 22px;
}
.headerMessage {
    font-size: 12px;
    margin: 30px auto;
    text-align: center;
}

/*      ここまでハンバーガーメニュー */

   /* 　共通CSS */
main {
    overflow: hidden;
}

section {
    width: 100%;   
    padding: 60px 0 0 0; 
}

.container {
    width: 90%;
    max-width: 500px;
    margin: auto;
    text-align: center;
}
.sectionTitle {
font-size: 30px;
color: #89B59A;

}

hr {
    width: 90%;
    margin: auto;
}

/* お寺についてセクション */
.about {
padding: 50px 0;

}
.about h3 {
font-size: 20px;
margin: 50px auto 0;
width: 300px;
}

.templeInfo {
font-size: 16px;
width: 90%;
margin: 30px auto;
text-align: center;
}

.templeInfo p{
    text-align: left;
}

.aboutBox {
width: 100%;
margin: auto;
}
.aboutImage {
width: 90%;
max-width: 450px;
margin: 50px auto;
}
.aboutMessage {
width: 90%;
text-align: center;
margin: auto;
}
.aboutMessage img {
    width: 100%;
    margin: auto;
    display: block;
}
.messageBox {
margin-top: 30px;

}

/*      あいさつセクション       */
.greetingBox {
width: 90%;
margin:0 auto;
display: flex;
  flex-direction: column;
}
.greetingBox:nth-of-type(1) {
    margin-top: 50px;
}
.greetingImage {
width: 100%;
margin: auto;
order: 1;
}
.greetingMessage {
width: 100%;
text-align: left;
margin: 30px auto;
order: 2;
}
.sign {
width: 70%;
max-width: 400px;
margin:0px auto;
}

/*      境内を歩くセクション         */
.keidaiImage {
width: 300px;
margin: 50px auto 0;
}
.walkingBox {
width: 90%;
margin: auto;

}
.walking-list {
width: 100%;
margin-top: 30px;
}
.walking-item {
width: 100%;
margin: 0 auto 30px;
text-align: left;
display: flex;
flex-direction: column;
}
.walking-item h5 {
font-size: 25px;
color: #89B59A;
margin-top: 20px;
margin-bottom: 10px;
order: 1;
}
.walkingImage {
width: 100%;
height: auto;
order: 2;
}
.walking-item p {
    order: 3;
    margin-top: 30px;
}
/*      つながるセクション       */

.snsArea {
width: 90%;
margin: auto;
}

.sns-item {
margin: 50px auto 20px;
}

.snsArea h4 {
font-size: 35px;
color: #518665;
margin: 30px auto 10px;
}
.twitter-timeline {
    width: 100%;
    height: 400px;
}
.facebook {
    width: 100%;
    height: 400px;
}
/*      アクセスセクション       */

.access {
    padding-bottom: 0;
}

.locate {
margin-top: 50px;
width:90%;
max-width: 400px; 
height:300px; 
}
.accessTemple {
font-size: 22px;
margin-top: 20px;
margin-bottom: 20px;
}
.traffic-list {
width: 100%;
margin: auto;
}
.traffic-item {
width: 100%;
margin: 30px auto;
}
.traffic-item h5 {
border: 1px solid black;
width: 300px;
margin: 0 auto 10px;
padding: 10px;
font-size: 19px;
text-align: center;
}

/*      ウィンドウ　 */
.windowimage {
background-image: url(../img/window.png);
background-position: center;
background-size: cover;
height: 200px;
width: 100%;
}

/*      フッター         */
footer {
height: 100px;
background-color: #89B59A;
color: white;
text-align: center;
}
.copyright-2021 {
    padding-top: 30px;
}
}

@media screen and (min-width:601px) and (max-width:1023px) {
    .spHeader {
        display: none;
    }
    .pc-nav {
        display: none;
    }
    /*      ヘッダー         */
    .site-header{
        display: none;
    }
      
    .site-header.fixed{
        position: fixed;
        top: 0;
        }
        .site-logo {
            width: 20%;
        }
    .site-logo img{
        height: 40px;
        width: auto;
        padding-left:20px;
        display: block;
        margin: auto;
        }
    .gnav{
        width: 80%;
        display: flex;
        margin-left:15px;
        font-size: 15px;
        padding-right: 20px;
        padding-left: 30px;
        justify-content: space-between;
    }
    .gnav a{
        color: #333;
        text-decoration: none;
        margin-left: 20px;
        }
    .hero{
        width: auto;
        height: 100vh;
        overflow: hidden;
        position: relative;
        background-image: url(../img/パッケージAトップ.png);
    background-position: center;
    background-size: cover;
    } 
    .heroTitle{
        height: auto;
        width: 600px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        z-index: 91;
    }
    .sns-icons {
        display: none;
    }
    .border-radius {
        width: 30px;
        height: 30px;
        line-height: 30px;
        border-radius: 50%;
        text-align: center;
        z-index: 1;
        align-items: center;
      }
    .border-radius img {
        width: 100%;
        height: auto;
        z-index: 2;
        display: block;
        margin: auto;
        opacity: 1;
    }
    .header-change{
        background: #fff;
        display: flex;
        justify-content: space-between;
        padding: 0;
        position: fixed;
        top: -80px;
        transition: .5s;
        width: 100%;
        height: 80px;
    }
    .header-change.show{
        top: 0;
    }
    .header-change .gnav__menu__item a{
        color: #fff;
        text-decoration: none;
    }
    .pc-nav {
        display: none;
    }
    .sp-nav {
        display: flex;
        width: 45%;
        justify-content: space-between;
        z-index: 99;
    }
    .top-bottun {
        width: 200px;
        height: 80px;
        color: white;
        line-height: 60px;
        display: block;
        text-align: center;
        z-index: 99;
        padding-left: 50px;
    }
    .top-bottun img {
        height: 60px;
        width: auto;
    }
    /*      ここからハンバーガーメニュー         */
    .menu-btn {
        position: fixed;
        right: 30px;
        display: flex;
        height: 80px;
        width: 80px;
        justify-content: center;
        align-items: center;
        z-index: 99;
        background-color: white;
        
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 30px;
        border-radius: 3px;
        background-color: #333;
        position: absolute;
    }
    .menu-btn span:before {
        bottom: 8px;
    }
    .menu-btn span:after {
        top: 8px;
    }
    #menu-btn-check:checked ~ .menu-btn span {
        background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
    }
    #menu-btn-check:checked ~ .menu-btn span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    #menu-btn-check {
        display: none;
    }
    
    .menu-content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 80;
        background: rgba(255,255,255,0.9);
        transition: all 0.5s;/*アニメーション設定*/
        padding-top: 100px;
    }
    .menu-content ul {
        padding: 70px 10px 0;
    }
    .menu-content ul li {
        border-bottom: solid 2px #518665;
        list-style: none;
        width: 80%;
        margin: auto;
    }
    .menu-content ul li:nth-of-type(1) {
        border-top: solid 2px #518665;
    }
    .menu-content ul li a {
        display: block;
        width: 90%;
        font-size: 25px;
        box-sizing: border-box;
        color:#333;
        text-decoration: none;
        padding:20px;
        position: relative;
    }
    .menu-content ul li a::before {
        content: "";
        width: 10px;
        height: 10px;
        border-top: solid 2px #518665;
        border-right: solid 2px #518665;
        transform: rotate(45deg);
        position: absolute;
        right: 0;
        top: 35px;
    }
    #menu-btn-check:checked ~ .menu-content {
        left: 0;/*メニューを画面内へ*/
    }
    .phone {
        color: #518665;
        display: block;
        width: 500px;
        margin:0 auto;
        font-size: 35px;
        text-align: center;
    }
    .phone i {
        margin-right: 20px;
    }
    .header-sns {
        display: flex;
        width: 60%;
        margin: 50px auto 0;
        justify-content: space-around;
    }
    .border-radius {
        width: 60px;
        height: 60px;
        line-height: 60px;
        background-color: white;
        border-radius: 50%;
        text-align: center;
        z-index: 1;
        align-items: center;
      }
    .border-radius img {
        width: 100%;
        height: auto;
        z-index: 2;
        display: block;
        margin: auto;
        opacity: 1;
    }
    
    .header-info {
        width: 90%;
        margin:50px auto 20px;
        text-align: center;

    }
    .header-infoTemple {
        font-size: 30px;
    }
    .headerMessage {
        font-size: 15px;
        margin: 30px auto;
        text-align: center;
    }
    
    /*      ここまでハンバーガーメニュー */
    
       /* 　共通CSS */
    main {
        overflow: hidden;
    }
    
    section {
        width: 100%;   
        padding: 100px 0 0 0; 
    }
    
    .container {
        width: 90%;
        margin: auto;
        text-align: center;
    }
    .sectionTitle {
    font-size: 30px;
    color: #89B59A;
    
    }
    
    hr {
        width: 90%;
        margin: auto;
    }
    
    /* お寺についてセクション */
    .about {
    padding: 150px 0 0 0;
    
    }
    .about h3 {
    font-size: 20px;
    margin: 50px auto 0;
    }
    
    .templeInfo {
    font-size: 16px;
    width: 90%;
    max-width: 500px;
    margin: 30px auto;
    text-align: left;
    }
    .aboutBox {
    width: 100%;
    margin: auto;
    }
    .aboutImage {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    }
    .aboutMessage {
    width: 100%;
    text-align: center;
    margin: auto;
    }
    .aboutMessage {
        max-width: 600px;
        width: 90%;
        margin: auto;
        display: block;
    }
    .messageBox {
        font-size: 16px;
        width: 100%;
        margin: 30px auto;
        text-align: left;
    
    }
    
    /*      あいさつセクション       */
    .greetingBox {
    width: 100%;
    margin:0 auto;
    display: flex;
      flex-direction: column;
    }
    .greetingBox:nth-of-type(1) {
        margin-top: 50px;
    }
    .greetingImage {
        width: 90%;
        max-width: 600px;
    margin: auto;
    order: 1;
    }
    .greetingMessage {
        font-size: 16px;
        width: 90%;
        max-width: 500px;
        margin: 30px auto;
        text-align: left;
    order: 2;
    }
    .sign {
    width: 70%;
    max-width: 400px;
    margin:0px auto;
    }
    
    /*      境内を歩くセクション         */
    .keidaiImage {
    width: 90%;
    max-width: 600px;
    margin: 50px auto 0;
    }
    .walkingBox {
    width: 100%;
    margin: auto;
    
    }
    .walking-list {
    width: 100%;
    margin-top: 30px;
    }
    .walking-item {
    width: 90%;
    margin: 0 auto 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    }
    .walking-item h5 {
    font-size: 40px;
    color: #89B59A;
    margin-top: 20px;
    margin-bottom: 10px;
    order: 1;
    }
    .walkingImage {
    width: 100%;
    height: auto;
    order: 2;
    }
    .walking-item p {
        order: 3;
        margin-top: 30px;
    }
    /*      つながるセクション       */
    
    .snsArea {
    width: 100%;
    margin: auto;
    }
    
    .sns-item {
    margin: 50px auto 20px;
    width: 400px;
    }
    
    .snsArea h4 {
    font-size: 35px;
    color: #518665;
    margin: 30px auto 10px;
    }
    .twitter-timeline {
        width: 500px;
        height: 400px;
    }
    .facebook {
        width: 500px;
        height: 400px;
    }
    /*      アクセスセクション       */
    
    .access {
        padding-bottom: 0;
    }
    
    .locate {
    margin-top: 50px;
    width:600px;
    height:300px; 
    }
    .accessTemple {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
    }
    .traffic-list {
    width: 100%;
    margin: auto;
    }
    .traffic-item {
    width: 100%;
    margin: 30px auto;
    }
    .traffic-item h5 {
    border: 1px solid black;
    width: 400px;
    margin: 0 auto 10px;
    padding: 10px;
    font-size: 20px;
    text-align: center;
    }
    
    /*      ウィンドウ　 */
    .windowimage {
    background-image: url(../img/window.png);
    background-position: center;
    background-size: cover;
    height: 200px;
    width: 100%;
    }
    
    /*      フッター         */
    footer {
    height: 100px;
    background-color: #89B59A;
    color: white;
    text-align: center;
    }
    .copyright-2021 {
    
    }
}

/*      PC用のcss 1025px以上 */
@media screen and (min-width:1024px){
    .br-sp {
        display: none;
    }
    /* ヘッダー */
.site-header{
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    width: 100%;
    height: 60px;
    z-index: 99;
    margin-bottom: 100px;
}
  
.site-header.fixed{
    position: fixed;
    top: 0;
    }
.site-logo img{
    height: 40px;
    width: auto;
    padding-left:50px;
    display: block;
    margin: auto;
    }
.gnav{
    display: flex;
    margin-left:20px;
}
.gnav a{
    color: #333;
    text-decoration: none;
    margin-left: 30px;
}
.hero{
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    background-image: url(../img/パッケージAトップ.png);
    background-position: center;
    background-size: cover;
    }
.heroTitle{
    height: auto;
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    z-index: 91;
    }
.heroTitle img {
    height: auto;
    width: 100%;
}
.sns-icons {
    padding-right: 50px;
    display: flex;
    justify-content: space-between;
}
.sns-icons a {
    margin-right:20px;
}
.border-radius {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    text-align: center;
    z-index: 1;
    align-items: center;
    overflow: hidden;
  }
.border-radius img {
    width: 100%;
    height: 100%;
    z-index: 2;
    object-fit: cover;


}
.header-change{
    background: #518665;
    padding: 0;
    position: fixed;
    top: -60px;
    transition: .5s;
    width: 100%;
    height: 60px;
    z-index: 99;
    align-items: center;
    color: #fff;
    }
 .pc-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}     
.header-change.show{
        top: 0;
    }
.header-change .gnav a{
        color: #fff;
        text-decoration: none;
    }
.header-change .gnav a:hover{
        opacity: .7;
} 
    
.spHeader {
        display: none;
    }



    .sp-nav {
        display: none;
    }
    /* ヘッダーここまで */
    
    
   /* 　共通CSS */
main {
        overflow: hidden;
    }
    
section {
        width: 100%;   
        padding: 100px 0 0 0; 
    }
    
.container {
        width: 1000px;
        margin: auto;
        text-align: center;
    }
.sectionTitle {
    font-size: 40px;
    color: #518665;

}

/* お寺についてセクション */
.about {
    padding: 200px 0 50px 0;
    background-color: #fff;
}
.about h3 {
    font-size: 20px;
    margin-top: 50px;
}
.aboutImage {
    width: 90%;
    height: 400px;
    margin: 50px auto;
}
.aboutImage img {
    overflow: hidden;
    height: 400px;
}
.templeInfo {
    font-size: 16px;
    width: 70%;
    margin: 30px auto;
    padding: 0 50px;
    text-align: left;
}
.aboutMessage {
    display: flex;
    width: 100%;
    margin: auto;
    justify-content: space-between;
}

.messageBox {
    margin-top: 30px;
    width: 48%;
}

/*      あいさつセクション       */
.greetingBox {
    display: flex;
    width: 100%;
    margin-top: 100px;
}
.greetingBox:nth-of-type(2) {
    margin-top: 50px;
}
.greetingImage {
    width: 48%;
    margin: auto;
}
.greetingMessage {
    width: 48%;
    text-align: left;
    margin: auto;
}
.sign {
    width: 300px;
    margin:30px auto 0;
}

/*      境内を歩くセクション         */
.keidaiImage {
    width: 500px;
    height: 350px;
    margin: 50px auto 0;
}
.walkingBox {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
}
.walking-list {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    margin-top: 50px;
}
.walking-item {
    width: 45%;
    margin: 0 auto 50px;
    text-align: left;
}
.walking-item h5 {
    font-size: 25px;
    color: #89B59A;
    margin-top: 20px;
    margin-bottom: 10px;
}
.walkingImage {
    width: 450px;
    height: 250px;
}
.walkingImage img {
    height: 250px;
}

/*      つながるセクション       */

.snsArea {
    width: 1000px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}
.sns-item {
    width: 400px;
    margin: 50px auto 20px;
}
.twitter-timeline {
    width: 400px;
    height: 400px;
}
.facebook {
    width: 400px;
    height: 400px;
}
.snsArea h4 {
    font-size: 35px;
    color: #518665;
    margin-bottom: 15px;
}

/*      アクセスセクション       */

.locate {
    margin-top: 50px;
    width:800px; 
    height:350px; 
}
.accessTemple {
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.traffic-list {
    width: 80%;
    display: flex;
    margin: auto;
}
.traffic-item {
    width: 45%;
    margin: 30px auto;
}
.traffic-item h5 {
    border: 1px solid black;
    width: 300px;
    margin: 0 auto 10px;
    padding: 10px;
    font-size: 19px;
}

/*      ウィンドウ　 */
.windowimage {
    height: 300px;
    width: 100%;
}

/*      フッター         */
footer {
    height: 100px;
    background-color: #89B59A;
    color: white;
    text-align: center;
}
.copyright-2021 {
    padding-top: 30px;
}
}