.ms-video {
  background: var(--main-color);
  padding: 80px var(--side-padding);
}

.ms-video__inner {
  max-width: 753px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ms-video__title {
  font-family: var(--afont);
  font-size: 30px;
  font-weight: var(--regular-weight);
  line-height: var(--short-height);
  letter-spacing: 1.5px;
  color: var(--background-color);
  text-align: center;
}

.ms-video__desc {
  font-family: var(--afont);
  font-size: 16px;
  font-weight: var(--regular-weight);
  line-height: var(--long-height);
  letter-spacing: var(--small-spacing);
  color: var(--background-color);
  text-align: center;
}

.ms-video__embed {
  width: 100%;
  position: relative;
  margin-top: 8px;
  padding-bottom: 56.25%; /* 16:9 フォールバック (Safari 14以前) */
  height: 0;
}

@supports (aspect-ratio: 16 / 9) {
  .ms-video__embed {
    padding-bottom: unset;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

.ms-video__embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ===== TABLET (768-991px) ===== */
@media (max-width: 991px) {
  .ms-video {
    padding: 60px 40px;
  }
}

/* ===== SP (≤767px) ===== */
@media (max-width: 767px) {
  .ms-video {
    padding: 80px 32px;
  }

  .ms-video__title {
    font-size: 19px;
    letter-spacing: 0.95px;
  }

  .ms-video__desc {
    font-size: 14px;
  }
}
