@charset "utf-8";
/* -------------------------------------------
Common Style
------------------------------------------- */
a { transition: all ease-out .3s; }
main .Pages header {
    position: relative;
}
main .Pages header h1 {
    font-size: 1.2em;
    line-height: 1.4;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    color: #777777;
}
main .Pages header h1 {
    padding: 2em 6%;
    border-bottom: solid 1px #BBBBBB
}
main .Pages header h1 span.ContentsTitle {
    font-size: 1.75em;
    font-weight: 600;
    color: #222222;
    margin-top: 1rem
}
main .Pages header h1 span.english {
    font-size: 0.65em;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}
main .Pages header .ContentsList .active {
    font-weight: 500;
    color: #222222;
}
.WorksCategory {
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9em;
}
.WorksCategory dt {
    box-sizing: border-box;
    padding: 0.25em 0.5em;
    font-weight: 500;
}
.WorksCategory dt i {
    margin-left: 0.5em;
    font-size: 1em;
}
.WorksCategory.foot {
    padding-top: 0;
    border-top: solid 1px #BBB;
    border-bottom: solid 1px #BBB;
}
.ContentsList {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0.5em;
}

/*Woks_detail*/
.hide-area {
	display: none;
}
.modaal-content-container {
    display: flex;
    flex-wrap: wrap;
}
.modaal-content-container h3 {
    width: 100%;
    margin-bottom: 1em;
}
.modaal-content-container figure {
    display: flex;
    flex-wrap: wrap;
}
.modaal-content-container figure figcaption dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start
}
.modaal-content-container figure figcaption dl dt {
    box-sizing: border-box;
    width: 7em;
    text-align: center;
    background: #f5f5f5;
    padding: 0.25em 1em;
    border-radius: 3px;
    font-weight: 400;
    border-bottom: solid 1px #BBB;
}
.modaal-content-container figure figcaption dl dd {
    box-sizing: border-box;
    width: calc(100% - 7em);
    padding: 0.25em 0 0.25em 1.5em;
    margin-bottom: 1.5em;
    border-bottom: solid 1px #BBB;
}
.modaal-content-container .main-img {
    width: 100%;
    height: auto;
    margin-bottom: 1.5em;
    display: block;
}
.modaal-content-container .sub-img {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}


/*WorksList*/
#WorksList {
    position: relative;
}
#WorksList section {
    position: relative;
}
#WorksList ul {
    display: flex;
    flex-wrap: wrap;
}
#WorksList ul li {
    box-sizing: border-box;
    text-align: center;
}
#WorksList ul li .works_info {
    display: flex;
    flex-direction: column-reverse;
    margin: 1em 1em 0.5em;
    text-align: left
}
#WorksList ul li .works_info .works_tag {
    font-size: 0.75em;
}
#WorksList ul li .works_info .works_tag span {
    display: inline-block;
    line-height: 1;
    padding: 0.25em 0.5em;
    margin-right: 0.5em
}


/* -------------------------------------------
MediaQuery
------------------------------------------- */
/*SmartPhone*/
@media screen and (max-width:767px) {
    .sp_elm { display: block; }
    .pc_elm { display: none; }
    
    .WorksCategory {
        padding: 2em 3% 0;
        flex-direction: column;
    }
    .WorksCategory.foot {
        margin-top: 32px;
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .WorksCategory dt:nth-last-of-type(1) {
        margin-top: 1.25em;
    }
    .ContentsList {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0.5em;
    }
    .ContentsList li:before {
        content: '-';
        margin: 0 0.5em
    }
    
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: column;
    }
    .modaal-content-container h3 {
        font-size: 1.5em;
    }
    .modaal-content-container figure {
        flex-direction: column-reverse;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 2em;
    }
    .modaal-content-container .sub-img li {
        width: 48%;
        margin-bottom: 4%
    }
    
    
    /*WorksList*/
    #WorksList article {
        position: relative;
        padding: 64px 0 0;
    }
    #WorksList article ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 1% 0;
        justify-content: space-between;
    }
    #WorksList article ul li {
        width: 49.5%;
        margin-bottom: 3em;
    }
    #WorksList article ul li .link_btn {
        padding-left: 1em;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
    }
 
}

@media screen and (min-width:768px) and (max-width:1024px) {
    
    .WorksCategory {
        padding: 2em 3% 0;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
    .WorksCategory.foot {
        margin-top: 48px;
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .WorksCategory dd {
        padding-top: 0.25em;
        width: calc(100% - 8.5em);
        margin-bottom: 0.5em;
    }
    .ContentsList {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0.5em;
    }
    .ContentsList li:after {
        content: '-';
        margin: 0 0.5em
    }
    .ContentsList li:nth-last-of-type(1):after {
        content: none;
        margin: 0 0;
    }
    
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: column;
    }
    .modaal-content-container h3 {
        font-size: 1.75em;
    }
    .modaal-content-container figure {
        flex-direction: column-reverse;
    }
    .modaal-content-container .main-img img {
        width: 100%;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        margin-bottom: 1em;
    }
    .modaal-content-container .sub-img li {
        width: 31%;
        margin: 0 3.5% 3.5% 0; 
    }
    .modaal-content-container .sub-img li:nth-of-type(3n) {
        margin-right: 0;
    }
       
    /*WorksList*/
    #WorksList article {
        position: relative;
        padding: 64px 0 0;
    }
    #WorksList article ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 1% 0;
        justify-content: space-between;
    }
    #WorksList article ul li {
        width: 24.5%;
        margin-bottom: 3em;
        font-size: 0.85em;
    }
    #WorksList article ul li .link_btn {
        padding-left: 1em;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
    }
 
}

/*Tablet*/
@media screen and (max-width:1024px) {
    
}

/*Desktop*/
@media screen and (min-width:768px) {
    .sp_elm { display: none; }
    .pc_elm { display: block; }

}

@media screen and (min-width:1025px) {
    .sp_elm { display: none; }
    .pc_elm { display: block; }
    
    .WorksCategory {
        padding: 1em 6% 0.75em;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        border-bottom: solid 1px #BBB;
    }
    .WorksCategory.foot {
        margin-top: 64px;
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }
    .WorksCategory dt {
        width: 10em;
    }
    .WorksCategory dd {
        padding-top: 0.25em;
        width: calc(100% - 10em);
        margin-bottom: 0.5em;
    }
    .ContentsList {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0.5em;
    }
    .ContentsList li:after {
        content: '-';
        margin: 0 0.5em
    }
    .ContentsList li:nth-last-of-type(1):after {
        content: none;
        margin: 0 0;
    }
    /*Woks_detail*/
    .modaal-content-container {
        flex-direction: row;
    }
    .modaal-content-container h3 {
        font-size: 1.75em;
    }
    .modaal-content-container figure {
        width: 100%;
        flex-direction: row-reverse;
        justify-content: space-between
    }
    .modaal-content-container figure figcaption {
        width: 48%;
    }
    .modaal-content-container figure .pictarea {
        width: 48%;
    }
    .modaal-content-container .main-img img {
        width: 100%;
    }
    .modaal-content-container .sub-img {
        flex-direction: row;
        margin-bottom: 1em;
    }
    .modaal-content-container .sub-img li {
        width: 22.75%;
        margin: 0 3% 3% 0; 
    }
    .modaal-content-container .sub-img li:nth-of-type(4n) {
        margin-right: 0;
    }
    
    /*WorksList*/
    #WorksList article {
        position: relative;
        padding: 80px 0 0;
    }
    #WorksList article section {
        margin-bottom: 96px;
        position: relative;
        display: flex;
        flex-wrap: wrap;
    }
    /*WorksList*/
    #WorksList {
        position: relative;
        margin-bottom: 96px;
    }
    #WorksList article ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 0.25% 0 0.25%;
    }
    #WorksList article ul li {
        margin-bottom: 4em;
    }
    #WorksList article ul li .link_btn {
        padding-left: 1em;
        font-size: 0.75em;
        text-align: left;
        justify-content: flex-start;
    }

}

@media screen and (min-width:1025px) and (max-width:1619px) {
    #WorksList article ul li {
        width: 24.5%;
        margin: 0 0.25% 3em;
    }
}

@media screen and (min-width:1620px) {
     #WorksList article ul li {
        width: 19.5%;
        margin: 0 0.25% 3em;
    }
}

