@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=La+Belle+Aurore&family=Noto+Sans+KR&family=Noto+Serif+SC&display=swap');


/* base ------------------------*/
body {
  font-size:16px; color:#1a1a1a; line-height:calc(1em + 0.8rem);
  font-family: "Shippori Mincho", serif; font-weight: 500; font-style: normal;
}
body a { text-decoration: none;}
#en, .en { font-family: "Crimson Text", serif; font-weight: 400; }
#ch, .ch { font-family: "Noto Serif SC"; }
/* #kr, .kr { font-family: "Noto Sans KR"; } */

#wrapper { position:relative; }
.inner { max-width: 1130px; margin: 0 auto; padding-inline: 15px; }
.inner_narrow { max-width: 710px; margin: 0 auto; }

.secBox { padding-block: clamp(40px, 11vw, 60px); }

h1,h2,h3,h4,h5 { font-weight: 500; }

.mtb0 { margin-block: 0; }
.mt0 { margin-top: 0; }
.mt1 { margin-top: 1em; }
.mt2 { margin-top: 2em; }
.mb0 { margin-bottom: 0; }
.mb1 { margin-bottom: 1em; }
.mb2 { margin-bottom: 2em; }

.bg-blue { color: #FFF; background-color: #132242; }
.bg-blue2 { background-color: #c3e7eb; }


/* header ------------------------*/
header { z-index: 1; position: absolute; top: 0; right: 0; width: 100%; padding: min(4.5vw, 30px) min(4.5vw, 60px); }
.lang_box { display: inline-block; padding: .3em 1em; border-radius: 50px; background-color: #c74d8b; }
.lang_li > li > a { display: block; padding-inline: 1em; color: #fff; font-size: min(3vw, 16px); }
.lang_li > li:not(:last-child) > a { position: relative; }
.lang_li > li:not(:last-child) > a::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 1px; height: 70%; margin: auto; background-color: rgba(255, 255, 255, .5);
}

/* common------------------------*/
/* tel */

/* title */
.secTtl { margin-bottom: 3em; text-align: center; letter-spacing: 1px; }
.secTtl .in { position: relative; display: inline-block; line-height: 1.5; font-size: clamp(26px, 3vw, 38px); }
.secTtl .in::before {
  content: ""; position: absolute; top: -1.6em; right: -3em; width: 2.45em; height: 4.1em; background: url(./img/windchime02.png) center / 100% no-repeat;
}
.secTtl.deco2 .in::before {
  right: auto; left: -3em; background-image: url(./img/windchime03.png);
}
.secTtl .en { display: block; font-size: 0.526em; }

.subTtl { font-size: clamp(24px, 3vw, 30px); text-align: center; }

/* button */
.btn {
  display: block; width: 245px; margin: 0 auto; padding-block: 7px; color: #fff; text-align: center; background: linear-gradient(-135deg, #2492c5, #2252a1); border-radius: 25px; position: relative; font-size: 1.1em;
}
.btn::after{
  content: ''; width: 8px; height: 8px; margin-top: -4px; border-top: solid 1px #fff; border-right: solid 1px #fff; transform: rotate(45deg); position: absolute; top: 50%; right: 17px;
}
.btn:hover { color: #2492c5; }


/* tbl */
.dlLi .wrap { column-gap: 33px; margin-top: 15px; padding-bottom: 15px; border-bottom: 1px solid #1a1a1a; }
.dlLi .wrap:first-child { align-items: flex-start; }
.dlLi dt { width: 125px; height: 35px; line-height: 36px; text-align: center; color: #fff; background-color: #294899; }


@media screen and (max-width: 599px){
  .dlLi dt { height: 32px; line-height: 33px; margin-bottom: .3em; }
  .dlLi dd { width: 100%; }
}


/* main ------------------------*/

/* MV */
.mv { position: relative; height: min(90vh, 900px); background: url(img/mv_bg.jpg) no-repeat center / cover; }
.mv_ttl { position: absolute; top: 7em; left: 7vw; filter: drop-shadow(0 0 0.1em rgba(19, 34, 66, 1)) drop-shadow(0 0 0.3em rgba(19, 34, 66, 1)); }
.mv_ttl img { width: min(50vw, 450px); max-height: 70vh; }
.mv_en { position: absolute; top: 4em; right: 7vw; margin-block: 0; }
.mv_en img { width: min(42vw, 510px); }

@media screen and (max-width: 599px){
  .mv { height: min(70vh, 900px); background-position-x: 40%; }
  .mv_ttl { top: auto; bottom: 1em; }
  .mv_ttl img { width: 65vw; }
  .mv_en { top: 1.5em; right: 5vw; }
}


/* gnav */
#gnav {
  padding: clamp(40px, 11vw, 60px) 15px; color: #FFF; background: #142341 url(img/about_bg.jpg) center bottom / cover no-repeat;
}
.navTtl { font-size: 1.875em; font-weight: normal;}
.nabTtl_btm {
  display: block; max-width: 303px; margin: 25px auto 0; padding-block: 5px; color: #fff; font-size: 0.833em; background-color: #294899; border-radius: 20px;
}
.navTtl .in { position: relative; display: inline-block; }
.navTtl .in::before {
  content: ""; position: absolute; top: 50%; left: -2.5em; margin-top: -95px; width: 50px; height: 170px; background: url(img/windchime01.png) center / 100% no-repeat;
}
.navTtl .text_large { margin-left: .2em; font-size: 1.2em; }

#gnav .lead { margin-block: 40px 20px; font-size: 1.75em; }
#gnav .txt { max-width: 560px; margin:0 auto 3em; text-align: left; }

.navArea { justify-content: center; gap: 20px;}
.navArea li a {
  display: block; height: 100%; padding-inline: 40px 60px; border: 1px solid #FFF; color: #FFF; background-color: rgba(0, 0, 0, .6);
}
.navArea li { position: relative; height: 40px; line-height: 39px; }
.navArea li .ch, .navArea li .kr { font-size: 0.889em; }
.navArea li::after {
  content: ''; width: 8px; height: 8px; margin-top: -5px; border-top: solid 1px #fff; border-right: solid 1px #fff; transform: rotate(135deg); position: absolute; top: 50%; right: 13px;
}
.navArea.lang { margin-top: 20px; }
.navArea.lang li { height: 35px; line-height: 35px; }
.navArea.lang li a { display: block; height: 100%;  padding-inline: 50px 60px; color: #fff; border: none; background-color: #c74d8b; }

@media screen and (max-width: 599px){
  .navTtl { font-size: 1.6em; }
  .navTtl .in::before { left: -2em; width: 30px; }
  .nabTtl_btm { margin: 20px auto 0; }
  #gnav .lead { font-size: 1.6em; }
  .navArea { gap: 12px 4%; }
  .navArea li { width: 48%; }
}

/* 参拝情報 */
.goshuinBox { margin-top: 2em; padding: 1.5em; background-color: #f5f5f5; }
.goshuinBox .txt { width: 100%; flex: 1; margin: 0; padding-right: 2em; }
.goshuinBox .txt .tag {
  display: inline-block; width: 125px; height: 35px; margin-bottom: .5em; line-height: 36px; text-align: center; color: #fff; background-color: #294899;
}

.precautionsBox { margin-top: 2em; padding: 1.5em; border: 1px solid #696969; }
.precautionsBox .ttl { margin-bottom: .5em; font-size: clamp(18px, 3vw, 22px); }

.tourBox { position: relative; margin-top: 4em; }
.tourBox .txtBox { width: 70%; margin-left: 30%; padding: 3em 3em 3em 11em; background-color: #c3e7eb; }
.tourBox .ttl { margin-bottom: 1em; font-size: clamp(20px, 3vw, 26px); }
.tourBox .img { position: absolute; top: 3em; left: 0; width: calc(30% + 7em); }
.bg-blue .tourBox { color: #1a1a1a; }

.txt_summary { padding-left: 1.5em; border-left: 3px solid #696969; }

@media screen and (max-width: 599px){
  .goshuinBox .txt { padding-right: 1em; }
  .goshuinBox .img { width: 30%; }

  .tourBox .txtBox { width: 100%; margin-left: 0; padding: 1.5em; }
  .tourBox .img { position: static; width: 100%; }
}


/* 見どころ */
.highlightBox > div { align-items: center; }
.highlightBox > div.flex-end { align-items: flex-end; }
.highlightBox figure { width: 50%; }
.highlightBox .txtBox { flex: 1; padding-left: 5%; }
.highlightBox > div:nth-child(even) .txtBox { order: -1; padding-left: 0; padding-right: 5%; }
.leadTxt { margin-block: 15px 25px; font-size: 1.375em; }
.highlightBox .txtBox p { font-weight: 400; }
.highlightBox figure { position: relative; }
.highlightBox figcaption { position: absolute; bottom: -2.5em; right: 1.5em; font-size: .88em; }
.highlightBox .img_in { width: 100%; text-align: center; }
.highlightBox .img_in img { margin-top: auto; }

.galleryBox {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 18em repeat(4, 1fr);
  grid-template-rows: repeat(7, 6em);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  margin-top: 10em;
}
.galleryBox .txtBox { grid-area: 1 / 5 / 4 / 6; display: flex; flex-wrap: wrap; align-content: flex-end; justify-content: center; }
.galleryBox .photo1 { grid-area: 1 / 7 / 4 / 9; }
.galleryBox .photo3 { grid-area: 5 / 5 / 8 / 8; }
.galleryBox .photo2 { grid-area: 2 / 1 / 7 / 4; }
.galleryBox .photo1 img, .galleryBox .photo2 img, .galleryBox .photo3 img {
  width: 100%; height: 100%; object-fit: cover;
}
.galleryBox .secTtl { margin-bottom: 1em; }
.galleryBox .secTtl .in::before {
  top: -4.5em; right: 50%; margin-right: -1.1em;
}

#highlight .tourBox { margin-block: 6em 2em; }

@media screen and (max-width: 599px){
  .highlightBox > div + div { margin-top: 4em; }
  .highlightBox .txtBox { flex: auto; width: 100%; padding-left: 0; }
  .highlightBox figure { width: 100%; order: 1; }
  .highlightBox > div + div.flex-end { margin-top: 1em; }
  .highlightBox > div.flex-end .txtBox { order: 1; margin-top: 1em; }
  .highlightBox .img_in { width: 60%; margin-inline: auto; }

  .galleryBox {
    grid-template-columns: repeat(4, 1fr) 10em repeat(4, 1fr);
    grid-template-rows: repeat(7, 3em); margin-top: 15em;
  }
  .galleryBox .secTtl { margin-bottom: .5em; }
  .galleryBox .btn { width: 160px; font-size: 1em; }
}

/* バナーエリア */
.bnr-area{ width:fit-content; margin-top:clamp(3em,7.8vw,70px); margin-inline:auto; }

/* アクセス */
.gmap_wrap iframe { width: 100%; }

/* footer ------------------------*/
.copyright { margin:0; padding:1em 0; font-size:.75em; text-align:center; color: #fff; background-color: #294899; }




/* ギャラリーページ ------------------------*/

.pageHead { padding-block: min(10vw,80px) min(6vw,50px); background-color: #c3e7eb; position: relative; }
.pageHead .mv_lang { display: flex; flex-wrap: wrap; column-gap: 0; top: 10px; left: 10px; }
.pageHead .txt { margin: 0; }
.pageHead .mv_lang li:not(:first-child) { margin-top: 0; }
.pageHead .secTtl { margin-bottom: .5em; }

.pan { margin-top: .5em; }
.pan li { padding: 0 1em; font-size: .875em; position: relative; }
.pan li a:hover { color: #294899; }
.pan li:not(:first-child)::before { content: ">"; position: absolute; top: 0; left: 0; }


.gallery { padding-block: min(3%,30px) min(12%,120px); }
.gallery-list > li { width: 18%; }
.gallery-list > li figure { padding-top: 100%;
    overflow: hidden;
    position: relative; }
.gallery-list > li img { object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

/* ================================================================
  レスポンシブ
=================================================================== */
/* 600以上(PC・タブレット) */
@media screen and (min-width: 600px) {
  /* ギャラリー */
  .gallery-list > li:not(:nth-child(5n+1)) { margin-left: 2.5%; }
  .gallery-list > li:nth-child(n+6) { margin-top: 2.5%; }

}

/* ================================================================
  タブレット
=================================================================== */
@media screen and (max-width: 959px) {
  body { font-size:15px; }

  /* header ------------------------ */


  /* main */


  /* footer ------------------------ */

}


/* ================================================================
  スマホ
=================================================================== */
@media screen and (max-width: 599px){
  body { font-size:14px; }


  /* header------------------------*/



  /* ギャラリーページ ------------------------*/
  .pageHead .mv_lang { position: static; width: 100%; gap: 2%; }
  .pageHead .mv_lang li { min-width: 70px; }
  .pageHead .secTtl { padding-top: 1em; }

  .gallery-list > li { width: 48%; }
  .gallery-list > li:not(:nth-child(2n+1)) { margin-left: 4%; }
  .gallery-list > li:nth-child(n+3) { margin-top: 4%; }

  /* footer------------------------*/




}
