.sh-video-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #111;
}

.sh-video-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sh-video-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.20) 50%,
      rgba(0, 0, 0, 0.45) 100%
    );

  z-index: 1;
}

.sh-video-hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
  padding: 120px 0;
}

.sh-video-hero__label {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.86;
}

.sh-video-hero__title {
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.sh-video-hero__text {
  max-width: 680px;
  margin: 28px auto 0;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.9;
  opacity: 0.92;
}

.sh-video-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 38px;
}

.sh-video-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.sh-video-hero__button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.sh-video-hero__button--primary {
  background: #fff;
  color: #111;
}

.sh-video-hero__button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

@media (max-width: 767px) {
  .sh-video-hero {
    min-height: 82vh;
  }

  .sh-video-hero__content {
    width: min(100% - 28px, 680px);
    padding: 92px 0 72px;
  }

  .sh-video-hero__title {
    font-size: clamp(38px, 13vw, 58px);
  }

  .sh-video-hero__text {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.85;
  }

  .sh-video-hero__actions {
    margin-top: 30px;
    gap: 10px;
  }

  .sh-video-hero__button {
    width: 100%;
    min-height: 50px;
  }
}

/* ==============================
   Danmaku Layer v1
============================== */

.sh-danmaku-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.sh-danmaku-item {
  position: absolute;
  left: 100%;
  white-space: nowrap;

  display: inline-flex;
  align-items: center;

  padding: 10px 22px;
  border-radius: 999px;

  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;

  animation-name: sh-danmaku-move;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

@keyframes sh-danmaku-move {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100vw - 100%));
  }
}

/* 中央テキストの邪魔を少し避ける */
.sh-video-hero__content {
  z-index: 3;
}

/* スマホは控えめ */
@media (max-width: 767px) {
  .sh-danmaku-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  .sh-danmaku-item:nth-child(3),
  .sh-danmaku-item:nth-child(4) {
    display: none;
  }
}

/* ==============================
   Danmaku Style: Tag
============================== */
.sh-danmaku-layer--tag .sh-danmaku-item {
  padding: 8px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 15px;
  font-weight: 800;
  text-shadow: none;
}

/* ==============================
   Danmaku Style: Nico
============================== */
.sh-danmaku-layer--nico .sh-danmaku-item {
  color: #fff !important;
  background: none !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;

  padding: 0 !important;

  font-size: clamp(26px, 2.7vw, 44px);
  font-weight: 100;
  letter-spacing: -0.05em;
  letter-spacing: 0;

  text-shadow:
    1px 1px 0 #000,
   -1px 1px 0 #000,
    1px -1px 0 #000,
   -1px -1px 0 #000,
     padding: 0;
  border-radius: 0;
}

/* ==============================
   Danmaku Style: Review
============================== */
.sh-danmaku-layer--review .sh-danmaku-item {
  padding: 10px 20px;
  border-radius: 16px;
  color: #111;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  text-shadow: none;
}

.sh-danmaku-layer--review .sh-danmaku-item::before {
  content: "★★★★★ ";
  color: #f5a623;
  margin-right: 6px;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .sh-danmaku-layer--tag .sh-danmaku-item {
    font-size: 12px;
    padding: 6px 12px;
  }

  .sh-danmaku-layer--nico .sh-danmaku-item {
    font-size: clamp(18px, 6vw, 30px);
  }

  .sh-danmaku-layer--review .sh-danmaku-item {
    font-size: 12px;
    padding: 8px 14px;
  }
}

.sh-danmaku-form {
  max-width: 640px;
  margin: 60px auto;
  padding: 24px;
}

.sh-danmaku-form__title {
  margin-bottom: 16px;
  text-align: center;
}

.sh-danmaku-form form {
  display: flex;
  gap: 12px;
}

.sh-danmaku-form__input {
  flex: 1;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.sh-danmaku-form__button {
  min-width: 120px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}