html,
body {
  height: 100%;
  overflow-x: hidden;
}

body {
  height: 100%;
  margin: 0;
  font-family: "Hiragino", "Lato", "Roboto", sans-serif;

  font-size: 20px;
  line-height: 1.6;
  color: #1a2e3b;

  background: #ffffff;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

/* PRELOADER */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fbfbfb;
  z-index: 100;
  transition: 1s all;
  opacity: 1;
  visibility: visible;
}

.loader {
  width: 85px;
  height: 85px;
  border: 7px solid #0d94cd;
  border-radius: 50%;
  border-top-color: #fbfbfb;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: 1s spin infinite linear;
}

.done {
  opacity: 0;
  visibility: hidden;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* FONT */

@font-face {
  font-family: Hiragino;
  src: url("../font/Hiragino_Kaku_Gothic_Pro/hiragino-kaku-gothic-pro-w3.woff2")
    format("opentype");
}

@font-face {
  font-family: Hiragino-Thin;
  src: url("../font/Hiragino_Kaku_Gothic_Pro/hiragino-kaku-gothic-pron-w3.woff2")
    format("opentype");
}

@font-face {
  font-family: Hiragino-Bold;
  src: url("../font/Hiragino_Kaku_Gothic_Pro/hiragino-kaku-gothic-pron-w6.woff2")
    format("opentype");
}

/* Container */

.container {
  max-width: 1600px;
  margin: 0 auto;
}

a {
  text-decoration: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

.section {
  display: block;
}

/* Intro */

.intro {
  width: 100%;
}

/* Header */

.header {
  width: 100%;
  padding: 5px 0 0 20px;
  background-color: #ffffff;

  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}

.header.active {
  background-color: #f5f3f3;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.header__logo img {
  margin-left: 10px;
  max-width: 250px;
  max-height: 20px;
  cursor: pointer;
  user-select: none;
}

/* Nav */

.nav {
  justify-content: space-between;
  padding: 0px;
}

.indent {
  display: none;
  margin-top: 250px;
}

.nav__link {
  font-size: 18px;
  display: inline-block;
  vertical-align: top;
  margin: 0px 30px 0 30px;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;

  color: #1a2e3b;
  text-decoration: none;

  transition: color 0.2s linear;
}

.nav__link:after {
  content: "";
  display: block;
  width: 100%;
  border-bottom: 1px solid #0d94cd;

  background-color: #0d94cd;
  opacity: 0;

  position: absolute;
  top: 90%;
  left: 0;
  z-index: 1;

  transition: opacity 0.3s linear;
}

.nav__link:hover {
  color: #0d94cd;
  opacity: 1;
}

.nav__link:hover:after {
  opacity: 1;
}

/* Follow Us - Burger Menu */

.follow__us {
  display: none;
  margin: 82px 30px 53px;
  font-weight: 300;
  position: relative;
  text-transform: uppercase;

  color: #6a6b6b;
  text-decoration: none;

  transition: color 0.2s linear;
}

/* .follow__us:after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;

  background-color: #0D94CD;
  opacity: 0;

  position: absolute;
  top: 90%;
  left: 0;
  z-index: 1;

  transition: opacity 0.3s linear;
}

.follow__us:hover {
  color: #0D94CD;
}

.follow__us:hover:after {
  opacity: 1;
} */

/* Nav Icon */

.nav__icon {
  display: none;
  vertical-align: top;
  margin: 0 18px;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;

  color: #6a6b6b;
  text-decoration: none;

  transition: color 0.2s linear;
}

.nav__icon:after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;

  background-color: #0d94cd;
  opacity: 0;

  position: absolute;
  top: 90%;
  left: 0;
  z-index: 1;

  transition: opacity 0.3s linear;
}

.nav__icon:hover {
  color: #0d94cd;
}

.nav__icon:hover:after {
  opacity: 1;
}

/* Nav toggle */

.nav__toggle {
  width: 27px;
  padding: 4px 0;
  margin-right: 13px;

  font-size: 0;
  color: transparent;

  display: none;

  border: 0;
  background: none;

  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1;
}

.nav__toggle:focus {
  outline: 0;
}

.toggle__item {
  display: block;
  width: 100%;
  height: 2px;

  background-color: #6a6b6b;

  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;

  transition: background 0.2s linear;
}

.nav__toggle.active .toggle__item {
  background: none;
}

.toggle__item:before,
.toggle__item:after {
  content: "";
  width: 100%;
  height: 2px;

  background-color: #6a6b6b;

  position: absolute;
  left: 0;
  z-index: 1;

  transition: transform 0.2s linear;
}

.toggle__item:before {
  top: -7px;
}

.toggle__item:after {
  bottom: -7px;
}

.nav__toggle.active .toggle__item:before {
  transform-origin: left top;
  transform: rotate(45deg) translateX(-3px);
}

.nav__toggle.active .toggle__item:after {
  transform-origin: left bottom;
  transform: rotate(-45deg) translateX(-3px);
}

/* Showreel */

.showreel__video {
  display: block;
  overflow: hidden;
  margin-top: 37px;
}

.showreel__video video {
  width: 100%;
  object-fit: cover;
}

/* Carousel */
.showreel__carousel {
  display: none;
  overflow: hidden;
  margin-top: 37px;
}

.showreel__item img {
  width: 100%;
  object-fit: cover;
}

/* Introduction */

.introduction__inner {
  background-size: cover;
  max-width: 795px;
  margin: 19px auto;
}

.introduction__text p {
  color: #1a2e3b;
  font-size: 24px;
  line-height: 1.6em;
  text-align: center;
  padding: 10px;
}

/* Latest Work */

.showreel__text {
  font-weight: 100;
  color: #1a2e3b;
  margin-top: 34px;
  margin-bottom: 45px;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.5rem;
}

/* Portfolio */

.portfolio {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

.box {
  position: relative;
  width: 33.333%;
  cursor: pointer;
}

.works__inner .box .img__item img {
  object-fit: cover;
  display: block;
  width: 100%;
}

.contentBx {
  max-width: 33.333%;
  max-height: 50px;
  cursor: pointer;

  transition: 0.5s linear;
}

.contentBx h2 {
  position: absolute;
  font-weight: 700;
  font-size: 18px;
  color: #ffffff;
  padding: 12px 0;
  opacity: 1;

  top: 70%;
  left: 5%;
  z-index: 2;

  transition: opacity 0.1s linear;
}

/* See more */

.view__portfolio {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 45px;
}

.see__more {
  background-color: #0d94cd;

  font-weight: 100;
  font-size: 14px;
  color: #ffffff;
  margin: 84px 0 0 0;

  text-align: center;
  justify-content: center;
  border: none;
  outline: none;

  text-decoration: none;
  transition: 0.3s linear;
}

.see__more:hover {
  color: #ffffff;
  background-color: #0c7dac;
}

.button {
  width: 155px;
  padding: 15px 10px;
}

/* Contact */

.section__inner {
  position: relative;
  padding-top: 76px;
  padding-bottom: 71px;

  z-index: 1;
}

.section__inner h2 {
  font-weight: 100;
  font-size: 24px;
  color: #1a2e3b;
  text-transform: uppercase;
}

.entry__content {
  padding-top: 33px;
}

.tel {
  font-weight: 300;
  font-size: 20px;
  color: #6a6b6b;

  cursor: pointer;
}

.entry__content .tel a {
  font-weight: 300;
  font-size: 20px;
  color: #1a2e3b;
}

.entry__content .tel a:hover {
  font-weight: 700;
}

.mail {
  margin-top: 10px;

  cursor: pointer;
}

.entry__content .mail a {
  font-weight: 300;
  font-size: 20px;
  color: #0d94cd;

  transition: color 0.2s linear;
}

.entry__content .mail a:hover {
  color: #0d94cd;

  text-decoration: underline;
}

/* Footer */
.footer {
  width: 100%;
  flex: 0 0 auto;
}

.footer__inner {
  height: 99px;
  text-align: center;
  padding: 0 10px 10px 10px;

  background: #f1f8ff;
}

.copyright {
  margin-bottom: 10px;
  font-weight: 300;
  font-size: 14px;
  color: #1a2e3b;
}

.foot__link {
  display: inline-block;
  vertical-align: top;
  margin: 18px 7px 10px;
  position: relative;
  cursor: pointer;

  color: #1a2e3b;
  text-decoration: none;

  transition: color 0.2s linear;
}

.foot__link:hover {
  color: #0d94cd;
}

.foot__link:hover:after {
  opacity: 1;
}

/* ====================================================================== */
/* ====================================================================== */
/* ====================================================================== */
/* PORTFOLIO */

/* Menu */

.menu {
  width: 100%;
  margin-top: 37px;
}

.menu__inner {
  text-align: center;
  background-color: #1a2e3b;
}

/* Nav Menu */

.menu__section {
  justify-content: space-between;
}

.nav__menu {
  font-size: 14px;
  font-weight: 100;
  display: inline-block;
  position: relative;
  margin: 16px;
  cursor: pointer;
  text-transform: uppercase;

  color: #ffffff;
  text-decoration: none;

  transition: color 0.2s linear;
}

.nav__menu:after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;

  background-color: #0d94cd;
  opacity: 0;

  transition: opacity 0.3s linear;
}

.nav__menu:hover {
  color: #0d94cd;
}

.nav__menu:hover:after {
  opacity: 1;
}

.active {
  color: #0d94cd;
}

.mobile__nav {
  display: none;
}

.mobile__arrow {
  position: relative;
}

.mobile__left {
  position: absolute;
  top: 22%;
  left: 10%;
  width: 50px;
  height: 40px;
  color: #0d94cd;
}

.mobile__left i {
  display: inline-block;
}

.mobile__right {
  position: absolute;
  top: 22%;
  right: 10%;
  width: 50px;
  height: 40px;
  color: #0d94cd;
}

.mobile__right i {
  display: inline-block;
}

.nav__menu span {
  padding: 0 10px;
}

/* All Works */

.portfolio {
  width: 100%;
}

.works {
  flex: 1 0 auto;
  min-height: calc(90vh - 99px);
}

.works__inner {
  display: flex;
  flex-wrap: wrap;
}

.box {
  width: 33.333%;
}

.work__item img {
  position: relative;
  width: 100%;
  cursor: pointer;

  padding: 0;
}

.works__inner .box .imgBx {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a2e3b;

  overflow: hidden;
}

.works__inner .box .imgBx img {
  object-fit: cover;
  display: block;
  width: 100%;

  opacity: 0.5;
}

.box:hover .imgBx img {
  opacity: 1;
}

.box:hover .picBx h2 {
  opacity: 0;
}

.imgBx {
  background: #1a2e3b;
}

.imgBx img {
  display: block;
  transition: opacity 0.3s linear;
}

.picBx {
  background-size: cover;
  height: auto;
  cursor: pointer;

  transition: 0.5s linear;
}

.picBx h2 {
  position: absolute;
  font-weight: 100;
  font-size: 13px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 12px 0;
  opacity: 1;

  top: 75%;
  left: 5%;
  z-index: 2;

  transition: opacity 0.1s linear;
}

/* Slideshow */

.carousel_slide {
  position: relative;
}

.carousel-inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.carousel-item {
  display: none;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.slideshow {
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
}

.carousel-item.active {
  display: block;
}

/* Air */

.air {
  height: 178px;
}

/* ====================================================================== */
/* ====================================================================== */
/* ====================================================================== */
/* VIEV */

/* Vimeo */

.vimeo {
  width: 100%;
  margin: 0 auto;
  padding-top: 37px;
}

.video_vimeo {
  padding: 40px 240px 30px;
}

/* Under Vimeo */

.slideshow__heading {
  font-weight: 700;
  color: #0d94cd;
  margin-bottom: 31px;
  text-align: center;
  text-transform: uppercase;
}

.slideshow__content {
  text-align: center;
}

.slideshow__content p {
  padding-bottom: 41px;
}

.slideshow__text {
  display: flex;
  justify-content: center;
  font-weight: 300;
  color: #1a2e3b;
  padding: 8px 0;
}

table {
  border: none;
  border-collapse: separate;
  empty-cells: hide;
}

td:first-child {
  text-align: right;
  padding-right: 18px;
}

td:last-child {
  text-align: left;
}

/* Portfolio */

.portfolio__text {
  font-weight: 700;
  color: #1a2e3b;
  margin-top: 72px;
  margin-bottom: 81px;
  text-transform: uppercase;
  text-align: center;
}

/* ====================================================================== */
/* ====================================================================== */
/* ====================================================================== */
/* CONTACT US */

.contact {
  width: 100%;
  height: 100vh;
  background: url(../img/contact_us/Rectangle250.png);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact__content {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  text-align: center;
  padding: 46px 71px;
  margin: 0 10px;
}

.contact__title {
  font-size: 1em;
  font-weight: 400;
  text-transform: uppercase;
  user-select: none;
  margin-bottom: 53px;
}

.contact__address {
  font-size: 0.9em;
  max-width: 540px;
  user-select: none;
  margin-bottom: 20px;
}

.contact__address a {
  color: #0d94cd;
  cursor: pointer;
}

.contact__tel {
  display: inline-block;
  font-size: 0.9em;
  color: #1a2e3b;
  cursor: pointer;
  margin-bottom: 20px;
}

.contact__tel span {
  color: #0d94cd;
}

.contact__mail {
  font-size: 0.9em;
  color: #0d94cd;
  cursor: pointer;
  margin-bottom: 54px;
}

.contact__row {
  user-select: none;
}

.contact__icon {
  width: 22px;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  text-transform: uppercase;
  margin: 0 1px;

  color: #1a2e3b;
  text-decoration: none;

  transition: color 0.2s linear;
}

.contact__icon:hover {
  color: #0d94cd;
}

/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* @MEDIA */

@media (max-width: 1439px) {
  .container {
    max-width: 1439px;
  }

  /* Showreel */

  .showreel__video video {
    height: 85vh;
  }

  .showreel__item img {
    height: 75vh;
  }

  /* Portfolio */

  .container__inner {
    display: flex;
    justify-content: center;
  }

  .menu__section .nav__menu {
    font-size: 13px;
    margin: 16px 12px;
  }

  .picBx h2 {
    font-size: 11px;
  }

  /* Contact */
  .contact {
    padding: 20px 10px;
  }

  .contact__mail {
    margin-bottom: 35px;
  }
}

@media (max-width: 1012px) {
  .container {
    max-width: 1012px;
  }

  /* Showreel */
  .showreel__video {
    display: none;
  }

  .showreel__carousel {
    display: block;
  }

  /* Portfolio */

  .container__inner {
    display: flex;
    justify-content: center;
  }

  .introduction__inner {
    margin: 20px auto 0;
  }

  .introduction__text {
    margin-right: 0;
  }

  .introduction p {
    font-size: 18px;
    display: flex;
    justify-content: center;
  }

  .menu__section .nav__menu {
    font-size: 11px;
    margin: 16px 10px;
  }

  .picBx h2 {
    font-size: 10px;
    top: 65%;
  }

  /* Latest */
  .content h2 {
    font-size: 24px;
  }

  /* Vimeo */

  .video_vimeo {
    padding: 35px 110px 30px;
  }
}

@media (max-width: 770px) {
  .testing {
    font-size: 14px;
    margin-top: 37px;
  }

  .nav__link {
    display: none;
  }

  .nav__link:after {
    border-bottom: none;
  }

  .container {
    max-width: 770px;
  }

  .menu__section {
    display: none;
  }

  .mobile__nav {
    display: block;
    margin-top: 37px;
  }

  .mobile__nav .nav__menu {
    font-size: 1.2rem;
    margin: 15px 0;
  }

  .nav__menu:after {
    display: none;
  }

  /* Nav */

  .header {
    padding: 3px 0 0 20px;
  }

  .header__logo a {
    max-width: 210px;
    max-height: 20px;
  }

  .header__logo img {
    max-width: 210px;
    max-height: 14px;
  }

  .nav {
    display: none;

    width: 100%;
    height: 1000px;

    position: absolute;
    top: 100%;
    left: 0;

    background-color: #ffffff;
  }

  .indent {
    display: block;
  }

  .nav a {
    font-size: 24px;
  }

  .nav.active {
    display: block;
  }

  .nav__link {
    display: block;
    text-align: center;

    margin: 36px;
  }

  .follow__us {
    display: block;
    text-align: center;
  }

  .nav__socials_yv {
    text-align: center;
    margin: 20px 0;
  }

  .nav__socials_other {
    text-align: center;
    margin: 20px 0;
  }

  .nav__icon {
    display: inline-block;
  }

  .nav__toggle {
    display: block;
  }

  /* Latest Work */

  .latest {
    font-size: 14px;
  }

  /* Portfolio */

  .container__inner {
    display: flex;
    justify-content: center;
  }

  .introduction__inner {
    margin: 0 auto;
  }

  .introduction p {
    display: flex;
    justify-content: center;
    padding: 10px;
  }

  .showreel__text {
    margin-top: 35px;
  }

  .box {
    width: 50%;
  }

  .container__inner .box .videoBx video {
    width: 420px;
    height: 190px;
  }

  .contentBx {
    width: 420px;
    height: 31px;
  }

  .box:hover .videoBx video {
    opacity: 0;
  }

  .box:hover .contentBx h2 {
    opacity: 1;
  }

  .box {
    cursor: none;
  }

  /* Air */

  .air {
    height: 0;
  }

  /* Vimeo */

  .video_vimeo {
    padding: 15px 50px 20px;
  }

  .slideshow__heading h2 {
    font-size: 1rem;
  }

  .slideshow__content p {
    font-size: 0.9rem;
    padding-bottom: 20px;
  }

  .slideshow__text {
    font-size: 0.9rem;
  }

  /* Portfolio */

  .portfolio__text {
    margin-top: 35px;
    margin-bottom: 40px;
  }

  .portfolio__text h3 {
    font-size: 1.2rem;
  }

  /* Contact Us */
  .section__inner {
    padding-top: 79px;
    padding-bottom: 90px;
  }

  /* Contact */
  .contact__title {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .contact__address,
  .contact__tel {
    font-size: 0.8em;
    margin-bottom: 9px;
  }

  .contact__mail {
    font-size: 0.8em;
    margin-bottom: 48px;
  }
}

@media (max-width: 575px) {
  .testing {
    font-size: 12px;
  }

  .container {
    max-width: 575px;
  }

  /* Introduction */

  .introduction p {
    font-size: 14px;
    padding-top: 28px;
  }

  /* Portfolio */

  .showreel__text {
    font-size: 14px;
    margin-top: 30px;
    margin-bottom: 34px;
  }

  .box {
    width: 100%;
  }

  .picBx h2 {
    font-size: 14px;
  }

  /* Vimeo */

  .video_vimeo {
    padding: 5px 0 30px;
  }

  .slideshow__heading {
    font-size: 15px;
  }

  /* See All Portfolio */

  .see__more {
    font-size: 8px;
  }

  .view__portfolio {
    padding-top: 34px;
  }

  .button {
    font-size: 11px;
    width: 110px;
    height: 30px;

    margin-top: 50px;
  }

  /* Contact Section */

  .section__inner {
    padding: 79px 0 90px;
  }

  .footer__about h2 {
    font-size: 14px;
  }

  .entry__content {
    padding-top: 21px;
  }

  .entry__content p {
    font-size: 18px;

    margin-top: 4px;
  }

  .entry__content .tel a {
    font-size: 12px;
  }

  .entry__content .mail a {
    font-size: 12px;
  }

  /* Footer */

  .copyright {
    font-size: 10px;
  }

  .foot__link {
    margin: 18px 3px 10px;
  }

  /* Contact */
  .contact__content {
    padding: 46px 35px 20px;
  }

  .contact__title {
    font-size: 0.8em;
    margin-bottom: 20px;
  }

  .contact__address,
  .contact__tel,
  .contact__mail {
    font-size: 0.7em;
  }
}

/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* ////////////////////////////////////////////////////////////////// */
/* CAROUSEL FADE */


.box{
  animation-name: open;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}
#toggle:not(:checked) ~ div {
  display: none;
}
@keyframes open {
  0% {
    display: block;
    opacity: 0;
    visibility: hidden;
  }
  100% {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

.carousel.fade {
  opacity: 1;
}

.carousel.fade .item {
  -moz-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  -webkit-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
  left: 0 !important;
  opacity: 0;
  top:0;
  position:absolute;
  width: 100%;
  display:block !important;
  z-index:1;
}

.carousel.fade .item:first-child {
  top:auto;
  position:relative;
}

.carousel.fade .item.active {
  opacity: 1;
  -moz-transition: opacity ease-in-out 1s;
  -o-transition: opacity ease-in-out 1s;
  -webkit-transition: opacity ease-in-out 1s;
  transition: opacity ease-in-out 1s;
  z-index:2;
}
