@charset "utf-8";

.video{
    padding: 106px 0 108px;
}

.video_list_box>li{
    margin-bottom: 55px;
}
.video_list_box>li>a{
	text-decoration: none;
}

.video_list_box>li:last-of-type{
    margin-bottom: 0;
}

.video_item_btn_bg{
    background: -moz-linear-gradient(124deg, #246fdf 0%,#134cc3 100%);
    background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#134cc3), color-stop(100%,#246fdf));
    background: -webkit-linear-gradient(124deg, #246fdf 0%,#134cc3 100%);
    background: -o-linear-gradient(124deg, #134cc3 0%,#246fdf 100%);
    background: -ms-linear-gradient(124deg, #134cc3 0%,#246fdf 100%);
    background: linear-gradient(124deg, #134cc3 0%,#246fdf 100%);
    cursor: pointer;
}

.video_item_btn{
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 22px 50px 18px 40px;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: auto 100%;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.video_item_btn.vib_bg01:before,.video_item_btn.vib_bg04:before{
    position: absolute;
    content: '';
    width: 23px;
    height: 23px;
    top: 0;
    bottom: 0;
    right: 27px;
    margin: auto;
    background: url("../img/common_arrow07.png") no-repeat center center/cover;
}

.vib_bg01{
    background-image: url(/img/sub_video_bg01_pc.png);
}

.vib_bg02{
    background-image: url(/img/sub_video_bg02_pc.png);
}

.vib_bg03{
    background-image: url(/img/sub_video_bg03_pc.png);
}
.vib_bg04{
    background-image: url(/img/sub_video_bg04_pc.png);
}

.video_item_btn.to_close:before{
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.video_ib_tit,
.video_ib_txt{
    color: #ffffff;
}

.video_ib_tit{
    font-size: 2.4rem;
    line-height: 1.41;
    font-weight: bold;
}

.video_ib_txt{
    font-size: 1.4rem;
    line-height: 1.57;
    margin-top: 5px;
}

.video_ytb_ibox{
    cursor: pointer;
    position: relative;
}
.video_ytb_ibox::before{
	content: "";
	width: 61px;
	height: 61px;
	background: url(/img/ico_play.png) no-repeat center center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	z-index: 1;
}

.video_ytb_ibox img{
    display: block;
}

.video_ytb{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.video_ytb_box{
    display: none;
    padding: 46px 30px;
    background-color: #f7f7f7;
}

.video_ytb_list{
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -28px;
}

.video_ytb_list>li{
    width: 301px;
    margin-right: 18px;
    margin-bottom: 28px;
    max-width: calc((100% - 36px)/3);
}

.video_ytb_list>li:nth-of-type(3n){
    margin-right: 0;
}

.video_ytb_itxt{
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.85;
    /*text-align: center;*/
    margin-top: 12px;
    display: flex;
    align-items: flex-start;
}
.video_ytb_itxt .ico_new{
	padding: 4px 5px 2px 5px;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-right: 10px;
}

/* video pop_box  */

.video_pop_box{
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: rgba(0,0,0,0.6);
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.video_pop_box>.inner{
    background-color: #ffffff;
    position: relative;
}

.video_pop_inner>img{
    width: 100%;
    display: block;
}

.video_pop_inner>iframe{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.video_pop_pos{
    display: none;
}

.video_pop_inner{
    font-size: 0;
    overflow-y: auto;
    max-height: 70vh;
}

.video_pop_close{
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 26px;
    height: 26px;
    background-color: #2571e0;
    cursor: pointer;
}

.video_pop_close:before,
.video_pop_close:after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 19px;
    height: 2px;
    background-color: #ffffff;
}

.video_pop_close:before{
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}

.video_pop_close:after{
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.ico_new_wrap{
	text-align: center;
	margin-top: 10px;
}
/*-------------------- tax-video_cate --------------------*/
.tax-video_cate .video_ytb_box{
	display: block;
}
.tax-video_cate .video_item_btn:before{
	display: none;
}
.tax-video_cate .video_ytb_box{
	display: block;
}
.tax-video_cate .video_item_btn_bg{
	cursor: auto;
}
.tax-video_cate .video_item_btn_bg:hover{
	opacity: 1;
}
.single-video .ttl_h2{
	margin-bottom: 50px;
}

@media only screen and (min-width: 1025px){
    .video_item_btn_bg:hover{
        opacity: 0.8;
    }
}

@media only screen and (max-width: 1024px){
    .video {
        padding: 90px 0;
    }

    .video_list_box>li {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 1023px){
    .video {
        padding: 80px 0;
    }

    .video_list_box>li {
        margin-bottom: 40px;
    }

    .video_item_btn {
        padding: 22px 50px 18px 30px;
    }

    .video_ib_tit {
        font-size: 2.2rem;
    }

    .video_item_btn:before {
        right: 22px;
    }

    .video_ytb_box {
        display: none;
        padding: 35px 20px;
    }

    .video_ytb_list>li {
        width: calc((100% - 30px)/3);
        margin-right: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .video_ytb_itxt {
        margin-top: 10px;
    }

    .video_ytb_list {
        margin-bottom: -20px;
    }
}

@media only screen and (max-width: 767px){
    .video {
        padding: 70px 0;
    }

    .video_ib_tit {
        font-size: 2rem;
    }

    .video_item_btn:before {
        width: 20px;
        height: 20px;
        right: 18px;
    }

    .video_item_btn {
        padding: 22px 50px 18px 25px;
        background-size: 100% auto;
        background-position: right bottom;
    }

    .video_list_box>li {
        margin-bottom: 30px;
    }

    .video_ytb_list>li {
        width: calc((100% - 15px)/2);
        margin-right: 15px !important;
        margin-bottom: 15px;
        max-width: 100%;
    }

    .video_ytb_list>li:nth-of-type(2n){
        margin-right: 0 !important;
    }

    .video_ytb_list {
        margin-bottom: -15px;
    }

    .vib_bg01{
        background-image: url(/img/sub_video_bg01_sp.png);
    }

    .vib_bg02{
        background-image: url(/img/sub_video_bg02_sp.png);
    }

    .vib_bg03{
        background-image: url(/img/sub_video_bg03_sp.png);
    }

    .vib_bg04{
        background-image: url(/img/sub_video_bg04_sp.png);
    }
	.single-video .ttl_h2{
		margin-bottom: 30px;
	}
}

@media only screen and (max-width: 480px){
    .video {
        padding: 60px 0;
    }

    .video_ytb_list>li {
        width: 100%;
        max-width: 301px;
        margin-right: 0 !important;
        margin-bottom: 20px;
    }

    .video_ytb_list{
        justify-content: center;
        margin-bottom: -20px;
    }

    .video_ib_tit {
        font-size: 1.8rem;
    }

    .video_item_btn:before {
        width: 18px;
        height: 18px;
        right: 15px;
    }

    .video_pop_close:before,
    .video_pop_close:after {
        width: 15px;
    }

    .video_pop_close {
        width: 24px;
        height: 24px;
    }
}