/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* BODY
------------------------------------------------------------ */

@font-face {
  font-family: "04B";
  src: url("../font/04B_11_.TTF");
  font-display: block;
}

@font-face {
  font-family: "VOLT-KT";
  src: url("../font/VOLT-KT.TTF");
  font-display: block;
}

html {
  background: #000;
}

body {
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #000;
  font-family: '04B';
}

/* WORKS SCROLL 
------------------------------------------------------------ */

::-webkit-scrollbar {
  width: .8vw;
  background: #000;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: #fff;
}

/* SELECTION 
------------------------------------------------------------ */

::-moz-selection {
  background: #fff;
  color: #000;
}

::-webkit-selection {
  background: #fff;
  color: #000;
}

::selection {
  background: #fff;
  color: #000;
}

/* RAINBOW-TEXT
------------------------------------------------------------ */

.rainbow-text {
  background: 50% 50% / 100% repeat url(../image/rainbow.gif);
  color: transparent;
  font-weight: bold;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; 
} 

/* TV WRAP
------------------------------------------------------------ */

#wrap {
  display: block;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: #000;
}

/* TV WINDOW
------------------------------------------------------------ */

#tv-box {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

#tv-movie {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  -ms-transform : translate(-50%,-50%);
      transform : translate(-50%,-50%);
  z-index: 3;
  width: 58%;
  height: 80%;
  margin: 0 auto;
  padding: 0;
  background: 50% 50% / cover no-repeat #000;
  -webkit-filter: saturate(300%);
          filter: saturate(300%);
}

#tv-frame{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background: 50% 50% / 100% 96% no-repeat url(../image/design/07/tv.gif);
}

#tv-box p {
  position: absolute;
  z-index: 6;
  width: 20vw;
  height: 30vw;
  background: 50% 50% / contain no-repeat url(../image/design/02/falldown.gif);
}

#tv-box p:nth-of-type(1) {
  top: 3%;
  right: 10%;
  -webkit-filter: hue-rotate(-150deg) drop-shadow( .4vw .4vw .1vw #000 );
          filter: hue-rotate(-150deg) drop-shadow( .4vw .4vw .1vw #000 );
}


#tv-box p:nth-of-type(2) {
  bottom: 3%;
  left: 10%;
  -webkit-filter: hue-rotate(150deg) drop-shadow( .4vw .4vw .1vw #000 );
          filter: hue-rotate(150deg) drop-shadow( .4vw .4vw .1vw #000 );
}

/* TV CHANNEL 
------------------------------------------------------------ */

.channel {
  position: absolute;
  top: 50%;
  -webkit-transform : translateY(-50%);
  -ms-transform : translateY(-50%);
      transform : translateY(-50%);
  z-index: 5;
  width: 8vw;
  height: auto;
}

#left-side {
  left: 2%;
}

#right-side {
  right: 2%;
}

.channel > span {
  display: block;
  width: 8vw;
  height: 8vw;
  background: 50% 50% / 90% no-repeat url(../image/design/07/button.png);
  margin: 25% 0;
  cursor: pointer;
}

.channel > span:hover {
  background: 50% 50% / 100% no-repeat url(../image/design/07/button.png);
}

/* NORISTAX BUTTON
------------------------------------------------------------ */

#wrap.btn {
  width: 100vw;
  height: 100dvh;
}

#wrap.btn > div {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  -ms-transform : translate(-50%,-50%);
      transform : translate(-50%,-50%);
  width: 98%;
  height: auto;
  text-align: center;
}

#wrap.btn h1, #wrap.btn h2 {
  display: block;
  color: #fff;
  font-family: "04B";
}

#wrap.btn h1 {
  margin: 0 auto;
  font-size: 6vw;
}

#wrap.btn h2 {
  margin: 0 auto 2%;
  font-size: 2vw;
}

#wrap.btn img {
  display: inline-block;
  width: 12vw;
  height: 5vw;
  margin: .5vw;
  border: solid .5vw #fff;
}

/* WORKS 
------------------------------------------------------------ */

#contents {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
     -ms-flex-align: stretch;
        align-items: stretch;
  -webkit-box-pack: center;
     -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  width: 90%;
  height: auto;
  margin: 0 auto;
  padding: 1%;
  background: rgba(0,0,0,0.2);
}

#contents div {
  display: inline-block;
  position: relative;
  width: 48%;
  height: auto;
  margin: 0;
  padding: 0 1%;
  vertical-align: top;
}

#contents div > h1, #contents div > h2 {
  display: block;
  padding: 0;
  color: #fff;
  font-size: 5vw;
  font-weight: bold;
}

#contents div > h1 {
  margin: 0;
}

#contents div > h2 {
  margin: 10% 0 0;
}

/* WORKS CONTENTS > VIDEOS
------------------------------------------------------------ */

#contents div:first-child > p.thumb_image {
  display: block;
  width: 96%;
  height: 12.5vw;
  margin: 1% 0 2%;
  border: solid .5vw #fff;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-filter:saturate(200%);
          filter:saturate(200%);
}

#contents div:first-child > p.thumb_image:hover {
  -webkit-filter:saturate(0%);
          filter:saturate(0%);
}

#contents div:first-child > p.thumb_image > span {
  color: #fff;
  font-weight: bold;
  font-size: 3vw;
}

/* WORKS CONTENTS > MATERIAL
------------------------------------------------------------ */

#contents div:last-child > span#reset {
  display: inline-block;
  width: 12.4vw;
  height: 12.4vw;
  margin: 1%;
  border: solid .5vw #fff;
  color: #fff;
  font-size: 2vw;
  vertical-align: top;
  cursor: pointer;
}

img.bg-change, img.dp {
  width: 12.4vw;
  height: 12.4vw;
  margin: 1%;
  border: solid .5vw #fff;
  vertical-align: top;
  cursor: pointer;
}

#bg_test {
  display: block;
  opacity: 0.6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WORKS > VIDEOS > VIDEO THUMBNAIL
------------------------------------------------------------ */

#omiso {
  background-image: url(../image/thumb_video/omiso.gif);
}

#usakoo {
 background-image: url(../image/thumb_video/usakoo.gif);
}

#hiroto {
 background-image: url(../image/thumb_video/hiroto.gif);
}

#inducer {
 background-image: url(../image/thumb_video/inducer.gif);
 -webkit-filter: saturate(100%);
         filter: saturate(100%);
}

#ochazuke {
  background-image: url(../image/thumb_video/ochazuke.gif);
}

#suitable {
  background-image: url(../image/thumb_video/suitable.gif);
}

#nostalgic {
  background-image: url(../image/thumb_video/nostalgic.gif);
}

#tousenbou {
  background-image: url(../image/thumb_video/tousenbou.gif);
}

#lankykong {
  background-image: url(../image/thumb_video/lankykong.gif);
}

#shinchan {
  background-image: url(../image/thumb_video/chaos_chan.gif);
}

/* PPER
------------------------------------------------------------ */

#wrap.pepper {
  display: block;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

#wrap.pepper #button {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform : translate(-50%,-50%);
  -ms-transform : translate(-50%,-50%);
      transform : translate(-50%,-50%);
  width: 17vw;
  height: 17vw;
  background: 50% 50% / cover no-repeat url(../image/design/07/start.png);
  cursor: pointer;
}

#wrap.pepper #button:hover {
  width: 19vw;
  height: 19vw;
}

#kakushi {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
}

#wrap.pepper > #youtube-player {
  opacity: 0;
  position: absolute;
  top: -20%;
  left: -20%;
  z-index: 3;
  width: .5vw;
  height: .5vw;
}

.bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 0;
}

#electro {
  opacity: 1;
  z-index: 4;
  background: 50% 50% / 20% repeat url(../image/material/tyedye.gif);
}

#eyes {
  opacity: 0.6;
  z-index: 5;
  background: 50% 50% / cover repeat url(../image/design/07/pepperkun.gif);
  -webkit-filter: hue-rotate(-120deg) contrast(200%) saturate(200%);
          filter: hue-rotate(-120deg) contrast(200%) saturate(200%);
}


/* IE
------------------------------------------------------------ */

#ie {
  display: none;
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {

  #wrap {
    display: none;
    width: 0;
    height: 0;
    z-index: 1;
  }

  #ie {
    display: block;
    opacity: 1;
    position: absolute;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: 0% 0%/200% repeat url(../image/rainbow.gif) #6633cc;
    font-family: '04B';
    text-align: center;
  }

  #ie span {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform : translate(-50%,-50%);
            -ms-transform : translate(-50%,-50%);
        transform : translate(-50%,-50%);
    width: 90%;
    height: 6vw;
    margin: 0;
    color: #fff;
    font-size: 3vw;
    font-family: '04B';
  }
}

/* FOR PORTRAIT
------------------------------------------------------------ */

@media screen and (orientation: portrait) {

#tv-box {
  height: 60vh;
  margin: 5% 0 0;
}

#tv-movie {
  width: 80%;
  height: 80%;
}

#tv-frame{
  background: 50% 50% / 135% 100% no-repeat url(../image/design/07/tv.gif);
}

#tv-box p {
  width: 30vw;
  height: 50vw;
}

#tv-box p:nth-of-type(1) {
  top: -5%;
  right: 2%;
}

#tv-box p:nth-of-type(2) {
  bottom: -5%;
  left: 2%;
}

.channel {
  position: relative;
  z-index: 5;
  width: 100%;
  height: auto;
  text-align: center;
}

#left-side {
  left: 0;
  margin: 20% 0 4%;
}

#right-side {
  right: 0;
  margin: 0;
}

.channel > span {
  display: inline-block;
  width: 16vw;
  height: 16vw;
  background: 50% 50% / 100% no-repeat url(../image/design/07/button.png);
  margin: 0 3.5%;
}






#wrap.btn h1 {
  margin: 0 auto;
  font-size: 12vw;
}

#wrap.btn h2 {
  margin: 0 auto 10%;
  font-size: 4vw;
}

#wrap.btn img {
  width: 25vw;
  height: 10vw;
  margin: 1vw;
  border: solid 1vw #fff;
}

#contents {
  display: block;
  width: 98%;
  padding: 1%;
}

#contents div {
  display: block;
  width: 100%;
  margin: 10% 0;
  padding: 0;
}

#contents div > h1, #contents div > h2 {
  font-size: 10vw;
}

#contents div > h2 {
  margin: 10% 0 0;
}

#contents div:first-child > p.thumb_image {
  display: block;
  width: 90%;
  height: 20vw;
  margin: 1% auto 5%;
  border: solid 1.5vw #fff;
  -webkit-filter:saturate(200%);
          filter:saturate(200%);
}

#contents div:first-child > p.thumb_image:last-child {
  margin: 1% auto 10%;
}

#contents div:first-child > p.thumb_image > span {
  font-size: 6vw;
}

#contents div:last-child {
  text-align: center;
}

#contents div:last-child > h1, #contents div:last-child > h2 {
  text-align: left;
} 

#contents div:last-child > span#reset {
  width: 25vw;
  height: 25vw;
  margin: 2%;
  border: solid 1.5vw #fff;
  font-size: 6vw;
  text-align: left;
}

#contents div:last-child > img.bg-change, img.dp {
  width: 25vw;
  height: 25vw;
  margin: 2%;
  border: solid 1.5vw #fff;
}

#contents div:last-child > img.dp {
  width: 90%;
  height: 45vw;
  border: solid 1.5vw #fff;
}

#bg_test {
  display: block;
  opacity: 0.6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

}
