/* ------------------------------------------
 * ARNE TV モーダル
 * ------------------------------------------ */
.arne-tv-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 20px;
}

.arne-tv-modal[hidden] {
  display: none;
}

.arne-tv-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
}

.arne-tv-modal__content {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
}

.arne-tv-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.arne-tv-modal__title {
  padding: 10px 16px 8px;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.7;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
}

.arne-tv-modal__movie {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, 0.88);
}

.arne-tv-modal__movie iframe,
.arne-tv-modal__movie video,
.arne-tv-modal__movie embed,
.arne-tv-modal__movie object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

body.is-modal-open {
  overflow: hidden;
}

/* ------------------------------------------
 * SP
 * ------------------------------------------ */
@media all and (max-width: 520px) {
  .arne-tv-modal {
    padding: 10px;
  }

  .arne-tv-modal__content {
    width: 100%;
    border-radius: 10px;
  }

  .arne-tv-modal__close {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .arne-tv-modal__title {
    padding: 16px 16px 12px;
    font-size: 0.875rem;
    line-height: 1.6;
  }
}