@charset "utf-8";

html{
    background: #f3f3f3;
    font-family: 'Noto Sans Japanese';
}

::selection {
    background: #bd78b3;
}

html,body{
    overflow-x: hidden;
}

*{
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    text-decoration: none;
}

canvas,
img{
    vertical-align: bottom;
    user-select: none;
}

.container{
    width: 1020px;
    margin: 0 auto;
    position: relative;
}

#wrapper{
    color: #FFF;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

#wrapper.top{
    color: #000;
}

#wrapper.showMenu{
    height: 100%;
    overflow: hidden;
}

#globHeader,
#globFooter{
    overflow: hidden;
    font-family: 'Cabin', sans-serif;
    font-size: 10px;
    line-height: 15px;
    position: relative;
    z-index: 2;
    height: 100px;
}

#globHeader .container > *{
    width: 170px;
    box-sizing: border-box;
    position: relative;
}

#globHeader h1,
#globHeader .sitename,
#globHeader .copy{
    float: left;
}

#globHeader h1{
    padding-left: 20px;
    padding-top: 25px;
}

#globHeader .menu{
    float: right;
}

#globHeader .sitename,
#globHeader .copy,
#globHeader .menu{
    padding-top: 35px;
}

#globMenuButton{
    width: 50px;
    height: 50px;
    border-radius: 28px;
    position: absolute;
    top: 25px;
    left: 50%;
    margin-left: 443px;
    z-index: 5;
    background-color: transparent !important;
}

#globMenuButton span._2{
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url(../img/menu_ring@2x.png) no-repeat center center;
    background-size: 50px 50px;
    opacity: 0.5;
    transition: opacity 400ms ease;
}

#globMenuButton.white span._2{
    border: 3px solid #FFF;
    background-image: none !important;
    border-radius: 25px;
}

#globMenuButton:hover span._2{
    opacity: 1;
}

#globMenuButton:hover{
/*     background: #000; */
}

#globMenuButton:before,
#globMenuButton:after,
#globMenuButton span._1{
    content: "";
    display: block;
    height: 3px;
    width: 26px;
    border-radius: 4px;
    background: #1A1A1A;
    position: absolute;
    left: 12px;
    transition: width 200ms ease, left 200ms ease;
}

#wrapper.top+#globMenuWrapper #globMenuButton:before,
#wrapper.top+#globMenuWrapper #globMenuButton:after,
#wrapper.top+#globMenuWrapper #globMenuButton span._1{
    background: #000;
}

#wrapper.top+#globMenuWrapper #globMenuButton.white:before,
#wrapper.top+#globMenuWrapper #globMenuButton.white:after,
#wrapper.top+#globMenuWrapper #globMenuButton.white span._1,
#globMenuButton.white:before,
#globMenuButton.white:after,
#globMenuButton.white span._1{
    background: #FFF;
}

#globMenuButton.opening:before,
#globMenuButton.opening:after,
#globMenuButton.opening span._1{
    width: 0;
    left: 25px;
}

#globMenuButton.open:before{
    top: 24px;
    transform: rotate(45deg);
}
#globMenuButton.open:after{
    top: 24px;
    transform: rotate(-45deg);
}
#globMenuButton.open span._1{
    width: 0;
}

#globMenuButton.closing:before,
#globMenuButton.closing:after,
#globMenuButton.closing span._1{
    width: 0;
    left: 25px;
}

#globMenuButton.closing:before{
    top: 24px;
    transform: rotate(45deg);
}
#globMenuButton.closing:after{
    top: 24px;
    transform: rotate(-45deg);
}

#globMenuButton:before{
    top: 15px;
}

#globMenuButton:after{
    top: 23px;
}

#globMenuButton span._1{
    top: 31px;
}

#globFooter .container > p,
#globFooter .container > ul{
    position: absolute;
    width: 170px;
    padding-top: 37px;
}

#globFooter .container .touch{
    left: 0;
}

#globFooter .container > ul{
    left: 170px;
}

#globFooter .container .copy{
    right: 0;
}

#globMenu{
    display: block;
}

#globMenu{
    position: fixed;
    z-index: 4;
    left: 0; top: 0; right: 0; bottom: 0;
    display: none;
}

#globMenu nav{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -152px;
    margin-left: 170px;
    transition: margin-left 400ms linear, opacity 400ms linear;
    opacity: 1;
}

#globMenu nav.show{
    opacity: 1;
}

#globMenu li{
    margin-bottom: 46px;
}

#globMenu li a{
    display: block;
    height: 44px;
    width: 340px;
    text-indent: -9999px;
}

#bg{
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

#globHeader+section{
    position: relative;
    z-index: 2;
}

#globHeader+section .container > header{
    padding: 50px 0;
    overflow: hidden;
}

#globHeader+section .container > header h2{
    font-size: 47px;
    font-weight: 900;
    font-family: "brandon-grotesque";
    letter-spacing: 0.08em;
}

#globHeader+section .container > header p{
    font-size: 11px;
    font-weight: bold;
    font-family: 'Cabin', sans-serif;
    letter-spacing: 0.08em;
    margin-left: 24px;
    margin-top: 27px;
    float: left;
}

#articles{
    overflow: hidden;
    padding-bottom: 54px;
}

#articles article{
    float: left;
    width: 340px;
    position: relative;
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    overflow: hidden;
}

#articles article .img{
    height: 200px;
    margin-bottom: 20px;
}

#articles article .detail{
    height: 110px;
    padding-right: 20px;
}

#articles article .detail ul{
    overflow: hidden;
    margin-bottom: 10px;
}

#articles article .detail li{
    float: left;
    font-family: 'Cabin', sans-serif;
    font-size: 10px;
    opacity: 0.5;
    letter-spacing: 0.08em;
}

#articles article .detail li:before{
    content: ",";
    padding-right: 5px;
}

#articles article .detail li:first-child:before{
    display: none;
}

#articles article .detail h3{
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0.08em;
    font-weight: 400;
/*
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-text-stroke: 0.5px;
*/
}

#articles article .hover{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 200px;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 150ms ease;
    transition-delay: 75ms;
}

#articles article a:hover .hover{
    opacity: 1;
    transition-delay: 0ms;
}

#articles article .hover:before,
#articles article .hover:after{
    content: "";
    display: block;
    position: absolute;
}

#articles article .hover:before{
    border: 5px solid #ebebeb;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transition: all 300ms ease;
    transition-delay: 0ms;
}

#articles article a:hover .hover:before{
    left: 20px;
    top: 20px;
    right: 20px;
    bottom: 20px;
}

#articles article .hover:after{
    width: 62px;
    height: 53px;
    top: 50%;
    left: 50%;
    margin-top: 0;
    margin-left: -31px;
    background: url(../img/tsuno@2x.png) no-repeat center top;
    background-size: 62px 53px;
    opacity: 0;
    transition: all 300ms ease;
    transition-delay: 0ms;
}

#articles article a:hover .hover:after{
    margin-top: -26px;
    opacity: 1;
}

#articles article .hover span{
    display: block;
    position: absolute;
    width: 21px;
    height: 21px;
    left: 0;
    top: 0;
}

#articles article .hover span:before{
    content: "";
    display: block;
    position: absolute;
    background: #ebebeb;
    width: 4px;
    height: 4px;
    left: 0;
    top: 0;
    opacity: 0;
    transition: opacity 0ms ease;
    transition-delay: 0ms;
}

#articles article a:hover .hover span:before{
    opacity: 1;
}

#articles article .hover span:after{
    content: "";
    display: block;
    position: absolute;
    background: #ebebeb;
    height: 1px;
    left: 0;
    top: 0px;
    width: 0;
    transition: width 300ms ease;
    transition-delay: 0ms;
}

#articles article a:hover .hover span:after{
    width: 30px;
}

#articles article .hover span+span,
#articles article .hover span+span:before,
#articles article .hover span+span:after{
    left: auto;
    right: 0;
}

#articles article .hover span+span+span,
#articles article .hover span+span+span:before,
#articles article .hover span+span+span:after{
    top: auto;
    right: auto;
    bottom: 0;
}

#articles article .hover span+span+span+span,
#articles article .hover span+span+span+span:before,
#articles article .hover span+span+span+span:after{
    top: auto;
    right: 0;
    left: auto;
    bottom: 0;
}

#articles article .hover span+span+span:after,
#articles article .hover span+span+span+span:after{
    bottom: 0px;
}

#articles article .hover span._1:after{
    transform-origin: top left;
    transform: rotate(45deg);
}

#articles article .hover span._2:after{
    transform-origin: top right;
    transform: rotate(-45deg);
}

#articles article .hover span._3:after{
    transform-origin: bottom left;
    transform: rotate(-45deg);
}

#articles article .hover span._4:after{
    transform-origin: bottom right;
    transform: rotate(45deg);
}



/* = top
=====================*/

#wrapper.top{
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#wrapper.top #bg{
    right: 0;
    bottom: 0;
    overflow: hidden;
}

#top{
    overflow: hidden;
    background: url(../img/top_bg_grad.jpg) no-repeat center center;
    background-size: cover;
    animation : top_bg 50000ms linear infinite;
}

#top > *{
    position: absolute;
    left: 0;
    top: 0;
}

#top .canvas{
    z-index: 5;
}

#top .image{
    z-index: 1;
}

#top .movie{
    z-index: 0;
}

#top .image:before{
    content: "";
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url(../img/bg_illust.png) no-repeat center center;
    background-size: cover;
    opacity: 0.5;
}

#top h1{
    top: 50%;
    left: 50%;
    width: 340px;
    height: 54px;
    padding-top: 134px;
    margin-left: -170px;
    margin-top: -96px;
    z-index: 4;
    font-size: 54px;
    color: #FFF;
    font-weight: 900;
    text-align: center;
    font-family: "brandon-grotesque";
    background: url(../img/top_logo.png) no-repeat center top;
    background-size: 87px 127px;
}

/* = works
=====================*/
#works{
    position: relative;
}

#works:after{
    content: "";
    display: block;
    position: absolute;
}
#works.products:after{
    width: 34px;
    height: 52.5px;
    background: url(../img/hatta@2x.png) no-repeat center center;
    background-size: contain;
    bottom: 0;
    left: 50%;
    margin-left: 50px;
}
#works.works:after{
    width: 30px;
    height: 34px;
    background: url(../img/neko@2x.png) no-repeat center center;
    background-size: contain;
    top: 113px;
    left: 50%;
    margin-left: 460px;
}

#works h2{
    float: left;
}

#works nav{
    float: left;
    font-size: 11px;
    margin-left: 26px;
    font-family: 'Cabin', sans-serif;
    letter-spacing: 0.08em;
    margin-top: 6px;
}

#works nav h3{
    margin-bottom: 13px;
}

#works nav li{
    float: left;
}

#works nav li:before{
    content: "/";
    padding: 0 5px;
}

#works nav li a{
    opacity: 0.5;
}

#works nav li a.current{
    opacity: 1;
}

#works nav ul li:first-child:before{
    display: none;
}

#single{
    padding-top: 49px;
    overflow: hidden;
}

#single .left{
    padding-top: 3px;
}

#single h2{
    margin-bottom: 80px;
    font-size: 14px;
    font-weight: 900;
    font-family: "brandon-grotesque";
    letter-spacing: 0.08em;
}

#single dl{
    font-size: 10px;
    padding-right: 40px;
}

#single dl a{
    text-decoration: underline;
    word-break: break-all;
}

#single .left{
    float: left;
    width: 340px;
}

#single .right{
    float: left;
    width: 680px;
}

#single .left dt{
    opacity: 0.4;
    font-family: 'Cabin', sans-serif;
    margin-bottom: 8px;
}

#single .left dd{
    line-height: 20px;
    margin-bottom: 35px;
}

#single .right header{
    margin-bottom: 50px;
}

#single .right header h3{
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 24px;
    margin-bottom: 12px;
}

#single .right header ul{
    font-size: 10px;
    font-family: 'Cabin', sans-serif;
    overflow: hidden;
}

#single .right header li{
    float: left;
    opacity: 0.5;
    letter-spacing: 0.05em;
}

#single .right header li:before{
    content: ",";
    padding-right: 5px;
}

#single .right header li:first-child:before{
    display: none;
}

#single .right .content{
    padding-bottom: 10px;
}

#single .right .content p{
    margin-bottom: 40px;
}

#single .right .content p img{
    max-width: 680px;
}

#single .right .content p br + img,
#single .right .content p img + img{
    margin-top: 40px;
}

#single .right footer{
    overflow: hidden;
    padding-bottom: 90px;
}

#single .right footer > a{
    display: block;
    float: left;
}

#single .right footer ul{
/*     float: right; */
}

#single .right footer ul li{
    margin-bottom: 20px;
    font-family: "brandon-grotesque";
    font-size: 13px;
    font-weight: 700;
}

#single .right footer ul li a span{
    font-size: 20px;
    display: inline-block;
    padding-left: 5px;
    transform: translateY(0px) scale(0.6, 1);
    letter-spacing: 0.08em;
}

#single .right footer ul li.next{
    text-align: right;
    float: right;
}

#single .right footer ul li.prev a span{
    padding-right: 5px;
    padding-left: 0;
}

/* = products
=====================*/
#products h2{
    float: left;
}

#products > .container > header p{
    float: left;
    font-size: 11px;
    margin-left: 26px;
    font-family: 'Cabin', sans-serif;
    letter-spacing: 0.08em;
    padding-top: 22px;
}

/* = about
=====================*/
#about:after{
    content: "";
    display: block;
    width: 64px;
    height: 63px;
    background: url(../img/seikyu@2x.png) no-repeat center center;
    background-size: contain;
    position: absolute;
    left: 50%;
    margin-left: -500px;
    bottom: 0;
    z-index: 2;
}

#about header{
    margin-bottom: 60px;
}

#about section{
    overflow: hidden;
    padding-bottom: 80px;
}

#about section h3{
    float: left;
    width: 340px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.08em;
}

#about section h3 span{
    display: block;
    font-size: 10px;
    font-weight: normal;
    opacity: 0.5;
    padding-top: 16px;
    letter-spacing: 0.02em;
}

#about section .right{
    float: left;
    width: 680px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

#about section .right .big{
    font-size: 16px;
    margin-bottom: 30px;
}

#about section.works .right .big+ul{
    margin-bottom: 50px;
}

#about section.works .right .big+p{
    line-height: 20px;
}

#about section .right dt+dd,
#about section .right dd+dt{
    margin-top: 18px;
}

#about section .right dt{
    width: 170px;
    float: left;
}

#about section .right dd{
    width: 510px;
}

#about section .right li:before{
    content: "―";
    padding-right: 8px;
}

#about section .right li{
    margin-top: 16px;
}

#about section .right li:first-child{
    margin-top: 0;
}

#about section .right dl.overview dt{
    width: auto;
}

#about section .right dl.overview dt:after{
    content: " : ";
}

#about section .right dl+p{
    margin-top: 18px;
}

#about section .right dl+p a{
    text-decoration: underline;
}

#loading{
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    background: #f3f3f3;
}

#loading .img{
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
}

#loading .img._1{
    margin-top: -18px;
}

#loading .img._2{
    margin-top: -3px;
}
