

body, div, dl, dt, dd, ul, ol, li, h1, p, section, header, footer, nav, h2, h3 {
    margin: 0;
    padding: 0;

}
section, header, footer, nav { display: block; }
li { list-style: none; }

html,
body { width: 100%; height: 100%; 

}

body {
    position: relative;
    font-size: 12px;
	font-family: 'Noto Serif JP', serif;
    overflow-x: hidden;
    overflow-y: visible;
}

a { text-decoration: none; }



/* ----------------------------------
    Navigation
---------------------------------- */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    line-height: 40px;
    font-size: 12px;
    text-align: center;
    z-index: 100;
    overflow: hidden;
    background-color: #fff2;
}

nav > div {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

/*
nav ul,
nav li { display: inline-block; }
nav li {
    overflow: hidden;
    margin: 0 18px;
    vertical-align: bottom;
}
*/

nav a {
    color: #222;
	font-weight: 600;
}





/* ----------------------------------
    Content
---------------------------------- */

/* Container */

#container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    -webkit-perspective: 1000px;
            perspective: 1000px;
    -webkit-perspective-origin: 50% 125px;        
            perspective-origin: 50% 125px;
    overflow: hidden;
    padding-top: 40px;

    -webkit-transition: height 0.3s linear;
            transition: height 0.3s linear;
}

/* Contents */

#contents {
    display: none;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(-500px);
    transform: translateZ(-500px);
    overflow: visible;
}

/* Page */

#contents > section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0 0 30px;
    color: #202020;
    line-height: 1.75;
    /*-webkit-filter: blur(0);*/
}

/* Page header */

#contents > section > header {
    padding: 30px 40px 0 40px;
    margin: 0 0 15px;
}

#contents > section > header > p.label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 11px;
    line-height: 1em;
    color: #fff;
    -webkit-border-radius: 30px;
       -moz-border-radius: 30px;
        -ms-border-radius: 30px;
         -o-border-radius: 30px;
            border-radius: 30px;
}

#contents > section > header > h1 {
    font-size: 22px;
    font-weight: normal;
}

/* Page inner */

#contents > section > section { padding: 0 40px 0 40px; }
#contents > section > section p { margin: 20px 0; }
 
#contents > section > section li,
#contents > section > section dd {}

/* Page pager */

#contents > section .pager { padding: 0 40px 20px 40px; }
#contents > section .pager li { margin: 0; }
#contents > section .pager li.prev { float: left; }
#contents > section .pager li.next { float: right; }

/* Page section */

#contents > section > section {margin: 0 0 35px;}
#contents > section > section > h1 {
    padding: 5px 0 5px 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #fff;
}

/* Page elements */

#contents > section h1,
#contents > section p,
#contents > section li,
#contents > section dt,
#contents > section dd {
    -webkit-transition-property: -webkit-transform, opacity, color;
            transition-property:         transform, opacity, color;
    -webkit-transition-duration: 1.5s; 
            transition-duration: 1.5s;

    -webkit-transition-timing-function: cubic-bezier(0.610, -0.220, 0.555, 1.105); 
            transition-timing-function: cubic-bezier(0.610, -0.220, 0.555, 1.105);
}

#contents > section,
#contents > section section {
    -webkit-transform-style: preserve-3d;
}

/* Use javascript */

#contents > .transition-enable {
    -webkit-transition-property: -webkit-transform, opacity;
            transition-property:         transform, opacity;
    -webkit-transition-duration: 1.5s; 
            transition-duration: 1.5s;
    -webkit-transition-timing-function: cubic-bezier(0, .99, .17, 1); 
            transition-timing-function: cubic-bezier(0, .99, .17, 1);
}

#contents > .animation-enable {
    -webkit-animation: rot 10s linear infinite;
            animation: rot 10s linear infinite;
}


/* ----------------------------------
    Issue
---------------------------------- */

/* Inactive content */
section.content.inactive {
    -webkit-animation: rot 60s linear infinite;
            animation: rot 60s linear infinite;
    /*-webkit-filter: blur(2px) !important;*/
}



/* Top */
section#qtop-content {
    color: #202020;
    font-size: 14px;
    text-align: center;
    line-height: 0;
}

/* Top logo */
section#qtop-content > header {
    width: 180px;
    height: 110px;
    margin: 10px auto;
}

/* Top navigation */
section#qtop-content ul,
section#qtop-content ul li { display: inline-block; }
section#qtop-content ul { margin: 25px 0; }
section#qtop-content ul li { margin: 0 10px; }
section#qtop-content ul li a {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: none;
    width: 47px;
    height: 47px;
    line-height: 47px;
    display: inline-block;
    background-color: gray;
    -webkit-border-radius: 24px;
       -moz-border-radius: 24px;
        -ms-border-radius: 24px;
         -o-border-radius: 24px;
            border-radius: 24px;
}
section#qtop-content ul li.vol1 a:hover { background-color: gray; }
section#qtop-content ul li.vol2 a:hover { background-color: gray; }
section#qtop-content ul li.vol3 a { background-color:gray; }
section#qtop-content ul li.vol3 a:hover {
    color: #000;
    background-color: gray;
}

/* Vol 1 */
section#vol1-content > header > p.label,
section#vol1-content > section > h1 { background-color: gray; }
section#vol1-content a { color: rgba(1, 146, 165, .7); }
section#vol1-content.inactive { color: rgba(3, 180, 204, .7); }






/* Vol 2 */
section#vol2-content > header > p.label,
section#vol2-content > section > h1 {
    background-color: gray;
}
section#vol2-content a { color: rgba(165, 0, 165, .7); }
section#vol2-content.inactive { color: rgba(255, 0, 255, .7); }

/* Vol 3 */
section#vol3-content > header > p.label,
section#vol3-content > section > h1 {
    color: #333 !important;
    background-color: gray;
}
section#vol3-content a { color: rgba(165, 165, 0, .7); }
section#vol3-content.inactive { color: rgba(255, 255, 0, .7); }

/* Animation */
@-webkit-keyframes rot {
    from { -webkit-transform: rotateY(0deg); }
    to   { -webkit-transform: rotateY(360deg); }
}

@-moz-keyframes rot {
    from { -moz-transform: rotateY(0deg); }
    to   { -moz-transform: rotateY(360deg); }
}

@keyframes rot {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}




@keyframes move-stripe2 {
    0% {  background-position-x: 0;  }
    100% {  background-position-x: -34px;  }
}


/*
.sasage{
	background-image: url(../img/sasage.svg);
    max-width: 1080px;
    min-height: 1000px;
    background-color: black;
}
*/

.stripe{
	background-color: black;
}

/* 名刺関連TOP */
h2.jobs{
	max-width: 700px;
	z-index: 10;
	position: absolute;
	top: 1vw;
	right: 1vw;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 3vh;
}
h3.name{
	z-index: 10;
	position: absolute;
	top: 0vw;
	right: 6vw;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 10vh;
}




@media screen and (max-width: 900px) {
h2.jobs{
	max-width: 700px;
	z-index: 10;
	position: absolute;
	top: 30vw;
	right: 44vw;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 4vw;
}
h3.name{
	z-index: 10;
	position: absolute;
	top: 5vw;
	right: 54vw;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: tb-rl;
	writing-mode: vertical-rl;
	font-size: 14vw;
}
}




ul.portfolio{
	background: none;
}
ul.portfolio li img{
	width: 70vw;
	padding: 5vw;
}
ul.portfolio li img.last{
	clear: both;
}





/*
@media screen and (min-width: 769px) {
.menu { display: none; }
}
.menu {
  position: relative;
  z-index: 100;
  top:10vh;
}
.menu a {
  position: absolute;
  background-color: black;
  padding: 15px 10px;
  border: 3px solid white;
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
.menu a.hidden {
  visibility: hidden;
}
.menu a:last-child {
  color: white;
  padding: 35px 22px;
}
.menu a:nth-child(1) {
  background-color: black;
  color: white;
  padding: 35px 22px;
}
.menu a:nth-child(1).show {
  -webkit-transform: rotate(0deg) translate(100px) rotate(0deg);
  transform: rotate(0deg) translate(171px) rotate(0deg);
}
.menu a:nth-child(2) {
  background-color: black;
  color: white;
  padding: 36px 24px;
}
.menu a:nth-child(2).show {
  -webkit-transform: rotate(45deg) translate(100px) rotate(-45deg);
  transform: rotate(33deg) translate(167px) rotate(-33deg);
  color: white;
}
.menu a:nth-child(3) {
  background-color: black;
  color: white;
  padding: 34px 15px;
}
.menu a:nth-child(3).show {
  -webkit-transform: rotate(90deg) translate(100px) rotate(-90deg);
  transform: rotate(65deg) translate(172px) rotate(-65deg);
}

.menu a:nth-child(4) {
  background-color: black;
  color: white;
  padding: 30px 25px;
}
.menu a:nth-child(4).show {
  -webkit-transform: rotate(90deg) translate(100px) rotate(-90deg);
  transform: rotate(90deg) translate(209px) rotate(-90deg);
}
*/
