@charset "utf-8";
body{
    background-color: rgba(95, 184, 225, 0.259);
    font-family: "M PLUS 1p", sans-serif;
    color: #333;
    line-height: 2;
    letter-spacing: 0.07em;
    font-size: 17px;
}


main{
    background-color: #ffffffdb;
    max-width: 980px;
    margin: 0 auto;
    margin-bottom: 0px;
    text-align: center;
}

/* Header */
header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    color: royalblue;
}
.header-inner{
    width: 100vw;
    height: auto;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container{
    width: 25vw;
    height: auto;
    background-color: #fff;
    border: 3px royalblue solid;
    border-radius: 0 30px 30px 0;
    display: flex;
    justify-content: center;
    position: absolute;
    top: -3px;
    left: -3px;
}

.logo{
    width: 20vw;
    padding: 15px;
    align-items: start;
}
nav{
    width: 45vw;
    position: absolute;
    top: 0;
    right: 0;
}

header ul{
    width: 45vw;
    display: flex;
    background-color: #fff;
    border: 3px royalblue solid;
    border-radius: 30px 0 0 30px;
    display: flex;
}

header ul li{
    width: auto;
    text-align: left;
    font-size: 1.8em;
    padding-left: 2vw;

}

header ul li a{
    display: block;
    font-weight: bold;
}

/* main-visual */
.main-visual-container{
    width: 100%;
    margin: auto;
}

.main-visual-container img{
    width: 100%;
    margin-bottom: 10px;
}

.main-visual-container div{
    width: 100%;
    height: 90vh;
}

.main-visual-container h2{
    width: 100%;
    font-weight: bold;
    font-size: 2em;
    color: rgb(246, 38, 38);
    background: white;
}

.main-visual{
    margin-bottom: 60px;
}


/* container */

.common-h2{
    max-width: 90%;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px dashed #656b5e;
    padding: 0 20px;
    margin: 0 auto 30px auto;
}

.common-desc{
    max-width: 80%;
    text-align: center;
    margin: 0 auto 30px auto;
}


/* about */
.about-container{
    max-width: 90%;
    text-align: center;
    margin: 0 auto 30px auto

}
.about-container .common-h3{
    max-width: 100%;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 20px auto;
}

.about-desc{
    max-width: 80%;
    margin: 0 auto 20px auto;
}

.about-desc02{
    max-width: 80%;
    margin: 0 auto 60px auto;
    font-size: 1.25em;
    font-weight: bold;
}

.hobby-container{
    padding-bottom: 10px;
}

/* skills */

.skills-wrapper{
    max-width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto 40px auto;
}
.skills-container{
    width: 40%;
    height: auto;
    background-color: #fff;
    border: 2px solid royalblue;
    border-radius: 20px;
    padding: 30px;
    margin: 0 10px 20px 10px;
}


.skills{
    width: 50%;
}

.skills-h3{
    max-width: 100%;
    font-weight: bold;
    text-align: center;
    margin: 0 auto 5px auto;
    border-bottom: 2px dashed #656b5e;
}

.skills-desc{
    max-width: 100%;
    text-align: justify;
}

/* works home のli内の画像 */
.works-img{
    max-width: 100%;
    margin-bottom: 10px;
}

.works-h3{
    font-weight: bold;
    text-align: center;
    margin: 0 auto 5px auto;
    border-bottom: 2px dashed royalblue;
}




/* homeとworksのul li */

.works-container{
    max-width: 90%;
    padding-bottom: 40px;
    margin: 0 auto 100px auto;
}
.works-wrapper{
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 40px auto;
}
.works-wrapper li{
    max-width:  40%;
    column-gap: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
    margin: 0 20px 20px 10px;
    border: 2px solid royalblue;
}


.works-container img{
    border-radius: 10px;
}

.works-container-wrapper{
    max-width: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 0 auto 40px auto;
}


.works-container-wrapper li{

    width: 40%;
    height: auto;
    background-color: #fff;
    border: 2px solid royalblue;
    border-radius: 20px;
    padding: 30px;
    margin: 0 10px 20px 10px;
}

.common-h4{
    font-weight: bold;
    border-bottom: 2px dashed royalblue;
}

.video-wrapper{
    display: flex;
}
.video-common-desc{
    max-width: 80%;
    text-align: justify;
    margin: 0 auto 30px auto;
}


.common-h3{
    font-weight: bold;
    text-align: center;
    margin: 0 auto 5px auto;
}

.h3-desc{
    font-size: 0.8em;
    font-weight: normal;
    margin: 0 auto 20px auto;
}

/* 各作品ページの枠 */

.works-contents-container{
    width: 80%;
    margin: auto;
}
.works-contents-container .common-h2{
    font-size: 1.5em;
    margin: 20px auto 30px auto;
}

.works-contents-container .common-desc{
    max-width: 70%;
    text-align: center;
    margin: 0 auto 30px auto;
}

.works-contents-container-contents ul{
    max-width: 54vw;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 auto 40px auto;
}

.works-contents-container-contents ul li{
    column-gap: 10px;
    display: flex;
}

/* 各作品ページ画像の設定 */
.presentation-wrapper{
    max-width: 80%;
    padding: 0 20px;
    margin: 0 auto 30px auto;
}
.presentation{
    width: 55%;
    display: flex;
    justify-content: center;
    margin: auto;
}
.presentation img{
    max-width: 90%;
    padding-right: 15px;
    margin-bottom: 15px;
}
.a4{
    width: 80%;
    display: flex;
    justify-content: center;
    margin: auto;
}
.product img{
    width: 80%;
    margin: 0 10px 30px 20px;
}

.a4 img{
    width: 90%;
    justify-content: center;
}


/* 制作時間と制作環境 */

.narrow-wrapper{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    
}

.narrow-wrapper .works-contents-container-block{
    width: 50%;
}


.narrow-h2{
    max-width: 420px;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px dashed #656b5e;
    margin-bottom: 30px;
}

.narrow-desc{
    max-width: 40vw;
    max-width: 100%;
    text-align: center;
    margin: 0 20px 30px 20px;
    padding: 0 20px;
}

iframe{
    margin-bottom: 20px;
}

/* footer */
footer{
    max-width: 100vw;
    display: contents;
    text-align: center;
}
.footer-container{
    font-size: 0.8em;
    background-color: #f0f7a7;
}


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

    body{
    background-color: rgba(95, 184, 225, 0.259);
    font-family: "M PLUS 1p", sans-serif;
    color: #333;
    line-height: 2;
    letter-spacing: 0.07em;
    font-size: 10px;
}
    /* header */

    .header-inner{
        width: 100vw;
        height: 70px;
        margin: 0;
    }
    .logo-container{
        width: 30vw;
        height: auto;
        position: relative;
    }
    .logo{
        width: 80%;
        padding: 5px 0 5px 10px;
    }
    .nav{
        display: flex;
        width: 45vw;
        height: 60px;
        position: absolute;
        top: 0;
        right: 0;
    }

    header ul{
        width: 45vw;
        height: auto;
        margin:  auto;
        border-radius: 10px 0 0 10px;
    }

    header ul li{
        width: auto;
        font-size: 12px;
        text-align: left;
        padding-left: 2vw;
    }

    /* works&about */

    .works-wrapper{
        max-width: 100vw;
        margin: 20px;
        display: block;
    }

    .works-wrapper li{
        max-width:  90%;
        background-color: #fff;
        padding: 20px;
        margin: 0 auto 20px auto;
    }

    /* about page */
    .skills-wrapper{
        display: block;
    }

    .skills-container{
        width: 90%;
    }


    /* 各制作物ページ */
    .presentation-wrapper{
        width: 90%;
        padding: 0;
        align-items: center;
    }

    .presentation{
        width: 100%;
        display: block;
    }
    .presentation img{
        padding: 0;
    }

    .product img{
        margin: 0;
        padding-bottom: 10px;
    }

}