.ad_movie {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    top: 0px;
    left: 0px;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: .75s;
}

.ad_movie.active {
    opacity: 1;
    pointer-events: all;
}

.ad_movie_inner {
    border-radius: 10px;
    position: absolute;
    width: calc(100% - 60px);
    height: calc(100% - 100px);
    left: 30px;
    top: 30px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad_movie_inner a {
    transition: 0.5s;
}

.ad_movie_inner a:hover {
    filter: brightness(1.4);
}

.ad_movie_inner a img {
    width: 100%;
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.ad_movie_bottom {
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background: rgba(0, 0, 0, 0.8);
}

.ad_movie_bottom_inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.moviePlayBtn {
    color: #fff;
    background: rgb(209, 0, 0);
    padding: 7px 15px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.5s;
    line-height: 1em;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.moviePlayBtn:hover {
    background: rgb(255, 87, 87);
}

.moviePlayBtn:before {
    display: block;
    content: "";
    border-top: solid 5px transparent;
    border-left: solid 10px #fff;
    border-bottom: solid 5px transparent;
}

.ad_msgArea {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 2;
    color: #fff;
    transition: .5s;
}

.ad_msgArea p {
    margin: 0px;
}

.timeout .ad_msgArea {
    opacity: 0;
    pointer-events: none;
}

.ad_buttonArea {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
    transform: scale(0.9);
}

.timeout .ad_buttonArea {
    opacity: 1;
    pointer-events: all;
    transform: scale(1.0);
}


/* タイマー表示 */
.timer-container {
    position: relative;
    width: 38px;
    height: 38px;
}

.timer-svg {
    transform: rotate(-90deg);
    /* 12時の位置からアニメーションを開始させる */
}

.circle-progress {
    fill: none;
    stroke: #ffbb00;
    stroke-width: 5;
    stroke-linecap: round;
    /* 半径r=20 の場合、周長は 2 * π * 20  */
    stroke-dasharray: 125.6;
    stroke-dashoffset: 0;
}

.active .circle-progress {
    /* 5秒かけて線を引き抜く */
    animation: countdown 5s linear forwards;
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0;
        /* ゲージ満タン */
    }

    to {
        stroke-dashoffset: 125.6;
        /* ゲージゼロ */
    }
}


/* 広告を閉じるボタン バージョン */
.movieAdCloseBtn {
    display: none;
    color: #fff;
    text-align: right;
    position: absolute;
    z-index: 10;
    right: 15px;
    top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    line-height: 1em;
}

.movieAdCloseBtn>span {
    position: relative;
    display: inline-block;
    padding: 0px;
    padding-left: 18px;
    cursor: pointer;
    transition: opacity .5s;
}

.movieAdCloseBtn>span:hover {
    opacity: 0.7;
}

.movieAdCloseBtn>span::before,
.movieAdCloseBtn>span::after {
    position: absolute;
    display: block;
    content: "";
    left: 0px;
    top: calc(50%);
    width: 15px;
    height: 3px;
    border-radius: 5px;
    background: #fff;
}

.movieAdCloseBtn>span::before {
    transform: rotate(45deg);
}

.movieAdCloseBtn>span::after {
    transform: rotate(-45deg);
}

.type_close .movieAdCloseBtn {
    display: block;
}

.type_close .ad_movie_bottom {
    display: none;
}

.type_close .ad_movie_inner {
    height: calc(100% - 30px);
    top: 15px;
}

/* banner表示 */
.type_close .ad_movie_inner .bnr {
   width: 75%;
   margin: 0 auto;
}


/* youtube表示 */
.type_close .ad_movie_inner .youtube {
    position: relative;
    width: 100%;
    height: 100%;
}

.type_close .ad_movie_inner .youtube .movieAdCloseBtn {
    position: absolute;
    right: 0px;
    top: -12px;
}

.ad_movie_inner .youtube .youtubeTtl {
    background: #f29900;
    color: #fff;
    border-radius: 5px 5px 0px 0px;
    padding: 5px 10px;
    position: absolute;
    left: 0px;
    top: -12px;
    font-weight: bold;
}

.ad_movie_inner .youtube .youtubeTtl span {
    transform: skewX(-10deg);
    display: inline-block;
}

.ad_movie_inner .youtube iframe {
    position: absolute;
    width: 100%;
    height: calc(100% - 20px);
    top: 28px;
    border: solid 4px #f29900;
}

.type_close .ad_movie_inner .youtube .youtubeTtl {
    top: -2px;
}

.type_close .ad_movie_inner .youtube iframe {
    position: absolute;
    width: 100%;
    height: calc(100% - 45px);
    top: 34px;
    border: solid 4px #f29900;
}



/* スマホ時 */
@media (max-width: 640px) {
    .ad_msgArea p {
        font-size: 11px;
    }

    .ad_movie_inner .youtube .youtubeTtl {
        padding: 2px 8px;
        font-size: 11px;
    }

    .ad_movie_inner {
        width: calc(100% - 24px);
        height: calc(100% - 60px);
        left: 12px;
        top: 13px;
    }

    .ad_movie_inner .youtube .movieAdCloseBtn {
        top: -16px;
    }

    .movieAdCloseBtn>span {
        padding-left: 18px;
        cursor: pointer;
        transition: opacity .5s;
    }

    .ad_movie_inner .youtube .youtubeTtl {
        top: -5px;
    }

    .ad_movie_inner .youtube iframe {
        position: absolute;
        width: 100%;
        height: calc(100% - 15px);
        top: 20px;
        border: solid 2px #f29900;
    }
    .type_close .ad_movie_inner .youtube iframe {
        top: 23px;
        height: calc(100% - 20px);
    }

    .moviePlayBtn {
        padding: 5px 15px;
        font-size: 13px;
    }

    .ad_movie_bottom {
        height: 35px;
    }

    /* タイマー表示 */
    .timer-container svg {
        width: 30px;
        height: 30px;
        position: relative;
        top: 3px;
    }

    .type_close .ad_movie_inner {
        height: calc(100% - 28px);
        top: 13px;
    }
}

/* UZOU表示 */
.uzou {
    padding-top: 0px;
}

.type_close .uzou {
    padding-top: 10px;
}

.uzou .movieAdCloseBtn>span {
    padding-top: 0px;
    padding-bottom: 0px;
}

.uzou .pc {
    display: block;
}

.uzou .sp {
    display: none;
}

@media (max-width: 860px) {
    .uzou {
        transform: scale(0.8);
    }
}

@media (max-width: 640px) {
    .uzou {
        padding-top: 0px;
    }

    .uzou .pc {
        display: none;
    }

    .uzou .sp {
        display: block;
    }
}

@media (max-width: 560px) {
    .uzou {
        position: relative;
        top: -5px;
    }

    .uzou .uz-13-news-tnc_sp .__uz__widget .__uz__articles-area .__uz__article .__uz__article-img-thumbnail {
        height: 120px;
    }

    .uzou .uz-13-news-tnc_sp .__uz__widget .__uz__articles-area .__uz__article .__uz__article-img-thumbnail .__uz__article-img {
        padding-top: 0px;
        width: 120px;
    }

    .uzou .__uz__article-content {
        font-size: 80%;
    }
}