/** @format */

@charset "utf-8";

/*=== font読み込み ===*/
/* TomorrowはGooglefontの読み込みで上手くいかないのでこちらからDLして表示 */
/* normal */
@font-face {
  font-family: "Tomorrow";
  src: url("../fonts/Tomorrow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
/* bold */
@font-face {
  font-family: "Tomorrow";
  src: url("../fonts/Tomorrow-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
}

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

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

  /*=== 背景のグラデーション ===*/
  background: linear-gradient(50deg, #ffffff, #fffafa, #ffffff);
  background-size: 240% 240%;
  animation: bg-gradation 30s ease infinite;
}

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 {
  text-decoration: none;
  color: #333;
}

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

#js-loading {
  opacity: 1;
}

.js-loaded {
  opacity: 0;
  visibility: hidden;
}

/*=== loading ===*/
.loading__l-content {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.loading__content {
  width: 200px;
}

/*===全体のcss ===*/
/*--------------
!header!
--------------*/
.header {
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
}

.header__menu {
  display: flex;
  flex-direction: column;
  width: 200px;
}

.header__menu--sns {
  flex-direction: row;
  justify-content: space-between;
  padding-top: 24px;
}

.header__menu-txt {
  font-size: 1.2rem;
  letter-spacing: 0.4rem;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

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

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

.header__sns {
  width: 24px;
}

.header__l-time {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}

.header__time {
  display: inline-block;
  background-color: #000;
  color: #fff;
  border-radius: 100px;
  padding: 4px 8px;
  font-size: 1.4rem;
}

/*--------------
!nav!
--------------*/
.header__nav {
  z-index: 20;
  position: fixed;
  top: -100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background-color: #002dff;
  opacity: 0.8;
  overflow-y: scroll;
  transition: all 0.6s;
}

/*--------------
!hamburger!
--------------*/
.hamburger {
  z-index: 30;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 60px;
  height: 60px;
}

.hamburger__l-menu {
  width: 60px;
  height: 60px;
  border: 4px solid #000;
  border-radius: 100px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hamburger__menu {
  font-weight: 900;
  font-size: 1.6rem;
}

.hamburger__menu--open {
  display: block;
}

.hamburger__menu--close {
  display: none;
}

/* メニュークリック時 */
.nav-open .hamburger__menu--open {
  display: none;
}

.nav-open .hamburger__menu--close {
  display: block;
}

.nav-open .header__nav {
  top: 0;
}

/*--------------
!top!
--------------*/
.c-main {
  width: 100%;
  height: 100vh;
  background-color: #fff;

  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
}

.c-main__top {
  display: flex;
  justify-content: space-between;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.c-main__bottom {
  display: flex;
  justify-content: center;
  padding-top: 13px;
}

.c-main__img-01 {
  width: 180px;
  border: 4px solid #000;
  border-radius: 16px;
}

.c-main__img-02 {
  width: 104px;
  border: 4px solid #000;
  border-radius: 16px;
}

.c-main__img-03 {
  width: 300px;
  border: 4px solid #000;
  border-radius: 16px;
}

.c-main__l-ttl {
  text-align: center;
}

.c-main__ttl {
  font-family: "Tomorrow", sans-serif;
  font-weight: 900;
  font-style: normal;
  text-decoration: line-through;
  font-size: 10rem;
  cursor: default;
}

/*--------------
!works!
--------------*/
.c-work {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  padding-top: 40px;
}

.c-work__content {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.c-work__list {
  display: flex;
  flex-wrap: wrap;
}

.c-work__project {
  position: relative;
  flex-basis: calc(33.33% - 80px);
  margin: 0 40px 200px;
}

.c-work__project > img {
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 5px 6px rgba(0, 0, 0, 0.1),
    0 10px 11px rgba(0, 0, 0, 0.1), 0 19px 19px rgba(0, 0, 0, 0.1),
    0 38px 34px rgba(0, 0, 0, 0.1), 0 101px 74px rgba(0, 0, 0, 0.1);
}

.c-work__description {
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
}

.c-work__no {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.2rem;
}

.c-work__title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 8px;
  border-bottom: 1px solid #000;
}

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

/*=== pagination ===*/
.pagination {
  width: 100%;
  padding-bottom: 40px;
}

.pagination__content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 280px;
  margin-left: auto;
  margin-right: auto;
  padding: 8px;
  border: none;
  border-radius: 100px;
  background-color: #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 5px 6px rgba(0, 0, 0, 0.1),
    0 10px 11px rgba(0, 0, 0, 0.1), 0 19px 19px rgba(0, 0, 0, 0.1),
    0 38px 34px rgba(0, 0, 0, 0.1), 0 101px 74px rgba(0, 0, 0, 0.1);
}

.pagination__no {
  font-size: 1.8rem;
  letter-spacing: 0.4rem;
  margin-left: 80px;
  margin-right: 80px;
}

.pagination__next {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(45deg);
}

.pagination__back {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
}

.pagination-off {
  border: none;
}

/*--------------
!about!
--------------*/
.c-about {
  width: 100%;
  height: 100vh;
  background-color: #fff;
}

.c-about__content {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding-left: 16px;
  padding-right: 16px;
}

.c-about__img {
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  border: none;
  border-radius: 300px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1), 0 5px 6px rgba(0, 0, 0, 0.1),
    0 10px 11px rgba(0, 0, 0, 0.1), 0 19px 19px rgba(0, 0, 0, 0.1),
    0 38px 34px rgba(0, 0, 0, 0.1), 0 101px 74px rgba(0, 0, 0, 0.1);
}

.c-about__description {
  margin-top: 40px;
  padding: 40px;
  color: #000;
  background-color: #fff;
  border: 4px solid #000;
  border-radius: 16px;
}

.c-about__title {
  font-family: "Tomorrow", sans-serif;
  font-weight: 900;
  font-style: normal;
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.1rem;
  line-height: 1.6;
  padding-bottom: 8px;
}

.c-about__txt {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
}

.c-about__info {
  display: block;
  font-size: 1.4rem;
}

/*--------------
!footer!
--------------*/
.footer {
  position: fixed;
  bottom: 60px;
  left: -24px;
  transform: rotate(270deg);
  color: #002dff;
}

.footer__text {
  font-size: 1.6rem;
  font-weight: 800;
}

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

  /*--------------
  !header!
  --------------*/
  .header__l-time {
    justify-content: flex-start;
    padding-left: 32px;
  }

  /*=== top ===*/
  .c-main {
    flex-direction: row-reverse;
    justify-content: space-evenly;
    align-items: center;
  }

  .c-main__top {
    width: 400px;
  }

  .c-main__img-01 {
    width: 240px;
    border: 8px solid #000;
  }

  .c-main__img-02 {
    width: 139px;
    border: 8px solid #000;
  }

  .c-main__img-03 {
    width: 400px;
    border: 8px solid #000;
  }

  /*=== works ===*/

  /*=== about ===*/
}

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

  /*=== works ===*/
  .c-work__project {
    flex-basis: content;
    margin: 0;
  }

  .c-work__project + .c-work__project {
    padding-top: 200px;
  }

  /*=== pagination ===*/
  .pagination {
    padding-top: 240px;
  }

  /*=== about ===*/
  .c-about__content {
    flex-direction: column;
  }

  .c-about__img {
    max-width: 280px;
  }
}

/*--------------
!animation!
--------------*/
/*=== rubberBand ===*/
@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.animate-rubberBand {
  -webkit-animation-name: rubberBand;
  animation-name: rubberBand;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*=== swing ===*/
@-webkit-keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  20% {
    -webkit-transform: rotate3d(0, 0, 1, 15deg);
    transform: rotate3d(0, 0, 1, 15deg);
  }

  40% {
    -webkit-transform: rotate3d(0, 0, 1, -10deg);
    transform: rotate3d(0, 0, 1, -10deg);
  }

  60% {
    -webkit-transform: rotate3d(0, 0, 1, 5deg);
    transform: rotate3d(0, 0, 1, 5deg);
  }

  80% {
    -webkit-transform: rotate3d(0, 0, 1, -5deg);
    transform: rotate3d(0, 0, 1, -5deg);
  }

  to {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.animate-swing {
  -webkit-animation-name: swing;
  animation-name: swing;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*=== heartBeat ===*/
@-webkit-keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes heartBeat {
  0% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  14% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  28% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }

  42% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
  }

  70% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.animate-heartBeat {
  -webkit-animation-name: heartBeat;
  animation-name: heartBeat;
  -webkit-animation-duration: 1.3s;
  animation-duration: 1.3s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*=== jello ===*/
@-webkit-keyframes jello {
  from,
  11.1%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }

  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }

  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }

  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }

  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }

  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }

  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

@keyframes jello {
  from,
  11.1%,
  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  22.2% {
    -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
    transform: skewX(-12.5deg) skewY(-12.5deg);
  }

  33.3% {
    -webkit-transform: skewX(6.25deg) skewY(6.25deg);
    transform: skewX(6.25deg) skewY(6.25deg);
  }

  44.4% {
    -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
    transform: skewX(-3.125deg) skewY(-3.125deg);
  }

  55.5% {
    -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
    transform: skewX(1.5625deg) skewY(1.5625deg);
  }

  66.6% {
    -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
    transform: skewX(-0.78125deg) skewY(-0.78125deg);
  }

  77.7% {
    -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
    transform: skewX(0.390625deg) skewY(0.390625deg);
  }

  88.8% {
    -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
  }
}

.animate-jello {
  -webkit-animation-name: jello;
  animation-name: jello;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/*=== flash ===*/
@-webkit-keyframes flash {
  from, 50%, to {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

@keyframes flash {
  from, 50%, to {
    opacity: 1;
  }

  25%, 75% {
    opacity: 0;
  }
}

.animate-flash {
  -webkit-animation-name: flash;
  animation-name: flash;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
