.sec_movie {
  padding: 5rem 0;
}

.movie-header {
  margin-bottom: 2.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;

  & .sec-ttl {
    margin-bottom: 0;
  }

  & .link-archive {
    & a {
      color: var(--color-black);
      font-size: 1.75rem;
      font-style: normal;
      font-weight: 500;
      text-decoration: none;
      display: inline-flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: flex-end;
      gap: 0.75rem;

      &::after {
        content: '\e5e1';
        font-family: 'Material Symbols Outlined';
        font-weight: 400;
        color: var(--color-primary);
      }
    }
  }
}

.movie-list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
  list-style: none;
}

.movie-list-item {
  max-width: 100%;
  width: 100%;
  height: auto;

  & a {
    display: block;
    text-decoration: none;
    color: inherit;

    &:hover .video-thumbnail {
      outline: 2px solid #c84210;
      outline-offset: 5px;
    }
  }
}

.video-thumbnail {
  position: relative;
  max-width: 100%;
  width: 100%;
  padding-top: 56.25%;
  transition: all 0.15s ease-in 0.05s;
  line-height: 1;
  margin-bottom: 2rem;

  & iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }
}

.movie-list-item {
  & .caption {
    margin-bottom: 1.5rem;
    font-size: 1.65rem;
    font-weight: 600;
    line-height: 1.5;
  }

  & .date {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-gray600);
    text-align: right;
    line-height: 1;
  }
}

@media screen and (max-width: 1023px) {
  .sec_movie {
    padding: 3rem 0 0;
  }

  .movie-list {
    gap: 2rem;
  }

  .movie-list-item {
    & .caption {
      font-size: 1.5rem;
    }
  }
}

@media screen and (max-width: 767px) {
  .movie-header {
    align-items: baseline;

    & .link-archive {
      & a {
        font-size: 1.835rem;
      }
    }
  }

  .movie-list {
    padding: 1rem 0.5rem;
    grid-template-columns: 1fr;
    row-gap: 3.5rem;
  }

  .movie-list-item {
    & .caption {
      font-size: 1.75rem;
    }

    & .date {
      font-size: 1.6rem;
    }
  }
}