#header .logo img {
  width: 150px;
}
.shinpukuji #header .logo img {
  width: 115px;
}

#header.chisan.js-is-sticky #globalNav {
  padding-top: 15px;
  width: 100%;
}

#header.chisan.js-is-sticky #subNav {
  position: absolute;
  top: -15px;
  right: 0;
}

#globalNav nav > ul > li{
  width:155px;
}
#globalNav nav > ul > li:nth-child(2){
  width: 175px;
}
#globalNav nav > ul > li:nth-child(3),
#globalNav nav > ul > li:nth-child(8),
#globalNav nav > ul > li:nth-child(9){
  width: 110px;
}
#globalNav nav > ul > li:nth-child(7){
  width: 190px;
}
#globalNav nav > ul > li:nth-child(5){
  width: 200px;
}
#globalNav nav > ul > li:nth-child(7)  dl.sub dd ul li {
  margin-left: 2.7em;
}
#globalNav dl.sub dd {
  margin: -10px 0 0;
}
#globalNav dl.sub dd ul li {
  margin-left: .3em;
}

body.lodging #globalNav nav > ul > li,
body.en_lodging #globalNav nav > ul > li,
body.en #globalNav nav > ul > li {
  width: 180px !important;

}
@media (max-width: 768px) {
  #globalNav nav > ul > li {
    width: 25% !important;
  
  }

  body.lodging #globalNav nav > ul > li,
  body.en_lodging #globalNav nav > ul > li,
  body.en #globalNav nav > ul > li {
    width: 33.33333% !important;
  
  }
  body.shinpukuji #content .main .btnBasic.worship_btn{
    min-width: auto !important;
  }
}
  

body.en #content .main .spot>p {
  word-break: keep-all;
}
.js-is-sticky #globalNav nav > ul > li {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0 0 16px;
  width:180px;
}
.js-is-sticky #globalNav nav > ul > li:nth-child(3),
.js-is-sticky #globalNav nav > ul > li:nth-child(6),
.js-is-sticky #globalNav nav > ul > li:nth-child(7){
  width:160px;
}
.js-is-sticky #globalNav nav > ul > li:nth-child(7) dl.sub dd ul li {
  margin-left:1.7em;
}

#header.js-is-sticky #globalNav dl.sub {
  top: 30px;

}
body.shinpukuji .hlogoTxt{
  font-size:1.2em;
}
body.shinpukuji .hlogoTxt img{
  margin-right:5px;
}
body.shinpukuji #globalNav nav > ul > li{
  width:180px !important;
}
@media (max-width: 768px) {
  #globalNav nav > ul > li:nth-child(3n+2) {
    border-left:1px solid #707070;
  }
  #globalNav nav > ul > li{
    border:none;
    border-top:1px solid #707070;
    border-left:1px solid #707070;
    width: 25%;
  }
  .js-is-sticky #globalNav nav > ul > li{
    font-size: 1.2rem;
    padding-bottom: 0;
    width: 25%;
  }
  .js-is-sticky #globalNav nav > ul > li:nth-child(3),
  .js-is-sticky #globalNav nav > ul > li:nth-child(6),
  .js-is-sticky #globalNav nav > ul > li:nth-child(7){
      width: 25%;
  }
  #globalNav nav > ul > li:last-child {
    width: 50%;
  }

  body.shinpukuji #globalNav nav > ul > li{
    border:none;
    border-top:1px solid #707070;
    border-left:1px solid #707070;
    width: 33.33333% !important;
  }

  body.shinpukuji .js-is-sticky #globalNav nav > ul > li{
    font-size: 1.2rem;
    padding-bottom: 0;
    width: 33.33333% !important;
  }
  body.shinpukuji .js-is-sticky #globalNav nav > ul > li:nth-child(3),
  body.shinpukuji .js-is-sticky #globalNav nav > ul > li:nth-child(6),
  body.shinpukuji .js-is-sticky #globalNav nav > ul > li:nth-child(7){
      width: 33.33333%;
  }

}

#footer .footerNav .gothic li.barrier a{
  /* border: 1px solid #541184;
  color: #541184;
  display: table;
  text-align: center;
  text-decoration: none;
  margin-left: 20px; */

}
#footer .footerNav .gothic li.barrier a img{
  width: 13px;
}
#footer .footerNav .gothic li.barrier a span{
  /* display: table-cell;
  vertical-align: middle; */
}

#footer .footerNav .gothic li.barrier a span::after {
  /* background: url(../img/icon_reserve.png) no-repeat 50%;
    background-size: auto;
  background-size: 100%;
  content: "";
  display: inline-block;
  height: 15px;
  margin-left: 10px;
  vertical-align: -.1em;
  width: 14px; */
}

#content .main .spot>.image--horizontal {
  background: none;
  display: flex;
  gap: 5px;
  width: 100%;
}

#content .main .spot>.image--horizontal img {
  min-width: 0;
  height: 230px;
}

.map-wrapper .map-selector li span {
  align-items: center;
  background: #531183;
  border-radius: 3%;
  color: #fff;
  display: flex;
  font-size: 0.9rem;
  justify-content: center;
  padding: 5px 9px;
  position: absolute;
}

.map-wrapper .map-selector li:first-child a{
  width: 16.5%;
  height: 26%;
  left: 49.5%;
  top: 11%;
  padding-bottom: 5%;
}

.map-wrapper .map-selector li:nth-child(4) a{
  left: 71.8%;
  top: 60.5%;
}

.map-wrapper .map-selector li:nth-child(23) a{
  width: 16.5%;
  height: 10%;
  left: 49.5%;
  top: 4.5%;
}

.map-wrapper .map-selector li:nth-child(24) a{
  right: .5%;
  top: 30.85%;
  width: 2.5%;
  height: 8.66%;
}

.map-wrapper .map-selector li a.square::after{
  width: auto;
  height: auto;
  border-radius: 3%;
  padding: 7px 10px;
}

.map-wrapper .map-selector li .setsubi01 {
  left: 0.1%;
  top: 76%;
}
.map-wrapper .map-selector li .setsubi02 {
  left: 66.94%;
  top: 0;
}

@media (max-width: 768px) {
  .map-wrapper .map-selector li span {
    font-size: 6px;
    padding: 3px 3px;
  }

  .map-wrapper .map-selector li a::after {
    flex: none;
  }

  .map-wrapper .map-selector li a.square::after{
    padding-left: 5px;
    padding-right: 5px;
  }

  .map-wrapper .map-selector li:nth-child(23) a::after {
    font-size: 0.7rem;
    padding: 3px 3px;
  }
}

.contactNav ul li.en_link {
  background-size: 27px;
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 10px;
  padding: 6px 0 8px 10px;
  border-left: #000 solid 1.5px;
}
@media (max-width: 768px) {
  footer #snsNav {
    display: flex !important;
    align-items: center;
  }
  #snsNav a.en_link{
    font-size: 1.3em;
    font-weight: 500;
    width: auto;
  }
  .contactNav {
    right: 3%;
    width: 32% !important;
  }
  .contactNavSp .en_link_Nav {
    display: block;
    text-align: right;
    font-size: 0.8em;
    margin-right: 10px;
    padding-bottom: 2px;
  }
}

#subNav ul.utility li {
  font-size: 1.1rem;
}
#globalNav nav > ul > li.home {
  width: 45px;
}

#subNav ul.sns li.youtube {
  margin: 0 0 0 6px;
  height: 22px;
  width: auto;
}

#subNav ul.sns li.youtube img {
  max-height: 100%;
}

#footer .footerNav dl dd ul.sns li.youtube a img {
  max-height: 35px;
  width: auto !important;
  height: 100% !important;
  max-width: 45px;
}

@media (max-width: 900px) {
  #footer .footerNav nav dl.for-mobile {
    flex: auto !important;
  }
}


/*　真福寺 */
body.shinpukuji {
  background: url(../img/common/bg_shinpukuji.png) repeat;

}
.mt25{
  margin-top: 25px;

}
body.shinpukuji #globalNav nav > ul > li:hover dl.sub {
  top: 20px;
}

body.shinpukuji #globalNav nav > ul > li span{
  font-size: 1.6rem;
}



/* #globalNav nav > ul > li:nth-child(2){
  width: 165px;
}
#globalNav nav > ul > li:nth-child(3),
#globalNav nav > ul > li:nth-child(8),
#globalNav nav > ul > li:nth-child(9){
  width: 110px;
}
#globalNav nav > ul > li:nth-child(7)  {
  width: 190px;
}
#globalNav nav > ul > li:nth-child(7)  dl.sub dd ul li {
  margin-left: 2.7em;
}
#globalNav dl.sub dd {
  margin: -10px 0 0;
}
#globalNav dl.sub dd ul li {
  margin-left: .3em;
} */


body.shinpukuji .instgramList iframe[src*="instagram"] {
    min-height: 390px;
}

/* @media screen and (max-width: 768px) {
    body.shinpukuji .instgramList iframe[src*="instagram"] {
        width: 612px; 
        height: 710px;
    }
} */

body.shinpukuji #globalNav dl.sub dd{
  margin-top:0px;
}

body.shinpukuji .accordion-003 {
    max-width: 500px;
    margin-bottom: 7px;
    border-bottom: 1px solid #333333;
}

body.shinpukuji .accordion-003 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: #707070;
    font-weight: 600;
    cursor: pointer;
}

body.shinpukuji .accordion-003 summary::-webkit-details-marker {
    display: none;
}

body.shinpukuji .accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .3s;
}

body.shinpukuji .accordion-003[open] summary::after {
    transform: rotate(225deg);
}

body.shinpukuji .accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

body.shinpukuji .accordion-003[open] p {
    transform: none;
    opacity: 1;
}

body.shinpukuji #content .main table.annual.schedule tr th {
  width: 200px;
  vertical-align: top;
  font-size: 1.4em;
  font-weight: 600;
  text-align: left;
  padding-left: 20px;
}
body.shinpukuji #content .main table.annual.schedule tr th span{
  font-size: 1.8em;
}

body.shinpukuji #content .main table.annual.schedule tr td ul li:last-child .accordion-003{
  border-bottom:none;
}

body.shinpukuji #content .main .accessInfo .address{
  width: 30%;
}
body.shinpukuji #content .main .accessInfo .address li,{
   list-style:none;
}
body.shinpukuji #content .main .accessInfo .address ul li::before{
  content: none;
}
body.shinpukuji #content .main .accessInfo .traffic{
  width: 70%;
}
body.shinpukuji #content .main .accessInfo .traffic li span{
  min-width: 415px;
  display: inline-block;
}

body.shinpukuji #content .main .staffList dl dt {
  width: 8em;
}

body.shinpukuji #content .main .staffList dl dd span {
  margin-right: 20px;
}
body.shinpukuji .contactNav.leftSide {
  right: auto;
  left: 0;
}
body.shinpukuji .contactNav.leftSide {
  right: auto;
  left: 0;
}
body.shinpukuji .contactNav {
  position: absolute;
  top: -20px;
  right: 0;

}
body.shinpukuji  .contactNav.leftSide .contactNavPc {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
body.shinpukuji .js-is-sticky .contactNav.leftSide .contactNavPc {
  display: none;
}

body.shinpukuji .contactNav .contactNavPc {
  min-height: 40px;
}
body.shinpukuji  .contactNav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
body.shinpukuji .contactNav ul li.home {
  position: relative;
}

body.shinpukuji .contactNav ul li {
  display: inline-block;
  vertical-align: middle;
}

body.shinpukuji .contactNav ul li.home a {
  display: block;
  font-size: 1.4rem;
  padding: 0 15px 0 12px;
}
body.shinpukuji  .contactNav ul li.home img {
  margin: 0 8px 0 0;
  vertical-align: -.1em;
  width: 20px;
}
body.shinpukuji .contactNav .contactNavSp {
  display: none;
}

body.shinpukuji #content .main .indexList.experience ul li:nth-child(n+4) {
  margin-top: 50px;
}
body.shinpukuji #content .main .indexList.experience ul li:nth-child(n+5) {
  margin-top: 75px;
}

@media (max-width: 768px) {
  
  body.shinpukuji #content .main .accessInfo .address,
  body.shinpukuji #content .main .accessInfo .traffic{
    width: 100%;
  }
body.shinpukuji #content .main .accessInfo .traffic li span{
  min-width: 100%;
  display: inline-block;
}
  body.shinpukuji #content .main .accessInfo .traffic p{
    margin-top: 10px;
  }
  body.shinpukuji .contactNav {
    top: 7%;
    right: 2%;
    width: 40%;
  }
  body.shinpukuji .contactNavPc,
  body.shinpukuji  .contactNav.leftSide .contactNavPc ,
  body.shinpukuji .contactNavPc ul li,
  body.shinpukuji .contactNavPc .contactNavPc ul li.home a{
    display: none !important;
  }
  body.shinpukuji .contactNav .contactNavSp {
    display: block;
  }
  body.shinpukuji .contactNav .contactNavSp ul li {
    width: 14.4%;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    margin: 0 5px;
  }
  body.shinpukuji .js-is-sticky .contactNav .contactNavSp {
    display: none;
  }
}

body.shinpukuji #content .accessMap {
  margin-top:20px;
}

body.shinpukuji #content .main .accessInfo ul {
  margin-top: 0;
}

body.shinpukuji #content .main .googleMap iframe{
  height: 100%;
}
body.shinpukuji #content .main .accessInfo .address .mapBox{
  margin-top:10px;
  width: 85%;
}

/*ベース*/
body.shinpukuji #content .css-backnumber  details {
  position: relative; /* 子要素の絶対配置の基準 */
}

body.shinpukuji #content .css-backnumber summary {
  cursor: pointer; /* クリック可能であることを示す */
  list-style: none; /* ブラウザデフォルトの矢印を非表示 */
  position: relative;
  font-size: 2rem;
  padding: 12px 0 12px 60px;
  color: #541184; /* 矢印の色 */
  font-weight: 500;
  display: flex;
    margin:15px 0;
}

body.shinpukuji #content .css-backnumber summary::after {
  content: "";
  border-bottom: 1px dashed #707070;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  margin-left: 20px;
  margin-bottom: 12px;

}

/* 左向き矢印の表示 */
body.shinpukuji #content .css-backnumber summary::before {
  content: "\▶"; /* 左向き矢印 (▼) */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px; /* 矢印のサイズ調整 */
  color: #541184; /* 矢印の色 */
}

/* 展開時の矢印の向きを変える */
body.shinpukuji #content .css-backnumber details[open] summary::before {
  content: "\▼"; /* 上向き矢印 (▲) */
}

body.shinpukuji #content .css-backnumber .backnumber-list{
  margin: 20px 0;
}
body.shinpukuji #content .css-backnumber .backnumber-list section{
  margin-top:0px;
}
body.shinpukuji #content .css-backnumber .backnumber-list .accordion-body {
  padding: 10px 0 10px 20px;
}

body.shinpukuji #content .css-backnumber .backnumber-list li .file-item .file-type{
  flex: none;
  width: 20px;
  margin-right: 8px;
}

body.shinpukuji #content .css-backnumber .backnumber-list .accordion-body ul {
  padding: 10px 10px 20px;
  line-height: 1.7em;
  margin: 0 !important;
}

body.shinpukuji #content .css-backnumber .backnumber-list .accordion-body ul li {
  border-bottom: 1px solid #cac4c4;
  padding:3px 0;
}

body.shinpukuji #content .main .publicationOrder p.big{
  font-size:  1.57em !important;
  line-height: 1.27;
}

@media (max-width: 768px) {
  #header.chisan.js-is-sticky #globalNav {
    padding-top: 0px;
  }
}