@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  font-family: "Sawarabi Mincho", "sans-serif";
  font-weight: 400;
  font-style: normal;;
  color: #000;
  background-color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #000;
}
img {
  height: auto;
  width: 100%;

}
ul {
  list-style: none;
}
li {
  list-style: none;
}
.sawarabi-mincho-regular {
  font-family: "Sawarabi Mincho", serif;
  font-weight: 400;
  font-style: normal;
}



/* ヘッダー */
#header {
  padding: 30px 65px 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  display: flex;
  align-items: center;
  z-index: 20;
}
#header h1 {
  margin: 0 0 0 2vw;
  padding: 2.5vh 0 0 0;
  font-size: 2.3rem;

}
#header a {
  text-decoration: none;

}
#header ul {
  list-style: none;
  display: flex;
  position: absolute;
  
}
#header li {
  margin: 0 0 0 20%;
  font-size: 1.05rem;
}
#header .nav-menu {
  display: flex;
  justify-content: flex-end;
  padding: 0 0 0 36vw;
  margin: 0 0 0 20vw;
  
}
/* Mainvisual */

#mainvisual img {
  display: flex;
  z-index: 10;
  width: 100%;
  object-fit: cover;
}
#mainvisual .main-title {
  font-weight: normal;
  z-index: 10;
}
#mainvisual .up {
  display: flex;
  position: absolute;
  top: 43%;
  right: 11%;
  font-size: 5vw;
  letter-spacing: 3px;


}
#mainvisual .down {
  display: flex;
  position: absolute;
  top: 60%;
  right: 6.5%;
  font-size: 5vw;
  letter-spacing: 1px;

}
#mainvisual .sub-title {
  display: flex;
  position: absolute;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  justify-content: flex-end;
  bottom: 20%;
  right: 8%;
}
/*
疑似要素で縦線を設定するために、「position: relative;」を設定
*/
.whoweare {
  position: relative;
  color: #000;
  flex-direction: column;
  text-align: center;

}
.whoweare a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -50px;
  width: 1px;
  height: 50px;
  margin: auto;
  background-color: #000;
}
.whoweare {
  padding: 4vw 0 0 0;
  margin: 7vw 0 0 0;
  font-size: 1.15rem;
  letter-spacing: 0.1rem;
}

/* About */

#about .about-content {
  display: flex;
  padding: 10px 0 20px 0;
  margin: 10px 0 20px 0;
}

#about {
  margin-top: 5vh;
}
div.vid_contents {
  width: 100%;
  text-align: center;
  margin: auto;
  padding: 4% 4% 4% 4%;
  background: #e6e6e6;
}
video.vid_main {
  width: 100%;
  height: 85%;
  padding: 0 0 4.1vw 0;
  margin: 6.3vw 0 5vw 0;
  position: absolute;
  overflow: hidden;
  object-fit: fill;
}

#about .left {
  display: flex;

  font-size: 1.2rem;
  width: 39.5%;
  margin-left: 9vw;
  padding-top: 16%;
  line-height: 3.5em;
  z-index: 10;
  color: #fff;
}
#about .right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.1rem;
  width: 35%;
  padding-top: 11vw;
  margin: 0 0 0 12vw;
  line-height: 2em;
  z-index: 10;
  color: #fff;
}
#about .me {
  display: flex;
  position: relative;
  border-radius: 50%;
  height: 100px;
  width: 100px;
  margin-top: -3vw;
  margin-left: 27vw;
  z-index: 10;

}
#about span {
  line-height: 2.2em;
}
#about .name {
  display: flex;
  color: rgb(0, 195, 137);
  font-size: 1.5rem;
  margin-right: 22vh;
  z-index: 10;
  justify-content: flex-end;
  padding-top: 15vw;
}
#about .name::before {
  content: "";
  width: 120px;
  height: 2px;
  display: block;
  align-items: center;
  background-color: rgb(0, 195, 137);
  margin-top: 15px;
  margin-right: 12px;
}

/* Service */
#service .section-title {
  font-size: 5.4vw;
  font-weight: normal;
  margin-top: 15%;
  padding: 0 0 6vw 0;
  text-align: center;
}

#service ul.flex {
  display: flex;
  justify-content: center;
  gap: 25px;
  z-index: 0;
}
#service .servicepic {
  width: 40%;
  height: auto;

}
#service .imgbox {
  display: flex;
  justify-content: center;
  margin: 0 0 0 15vw;
}

/* works */
#works {
  background-color: #121212;
  color: #e6e6e6;
}
#works .sub {
  font-size: 4.5vw;
  text-align: center;
  align-items: center;
  margin-top: 10%;
  padding: 0 0 0 1vw;
}
#works .flex1 {
  display: flex;
}
#works .list1 {
  display: flex;
  flex-direction: column;
  padding-top: 18vh;
  object-fit: cover;
  width: 100%;
}
#works .list2 {
  display: flex;
  flex-direction: column;
  margin-top: 42vh;
  object-fit: cover;
  width: 100%;
}
#works .left {
  width: 100%;
  height: 31vw;
  padding: 0 0 0 3vw;
  margin: 0 0 14vh 0;
  text-align: center;
  object-fit: cover;
}
#works .right {
  width: 100%;
  height: 31vw;
  margin: 0 0 3vh 0;
  padding: 0 0 0 3vw;
  margin: 0 0 14vh 0;
}
#works .title1 {
  color: rgb(0, 195, 137);
  text-align: left;
  margin-left: 2.8vw;
  line-height: 6vh;
}
#works .item-title {
  margin: -35vw 0 0 2.7vw;
  text-align: left;
  font-size: 1vw;
}
#works .company {
  text-align: left;
  margin: -22vw 0 0 46.8vw;
  line-height: 8vh;
  font-size: 1.5rem;
  color: #e6e6e6;
}
#works p.company1 {
  margin: -28vw 0 0 5.8vw;
  text-align: justify;
}
#works a.name {
  display: flex;
  color: rgb(0, 195, 137);
  font-size: 1.35rem;
  justify-content: right;
  padding-top: 8vh;
  margin-right: 12.5vw;
}
#works .name::before {
  content: "";
  width: 120px;
  height: 1px;
  display: block;
  align-items: center;
  background-color: rgb(0, 195, 137);
  margin-top: 15px;
  margin-right: 12px;
}

/* contact */

#contact .contact2 {
  display: flex;
  position: relative;
  margin: 0 0 0 10vw;
}
#contact .contact3 {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin: -8vw 0 0 30vw;
}

#contact .btn {
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.25rem;
  margin: 3.5vw 0 0 53vw;
  border-radius: 100vh;
  border: solid 1px #000;
  height: 50px;
  width: 45vh;
}

/* footer */
#footer {
  font-size: 1rem;
  padding: 20vh 0 0 0;
  margin: 10vh 0 0 0;

}
#footer .footer-title {
  display: flex;
  position: absolute;
  margin-left: 8%;
  margin-top: -3.8vh;
  line-height: 2.5em;
}

#footer .en-list1 {
  display: flex;
  position: absolute;
  margin-left: 20vw;
  margin-top: -3.3vh;
  line-height: 2em;

}
#footer .en-list2 {
  display: flex;
  position: absolute;
  margin-left: 31vw;
  margin-top: -3.3vh;
  line-height: 2em;

}
#footer .en-list3 {
  display: flex;
  position: absolute;
  margin-left: 42vw;
  margin-top: -3.3vh;
  line-height: 2em;
}
#footer img {
  display: flex;
  justify-content: flex-start;
  width: 50%;
  height: 100%;
  margin: 0 0 0 2vw;
}
#footer .sns {
  display: flex;
  justify-content: right;
  text-align: right;
}
#footer .imge {
  display: flex;
  position: relative;
  margin: 0 9.25vw 1vw 0;
}

#footer .footer-title::before {
  content: "";
  width: 30px;
  height: 1px;
  display: block;
  align-items: center;
  background-color: #000;
  margin-top: 19px;
  margin-right: 12px;
}
#footer .en-list1::before {
  content: "";
  width: 30px;
  height: 1px;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #000;
  margin-top: 16px;
  margin-right: 10px;
}
#footer .en-list2::before {
  content: "";
  width: 30px;
  height: 1px;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #000;
  margin-top: 16px;
  margin-right: 10px;
}
#footer .en-list3::before {
  content: "";
  width: 30px;
  height: 1px;
  display: flex;
  justify-content: center;
  text-align: center;
  background-color: #000;
  margin-top: 16px;
  margin-right: 10px;
}
#footer .copyright {
  font-size: 1rem;
  text-align: right;
  margin-right: 9%;
  padding-bottom: 8vh;
}


/* sp */
@media screen and (max-width: 900px) {
  #header {
    width: 100%;
    height: 72px;
    padding: 0;
  }
  #header h1 {
    display: flex;
    font-size: 1.3rem;
    padding-left: 2.6vw;
    padding-top: 5px;
    position: fixed;
    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;
  }
  #navi ul li {
    padding: 10px 0;
  }
  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: #121212;
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 330px;
    transition: 0.5s;
  }
  .hamburger span:nth-child(1) {
    top: 24px;
  }
  .hamburger span:nth-child(2) {
    top: 34px;
  }
  .hamburger span:nth-child(3) {
    bottom: 25px;
  }
  .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;
  }

  /* main */
  #mainvisual img {
    width: 100%;
    position: absolute;
    margin: -170px 0 0 0;
  }
  #mainvisual .box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 210px;
  }
  #mainvisual p.up {
    position: relative;
    align-items: center;
    text-align: center;
    font-size: 1.8rem;
    margin: -100px 0 0 60px;
  }
  #mainvisual p.down {
    position: relative;
    align-items: center;
    text-align: center;
    font-size: 2.05rem;
    margin: 0 0 0 160px;
  }
  #mainvisual p.sub-title {
    display: flex;
    position: absolute;
    font-size: 0.85rem;
    padding: 0 0 40vw 0;
    margin: 0 0 25vw 0;
    z-index: 10;
  }
  .whoweare {
    position: absolute;
    margin-top: 700px;
    font-size: 0.75rem;
    margin: 390px 0 0 77px;
    padding: 340px 60px 0 64px;
  }

  /* About */
  #about .about-content {
    flex-direction: column;
    justify-content: space-between;
  }
  #about h2 {
    display: flex;
    position: relative;
    flex-wrap: wrap;
    margin: -180px 0 0 -137px;
    letter-spacing: -0.05em;
    line-height: 1.75;
    font-weight: normal;
  }
  #about p {
    margin: 9px -122px 0 -106px;
    padding: 9px 20px 0 0;
    text-align: center;
  }
  #about .name {
    font-size: 1.15rem;
    margin: 2.1vw 6.1vw 0 0;
    padding: 2.6vw 0 0 0;
  }
  #about .left {
    display: flex;
    margin: 40vh -50vh -42vh 182px;
    padding: 36vh 0 0 0;
    font-size: 0.65rem;
    ;
  }
  #about .right {
    align-items: center;
    text-align: center;
    padding: 130px 32px 0 5px;
    margin: 195px 0 0 141px;
    font-size: 0.9rem;
    line-height: 1.4em;
  }
  video.vid_main {
    display: flex;
    position: absolute;
    padding: 15vh 0 0 0;
    margin: 32vh 0 0 0;
    width: 100%;
    height: 120%;
    object-fit: fill;
  }
  #about h3 {
    margin: 0 0 0 -14px;
  }
  #about .me {
    position: relative;
    margin: -15px 0 0 230px;
  }
  /* service */
  #service .section-title {
    font-size: 3.3rem;
    padding: 75px 0 0 0;
    margin: 70px 0 0 2px;
  }
  #service .service-title {
    font-size: 1.15rem;
    text-align: center;
    margin: -26px 0 0 20px;
  }
  #service p.wrapper {
    text-align: center;
    font-size: 0.75rem;
    margin: -15px 0 0 20px;
  }
  #service .servicepic {
    width: 80%;
    height: auto;
    margin: 0 0 0 -16px;
  }
  /* works */
  #works .sec-title {
    font-size: 3.5rem;
    padding: 70px 8px 0 0;
    text-align: center;
  }

  #works .flex1 {
    display: flex;
    flex-direction: column;
  }

  #works .work1 {
    height: 233px;
    margin: -120px 13px 3px 0;
  }
  #works .work2 {
    height: 233px;
    margin: 50px 5px 0 -6px;
  }
  #works .work3 {
    height: 233px;
    margin: 192px 0 0 -12px;
  }
  #works .work4 {
    height: 233px;
    margin: 363px 0 0 -12px;
  }
  #works .work5 {
    height: 233px;
    margin: 243px 13px 3px 4px;
  }
  #works .work6 {
    height: 233px;
    margin: 400px 13px 3px 4px;
  }
  #works .work7 {
    height: 233px;
    margin: 558px 13px 3px 4px;
  }
  #works .work8 {
    height: 233px;
    margin: 735px 13px 3px 4px;
  }
  #works p.title1 {
    font-size: 0.7rem;
    margin: -10px 0 0 -8px;
    display: flex;
    justify-content: flex-start;

  }
  #works .item-title {
    font-size: 0.97rem;
    margin: -83px 0 0 -10px;
  }
  #works p.company {
    margin: -60px 0 0 130px;
    font-size: 1rem;
    position: absolute;
  }
  #works p.company1 {
    margin: -87px 0 0 3px;
    text-align: justify;
    font-size: 0.8rem;
  }
  #works a.name {
    margin: 843px 17px 0 0;
  }

  /* contact */
  #contact .section-title {
    font-size: 3rem;
    margin: 110px 0 0 -11px;
  }
  #contact .contact3 {
    font-size: 0.85rem;
    margin: 43px 23px 0 27px;
  }
  #contact .btn {
    display: flex;
    position: relative;
    justify-content: center;
    margin: 19px 0 0 29px;
    height: calc(36rem / 16);
    font-size: 1rem;
  }

  /* footer */
  #footer .footer-title {
    display: flex;
    justify-content: flex-start;
    margin: -114px 0 0 26px;
    font-size: 0.95rem;
    width: 91px;
  }
  #footer .menu-list {
    display: flex;
    flex-direction: column;
    margin: -71px 0 0 62px;
    font-size: 0.8rem;
  }
  #footer .en-list1 {
    display: flex;
    position: relative;
    align-items: flex-start;
    margin: 0 0 15px 27px;
    padding: 55px 0 0 0;
    font-size: 0.85rem;
    width: 74px;
  }
  #footer .en-list2 {
    display: flex;
    position: relative;
    align-items: flex-start;
    margin: -52px 0 -4px 72px;
    padding: 7px 0 19px 60px;
    font-size: 0.85rem;
    width: 137px;

  }
  #footer .en-list3 {
    display: flex;
    position: relative;
    align-items: flex-start;
    margin: -59px 31px 20px 79px;
    padding: 10px 0 40px 157px;
    font-size: 0.85rem;
    width: 264px;
  }
  #footer li {
    margin: 2px 0 0 0;
  }
  #footer .sns {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #footer .imge {
    display: flex;
    margin: 0 0 10px 8px;
    padding: 0 22px 0 0;
    width: 33%;
    gap: 1rem;
  }
  #footer .copyright {
    display: flex;
    justify-content: center;
    margin: 0 0 0 0;
    font-size: 0.8rem;
  }
}