@charset "utf-8";

img {
    max-width: 100%;
}

video {
    max-width: 100%;
}

.movie {
    width: 60%;
    margin: 0 auto;
}


body {
    font-family: "M PLUS Rounded 1c", sans-serif;
    line-height: 1.5em;
}

header {
    height: 600px;
    background-image: url(../images/portfoliodot.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-top: 100px;
    margin-top: 30px;
    /* margin-bottom: 80px; */

}

header h1 {

    font-family: "Archivo Black", sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #fff;
    padding: 20px 20px;
    text-align: center;
    padding-top: 120px;
}


body header p {
    font-size: 40px;
    letter-spacing: 0.05em;
    color: #fff;
    padding-top: 60px;
    text-align: center;
}

header nav {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;

}


header ul {
    font-size: 20px;
    height: 35px;
    background-color: burlywood;
    display: flex;
    justify-content: center;
    gap: 300px;


}

header li {
    margin-top: 5px;
}


/* メイン */


h2 {
    font-family: "Sawarabi Gothic", sans-serif;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 0.15em;
    text-align: center;
    margin-bottom: 50px;
}


/* プロフィール */
.profile {
    background-color: #F9F5EC;
    height: 800px;
    margin-bottom: 80px;
}

.profile h2 {
    padding-top: 100px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.grid {
    display: grid;
    grid-template-rows: 10vw 20vw;
    grid-template-columns: 70% 30%;
    height: 600px;
}

.grid1 {
    padding-top: 50px;
    grid-row: 1/2;
    grid-column: 1/2;
    margin-left: 120px;
}

.grid2 {
    font-size: 20px;
    grid-row: 2/3;
    grid-column: 1/2;
    margin-left: 120px;
}

.grid2 .dog {
    width: 40%;
    margin-top: 50px;
    margin-left: 400px;
}

.grid .heart {
    width: 30px;
    margin-top: -170px;
    margin-left: 650px;
    transform: rotate(45deg);
}




/* .profile img {
   
    margin-top: 20px;
  
} */
.grid3 {
    width: 80%;
    margin-top: 50px;
    margin-left: -30px;
    grid-row: 1/3;
    grid-column: 2/3;
    filter: drop-shadow(2px 3px 4px #999);
}



/* スキル */

#skill1 {
    padding-top: 80px;
    margin-top: -80px;
}


.skill {
    width: 1080px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.skill h2 {
    margin-bottom: 80px;
}

.skill ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.skill ul li img {
    width: 126px;
    margin-bottom: 20px;
}

.skill ul li {
    width: 250px;
    text-align: center;
}


.skill p {
    margin-bottom: 20px;
    text-align: justify;
    margin: 30px 25px;
}


/* ワーク */
#work1 {
    padding-top: 80px;
    margin-top: -80px;
}



.work {
    width: 1080px;
    margin: 0 auto;
    margin-bottom: 80px;

}

.work h2 {
    margin-bottom: 80px;
}

.work ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.work ul li img {
    width: 300px;
    margin-bottom: 20px;
}

.work ul li {
    width: 300px;
    text-align: center;
}

/* .work p {
    margin-bottom: 20px;
    text-align: justify;
} */
.work p {
    margin-bottom: 20px;
    text-align: justify;
    margin: 10px 30px 30px;
}

/* web */
.web {
    width: 1080px;
    margin: 0 auto;
    margin-bottom: 80px;
}


.web h3 {
    text-align: center;
}

.web p {
    text-align: center;
}

/* .web ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.web ul li {
    width: 500px;
    text-align: center;
} */

.web ul li img {
    margin-bottom: 20px;
}

/* movie */
/* .movie {
    width: 1080px;
    margin: 0 auto;
}


.movie ul li {
    width: 800px;
    margin: 0 auto;
} */

.movie li {

    list-style-type: none;
}

.movie li h3 {
    text-align: center;
}

.movie li p {
    text-align: center;
    margin-bottom: 80px;
}

.movie li img {
    margin-bottom: 20px;
}



/* h3タイトル */

h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #151414;
}

/* h4タイトル */

h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* フッター */

footer {

    font-size: 20px;
    padding: 5px 0;
    background-color: burlywood;
    text-align: center;

}


@media (max-width: 767px) {

    header {

        height: 300px;
        background-image: url(../images/portfolioiphone.png);
        text-align: center;

    }

    header h1 {
        font-size: 35px;
        font-weight: 900;
        padding: 20px 20px;
        text-align: center;
        padding-top: 35px;
    }

    body header p {
        font-size: 20px;
        text-align: center;
        padding-top: 0px;
    }

    header ul {
        width: 100%;
        font-size: 15px;
        height: 35px;
        background-color: burlywood;
        display: flex;
        justify-content: center;
        gap: 60px;
    }

    h2 {
        font-size: 30px;
        letter-spacing: 0.15em;
        text-align: center;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 10px;
    }


    /* プロフィール */

    .profile h2 {
        padding-top: 50px;
        margin: 0 auto;
        margin-bottom: 30px;
    }

    .grid {
        display: block;
    }

    .grid1 {
        padding-top: 10px;
        margin-left: 30px;
    }

    .grid2 {
        width: 90%;
        font-size: 15px;
        margin: 0 auto;
        text-align: justify;
    }

    .grid3 {
        width: 50%;
        /* margin-top: 100px; */
        padding-top: 100px;
        margin: 0 auto;
    }

    .grid .heart {
        width: 6%;
        margin-top: -100px;
        margin-left: 300px;
        transform: rotate(45deg);
    }

    .grid2 .dog {
        width: 50%;
        margin-top: 10px;
        margin-left: 170px;
    }

    /* スキル */

    .skill {
        width: 90%;
    }

    .skill ul li {
        width: 44%;
        text-align: center;
    }

    /* ワーク */

    .work {
        width: 90%;

    }

    .work ul {
        padding: 0 20px;
    }

    /* web */
    .web {
        width: 90%;
    }


    .web ul li {
        width: 340px;
        text-align: center;
    }

    .movie {
        width: 80%;

    }
}