/* 共通項目　基本どのサイトにも入れる*/

html{
    font-size: 100%;
}

body{
    color: #383E45;
    font-size: .9rem;
}

a{
    text-decoration: none;
    color: #383E45;
}

li{
    list-style: none;
}

img{
    max-width: 100%;
}

/* 共通パーツ */





/* ヘッダー */
header div{
    width: 92%;
    max-width: 820px;
    margin: auto;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1{
    width: 120px;
    line-height: 1;
}

header ul{
    display: flex;
    gap: 1.875rem;
}





/* メインビジュアル */
.fv{
    /* width: 100%; */
    /* height: 600px; */
    /* height: 70vh; */
    /* height: calc(100vh - 63.8px); */
    /* ↑いつか解説します */
}

.fv img{
    width: 100%;
    height: 600px;
    object-fit: cover;
}





/* メイン */
main{
    width: 92%;
    max-width: 960px;
    margin: auto;
}

section{
    margin-top: 150px;
}

section h2{
    border-bottom: 1px solid #383E45;
    width: fit-content;
    margin: auto;
}

section .sec-content{
    margin-top: 50px;
    display: flex;
}



/* ABOUT */
#about .sec-content{
    justify-content: center;
    gap: 30px;
}

#about .sec-content img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}



/* WORK */
#work .sec-content{
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 100px;
}

#work .sec-content li{
    width: 32%;
    text-align: center;
}

#work .sec-content h3{
   margin-top: 30px;
}



/* footer */
footer{
    text-align: center;
    padding: 10px;
    margin-top: 100px;
}



/* 下層ページ */
section#works-page{
    margin-top: 0;
}

#works-page .works-img img{
    width: 100%;
}

#works-page .works-txt{
    margin-top: 30px;
}

#works-page .works-txt h2{
    width: 100%;
    border-bottom: none;
}

#works-page .works-txt p{
    margin-top: 20px;
}

#works-page .works-txt p:first-of-type{
    margin-top: 30px;
}

#works-page .page-top{
    margin-top: 60px;
    text-align: center;
}




/* レスポンシブ */
@media(max-width:768px){
    section .sec-content{
        flex-direction: column;
        align-items: center;
    }

    #work .sec-content{
        gap: 100px;
    }


    #work .sec-content li{
        width:100%;
    }

}
