body{
    font-family: 'Century Gothic','Noto-sans JP',sans-serif;
    color:#727172;
    min-width: 1200px;
}

p{
    font-size: 20px;
    line-height: 3;
}

h2{
    font-size: 38px;
}

header{
    background-image:url(/images/top.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

.header-wrapper{
    width:1200px;
    margin: 0 auto;
}

h1{
    position: absolute;
    top:34%;
    left:59%;
}

.header-top{
    padding-top:55px;
    display: flex;
    justify-content: flex-end;
    align-items: baseline;
}

.header-top ul{
    display: flex;
}

.header-top li{
    margin-right: 80px;
    font-size: 30px;
    display: inline-block;
	transition: all 0.3s ease 0s;
	cursor: pointer;
}

.header-top li:hover{
    color: #f8c6bd;
    
}

.x-logo img{
    width: 30px;
    display: inline-block;
	transition: all 0.3s ease 0s;
	cursor: pointer;
}

.x-logo:hover{
    opacity: 0.7;
}

.scroll{
    position:absolute;
    left:0;
    bottom:0;
    width: 100%;
    text-align: center;
    line-height: 1;
}

#side-btn{
    position: fixed;
    z-index: 99;
    bottom:20px;
    right:20px;
    opacity:0.7;
    transition: all .3s ease;
}

#side-btn img{
    width: 80px;
}

#side-btn:hover{
    opacity:1;
}

.message-wrapper{
    width:1015px;
    height: 500px;
    background-color: rgba(248, 198, 189, 0.6);
    margin: 80px auto 74px;
    text-align: center;
}

.message-wrapper h2{
    padding:48px 0 25px;
}

.works{
    background-color: #f8c6bd;
}

.works-wrapper{
    text-align: center;
}

.works-wrapper h2{
    padding:72px 0 34px;
}

.works-contents{
    width: 1200px;
    margin: 0 auto;
}

.autoplay img{
    height:auto;
    width: 300px;
}

.works-txt{
    margin:50px 0 20px;
}


.btn-wrapper{
    padding-bottom:18px;
}

.btn{
    display: inline-block;
    font-size:20px;
    border:1px solid #7e7d7e;
    background-color: #fff;
    padding:30px 130px;
    transition: all .3s ease;
}

.btn:hover{
    background-color: #eeeeee;
}

.btn-txt{
    font-size:18px;
    padding-bottom:67px;
}

.about-wrapper h2{
      text-align: center;
}

.about-wrapper h2{
    padding:72px 0 64px;
}

.about-contents{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom:70px;
}

.about-contents p{
    text-align: left;
}

.about-contents img{
    margin-left:81px;
}

footer{
    background-image: url(/images/footer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height:304px;
}

.footer-wrapper{
    width: 544px;
    padding-top: 102px;
    margin: 0 auto;
    text-align: center;
 
}

.footer-nav ul{
    display: flex;
    justify-content:space-between;
    padding-bottom:72px;
}

.footer-nav li{
    font-size: 30px;
    display: inline-block;
	transition: all 0.3s ease 0s;
	cursor: pointer;
}

.footer-nav li:hover{
    color: #f8c6bd;
}





@media screen and (max-width:959px){
    body{
        min-width: initial;
    }

    p{
        font-size: 16px;
    }

    h2{
        font-size: 30px;
    }

    .about-contents{
        flex-direction: column;
    }

    .header-wrapper{
        width: 100%;
    }

    .header-wrapper h1{
        left: 22%;
    }

    .header-top{
        justify-content: center;
    }

    .header-top li{
        font-size: 24px;
    }

    .message-wrapper{
        width: 90%;
    }

    .message-wrapper h2{
        padding: 60px 0 54px;
    }

    .works-contents{
        width: 90%;
    }

    .autoplay img{
        width: 200px;
    }

    .about-wrapper h2{
        padding: 60px 0 31px;
    }

    .about-contents p{
        text-align: center;
    }

    .about-contents img{
        margin-left: 0;
        margin-top: 20px;
    }

    .btn-txt{
        padding-bottom: 40px;
    }

    footer{
        height: 240px;

    }

    .footer-wrapper{
        padding-top: 70px;
    }

    .footer-nav ul{
        padding-bottom: 40px;
    }

    .footer-nav li{
        font-size: 24px;
    }

}


@media screen and (max-width:559px){

    .header-wrapper h1{
        top:40%;
    }

    .header-wrapper h1 img{
        width:70%;

    }

    .header-top{
        display: block;
        text-align: right;
    }

    .header-top ul{
        display: inline-block;
    }

    .header-top li{
        display: block;
        font-size: 20px;
        margin-right: 30px;
        margin-bottom: 20px;
    }

    .x-logo{
        margin-right: 30px;
    }
    

    .works-contents{
        width: 85%;
    }

    .autoplay img{
        width: 110px;
    }
    
    .footer-wrapper{
        width: 100%;
    }

    h2{
        font-size: 24px;
    }

    p{
        font-size: 14px;
    }

    .message-wrapper{
        margin: 65px auto;
        padding: 0 17px;
    }

    .message-wrapper h2{
        padding:50px 0 30px;
    }

    .works-wrapper h2{
        padding: 50px 0 30px;
    }

    .works-txt{
        margin: 30px 0 20px;
    }

    .btn-wrapper{
        padding-bottom: 5px;
    }

    .btn{
        font-size: 14px;
        padding: 20px 100px;
    }

    .btn-txt{
        font-size: 14px;
    }

    .about-wrapper h2{
        padding: 50px 0 30px;
        margin: 0;
    }

    .about-contents{
        padding-bottom: 50px;
    }

    .about-contents img{
        width: 288px;
    }

    footer{
        height: 180px;
    }

    .footer-wrapper{
        padding-top: 50px;
    }

    .footer-nav ul{
        justify-content: space-around;
    }

    .footer-nav li{
        font-size: 18px;
    }

}