@charset "utf-8";
/* aboutCSS Document */
#g-nav a {
  color: #f8fbf8;
}
.firstview {
  background-image: url("../img/about-top.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30px;
}
.firstview picture {
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  height: auto;
}
.gradation {
  background: rgb(220, 245, 221);
  background: linear-gradient(180deg, rgba(220, 245, 221, 0.8) 0%, rgba(147, 204, 196, 1) 100%);
}
/*movieのスタイルここから*/
.movie {
  padding: 50px;
  max-width: 930px;
  margin-left: auto;
  margin-right: auto;
}
.movie p {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 100px;
  font-size: 18px;
}
.movie iframe {
  display: block;
  margin-bottom: 50px;
  width: 100%;
  height: 456px;
}
/*main-textのスタイルここから*/
.main-text {
  display: flex;
  justify-content: space-between;
  width: 1300px;
  max-width: 90%;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding: 50px;
  color: #f8fbf8;
  align-items: center;
}
.gallery {
  max-width: 400px;
  margin: 0 30px;
}
.slider {
  max-width: 900px;
}
.reverse {
  flex-direction: row-reverse;
  padding-bottom: 80px;
}
/*==================================================
スライダーのためのcss
===================================*/
.slider { /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
}
.slider img {
  width: 100%; /*スライダー内の画像を横幅100%に*/
  height: auto;
}
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slider .slick-slide {
  margin: 0 10px;
}
/*矢印の設定*/
/*戻る、次へ矢印の位置*/
.slick-prev, .slick-next {
  position: absolute; /*絶対配置にする*/
  top: 42%;
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666; /*矢印の色*/
  border-right: 2px solid #666; /*矢印の色*/
  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: 8px; /*ドットボタンのサイズ*/
  height: 8px; /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc; /*ドットボタンの色*/
}
.slick-dots .slick-active button {
  background: #333; /*ドットボタンの現在地表示の色*/
}
/*historyのスタイルここから*/
.history {
  padding: 80px;
}
.history section {
  max-width: 800px;
  width: 100%;
  border: solid #515656 1px;
  margin: 0 auto;
  padding: 30px;
}
.history h2 {
  font-weight: 700;
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}
/*==========メディアクエリここから==========*/
@media (min-width: 801px) and (max-width: 1280px) {
    

    .movie p {
        max-width: 400px;
        margin: 30px auto;
    } 
 
    .main-text {
    flex-direction: column;
    padding: 20px;
    margin-top: 10px;
  }
  .gallery {
    max-width: 400px;
    margin: 30px;
      text-align: center;
  }
  .slider {
    max-width: 600px;
  }
}
@media (max-width:800px) {
  .firstview {
    background-image: url("../img/sp-about-top.jpg");
  }
  .firstview picture {
    width: 100%;
  }
  .movie {
    padding: 30px;
  }
  .movie p {
    text-align: left;
    margin-bottom: 50px;
    font-size: 16px;
  }
  .movie iframe {
    margin-bottom: 0px;
    height: 240px;
  }
  .main-text {
    flex-direction: column;
    padding: 20px;
    margin-top: 10px;
  }
  .gallery {
    margin-bottom: 30px;
    font-size: 14px;
  }
  .history {
    padding: 70px 30px 30px;
  }
  .history h2 {
    font-size: 16px;
  }
  .history p {
    font-size: 14px;
  }
} /*==========メディアクエリここまで==========*/