@charset "UTF-8";

html {
  font-size: 100%;
}

:root {
  --text-color:#121212;
  --background-color: #000;
  --darkgray: #414141;
}

/*-------------------------------- 全体 ---------------------------------*/
body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  line-height: 1.1875;
  color: var(--text-color);
}
a {
  color: var(--text-color);
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}

/*-------------------------------- 共通 ---------------------------------*/
.container {
  margin-left: 300px;
}
.wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.75rem;
  margin-bottom: 60px;
  text-align: center;
  font-weight: bold;
  color: #fff;
}
.section-title::before,
.section-title::after {
  border-top: #fff solid 1px;
  content: "";
  width: 28%;
}

/*-------------------------------- ヘッダー ---------------------------------*/
#header {
  width: 300px;
  height: 100%;
  background-color: #fff;
  padding: 40px 50px 30px 45px;
  position: fixed;
  top: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;

}
#header img {
  width: 200px;
  line-height: 1px;
  margin-bottom: 38px;
}
#header>h1>a {
  display: block;
}
.navi-menu {
  margin-bottom: 60px;
}
#header li {
  font-size: 0.875rem;
  padding: 8px 0;
}
#navi a {
  display: block;
  font-size: 14px;
  line-height: 1.2142;
}

/*-------------------------------- video ---------------------------------*/
#video {
  width: 100%;
  height: 100vh;
}
#video .bg-video {
  position: fixed;
  top: -220px;
  z-index: -10;
}

/*-------------------------------- project ---------------------------------*/
#project {
  background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.8));
  color: #fff;
}
.project-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.project-item {
  width: 47%;
  border: solid #fff 1px;
  margin-bottom: 50px;
  position: relative;
}
.project-item:last-child,
.project-item:nth-last-child(2) {
  margin-bottom: 0;
}
.project-item a {
  display: block;
}
.project-item a::after {
  content: "";
  box-shadow: 0 -30px 15px -1px #2e2e2e inset;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.project-item p {
  color: #fff;
  font-size: 0.75rem;
  position: absolute;
  left: 7px;
  bottom: 4px;
  z-index: 5;
}

/*-------------------------------- feature ---------------------------------*/
#feature {
  background-color: rgba(0,0,0,0.8);
  padding-bottom: 80px;
}
.feature-list {
  display: flex;
  justify-content: space-between;
}
.feature-item {
  width: 30%;
  font-size: 0.875rem;
  text-align: center;
}
.feature-item a {
  width: 100%;
  border: solid 1px #fff;
  border-radius: 50%;
  color: #fff;
  display: block;
  padding: calc(50% - 11px) 0;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.feature-item a::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: -100%;
  opacity: 0.3;
  transition: 0.5s;
}
.feature-item a:hover:before {
  left: 0;
}
.feature-item_title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 5px;
}
.feature-item_title {
  font-size: 16px;
  font-weight: bold;
  margin-top: 15px;
  margin-bottom: 9px;
  color: #fff;
}
.feature-item_text {
  color: #fff;
}

/*-------------------------------- flow ---------------------------------*/
#flow {
  background-color: #fff;
  padding-top: 40px;
}
#flow .section-title {
  color: var(--text-color);
}
#flow .section-title::before,
#flow .section-title::after {
  border-top: #121212 solid 1px;
}
#flow .step {
  display: flex;
  margin-top: 60px;
}
.flow-list {
  position: relative;
}
.flow-list::before {
  content: "";
  width: 50px;
  height: 600px;
  background-color: #ffdd00;
  position: absolute;
  top: 0;
  left: 75px;
}
.flow-item {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: var(--darkgray);
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 60px;
  position: relative;
  text-align: center;
}
.flow-item::before {
  content: "";
  border-top: 30px solid #414141;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  position: absolute;
  top: 80px;
  right: 0;
  left: 0;
  margin: 0 auto;
}
.flow-item:last-child {
  margin-bottom: 0;
}
#flow .description {
  margin-left: 20%;
}
#flow .description dt {
  border-bottom: solid 1px #121212;
  font-size: 1.25rem;
  padding-bottom: 8px;
  margin-bottom: 10px;
  position: relative;
}
#flow .description dt span {
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-color: var(--darkgray);
  border-radius: 50%;
  color: #fff;
  display: block;
  font-size: 1rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: -45px;
}
#flow .description dd {
  margin-bottom: 60px;
}
#flow .description dd:last-child {
  margin-bottom: 0;
}

/*-------------------------------- contact ---------------------------------*/
#contact {
  background-color: #fff;
  padding-bottom: 80px;
}
#contact .section-title {
  color: var(--text-color);
}
#contact .section-title::before,
#contact .section-title::after {
  border-top: #121212 solid 1px;
}
#contact .contact-card {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
}
#contact .contact-item {
  width: 30%;
  border: #121212 solid 1px;
  display: block;
  font-size: 0.875rem;
  position: relative;
  padding: 50px 0;
  text-align: center;
  transition: 0.1s;
}
#contact .contact-item::before {
  content: '';
  border-top: 20px solid transparent;
  border-right: 20px solid #121212;
  position: absolute;
  right: 4px;
  bottom: 4px;
}
#contact .contact-item:hover {
  outline: solid 3px #121212;
}
.contact-icon {
  margin-bottom: 5px;
}

/*-------------------------------- footer ---------------------------------*/
#footer {
  background-color: #121212;
  color: #fff;
  padding: 20px 0;
}
#footer .footer-list {
  display: flex;
  justify-content: center;
  margin: 30px 0 60px 0;
}
#footer .footer-item {
  padding: 0 20px;
  border-right: #fff solid 1px;
  font-size: 0.875rem;
}
#footer .footer-item:last-child {
  border-right: none;
}
#footer .footer-item a {
  color: #fff;
}
#footer .copy-right {
  font-size: 0.75rem;
  text-align: center;
}
#to-top {
  width: 50px;
  height: 50px;
  background-color: #121212;
  border: solid 1px #fff;
  border-radius: 50%;
  position: fixed;
  right: 25px;
  bottom: 25px;
}
#to-top::after {
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid #fff;
  position: relative;
  left: 17px;
  bottom: 0;
}

/*media Queries ９60----------------------------------------------------*/
@media screen and (max-width: 960px) {

/* 共通 ---------------------------------*/
  .container {
    margin-left: 0;
  }
  .wrapper {
    padding: 60px 20px;
  }
  .site-title {
    width: 180px;
    margin-bottom: 0;
    position: relative;
    left: 18px;
    top: 10px;
  }
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 30px;
  }
  .section-title::before,
  .section-title::after {
    width: 18%;
  }

/* ヘッダー ---------------------------------*/
  #header {
    width: 100%;
    height: 72px;
    padding: 0;
    z-index: 10;
  }

  #navi {
    width: 300px;
    background: #fff;
    padding: 25px;
    position: fixed;
    top: 0;
    left: -300px;
    bottom: 0;
    opacity: 0;
    overflow-y: auto;
    transition: 0.5s;
    z-index: 20;
  }
  .open #navi {
    left: 0;
    opacity: 1;
  }
  .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 18px;
    transition: 0.5s;
    z-index: 20;
  }
  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--background-color);
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }
  .hamburger span:nth-child(1) {
    top: 4px;
  }
  .hamburger span:nth-child(2) {
    top: 14px;
  }
  .hamburger span:nth-child(3) {
    bottom: 4px;
  }
  .open .hamburger span {
    background-color: #fff;
  }
  .open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  .open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }
  #mask {
    display: none;
    transition: 0.5s;
  }
  .open #mask {
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

/* video ---------------------------------*/
  #video {
    height: 80vh;
  }
  #video .bg-video {
    height: 520px;
    top: 72px;
    right: 0;
    left: 0;
    margin: 0 auto;
  }

/* project ---------------------------------*/
  .project-list {
    flex-direction: column;
  }
  .project-item {
    width: 100%;
    margin-bottom: 30px;
  }
  .project-item:nth-last-child(2) {
    margin-bottom: 30px;
  }

/* feature ---------------------------------*/
  #feature {
    padding-bottom: 60px;
  }

/* flow ---------------------------------*/
  #flow {
    padding: 0;
  }
  #flow .step {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }
  .flow-list {
    margin-bottom: 80px;
  }
  .flow-list::before {
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .flow-item {
    width: calc(100vw - 80px);
  }
  .flow-item::before {
    border-left: calc(50vw - 40px) solid transparent;
    border-right: calc(50vw - 40px) solid transparent;
  }
  #flow .description {
    margin-left: 50px;
  }


/* contact ---------------------------------*/
  #contact {
    padding-bottom: 60px;
  }
  #contact .wrapper>p {
    text-align: center;
  }
  #contact .contact-card {
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
  }
  #contact .contact-item {
    width: 60%;
    margin: 20px 0 0 0;
  }
  #contact .contact-item:first-child {
    margin-top: 0;
  }

/* footer ---------------------------------*/
  #footer .footer-list {
    flex-wrap: wrap;
  }
  #footer .footer-item {
    margin-bottom: 10px;
  }

}