@charset "UTF-8";
* {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font-style: normal;
}

body {
    /* for iOS */
    -webkit-text-size-adjust: 100%;
}

img {
    /* for Chrome */
    -webkit-backface-visibility: hidden;
}

/***********************共通設定************************/
/*----------------------------------------------------
 レイアウト
----------------------------------------------------*/
#archiveWorks #works,
#archiveWorks #worksNav {
    /* 1366- */
}

@media all and (min-width: 1366px) {
    #archiveWorks #works .inner,
    #archiveWorks #works .innerTB,
    #archiveWorks #worksNav .inner,
    #archiveWorks #worksNav .innerTB {
        padding: 0;
        width: 1080px;
    }
}

@media screen and (min-width: 1446px) {
    #archiveWorks #works .inner,
    #archiveWorks #works .innerTB,
    #archiveWorks #worksNav .inner,
    #archiveWorks #worksNav .innerTB {
        padding: 0;
        width: 1366px;
    }
}

#works {
    margin-bottom: 50px;
}

/*----------------------------------------------------
 トップ
----------------------------------------------------*/
.top_content {
    /* 768- */
}

@media all and (min-width: 768px) {
    .top_content {
        background: url(../images/works/header_bg_pc.jpg) no-repeat;
        background-size: cover;
    }
}

/*----------------------------------------------------
 ヘッダーメニュー
----------------------------------------------------*/
#worksNav {
    padding: 40px 0;
    /* 768- */
    /* 1136- */
}

#worksNav .border {
    border-bottom: 1px solid #D1D1D1;
    padding-bottom: 20px;
}

#worksNav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 630px;
    margin: 0 auto;
}

#worksNav ul a {
    color: #D1D1D1;
    font-size: 15px;
    letter-spacing: 0.1em;
    font-weight: bold;
    margin: 0 10px;
}

#worksNav ul a.current {
    color: #388CD5;
}

@media all and (min-width: 768px) {
    #worksNav {
        padding: 0;
        margin-top: 120px;
        margin-bottom: 40px;
    }

    #worksNav .border {
        padding-bottom: 40px;
    }

    #worksNav ul a {
        font-size: 18px;
        margin: 0 20px;
    }
}

@media all and (min-width: 1136px) {
    #worksNav {
        margin-top: 120px;
        margin-bottom: 70px;
    }

    #worksNav ul a {
        font-size: 24px;
    }
}

/*----------------------------------------------------
 一覧
----------------------------------------------------*/
#workslist {
    /* 768- */
    /* 1136- */
}

#workslist > li + li {
    margin-top: 40px;
}

#workslist .w_title {
    font-size: 18px;
    line-height: 1.5;
}

#workslist .w_title a {
    /*color: #000;*/
}

#workslist .text {
    margin-top: 12px;
    font-size: 12px;
    color: #8c8c8c;
}

#workslist li:not(:first-child) .text{
    display: none;
}

#workslist .detail {
    margin-top: 20px;
}

@media all and (min-width: 768px) {
    #workslist {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    #workslist .images a {
        display: block;
    }

    #workslist .images img {
        -webkit-transition: all 1.3s;
        -o-transition: all 1.3s;
        transition: all 1.3s;
    }

    #workslist > li:first-child {
        width: 100%;
        border-bottom: 1px solid #D1D1D1;
        margin-top: 0;
        padding-bottom: 40px;
    }

    #workslist > li:first-child .columns {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }

    #workslist > li:first-child .columns .detail {
        width: 39.35185%;
    }

    #workslist > li:first-child .columns .images {
        width: 51.85185%;
    }

    #workslist > li:first-child .w_title {
        font-size: 25px;
    }

    #workslist > li:first-child .text {
        font-size: 14px;
    }

    #workslist > li:not(:first-child) {
        width: 47%;
    }
}

@media all and (min-width: 1136px) {
    #workslist::after {
        content: "";
        display: inline-block;
        width: 31%;
    }

    #workslist .images a {
        width: 100%;
        position: relative;
        -webkit-transform: perspective(1px) translateZ(0);
        transform: perspective(1px) translateZ(0);
        overflow: hidden;
        -webkit-transition-property: color;
        -o-transition-property: color;
        transition-property: color;
        -webkit-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
    }

    #workslist .images a::after, #workslist .images a::before {
        -webkit-transition: all 0.3s;
        -o-transition: all 0.3s;
        transition: all 0.3s;
        content: "";
        position: absolute;
        display: block;
        left: 0;
        top: 0;
        -webkit-transform-origin: left top;
        -ms-transform-origin: left top;
        transform-origin: left top;
        opacity: 0;
    }

    #workslist .images a::after {
        background: url(../images/detail.png) no-repeat;
        background-size: contain;
        background-position: center center;
        width: 50%;
        height: 50%;
        left: 50%;
        top: 50%;
        max-width: 225px;
        max-height: 60px;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        -webkit-transition-delay: 0.3s;
        -o-transition-delay: 0.3s;
        transition-delay: 0.3s;
        z-index: 2;
    }

    #workslist .images a::before {
        width: 0%;
        height: 100%;
        mix-blend-mode: multiply;
        background: #103C84;
        z-index: 1;
    }

    #workslist .images a:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #workslist .images a:hover::before {
        opacity: 1;
        width: 100%;
    }
    #workslist .images a:hover::after {
        width: 50%;
        height: 50%;
        opacity: 1;
        -webkit-transition-delay: 0s;
        -o-transition-delay: 0s;
        transition-delay: 0s;
    }

    #workslist > li + li {
        margin-top: 70px;
    }

    #workslist > li:first-child {
        padding-bottom: 70px;
    }

    #workslist > li:first-child .w_title {
        font-size: 25px;
    }

    #workslist > li:first-child .text {
        margin-top: 15px;
    }

    #workslist > li:not(:first-child) {
        width: 31%;
    }

    #workslist .detail {
        margin-top: 30px;
    }
}

/*----------------------------------------------------
 タグ
----------------------------------------------------*/
.tags {
    margin-top: 20px;
    /* 768- */
}

.tags li {
    border: 1px solid #388CD5;
    font-size: 10px;
    color: #388CD5;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 12px;
    display: inline-block;
    margin: 0 10px 5px 0;
}

@media all and (min-width: 768px) {
    .tags li {
        font-size: 10px;
    }
}
