@charset "utf-8";
/* 2022謹賀新年_動画再生ページ */

body{
    color: #FFF;
    font-size: 16px;
    font-family: 'Sawarabi Gothic', sans-serif;
    background-color: #333;
}

section{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.video-inner{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: calc(66.666% + 40px); */
    padding: 0 20px;
    max-width: 1320px;
}

.video-inner a{
    display: inline-block;
    margin-bottom: 18px;
    margin-left: auto;
    margin-right: 10px;
    padding-right: 40px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: #FFF;
    text-decoration: none;
    background: url(../images/back.png) no-repeat center right / contain;
}
.video-inner .box{
    height: 66.666vh;
}
.box video{
    display: block;
    width: auto;
    height: 100%;
}

.video-control-area{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px 60px 10px 10px;
}
.play-btn{
    flex-shrink: 0;
    width: 70px;
    height: 46px;
    padding: 10px;
    position: relative;
    box-sizing: border-box;
    font-size: 0;
    color: #FFF;
    background-color: transparent;
    border: none;
    overflow: hidden;
    text-indent: 100vw;
    white-space: nowrap;
}
.play-btn:hover{
    cursor: pointer;
}
.play-btn::before{
    content: "";
    display: block;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
}
.play-btn[data-status="init"]::before,
.play-btn[data-status="pause"]::before{
    background-image: url(../images/play.png);
}
.play-btn[data-status="play"]::before{
    background-image: url(../images/pause.png);
}
.play-btn[data-status="end"]::before{
    background-image: url(../images/replay.png);
}

.video-seekbar-box{
    flex-grow: 1;
    height: 10px;
    padding-left: 10px;
}
.video-seekbar-inner{
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.video-seekbar-inner::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    border: 2px solid #FFF;
    pointer-events: none;
}

.video-seekbar-box input[type="range"]{
    -webkit-appearance: none;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 100%;
	background-color: #333;
    box-sizing: border-box;
}

input[type="range"]::-moz-range-track {
	width: 100%;
	height: 100%;
	background-color: #333;
    box-sizing: border-box;
}

input[type="range"]::-ms-track {
	width: 100%;
	height: 100%;
	color: transparent;
	border: none;
	background-color: #333;
    box-sizing: border-box;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 0;
	height: 0;
    border-radius: 0;
	box-shadow: -100vw 0 0 100vw #FFFFFF;
	/* display: none; */
}

input[type="range"]::-moz-range-thumb {
	width: 0;
	height: 0;
	background-color: #333;
	border: none;
	box-shadow: -100vw 0 0 100vw #FFFFFF;
	border-radius: 0;
}

input[type="range"]::-ms-fill-lower {
	background: #FFFFFF;
}

input[type="range"]::-ms-thumb {
	color: transparent;
	width: 0;
	height: 0;
}

input[type="range"]::-ms-tooltip {
	display: none;
}

input[type="range"]::-ms-ticks-before {
	display: none;
}

input[type="range"]::-ms-ticks-after {
	display: none;
}

@media screen and (max-width: 768px){
    .video-inner{
        padding-left: 0;
        padding-right: 0;
        overflow: hidden;
    }
    .video-inner a{
        margin-bottom: 14px;
        margin-right: 19px;
        padding-right: 26px;
        font-size: 16px;
    }
    .video-inner .box{
        height: auto
    }
    .box video{
        display: block;
        width: 100%;
        height: auto;
    }
    .video-control-area{
        padding: 5px 40px 5px 10px;
    }
    .play-btn{
        width: 40px;
    }
    .video-seekbar-box{
        height: 5px;
    }
    .video-seekbar-inner::before{
        border-width: 1px;
    }
}