@charset "utf-8";

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.9rem;
  line-height: 1.5;
  color: var(--sub2-color);
}
:root {
  --base-color: #ffffff;
  --accent-color: #cfc7d6;
  --sub1-color: #D8E0CA;
  --sub2-color: #2c2c2c;
  --sub3-color: #b7c59c;
}
img {
  max-width: 100%;
}
dl{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.indent{
  text-indent: -1em;
  padding-left: 1em;
  font-size: 1.7rem;
}

/* PC版共通設定 */
.pc_none {
  display: none;
}
.pc_flex{
  display: flex;
}
.main_wrap{
  width: 85%;
}


/* トップページ */


/* ヘッダー */
header{
  width: 15%;
}
.pc_header{
  position: fixed;
  width: 15%;
  height: 100vh;
  background-color: var(--sub1-color);
  div{
    position: relative;
    height: 100%;
    h1{
      position: absolute;
    }
  }
}

/* PCナビゲーションメニュー */
.pc_nav{
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  max-width: 210px;
  font-size: 1.6rem;
  li{
    margin-bottom: 5px;
    a{
      display: block;
      padding: 10px;
      width: 100%;
      border-bottom: solid 1px var(--sub3-color);
    }
  }
}

/* firstview */
.top_wrap{
  width: 85%;
  max-width: 1000px;
  margin: 100px auto 120px;
}

/* お知らせ */
h4{
  font-weight: 600;
  font-size: 1.8rem;
}
.sec_news{
  margin-bottom: 50px;
  background-color: var(--accent-color);
}
.news_wrap{
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
  dl{
    margin: 10px auto 0 10rem;
    font-size: 1.6rem;
    dt{
      width: 15%;
    }
    dd{
      width: 85%;
    }
  }
}

/* Instagram */
.sec_Instagram{
  width: 85%;
  max-width: 900px;
  margin: 125px auto 0px;
  p{
    margin: 0 0 0 auto;
    padding: 10px 0;
    text-align: right;
  }
  a{
    padding: 10px;
  }
}

/* section共通設定 */
section{
  padding: 150px 0 100px;
}
.sec_wrap{
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
}
h2{
  border-bottom: solid 1px #555;
  margin-bottom: 80px;
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 2;
}
.sec_content{
  margin-left: 50px;
}

/* 各ページリンクボタン */
.link_wrap{
  margin-top: 100px;
  .link_btn{
    margin-bottom: 10px;
  }
}

/* アクセス */
.map{
  margin-top: 50px;
  text-align: center;
  iframe{
    width: 90%;
    max-width: 800px;
    height: 300px;
  }
}

/* 行事 */
.sec04{
  margin: 0 auto;
  width: 83%;
  max-width: 750px;
}
.sec04_text{
  flex-basis: 62%;
  li{
    margin-top: 5px;
    margin-bottom: 2.2rem;
  }
}
.sec04_img{
  flex-basis: 38%;
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  li{
    margin-bottom: 8px;
  }
}
.small{
  font-size: 1.6rem;
}

/* お問合せはこちら */
.contact_wrap{
  text-align: center;
  padding: 50px 0 150px;
}
#access dl{
  width: 100%;
  dt{
    width: 25%;
    font-weight: 600;
  }
  dd{
    width: 75%;
  }
}
.contact_btn{
  margin: 0 auto;
  width: 30%;
  max-width: 340px;
  background-color: var(--sub1-color);
  border-radius: 10px;
  a{
    display: block;
    padding: 20px 0;
    width: 100%;
  }
}

/* footer */
footer{
  margin: 150px 0 10px;
  text-align: center;
  font-size: 1.6rem;
}


/* リンクページ共通 */


.to_top_btn{
  position: fixed;
  bottom: 18px;
  right: 18px;
}
.top_img{
  width: 100%;
  height: 20vh;
  img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 100% center;
  }
  .eidai_img{
    object-position: 0% center;

  }
}
.img_wrap{
  margin: 80px 0 50px;
  justify-content: space-between;
  .img_magin_r{
    margin-right: 20px;
  }
}
.text_bottom{
  padding-bottom: 40px;
}


/* 隆興寺について */
.jishi{
  background: url(../images/jishi_bg.png)no-repeat center center/cover;
}
.img_gosyuin{
  margin: auto;
  width: 48%;
}

/* 坐禅会 */
h3{
  border-bottom: solid 1px #555;
  margin: 80px 0 40px;
  font-weight: 600;
}
.red{
  color: #b13914;
}
.houwa_wrap{
  padding: 10px 0 40px;
  dt{
    width: 20%;
  }
  dd{
    width: 80%;
  }
}
.syoujin_wrap{
  padding: 10px 0 40px;
  dt{
    width: 25%;
  }
  dd{
    width: 75%;
  }
}



/* 1440px以上 */
@media screen and (min-width: 1440px) {

header{
  width: 20%;
  max-width: 230px;
}
.pc_header{
  width: 20%;
  max-width: 230px;
}
.main_wrap{
  width: 100%;
}

}

/* 1280px以下 */
@media screen and (max-width: 1280px) {

  body{
    font-size: 1.8rem;
  }
  header{
    min-width: 190px;
  }
  .pc_header{
    min-width: 190px;
  }

}

/* 1080px以下 */
@media screen and (max-width: 1100px) {

  .sec04_img .pc_none{
    display: block;
  }

}

/* モバイル */
@media screen and (max-width: 960px) {

.mo_none {
  display: none;
}
.mo_flex{
  display: flex;
}
.pc_flex{
  display: block;
}
body {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--sub2-color);
}
.sec_content{
  width: 95%;
  margin: 0 0 0 auto;
}
header {
  width: 0;
  min-width: 0;
}
.main_wrap{
  width: 100%;
}
section{
  padding-bottom: 50px;
}
.link_wrap{
  margin-top: 80px;
}

/* h1 */
.mo_h1{
  padding-left: 5px;
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
  img{
    height: 40px;
    object-fit: contain;
  }
}
/* お知らせ */
.news_wrap dl{
  margin: 5px auto 0;
  font-size: 1.5rem;
  dt{
    width: 23%;
  }
  dd{
    width: 77%;
  }
}
/* Instagram */
.mo{
  display: block;
}
/* 行事 */
#event{
  padding-bottom: 30px;
}
.sec04_text{
  flex-basis: 100%;
}
.sec04_img{
  margin-top: 70px;
}
/* アクセス */
.access_dl{
  margin: auto;
  width: 90%;
}
#access dl{
  display: block;
  dt{
    margin-top: 8px;
    width: 100%;
  }
  dd{
    margin-left: 1rem;
    width: 100%;
  }
}
.map{
  margin-top: 70px;
  iframe{
    width: 100%;
    height: 150px;
  }
}
/* お問合せ */
.contact_btn{
  width: 60%;
}

/* 他ページ共有 */
.img_wrap .img_magin_r{
  margin-right: 0;
  margin-bottom: 10px;
}

/* 御朱印ページ */
.img_gosyuin{
  margin: 0 0 0 auto;
  width: 95%;
}

/* 禅体験ページ */
.houwa_wrap{
  padding: 20px 0 40px;
  dt{
    width: 30%;
  }
  dd{
    width: 70%;
  }
}
.syoujin_wrap{
  padding: 20px 0 40px;
  dt{
    width: 40%;
  }
  dd{
    width: 60%;
  }
}


/* ナビゲーションメニュー */
/* メニューを画面上部に固定表示しています */
.gMenu {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 65px;
  background: url(../images/m_nav_bg@2x.png) no-repeat left center/cover;
  z-index: 99;
}
/* メニューアイコンを画面右上に固定しています */
.gMenu .menu-icon {
  cursor: pointer;
  position: absolute;
  right: 18px;
  top: 28px;
  padding-top: 5px;
  height: 12px;
}
/* メニューアイコン（三本線）真ん中 */
.gMenu .menu-icon .navicon {
  background: var(--sub2-color);
  display: block;
  height: 1px;
  width: 28px;
  position: relative;
  transition: background .3s ease-out;
}
/* メニューアイコン（三本線）上下線 */
.gMenu .menu-icon .navicon::before,
.gMenu .menu-icon .navicon::after {
  background: var(--sub2-color);
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .3s ease-out;
  width: 100%;
}
.gMenu .menu-icon .navicon::before {top: 10px;}
.gMenu .menu-icon .navicon::after {top: -10px;}
/* 表示されるメニュー */
.gMenu .menu {
  background-color: rgba(255,255,255,0.9);
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s;
  text-align: center;
}
/* メニューのデザイン */
.gMenu .menu li:first-of-type {
  padding-top: 80px;
}
.gMenu .menu li a {
  display: block;
  padding: 24px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.gMenu .menu li a:hover {
  background-color: #f4f4f4;
}
/* チェックボックスOFF */
.gMenu .menu-btn {
  display: none;
}
/* チェックボックスON */
.gMenu .menu-btn:checked ~ .menu {
  height: 100vh;
  max-height: 100vh;
  transition: max-height .3s;
}
/* メニューボタン */
.gMenu .menu-btn:checked ~ .menu-icon .navicon {background: transparent;}
.gMenu .menu-btn:checked ~ .menu-icon .navicon::before {transform: rotate(-45deg);top: 0;}
.gMenu .menu-btn:checked ~ .menu-icon .navicon::after {transform: rotate(45deg);top: 0;}
}