/*YouTubeがクリックされないためのマスク*/
#youtube-mask {
    position: absolute;
    /*絶対配置になる*/
    z-index: 2;
    /*下から２番目に配置*/
    top: 0;
    width: 100%;
    height: 75%;
}

/* タブレットデザイン */
@media only screen and (max-width: 1200px) {
    #youtube-mask {
        height: 30%;
    }
}

/* モバイルデザイン */
@media screen and (max-width: 600px) {
    #youtube-mask {
        height: 30%;
    }
}


/*
 * ========= オープニングyoutubeデザイン ==========
 */
/* opening-youtube 設定 */
#opening-youtube-area {
    position: fixed;
    z-index: 1;
    /*最背面に設定*/
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    /*はみ出た部分は表示しない　overflow: visible;なら表示される*/
    opacity: 0;
    /*不透明度　０は完全に透明＝不可視、１は完全に不透明*/
}

/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/
#opening-youtube-area.appear {
    animation-name: PageAnimeAppear;
    animation-duration: .7s;
    animation-fill-mode: forwards;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#opening-youtube iframe {
    /*天地中央配置*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh;
    /* 16:9 の幅→16÷9=177.77% */
    height: 50.25vw;
    /* height: 56.25vw; */
    /* 16:9 の幅→9÷16=56.25% */
    min-height: 100%;
    min-width: 100%;
}

/* タブレットデザイン */
@media only screen and (max-width: 1200px) {
    #opening-youtube iframe {
        /*天地中央配置*/
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /*縦横幅指定*/
        width: 50.77777778vh;
        /* width: 177.77777778vh; */
        /* 16:9 の幅→16÷9=177.77% */
        height: 50.25vw;
        /* height: 56.25vw; */
        /* 16:9 の幅→9÷16=56.25% */
        min-height: 100%;
        min-width: 100%;
    }
}

/* スマホデザイン */
@media screen and (max-width: 600px) {
    #opening-youtube iframe {
        /*天地中央配置*/
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /*縦横幅指定*/
        width: 45.77777778vh;
        /* width: 177.77777778vh; */
        /* 16:9 の幅→16÷9=177.77% */
        height: 50.25vw;
        /* height: 56.25vw; */
        /* 16:9 の幅→9÷16=56.25% */
        min-height: 100%;
        min-width: 100%;
    }
}

/*
 * ========== TOP youtubeデザイン ==========
 */
.responsive iframe {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    /* height: 50%; */
    height: 30.25vw;
}

/* Movie Gallery */
#movie h2 {
    margin: 50px 0 40px 0;
}

@media (max-width:767px) {
    .responsive iframe {
        /* width: revert-layer;
        height: revert-layer; */
        width: 100%;
        height: 59.25vw;
    }
}

/*
 * ========== Movie デザイン ===========
 */
.movie_img_box {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/* ボタンデザイン */
.movie-button-bk {
    margin-top: 15px;
    justify-content: flex-end;
}

#movie .movie-button {
    width: 155px;
    height: 48px;
    background: #ffeb00 0% 0% no-repeat padding-box;
    text-align: center;
    font: normal normal 600 14px/20px Zen Kahu Gothic New;
}

#movie .movie-button:after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin: -3px 0 0 5px;
    background: url(../img/icon/right-arrow.png) no-repeat;
    background-size: contain;
    vertical-align: middle;
}

/*
  * ========== mivie-slider ==========
  */
/* PC用スライダーデザイン */
.movie-slider-pc {
    display: block;
}

.movie-slider-sp {
    display: none;
}

.movie-slider .slick-slide {
    margin: 0 60px;
    padding: 60px 0;
    position: relative;
}

/* slick img tag */
.movie-slider .slick-slide .slide-img {
    width: 400px;
    height: 200px;
    transition: all 0.6s ease 0.4s;
    opacity: 0.8;
    box-shadow: 7px 7px 15px -5px #666;
    overflow: hidden;
}

.movie-slider .slick-slide .slick-current .slide-img {
    transform: scale(1, 2);
    opacity: 1;
}

.movie-slider .slick-slide .slide-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* slick p */
.movie-slider .slick-slide .slide-p {
    width: 400px;
    height: 60px;
    transition: all 0.6s ease 0.4s;
    opacity: 0.8;
    box-shadow: 7px 7px 15px -5px #666;
    overflow: hidden;
    margin-top: 40px;
}

.movie-slider .slick-slide .slick-current .slide-p {
    transform: scale(1.2);
    opacity: 1;
}

.movie-slider .slick-slide .slide-p p {
    display: block;
    width: 100%;
    height: 50%;
    object-fit: cover;
}

/* next prev btn */
.movie-slider .slick-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffeb00;
    cursor: pointer;
    border: none;
    outline: none;
    font-size: 0;
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
}

.movie-slider .slick-arrow::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border: 1px solid #09000d;
    border-width: 3px 3px 0 0;
    position: absolute;
    top: 24px;
    transform: rotate(45deg);
}

.movie-slider .slick-next {
    right: 13.139092vw;
}

.movie-slider .slick-prev {
    left: 13.139092vw;
}

.movie-slider .slick-next::before {
    left: 20px;
}

.movie-slider .slick-prev::before {
    border-width: 0 0 3px 3px;
    right: 22px;
}

/* タブレット用スライダーデザイン */
@media only screen and (max-width: 1200px) {
    .movie-slider .slick-next {
        top: 17vw;
        right: 0.139092vw;
    }

    .movie-slider .slick-prev {
        top: 17vw;
        left: 0.139092vw;
    }
}


/* モバイル用スライダーデザイン */
/* mobile slick */
@media (max-width:767px) {
    .movie-slider-pc {
        display: none;
    }

    .movie-slider-sp {
        display: block;
    }

    .movie-slider .slick-slide {
        width: 350px;
        height: 200px;
        padding-top: 10px;
        padding-bottom: 109px;
        position: relative;
        overflow: hidden;
    }

    .movie-slider .slick-slide img {
        display: block;
        width: 80%;
        height: 175%;
        object-fit: cover;
    }

    .movie-slider img {
        margin: auto;
        display: block;
    }

    .movie-slider .slick-arrow {
        top: 40%;
    }

    .movie-slider .slick-next {
        right: -1.333333vw;
    }

    .movie-slider .slick-prev {
        left: -1.333333vw;
    }

    .movie-slider .slick-next::before {
        left: 20px;
    }

    .movie-slider .slick-prev::before {
        border-width: 0 0 3px 3px;
        right: 20px;
    }
}

/*追加 start*/
/*
 *==========アイシンタイトルデザイン==========
*/

.aisin-title-text {
    /*位置指定*/
    position: absolute;
    /*親要素の半分右にずらす*/
    left: 50%;
    /*要素自体の半分、左にずらす*/
    transform: translateX(-50%);
}

.aisin-img {
    display: flex;
    justify-content: center;
}

.aisin-img>img {
    width: 200px;
}

@media (max-width:767px) {
    .aisin-sp-img {
        text-align: center;
    }
}

/*追加 end*/