@charset "utf-8";

header {
  display: none;
}

/****************************************
トップ
****************************************/
.topWrap {
  background-image: url("../img/top/bg_top.jpg");
  height: 100dvh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.topCts {
  width: 90%;
  max-width: 960px;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  margin: auto;
  text-align: center;
  font-weight: 600;

  & dd {
    font-size: 2rem;
    margin-top: 34px;

    & span {
      font-weight: 300;
      margin-right: 10px;
    }
  }
}

@media only screen and (max-width: 768px) {
  .topCts {
    & dt {
      width: 80%;
      margin: auto;
    }
  }
}

/****************************************
コンテンツ
****************************************/
.ctsWrap {
  margin-top: 0;
}

/****************************************
インスタグラム
****************************************/
.instaListCts {
  margin-top: 30px;

  & dt {
    text-align: center;

    & img {
      width: 30px;
    }
  }

  & dd {
    margin-top: 5px;
    padding: 5px 5px 10px 10px;
    background-color: #333;
    height: 350px;
    overflow-x: hidden;
    scrollbar-color: #000 #333;
    scrollbar-width: thin;
    overflow-y: scroll;
  }
}

.instaList {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;

  & > li {
    width: 49%;
    margin-top: 2%;

    & a {
      display: block;
      position: relative;
      width: 100%;

      &:before {
        content: "";
        display: block;
        padding-top: 100%;
      }
    }
  }

  & li {
    & a {
      & span {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;

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

@media only screen and (max-width: 768px) {
  .instaListCts {
    & dt {
      & img {
        width: 40px;
      }
    }

    & dd {
      margin-top: 10px;
      padding: 8px 5px 10px 10px;
    }
  }

  .instaList {
    & > li {
      width: 33%;
      margin-top: 2px;
    }
  }
}
