

/* **********************************
 *  treasure
 * ********************************* */
.pg_treasure .top_buddhist{
  margin: 0 0px 0;
}
.img2 a {
  font-size: 16px;
  line-height: 1.25;
}

.indent {
  padding-left: 1em;
  text-indent: -1em;
}
.treasure_items{
  display: flex;
  flex-wrap: wrap;
  margin: 0 -5px;
  justify-content: center;
}
.treasure_items .item{
  width: 100%;
}

.treasure_items .inner{
  padding: 0 5px;
}
.treasure_items .inner .btn{
  margin-top: 30px;
}
.treasure_items .inner a{
  /*display: block;*/
  position: relative;
  z-index: 1;
}
.treasure_items .inner a:hover{
  text-decoration: none;
}
.treasure_items .item2:hover:after{
  background: #000;
  z-index: 0;
  pointer-events: none;
}
.treasure_items .item2:hover a{
  color: #fff;
}
/* .treasure_items .item .img{} */
.treasure_items .item .img.img_fit:before{
  padding-top: 78.94%;
}

.treasure_items .item .txt{
  font-size: 16px;
  letter-spacing: 0.1em;
  line-height: 2;
  text-align: justify;
  margin-top: 5px;
}
.cap{
  text-align: right;
  font-size: 14px;
  font-family: Noto Serif JP;
  letter-spacing: 0.1em;
  line-height: 2;
}
.cap2{
  text-align: center;
  font-size: 14px;
  font-family: Noto Serif JP;
  letter-spacing: 0.1em;
  line-height: 1;
}
.cap2{
  margin-top: 25px;
}
.cap3{
  margin-top:20px;
}
.cap2_top_space{
  margin-top: 0px
}
.treasure_title{
  text-align: center;
  font-size: 24px;
  font-family: Noto Serif JP;
  letter-spacing: 0.1em;
  border-bottom: solid 1px;
  padding-bottom: 10px;
  line-height: 1.2;
  padding-bottom: 15px;
}
span.treasure_title_small {
  font-size: 18px;
}
.treasure_bottom{
  padding-bottom: 50px
}
.pg_treasure .tt2 {
  margin-top: -80px;
  margin-bottom: 36px;
}
.pg_xxxx .section#sec1{

}
.pg_xxxx .section#sec2{

}
.pg_xxxx .section#sec3{

}
.pg_xxxx .section#sec4{

}
.pg_xxxx .section#sec5{

}
.pg_xxxx .section#sec6{

}
.pg_xxxx .section#sec7{

}

/* sec2 */
.pg_treasure .section#sec2 {
  margin-top: -90px;
}
.pg_treasure .section#sec2:before {
  content: "";
  background: url(/img/treasure/back1_top.png) no-repeat center center;
  position: relative;
  display: inline-block;
  height: 420px;
  width: 100%;
  top: 150px;
  z-index: -1;
}
/* sec3 */
.pg_treasure .section#sec3 {
  margin-top: 60px;
  padding-bottom: 85px;
}
.pg_treasure .section#sec3 {
  padding-top: 190px;
  margin-top: 50px;
  background: url(/img/hall/back1_middle.png?1);
}
.treasure_items.top {
  margin-top: -15px;
}
/* sec4 */
.pg_treasure .section#sec4 {
  margin-bottom: -10px;
}
.pg_treasure .section#sec4 .container{
  margin-top: 160px;
  margin-bottom: 70px;
}

.pg_treasure .section#sec4:before {
  content: "";
  background: url(/img/treasure/back1_bottom.png) no-repeat center center;
  position: relative;
  display: inline-block;
  height: 329px;
  width: 100%;
  z-index: -1;
  margin-bottom: -20px;
}
.pg_treasure .section#sec4:after {
  content: "";
  background: url(/img/treasure/back2_top.png) no-repeat center center;
  position: relative;
  display: inline-block;
  height: 240px;
  width: 100%;
  z-index: -1;
  padding-bottom: 65px;
  margin-bottom: 10px;
  margin-top: -35px;
}
/* sec5 */
.pg_treasure .section#sec5 {
  margin-top: -50px;
}
.pg_treasure .section#sec5 {
  background: url(/img/hall/back1_middle.png?1);
}
/* se6 */
.pg_treasure .section#sec6 .container{
  margin-top: 70px;
}
.pg_treasure .section#sec6 div#magazine {
  margin-bottom: 45px;
}
.pg_treasure .section#sec6:before {
  content: "";
  background: url(/img/treasure/back2_bottom.png) no-repeat center center;
  position: relative;
  display: inline-block;
  height: 329px;
  width: 100%;
  z-index: -1;
  margin-top: -15px;
  margin-bottom: 80px;
}
.pg_treasure .section#sec6 .treasure_items {
  padding-bottom: 30px;
}
.pg_treasure .section#sec6 .container {
  margin-bottom: -50px;
}

/* treasure-menu */
.tresure_items .item2{
  width: 100%;
}
.treasure_items .inner{
  padding: 0 0;
}
/*.treasure_items .inner a{
  display: block;
  background: #FFF;
  text-decoration: none;
}*/
.treasure_items .inner:hover a{

}
.treasure_items .item2 {
  width: 272px;
  text-align: center;
}
.treasure_items .item2{
  font-size: 16px;
  font-family: Noto Serif JP;
  letter-spacing: 0.1em;
  line-height: 2.3;
}
.treasure_items .item2 {
  border: solid 1px #000;
  outline-offset: 4px;
  margin: 0 15px;
  background-color: #ffffff;
  position: relative;
}
.treasure_items .item2:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent transparent #000000 transparent;
  border-width: 0px 0px 10px 10px;
  bottom: 4px;
  right: 4px;

}
.treasure_items .item2:after {
  content: "";
  position: absolute;
  border: 1px solid #000000;
  inset: 3px;
  pointer-events: none;
}





@media(max-width:767px){
  .pg_treasure .treasure_items .item:nth-child(n+1){
    margin-top: 70px
  }
  .pg_treasure .section#sec2:before {
    height: 80px;
    background-size: 140% 100%;
    top: 0;
  }
  .pg_treasure .section#sec4:before {
    height: 80px;
    background-size: 140% 100%;
    top: 0;
  }
  .pg_treasur .section#sec4:after {
    height: 80px;
    background-size: 140% 100%;
    top: 0;
  }
  .pg_treasure .section#sec6:before {
    height: 80px;
    background-size: 140% 100%;
    top: 0;
  }
  .treasure_items .item2:nth-child(n+3){
    margin-top: 20px;
  }
  .treasure_bottom {
    padding-bottom: 0;
    margin-top: -70px;
  }
  .treasure_items .item2 {
    width: 30%;
    text-align: center;
  }
  .pg_treasure  .treasure_items{
    background: url(/img/hall/back1_middle.png?1);
  }

  .pg_treasure .section#sec2 .treasure_items {
    display: flex;
    flex-wrap: wrap;
    margin: -10px -20px;
    justify-content: center;
  }
  .pg_treasure div#sec1 {
    margin-bottom: 85px;
  }
  /*.pg_treasure .top_buddhist .text:before{
    top: -110px;
    left: 15px;
    width: 126px;
    height: 113px;
  }
  .pg_treasure .top_buddhist .img {
    text-align: end;
    margin-top: 30px;
    margin-bottom: -90px;
  }
  .pg_treasure .top_buddhist .text:before {
    top: 0px;
    left: 15px;
    width: 126px;
    height: 113px;
  }*/
  .pg_treasure .section#sec3 {
    margin-top: 0px;
    padding-bottom: 40px;
    /*padding-top: 130px;*/
    padding-top: 100px;
  }
  .pg_treasure .section#sec4 .treasure_items {
    background: none;
  }
  .pg_treasure .section#sec4 .container {
    margin-top: 160px;
    margin-bottom: 0;
  }
  .pg_treasure .section#sec4:after {
    height: 160px;
    background-size: 156% 58%;
    top: 0;
  }
  .pg_treasure .section#sec6 .treasure_items {
    background: none;
  }

  .treasure_items .btn{
    margin-top: 30px;
  }
  .pg_treasure .section#sec6 div#magazine{
    margin-bottom: 0;
  }
}

@media(min-width:768px){
  .treasure_items{
    margin: 0 -10px;
  }
  .treasure_items .item{
    width: 50%;
  }

  .treasure_items .item .inner {
    padding: 0px 30px;
  }
  .top_buddhist .text:before {
    /*top: 10px;
    left: 10px;
    width: 155px;
    height: 185px;*/
  }
  .treasure_items .item2{
    width: 33.333%;
}
  .treasure_items .item2:nth-child(n+0){
    margin-top: 20px
  }
  .treasure_items .inner .btn{
    margin-top: 50px;
  }
  .treasure_items .item:nth-child(n+0){
    margin-top: 50px;
  }
  
  .pg_treasure .section#sec2:before{
    top: 250px;
  }
}

@media(min-width:1024px){
  .treasure_items{
    margin: 0 -15px;
  }
  .treasure_items .item{
    width: 50%;
  }
  
  br.smartp {
    display: none;
  }
  .treasure_bottom {
    padding-bottom: 30px;
  }
  
  .pg_treasure .section#sec2:before{
    top: 250px;
  }
}
@media(min-width:1200px){
  .pg_treasure .section#sec3 .tt2 {
    margin-top: -80px;
    margin-bottom: 5px;
  }
  .treasure_items .item2{
    width: 272px;
  }

  easure_items{
    margin: 0px -30px;
  }
  .treasure_items .item{
    width: 50%;
  }
  .treasure_items .item2:nth-child(n+0){
    margin-top: 15px
  }
  br.smartp {
    display: none;
  }
  .pg_treasure .section#sec2 .treasure_items {
    margin: -75px -15px 0 -15px;
  }
  .pg_treasure div#sec6 {
    margin-bottom: 20px;
  }
  .treasure_bottom {
    padding-bottom: 30px;
  }
  
  .pg_treasure .section#sec2:before{
    top: 150px;
  }
}

