@charset "UTF-8";

/* CSS Document */
/*右側にメニューを配置するためのCSS*/
.menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 50px;
    height: 100vh;
    background-color: #FFFEF9;
    padding: 20px;
    border-left: 1px solid #ccc;
}

.menu ul {
    list-style: none;
    /* リストのスタイルをなしに */
    padding: 0;
    /* パディングをリセット */
    margin: 0;
    /* マージンをリセット */
}

.menu li {
    margin-bottom: 10px;
    /* 各メニュー項目の下にスペースを追加 */
}

.menu-list a {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: 1rem;
    writing-mode: vertical-rl;
    position: relative;
    text-decoration: none;
    /* リンクの下線を削除 */
    color: #333;
    display: block;
    /* リンク領域をクリックしやすくする */
    padding: 10px;
}


/*.menu-list a:hover {
    border-left: 1px solid black;
}*/

/* 下線アニメーション（縦線） */
.menu-list a::before {
    content: '';
    position: absolute;
    left: -6px;
    /* 文字の左側に線を表示 */
    top: 0;
    width: 1px;
    height: 0;
    background-color: black;
    transition: height 0.3s ease;
}

.menu-list a:hover::before {
    height: 100%;
    /* 上から下に伸びる */
}




#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 40px;
    color: #333;
}

/*mainvisual*/
body {
    background-color: #FFFEF9;
    padding: 0px 100px 0px 0px;
}

.top {
    max-width: 1200px;
    width: 70%;
    margin: 0 auto;
}

header h1 {
    font-family: "norman-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15rem;
    margin-bottom: 0px;
    user-select: none;
}

header p {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: 1rem;
    margin: auto;
    padding-left: 3%;
    user-select: none;
}

.header-image {
    width: 100%;
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 0 0 auto;
    padding-top: 10%;
    pointer-events: none;
    transform: translateX(150px);
}

.sub-header h1 {
    font-size: 5rem;
    user-select: none;
}


.sub-header p {
    font-size: 0.75rem;
    user-select: none;
    margin: auto;
    padding-left: 1%;
}











/*Works*/
h2 {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 200;
    font-size: 25px;
    user-select: none;
    margin-top: 100px;
}

.divider {
    border: none;
    border-top: 1px solid #818080;
    margin: 20px 0;
}

.work {
    padding: 100px 0 100px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.grid :hover {
    color: #a0a0a0;
}


.work-item1 {
    transform: translateY(80px);
    text-decoration: none;
}

.work-item2 {
    text-decoration: none;
}

.work-item3 {
    transform: translateY(80px);
    text-decoration: none;
}

.work-item4 {
    text-decoration: none;
}

.work-item5 {
    transform: translateY(80px);
}

.work-item6 {
    text-decoration: none;
}

.work-item7 {
    transform: translateY(80px);
}

.work-item8 {
    text-decoration: none;
}

.info {
    width: 75%;
    margin: 0 0 30px 25%;
}

.category {
    text-align: right;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 500;
    font-size: 11px;
    color: #9e9e9e;
    line-height: 160%;
    margin-bottom: 7px;
    border-bottom: solid 1px #757575;
}


.tittle {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15px;
    color: #333;
    line-height: 140%;
    text-decoration: underline;
    margin-top: 5%;
}

.photo img {
    width: 100%;
    height: auto;
}






.viewmore {
    text-decoration: none;
    color: #333;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-top: 200px;
}

.viewmore:hover {
    color: #cbcbcb;
}

.viewmore1 {
    text-decoration: none;
    color: #333;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-top: 100px;
}

.viewmore1:hover {
    color: #cbcbcb;
}

/*works*/
.works {
    padding: 25px 0 200px;
}

/*worksss*/
.worksss {
    padding: 20px 50px 100px;
}

.category1 {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 500;
    font-size: 14px;
    color: #9e9e9e;
    line-height: 160%;
    text-align: left;
    transform: translateY(-20px);
}

.site {
    display: flex;
    justify-content: flex-end;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 13px;
    text-decoration: none;
    color: #333;
    line-height: 2rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.site:hover {
    color: #cbcbcb;
}

.worksss p {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 500;
    font-size: 13px;
    line-height: 2rem;
    margin-bottom: 5%;
    text-align: center;
}

.worksss img {
    width: 70%;
    height: auto;
    margin-left: 15%;
}








/*profile*/
.profile {
    padding: 100px 100px 100px;
}

.profile p {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 500;
    font-size: 13px;
    line-height: 1rem;
}

h3 {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: 20px;
    margin-top: 0px;
}

/*moreProfile*/
.moreProfile {
    padding: 100px 50px 150px;
}

.moreProfile p {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 500;
    font-size: 13px;
    line-height: 0.75rem;
    margin-bottom: 15px;
}

.moreProfile h3 {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 200;
    font-size: 30px;
    margin-top: 0px;
}

.hobby {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15px;
    line-height: 1rem;
    margin-top: 60px;
}

.skill {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15px;
    line-height: 1rem;
    color: #9e9e9e;
    margin-top: -20px;
}
















/*contact*/
.contact {
    display: flex;
    flex-direction: column;
    padding: 100px 50px 150px;
    user-select: none;
}

.contact p {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15px;
    line-height: 1rem;
    margin-bottom: 20px;
}

.contact a {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 15px;
    text-decoration: none;
    color: #333;
    line-height: 2rem;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.contact a:hover {
    color: #cbcbcb;
}









/*footer*/
.nav-footer {
    display: flex;
    justify-content: space-around;
    padding: 100px 0 100px;
    /*user-select: none;*/
}

h4 {
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 300;
    font-size: 1rem;
    user-select: none;
}

.sitemap ul {
    padding: 0px;
}

.sitemap li {
    list-style: none;
}

.sitemap a {
    text-decoration: none;
    color: #333;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 13px;
    transition: color 0.3s ease;
}

.sitemap a:hover {
    color: #cbcbcb;
}

.snsnav ul {
    padding: 0px;
}

.snsnav li {
    list-style: none;
}

.snsnav a {
    color: #333;
    font-family: "source-han-sans-jp-variable", sans-serif;
    font-variation-settings: 'wght' 400;
    font-size: 13px;
    transition: color 0.3s ease;
}

.snsnav a:hover {
    color: #cbcbcb;
}

.copyright {
    user-select: none;
    margin-top: 5px;
}



@media (max-width: 1200px) {
    .header-image {
        transform: translateX(75px);
    }
}


@media (max-width: 768px) {

    .header-image {
        transform: translateX(100px);
    }
    .menu {
        padding: 0px;
        padding-top: 30px;
    }

    .top {
        max-width: 768px;
        width: 70%;
        margin: 0 auto;
    }

    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
    }


}

@media (max-width: 480px) {
    body {
        padding: 0px 50px 0px 10px;
    }
    .menu-list a::before {
        left: 10px;
        width: 0.1px;
    }
    .top {
        max-width: 480px;
        width: 90%;
        margin: 0 auto;
    }

    header h1 {
        font-size: 8rem;
    }

    header p {
        font-size: 0.75rem;
    }

    .header-image {
        width: 100%;
        max-width: 80%;
        transform: translateX(20px);
    }
    .sub-header h1 {
        font-size: 3rem;
    }
    .sub-header p {
        font-size: 0.5rem;  
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 100px;
    }
    .work-item1, .work-item3, .work-item5, .work-item7 {
        transform: translateY(0);
    }

    .category {
        font-size: 9px;
    }

    .tittle {
        font-size: 12px;
    }
    

    .profile {
        padding: 50px 0px 50px;
    }

    .profile p {
        font-size: 8px;
    }

    .moreProfile {
        padding: 50px 0px 50px;
    }

    .moreProfile p {
        font-size: 8px;
    }

    .moreProfile h3 {
        font-size: 15px;
    }

    .hobby {
        font-size: 12px;
        line-height: 0rem;
        ;
        margin-top: 20px;
    }
    .hobby p {
        margin: auto;
    }
    .skill {
        margin-top: -10px;
    }


    h3 {
        font-size: 15px;
    }

    
    h2 {
        font-size: 18px;
    }
    
    .viewmore, .viewmore1 {
        font-size: 8px;
        margin-top: 50px;
    }

    .contact {
        padding: 50px 0px 50px;
    }

    .contact p {
        font-size: 10px;
    }   

    .contact a {
        font-size: 10px;
    }

    .nav-footer {
        padding: 50px 0 50px;
    }
    h4 {
        font-size: 0.75rem;
    }
    .sitemap a, .snsnav a {
        font-size: 0.5rem;
    }

    .copyright {
        font-size: 0.75rem;
    }


    .worksss {
        padding: 20px 0px 50px;
    }
    .category1 {
        font-size: 10px;
    }
    .site {
        font-size: 10px;
    }
    .worksss p {
        font-size: 10px;
        line-height: 1.5rem;
    }
    .worksss img {
        width: 90%;
        height: auto;
        margin-left: 5%;
    }
    .divider {
        margin: 20px -20px;
    }
}