@charset "utf-8";

/* *****************************************************************************

  movie/index.html

***************************************************************************** */
/* maintitle-movie */
.maintitle-movie{
  background-color: #f6f6f6;
}
.maintitle-movie > .bg-maintitle{
  height: 100px;
  background-color: #ffffff;
}
.maintitle-movie > .maintitle-inner > div{
  max-width: 1120px;
}

@media screen and (max-width: 760px){
  /* maintitle-movie */
  .maintitle-movie > .bg-maintitle{
    height: 60px;
  }
}

/* movie-area */
.movie-area-wrap{
  background-color: #f6f6f6;
  padding-top: 80px;
  padding-bottom: 24px;
}
.movie-area{
    margin-bottom: 150px;
    padding-left: 60px;
    padding-right: 60px;
    position: relative;
}
.movie-area-wrap > .movie-area{
    margin-bottom: 0;
}
.movie-area::after{
    content: "";
    display: block;
    width: 75.3472%;
    height: 72%;
    position: absolute;
    top: 36px;
    left: 0;
    background-color: #fae6e6;
    z-index: 0;
}
.movie-area-wrap > .movie-area::after{
    display: none;
}
.movie-area > div{
    width: 1120px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

@media print, screen and (max-width: 1257px){
    /* movie-area */
    .movie-area > div{
        width: 100%;
    }
}

@media print, screen and (max-width: 1120px){
    /* movie-area */
    .movie-area-wrap{
        /*
        padding-bottom: 40px;
        */
    }
}

@media print, screen and (max-width: 1000px){
    /* movie-area */
    .movie-area-wrap{
        padding-bottom: 60px;
    }
    .movie-area{
        padding-left: 40px;
        padding-right: 40px;
    }
    .movie-area::after{
        height: 82%;
    }
}

@media print, screen and (max-width: 760px){
    /* movie-area */
    .movie-area-wrap{
        padding-top: 60px;
        padding-bottom: 24px;
    }
    .movie-area{
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 96px;
    }
    .movie-area::after{
        top: 32px;
    }
}

@media print, screen and (max-width: 640px){
    /* movie-area */
    .movie-area::after{
        width: 68%;
        height: 100%;
        position: absolute;
        top: 36px;
        left: 0;
        background-color: #fae6e6;
        z-index: 0;
    }
}

/* movie-list */
.movie-list{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.movie-list-box{
    width: calc(33.33333% - 56px * 2/3);
    width: -webkit-calc(100%/3 - 56px * 2/3);
    width: calc(100%/3 - 56px * 2/3);
    margin-right: 56px;
    margin-bottom: 56px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.movie-list-box:nth-of-type(3n){
    margin-right: 0;
}
.movie-list-box > a{
    display: block;
    width: 100%;
}

@media print, screen and (max-width: 1120px){
    /* movie-list */
    .movie-list-box{
        width: calc(33.33333% - 40px * 2/3);
        width: -webkit-calc(100%/3 - 40px * 2/3);
        width: calc(100%/3 - 40px * 2/3);
        margin-right: 40px;
        /*margin-bottom: 40px;*/
    }
}

@media print, screen and (max-width: 1000px){
    /* movie-list */
    .movie-list-box{
        width: -webkit-calc(50% - 20px * 1/2);
        width: calc(50% - 20px * 1/2);
        margin-right: 20px;
        /*margin-bottom: 20px;*/
    }
    .movie-list-box:nth-of-type(3n){
        margin-right: 20px;
    }
    .movie-list-box:nth-of-type(2n){
        margin-right: 0;
    }
}

@media print, screen and (max-width: 760px){
    /* movie-list */
    a:hover > .movie-list-img > img{
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@media print, screen and (max-width: 640px){
    /* movie-list */
    .movie-list{
        scroll-snap-type: x mandatory;
        white-space: nowrap;
        overflow-x: auto;
        display: block;
        padding-bottom: 2.5rem;
        margin-bottom: 36px;
    }
    .movie-list-box{
        scroll-snap-align: center;
        display: inline-block;
        width: 80%;
        white-space: normal;
        margin-right: 5px;
        margin-bottom: 0;
        vertical-align: top;
    }
    .movie-list-box:nth-of-type(3n){
        margin-right: 5px;
    }
    .movie-list-box:nth-of-type(2n){
        margin-right: 5px;
    }
}

/* movie-list-img */
.movie-list-img > span{
    overflow: hidden;
    display: inline-block;
    width: 100%;
    position: relative;
}
.movie-list-img > span::after{
    width: 17.2619%;
    aspect-ratio: 1/1;
    position: absolute;
    left: 50%;
    bottom: 23.6364%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);    
    content: "";
    background: url(/recruit/images/movie/icon-play-white.svg) center center no-repeat;
    background-size: contain;
    opacity: 0.6;
}
.movie-list-img > span > img{
    width: 100%;
    display: block;
    -ms-transition-duration: 0.5s;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
}
.movie-list-box > a:hover > .movie-list-img > span > img{
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* movie-list-name */
.movie-list-name{
    font-size: 2.1rem;
    line-height: 1.5;
    font-weight: 700;
    margin-top: 1.8rem;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.movie-list-box > a:hover > .movie-list-name{
    color: #c30a03;
}
.movie-list-name > span{
    padding-left: 2.5rem;
    display: inline-block;
    position: relative;
}
.movie-list-name > span::before{
    content: "";
    width: 14px;
    height: 2px;
    position: absolute;
    top: 1.5rem;
    left: 0;
    background-color: #c30a03;
}

@media print, screen and (max-width: 1000px){
    /* movie-list-name */
    .movie-list-name{
        margin-top: 1.5rem;
    }
}

@media print, screen and (max-width: 760px){
    /* movie-list-name */
    .movie-list-name{
        font-size: 1.9rem;
        margin-top: 1.2rem;
    }
    .movie-list-box > a:hover > .movie-list-name{
        color: #333333;
    }
    .movie-list-name > span{
        padding-left: 2rem;
    }
    .movie-list-name > span::before{
        width: 12px;
        top: 1.4rem;
    }
}

/* video-box */
.video-box{
  display: none;
}

/* video-item */
.video-item{
  max-height: 100%;
  max-width: 100%;
  /*max-width: 320px;*/ /* 動画の最大幅 */
  width: calc(56.25vh - 100px);
}
