/** @format */

@charset "utf-8";

/*=== 初期設定css ===*/
html {
  font-size: 62.5%;
  /* 1rem = 10px */
}

body {
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  font-size: 1.4rem;
  /* ベースサイズ */
  font-family: "Syne", "Noto Sans JP", "arial", "YuGothic", sans-serif;
  background-color: #fff;
  color: #333;
}

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

png {
  width: 100%;
  height: auto;
  display: block;
}

nav {
  list-style-type: none;
  padding-left: 0px;
}

ul {
  list-style-type: none;
  padding-left: 0px;
}

p {
  all: unset;
}

a {
  display: block;
  text-decoration: none;
  color: #333;
}

/*=== js用のcss ===*/
.header.js-hidden {
  opacity: 0;
  transform: translateY(-100%);
}

.js-fadein-sec {
  opacity: 0;
  transition: opacity 1.3s ease;
}

.js-fadein-sec.fadein {
  opacity: 1;
}

.js-fadein-sec.fadeout {
  opacity: 0;
}

.typing-txt {
  font-weight: 700;
}

/*=== ローディング画面 ===*/
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: #000;
  color: #fff;
  font-size: 2.0rem;
  z-index: 1000;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.loading {
  border: 4px solid #fff;
  margin-left: 16px;
  margin-right: 16px;
  animation: animation-border 3s ease-out infinite;
}


#main-content {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#main-content.visible {
  display: block;
  opacity: 1;
}

/*=== 全体のcss ===*/
/*--------------
!header!
--------------*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 90px;
  mix-blend-mode: exclusion;
  z-index: 10;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.header__logo {
  flex: 0 0 100px;
  padding: 16px;
}

.header__nav {
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.header__menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 16px;
}

.header__menu-txt {
  font-size: 1rem;
  letter-spacing: 0.4rem;
}

.header__menu-txt:not(:last-child) {
  padding-right: 32px;
}

.header__menu-txt>a {
  color: #fff;
}

.header__menu-txt>a:hover {
  color: #49ff33;
}

/*--------------
!Hamburger!
--------------*/
.header__nav-sp {
  position: fixed;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  opacity: 0;
  transition: all 0.6s;
  z-index: 20;
  pointer-events: none;
}

.header__menu-sp {
  width: 160px;
}

.header__menu-txt-sp {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  font-size: 1.2rem;
  color: #333;
}

.hamburger {
  position: absolute;
  top: 0;
  right: 16px;
  width: 110px;
  height: 90px;
  z-index: 30;
}

.hamburger__line {
  position: absolute;
  right: 0;
  width: 110px;
  height: 0.8px;
  background-color: #fff;
  transition: all 0.6s;
  z-index: 30;
}

.hamburger__line--1 {
  top: 30px;
}

.hamburger__line--2 {
  top: 45px;
}

.hamburger__line--3 {
  top: 60px;
}

.nav-open .header {
  mix-blend-mode: unset;
}

.nav-open .header__nav-sp {
  mix-blend-mode: unset;
  opacity: 1;
  pointer-events: auto;
}

.nav-open .hamburger__line--1 {
  transform: rotate(45deg);
  top: 60px;
  background-color: #333;
}

.nav-open .hamburger__line--2 {
  width: 0;
}

.nav-open .hamburger__line--3 {
  transform: rotate(-45deg);
  top: 60px;
  background-color: #333;
}

/*--------------
!top!
--------------*/
.c-top {
  position: relative;
  width: 100%;
  height: 100svh;
  background-image: url(https://hideyuki-tanaka.com/img/top/bg_texture_001.png);
  background-size: cover;
}

.c-top__l-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.c-top__content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  border: 0.5px solid #000;
}

.c-top__left-top {
  height: 30px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.8;
  padding: 4px 0;
  border: 0.5px solid #000;
}

.c-top__left-middle {
  position: relative;
  width: 230px;
  height: 80px;
  border: 0.5px solid #000;
}

.c-top__left-middle>img {
  position: absolute;
  top: 12px;
  left: 6px;
  width: 240px;
}

.c-top__left-under {
  display: flex;
  justify-content: space-between;
  height: 32px;
  line-height: 0.7;
  padding: 4px 16px;
  border: 0.5px solid #000;
}

.c-top__right-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 110px;
  border: 0.5px solid #000;
}

.c-top__right-top>img {
  width: 60px;
}

.c-top__right-under {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  border: 0.5px solid #000;
  font-size: 1.0rem;
  font-weight: 700;
}

.c-top__note-l>P {
  font-size: 0.8rem;
}

.c-top__note-l>strong {
  font-weight: 700;
}

/*--------------
!works!
--------------*/
.c-works {
  padding-top: 80px;
  padding-bottom: 40px;
}

.c-works__l-content {
  margin: 0 16px;
}

.c-works__title {
  padding-bottom: 4px;
  font-size: 3.2rem;
  letter-spacing: 0.08rem;
  border-bottom: solid 0.8px #fff;
}

.c-works__content {
  padding-top: 20px;
  padding-bottom: 40px;
}

.c-works__txt {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 2px 16px;
  color: #fff;
  background-color: #333;
  border: solid 1px #333;
  border-radius: 100px;
}

.c-works__caption {
  display: block;
  font-size: 1.4rem;
  color: #333;
}

.c-works__img {
  border-radius: 8px;
  overflow: hidden;
  ;
}

.c-works-detail__img:not(:last-child) {
  padding-bottom: 40px;
}

.c-works-detail__img--video-bottom {
  padding-top: 40px;
}

.c-works-detail {
  width: 100%;
  padding-bottom: 40px;
}


.c-works-detail__description {
  padding: 40px 32px 120px;
  background-color: #fff;
  color: #333;
}

.c-works-detail__l-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: baseline;
}

.c-works-detail__l-box--lomg {
  align-items: flex-start;
}

.c-works-detail__title {
  font-size: 1.6rem;
  letter-spacing: 0.08rem;
  padding-bottom: 4px;
  color: #888;
}

.c-works-detail__txt {
  display: inline-block;
  font-size: 1.2rem;
  line-height: 1.6;
  padding-bottom: 4px;
}

.c-works-detail__caption {
  font-size: 2.4rem;
  padding-bottom: 40px;
}

.c-works-detail__link {
  display: block;
  font-size: 1.2rem;
  padding-top: 24px;
}

.c-works-detail__charge {
  margin: 16px;
}

.c-works-detail__area {
  font-size: 1rem;
  font-weight: 700;
}

.c-works-detail__name {
  display: block;
  padding-top: 8px;
  font-size: 1.2rem;
}

.c-works-detail__video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 アスペクト比 */
  overflow: hidden;
  background-color: #000;
  /* 動画が読み込まれない場合の背景色 */
}

.c-works-detail__video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

/*--------------
!news!
--------------*/
.c-news {
  padding-top: 16px;
  padding-bottom: 40px;
}

.c-news__l-content {
  margin: 0 16px;
}

.c-news__content {
  padding-top: 32px;
  padding-bottom: 40px;
}

.c-news__caption {
  display: inline-block;
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 2px 16px;
  color: #fff;
  background-color: #333;
  border: solid 1px #333;
  border-radius: 100px;
}

.c-news__time {
  display: block;
  font-size: 1rem;
}

.c-news__txt {
  display: block;
  margin-top: 4px;
  font-size: 1.2rem;
}

/*--------------
!about!
--------------*/
.c-about {
  padding-top: 16px;
  padding-bottom: 40px;
}

.c-about__l-content {
  margin: 0 32px;
}

.c-about__txt {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 2px 16px;
  color: #fff;
  background-color: #333;
  border: solid 1px #333;
  border-radius: 100px;
}

.c-about__caption {
  display: block;
  font-size: 1.2rem;
}

/*--------------
!footer!
--------------*/
.footer {
  width: 100%;
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  border-top: solid 0.8px #888;
}

.footer__l-content {
  margin-right: 16px;
  margin-left: 16px;
}

.footer__title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08rem;
  padding-bottom: 24px;
}

.footer__nav {
  font-size: 1.2rem;
  letter-spacing: 0.08rem;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__txt {
  padding: 16px 0;
}

.footer__txt:last-child {
  padding-bottom: 80px;
}

.footer__copylight {
  color: #888;
}

/*=== PCサイズ ===*/
@media only screen and (min-width: 771px) {
  .sp {
    display: none;
  }

  /*=== mask用のcss(pcのみ) ===*/
  .slidein {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .slidein .caption__mask {
    font-family: "Tomorrow", sans-serif;
    font-size: 1.6rem;
    color: #fff;
  }

  .slidein .mask {
    position: absolute;
    left: 0;
    bottom: -100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
  }

  .slidein:hover .mask {
    bottom: 0;
  }

  /*--------------
  !header!
  --------------*/
  .header {
    padding-left: 32px;
    padding-right: 32px;
  }

  /*--------------
  !top!
  --------------*/


  /*--------------
  !news!
  --------------*/
  .c-news__l-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  /*--------------
  !works!
  --------------*/
  .c-works__l-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .c-works-detail__projects {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .c-works-detail__charge {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  .c-works-detail__description {
    padding: 40px 160px 120px;
  }

  /*--------------
  !about!
  --------------*/
  .c-about {
    padding-top: 160px;
    padding-bottom: 300px;
  }

  .c-about__l-content {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
  }

  /*--------------
  !footer!
  --------------*/
  .footer {
    padding-left: 32px;
    padding-right: 32px;
  }

  .footer__menu {
    flex-direction: row;
  }

  .footer__txt:not(:last-child) {
    padding-right: 40px;
  }
}

/*=== SPサイズ ===*/
@media only screen and (max-width: 770px) {
  .pc {
    display: none;
  }

  /*--------------
  !header!
  --------------*/

  /*--------------
  !top!
  --------------*/

  /*--------------
  !works!
  --------------*/

  /*--------------
  !footer!
  --------------*/
}

/*--------------
!animation!
--------------*/
/* loading */
@keyframes animation-border {
  0% {
    width: 0;
  }

  100% {
    width: 100%;
  }
}

/* top blur */
@keyframes animation-blur {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 50% 100%;
  }

  50% {
    background-position: 100% 50%;
  }

  75% {
    background-position: 50% 0%;
  }

  100% {
    background-position: 0% 50%;
  }
}
