body{
    font-family: "Noto Serif", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-size: 18px;
    font-variation-settings:
      "wdth" 100;
  }
  .header{
    position: relative;
  }
  .header-title{
    position: absolute;
    top: 50%;
    left: 50%;
    color: #ffffff;
    translate: -50% -50%;
  }
  .title{
    font-size: 76.5px;
    white-space: nowrap;
  }
  .subtitle{
    text-align: center;
    margin-top: 20px;
    font-size: 44px;
  }
  .header-button{
    position: absolute;
    top: 1%;
    right: 1%;
    color: #ffffff;
    z-index: 3;
  }
  .header-item{
    width: 48px;
    height: auto;
    margin-right: 10px;
    margin-top: 10px;
}
img{
    vertical-align: bottom;
}
.header-img{
    width: 100%;
    height: 800px;
    object-fit: cover;
}
.page-top{
    display: none;
}
.main-about{
    width: 983px;
    margin: 0 auto;
}
h3{
    font-size: 40px;
}
h4{
    font-size: 29px;
    margin-bottom: 10px;
}
.hobby-item{
    margin-bottom: 20px;
}
.about {
    margin-top: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 20px;
}
.about-contents{
    display: flex;
}
.about::after,
.work::after {
    content: "";
    border-bottom: 1px solid#010101;
    /* height: 1px; */
    flex: 1;
    /* background-color: #010101; */
}
.name{
    display: flex;
    font-weight: bold;
    font-size: 29px;
    margin-bottom: 20px;
}
.about-main{
    margin-top: 150px;
    width: 400px;
}
.about-img{
    margin-top: 130px;
    margin-left: auto;
    margin-bottom: 163px;
}
.visual{
    width: 100%;
    height: 438px;
    object-fit: cover;
}
.main-hobby{
    width: 983px;
    margin: 0 auto;
}
.hobby {
    width: 983px;
    /* margin: 80px auto 0; */
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}
.hobby::before,
.skill::before {
    content: "";
    border-bottom: 1px solid #000000;
    flex: 1;
    background-color: #010101;
}
.hobby-contents{
    display: flex;
    gap: 300px;
    align-items: flex-start;
    width: 983px;
}
.hobby-text{
    /* flex: 1; */
    width: 500px;
}
.hobby-img{
    width: 290px;
    height: auto;
}
.work-background{
    background-color: #21323A;
    padding: 20px;
    margin-top: 110px;
    padding-bottom: 100px;
}
.main-work{
    width: 983px;
    margin: 0 auto;
}   
.work {
    margin-top: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    color: #ffffff;
}
.work-contents{
    display: flex;
}
.work::after {
    border-bottom-color: #ffffff;
}
.work-contents ul{
    display: flex;
    flex-wrap: wrap;
    gap: 70px;
    list-style: none;
}
.main-skill{
    width: 983px;
    margin: 0 auto;
}
.skill {
    margin-top: 80px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #000000;
}
.skill-contents {
    display: flex;
    gap: 20px;

}
.skill-contents ul{
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
    list-style: none;
    margin-top: 40px;
}
.skill-text{
    width: calc((100% - 60px) / 2);
}
.skill-img{
    width: 100%;
    height: 352px;
    object-fit: cover;
}
.contact-background{
    background-color: #E9E6E6;
}
.main-contact{
    width: 983px;
    margin: 0 auto;
}
.contact {
    margin: 0px auto 0;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 40px;
}

.contact::before,
.contact::after {
    content: "";
    border-bottom: 1px solid #010101;
    /* height: 1px; */
    flex: 1;
    /* background-color: #010101; */
}
.textbox{
    background-color: #ffffff;
    display: inline-block;
    width: 100%;
    height: 40px;
    padding: 0.5em;
    border: 1px solid #999;
    box-sizing: border-box;
    margin: 0.5em 0;
}
textarea{
    background-color: #ffffff;
    display: inline-block;
    width: 100%;
    height: 120px;
    padding: 0.5em;
    border: 1px solid #999;
    box-sizing: border-box;
    margin: 0.5em 0;
}
.button{
    /* display: inline-block; */
    display: block;
    width: 170px;
    height: 50px;
    padding: 0.5em;
    box-sizing: border-box;
    margin: 20px auto;
    border: 1px solid #999;
    /* background-color: black; */
    color: rgb(0, 0, 0);
    margin-bottom: 50px;
}

.sns-link{
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin-top: 10px;
    padding-bottom: 40px;
}
.sns-icon{
    width: 31px;
    height: auto;
}
.icon-discord{
    margin-top: 4px;
    margin-bottom: 4px;
}
footer{
    background-color: #21323A;
    padding-bottom: 20px;
}
footer ul{
    height: 80px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
}
.footer-text{
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    font-size: 16px;
}
small{
    display: block;
    text-align: center;
    color: #ffffff;
    font-size: 11px;
}
/* ドロップダウンメニュー */
.main-menu{
    margin-left: 10%;
    margin-top: 100px;
    font-size: 40px;
    width: 500px;
    list-style: none;
    gap: 20px;
}

.menu{
    /* display: block; */
    font-weight: bold;
    /* border-bottom: 1px solid; */
    margin-bottom: 40px;
    padding-bottom: 10px;
    /* color: #ffffff; */
    /* アニメーション下線 */
    display: inline-block;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}
.menu::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.4s;
    content: "";
  }
  
  .menu:hover::after {
    transform: translateX(0);
  }
.background-img{
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    object-fit: cover;
}
.dropdown-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100vh;
    background-color: #21323A;
    z-index: 2;
    translate: 100% 0;
    transition: .5s;
}
.dropdown-menu.active{
    translate: 0 0;
}
.dropdown-sns-link {
    /* padding-top: 40px; */
    text-align: left;
    display: flex;
    justify-content: left;
    margin-left: 10%;
    gap: 30px;
    list-style: none;
    margin-top: 10px;
}
.closebtm{
    display: none;
    position: absolute;
    top: 1%;
    right: 1%;
    color: #ffffff;
    z-index: 4;
}
.header-closebtm{
    width: 48px;
    height: auto;
    margin-right: 10px;
    margin-top: 10px;
}

/* ！！！ここからスマホ表示！！！ */
@media (max-width: 800px){
    .header{
        height: 500px;
        background-image: url("../image/SPheaderimg.png");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .header-img{
        width: 100%;
        height: 500px;
        object-fit: cover;
    }
    .main-menu{
        font-size: 27px;
        width: 80%;
    }
    .dropdown-menu {
        width: 100%;
    }
    .dropdown-sns-link {
        padding-top: 40px;
        text-align: left;
        display: flex;
        justify-content: left;
        gap: 30px;
        list-style: none;
        margin-top: 10px;
    }
    .title{
        font-size: 32px;
        white-space: nowrap;
    }
    .subtitle{
        font-size: 18px;
    }
    .page-top {
        position: fixed;
        right: 20px;
        bottom: 20px;
        width: 50px;
        height: 50px;
        background: #616567;
        color: #fff;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }
    .about::before,
    .about::after{
    content: "";
    border-bottom: 1px solid #010101;
    flex: 1;
    }
    .main-about,
    .main-hobby,
    .main-work,
    .main-skill,
    .main-contact,
    .hobby,
    .hobby-contents{
        width: 90%;
    }
    .about{
        margin-top: 40px;
    }
    .about-contents{
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
    }
    .about-main{
        width: 100%;
        margin-top: 0;
    }
    .about-img{
        width: 100%;
        margin: 30px 0 0;
    }
    .name{
        justify-content: center;
    }
    .about-text{
        width: 100%;
        text-align: left;
        margin-bottom: 40px;
    }
    .section-img{
        background-image: url(../image/SPimg1.png);
    }
    .visual{
        width: 100%;
        height: 160px;
        object-fit: cover;
    }
    .hobby{
        margin-top: 60px;
    }
    .hobby::before,
    .hobby::after{
    content: "";
    border-bottom: 1px solid #010101;
    flex: 1;
    }
    .hobby-contents{
        /* width: 90%; */
        flex-direction: column;
        gap: 30px;
    }

    .hobby-img{
        width: 109%;
        height: auto;
    }

    .hobby-text{
        width: 100%;
    }
    .work-background{
        margin-top: 40px;
        padding-bottom: 50px;
    }
    .work::before,
    .work::after{
    content: "";
    border-bottom: 1px solid #ffffff;
    flex: 1;
    }
    .work{
        margin-top: 20px;
    }
    .work-contents{
        flex-direction: column;
        align-items: center;
    }
    .work-contents ul{
        justify-content: center;
    }
    .skill::before{
        display: none;
    }
    .skill{
        justify-content: center;
        margin-top: 40px;
    }
    .skill-contents{
        flex-direction: column;
        margin-bottom: 40px;
    }
    .skill-contents img{
        display: none;
    }
    .skill-img{
        width: 100%;
        height: 143px;
        object-fit: cover;
    }
    .contact::before,
    .contact::after {
        display: none;
    }
    .contact{
        justify-content: center;
    }
}