@charset "utf-8";
/* ===============================================
# 境内をめぐる
=============================================== */
.sec_around{
  margin-top: 339px;
}
.sec_around .title_length{
  top: -305px;
}
.sec_around .title_length .main{
  font-size: 50px;
  font-size: 5rem;
  letter-spacing: 0.1em;
}
.sec_around .contents{
  max-width: calc(100% - 190px);
  margin: 0 0 0 auto;
  letter-spacing: 0.08em;
}

.sec_around .contents_text{
  line-height: 1.467;
}
@media print,screen and (min-width :768px){
  .sec_around .box_grey_pc{
    padding-bottom: 165px;
  }
}
@media screen and (max-width :767px){
  .sec_around{
    margin-top: 6.6vw;
  }
  .sec_around .title_length{
    top:0;
  }
  .sec_around .title_length .main{
    font-size: 37.5px;
    font-size: 10.133vw;
    letter-spacing: 0.14em;
  }  
  .sec_around .contents{
    max-width:inherit;
    margin:16vw auto 0;
  }
  .sec_around .contents_text{
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.514;
  }
}
/*リストーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.sec_around .wrapper_list{
  margin-top: -75px;
}
.sec_around .box_list{
  flex-wrap: wrap;
}
.sec_around .box_list li{
  width: 30.86%;
  margin-left: 3.71%;
}
.sec_around .box_list .box_img a{
  position: relative;
}
.sec_around .box_list figure img{
  box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.2);
}
.sec_around .box_list .box_img a::after{
  content: '';
  width: 50px;
  height: 50px;
  position: absolute;
  right: -10px;
  bottom: -10px;
  z-index: 1;
  background: url(../img/around/ico_zoom.svg) no-repeat center center;
  background-size: 100% auto;
/*  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;  
  transform: scale(0.9);*/
}
@media print,screen and (min-width :768px){
  .sec_around .box_list li.long{
    width: 100%;
    margin-left: 0;
  }
  .sec_around .box_list li.long .box_img a{
    display: inline-block;
    width: 30.86%;
    margin-left: 3.71%;
  }  
  .sec_around .box_list li.long .box_img a:nth-child(1){
    margin-left: 0;
  }  
  .sec_around .box_list li:nth-child(n+4){
    margin-top: 120px;
  }
  .sec_around .box_list li:nth-child(3n+4){
    margin-left:0;
  }  
/*  .sec_around .box_list a:hover::after{
    transform: scale(1);
  }*/
}
@media screen and (max-width :767px){
  .sec_around .wrapper_list{
    margin-top: 32px;
  }
  .sec_around .box_list li{
    width: 47.65%;
    margin-left: 4.7%;
  }
  .sec_around .box_list li:nth-child(n+3){
    margin-top:10px;
  }
  .sec_around .box_list li:nth-child(2n+1){
    margin-left: 0;
  }
  .sec_around .box_list .box_img a::after{
    width: 30px;
    height: 30px;
    right: -5px;
    bottom: -5px;
  }
}
/*テキスト*/
.sec_around .box_list .ttl_underline{
  position: relative;
  margin-top: 40px;
  margin-bottom: 0;
}
.sec_around .box_list .ttl_underline::before{
  content: '';
  display: block;
  z-index: -1;
  width: 60px;
  height: 28px;
  position: absolute;
  left:-15px;
  top:-15px;
  background: url(../img/bg_ico.svg) no-repeat top left;
  background-size: 100% auto;  
}
.sec_around .box_list .text{
  line-height: 1.467;
}
@media screen and (max-width :767px){
  .sec_around .box_list .ttl_underline{
    margin-top: 18px;
    border: none;
    font-size: 15px;
    font-size: 1.5rem;
  }
  .sec_around .box_list .ttl_underline::before{
    width: 30px;
    height: 14px;
    left:-10px;
    top:-10px;
  }
  .sec_around .box_list .text{
    display: none;
  }  
}

/* ===============================================
# モーダルウィンドウ
=============================================== */
#modal-content .content{
  padding:10px;  
  background:#fff;   
}
#modal-content .content img{
  box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.2);
}
@media print,screen and (min-width :768px){
  #modal-content .inner img{
    width: 100%;
  }
  #modal-content .inner h3,
  #modal-content .inner p{
    display: none;
  }
}
@media screen and (max-width :767px){
  #modal-content .content{
    padding: 10px 10px 20px;
  }
  #modal-content .content img{
    margin-bottom: 20px;
  }  
}