@charset "UTF-8";

@import url('https://fonts.googleapis.com/css?family=Varela+Round');
/* 
@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
 */
body{
    font-family: 'Varela Round', YuGothic,'Yu Gothic','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ ゴシック',sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing:0.08rem;
}

a{
    color:#000;
    text-decoration: none;
    } 

.fader{
        animation-duration: 1.5s;
    animation-name: fader-anime;
}

@keyframes fader-anime {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

header{
    padding-top: 20px;
}

header ul {
	display: flex;
}
header ul li{
	padding:0 40px 0 20px;
}
header ul li a{
	display:block;
    font-size: 1.2em;
    border-bottom: 2px solid rgba(0,0,0,0);
    transition-duration:0.5s
}
header ul li a:hover{
    border-bottom: 2px solid rgba(0,0,0,1);
}


.main_index{
	position: relative;
	margin: 0 auto;
	width: 1240px;
}

.bgbox{
	position: absolute;
	top:0;
	left:40%;
	width: 500px;
	height: 1000px;
	overflow: hidden;
    animation-duration: 1.2s;
    animation-name: slidein;
}
.bgbox1{
    animation-duration: 1s;
}
.bgbox2{
    animation-duration: 1.5s;
}
.bgbox3{
    animation-duration: 2s;
}
.bgbox4{
    animation-duration: 3s;
}
@keyframes slidein {
    0% {
        top:250px;
        left:-90%;
        opacity: 0;
    }
    100% {
        top:0px;
        opacity: 0.9;
    }
}

.bgbox img{width:500px;}

.mainbox{
	position: absolute;
	top:240px;
	left:50px;
    font-family: 'Rounded Mplus 1c'
}
.mainbox1{
	position: absolute;
	top:355px;
	left:130px;
}
.mainbox2{
    position: absolute;
	top:30px;
    left:50px;
    width:400px;
}

.mainbox1 h1{
    display:none;
}


.mainbox_about,.mainbox_works{
	position: relative;
	top:40px;
    margin: 0 auto;
	width: 960px;
}

.mainbox_about h1,.mainbox_works h1{
    font-family: 'Rounded Mplus 1c'
    width:960px;
    font-size: 1.5rem;
    border-bottom: 1px solid;
    margin-bottom:20px;
}

.subscribe{
     font-family: 'Rounded Mplus 1c'
    font-weight:400;
    font-size: 0.8rem;
    line-height: 1.8;
    margin-bottom:30px;
}

.subscribe a{
    line-height: 1.7;
    color:steelblue;
    } 

.mainbox_about h2,.mainbox_works h2{
     font-family: 'Rounded Mplus 1c'
    font-size: 1.2rem;
    border-bottom: 1px solid;
    margin-bottom:20px;
    clear: both;

}
.works_box{
    clear: both;
    width:960px;
}

.works_box figure{
    width:460px;
    margin-right: 40px;
    margin-bottom: 20px;
    float: left;
}
.works_box figure:nth-of-type(2n){
    margin-right: 0px;
}


.works_box figure h3{
     font-family: 'Rounded Mplus 1c'
    font-weight:500;
    font-size: 0.8rem;
     line-height: 1;
    margin-bottom: 5px;
}
.works_box figure p{
    color:#000;
    font-family: 'Rounded Mplus 1c'
    font-weight:500;
    font-size: 0.9rem;
    line-height: 1.6;
}

.works_box figure p a{
    line-height: 1.7;
    color:steelblue;
    } 

.mainbox_works .aftercorner{
    clear: both;
	height: 30px;
}