@charset "utf-8";

html {
    font-size: 100%;
}
body {
    color: #24292e;
    background-color: #f3f2ee;
    font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    letter-spacing: 2px;
}

a:link, a:visited, a:hover, a:active {
    color: #24292e;
    text-decoration: none;
    
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
    height: auto;
}

li {
    list-style: none;
}

.wrapper {
    max-width: 1050px;
    margin: 0 auto 130px auto;
    font-size: 0.9rem;
    padding: 0 4%;
}

.site-title {
    line-height: 1px;
}
.site-title a {
    display: block;
}

.sec-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 65px;
    font-family: 'EB Garamond', serif;
    font-weight: 500;
    color: #53514a;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 1s;
}
.sec-title.up {
    opacity : 1;
    transform : translate(0, 0);
}

@media screen and (max-width: 640px) {
 
* {
    float: none;
    position: static;
}

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

.wrapper {
     margin: 0 auto 70px auto;
     padding: 4%;
 }
 .site-title {
     margin-top: 20px;
 }
 .sec-title {
     margin-bottom: 40px;
 } 

}


#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f3f2ee;
    height: 80px;
    margin: 0 auto;
    padding: 0 22%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;      
}    
#header ul {
    display: flex;
    padding: 10px 0;
}
#header li {
    font-size: 0.9rem;
    margin-left: 30px;
}
#header li a {
    color: #53514a;
    font-family: 'Quicksand', sans-serif;
    font-size: 20px;
    font-weight: 500;
}
#header li a:hover {
    opacity: 0.5;
} 
@media screen and (max-width: 640px) {
    
    #header {
        max-width: 100%;
        height: auto;
        flex-direction: column;
    }
    #header li {
        font-size: 0.8rem;
        margin-left: 20px;
    }
    #header li:first-child {
        margin-left: 0;
    }
}


#mainvisual {
    padding-top: 80px;
    margin-bottom: 80px;
    display: none;
}
#mainvisual img {
    width: 100%;
    max-width: 1920px;
    height: auto;
    object-fit: cover;
}
@media screen and (max-width: 640px) {
    
    #mainvisual {
        padding-top: 110px;
        display: flex;
        justify-content: center; 
    }
    #mainvisual img {
        max-width: 100%;
        height: auto;
        margin-bottom: 70px;  
    }
}



#topabout {
    margin: 140px 0;
}

#topabout p {
    text-align: justify;
}
.topabout-flexall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 1s;
}
.topabout-flexall.up {
    opacity : 1;
    transform : translate(0, 0);
}

img.topabout-left {
    margin-left: 50px;
}

.topabout-right {
    max-width: 510px;
    height: auto;
    padding: 60px;
    background-color: #f5f0de;
}


@media screen and (max-width: 640px) {
    #topabout {
        position: relative;
        margin: 70px auto
    }
    #topabout h2 {
        text-align: right;
        padding-right: 30px;
    }
    .topabout-right {
        padding: 40px 25px;
        margin-top: 5px;   
    }
    .topabout-name {
       display: flex;
       justify-content: flex-end;
    }
    
    .topabout-left img{
        position: absolute;
        top: -40px;
        left: 12px;
        width: 28%;
        margin: 0  auto 100px 30px;

    }


}


.topabout-name {
    margin-bottom: 30px;
}
.topabout-text {
    margin-bottom: 40px;
}
.view-more-about  {
    display: flex;
    justify-content: flex-end;
}    
.view-more-about :hover {
    transform: translateX(20px);
    transition: all 0.2s;
}




p.name1 {
    font-size: 19px;
    font-weight: normal;
}

#works {
    opacity: 0;
    transform : translate(0, 100px);
    transition : all 1s;
}
#works.up {
    opacity : 1;
    transform : translate(0, 0);
}
.works-area {    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    z-index: -1;    
}
.works-area::after {
    display: block;
    content: "";
    width: 31%;
}

@media screen and (max-width: 640px) {
    .works-area {
        display: block;
    }
}

.top-works {
    position: relative;
    width:31%;
    margin-bottom: 30px;   
}

.top-works img {
    display: block;
}    

.top-works:hover img {
    opacity: 0.2;  
}

@media screen and (max-width: 640px) {
    .top-works {
        width: 80%;
        margin: 0 auto 40px auto;
        left: 0;
        right: 0;
    }    
    .top-works:hover img {
        opacity: none; 
    }
}




.works-hov {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    color: transparent;
    transition:all 0.2s;
}    
.works-hov:hover p {
    color: #24292e;
}
p.works-text  {
    display: block;
    margin-top: 25%;
    text-align: center;
    font-family: 'Unna', serif;
    letter-spacing: 0.3rem;; 
    font-size: 24px;
    font-weight: normal;
}


.view-more-works  {
    display: flex;
    justify-content: flex-end;
}
.view-more-works :hover {
    transform: translateX(20px);
    transition: all 0.2s;
}    


 
#footer {
    background-color: #a19267;
    color: #fff;
    font-size:0.5rem;
    padding: 10px 20px;
    text-align: center;
    display: none;
}

