@charset "utf-8";
/* CSS Document */
/*==============================================================================*/
/* mainimg
============================================================================== */
/**/
#mainContent{  padding:30px 70px; }

.aboutTxt{ font-family:'Noto Serif JP', serif; color:#00506e; font-weight: 500;}
.aboutTxt span{letter-spacing: -11px;}

.aboutTxt ruby{ letter-spacing: 0; }
.aboutTxt ruby rt{ margin-bottom: -3px; }

#txtBox dd p rt{ font-size: 0.6em; margin-bottom: -4px;}


#souvenirWrap figcaption{ color:#fff; background:#00506e; display:flex; justify-content:center; align-items:center; }

#souvenirWrap figcaption span{ font-size: 0.7em; margin-left: 5px; }

#souvenirWrap p{ line-height: 1.7em; }

.templeImg img, .templeImg2 img{ width: 100%; }
.templeImg figure,.templeImg2 figure{ position: relative; }

.templeImg figcaption,.templeImg2 figcaption{ background: url("../img/titlebar.png") 0 0 repeat-y; color:#fff;
  position: absolute; content:""; 
  width: 80%;
}


/*modal*/
#modalList { display: flex; justify-content:flex-start; align-items: center; flex-wrap: wrap;}
#modalList li{ width: 31.3%;  margin:0 3% 3% 0}

#modalList li a{ color: #fff; border-radius: 8px; background:#e60064; display: flex; justify-content: center; align-items: center;
}
 
#modalList li a:hover{ background: #d50050; }

#modalList li:nth-child(3n) { margin-right: 0;}



@media screen and (min-width: 1051px){
  .aboutTxt{ font-size:1.433em; line-height: 1.65em;  margin-bottom: 35px; }
	#aboutBox, #souvenirWrap{ display: flex; }
  #aboutBox{ margin-bottom:80px; }
  #txtBox{ width: 78%; }
  #txtBox dd p{ line-height: 2em; }

  #souvenirWrap{ width: 50%; height: 100%; }
  #souvenirWrap figure{ width: 48%; }
  #souvenirWrap figure:first-child{ margin: 0 6%; }

  #souvenirWrap figcaption{ padding: 6px 0; font-size: 1.15em ; margin-bottom: 15px;}
  #souvenirWrap img{ width: 100%; height: 45%;}

  #modalWrap { margin: 0 50px; }
  #modalWrap p{ font-size: 1.2em; margin-bottom: 30px;}
  #modalList li a{ padding:14px 0;}
  .templeImg figcaption,
  .templeImg2 figcaption{ padding: 10px 20px; font-size: 1.4666em; }
  .templeImg { margin-bottom:70px; }
  .templeImg2 { margin-bottom:40px; }
}

@media screen and (min-width: 641px){
#modalWrap br{ display: none;}
}

@media screen and (max-width: 1050px){
  .aboutTxt{ font-size:calc(1.2rem + (1vw - 0.3rem) * 0.5); line-height: 1.4em;  margin-bottom: 40px; }
	#aboutBox{ width: 92%; margin:0 auto 5%; }
  #txtBox dd p{ line-height: 1.6em; font-size: 0.95em;}


  #souvenirWrap{ margin-top:50px }
  #souvenirWrap picture{ width: 100%; }
  #souvenirWrap figure{  display: flex;  flex-wrap:wrap;  }
  #souvenirWrap figure:first-child{ margin-bottom: 40px; border-bottom:1px solid #ccc; }

  #souvenirWrap figcaption{ padding: 1% 0; font-size: 1.3em; margin-bottom: 4%;
    order: -1; width: 100%; }
  #souvenirWrap img{ order: 2; margin: 0 auto 30px;}
  #hanabira, #shiori{ display: block; }
  #hanabira{ width: 50%;}
  #shiori{ width: 30%;}

  #souvenirWrap p{ order: 3; margin-bottom: 35px; padding: 0 4%;}
  #modalWrap { margin: 0 5% 9%; }
  #modalWrap p{ font-size: 1em; margin-bottom: 4%;}

  .pc{display: none;}
  #modalList li a{ padding:5% 0 3.5%;}
  .templeImg { margin-bottom:8%; }
  .templeImg2{ margin-bottom:4%; }
  .templeImg figcaption,
  .templeImg2 figcaption{ padding: 1% 2% 0.5%; font-size: 1.2em;  background-size: 100%; padding: 1% 4% ; }
}



@media screen and (max-width: 767px){
  .templeImg2 area{display: none;}
}

/*modal*/
@media screen and (min-width: 541px){
.lb-data .lb-close{ margin-left:2% }
}

.lightboxOverlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  background-color: #b70101;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  opacity: 0.8;
  display: none;
}

.lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 10000;
  text-align: center;
  line-height: 0;
  font-weight: normal;
}

.lightbox .lb-image {
  display: block;
  height: auto;
  max-width: inherit;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
  /*border: 10px solid #fff;*/
}

.lightbox a img {
  border: none;
}

.lb-outerContainer {
  position: relative;
  /**/background-color: white;
  *zoom: 1;
  width: 250px;
  height: 250px;
  margin: 0 auto /*30px*/;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}

.lb-outerContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-container {
  padding: /*0 0 4px 0*/4px;
 /* width: 105%;
border-radius: 3px;*/
}

.lb-loader {
  position: absolute;
  top: 43%;
  left: 0;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}

.lb-cancel {
  display: block;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  background: url(../img/loading.gif) no-repeat;
}

.lb-nav {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
  border-radius: 4px;
}

.lb-container > .nav {
  left: 0;
}

.lb-nav a {
  outline: none;
  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
}

.lb-prev, .lb-next {
  height: 100%;
  cursor: pointer;
  display: block;
}


.lb-nav a.lb-prev {
  left: 0;
  float: left;
  background: url(../img/prev.png) left 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  /*margin-left: 10px;*/
}


.lb-nav a.lb-next {
  right: 0;
  float: right;
  background: url(../img/next.png) right 48% no-repeat;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  /*margin-right: 20px;*/
}

.lb-nav a.lb-next:hover,
.lb-nav a.lb-prev:hover  {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}

.lb-nav a.lb-prev ,
.lb-nav a.lb-next{
  width: 30%;
    display: block;
    background-size: 20%;
  -webkit-transition: opacity 0.6s;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  transition: opacity 0.6s;
}


.lb-dataContainer {
  margin: 0 auto;
  padding-top: 5px;
  *zoom: 1;
  width: 100%;
  -moz-border-radius-bottomleft: 4px;
  -webkit-border-bottom-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-radius-bottomright: 4px;
  -webkit-border-bottom-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.lb-dataContainer:after {
  content: "";
  display: table;
  clear: both;
}

.lb-data {
  padding: 0 4px;
  color: #ccc;
}

.lb-data .lb-details {
  width: 85%;
  float: left;
  text-align: left;
  line-height: 1.1em;
}

.lb-data .lb-caption {
  font-size: 15px;
  color: #fff;
  line-height: 1em;
  margin-left: 10px;
}

.lb-data .lb-number {
  display: none!important;
}

.lb-data .lb-close {
  
  float: right;
  width: 30px;
  height: 30px;
  background: url(../img/close.png) top right no-repeat;
  text-align: right;
  outline: none;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  /*opacity: 0.7;*/
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  transition: opacity 0.2s;
  background-size: 80%;
  position: absolute;
top: -30px;
/*margin-left:25px*/
}

.lb-data .lb-close:hover {
  cursor: pointer;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  opacity: 1;
}
