@charset "UTF-8";



.menu-list{
    /* 画像が250pxまで小さくなった時に１列になる */
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
}

@media(min-width:1200px){

.About-box__h3 ,
.About-box__h3 p{
padding-right: 10%;
line-height: 1rem;
}

}


/* モバイル対応　*/


@media(max-width:767px){


/* index.html */

img{
    width: 100%;
    background-size: cover;
}


.flex,.revers{
    flex-direction: column;
}


.menu-box{
    height: 100vh;
}


/* Works area */
.works-list{
    gap: 5rem;
    margin: 5rem auto;
}

/* Works.html */

#Works .sub-ul{
    gap: 100px;
    align-items: center;
    justify-content: center;
}

#Works .sub-li{
    width: 150px;   
    text-align: left;
}

.list-rigth,.list-center{
    left: 25%;
    transform: translateX(-50%);
}

.list-small .sub-li__list img{
    width: 85px;
    height: 85px;
}

#Works .main-box{
    display: flex;
    gap: 5rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 5rem;
    margin: 0 auto;

}

.work-title{
    font-size: 1.2rem;
}

.main-box__text{
    margin: 1rem 1rem;
}
.height-scale img:hover, .width-scale img:hover{
    transform: scale(1,1);
    overflow: hidden;
}



/* photograph.html */
.photograph-img{
    width: 100%;
}

#Photograph .menu-title{
    width: 90vw;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0 auto;
    justify-content: center;
}
.photograph-title{
    font-size: .8rem;
}
.modal-content .long-name{
    font-size: .9rem;
}


/* About.html */
#About .about-bgbox::before{
    visibility:hidden;
}

.about-box,.about-box__h1,.about-imgset{
    position: initial;
}


.About-box{
    width: 100%;
    position: relative;
}

#About .About-box__h1{
    font-size: 3.5rem;
    text-align: center;
    line-height: 5rem;
}

.About-title{
    width: 100%;
    text-align: center;
    margin: 0 auto;
}

.About-box__h2{
    font-size: 1.7rem;
    line-height: normal;
    margin-top: 1rem;
    margin-bottom: 0;
    text-align: right;
}

.About-box__h3{
    margin-top: 1rem;
    line-height: normal;
    text-align: right;
}

.About-box__text{
    width: 100vw;
}

.About-box__p{
    width: 80vw;
    background-size: cover;
    background-position: 35% bottom;
}
.main-box{
    margin: 5rem 0;
    padding: 0 1rem;

}

.main-box__item{
    margin: 0 auto;
}

.main-box__text{
    max-width: 100%;
    padding: 0 1rem;
    margin: 0 auto;
}


.name-box{
margin-left: 20%;
}

.skill-box{
justify-content: center;
}

.skill-item{
    margin: 0;
    width: 100% / 3;
}

  
.skill-item img{
    max-width: 100px;
    margin-bottom: 1rem;
}

/* footer area */

.footer-logo{
    bottom: 30%;
    transform: scale(50%);
    margin: 0 auto;
    justify-content: center;
}

.footer-nav{
    bottom: 5%;
    left: 0;
    line-height: normal;
}

.footer-nav li{
    text-align: right;
    font-size: 2.5rem;
}


}