@charset "utf-8";
html{
    scroll-behavior: smooth;
}

body{
    /*width: 1280px;*/
    background-color:rgb(248, 247, 247);
    box-sizing: border-box;
}

.wrap{
    min-height: 100vh;
    max-width: 90vw;
    /* min-width: 799px; */
    margin: 0 auto;
    display:grid;
    grid-template: 
/* /*    "sns       sns      sns"    15px */
    "nav       nav      nav"    80px
    "topimg    topimg   topimg" 
    "snsicon   snsicon  snsicon" 40px 
    "arrival   arrival  about"  400px
    "works     works    about"   1fr
    "footer    footer   footer" 200px
    /minmax(250px,1fr) minmax(250px,1fr) minmax(200px,1fr)
    ;
    gap: 20px 20px;
}


.headmes{
    font-size: 12px;
    padding-top:3px;
    padding-bottom: 3px;
}



.topimg{
    /* background-color: rgb(56, 56, 56); */
    width: 100vw;
    position: relative; /* 相対的な位置 */
    text-align: center;
    margin-bottom: 20px;
}

.topimg .fade-in{
    max-width: 1500px;
    width: 100vw;
    opacity: 0; /* 画像を非表示にする */
    animation: fadeIn 3s ease-in-out forwards;
}

    
    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: scale(1); /* 画像を少し縮小する */
        }
        100% {
            opacity: 1;
            transform: scale(1); /* 画像を通常のサイズに戻す */
        }
    }







nav{
    grid-area: nav;
    /*border: 1px solid black;*/
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(14px,2vw,28px);
    padding-top:10px;
}
nav ul{
    display: flex;
    justify-content: center;
    gap: 4%;
}
nav ul li a{
    /*line-height: 1.3em;*/
    display: block;
    width: 100%;
    height: 100%;
    color:  rgb(0, 31, 57);

}
.grays{
    color: gray;
}


.snsicons{
    grid-area: snsicon;
}
.snsicons ul{
    display: flex;
    justify-content: center;
    gap: 40px;
}
.snsicons ul li{
    line-height: 3em;
}
.arrival{
    grid-area: arrival;
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(20px,2vw,28px);
    background-color: white;
/*    background-position: 0 0;
    background-image: url(img/newarrival.png);
    background-size: cover;*/
    padding: 10px;
}
.arrival .newbox{

}
.arrival h1{
    border-bottom: 1px solid gray;
    color:  rgb(0, 31, 57);

}
.arrival .newbox .arrivaltext{
    display: flex;

    padding-top: 10px;
    padding-bottom: 20px;

}
.arrival .newbox .arrivaltext .newtitle{
    width:300px;
    margin-left: auto;
    margin-right: auto;

}
.arrival .newbox .arrivaltext .newtitle img{
    max-width: 300px;
    min-width: 150px;
    width: 100%;
    
}
.arrival .newbox .arrivaltext .newtext{
    width:1fr;
    font-size:  clamp(11px,2vw,13px);
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: 400;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}
.arrival .newbox .arrivaltext .newtext p{
    margin-bottom: 5px;
}

.arrival .newbox .arrivaltext h2{
    
    margin-top: 1%;
    font-size:  clamp(18px,2vw,24px);
    text-align: center;
    font-weight: bold;
    
}
.arrival .newbox .arrivaltext h3{
    text-align: center;
    font-size: 13px;
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: 200;
    margin-top: 5px;
    margin-bottom: 20px;
}
.arrival .newbox span{
    font-size: 11px;
    font-weight: 300;
}
main span{
    font-size: 11px;
    font-weight: 300;

}


main{
    grid-area: works;
    background-color: white;
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(20px,2vw,28px);
    background-color: white;
    padding: 10px;

}
main h1{
    border-bottom: 1px solid gray;
    margin-bottom: 10px;
    color:  rgb(0, 31, 57);

}
.workcontainer{
    display:grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    grid-template-rows: 1fr;
    /*padding-left: 3%;*/
    margin-bottom: 20px;

}
.workcontainer .item{
    /*border: 1px solid black;*/
    text-align: center;
    background-color: ghostwhite;
    font-size: 15px;
}
.workcontainer .worktitile{
    height: 2rem;
}
.workcontainer .item p{
    font-family: "Gill Sans Extrabold", sans-serif;

    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
}
.workcontainer .item .year{
    font-weight: 200;
    font-size: 13px;
    margin-top: 5px;
    margin-bottom: 5px;
}

main h3{
    font-size:   clamp(24px,2vw,26px);
    font-weight: bold;
    text-align: center;
}

aside{
    grid-area: about;
    background-color:white;
    font-family: "Gill Sans Extrabold", sans-serif;
    font-weight: bold;
    font-size: clamp(20px,2vw,28px);
    padding:10px;

}
aside h1{
    text-align: center;
    margin-bottom: 20px;
    color:  rgb(0, 31, 57);

}

aside .aboutpic{
    text-align: center;
}
aside .aboutpic img{
    max-width: 400px;
    width: 100%;

}
aside .aboutname{
    font-size:  clamp(14px,2vw,18px) ;
    text-align: center;
    line-height: 1.5em;

}
aside .abouttext{
    font-size: clamp(11px,2vw,14px) ;
    font-weight: 300;
    text-align: left;
    line-height: 2em;
}
aside .aboutlink{
    font-size: clamp(12px,2vw,18px);
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
}

aside .miyasns ul{
    display: flex;
    justify-content: center;
    margin-top: 20px;

}
aside .miyasns li{
    margin-right:20px ;
}

footer{
    /*grid-area: footer;*/
    height: 200px;
    background-color: rgb(0, 93, 170);
    text-align: center;
    padding-top: 70px;
}
footer p{
    font-family: "Gill Sans Extrabold", sans-serif;
    font-size: 14px;
    color: rgb(248, 247, 247);
    line-height: 1.5em;
}
footer a{
    color: rgb(248, 247, 247);
    text-decoration: underline;
}
footer a:visited{
    color: rgb(192, 192, 192);
    text-decoration: none;
}




@media (max-width:600px){
    .wrap{
        max-width: 100vw;
        grid-template: 
        "topimg"  
        "nav"     60px
        "snsicon" 60px
        "arrival"
        "works" 
        "about"  
        "......." 30px 
        "footer"  200px
        /100vw;
        gap: 20px;
        /* justify-content: center; */
        /*align-items: center;*/

    }
    nav{
        grid-area: nav;
        overflow-x: auto;
        top: 0;
        background-color: rgb(248, 247, 247);

    }
    nav ul{
        display: flex;
        width: max-content;
        margin: 0 auto;
        line-height: 1.5em;
    }

    .topimg{
        grid-area: topimg;
        /* display: flex; */
        /* align-items: center; */
        justify-content: center;
        /* position: fixed; */
        /* top: 0; */
        
    }
    .topimg img{
        width: 100%;
        
    }
    .snsicons{
        display: flex;
        justify-content: center;
        overflow-x: auto;


    }
    .snsicons ul{
        /* position: fixed; */
        /* top: 550px; */
        background-color: rgb(248, 247, 247);
        /* opacity: 0.9; */


    }

    .workcontainer{
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    
    }

    aside .aboutpic img{
        grid-area: about;
        width: 100%;
        max-width: 360px;
    }

    .arrival .newbox .arrivaltext .newtext p{
        padding-left: 3px;
        padding-right: 3px;
    }

/* @media(max-width:1000px){ */
    .gotop p{
        position: fixed;
        bottom: 20px;
        right: 10px;
        z-index: 10000;
        opacity: 0.7;
    }
    .fa-kage{
        text-shadow: 2px 2px 1px rgba(255,255,255);    }
}
@media(min-width:600px){
    .gotop{
        display: none;
    }
}
