@charset "utf-8";

/* ---------------------------------------------------- */
/* ７ページ目 */
/* ---------------------------------------------------- */
#page-7 {
  margin: -65px auto 0;
  max-width: 1600px;


  & .title_img {
    width: 100%;
    height: 145px;
    transform: translateY(145px);
  }
}

/* お知らせ　*/
.info-box {
  width: 100%;
  margin: 10px auto;


  & img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  /* お知らせカードの設定 */
  & .info-style {
    position: relative;
    width: 45%;
    min-width: 470px;
    padding: 0 10px;
    margin-bottom: 3rem;
    border: none;


    & img {
      object-fit: cover;
      object-position: center;
      height:300px;
      min-width: 470px;
    }

    /* 通常のお知らせの設定 */
    & .info-lv1 {
      background-color: blueviolet;
      color: #FEEEED;
      padding: 0.3rem 0.5rem;
      border-radius: 0.5rem;
      font-size: 0.8em;
    }

    & .info-lv1-bg {
      background-color: blueviolet;
    }

    /* 重要なお知らせの設定 */
    & .info-lv2 {
      background-color: rgb(253, 70, 70);
      color: #FEEEED;
      padding: 0.3rem 0.3rem;
      border-radius: 0.5rem;
      font-size: 0.8em;
    }

    & .info-lv2-bg {
      background-color: rgb(253, 70, 70);
    }
  }
}

.card-body {
  & a {
    color: #393939;
    text-decoration: none;
  }

  & a:hover {
    color: #8ecc54;
  }
}

#sns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;

  & .sns-1 {
    width: calc(50% - 20px);
    height: auto;

    & .f-logo {
      height: 3.5rem;
      width: auto;
      margin-left: 0.5rem;
      margin-bottom: 1rem;
    }

    & .facebook_wrap {
      margin: 0 auto;
      width: 80%;

      & .fb-page,
      .fb-page span,
      .facebook_wrap iframe {
        width: 100% !important;
        height: 665px !important;
      }
    }
  }

  & .sns-2 {
    width: calc(50% - 20px);
    height: auto;
    padding: 0;

    & .instagram-logo {
      height: 3rem;
      width: auto;
      margin-left: 0.5rem;
      margin-bottom: 1.25rem;
    }
  }

  & .sns-3 {
    width: 100%;

    & .movie-title {
      height: 1.85rem;
      width: auto;
      margin-bottom: 2rem;
    }

    & .youtube {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      width: 100%;
      margin-bottom: 100px;
    }
  }
}

/* ブログ　*/
#blog {
  text-align: center;

  & .blog-title {
    height: 3.25rem;
    width: auto;
    margin-bottom: 2rem;
  }

  & .blog-box {
    width: 100%;
    margin: 0 auto;

    /* ブログカードの設定 */
    & .blog-style {
      width: 33%;
      padding: 0 10px;
      margin-bottom: 3rem;
      border: none;

      & img {
        min-width: 100%;
        object-fit: cover;
        object-position: center;
        height: 12rem;
      }

      /* ブログ記載文の設定（3行のみ表示、あとは・・・で省略） */
      & .blog-text {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        /* 制限したい行数が5の場合 */
        overflow: hidden;
      }

      & .card-title {
        text-align: start;
      }
    }

  }
}

/* レスポンシブ対応 1200px未満*/
@media screen and (max-width:1199px) {

  #sns {
    & .sns-1 {
      & h3 {
        & svg {
          width: calc(1.55rem + .6vw);
          height: calc(1.55rem + .6vw);
        }
      }
    }

    & .sns-2 {
      & h3 {
        & svg {
          width: calc(1.55rem + .6vw);
          height: calc(1.55rem + .6vw);
        }
      }
    }
  }
}

/* レスポンシブ対応 992px未満*/
@media screen and (max-width:991px) {

  #page-7 {
    margin-top: -65px;


  }

  #sns {
    & .sns-1 {
      width: 100%;
      margin-bottom: 60px;
    }

    & .sns-2 {
      width: 100%;
    }

    & .sns-3 {
      & .youtube {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
        width: 100%;
        margin-bottom: 100px;

        & #player1 {
          margin-bottom: 3rem;
        }
      }
    }
  }

  #blog {
    & .blog-box {
      & .blog-style {
        width: 50%;
        margin-bottom: 2rem;
      }
    }
  }
}

/* レスポンシブ対応 768px未満*/
@media screen and (max-width:767px) {

  .info-box {
    & .info-style {
      width: 100%;
    }
  }

  #sns {
    & .sns-1 {
      & .f-logo {
        height: 2.75rem;
      }
    }

    & .sns-2 {
      & .instagram-logo {
        height: 2.5rem;
      }
    }

    & .sns-3 {
      & .movie-title {
        height: 1.5rem;
      }
    }
  }

  #blog {
    & .blog-title {
      height: 2.5rem;
    }

    & .blog-box {
      & .blog-style {
        width: 100%;
        margin-bottom: 2rem;
      }
    }
  }
}

/* レスポンシブ対応 576px未満*/
@media screen and (max-width:575px) {

  #page-7 {
    margin-top: 60px;

    & .title::before {
      transform: translateY(0);
    }

    & .info-box {
      width: 100%;
    }

    & .info-style {
      width: 100%;
      padding: 0 5px;
      margin-bottom: 20px;
    }

    & .card-title {
      font-size: 18px !important;
    }
  }
}