@charset "UTF-8";
@font-face {
  font-family: "BEBAS___";
  src: local("☺"), url("../assets/BEBAS___.ttf") format("truetype");
}
* {
  box-sizing: border-box;
}

a, .a:hover {
  text-decoration: none;
}

html {
  overflow-y: scroll;
}

body {
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
  font-size: 12px;
  margin: 0;
  padding: 0;
}

#start, #start-cv {
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  position: fixed;
  height: 100%;
  width: 100vw;
  z-index: -1;
}

main {
  position: relative;
  margin: 0;
  padding: 0;
}

section {
  position: relative;
  display: inline-block;
  width: calc(95vw - (18vw + 20px));
  margin-left: calc(18vw + 20px);
  margin-top: calc(13.123vw + 81px);
  padding: 0 0 70px;
  font-size: 12px;
}

@media screen and (max-width: 900px) {
  section {
    width: 100%;
    margin: 0;
    padding: 50px 20px;
  }
}
.title {
  padding: 0;
  line-height: 18px;
  font-family: "BEBAS___";
  font-size: 14px;
  color: #777;
  word-spacing: 5px;
}
.title a {
  color: #777;
}
.title a:hover {
  color: #333;
}
.title span.name {
  color: #000;
}
.title span.by {
  font-size: 10px;
  line-height: 10px;
}

.line, .linereel {
  position: relative;
  width: 100%;
  height: 1px;
  background-color: #555;
  margin: 0 0 10px;
}

.line {
  margin: 0 0 15px;
}

.linereel {
  width: 38vw;
}

@media screen and (max-width: 900px) {
  .linereel {
    width: 95vw;
  }
}
@media screen and (max-width: 700px) {
  .linereel {
    width: 90vw;
  }
}
nav {
  position: fixed;
  padding: 0 20px 0 0;
  font-family: "BEBAS___";
  font-size: 14px;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 100px 0 0;
  text-align: right;
  width: 18vw;
}

li a {
  color: #000;
  width: 100%;
  display: block;
  position: relative;
  padding-right: 1.2vw;
  padding-bottom: 2px;
  transition: background 1s;
}
li a:hover, li a.active {
  background-color: #000;
  color: white;
}
li a.white {
  color: #FFF;
}
li a.white:hover {
  background-color: #fff;
  color: #000;
}

li a.actiwe {
  background-color: #fff;
  color: #000;
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  nav {
    position: relative;
  }

  ul {
    width: 35vw;
    padding-top: 50px;
  }

  li a {
    padding-right: 2vw;
  }
}
@media screen and (max-width: 700px) {
  ul {
    width: 60vw;
  }

  li a {
    padding-right: 3.5vw;
  }
}
.tab {
  overflow: hidden;
}
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  transition: 0.3s;
}
.tab button:first-child {
  margin-right: 10px;
}
.tab button.active {
  text-decoration: overline;
  color: #333;
}

.tabcontent {
  display: none;
  padding: 0;
  animation: fadeEffect 1s;
}
.tabcontent span {
  background-color: #555;
  color: #FFF;
}
.tabcontent span.maintitle {
  font-size: 16px;
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.links img {
  height: 30px;
  width: auto;
  margin-right: 5px;
}

.works {
  position: relative;
  width: 24%;
  margin: 5px 10px 10px 0;
  float: left;
}
.works img {
  width: 100%;
  border: 1px solid #ccc;
}
.works:hover img {
  border: 1px solid #777;
  opacity: 0.9;
}
.works:hover .info {
  color: #FFF;
}
.works .info, .works .over {
  position: absolute;
}
.works .info {
  display: block;
  bottom: 0px;
  width: 100%;
  color: #AAA;
  padding: 4px 5px 2px 10px;
  font-size: 12px;
  line-height: 15px;
  background-color: #000;
}
.works .over {
  width: 100%;
  height: 100%;
  top: 0;
}

.work img {
  position: relative;
  width: 24%;
  margin: 5px 10px 10px 0;
  border: 1px solid #ccc;
  float: left;
  cursor: pointer;
}
.work img:hover {
  border: 1px solid #777;
  opacity: 0.9;
}

video {
  display: block;
  margin-bottom: 50px;
  width: 38vw;
}

@media only screen and (max-width: 900px) {
  .works, .work img {
    width: 48%;
    margin: 5px 8px 10px 0;
  }

  video {
    width: 95vw;
  }
}
@media only screen and (max-width: 700px) {
  .works, .work img {
    width: 100%;
  }

  video {
    width: 90vw;
  }
}
* {
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

/* ---- grid ---- */
.grid {
  background: #EEE;
  max-width: 1200px;
  counter-reset: grid-item;
}

/* clearfix */
.grid:after {
  content: "";
  display: block;
  clear: both;
}

/* ---- grid-item ---- */
.grid-item {
  width: 10vw;
  height: auto;
  float: left;
  background: #D26;
  border: 2px solid #333;
  border-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
}
.grid-item a img {
  width: 10vw;
}

.grid-item--width2 {
  width: 320px;
}

.grid-item--width3 {
  width: 480px;
}

.grid-item--width4 {
  width: 720px;
}

.grid-item--height2 {
  height: 200px;
}

.grid-item--height3 {
  height: 260px;
}

.grid-item--height4 {
  height: 360px;
}

#sbBack {
  position: fixed;
  font-family: monospace;
  color: #ccc;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 700;
  transition: 0.5s;
  visibility: hidden;
  opacity: 0;
  background-color: #fff;
}
#sbBack .sbBox {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#sbBack .sbBox .sbImg {
  width: unset;
  max-height: 80vh;
  max-width: 80vw;
  cursor: auto;
  animation-name: mine;
  animation-duration: 1s;
}
#sbBack #sbToggle, #sbBack #sbNext, #sbBack #sbPrev, #sbBack #sbClose {
  position: absolute;
  cursor: pointer;
  width: 20px !important;
  overflow: visible;
  background-size: 20px;
  background-repeat: no-repeat;
}
#sbBack #sbNext, #sbBack #sbPrev {
  top: 50%;
  height: 28px !important;
}
#sbBack #sbNext:hover, #sbBack #sbPrev:hover {
  background-position-y: -28px;
}
#sbBack #sbNext {
  right: 3vw;
  background-image: url("../assets/gn.png");
}
#sbBack #sbPrev {
  left: 3vw;
  background-image: url("../assets/gp.png");
}
#sbBack #sbToggle, #sbBack #sbClose {
  right: 3vw;
  height: 20px !important;
}
#sbBack #sbToggle {
  top: calc(3vw + 30px);
  background-image: url("../assets/ld.png");
  background-position-y: 0;
}
#sbBack #sbClose {
  top: 3vw;
  background-image: url("../assets/close.png");
}
#sbBack #sbClose:hover {
  background-position-y: -20px;
}
#sbBack #picInfo {
  white-space: nowrap;
  position: absolute;
  bottom: 2.5vw;
  left: 50%;
  transform: translate(-50%, 0);
  color: #6a6d6a;
}

@keyframes mine {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.cBox {
  position: relative;
  width: 70%;
  background-color: #ddd;
  color: #000;
  opacity: 0.8;
  line-height: 20px;
  padding: 20px;
  margin: -20px 0;
}

.contact {
  margin-top: 18px;
}

@media screen and (max-width: 900px) {
  .cBox {
    width: auto;
    margin: 0;
  }
}
