    /* ---- video cover card ---- */
    .video-cover {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      overflow: hidden;

      /* 角丸なし・枠なし */
      border-radius: 0;
      border: none;
      box-shadow: none;

      background: #000; /* サムネ読み込み前の保険（通常は見えない） */
      cursor: pointer;
      user-select: none;
    }

    .video-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      /* transform: scale(1.02); */
      /* transition: transform .45s ease; */
    }

    /* .video-cover:hover img {
      transform: scale(1.06);
    } */

    /* overlay */
    .video-cover .overlay {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05));
      transition: opacity .25s ease;
    }

    /* custom play button */
    .play {
        width: 112px;
        height: 112px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.31);
        border: 1px solid rgba(255, 255, 255, 1);
        box-shadow: none;
        position: relative;
        transition: opacity .2s;
  }
/*home*/    
.films .play{
    width: 70px;
    height: 70px;
}

  .video-cover:hover .play {
    opacity: 0.7;
  }

  .play::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-32%,-50%);
    width: 0;
    height: 0;
    border-left: 30px solid #fff;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
  }
.films .play::before {
    border-left: 22px solid #fff;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
}
@media screen and (max-width: 767px) {
    .play{
       width: 70px;
       height: 70px;
    }
    .play::before {
        border-left: 20px solid #fff;
        border-top: 13px solid transparent;
        border-bottom: 13px solid transparent;
      }
}

    .single {
      margin-top: 34px;
      display: grid;
      grid-template-columns: 1fr;
      gap: 24px;
      align-items: start;
    }
    @media (max-width: 900px) {
      .single { grid-template-columns: 1fr; }
    }

    .single .text-area {
      padding: 0;
    }

    /* ---- modal ---- */
    .modal {
      position: fixed;
      inset: 0;
      display: none;
      z-index: 9999;
    }
    .modal.is-open {
      display: block;
    }
    .modal .backdrop {
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,.8);
    }
    .modal .dialog {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      padding: 26px 0px;
    }
    .modal .content {
      width: min(1000px, 96vw);
      aspect-ratio: 16 / 9;
      background: #000;
      border-radius: 0;
      overflow: hidden;
      border: none;
      box-shadow: 0 30px 90px rgba(0,0,0,.6);
      position: relative;
    }
    .modal iframe {
      width: 100%;
      height: 100%;
      display: block;
      border: 0;
    }

.modal .modal-shell{
  position: relative;
  width: 100%;
}
@media (min-width: 768px){
    .modal .modal-shell{
        width:min(1000px, calc(100vw - 70px));
    }
}
.modal .content{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 0;
  overflow: hidden;
  border: none;
  box-shadow: 0 30px 90px rgba(0,0,0,.6);
  position: relative;
}



.modal .close{
  position: absolute;
  right: 0;
  top: -42px;
  width: 42px;
  height: 42px;
  background: none;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal .close::before,
.modal .close::after{
  content: "";
  position: absolute;
  width: 28px;      /* 線の長さ */
  height: 1px;      /* ← 1px */
  background: #fff; /* 線の色 */
}

.modal .close::before{
  transform: rotate(45deg);
}

.modal .close::after{
  transform: rotate(-45deg);
}

@media (max-width: 600px){
  .modal .close{
    top: -42px;
  }
}
