@charset "utf-8";

/* ==================================================================

    works.css

=================================================================== */

/* --------------------------------
■共通
-------------------------------- */

/* --------------------------------
■categories
-------------------------------- */
#categories ul.list a {
    font-size: var(--font-size14);
    transition: all .3s;
}
    #categories ul.list li.selected a {
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    #categories ul.list a:hover {
        text-decoration: underline;
        text-underline-offset: 4px;
    }

/* --------------------------------
■worksList
-------------------------------- */
#worksList ul.works_list {
    gap: 40px 32px;
}
#worksList ul.works_list li {
    width: calc(( 100% - 64px) / 3)
}
#worksList figcaption {
    margin-top: 20px;
}
#worksList figcaption p {
    line-height: 1.2;
}
#worksList figcaption .ttl {
    font-size: var(--font-size-l);
    font-weight: 600;
}
#worksList figcaption .loc,
#worksList figcaption .cat {
    font-size: var(--font-size14);
    color: var(--text-color-gray);
}

@media only screen and (max-width: 1080px) {


    #worksList ul.works_list li {
        width: calc(( 100% - 32px) / 2)
    }
}

@media only screen and (max-width: 767px) {

    #worksList ul.works_list {
        gap: 32px;
    }
}

/* --------------------------------
■worksDetails
-------------------------------- */
#worksDetails {
    padding-top: 0;
}
#worksDetails .main_img {
    margin: 0 calc(50% - 50vw);
}
#worksDetails .sentence {
    margin: 60px auto;
}
#worksDetails .sentence p {
    font-size: var(--font-size-m);
    line-height: 1.8;
}
#worksDetails .sentence p + p {
    margin-top: 43px
}

#worksDetails .voice_box {
    padding: 60px 10%;
    background:  url("../../images/works/voice_bg.jpg") repeat center / cover;
    border: 1px solid #D8D8D8;
    margin-bottom: 32px;
}
#worksDetails .voice_box dt {
    width: 22%;
    flex-shrink: 0;
}
#worksDetails .voice_box dd {
    width: calc(( 100% - 22%) - 32px);
    line-height: 1.8;
}

#worksDetails .data_box {
    margin-bottom: 47px;
}
#worksDetails .data_box table.tableStyle {
    background: var(--bg-color-beige);
}
#worksDetails .data_box table.tableStyle th {
    width: 6em;
}
#worksDetails .data_box table.tableStyle th,
#worksDetails .data_box table.tableStyle td {
    padding: 20px 0;
    line-height: 1.5;
    vertical-align: top;
}
    #worksDetails .data_box table.tableStyle tr:first-child th,
    #worksDetails .data_box table.tableStyle tr:first-child  td {
        padding-top: 0;
    }
#worksDetails .data_box table.tableStyle td {
    text-align: right;
}

@media only screen and (max-width: 1080px) {

    #worksDetails .sentence {
        margin: 40px auto;
    }
    #worksDetails .voice_box {
        padding: 32px 4%;
        margin-bottom: 40px;
    }
    #worksDetails .data_box {
        margin-bottom: 40px;
    }
}

@media only screen and (max-width: 767px) {

    #worksDetails .sentence p {
        font-size: var(--font-size-s);
    }
    #worksDetails .sentence p + p {
        margin-top: 30px;
    }
    #worksDetails .data_box table.tableStyle th,
    #worksDetails .data_box table.tableStyle td {
        display: table-cell;
        padding: 16px 0;
        border-bottom: 1px solid #D6D6D6;
    }
    #worksDetails .data_box table.tableStyle td {
        width: auto;
        text-align: left;
    }
}