/* 全体に対する設定 */
* {
    /* outline: 1px solid #ff0000; */
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

/* img全体に対する設定 */
img {
    max-width: 100%;
    vertical-align: bottom;
}

/* フォント全体に対する設定 */
html {

    font-family: "Kiwi Maru", serif;
    font-weight: 400;
    font-style: normal;

    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;

    font-family: "Zen Old Mincho", serif;
    font-weight: 400;
    font-style: normal;
}

p,
li {
    line-height: 1.7;
}

/* listに対する設定 */
ul {
    list-style-type: none;
}

/* linkに対する設定 */
a {
    color: #534741;
    text-decoration: none;
    font-weight: bolder;
}

a:hover {
    color: #9e887e;
}

section {
    padding-top: 100px;
    margin-top: -100px;
}


/* ヘッダーに対する設定 */
header {
    position: fixed;
    width: 100%;
    height: 48px;
}

.nav ul {
    display: flex;
    justify-content: center;
    gap: 160px;
    background-color: #8ac3be;
    padding: 10px;

}

/* ヒーローに対する設定 */
/* .hero {
    padding: 190px 0;
    background-image: url(../images/hero.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 100px;
} */
.hero-box {
    background-image: url(../images/hero.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 100px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 48px;
}

h1 {
    font-size: 80px;
    font-family: "Kiwi Maru";
    color: #ffffff;
    text-align: center;
}

.hero p {
    font-size: 40px;
    font-family: "Kiwi Maru";
    color: #ffffff;
    text-align: center;
}


/* メイン全体に対する設定 */
main {
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 10px;
}

h2 {
    font-size: 40px;
    font-family: "Kiwi Maru";
    background-color: #8ac3be;
    color: #534741;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 30px;
    font-family: "Kiwi Maru";
    color: #534741;
    text-align: center;
    margin-bottom: 30px;
}

h4 {
    font-size: 20px;
    font-family: "Zen Kaku Gothic New";
    text-align: center;
    padding-top: 10px;
    padding-bottom: 5px;
}


/* プロフィールに対する設定 */
.profile {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 100px;
}

.name {
    font-weight: bolder;
    padding-bottom: 10px;
}

.my {
    width: 200px;
    height: 300px;
}


/* スキルに対する設定 */
#skill ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    margin: 0 auto;
    gap: 40px 20px;
}

/* #skill li {
    width: 200px;
    margin: 0 auto;
    gap: 40px 20px;
} */

#skill ul {
    margin-bottom: 100px;
}



/* ワークに対する設定 */
.use {
    font-family: "Zen Kaku Gothic New";
    font-weight: bolder;
    text-align: center;
    padding-bottom: 5px;
}

.target {
    font-weight: bolder;
    padding-bottom: 5px;
}

#work ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
    margin-bottom: 100px;
    gap: 40px;
}

/* #work li {
    width: 300px;
    margin: 0 auto 40px;
} */

/* トップへ戻る */
.pagetop {
    position: relative;
}

.pagetopimg {
    text-align: center;
}

/* .pagetop p {
    font-family: Kiwi Maru;
    font-size: 20px;
    font-weight: bold;
    color: #534741;
} */

/* .pagetoptext {
    position: absolute;
    left: 50%;
    transform: translatex(-50%);
    top: 30%;
} */

/* フッターに関する設定 */
footer p {
    font-family: "Kiwi Maru";
    background-color: #8ac3be;
    color: #534741;
    padding: 10px 0;
    text-align: center;
}

/* モバイル対応 */
@media(max-width: 767px) {

    /*  モバイルヘッダー*/
    .nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    /* モバイルメイン */
    main {
        padding: 4%;
    }

    /* モバイルヒーロー */
    .hero-box {
        padding: 28vh 0;
    }

    h1 {
        font-size: 70px;

        .hero p {
            font-size: 20px;
        }
    }

    /* モバイルプロフィール */
    .profile {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        gap: 40px;
        margin-bottom: 100px;
    }

    .my {
        margin: 0 auto;
    }

    /* モバイルスキル */
    #skill ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        text-align: center;
    }

    #skill img {
        width: 80%;
    }

    /* モバイルワーク */
    #work ul {
        display: grid;
        grid-template-columns: 1fr;
        gap: 80px;
    }

    /* トップへ戻る */
    .pagetop {
        width: 40%;
        margin: 0 auto;
    }

    .pagetop p {
        font-size: 18px;

        .pagetoptext {
            top: 20%;
        }



    }