@charset "utf-8";

#theme {
    background:url("../img/theme_project.jpg") no-repeat right center;
    background-color: black;
    color: #fff;
}
#theme .contents {}
#theme p {}


/*枠*/
.section {
    padding-bottom: 50px;
    border-bottom: 1px #ddd solid;
}
.section~.section {
    margin-top: 50px;
}
.contents .section:last-child {
    border-width: 0;
    padding-bottom: 0;
}

/*コンテンツ*/
.project  {
    display: flex;
    flex-wrap: wrap;
}
.project .project-cover {
    width: 400px;
    margin-right: 80px;
}
.project .project-txt {
    flex: 1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.project h3 {
    padding: 0 10px 5px 10px;
    border-bottom: 1px #eee solid;
}
.project h3 span {
    border-left: 5px #ddd solid;
    padding-left: 13px;
}
.project h3~h3 {
    margin-top: 50px;
}

.project .project-cover {
    border-radius: 10px;
    /*background-color: #f9f9f9;*/
    background: url("../img/backimg01.png") repeat left top;
    padding: 20px 40px;
    position: relative; /*下線用*/
}
.project .project-cover::before{
    position: absolute;
    top: 0;
    left: 40px;
    width: 6vw;
    height: 4px;
    content: '';
    background: #004094;
}
.project .project-cover img {
    width: 240px;
    height: 240px;
    border-radius: 240px;
    margin: 50px auto 30px;
    display: block;
}

.project .project-cover .read {
    margin-top: 30px;
}
.project .project-cover .read h2 {
    position: relative;
    line-height: 100%;
    /*white-space: nowrap;*/
    /*22-48*/
    font-size: clamp(1.375rem, 1.05rem + 1.63vw, 3rem);
    color: #ddd;
    margin-top: 0;
    margin-bottom: 70px;
    font-weight: normal;
}
.project .project-cover .read h2 span {
    /*24-38*/
    font-size: clamp(1.375rem, 1.175rem + 1vw, 2.375rem);
    color: #000;
    position: absolute;
    top: 40px;
    left: 20px;
    /*white-space: nowrap;*/
    font-weight: bold;
    line-height: 120%;
}
.project .project-cover .read p {
    /*16-18*/
    font-size: clamp(1rem, 0.975rem + 0.13vw, 1.125rem);
}

/*見出し調整用*/
#pj01 {}
#pj02 {}
#pj03 .read h2 span {
    /*22-32*/
    font-size: clamp(1.375rem, 1.25rem + 0.63vw, 2rem);
}
#pj04 .read h2 span {
    /*22-26*/
    font-size: clamp(1.375rem, 1.284rem + 0.45vw, 1.625rem);
}



/*関連リンク*/
.takebox {
    width: 100%;
    max-width: 800px;
    margin: 50px auto 20px;
}



/*表*/
.tbl-technical {
    width: 100%;
    border-collapse: collapse;
    border: 1px #ddd solid;
}
.tbl-technical th {
    line-height: 140%;
    padding: 10px;
    background-color: #7b8da3;
    color: #fff;
}
.tbl-technical th:first-child {
    border-right: 1px #fff solid;
}
.tbl-technical td {
    width: 50%;
    line-height: 140%;
    padding: 10px;
    border-right: 1px #ddd dotted;
    border-bottom: 1px #ddd solid;
}


/*参考文献*/
.reference {
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    /*14-16*/
    font-size: clamp(0.875rem, 0.85rem + 0.13vw, 1rem);
    line-height: 120%;
}
.reference dl {
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.reference dt {
    margin: 0 0 10px 0;
    font-weight: bold;
}
.reference dd {
    margin: 0;
    line-height: 140%;
}

/*図*/
.figure {
    margin: 20px auto;
    padding: 20px;
}
.figure figcaption {
    text-align: center;
    font-weight: bold;
    margin-top: 20px;
    line-height: 140%;
}



/****************************/
/*レスポンシブ*/
/****************************/
@media screen and (max-width: 1279px) {
    .project .project-cover {
        width: 360px;
        margin-right: 40px;
        padding: 20px 30px;
    }
}
@media screen and (max-width: 979px) {
     .project {
        flex-direction: column;
     }
    .project .project-cover {
        width: 100%;
        margin: 0 auto 10px;
        display: flex;
        flex-wrap: wrap;
    }
    .project .project-cover .read {
        flex: 1;
        margin-top: 20px;
    }
    .project .project-cover img {
        width: 30%;
        height: auto;
        border-radius: 10px;
        margin: 20px 0 0 30px;
        object-fit: cover;
    }
    .project .project-cover::before{
        width: 15vw;
    }
    .project .project-txt {
        padding: 0;
    }

    #pj03 .read h2 span {
        /*24-38*/
        font-size: clamp(1.375rem, 1.175rem + 1vw, 2.375rem);
    }
    #pj04 .read h2 span {
        /*24-38*/
        font-size: clamp(1.375rem, 1.175rem + 1vw, 2.375rem);
    }

    .takebox {
        margin: 30px auto 20px;
    }

}

@media screen and (max-width: 779px) {
}

@media screen and (max-width: 579px) {
    .project ul {
        margin-left: 20px;
        padding: 0;
    }
    .project .project-cover {
        flex-direction: column;
        padding: 20px;
    }
    .project .project-cover .read {
        margin-top: 20px;
    }
    .project .project-cover img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .reference dl {
        padding: 15px 20px;
    }

    .figure {
        margin: 20px auto;
        padding: 10px 20px;
    }


}
@media screen and (max-width: 379px) {

}

