@charset "UTF-8";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.lot-nav {
  width: 70%;
  margin: auto;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #ccc;
  padding: 10px 0;
}

.lot-list {
  display: inline-flex;
  gap: 16px;
  padding: 0 10px;
  margin: 0;
  margin-top: 15px;
  list-style: none;
}

.lot-list li a {
  display: inline-block;
  padding: 6px 12px;
  background-color: #eee;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  color: #333;
  font-weight: bold;
}

.lot-list li a:hover {
  background-color: #ddd;
}

.all-videos {
  width: 70%;
  margin: auto;
  margin-top: 30px;
}

article {
  padding: 15px;
  background-color: #f7f4f1;
  margin-bottom: 20px;
  border-radius: 10px;
}

article h2 {
  font-weight: bold;
  font-size: 1.4em;
  padding: 2px 6px;
  margin-bottom: 20px;
  border-left: solid 20px #678d91;
}

.swiper-container-wrap {
  position: relative;
  overflow: hidden;
}

.swiper.mySwiper {
  width: 90%;
  padding-bottom: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.swiper.mySwiper.swiper-initialized {
  opacity: 1;
}

.swiper-wrapper {
  display: flex;
  flex-direction: row;
}

.swiper-slide.video-card {
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.image-wrap {
  position: relative;
  overflow: hidden;
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 30, 30, 0.4); /* 半透明のグレー */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.play-icon {
  width: 50px;
  height: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-icon-sp {
  display: none;
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  z-index: 2;
}

.video-card:hover .hover-overlay {
  opacity: 1;
}

.video-card:hover .play-icon {
  opacity: 1;
}

.tour-badge {
  display: inline-block;
  background-color: #e0f0ff;
  color: #0066cc;
  padding: 3px 8px;
  margin: 5px 0;
  font-weight: 600;
  border-radius: 12px;
  font-size: 1.3rem;
}

.mom-badge {
  display: inline-block;
  background-color: #6eb7b0;
  color: #fff;
  padding: 3px 8px;
  margin: 5px 0;
  font-weight: 600;
  border-radius: 12px;
  font-size: 1.3rem;
}

.hint-badge {
  display: inline-block;
  background-color: #f9e0ac;
  color: #9c6b00;
  padding: 3px 8px;
  margin: 5px 0;
  font-weight: 600;
  border-radius: 12px;
  font-size: 1.3rem;
}

.text-content h3 {
  font-weight: bold;
  font-size: 1.3rem;
  font-family: "FuturaMaxiStd-Book", "DNPShueiGoGinStd-M", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", "sans-serif";
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev {
  position: absolute;
  left: -40px; 
}

.swiper-button-next {
  position: absolute;
  right: -40px; 
}

.swiper {
  overflow: hidden;
}

section.related-links {
  background-color: #f2f2f2;
  padding: 40px 20px;
  text-align: center;
  width: 70%;
  margin: auto;
  margin-top: 40px;
  border-radius: 10px;
}

.related-links h2 {
  font-size: 1.4em;
  margin-bottom: 24px;
  color: #333;
}

.related-links .primary-links,
.related-links .other-video-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 25px;
}

.related-links a {
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.related-links .other-video-links a:hover {
  background-color: #e6e6e6;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.related-links .primary-links a {
  background-color: #4a4a4a;
  color: #fff;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.related-links .primary-links a:hover {
  background-color: #5c5c5c;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}


@media screen and (max-width: 768px) {

  .lot-list {
    margin-top: 0;
  }

  .all-videos {
    width: 95%;
    margin: 10px auto;
  }

  article {
    padding: 10px;
  }

  article h2 {
    font-size: 1.4em;
    margin-bottom: 15px;
  }

  .swiper.mySwiper {
    width: 100%;
    padding-bottom: 40px;
  }

  .swiper-slide.video-card {
    padding: 8px;
  }

  .hover-overlay {
    display: none; /* スマホではホバー無効のため非表示 */
  }

  .play-icon {
    display: none; /* PC用再生ボタンは非表示 */
  }

  .play-icon-sp {
    display: block; /* スマホ用再生ボタンを表示 */
  }

  .tour-badge,
  .mom-badge,
  .hint-badge {
    font-size: 1.1rem;
    padding: 2px 6px;
  }

  .text-content h3 {
    display: none;
    font-size: 1rem;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none!important; /* スマホではナビ矢印非表示にする場合 */
  }

  section.related-links {
  width: 95%;
  padding: 20px 10px;
  margin-top: 30px;
}
}
