@charset "UTF-8";
main .insta-view-on {
  display: none;
}
main #top_photo {
  position: relative;
  width: 100%;
  margin: 80px auto 0 auto;
  height: 400px;
  aspect-ratio: 16/9;
}
main #top_photo .top_photo {
  width: 100%;
  height: 100%;
}
main #top_photo .top_photo .photo1 {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
main #top_photo .top_photo .photo1 .bgimg {
  width: 100%;
  height: 400px;
  aspect-ratio: 16/9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
main #top_photo .top_photo .photo1 .bgimg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 黒の半透明で影を表現 */
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
  /* クリックを通す */
}
main #top_photo .top_photo .photo1 .bg {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  color: white;
  font-size: 3.5rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
main #top_photo .top-text {
  width: 100%;
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  text-align: center;
}
main #top_photo .top-text .text-title,
main #top_photo .top-text .pc-text-title {
  font-size: 3rem;
  color: white;
}
main #top_photo .top-text .text-sub {
  font-size: 1.5rem;
  color: white;
}

@media screen and (max-width: 1000px) {
  main #top_photo {
    height: 200px;
  }
  main #top_photo .top_photo .photo1 .bgimg {
    height: 200px;
  }
  main .serch {
    width: 350px;
  }
}
@media screen and (max-width: 650px) {
  main #top_photo .top-text .text-title {
    font-size: 2.5rem;
  }
  main #top_photo .top-text .text-sub {
    font-size: 1.1rem;
  }
  main .insta-view-off {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
  }
  main .insta-view-off .message {
    color: white;
    text-align: center;
    width: 90%;
    margin-left: auto;
  }
  main .insta-view-off .message .arrow {
    font-size: 2rem;
    text-align: right;
    padding-right: 20px;
    margin: 0;
  }
  main .insta-view-off .message .text {
    font-size: 1.2rem;
  }
  main .insta-view-off .message #close-btn {
    border: 1px solid white;
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
    border-radius: 5px;
  }
}/*# sourceMappingURL=top-photo.css.map */