#top {
  height: 85vh;
}

#top .logo {
  height: 1.7rem;
}

#top .image {
  max-height: 60vh;
  max-width: 65%;
}

#top .text-mfblue {
  font-size: 1.2rem;
}

#top .bg-mfblue {
  margin: 1.8rem 0;
}

#top .bg-lblue-herf {
  z-index: -1;
}

@media (max-width: 768px) {
  #top {
    height: 95vh;
    min-height: -webkit-fill-available;
    max-height: 680px;
  }
  #top .texts {
    padding-top: 5.5rem !important;
  }
  #top .bg-lblue-herf {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 5%, #e4f5ff 5%, #e4f5ff 100%);
    -webkit-transform: skew(0deg, -20deg);
    padding-bottom: 15rem;
  }
  #top .bg-lblue-herf .image {
    -webkit-transform: skew(0deg, 20deg);
  }
  #top .image {
    max-width: 60%;
  }
  #top .bg-mfblue {
    margin: 1.2rem 0;
  }
}

.infinite-slider {
  margin-bottom: -6rem;
}

.infinite-slider .page-head {
  font-size: 8.7rem;
  font-weight: 700;
  line-height: normal;
  background: linear-gradient(90deg, #00bea5 0%, #00cac6 51.28%, #00a3c6 74.87%, #007fc6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  mix-blend-mode: color-dodge;
  opacity: 0.35;
  white-space: nowrap;
  user-select: none;
}

@media (max-width: 768px) {
  .infinite-slider .page-head {
    font-size: 6rem;
  }
}

.infinite-slider .swiper-wrapper {
  transition-timing-function: linear;
}

.media-slider .swiper-slide {
  width: 10em;
  margin-left: 1em;
}

.media-slider .swiper-slide img {
  width: 100%;
}

.prodlogo {
  height: 7.5rem;
}

.attention {
  font-size: 0.45rem;
  letter-spacing: 0.2em;
  line-height: 2.5em;
}

.prodback {
  position: absolute;
  height: 60vh;
  width: 100%;
  transform: translateX(-9%) translateY(2vh);
  z-index: -1;
}

.prodimage {
  width: 120%;
  max-width: 45vw;
}

#walker {
  margin-top: 5.25rem;
  padding-bottom: 12.5rem;
  margin-bottom: -11rem;
  z-index: 10;
  position: relative;
}

@media (max-width: 992px) {
  .prodback {
    position: relative;
    transform: translateX(0) translateY(0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 5%, #00a0e9 5%, #00a0e9 100%);
    -webkit-transform: skew(0deg, -20deg);
    z-index: -1;
    padding-bottom: 15rem;
  }
  .prodimage {
    width: 60%;
    max-width: 650px;
    position: absolute;
    left: 18%;
  }
  #walker {
    margin-top: -3rem;
  }
}

@media (max-width: 768px) {
  .prodimage {
    width: 120%;
    left: -5%;
  }
}

.prodvideo {
  width: 100%;
  height: auto;
  display: block;
}

.twitter-box {
  max-width: 530px;
  width: 100%;
  text-decoration: none;
  color: rgb(15, 20, 25);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0em;
  line-height: 20px;
  border-radius: 12px;
  padding: 15px 19px;
  background-color: #ffffff;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
}

.twitter-box:hover {
  opacity: 1 !important;
  transition: all 0.3s;
  color: rgb(15, 20, 25);
  background-color: rgb(247, 249, 249);
}

.twitter-box .icon {
  height: 48px;
  width: 48px;
  border-radius: 999px;
}

.twitter-box .bold {
  font-weight: 700;
}

.twitter-box .sub {
  color: rgb(83, 100, 113);
}

.twitter-box .twicon {
  font-size: 25px;
  color: rgb(29, 155, 240);
  padding-bottom: 23px;
}

.twitter-box p {
  font-size: 20px;
  line-height: 1.3em;
  margin-bottom: 0.25em;
}

@media screen and (max-width: 480px) {
  .twitter-box {
    max-width: 90%;
  }
}

.clinics-card {
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
}

/* Video Player Styles */
.video-player-container {
  position: relative;
}

.video-display {
  width: 100%;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.prodvideo {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.video-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.thumbnail-item {
  position: relative;
  width: 130px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail-item:hover {
  border-color: #007bff;
  transform: scale(1.05);
}

.thumbnail-item.active {
  border-color: #0056b3;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
}

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

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.thumbnail-item:hover .thumbnail-overlay,
.thumbnail-item.active .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay i {
  color: white;
  font-size: 14px;
}

.video-content {
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .video-thumbnails {
    gap: 8px;
  }

  .thumbnail-item {
    width: 90px;
    height: 50px;
  }

  .thumbnail-overlay i {
    font-size: 12px;
  }
}
