html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
div,
ul,
ol,
li,
dl,
dt,
dd,
table,
caption,
th,
td,
form,
button,
label,
address,
blockquote,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 62.5%;
  box-sizing: border-box;
  font-weight: 100;
}

body {
  max-width: 1440px;
  height: auto;
  cursor: none;
}

img {
  width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  cursor: none;
  color: #fff;
}

a:hover {
  -webkit-text-decoration-line: none;
          text-decoration-line: none;
}

ul,
ol,
li {
  list-style: none;
}

@media only screen and (max-width: 768px) {
  #pc {
    display: none;
  }
}

@media only screen and (min-width: 769px) {
  #smp {
    display: none;
  }
}

.white{
  color: #fafafa;
}

.loading {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #fff;
}
.loading__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* CURSOR STALKER */
#cursor {
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: gray;
  width: 5px;
  height: 5px;
  border-radius: 100%;
  pointer-events: none;
}

#cursor.active {
  -webkit-transform: scale(0);
          transform: scale(0);
}

#stalker {
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: lightgray;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  opacity: 0.3;
  pointer-events: none;
}

#stalker.active {
  -webkit-transform: scale(3);
          transform: scale(3);
}


/* global nav & pagenation */


[data-loading="true"] .logo {
  opacity: 0;
  font-size: 3.2rem;
  letter-spacing: 0.2em;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  margin: auto;
  -webkit-animation: fadein 1.5s ease-in 1s;
          animation: fadein 1.5s ease-in 1s;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  font-family: "Josefin Sans", sans-serif;
  color: #fff;
  text-align: center;
}

[data-loading="true"] .logo2 {
  opacity: 0;
  font-size: 2.4rem;
  letter-spacing: 0.2em;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  margin: auto;
  margin-top: 40px;
  -webkit-animation: fadein-2 2s ease-in;
          animation: fadein-2 2s ease-in;
  font-family: "Josefin Sans", sans-serif;
  -webkit-animation-iteration-count: 1;
          animation-iteration-count: 1;
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;
  color: #fff;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  [data-loading="true"] .logo2{
    font-size: 2rem;
  }
}

@-webkit-keyframes fadein {
  0% {
    opacity: 0;
    font-size: 10vw;
  }

  100% {
    width: 300px;
    opacity: 0.5;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
    font-size: 10vw;
  }

  100% {
    width: 300px;
    opacity: 0.5;
  }
}

@-webkit-keyframes fadein-2 {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.5;
  }
}

@keyframes fadein-2 {
  0% {
    opacity: 0;
    width: 50%;
  }

  100% {
    width: 300px;
    opacity: 0.5;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-22.5vw);
            transform: translateX(-22.5vw);
  }
}

@keyframes fadeIn {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-22.5vw);
            transform: translateX(-22.5vw);
  }
}

@-webkit-keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  100% {
    -webkit-transform: translate(22.5vw, -7.5vh);
            transform: translate(22.5vw, -7.5vh);
  }
}

@keyframes slide-right {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }

  100% {
    -webkit-transform: translate(22.5vw, -7.5vh);
            transform: translate(22.5vw, -7.5vh);
  }
}

@-webkit-keyframes menu-fade {
  0% {
    opacity:0;
  }

50%{
  opacity: 0;
}

  100% {
    opacity: 1;
  }
}

@keyframes menu-fade {
  0% {
    opacity:0;
  }

50%{
  opacity: 0;
}

  100% {
    opacity: 1;
  }
}

.top {
  height: 100%; 
  height: 100vh; 
  position: relative;  
  width: 100vw; 
}

#video {
  width: 100%;
  height: 100vh;
  z-index: 1;
  -webkit-filter: grayscale(1);
          filter: grayscale(1);
  -o-object-fit: cover;
     object-fit: cover;
}

[data-loading="true"] #scroll-animation {
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14vh;
  margin: 0 auto;
  width: 30px;
  height: 30px;
  z-index: 9999;
  cursor: none;
  -webkit-animation: menu-fade 2s ease-in 1.5s;
        animation: menu-fade 2s ease-in 1.5s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
}

[data-loading="true"] .menu{
  opacity: 0;
  position: absolute;
  z-index: 9999;
  top: 5rem;
  right: 0;
  left: 0;
  display: -webkit-box;
  display: flex;
-webkit-box-pack: start;
        justify-content: flex-start;
-webkit-animation: menu-fade 2s ease-in 1.5s;
        animation: menu-fade 2s ease-in 1.5s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
}

@media only screen and (max-width: 767px) {
  [data-loading="true"] .menu{
    -webkit-box-pack: center;
            justify-content: center;
  }
}

.menu li{
  margin: 0 3rem;
}

.menu li a{
  color: #333;
  font-size: 1.4rem;
  font-family: "Josefin Sans", sans-serif;
}

.menu li a:hover{
  color: #fafafa;
}

/* WORK */
#works{
  padding-top: 10rem;
}

.work {
  position: relative;
  margin: 0 auto;
  width: 80vw;
  margin-bottom: 5rem;
}


.work_title h2{
  height: auto;
  width: 100%;
  opacity: 0.1;
  font-size: 10vw;
  font-family: "Josefin Sans", sans-serif;
}

.work_item-box--flex {
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: justify;
          justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 5rem;
}

@media only screen and (max-width: 767px) {
  .work_item-box--flex{
    -webkit-box-pack: center;
            justify-content: center;
  }
}

.tilt-box{
  margin-bottom: 40px;
  width: 300px;
}

.tilt-box img{
  width: 100%;
  -webkit-filter: grayscale(1);
  filter: grayscale(1);
}

.tilt-box img:hover,
.tilt-box img:active{
  -webkit-filter: grayscale(0);
          filter: grayscale(0);
}

.client{
  font-size: 1.4rem;
  margin-top: 20px;
  color: #333;
}

.task{
  color: gray;
  font-size: 1.2rem;
  font-family: "Josefin Sans", sans-serif;
  margin-top: 10px;
}

.work_text {
  width: 450px;
  height: 300px;
  background-color: #000;
}

/* SERVICE */
  #service{
    padding-top: 10rem;
    margin-top: 10rem;
  }

  @media only screen and (max-width: 767px) {
    #service{
      margin-top: 5rem;
      padding-top: 5rem;
    }
  }

.service {
  position: relative;
  margin: 0 auto;
  width: 80vw;
  margin-bottom: 5rem;
}

.service_title h2{
  height: auto;
  width: 100%;
  opacity: 0.1;
  font-size: 10vw;
  font-family: "Josefin Sans", sans-serif;
}

.service_container {
  text-align: center;
  width: 80vw;
  margin: 0 auto;
  margin-top: 10rem
}

@media only screen and (max-width: 767px) {
  .service_container {
    width: 100%;
    margin-top: 5rem;
  }
}

.service_container--flex {
  display: -webkit-box;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service_explain {
  width: 500px;
  height: auto;
  position: relative;
  margin-bottom: 5rem;
}

@media only screen and (max-width: 767px) {
  .service_explain {
    width: 100%;
  }
}

.service_explain h3 {
  font-size: 1.4rem;
  font-family: "Josefin Sans", sans-serif;
  line-height: 1.5em;
  margin-bottom: 50px;
}

.service_explain h3 span {
  font-size: 1.8rem;
}

.total-design_text {
  position: absolute;
  top: 93px;
  left: 202px;
  width: 108px;
  height: 108px;
  border-radius: 100%;
  background-color: #d3d3d3;
  text-align: left;
  opacity: 0;
  -webkit-transition: 1s;
  transition: 1s;
}

.total-design_text:hover {
  opacity: 0.5;
}

.total-design_text ul {
  margin-left: -115px;
  margin-top: 20px;
}

.total-design_text ul li {
  color: #000;
}

.web-design_text {
  position: absolute;
  top: 277px;
  left: 100px;
  width: 108px;
  height: 108px;
  border-radius: 100%;
  background-color: #d3d3d3;
  text-align: left;
  opacity: 0;
  -webkit-transition: 1s;
  transition: 1s;
}

.web-design_text:hover {
  opacity: 0.7;
}

.web-design_text ul {
  margin-left: -130px;
  margin-top: 30px;
}

.web-design_text ul li {
  color: #000;
}

.graphic-design_text {
  position: absolute;
  top: 277px;
  left: 292px;
  width: 108px;
  height: 108px;
  border-radius: 100%;
  background-color: #d3d3d3;
  text-align: left;
  opacity: 0;
  -webkit-transition: 1s;
  transition: 1s;
}

.graphic-design_text:hover {
  opacity: 0.7;
}

.graphic-design_text ul {
  position: absolute;
  top: 30px;
  left: 130px;
  width: 200px;
}

.graphic-design_text ul li {
  color: #000;
}

.service_container img {
  width: 300px;
  height: auto;
}

.service_text {
  text-align: left;
  width: 300px;
  height: auto;;
}

.service_text h4 {
  font-size: 2rem;
  font-family: "Josefin Sans", sans-serif;
}

@media only screen and (max-width: 767px) {
  .service_text {
    width: 100%;
    text-align: center;
    margin-top: 3rem;
  }
}

.service_text p {
  font-size: 1.2rem;
  margin: 10px 0;
  font-family: "Josefin Sans", sans-serif;
}

.service_text ol {
  width: 100%;
  height: auto;
}

.service_text ol li {
  width: 80%;
  height: 30px;
  text-align: center;
  background-color: #87FFBB;
  margin: 20px 0;
  padding-top: 10px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
}

@media only screen and (max-width: 767px) {
  .service_text ol li{
    width: 100%;
  }
}

.service_text--arrow:after {
  display: block;
  content: "";
  background: url(../images/arrow.png) no-repeat center;
  background-size: contain;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  margin-top: 5px;
}

/* ABOUT US */
#about{
  padding-top: 10rem;
  margin-top: 10rem;
}

@media only screen and (max-width: 767px) {
  #about{
    margin-top: 5rem;
    padding-top: 5rem;
  }
}

.about-us {
  position: relative;
  margin: 0 auto;
  width: 80vw;
  margin-bottom: 5rem;
}

.about-us_title h2{
  height: auto;
  width: 100%;
  opacity: 0.1;
  font-size: 10vw;
  font-family: "Josefin Sans", sans-serif;
}

.about_container {
  width: 80vw;
  height: auto;
  margin-top: 10rem;
  margin-bottom: 10rem;
  margin: 0 auto;
}

@media only screen and (max-width: 767px) {
  .about_container {
    margin-top: 5rem;
  }
}

.about_container--flex {
  display: -webkit-box;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.flip-card-container {
  width: 280px;
  height: 450px;
  margin-bottom: 5rem;
  margin-top: 10rem;
}

@media only screen and (max-width: 767px) {
  .flip-card-container {
    margin-top: 0;
  }
}

.flip-card {
  width: inherit;
  height: inherit;
  position: relative;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: 0.6s 0.1s;
  transition: 0.6s 0.1s;
}

.flip-card-container:hover .flip-card,
.flip-card-container:active .flip-card {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.card-front {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: url(../images/satoru.jpg) no-repeat center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  border: solid 1px #f8f8f8;
}

.card-front-2 {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: url(../images/summer.jpg) no-repeat center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  border: solid 1px #f8f8f8;
}

.card-back {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: white;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  border: solid 1px lightgray;
}

.card-back p {
  text-align: center;
  margin-top: 45px;
  line-height: 5em;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
}

.card-back--flex {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
}

.card-front {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  z-index: 2;
}

.card-front-2 {
  -webkit-transform: rotateY(0deg);
          transform: rotateY(0deg);
  z-index: 2;
}

.card-back {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
  z-index: 1;
}

.card-figure {
  z-index: -1;
}

.card-figure,
.img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-figcaption {
  display: block;
  width: auto;
  padding: 8px 22px;
  font-weight: bold;
  line-height: 1.6;
  letter-spacing: 2px;
  word-spacing: 6px;
  text-align: right;
  position: absolute;
  top: 20px;
  left: 12px;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
}

.img-bg {
  background: #f8f8f8;
}

.card-back .img-bg {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 80%, 0 60%);
          clip-path: polygon(0 0, 100% 0, 100% 80%, 0 60%);
}

/* button */
.card-button {
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 8px 20px;
  border: 1px solid var(--grey);
  border-radius: 1000px;
  background: transparent;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  cursor: pointer;
  margin-top: -80px;
}

.card-button a {
  color: gray;
  font-family: "Josefin Sans", sans-serif;
}

.card-button:hover,
.card-button:focus {
  color: #000;
  background: lightgray;
  border-color: currentColor;
}

.card-button:active {
  -webkit-transform: translate(2px);
          transform: translate(2px);
}

/* CONTACT */
.contact {
  position: relative;
  margin: 0 auto;
  width: 80vw;
  margin-top: 50vh;
  margin-bottom: 50vh;
}

.contact_container {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column wrap;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  position: relative;
}

.contact_container > .banner {
  position: absolute;
  z-index: 2;
}

.contact_container > .banner {
  width: 100%;
  height: 200px;
  min-height: 200px;
  max-height: auto;
  -webkit-box-pack: center;
  justify-content: center;
  align-content: center;
  position: absolute;
  left: 0px;
  top: calc((100% - 200px) / 2);
  z-index: 10;
}

.contact_container > .banner > p {
  align-self: center;
  text-transform: uppercase;
  font-size: 13px;
  font-family: "Josefin Sans", sans-serif;
}

.contact_container > .banner > a {
  color: #000;
  height: auto;
  margin-top: 15px;
  text-align: center;
  text-transform: uppercase;
  -webkit-box-pack: center;
  justify-content: center;
  align-self: center;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
}

.contact_container > .banner > a:hover{
  color: #999;
}

.contact_container > .banner > a > p {
  margin: 0 8px;
  font-size: 1.4rem;
  font-family: "Josefin Sans", sans-serif;
}

.contact_container > .banner > a > i {
  display: block;
  background: url(../images/aircraft-glay.png) no-repeat center;
  background-size: contain;
  width: 30px;
  height: 20px;
  margin-top: -4px;
  margin-left: 10px;
}

.contact_container > .banner > a > i:before {
  display: inline-block;
  /* filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.26)); -webkit-filter: drop-shadow(0px 2px 5px rgba(0,0,0,0.26)); */
  content: "";
  position: relative;
  top: 0px;
  left: 0;
  width: 30px;
  height: 20px;
  z-index: 1;
  transition: 400ms left ease-in-out;
  -webkit-transition: 400ms left ease-in-out;
  display: block;
  background: url(../images/aircraft-black.png) no-repeat center;
  background-size: contain;
}

.contact_container > .banner > a.active > i:before,
.contact_container > .banner > a:hover > i:before,
.contact_container > .banner > a:focus > i:before {
  animation: paper-plane 4s ease-in-out;
  -webkit-animation: paper-plane 4s ease-in-out;
}

/* animation beginning */

@-webkit-keyframes paper-plane {
  0% {
    left: 0;
    top: 0px;
    -webkit-transform: rotate(0deg);
  }

  20% {
    left: 125px;
    -webkit-transform: rotate(-90deg);
  }

  40% {
    top: -100px;
    -webkit-transform: rotate(-180deg);
  }

  60% {
    left: -225px;
    -webkit-transform: rotate(-270deg);
  }

  80% {
    top: 0px;
    -webkit-transform: rotate(-360deg);
  }

  100% {
    left: 0;
    -webkit-transform: rotate(-360deg);
  }
}

@keyframes paper-plane {
  0% {
    left: 0px;
    top: 0px;
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  20% {
    left: 125px;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
  }

  40% {
    top: -100px;
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  60% {
    left: -225px;
    -webkit-transform: rotate(-270deg);
    transform: rotate(-270deg);
  }

  80% {
    top: 0px;
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }

  100% {
    left: 0;
    -webkit-transform: rotate(-360deg);
    transform: rotate(-360deg);
  }
}

.flex {
  display: -webkit-inline-box;
  display: inline-flex;
}

.flex.vertical {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-flow: column wrap;
}

.flex.horizontal {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
          flex-flow: row wrap;
}

.fade-right {
  opacity: 0.1;
  transform: translateX(-20px);
  transition: all 1s;
}

.fade-right.scrollin {
  opacity: 1;
  transform: translate(0);
}

.fade-right-late {
  height: 2px;
  width: 12rem;
  margin-left: 2rem;
  background-color: #87FFBB;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 1s;
  transition-delay: 0.5s;
}

@media only screen and (max-width: 767px) {
  .fade-right-late {
    height: 2px;
    width: 2.8rem;
    margin-left: 0;
  }
}

.fade-right-late.scrollin-late {
  opacity: 1;
  transform: translate(0);
}
