@charset "utf-8";

/*ポップアップここから*/
.popup_wrap input {
  display: none;
}

.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.popup_content {
  position: relative;
  align-self: center;
  width: 90%;
  max-width: 800px;
  padding: 30px 30px 15px;
  box-sizing: border-box;
  background: #fff;
  line-height: 1.4em;
  transition: 0.5s;
}

.close_btn {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 30px;
  cursor: pointer;
}

.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.open_btn:hover{
    text-decoration: underline;
    transition: .3s ease;
}
/*ポップアップココまで*/


h2{text-align: center;}
table.schedule{width: 30%;margin: 20px auto;border-collapse: collapse;}
table.schedule td,table.schedule th{border-bottom: 1px solid #ccc;}
table.schedule td{padding: 10px;text-align: center;}

div.vid_contents {
width: 100%;/*背景色を横幅いっぱいに広げる*/
text-align: center;
margin: auto;
padding: 4% 0;/*ここで動画の周りの余白を調整*/
background: #e6e6e6;/*余白の背景色*/
}
video.vid_main {
width: 90%;
max-width: 920px;/*PC版での最大幅*/
margin:0 auto;
}

/* mobile----------------------------------------------------*/
@media screen and (max-width: 480px) {

/* スライドショー*/
.swiper-container{text-align: center;width: 100%;max-height: 360px; margin-bottom: 20px;}
.swiper-container {width: 100%;height: auto; position: relative;}   

.gray_bace{width: 100%; margin: 0; padding: 20px 0; background-color: #F9F9F9;}
.centerback{width: 96%; margin: 20px auto;}

.box {width: 80%; margin: 20px auto 60px;text-align: center; line-height: 1.5em; font-size: 0.9em;}
.image_c{width: 80%; margin: 0 auto;}
.image_c img{width: 100%; border-radius: 50%; box-shadow: 0 0 4px gray;}
.box p{margin: 20px 0 10px; font-weight: bold;font-size: 1.4em;}


.tenpo{width: 96%; padding: 0 0 20px; margin: 0 auto;}
.image_tenpo {width: 100%; height: auto; margin: 20px auto;}
.image_tenpo img {width: 100%;}
.tenpo_migi{width: 100%; }
.tenpo_migi p{font-size: 1.4em; margin: 20px 0;}
.tenpo_migi table{height: auto; margin: 20px 0; color: #666;}
.tenpo_migi th{font-weight: normal; text-align: left; vertical-align: top;}
.tenpo_migi td{font-weight: normal; text-align: left; vertical-align: top; padding-left: 20px;}
.tenpo_button{text-align: center; height: auto;}


.news{width: 96%; text-align: center; margin: 20px auto;}
.news_flame{width: 100%; overflow:auto;
  -webkit-overflow-scrolling:touch;
  display: inline-block;height: 300px;}
.news_flame iframe{width: 100%; height: 100%; border:none;
  display:block;}
.insta{width: 96%; text-align: center; margin: 20px auto;}
.insta_flame{width: 100%; height: 300px; }
.insta_flame iframe{width: 100%; height: 100%;}
.media{
  width: 80%;
  margin:0 auto;
}

.media img{
  width: 100%;
}

.p20{padding: 20px;}

.snsicon{
    font-size: 1.3em;
    text-align: center;
}

.snsicon i{
    margin:0 15px;
}

.snsicon a{
    color: #000;
}
.snsicon a:hover{
    opacity: 0.6;
    transition: 0.4s;
}


}/* Tablet---------------------------------------------------*/
@media (min-width: 481px) and (max-width: 768px) {

/* スライドショー*/
.swiper-container{text-align: center;width: 100%;min-height: 360px; margin-bottom: 20px;}
.swiper-container {width: 100%;height: auto; position: relative;}   


.box{width: 96%;text-align: center; width: 40%; margin: 0 4%;}
.image_c{width: 100%;}
.image_c img{width: 100%; border-radius: 50%; box-shadow: 0 0 4px gray;}
.box p{margin: 20px 0 10px; font-weight: bold;font-size: 1.4em;}

.tenpo{width: 90%; padding: 40px;}
.image_tenpo {width: 48%; height: 320px;}
.image_tenpo img {width: 100%;}
.tenpo_migi{width: 48%; height: 320px;}
.tenpo_migi p{font-size: 1.4em; margin: 20px 0;}
.tenpo_migi table{height: 180px; margin: 20px 0; color: #666;}
.tenpo_migi th{font-weight: normal; text-align: left; vertical-align: top;}
.tenpo_migi td{font-weight: normal; text-align: left; vertical-align: top; padding-left: 30px;}
.tenpo_button{text-align: center; height: 40px;}

.news{width: 48%; text-align: center; margin-bottom: 60px;}
.news_flame{width: 100%; overflow:auto;
  -webkit-overflow-scrolling:touch;
  display: inline-block;height: 300px;}
.news_flame iframe{width: 100%; height: 100%; border:none;
  display:block;}
.insta{width: 48%; text-align: center; margin-bottom: 60px;}
.insta_flame{width: 100%; height: 300px; margin: 20px 0 0;}
.insta_flame iframe{width: 100%; height: 100%;}
.media{
  width: 80%;
}

.media img{
  width: 100%;
}

.p20{padding: 20px;}

.snsicon{
    font-size: 1.3em;
}

.snsicon i{
    margin:0 5px;
}

.snsicon a{
    color: #000;
}
.snsicon a:hover{
    opacity: 0.6;
    transition: 0.4s;
}


}/* PC-------------------------------------------------------*/
@media print, screen and (min-width: 769px) {	
   
/* スライドショー*/
.swiper-container{text-align: center;width: 100%;min-height: 560px; margin-bottom: 20px;}
.swiper-container {width: 100%;height: auto; position: relative;}   


.box{text-align: center; width: 16%;}
.image_c{width: 100%;}
.image_c img{width: 100%; border-radius: 50%; box-shadow: 0 0 4px gray;}
.box p{margin: 20px 0 10px; font-weight: bold;font-size: 1.4em;}

.tenpo{width: 1000px; padding: 40px;}
.image_tenpo {width: 48%; height: 320px;}
.image_tenpo img {width: 100%;}
.tenpo_migi{width: 48%; height: 320px;}
.tenpo_migi p{font-size: 1.4em; margin: 20px 0;}
.tenpo_migi table{height: 180px; margin: 20px 0; color: #666;}
.tenpo_migi th{font-weight: normal; text-align: left; vertical-align: top;}
.tenpo_migi td{font-weight: normal; text-align: left; vertical-align: top; padding-left: 30px;}
.tenpo_button{text-align: center; height: 40px;}

.news{width: 48%; text-align: center; margin-bottom: 60px;}
.news_flame{width: 100%; height: 300px; }
.news_flame iframe{width: 100%; height: 100%;}
.insta{width: 48%; text-align: center; margin-bottom: 60px;}
.insta_flame{width: 100%; height: 300px; margin: 20px 0 0;}
.insta_flame iframe{width: 100%; height: 100%;}

.media{
  width: 30%;
  margin-bottom: 30px;
}

.media img{
  width: 100%;
}

.p20{padding: 20px;}


.snsicon{
    font-size: 1.3em;
}

.snsicon i{
    margin:0 5px;
}

.snsicon a{
    color: #000;
}
.snsicon a:hover{
    opacity: 0.6;
    transition: 0.4s;
}


}