html {
  font-size: 100%;
}

/*  humbergerナビ*/
main {
  overflow: hidden;
}
/*  */

/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 50px;
  height: 40px;
  cursor: pointer;
  z-index: 300;
  display: none;
}

.hamburger__line {
  position: absolute;
  width: 50px;
  height: 3px;
  right: 0;
  background-color: #000;
  transition: all 0.5s;
}

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

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

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

.none .header-sp {
  display: none;
}

.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 11px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 11px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  left: -100%;
  /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  width: 30%;
  /* 出てくるスライドメニューの幅 */
  height: 100vh;
  background-color: #fff;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
  /* メニューが多くなったらスクロールできるように */
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  left: 0;
}

/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;

  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 150;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.8;
  visibility: visible;
}
/*  */
.sp-nav {
  padding-top: 30px;
}
.sp-nav a {
  color: #000;
  text-decoration: none;
  display: block;
  font-size: 0.875rem;
  margin-top: 10px;
  margin-left: 30px;
}

/* .sp-link-tog {
  width: 255px;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  overflow: auto;
  transform: translateX(0);
} */

/* .opacity {
  background-color: #000;
  opacity: 0.5;
} */

/*  */

header {
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
}

.header-sp {
  display: none;
  background-color: #fff;
  height: 72px;
  width: 100%;
  z-index: 200;
}
/* #hunberger {
  width: 50px;
  height: 50px;
  background-color: #fff;
  position: fixed;
  top: 15px;
  right: 18px;
  vertical-align: bottom;
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  align-content: space-around;
  justify-content: center;
  display: none;
  z-index: 300;
}

#hunberger hr {
  width: 30px;
  height: 2px;
  color: #000;
  background-color: #000;
  margin: 0;
} */

header a {
  color: #000;
  text-decoration: none;
  /*  */
  display: block;
  font-size: 0.875rem;
}

header > div {
  width: 255px;
  height: 100vh;
  background-color: #fff;
  margin-left: 45px;
  /* position: fixed; */
  overflow: auto;
}

.logo {
  width: 205px;
  height: 100px;
  margin-bottom: 30px;
  display: flex;
  align-items: flex-end;
}
.logo > img {
  width: 100%;
}

.navi > a,
.sns > a {
  margin-bottom: 23px;
}

.navi {
  margin-bottom: 85px;
  /* display: flex;
  flex-direction: column; */
}

main {
  /* position: absolute;
  top: 0; */
  margin-left: 300px;
  max-width: 100%;
}

.video {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  z-index: -10;
}

.video img {
  width: 100%;
  height: 100vh;
}

#img4 {
  margin-top: 120vh;
  /* max-width: 900px; */
}
.hr-right {
  width: 200px;
  height: 1px;
  background-color: #fff;
  border: #fff;
}
.hr-left {
  width: 200px;
  height: 1px;
  border: #fff;
  background-color: #fff;
}

.hr-right2 {
  width: 200px;
  height: 1px;
  background-color: #000;
  border: #000;
}
.hr-left2 {
  width: 200px;
  height: 1px;
  border: #000;
  background-color: #000;
}
.article1 {
  /* グラデーション（透明→黒） */
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  max-width: 100%;
}

.img4 {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  max-width: 100%;
  gap: 40px;
}
.img-left {
  margin-left: 2%;
}
.img-right {
  margin-right: 2%;
}
/*  */
.img4 > div > div {
  margin-bottom: 40px;
}
.content-title {
  text-align: center;
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 85px;
  margin-top: 85px;
  display: flex;
}
.img4 > div > div {
  max-width: 402px;
  border: 1px solid #fff;
  position: relative;
}

.img4 span {
  position: absolute;
  top: 90%;
  left: 5%;
  color: #fff;
  font-size: 0.75rem;
}

.circle {
  border-radius: 50% 50%;
  /*  */
  width: 30vw; /* ビューポートの幅の30% */
  height: 30vw; /* widthと同じにして円形を保つ */
  max-width: 258px; /* 最大幅を300pxに制限 */
  max-height: 258px;
  /*  */
  /* width: 258px;
  height: 258px; */
  border: #fff 1px solid;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.circle p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

.circle3 {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 100%;
  /* overflow: hidden; */
}
/*  */
.circle3 > div {
  width: 100%;
  /* overflow: hidden; */
}

.circle-text {
  color: #fff;
  text-align: center;
  margin-top: 18px;
  font-weight: bold;
}

.text {
  font-size: 0.75rem;
  text-align: center;
  color: #fff;
}

#circle {
  padding-bottom: 164px;
  max-width: 900px;
  margin: 0 auto;
}

.circle::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #fff;
  opacity: 0.1;
  /* -webkit-transition: 0.5s; */
  transition: 1s;
  /* border-radius: 50%; */
}
.circle:hover::before {
  width: 100%;
}

.article2 {
  background-color: #fff;
  padding-top: 125px;
  width: 100%;
}

.content-title2 {
  text-align: center;
  display: flex;
  font-size: 1.75rem;
}

.flow {
  max-width: 900px;
  margin: 0 auto;
}

.flow > p {
  margin: 75px 0;
}
.left {
  position: relative;
  width: 200px;
}
/*  */
/* .left > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 110px;
  background-color: #414141;
  margin-bottom: 50px;
  z-index: 20;
  clip-path: polygon(0 0, 0 80px, 100px 110px, 200px 80px, 200px 0);
} */

.left > div {
  width: 200px;
  height: 80px;
  background-color: #414141;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.left > div::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -53px;
  left: -2px;
  width: 100px;
  height: 40px;
  border-top: #414141 solid 30px;
  transform: rotate(15deg);
}
.left > div::before {
  content: "";
  display: block;
  position: absolute;
  bottom: -53px;
  right: -2px;
  width: 105px;
  height: 40px;
  border-top: #414141 solid 30px;
  transform: rotate(-14deg);
}

.left > div > p {
  color: #fff;
}

.left h1 {
  width: 40px;
  height: 650px;
  background-color: #ffdd00;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.flow > div {
  display: flex;
}

.right {
  max-width: 700px;
}

table {
  max-width: 100%;
  margin-left: 30px;
}

table td {
  white-space: normal;
  max-width: 100%;
}

.num {
  background-color: #414141;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-right: 30px;
}

.bottom-line {
  border-bottom: #414141 1px solid;
  font-size: 1.25rem;
}

.folw-text {
  margin-bottom: 57px;
  display: block;
}

#contact {
  max-width: 900px;
  margin: 170px auto 160px auto;
}

#contact p {
  margin: 65px 0;
}

.contact-content {
  display: flex;

  /* flex-wrap: wrap; */
  justify-content: space-between;
}

.contact-content > a > div {
  width: 30vw;
  height: 30vw;
  max-width: 258px;
  max-height: 190px;
  /* width: 258px;
  height: 190px; */
  border: 1px solid #000;
  position: relative;
  /*  */
  box-sizing: border-box;
  transition: 0.1s;
}

.contact-content > a > div > div {
  position: absolute;
  display: block;
  max-width: 64px;
  height: 64px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.contact-content > a > div::after {
  content: "";
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background-color: #000;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  /* transform: rotate(45deg); */
}

.contact-content > a > div:hover {
  border: 3px solid #000;
  /* transform: translate(-2px -4px); */
}

footer {
  background-color: #000;
}

footer a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  padding: 0 20px;
  border-left: #fff solid 1px;
}

footer a:nth-of-type(1) {
  border-left: none;
}

footer > div {
  display: flex;
  justify-content: center;
  padding-top: 53px;
}

footer p {
  color: #fff;
  text-align: center;
  margin-top: 102px;
  padding-bottom: 22px;
  font-size: 0.75rem;
}

#btn {
  background-color: #000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: fixed;
  right: 50px;
  bottom: 50px;
  border: 1px solid #fff;
  display: none;
  z-index: 100;
}

#btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 15px;
  background-color: #fff;
  clip-path: polygon(50% 0, 0 100%, 100% 100%);
}
/* 
.content-title::after {
  content: "";
  width: 300px;
  height: 0.1px;
  border: #fff solid 0.1px;
  background-color: #fff;
  position: absolute;
  margin-top: 15px;
  margin-left: 30px;
}

.content-title::before {
  content: "";
  width: 300px;
  height: 0.1px;
  border: #fff solid 0.1px;
  background-color: #fff;
  position: absolute;
  left: 30px;
  margin-top: 15px;
} */

@media screen and (max-width: 959px) {
  header {
    display: none;
  }

  main {
    margin: 0;
  }
  /* #hunberger {
    display: flex;
  } */

  .header-sp {
    display: block;
    display: flex;
    align-items: center;
  }
  .logo {
    margin: 0 0 0 18px;
    width: 180px;
    height: 52px;
  }
  .img4 {
    display: block;
  }
  .img-left,
  .img-right {
    margin: 0;
  }

  .img4 > div > div {
    max-width: 90%;
    margin: 0 auto 20px auto;
  }

  .circle3 {
    gap: 0;
    overflow: hidden;
  }
  .flow > div {
    display: block;
  }

  .flow {
    padding-left: 5%;
    padding-right: 5%;
  }

  .left {
    width: 80%;
    margin: 0 auto;
  }

  .left > div {
    width: 100%;
    height: 120px;
    /* clip-path: polygon(0 0, 0 50%, 50% 150%, 100% 50%, 100% 0); */
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%);
  }

  .left > div::after {
    content: "";
    display: none;
  }
  .left > div::before {
    content: "";
    display: none;
  }

  .contact-content > a > div {
    width: 100vw;
    max-width: 70%;
    height: 190px;
  }

  .contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
  }

  .contact-content > a > div {
    margin: 0 auto 20px auto;
  }

  footer > div {
    flex-wrap: wrap;
  }

  .left h1 {
    height: 800px;
  }
  .circle {
    margin: 0 auto;
  }

  #contact {
    margin: 100px auto 120px auto;
    padding-left: 5%;
    padding-right: 5%;
  }

  table {
    margin-left: 0;
  }
  .num {
    margin-right: 10px;
  }
  .content-title2,
  .content-title {
    font-size: 1.25rem;
  }
  .hamburger {
    display: block;
  }
}
