@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');

* {
  font-family: Noto Sans;
  font-family: "Noto Sans", sans-serif;

}

.header-all {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 30px 0 20px;

  img {
    width: 200px;
    height: auto;
  }
}

.header-nav ul {
  display: flex;
  list-style: none;
  align-items: center;

  li {
    margin-inline: 20px;
    padding-top: 10px;

    a {
      text-decoration: none;
      font-size: 16px;
      font-weight: bold;

      &:hover {
        color: #666666;
      }
    }
  }
}

.topimg {
  background-image: url(../img/topimage.jpg);
  width: 100%;
  height: 600px;
  background-position: center;
  background-size: cover;
  padding-top: 20px;
}

.pickup {
  padding-top: 130px;
}

.bigtext {
  font-size: 35px;
  text-align: center;
  padding-bottom: 35px;
}

.slider img {
  width: 100%;
  height: auto;
}

.slider .slick-slide {
  margin: 0 20px;
}

.feature {
  padding-top: 140px;
}

.feature-box {
  width: 1209px;
  max-width: 76%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 130px;
}

.contents {
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 1s;
  transform: translateY(150px);
}

.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.contents img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.contents-cap {
  margin: 20px;
}

.category {
  margin-bottom: 30px;
}

.time {
  margin-top: 20px;
  text-align: end;
}

.long {
  grid-column: span 2;
}

.map-contents {
  width: 100%;
  flex-direction: column;
  display: flex;
  align-items: center;
  margin-bottom: 200px;
}

.map iframe {
  width: 60%;
  height: 400px;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  filter: grayscale(100%);
}

.map p {
  width: 60%;
  text-align: left;
  margin-top: 10px;
}

#footer {
  width: 100%;
  height: 350px;
  background-color: black;
}

.bg {
  width: 100%;
  height: 300px;
  position: relative;
  background-image: url(../img/footerimage.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bg>p {
  width: 100%;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 25px;
  font-weight: bold;
}

.bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: #ffffffbd;
}

.toiawase {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 250px;
  height: 50px;
  background-color: #F13C68;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 10px;
  text-decoration: none;

  &:hover {
    background-color: #e03a63e9;
  }
}

.toiawase img {
  width: 20px;
  height: auto;
}

.copy-base {
  position: relative;
}

.copy {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
}

@media(376px <=width <=768px) {
  .header-all {
    display: block;
  }

  .header-all img {
    margin-left: 30px;
  }

  .header-nav ul {
    display: inline;
    width: 100%;

    li {
      margin-block: 30px;

      a {
        font-size: 24px;

        &:hover {
          color: #cbcbcb;
        }
      }
    }
  }

  .header-all img {
    margin-left: 30px;
  }

  .feature-box {
    width: 650px;
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 70px;
  }

  .long {
    grid-column: auto;
  }

  .contents img {
    height: 200px;
  }

  .map iframe {
    width: 80%;
    height: 200px;
  }

  .map p {
    width: 80%;
  }

  .map-contents {
    margin-bottom: 150px;
  }
}


@media (width <=375px) {
  .topimg {
    background-image: url(../img/topimage-res.jpg);
  }

  .header-all {
    display: block;
  }

  .header-all img {
    margin-left: 16px;
  }

  .header-nav ul {
    display: inline;
    width: 100%;

    li {
      margin-block: 20px;

      a {
        font-size: 20px;
      }
    }
  }

  .pickup {
    padding-top: 60px;
  }

  .slider .slick-slide {
    margin: 0 20px;
  }

  .contents-cap {
    padding: 20px 20px 0;
    margin: 0;
  }

  .category {
    margin-bottom: 20px;
  }

  .slick-track {
    height: 160px;
  }

  .feature-box {
    width: 343px;
    max-width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(8, 1fr);
    gap: 0;
    grid-row-gap: 30px;
    grid-column-gap: 0;
    margin-bottom: 70px;
  }

  .long {
    grid-area: auto;
  }

  .feature {
    padding-top: 100px;
  }


  .map iframe {
    width: 100%;
    height: 160px;
  }

  .map p {
    width: 90%;
  }

  .map-contents {
    margin-bottom: 110px;
  }

  .bg>p {
    width: 100%;
    text-align: center;
    font-size: 20px;
  }

}