@charset "utf-8";

/**
 * parts_test.css
 * description
 *
 * Created by Qbist on 2016/03/18.
 * Copyright (c) 2016 Qbist. All rights reserved.
 */

main#works {
    max-width: 1050px;
    margin: 0 auto;
}

.indexlead {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 1.8;
    color: #777;
    padding-bottom: 50px;
    text-align: center;
    margin-top: -70px;
}

/* 制作実績（ワークス）カテゴリーで使用する見出し*/
.works-ttl {
    height: 88px;
    padding-left: 100px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 90px;
    background-size: contain !important;
}

.works-ttl.books {
    background: url("../img/ico_books.png") no-repeat left center;
}

.works-ttl.web_appli {
    background: url("../img/ico_web.png") no-repeat left center;
}

.works-ttl.illust {
    background: url("../img/ico_illust.png") no-repeat left center;
}

.works-ttl.pamphlet {
    background: url("../img/ico_pamphlet.png") no-repeat left center;
}

.works-ttl.movie {
    background: url("../img/ico_movie.png") no-repeat left center;
}

.works-ttl.manual {
    background: url("../img/ico_manual.png") no-repeat left center;
}

.works-ttl.company_pamphlet {
    background: url("../img/ico_company_pamphlet.png") no-repeat left center;
}

.works-ttl.goods {
    background: url("../img/ico_goods.png") no-repeat left center;
}

.works-ttl.promo {
    background: url("../img/ico_promo.png") no-repeat left center;
}

.works-ttl h1 {
    font-size: 28px;
    font-size: 2.8rem;
    padding: 12px 0 5px;
}

.works-ttl h1 span {
    font-size: 15px;
}

.works-ttl p {
    font-size: 18px;
    font-size: 1.8rem;
}

/* 制作実績（ワークス） 年号 */
p.year {
    border-left: 8px solid #41a0d2;
    font-size: 32px;
    font-weight: 700;
    margin-top: 5%;
    padding-left: 0.3em;
}

/* 制作実績（ワークス）ボックスエリア  */
.area-box-works,
.area-box-worksIndex {
    max-width: 1050px;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: start;
    -webkit-box-pack: start;
    justify-content: flex-start;
}

.area-box-worksIndex {
    text-align: center;
    margin-top: 7%;
}

.area-box-works {
    margin-top: 1%;
}

/* 制作実績（ワークス）ボックス */
.box-worksIndex {
    border: 1px solid #b5b5b5;
    padding: 25px 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.box-worksIndex a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-indent: -999px;
}

.box-worksIndex a:hover {
    background-color: #fff;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
    opacity: 0.5;
}

.box-works {
    border: 1px solid #b5b5b5;
    padding: 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.box-works.type-clm2 {
    width: 510px;
    margin-bottom: 24px;
}

.box-works.type-clm3 {
    width: 330px;
    margin-bottom: 24px;
}

.box-works.type-clm2:nth-child(odd) {
    margin: 0 30px 24px 0;
}

.box-works.type-clm3:nth-child(3n-1) {
    margin: 0 30px 24px;
}

.box-worksIndex.type-clm3 {
    width: 330px;
    margin-bottom: 30px;
}

.box-worksIndex.type-clm3:nth-child(3n-1) {
    margin: 0 30px 30px;
}

.box-worksImg {
    text-align: center;
    height: 318px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.box-worksImg a:hover {
    opacity: 0.7;
}

.box-worksImg img {
    max-height: 318px;
    max-width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.box-worksImg--db img {
    max-width: 49%;
}

.box-worksImg video {
    max-width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box-works p {
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.4;
}

.box-works .maker {
    font-size: 12px;
    font-size: 1.2rem;
}

.box-works .titleName {
    padding: 0.5em 0;
    line-height: 2.2rem;
    font-size: 17px;
    font-size: 1.7rem;
}

.box-works .client {
    font-size: 12px;
    font-size: 1.2rem;
    color: #646464;
    margin-bottom: 1.5em;
}

.box-works .produce {
    border-top: 2px dotted #41a0d2;
    padding: 0.9em 0;
}

.box-works .copyR {
    font-size: 10px;
    font-size: 1rem;
    padding-top: 0.6em;
    border-top: 1px solid #ccc;
}

.box-works .copyR .sup {
    display: block;
    padding-top: 1em;
}

#works .box-works .copyR .icon-copyright::before {
    font-size: 9px;
    font-size: 0.9rem;
    bottom: 0;
    line-height: 13px;
    line-height: 1.3rem;
}

.box-worksIndex .category {
    font-size: 24px;
    font-size: 2.4rem;
    padding: 15px 0 10px;
}

.box-worksIndex .en-category {
    font-size: 13px;
    font-size: 1.3rem;
}

.box-worksIndex .sub-category {
    font-size: 15px;
    font-size: 1.5rem;
    padding: 20px 0 0;
}

.ico-category {
    position: absolute;
    top: -20px;
    left: -15px;
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    z-index: 10;
}

.ico-category img {
    max-width: 72px;
    max-height: 72px;
}

.box-worksIndexImg {
    width: 278px;
    height: 278px;
    margin: 0 auto;
}

.box-worksIndexImg img {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 282px;
    max-height: 284px;
}

/* 制作実績（ワークス）ナビ */
#works_navi {
    position: relative;
    padding-bottom: 60px;
}

#works_navi .btn-lnavi {
    margin: 0;
    padding: 0;
    font-size: 14px;
    position: absolute;
    top: 0;
    right: 0;
    width: 235px;
    height: 40px;
    background: #41a0d2;
    color: #fff;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

#works_navi .btn-lnavi label {
    display: block;
    padding: 13px;
}

#works_navi .btn-lnavi ul {
    list-style: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 235px;
    z-index: 100;
    text-align: right;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

#works_navi .btn-lnavi ul li {
    visibility: visible;
    overflow: visible;
    height: 40px;
    z-index: 10;
    background-color: rgba(77, 51, 12, 0.75);
}

#works_navi .btn-lnavi ul li:first-child {
    padding-top: 10px;
}

#works_navi .btn-lnavi ul li:last-child {
    padding-bottom: 10px;
}

#works_navi .btn-lnavi ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    padding: 13px 22px 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

#works_navi .btn-lnavi ul li a:hover {
    color: #ffe400;
}

input[type="checkbox"].on-off {
    display: none;
}

input[type="checkbox"].on-off + ul {
    height: 0;
    overflow: hidden;
}

input[type="checkbox"].on-off:checked + ul {
    height: calc((40px * 8) + 20px);
    /* メニューの数 */
}

#works .icon-copyright::before {
    position: relative;
    bottom: 0.1rem;
    padding-right: 0.2rem;
    font-size: 12px;
}

.box-works.andmore {
    position: relative;
    background-image: url("../img/bg_pattern_qbist.gif");
    text-indent: -9999px;
}

.box-works .broadcast-frame {
    background: url("../img/movie/bg_broadcast.gif") no-repeat center top;
    padding: 0 35px;
}

.box-works .broadcast-frame a {
    display: block;
    position: relative;
    top: 40%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: 20px;
    font-size: 2rem;
    line-height: 1.4em;
}

.ytp-cued-thumbnail-overlay-image {
    background-size: contain;
}

/*twitter動画*/
.twitter-tweet {
    width: 458px;
    height: 257px;
    overflow: hidden;
    border-radius: 5px;
}

@media only screen and (max-width: 1050px) {
    main#works {
        padding: 0 2%;
    }

    .area-box-works,
    .area-box-worksIndex {
        -ms-flex-pack: center;
        -webkit-box-pack: center;
        justify-content: center;
    }

    .box-worksIndex.type-clm3:nth-child(3n-1) {
        margin: 0 10px 30px;
    }

    .box-worksIndex.type-clm3 {
        margin: 0 10px 30px;
    }

    aside.area-contact p {
        display: block;
        width: 100%;
    }

    .btn-contact-wrap {
        display: block;
        width: 100%;
        margin-top: 1em;
    }

    .btn-basic.contact {
        display: block;
        width: 100%;
        padding-top: 0.8em;
    }

    .box-works.type-clm2:nth-child(odd) {
        margin: 0 0 24px 0;
    }

    .box-works.type-clm2 {
        margin: 0 10px 24px;
    }

    .andmore {
        display: none;
    }

    .box-works.type-clm3:nth-child(3n-1) {
        margin: 0 12px;
    }

    .box-works.type-clm3 {
        margin: 0 12px 24px;
    }
}

@media only screen and (max-width: 640px) {
    #works section {
        padding: 0 2%;
    }

    .works-ttl {
        margin-bottom: 70px;
    }

    #works_navi {
        top: -50px;
    }

    .area-box-works,
    .area-box-worksIndex {
        -ms-flex-pack: distribute;
        justify-content: space-around;
    }

    .box-works.type-clm2:nth-child(odd) {
        margin: 0 0px 24px 0;
    }
}

/* 2019/12/04イラスト スライド用*/
.box-worksImg .slide_illust img {
    top: 0;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 50%;
}
.slick-prev {
    width: 3rem;
    height: 3rem;
    left: 0.5rem;
}
.slick-next {
    width: 3rem;
    height: 3rem;
    right: 0.5rem;
}
.slick-prev::before,
.slick-next::before {
    color: #41a0d2;
    font-size: 3rem;
}
.btnPlay a::after {
    content: "";
    background: url("../img/movie/btn_play_tw.png") no-repeat center center/60px
        60px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
