@charset "UTF-8";

body {
  margin: 0%;
  background-image: url(img/mainbackground.jpg);
  background-attachment: fixed;
  background-size: contain;
  color: #fff; 
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

a {
  text-decoration: none;
  color: blueviolet;
}

/*フェードイン*/
.fadein {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}
/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/*トップに戻るボタン*/
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 2%;
  bottom: 2%;
  background: #ccc;
  opacity: 0.6;
  border-radius: 50%;
  z-index: 3;
}
#page_top a{
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}
#page_top a::before{
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 25px;
  color: #000;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

/*トップイラスト*/
.topillust {
  position: relative;
  height: 100vh;
  width:auto;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(img/topillust.jpg);
}
/* ぼかしから出現 */
.blur{
	animation-name:blurAnime;
	animation-duration:1.5s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.01);
  }

  to {
	filter: blur(0);
	transform: scale(1);
  }
}

/*SNSアイコン*/
.snsicon {
  position: absolute;
  top: 65%;
  left: 5%;
}

.snsicon .box img {
  width: 5%;
}

/*警告*/
#warning {
    padding: 0.5vh 1vh;
    margin: 10vh 10vh;
    border: double 5px red;
    text-align: center;
    font-size: 1rem;
    backdrop-filter: blur(1.5px);
}

#warning h1 {
  font-size: 25px;
}

/*テーマ紹介*/
#theme {
  padding: 0.5vh 1vh;
  margin: 10vh 10vh;
  width: 90%;
  margin: 0 auto;
  border: double 5px #FF1493;
  text-align: center;
  font-size: 1rem;
  backdrop-filter: blur(1.5px);
}

#theme img {
  width: 50%;
}

#theme p {
  font-size: 1rem;
}

#theme h1 {
  font-size: 25px;
}


/*お知らせ*/
#news {
  color: #e0e0e0;
  font-size: 1rem;
  margin: 3% auto;
  width: 90%;
  height: 150vh;
  border: double 5px #6495ED; 
  backdrop-filter: blur(1.5px);
}

#news p {
  margin-top:20px;	
}

#news_list a {
  text-decoration: none;
  color: #333;
}

#news_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inner {
  width: 100%;
  margin: 0 auto;
  padding-top: 65px;
  margin-bottom: 100px;
}

.sub_ttl {
  font-size: 25px;
  text-align: center;
  margin: 0 0 30px 0;
}


/* ここからがニュース記事のCSS */

.news_list {
  height: 30vh;
  overflow-y: scroll;
  margin: 0 5%;
}

.news_list_item {
  padding: 25px 0;
  border-bottom: 1px solid #E6E6E6;
}

.news_list_item:first-child {
  border-top: 1px solid #E6E6E6;
}

.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}

.news_item1 {
  background: #F6C6A2;
  color: #000;
  border-radius: 14px;
  width: 10em;
/* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
}

.news_item2 {
  background: #ff6347;
  color: #000;
  border-radius: 14px;
  width: 10em;
/* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
}

/*ツイッター*/
.twitter {
  margin: 0 auto;
  text-align: center;
}

.twitter .twitter-timeline {
  margin: 0 auto;
}

/*企画紹介*/
#about {
  height: 120vh;
  text-align: center;
  font-size: 1rem;
  padding: 1rem;
  margin: 3% auto;
  width: 90%;
  border: double 5px #8FBC8F;
  backdrop-filter: blur(1.5px);
}

#about h1 {
  font-size: 25px;
  margin: 0;
}


/*==================================================
スライダーのためのcss
===================================*/
.slider {/*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 90%;
  margin:3% auto;
}

.slider img {
  width:auto;/*スライダー内の画像を高さ50vhにしてレスポンシブ化*/
  height:50vh;
}

.slider .slick-slide {
transform: scale(0.8);/*左右の画像のサイズを80%に*/
transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
opacity: 0.5;/*透過50%*/
}

.slider .slick-slide.slick-center{
transform: scale(1);/*中央の画像のサイズだけ等倍に*/
opacity: 1;/*透過なし*/
}


/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
  position: absolute;/*絶対配置にする*/
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #fff;/*矢印の色*/
  border-right: 2px solid #fff;/*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align:center;
  margin:20px 0 0 0;
}

.slick-dots li {
  display:inline-block;
  margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:5px;/*ドットボタンのサイズ*/
  height:5px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:0%;
  background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}


/*来場者の方へ*/
#visitors {
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
  padding: 1rem 20rem; 
  backdrop-filter: blur(1.5px);
  border: double 5px #008080;
}

  /*諸注意*/
  #visitors h1 {
    font-size: 25px;
    text-align: center;
    margin: 0;
  }

  #visitors h2 {
    text-align: center;
  }

  table{
    width: 100%;
    border-collapse: collapse;
  }

  table tr{
    border-bottom: solid 2px white;
  }

  table tr:last-child{
    border-bottom: none;
  }

  table th{
    position: relative;
    text-align: left;
    width: 30%;
    background-color: hsl(187, 57%, 57%, 75%);
    color: white;
    text-align: center;
    padding: 10px 0;
  }

  table th:after{
    display: block;
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top:calc(50% - 10px);
    right:-10px;
    border-left: 10px solid hsl(187, 57%, 57%, 75%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
  }

  table td{
    width: 70%;
    text-align: center;
    background-color: hsl(0, 0%, 93%, 75%);
    padding: 10px 0 10px 10px;
    color: #000;
  }


  /*イートインスペースの使い方*/
  #visitors .visitors3 {
    width: 100%;
    margin: 0 auto;
  }

  .video {
    display: flex;
    justify-content: center;
  }
  
  .video iframe {
    width: 40%;
    aspect-ratio: 16/9;
    margin: 1%;
  }

/*アクセス*/
#map_box {
  position: relative;
  text-align: center;
  font-size: 1rem;
  width: 90%;
  height: 130vh;
  padding: 1rem;
  margin: 3% auto;
  border: double 5px 	#FF1493;
  backdrop-filter: blur(1.5px);
}

#map-box h1 {
  font-size: 25px;
}

.map {
  display: flex;
  justify-content: center;
}

.map iframe {
  width: 40%;
  aspect-ratio: 16/9;
  margin: 1%;
}

.map img {
  width: 40%;
  margin: 1%;
}

.access {
  position: absolute;
  left: 25%;
  text-align: center;
  width: 50%;
  height: 30vh;
  font-size: 1rem;
}

.access ul {
  text-align: center;
  list-style-type: none;
  padding: 0;
  font-size: 0.8rem;
}


/*フッター*/
.footer {
  color: #808080;
  background: #e5e5e5;
  text-align: center;
  font-size: 1rem;
  padding: 30px;
 }
 .footer a {
  color: #808080;
  text-decoration: none;
 }
 .footer a:hover {
  text-decoration: underline;
 }
 .footer .menu {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
 }
 .footer .menu li {
  margin: 0;
  padding: 0 20px;
  border-right: 1px #808080 solid;
 }
 .footer .menu li:last-child {
  border: none;
 }
 .footer .copyright {
  margin: 0;
  padding: 20px 0 0 0;
 }


@media screen and (max-width: 959px) {
  /*ナビゲーション*/
  #g-nav li a{
    font-size: 1rem;
  }
  
  /*SNSアイコン*/
  .snsicon {
    position: absolute;
    top: 80%;
    left: 5%;
    display: flex;
  }

  .snsicon .box img {
    width: 50px;
  }

  /*トップイラスト*/
    .topillust {
      position: relative;
      width:100%;
      background-size: 100% auto;
      background-position: center;
      background-repeat: no-repeat;
      background-image: url(img/topillust.jpg);
  }

  /*お知らせ*/
    #news {
      height: 150vh;
      padding-bottom: 0%;
    }

  /*企画紹介*/
    #about {
      width: 80%;
    }

    .slider {
      margin-top: 50%;
    }

    .slider img {
      width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
      height:auto;
  }  

  /*来場者の方へ*/
    #visitors {
      padding: 1rem;
      height: 270vh;
    }

    .video {
      display: block;
      justify-content: center;
    }

    .video iframe {
      width: 80%;
      aspect-ratio: 16/9;
      margin: 10%;
    }

  /*アクセス*/
    #map_box {
      height: 160vh;
      text-align: center;
      padding: 0.5rem;
    }

    .map {
      display: block;
      justify-content: center;
    }

    #map_box iframe {
      width: 80%;
      aspect-ratio: 16/9;
      margin: 10%;
    }
    
    #map_box img {
      width: 80%;
      margin: 10%;
    }

    .access h2 {
      font-size: 0.8rem;
    }

    .access li {
      font-size: 0.5rem;
    }

  /*フッター*/
    .footer .menu {
      justify-content: flex-start;
      font-size: 0.8rem;
    }

    .footer .menu li {
      width: 50%;
      box-sizing: border-box;
      border: none;
    }
    .footer .menu li:nth-child(odd) {
      border-right: 1px #808080 solid;
    }
}

@media screen and (max-width: 376px) {
  /*来場者の方へ*/
  #visitors {
    padding: 1rem;
    height: 320vh;
  }

  .video {
    display: block;
    justify-content: center;
  }

  .video iframe {
    width: 80%;
    aspect-ratio: 16/9;
    margin: 10%;
  }
}

/*================================================================================================-*/
/*ボタンアニメーション*/
/*== ボタン共通設定 */
.btn{
  /*アニメーションの起点とするためrelativeを指定*/
  position: relative;
  overflow: hidden;
  /*ボタンの形状*/
  text-decoration: none;
  display: inline-block;
  border: 1px solid #fff;/* ボーダーの色と太さ */
  padding: 10px 30px;
  text-align: center;
  outline: none;
  /*アニメーションの指定*/   
  transition: ease .2s;
}

/*ボタン内spanの形状*/
.btn span {
position: relative;
z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
color:#fff;
}

.btn:hover span{
color:#fff;
}

/*== 背景が流れる（斜め） */
.bgskew::before {
content: '';
  /*絶対配置で位置を指定*/
position: absolute;
top: 0;
left: -130%;
  /*色や形状*/
background:#333;
width:120%;
height: 100%;
transform: skewX(-25deg);
}

/*hoverした時のアニメーション*/
.bgskew:hover::before {
animation: skewanime .5s forwards;/*アニメーションの名前と速度を定義*/
}

@keyframes skewanime {
100% {
  left:-10%;/*画面の見えていない左から右へ移動する終了地点*/
}
}