@charset "utf-8";
/* ===============================================
# 祭と年間行事
=============================================== */
.sec_event{
  margin-top: 384px;
}
.sec_event .title_length{
  top: -345px;
  letter-spacing: 0.02em;
}
.sec_event .title_length .main{
  font-size: 50px;
  font-size: 5rem;
  letter-spacing: 0.1em;
}
.sec_event .contents{
  max-width: calc(100% - 184px);
  margin: 0 0 0 auto;
  letter-spacing: 0.08em;  
}
.sec_event .contents_text{
  line-height: 1.467;
}
.sec_event .box_panel{
  padding: 23px 5px 20px 5.2%;
  width: 50%;
  max-width: 480px;
}
.sec_event .box_panel .name{
  display: inline;
  margin-left: 18px;
  font-size: 28px;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
}
.sec_event .box_panel .text{
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.333;
}
@media screen and (max-width :767px){
  .sec_event{
    margin-top: 6.6vw;
  }
  .sec_event .title_length{
    top:0;
  }
  .sec_event .title_length .main{
    font-size: 37.5px;
    font-size: 10.133vw;
    letter-spacing: 0;
  }
  .sec_event .contents{
    max-width:inherit;
    margin:12.2vw auto 0;
    letter-spacing: 0;    
  }
  .sec_event .contents_text{
    line-height: 1.514;
  }
  .sec_event .box_panel{
    max-width: inherit;
    width: 86.6%;
    padding: 5vw 6vw;
    margin: 25px auto 0;
  }  
  .sec_event .box_panel .name{
    margin-left: 5px;
    font-size: 16.5px;
  }
  .sec_event .box_panel .text{
    font-size: 12.5px;
  }
  
  /*アンカー*/
  .box_anc{
    width: 86.6%;
    margin: 15px auto 0;
    padding: 5vw 6vw;
    background-color: #fff;
    box-shadow: 0px 1px 20px 0px rgba(0, 0, 0, 0.15);
  }
  .box_anc ul li:nth-child(n+2){
    margin-top:10px;
  }
  .box_anc ul li a{
    display: block;
    font-size: 16.5px;
    font-size: 1.65rem;
    padding-left: 23px;
    background: url(../img/ico_arrow.svg) no-repeat left center;
    background-size: 13px auto;
  }
}

/*リスト-----------------------------------------*/
.sec_event .box_list:first-of-type {
  position: relative;
  z-index: 1;
}
.sec_event .box_list dt{
  position: relative;
  font-size: 28px;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: solid 1px #000;
}
.sec_event .box_list dt span{
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  font-size: 1.8rem;
}
.sec_event .box_list dd .box_img{
  margin-bottom: 20px;
  box-shadow: 0px 1px 15px 0px rgba(0, 0, 0, 0.2);
}
.sec_event .box_list dd .text{
  letter-spacing: 0.08em;
  line-height: 1.467;
}
@media screen and (min-width :768px){
  .sec_event .box_list{
    justify-content: space-between;
  }
  .sec_event .box_list:nth-child(n+2){
    margin-top: -165px;
  }
  .sec_event .box_list.top dt{
    padding-top: 63px;
  }
  .sec_event .box_list dl:nth-child(2) dt{
    padding-top: 263px;  
  }  
  .sec_event .box_list.top dl:nth-child(2) dt{
    padding-top: 326px;
  }

  .sec_event .box_list dl{
    width: 50%;
  }
  .sec_event .box_list dl:nth-child(1){
    border-right: solid 1px #e8e8e8;  
    padding-right: 3.85%;
  }
  .sec_event .box_list dl:nth-child(2){
    border-left: solid 1px #e8e8e8; 
    padding-left: 3.85%;
  }  
  .sec_event .box_list dt::before{
    display: block;
    content: '';
    width: 15px;
    height: 10px;
    background: url(../img/ico_arrow.svg) no-repeat right bottom;
    position: absolute;
    right: -25px;
    bottom: -5px;
  }
  .sec_event .box_list dl:nth-child(2) dt::before{
    right: auto;
    left: -25px;
    transform: rotate(-180deg);
  }  
}
@media screen and (max-width :767px){
  .wrapper_list{
    margin-top:35px;
  }
  .sec_event .box_list:nth-child(n+2){
    margin-top: 54px;
  }
  .sec_event .box_list dt{
    font-size: 20px;
    font-size: 2rem;
    padding-bottom: 9px;
    margin-bottom: 12px;
  }
  .sec_event .box_list dl:nth-child(2) dt{
    margin-top: 54px;
  }
  .sec_event .box_list dt span{
    font-size: 12.5px;
    font-size: 1.25rem;
  }
  .sec_event .box_list dd{
    display: -webkit-box;
    display: -ms-flex;  
    display: flex;
    flex-wrap: wrap;
  }
  .sec_event .box_list dd .box_img{
    width: 100%;
    order: 1;
    margin-bottom: 0;
  }
  .sec_event .box_list dd .text{
    width: 100%;
    order: 0;    
    margin-bottom: 15px;
    letter-spacing: 0 ;
    line-height: 1.455;
  }
}


.sec_event .box_list a{
  position: relative;
  display: block;
}
@media screen and (max-width :767px){
  .sec_event .box_list a{
    order: 2;
    margin-bottom: 0;
  }
}
.sec_event .box_list a::before{
  content: '';
  width: 49px;
  height: 49px;
  position: absolute;
  left: 50%;
  top: 50%;
  -ms-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  background: url(../img/event/ico_video.svg) no-repeat center center;
  background-size: contain;
  z-index: 1;
}
@media screen and (max-width :767px){
  .sec_event .box_list a::before{
    width: 14.4vw;
    height: 14.4vw;
  }  
}
/* ===============================================
# モーダルウィンドウ
=============================================== */
#modal-content{
  max-width: 660px;  
}
#modal-content .video_wrap{
  padding:10px;  
  background:#fff;   
}
#modal-content .video_wrap video{
  width: 100%;
}

@media print,screen and (min-width :768px){

}
@media screen and (max-width :767px){
  #modal-content .video_wrap{
    padding: 10px 10px 20px;
  }

}



a.link{
  width: 145px;
  position: relative;
  word-break: keep-all;
  display: inline-block;
  border-top: solid 1px #a3a3a3;
  border-bottom: solid 1px #a3a3a3;
  padding: 20px 0;
  margin: 20px 0 20px auto;
  &::before {
    display: none;
  }
}