@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
}

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

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* -----header----- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  padding: 45px;
  background-color: #fff;
}

header h1 {
  margin-bottom: 41px;
}

header nav ul {
  font-size: 14px;
  list-style: none;
}

header nav li:not(:last-of-type) {
  margin-bottom: 23px;
}

header nav li:last-of-type {
  margin-bottom: 84px;
}

header nav a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.container {
  display: flex;
  justify-content: center;
  width: calc(100% - 300px);
  margin-left: 300px;
}

/* ----------main---------- */
.main {
  width: 100%;
}

/* -----video----- */
#video {
  position: fixed;
  top: 0;
  left: 300px;
  width: 100%;
  height: 100vh;
  z-index: -1;
}

#video_header {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/* -----project----- */
#project {
  color: #fff;
  text-align: center;
  margin-top: 100vh;
  padding-bottom: 165px;
  background: linear-gradient(180deg,
      rgba(84, 84, 84, 0) 0%,
      rgba(84, 84, 84, 0.1) 25%,
      rgba(80, 80, 80, 0.5) 60%,
      rgba(0, 0, 0, 0.8) 100%);
  text-shadow: 0px 0px 2px #0D0D0D29;
}

#project .wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#project h2 {
  position: relative;
  text-align: center;
  font-size: 28px;
  padding-bottom: 69px;
}

#project h2::before,
#project h2::after {
  content: "";
  position: absolute;
  top: 20%;
  width: 32%;
  height: 1px;
  background-color: #fff;
}

#project h2::before {
  left: 0;
}

#project h2::after {
  right: 0;
}

#project ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 56px;
  list-style: none;
}

#project li {
  position: relative;
  max-width: 402px;
  max-height: 256px;
}

#project img {
  max-width: 100%;
  min-height: 100%;
}

#project p {
  position: absolute;
  width: 100%;
  height: 50px;
  bottom: 0;
  padding-left: 7px;
  font-size: 12px;
  line-height: 50px;
  text-align: left;
  box-shadow: inset 0px -30px 15px rgba(46, 46, 46, 0.9);
}

/* -----feature----- */
#feature {
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  text-shadow: 0px 0px 2px #0D0D0D29;
}

#feature .wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#feature h2 {
  position: relative;
  font-size: 28px;
  padding-bottom: 66px;
  text-align: center;
}

#feature h2::before,
#feature h2::after {
  content: "";
  position: absolute;
  top: 20%;
  width: 25%;
  height: 1px;
  background-color: #fff;
}

#feature h2::before {
  left: 0;
}

#feature h2::after {
  right: 0;
}

#feature ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 43px;
}

#feature .feature-item {
  width: 100%;
}

#feature li {
  position: relative;
  width: 100%;
  height: auto;
  flex: 1;
  aspect-ratio: 1 / 1;
  margin-bottom: 18px;
  list-style: none;
  text-align: center;
  display: flex;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  align-items: center;
  background-color: transparent;
  overflow: hidden;
}

#feature li::before {
  position: absolute;
  content: "";
  left: 0;
  width: 0%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  transition: width .3s ease-in-out;
}

#feature li:hover::before {
  width: 100%;
}

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

#feature h3 {
  margin-bottom: 13px;
}

#feature p {
  padding-bottom: 164px;
}

/* -----flow----- */
#flow {
  background-color: #fff;
  text-shadow: 0px 0px 2px #0D0D0D29;
  padding-bottom: 151px;
}

#flow h2 {
  position: relative;
  padding: 125px 0 72px;
  font-size: 28px;
  color: #121212;
  text-align: center;
}

#flow .wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#flow h2::before,
#flow h2::after {
  content: "";
  position: absolute;
  top: 61%;
  width: 25%;
  height: 1px;
  background-color: #121212;
}

#flow h2::before {
  left: 0;
}

#flow h2::after {
  right: 0;
}

#flow p {
  padding-bottom: 65px;
  color: #121212;
}

#flow .flow-contents {
  display: flex;
  justify-content: space-between;
}

#flow ol {
  position: relative;
  width: 28%;
  margin-right: 41px;
  font-size: 14px;
  list-style-position: inside;
  text-align: center;
}

#flow ol::after {
  content: "";
  position: absolute;
  top: 1%;
  left: 44%;
  width: 100%;
  transform: translateX(-44%);
  width: clamp(30px, 5vw, 50px);
  height: calc(5 * 110px + 4 * 40px);
  background-color: #FFDD00;
}

#flow li {
  position: relative;
  width: 100%;
  max-width: 200px;
  max-height: 80px;
  padding: 30px 10px;
  margin-bottom: 80px;
  border-top: 1px solid #121212;
  border-right: 1px #121212;
  border-bottom: 1px solid #121212;
  border-left: 1px solid #121212;
  color: #fff;
  background-color: #121212;
  z-index: 1;
}

#flow li::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  background-color: #121212;
}

#flow dl {
  width: 72%;
  margin-left: 41px;
  counter-reset: section;
}

#flow dt {
  font-size: 20px;
  border-bottom: 1px solid #121212;
  position: relative;
  padding-bottom: 15px;
}

#flow dt::before {
  position: absolute;
  top: 4%;
  left: -3rem;
  width: 35px;
  height: 35px;
  line-height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  counter-increment: section;
  content: counter(section);
  font-size: 16px;
  color: #fff;
  border-radius: 50%;
  background-color: #121212;
}

#flow dd {
  padding: 13px 0 52px;
  font-size: 16px;
}

/* -----contact----- */
#contact {
  background-color: #fff;
  text-shadow: 0px 0px 2px #0D0D0D29;
  padding-bottom: 160px;
}

#contact .wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  color: #121212;
}

#contact h2 {
  position: relative;
  font-size: 28px;
  text-align: center;
}

#contact h2::before,
#contact h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background-color: #121212;
}

#contact h2::before {
  left: 0;
}

#contact h2::after {
  right: 0;
}

#contact p {
  padding: 72px 0 65px;
  font-size: 16px;
}

#contact .contact-contents {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

#contact a {
  position: relative;
  width: 100%;
  max-width: 258px;
  max-height: 190px;
  padding: 50px 60px;
  color: inherit;
  outline: 1px solid #121212;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  transition: outline .2s ease, background-color .2s ease;
}

#contact a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-top: 20px solid transparent;
  border-right: 20px solid #121212;
  border-bottom: 20px solid #121212;
}

#contact a:hover {
  outline-width: 3px;
  background-color: #eee;
}

#contact .contact-icon {
  width: 100%;
}

#contact span {
  font-size: 14px;
}

/* -----footer----- */
footer {
  position: relative;
  height: 169px;
  max-width: 100%;
  margin-left: 300px;
  background-color: #121212;
  padding-bottom: 22px;
}

footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: #fff;
  padding: 53px 254px 58px;
  padding: 53px;
}

footer li {
  list-style: none;
}

footer li:not(:last-of-type) {
  border-right: 1px solid #fff;
  padding-right: 20px;
}

footer a {
  color: inherit;
  text-decoration: none;
}

footer p {
  font-size: 12px;
  color: #fff;
  text-align: center;
}

footer .button {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 50px;
  height: 50px;
  color: #fff;
  background-color: #121212;
  border: 1px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity .2s ease, background-color .2s ease;
}

footer .button:hover {
  opacity: 0.8;
  background-color: #242424;
}

footer .button::before {
  content: "";
  position: absolute;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: border-bottom .2s ease;
}

footer .button:hover::before {
  border-bottom: 7px solid #c1c1c1;
}


/* ------------------------------ */
/* ----------responsive---------- */
/* ------------------------------ */
@media screen and (max-width: 960px) {
  .pc-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  /* -----header----- */
  header {
    position: fixed;
    width: 100%;
    height: 72px;
    padding: 10px 18px;
    z-index: 3;
  }

  header h1 {
    width: 180px;
    height: 52.36px;
    margin-bottom: 0;
  }

  header h1 img {
    width: 100%;
    height: 100%;
  }

  /* -----hamburger menu button closed----- */
  header .hamburger-menu {
    position: fixed;
    top: 22px;
    right: 18px;
    width: 30px;
    height: 30px;
    z-index: 3;
  }

  header .hamburger-menu span {
    position: absolute;
    display: inline-block;
    width: 30px;
    height: 1.9px;
    background-color: #121212;
    transition: transform .4s ease, background-color .4s ease;
  }

  header .hamburger-menu span:nth-of-type(1) {
    top: 0;
  }

  header .hamburger-menu span:nth-of-type(2) {
    top: 12px;
  }

  header .hamburger-menu span:nth-of-type(3) {
    top: 24px;
  }

  /* -----hamburger menu button opened----- */
  header .hamburger-menu.open span:nth-of-type(1) {
    top: 12px;
    transform: rotate(-45deg);
    background-color: #fff;
  }

  header .hamburger-menu.open span:nth-of-type(2) {
    opacity: 0;
  }

  header .hamburger-menu.open span:nth-of-type(3) {
    top: 12px;
    transform: rotate(45deg);
    background-color: #fff;
  }

  /* -----hamburger menu opened----- */
  header nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    padding: 35px;
    transform: translateX(-300%);
    background-color: #fff;
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: transform .5s ease, opacity .5s ease;
  }

  header nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  header .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background-color .3s ease;
    z-index: 2;
  }

  header .overlay.active {
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: auto;
  }

  /* -----main----- */
  .container {
    width: 100%;
    margin: 0;
  }

  /* -----video----- */
  #video {
    left: 0;
  }

  /* -----project----- */
  #project {
    padding-bottom: 123px;
  }

  #project h2 {
    font-size: 20px;
    padding-bottom: 37px;
  }

  #project ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  #project li {
    max-width: none;
    max-height: none;
  }

  /* ---feature--- */
  #feature h2 {
    font-size: 20px;
  }

  #feature h3 {
    font-size: 16px;
  }

  #feature p {
    width: 100%;
    max-width: 96px;
    padding-bottom: 124px;
    margin: 0 auto;
    font-size: 14px;
  }

  /* ---flow--- */
  #flow {
    padding-bottom: 76px;
  }

  #flow h2 {
    font-size: 20px;
    padding-top: 63px;
    padding-bottom: 40px;
  }

  #flow h2::before,
  #flow h2::after {
    top: 60%;
  }

  #flow p {
    padding-bottom: 35px;
  }

  #flow .flow-contents {
    flex-direction: column;
  }

  #flow ol {
    width: 100%;
    margin: 0;
    padding: 0 40px 53px;
  }

  #flow ol::after {
    left: 50%;
    transform: translateX(-50%);
    height: calc(5 * 80px + 4 * 60px);
  }

  #flow li {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    margin-bottom: 60px;
  }

  #flow dl {
    width: 90%;
  }

  #flow dt {
    padding-right: 20px;
  }

  /* -----contact----- */
  #contact {
    padding-bottom: 120px;
  }

  #contact p {
    padding: 40px 0 35px;
  }

  #contact .contact-contents {
    flex-direction: column;
    align-items: center;
    padding: 0 87px;
    gap: 20px;
  }

  #contact a {
    max-width: none;
  }

  /* -----footer----- */
  footer {
    height: auto;
    margin-left: 0;
  }

  footer ul {
    flex-wrap: wrap;
  }

  footer .button {
    pointer-events: none;
    transition: opacity .3s ease-in-out;
  }

}