@charset"utf-8";

html, body,
ul, ol, li,
h1, h2, h3, h4, h5, h6, p, div{
    margin: 0;
    padding: 0;
}

body {
    font-family:   "Yu Mincho", "MS 明朝", serif;
    font-weight: lighter;
}

p {
    font-family: "Noto Sans JP"; 
    color: #333333;
}

li{
    list-style: none;
}

a{
    text-decoration: none;
}

.clear {
    clear: left;
}

* {
    box-sizing: border-box;
}




/*--header--*/
header {
    height: 100px;
    background-color: rgba(255, 181, 181, 10%);
}

#header-container {
    margin: 0 auto;
    overflow: hidden;
    height: 80px;
    position: relative;
}


#header-logo {
    position: absolute;
    top: 20px;
    left: 25px;
}

#header-logo img {
    height: 60px;
}

.sns-btn-over {
    position: absolute;
    top: 40px;
    left: 760px;
}

.sns-btn-over li {
    margin-left: 25px;
    display: inline;
    float: none;
}

i {
    color: #333333;
}

.note i {
    transform: scale(1, -1);
}

.cf1 {
    position: absolute;
    left: 385px;
    top: 40px;
}

.cf1 li {
    margin-left: 10px;
    font-size: 15px;
    padding: 10px;
    display: inline;
    float: none;
    border-bottom: none;
    letter-spacing: 0.1em;
    font-family: "Noto Sans JP"; 
    color: #333333;
}

.cf1 a {
    color: #333333;
}

.open-btn{
	position: fixed;
    right: 0px;
    top: 0;
    z-index: 9999;
	width: 120px;
    height:120px;
	cursor: pointer;
	background:#fff;
}


.open-btn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 35px;
    height: 2px;
	background-color: #666;
}


.open-btn span:nth-of-type(1) {
	top:57px;	
    width: 40%;
}

.open-btn span:nth-of-type(2) {
	top:64px;
    width:40%;
}


.open-btn.active span:nth-of-type(1) {
    top: 55px;
    left: 35px;
    transform: translateY(6px) rotate(-45deg);
    width: 40%;
}

.open-btn.active span:nth-of-type(2) {
    top: 67px;
    left: 35px;
    transform: translateY(-6px) rotate(45deg);
    width: 40%;
}

#g-nav{
    position:fixed;
    z-index: 999;
	top:-120%;
    right:0;
	width:25%;
    height: 100vh;
	background:#fff;
	transition: all 0.6s;
}

#g-nav.panelactive{
    top: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:12.5%;
    transform: translate(-50%,-50%);
}


#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
    font-family: "Noto Sans JP";
    font-weight: lighter;
}



/*-- main--*/
.works-container {
    background-color: rgba(255, 181, 181, 10%);
    margin: 0 auto;
}

.title {
    font-size: 70px;
    letter-spacing: 0.05ch;
}

.works-ttl {
    padding: 5px 0 0 25px;
}

.works-wrapper {
    padding: 100px 0px 100px 0px;
}

.works-list {
    width: 100%;
    flex-wrap: wrap;
    display: flex;
    margin: 0 auto;
    justify-content: center;
    max-width: 1500px;
}

.work {
    background-color: #fff;
    height: 350px;
    width: 350px;
    margin: 0 30px 100px 30px;
    border: #333333 solid 1px;
}

.work-pic img {
    background-color: #d9d9d9;
    height: 300px;
    width: 348.5px;
    border-bottom: #333333 solid 1px;
}

.work p {
    margin: 10px 0 0 30px;
    font-size: 18px;
    color: #333333;
}




/*-- footer --*/
footer {
    background-color: #CBC8C8;
    height: 350px;
    position: relative;
    padding: 100px;
}

.footer-rights {
    font-size: 15px;
    color: #333333;
    position: absolute;
    bottom: 30px;
    right: 100px;
}






@media(max-width:480px){
    .header {
        height: 100px;
        background-color: rgba(255, 181, 181, 10%);
    }
    
    #header-container {
        margin: 0 auto;
        overflow: hidden;
        height: 80px;
        position: initial;
    }
    
    
    #header-logo {
        position: initial;
        text-align: center;
        margin-top: 30px;
    }
    
    #header-logo img {
        height: 30px;
    }
    
    .sns-btn-over {
        display: none;
    }
    
    .sns-btn-over li {
        margin-left: 10px;
    }
    
    .cf1 {
        display: none;
    }
    
    .cf1 li {
        margin-left: 5px;
        font-size: 10px;
        padding: 10px;
    }
    
    .cf1 a {
        color: #333333;
    }
    
    .open-btn{
        width: 60px;
        height: 60px;
    }
    
    
    .open-btn span{
        left: 17.5px;
    }
    
    
    .open-btn span:nth-of-type(1) {
        top: 27px;	
        width: 40%;
    }
    
    .open-btn span:nth-of-type(2) {
        top:33px;
        width:40%;
    }
    
    .open-btn.active span:nth-of-type(1) {
        top: 22px;
        left: 20px;
        transform: translateY(6px) rotate(-45deg);
        width: 40%;
    }
    
    .open-btn.active span:nth-of-type(2) {
        top: 34px;
        left: 20px;
        transform: translateY(-6px) rotate(45deg);
        width: 40%;
    }
    
    #g-nav{
        top:-120%;
        right:0;
        width: 100%;
    }
    
    #g-nav.panelactive #g-nav-list{
        width: 100%;
    }
    
    #g-nav ul {
        top:50%;
        left:50%;
    }







    
    .title {
        font-size: 30px;
        letter-spacing: 0.05ch;
    }
    
    .works-ttl {
        margin:0 30px 30px 30px;
        text-align: center;
    }
    
    .works-wrapper {
        padding: 0 30px;
    }
    
    .works-list {
        width: 100%;
        flex-wrap: wrap;
        display: flex;
        margin: 0 auto;
        justify-content: center;
        max-width: 1500px;
    }
    
    .work {
        height: initial;
        width: 80%;
        margin: 0 30px 50px 30px;
    }
    
    .work-pic img {
        height: auto;
        width: 100%;
    }
    
    .work p {
        margin: 0 0 5px 20px;
        font-size: 15px;
    }





    
    footer {
        height: 200px;
        padding: 50px;
    }
    
    .footer-rights {
        font-size: 5px;
        bottom: 10px;
        right: 5%;
    }






}