body {
    padding-top: 90px;
}
.header {
    font-size: 30px;
    font-family: 'Times New Roman', Times, serif;
    background-color: darkred;
    color: #ffffff;

    width: 100%;
    height: 90px;
    box-sizing: border-box;
    position: fixed; /*ヘッダーを固定*/
    top: 0;
    left: 0;
    display: flex;
    align-items: center;

    z-index: 9999; /*固定ヘッダーを最前面に*/
}
.header-inner {
    width: 100%;
    height: 90px;
    display: flex; /*アイテムをを横並びに*/
    justify-content: space-between; /*アイテムを左右の端に*/
    align-items: center; /*アイテムの高さを揃える*/
}
.header-logo {
    display: block;
    width: 90px;
    height: 90px;
}
.icon {
    width: 80px;
    height: 80px;
    margin: 5px 5px;
}
.header-list ul {
    display: flex; /*アイテムを横並びに*/
}
.header-list ul li {
    font-size: 30px;
    margin-left:20px;
    margin-right: 20px;
    list-style: none; /*中黒消去*/
}
.header-list ul li a {
    color: #ffffff; /*header-list内のリンクを白くする*/
    text-decoration: none; /*リンクの下線を消去*/
}
.header-list ul li a:hover {
    text-decoration: underline;
}
.project {
    text-align: center;
}
.project-main-image {
    background-color: #ccc;
    height: 400px;
    margin-top: 100px;
}
.date {
    position: relative;
    left: 15%;
    font-size: 15px;
    color: #777;
}
.project-introduction {
    position: relative;
    text-align: left;
    left: 50%;
    transform: translate(-50%,0%);
    width: 80%;
    height: auto;
    border: solid 3px darkred;
    padding: 20px;
    margin: 100px 0px;
}
.summary {
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
    width: 50%;
    background-color: darkred;
    padding: 3px 10px;
    margin: 100px 0px;
    border-radius: 20px;
}
.summary h2 {
    color: #fff;
}
.summary p {
    text-align: left;
    color: #000;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.contents-boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-bottom: 10px;
    border-radius: 10px;
    background-color: #fff;
}
.contents-box {
    width: 300px;
    height: auto;
    padding: 8px 8px;
}
.contents-box img {
    width: auto;
    max-width: 450px;
    height: 300px;
}
.contents-box p {
    font-family: sans-serif;
    text-align: left;
    font-size: 30px;
    font-weight: bold;
    color: #000;
    width: 450px;
    padding: 0px 15px;
}
.contents-title {
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
    width: 80%;
    background-color: darkred;
    padding: 3px 10px;
    margin: 100px 0px;
    border-radius: 20px;
}
.contents-title h2 {
    color: #fff;
}
.contents-title p {
    text-align: left;
    color: #000;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.external-links {
    margin: 100px 0px;
}
.external-links a {
    display: block;
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
    width: 200px;
    height: auto;
    color: #fff;
    background-color: darkred;
    padding: 5px;
    margin: 50px 0px;
    border-radius: 10px;
    text-decoration: none;
}
.pictures {
    margin: 100px 0px;
}
.pictures img {
    height: 400px;
    margin-bottom: 30px;
}

.footer {
    color: #ffffff;
    background-color: darkred;
    padding: 30px;
    margin-top: 100px;
}
.footer a {
    color: #ffffff;
    text-decoration: none;
}
.footer li a:hover {
    text-decoration: underline;
}
.footer .footer-box {
    font-family: 'Times New Roman', Times, serif;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.footer .footer-box h1 {
    font-size: 40px;
}
.footer .footer-box h3 {
    font-size: 30px;
    margin: 0 0 20px 0;
    padding: 0;
}
.footer .footer-box .footer-box2 li {
    font-size: 20px;
    margin: 0;
    padding: 0 0 10px 0;
}
.footer .footer-box .footer-box1 {
    width: 30%;
}
.footer .footer-box .footer-box2 {
    width: 30%;
}
.footer .footer-box .footer-box2 ul {
    margin: 0;
    padding: 0 0 20px 0;
    list-style: none;
}
.footer .footer-box h3 {
    border: none;
}
.footer .footer-box .footer-box2 ul li a {
    display: block;
    padding: 5px 15px;
    border-bottom: 1px #d37474 solid;
}

@media screen and (max-width: 480px) {
    .header {
        width: 100%;
        height: 60px;

        z-index: 9999;
        /*固定ヘッダーを最前面に*/
    }

    .header-inner {
        width: 100%;
        height: 60px;
        display: flex;
        /*アイテムをを横並びに*/
        justify-content: space-between;
        /*アイテムを左右の端に*/
        align-items: center;
        /*アイテムの高さを揃える*/
    }

    .header-logo {
        display: block;
        width: 60px;
        height: 60px;
    }

    .header-list ul li {
        font-size: 20px;
        margin-left: 15px;
        margin-right: 15px;
        list-style: none;
        /*中黒消去*/
    }

    .icon {
        width: 50px;
        height: 50px;
        margin: 5px 5px;
    }

    .project-main-image {
        width: 100vw;
        height: auto;
    }

    .pictures img {
        width: 100vw;
        height: auto;
    }

    .contents-box {
        width: 100%;
        height: auto;
        padding: 0px 8px;
    }
    
    .contents-box img {
        width: 100%;
        height: auto;
    }
    
    .contents-box p {
        font-family: sans-serif;
        text-align: left;
        font-size: 20px;
        font-weight: bold;
        color: #000;
        width: 100%;
        padding: 0px 15px;
    }
}

@media screen and (max-width: 700px) {
    .footer .footer-box h1 {
        font-size: 20px;
    }
    .footer .footer-box h3 {
        font-size: 15px;
        margin: 0 0 15px 0;
        padding: 0;
    }
    .footer .footer-box .footer-box2 li {
        font-size: 10px;
        margin: 0;
        padding: 0 0 10px 0;
    }
}
