@charset "UTF-8";
:root {
  --ystd-container-width: 1260px;
  --overlay-text-color: #fff;
}

.d-n {
  display: none !important;
}

@media screen and (max-width: 768px) {
  /***************共通設定***************/
  /*ハンバーガーメニュー*/
  #content .mds01 {
    font-size: 20px;
  }
  #content .page-title01-wrap {
    height: 380px;
  }
  #content .page-title01-wrap .page-title01 {
    font-size: 22px;
  }
  .drawmenu-sns-wrap {
    gap: 1px;
    margin-top: 0;
    background-color: black;
  }
  .drawmenu-sns-wrap .drawmenu-sns {
    border-bottom: solid 1px #ccc;
    background-color: rgb(253, 253, 253);
  }
  .drawmenu-sns-wrap .drawmenu-sns a {
    padding: 8px 0;
    color: #333;
    transition: 0.3s;
  }
  .drawmenu-sns-wrap .drawmenu-sns a::hover {
    background-color: black;
    color: #ccc;
  }
  /***************トップページ***************/
  .rootinfo-wrap {
    gap: 0;
  }
  .rootinfo-wrap .rootinfo {
    padding: 0.8em 1em;
  }
  .top-news-wrap .top-news-inner:before {
    display: none;
  }
  .top-section-history .top-history-inner {
    justify-content: center !important;
  }
  .top-section-access .top-access-inner {
    display: flex;
    flex-direction: column;
  }
  .top-section-access .top-access-inner div.top-access-mds {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 8em;
  }
  .top-section-access .top-access-inner div.top-access-mds h2.mds03 {
    top: 0em;
    font-size: 20px;
  }
  .top-section-access .top-access-inner div.top-access-mds h2.mds03:after {
    display: none;
  }
  .top-section-access .top-access-inner div.top-access-text {
    width: 100%;
    padding-top: 60px;
  }
  .top-section-access .top-access-inner div.top-access-text dl {
    margin-right: 0em;
    margin-top: 0;
  }
  .top-section-access .top-access-inner div.top-access-text dl dt {
    font-size: 16px;
    padding-bottom: 1em;
    margin-top: 0;
  }
  .top-section-access .top-access-inner div.top-access-text dl dd {
    font-size: 16px;
    padding-bottom: 1em;
  }
  .top-section-access .top-access-inner .top-access-gmap {
    width: 100%;
    max-width: 768px;
  }
  .top-section-sankeiko {
    padding-top: 60px;
  }
  .top-section-sankeiko .top-sankeiko-inner {
    padding-bottom: 40vh;
    width: 100%;
  }
  .top-section-sankeiko .top-sankeiko-inner .top-sankeiko-mds {
    z-index: 999;
    margin-top: 0em;
    margin-right: auto;
  }
  .top-section-sankeiko .top-sankeiko-inner .top-sankeiko-mds h2.mds03 {
    font-size: 20px;
    padding-bottom: 40px;
  }
  .top-section-sankeiko .top-sankeiko-inner .top-sankeiko-text {
    z-index: 999;
    margin: auto;
  }
  .top-section-sankeiko .top-sankeiko-inner .top-sankeiko-text .top-sankeiko-btn {
    justify-content: flex-start;
  }
  .top-section-sankeiko .top-sankeiko-inner figure {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
  /***************由緒書き***************/
  .history-section-wrap .history-text-wrap h2 {
    font-size: 18px;
    line-height: 150%;
    padding-bottom: 20px;
  }
  .history-section01 {
    background-size: contain !important;
    background-position: bottom !important;
    padding-bottom: 50vh !important;
    margin-top: 0 !important;
  }
  .history-section01 .history-text-wrap {
    padding: 40px 20px 40px 20px;
  }
  .history-section01 .history-text-wrap .history-text-inner {
    padding-left: 0px;
    border-left: none;
  }
  .history-section02 {
    background-size: contain !important;
    background-position: bottom !important;
    padding-bottom: 40vh !important;
    margin-top: 0 !important;
  }
  .history-section02 .history-text-wrap {
    padding: 40px 20px 40px 20px;
  }
  .history-section02 .history-text-wrap .history-text-inner {
    padding-left: 0px;
    border-left: none;
  }
  .history-bunkazai-wrap h2.mds02 {
    font-size: 20px;
  }
  /***************行事案内***************/
  .event-section-schedule {
    background-image: none !important;
  }
  .event-section-schedule .event-list-wrap {
    margin: 0 auto;
    padding-left: 0px;
  }
  .event-section-schedule .event-list-wrap .event-list-data {
    padding-left: 10px;
    margin-bottom: 40px;
  }
  .event-section-schedule .event-list-wrap .event-list-data h2 {
    font-size: 16px;
  }
  .event-section-schedule figure.d-o-sp {
    display: block;
  }
  .event-news-list .event-news-mds-wrap .mds03 {
    position: static;
    font-size: 18px;
    padding-bottom: 50px;
  }
  .event-news-list .event-news-mds-wrap .mds03:after {
    display: none;
  }
  .event-news-list .event-news-list-inner li {
    flex-direction: column-reverse;
  }
  .event-news-list .event-news-list-inner li:first-child {
    padding-top: 0;
  }
  .event-news-list .event-news-list-inner li a {
    color: #333;
    font-size: 14px;
  }
  /***************アクセス***************/
  .access-section-root .mds03 {
    position: static;
    font-size: 18px;
    padding-bottom: 50px;
  }
  .access-section-root .mds03::after {
    display: none;
  }
  .access-section-okuruma .access-okuruma-inner {
    display: flex;
    flex-direction: column-reverse;
  }
  .access-section-tozan .access-tozando-inner .access-tozanroot {
    padding-left: 1em;
  }
  .access-section-annai p strong {
    font-size: 14px !important;
  }
  .access-section-sankeiko p span {
    display: block;
    font-size: 14px;
  }
  /***************極樂寺参詣講***************/
  .sankeiko-intro-wrap .mds04 {
    font-size: 20px;
    font-weight: bold;
  }
  .sankeiko-intro-wrap .mds04 span {
    font-size: 14px;
    font-weight: normal;
    display: block;
    margin-left: -0.5em;
    line-height: 180%;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image {
    height: 100vw;
    min-height: 580px;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image figure {
    position: absolute;
    border-radius: 4px;
    overflow: hidden;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image figure img {
    height: auto;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image .sankeiko-img01 {
    width: 66vw;
    left: auto;
    right: 0px;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image .sankeiko-img02 {
    width: 30vw;
    left: auto;
    right: 20vw;
    top: auto;
    bottom: 0px;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image .sankeiko-img03 {
    width: 42vw;
    left: 63px;
    top: 217px;
  }
  .sankeiko-intro-wrap .sankeiko-intro-image .sankeiko-img04 {
    width: 37vw;
    top: 60px;
    left: 0px;
  }
  /***************一願堂***************/
  .ichigando01-wrap h2.ichigando-mds {
    font-size: 22px;
    text-align: center;
    line-height: 200%;
  }
  .ichigando01-wrap h2.ichigando-mds span {
    font-size: 18px;
    display: block;
  }
  .ichigando01-wrap .ichigando01-inner figure img {
    max-width: 768px;
    width: 100%;
  }
}/*# sourceMappingURL=tab.css.map */