body {
  font-family: "Noto Sans JP", sans-serif;
}
.header {
  width: 300px;
  height: 100vh;
  margin-left: 45px;
  position: fixed;
}
.logo {
  width: 200px;
  margin-top: 40px;
  margin-bottom: 30px;
}
.sp_nav {
  display: none;
}
.header__ul,
.header__ul2 {
  font-size: 14px;
}
.header__li {
  margin-bottom: 16px;
}
.header__ul2 {
  margin-top: 76px;
}
main {
  margin-left: 300px;
}
.video {
  width: 100%;
  height: 850px;
  overflow: hidden;
  position: fixed;
}
.video2 {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
img {
  width: 100%;
}
.container {
  width: 100%;
  height: 100%;
}
.case {
  /* overflow-y: scroll; */
  width: 100%;
  height: 100%;
}
.box {
  width: 100%;
  height: 850px;
  background-color: transparent;
}
.case2 {
  width: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  opacity: 0.9;
}
.case3,
.house2,
.flow2,
.content2,
.footer2 {
  /* width: 80%; */
}
.inner {
  max-width: 900px;
  padding: 0 20px;
  margin: auto;
}
.case__ttl,
.house__ttl {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  padding-top: 80px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  /* width: 89%; */
}
.case__span {
  width: 240px;
  height: 15px;
  border-bottom: solid 1px #ffffff;
}
.case__ul {
  /* width: 89%; */
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 50px;
  justify-content: space-between;
  padding-bottom: 80px;
}
.case__li {
  color: #fff;
  position: relative;
  font-size: 12px;
  z-index: 1;
  width: calc(100% / 2 - 56px);
  border: solid 1px #ffffff;
  cursor: pointer;
}
.case__a {
  position: relative;
  display: block;
}
.case__a::after {
  content: "";
  width: 100%;
  position: absolute;
  box-shadow: 0 -30px 5px 0px #2e2e2e inset;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.case__span2 {
  position: absolute;
  left: 5px;
  bottom: 5px;
  z-index: 2;
}
.case__img {
  width: 100%;
}
.house {
  background: #000000;
  color: #ffffff;
  opacity: 0.9;
}
.house__menu {
  display: flex;
  text-align: center;
  line-height: normal;
  justify-content: space-between;
  padding-bottom: 160px;
  /* width: 89%; */
}
.house__menu2 {
  width: 89%;
}
.house__a {
  font-size: 14px;
  display: inline-block;
  width: 92%;
  aspect-ratio: 1/1;
  border: solid 1px #ffffff;
  border-radius: 50%;
  background: transparent;
  position: relative;
  z-index: 1;
  transition: 0.5s;
  overflow: hidden;
  margin-bottom: 15px;
}
.house__a::before {
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #92919175;
  transform-origin: 0% 50%;
  transform: scaleX(0);
  transition: transform ease 0.5s;
  opacity: 0.5;
}
.house__a:hover {
  background-color: transparent;
}
.house__a:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}
.house__span {
  position: relative;
  top: 45%;
  left: 0;
}
.house__p {
  font-size: 16px;
  margin-bottom: 5px;
}
.house__p2 {
  font-size: 14px;
}
.flow,
.content {
  background-color: #fff;
  position: relative;
}
.flow__ttl,
.content__ttl {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  padding-top: 80px;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  /* width: 89%; */
}
.flow__span,
.content__span {
  width: 240px;
  height: 15px;
  border-bottom: solid 1px #000000;
}
.flow__p,
.content__p {
  font-size: 16px;
  margin-bottom: 60px;
}
.flow3 {
  display: flex;
  justify-content: space-between;
  /* width: 89%; */
}
.flow__map {
  width: 200px;
}
.flow__li {
  font-size: 14px;
  width: 200px;
  height: 80px;
  background-color: #414141;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
  position: relative;
  padding-top: 30px;
}
.flow__li::after {
  content: "";
  position: absolute;
  border: 100px solid transparent;
  border-top: 30px solid #414141;
  top: 80px;
  bottom: 10px;
  display: flex;
}
.flow__li::before {
  content: "";
  position: absolute;
  background-color: #ffdd00;
  top: 100px;
  left: 70px;
  width: 60px;
  height: 40px;
}
.flow__li:last-of-type::before {
  display: none;
}
.flow__text {
  width: 65%;
  padding-bottom: 50px;
}
.flow__td {
  font-size: 16px;
  text-align: center;
  display: inline-block;
  width: 35px;
  height: 35px;
  padding-top: 9px;
  background-color: #414141;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
}
.flow__td2 {
  font-size: 20px;
  width: 574px;
  padding-top: 5px;
  border-bottom: solid 1px #000000;
}
.flow__td4 {
  font-size: 16px;
  line-height: normal;
  padding-top: 10px;
  padding-bottom: 43px;
}
.content__box {
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  /* width: 89%; */
}
.content__ul {
  width: 30%;
  border: solid 1px #000000;
  margin-bottom: 160px;
  position: relative;
  overflow: hidden;
}
.content__ul::after {
  content: "";
  position: absolute;
  border: 20px solid transparent;
  border-left: 20px solid #000000;
  transform: rotate(45deg);
  bottom: -15px;
  right: -15px;
}
.content__ul:hover {
  border: solid 3px #000000;
}
.content__logo {
  width: 64px;
  margin-bottom: 5px;
  margin-top: 50px;
}
.content__li2 {
  font-size: 14px;
  margin-bottom: 50px;
}
.footer {
  background-color: #121212;
  color: #ffffff;
  text-align: center;
}
.footer__ul {
  font-size: 14px;
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 60px;
  /* width: 89%; */
}
.footer__li {
  padding: 0 20px;
  border-right: solid 1px #ffffff;
}
.footer__li:last-of-type {
  border: none;
}
.footer__p {
  padding-bottom: 20px;
  font-size: 12px;
}
.button {
  color: #ffffff;
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  border: solid 1px #ffffff;
  border-radius: 50%;
  text-align: center;
  background-color: #121212;
  padding-top: 15px;
  font-size: 14px;
  z-index: 100;
}

@media screen and (max-width: 960px) {
  .inner {
    max-width: 100%;
  }
  .header {
    width: 100%;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    margin-left: 0;
    background: #fff;
    z-index: 10;
  }
  .logo {
    width: 180px;
    margin: 9px 0 10px 18px;
  }
  .pc-nav {
    display: none;
  }
  .hamburger {
    position: relative;
    display: block;
    width: 30px;
    height: 26px;
    margin: 0 0 0 auto;
    top: -50px;
    right: 18px;
    z-index: 100;
  }
  .hamburger span {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000000;
    z-index: 2;
  }
  .hamburger span::before {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    z-index: 2;
  }
  .hamburger span::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    z-index: 2;
  }
  .sp-nav {
    z-index: 1;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    transform: translateY(-100%);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }
  .sp__list {
    width: 325px;
    height: 100vh;
    padding-top: 35px;
    padding-left: 25px;
    background-color: #ffffff;
  }
  .header__li {
    margin-bottom: 20px;
  }
  .header__ul {
    width: 300px;
  }
  .header__ul2 {
    margin-top: 50px;
    width: 300px;
  }
  .sp__box {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 325px;
    z-index: -10;
  }
  .hamburger.toggle span {
    top: 50%;
    background-color: #ffffff;
    transform: rotate(-45deg);
  }
  .hamburger.toggle span::before {
    top: 0;
    left: 0;
    background-color: #fff;
    transform: rotate(90deg);
    z-index: 100;
    opacity: 1;
  }
  .hamburger.toggle span::after {
    opacity: 0;
  }
  .toggle {
    transform: translateY(0);
    opacity: 1;
  }
  main {
    margin-left: 0;
  }
  .video {
    height: 600px;
  }
  .case {
    left: 0;
  }
  .box {
    height: 600px;
  }
  .case3,
  .house2,
  .flow2,
  .content2,
  .footer2 {
    width: 100%;
  }
  .case__span {
    width: 60px;
  }
  .case__ttl,
  .house__ttl {
    font-size: 20px;
    margin-bottom: 30px;
    padding-top: 60px;
    width: 100%;
  }
  .case__ul {
    display: block;
    padding-bottom: 60px;
    width: 100%;
  }
  .case__li {
    width: 100%;
    margin-bottom: 30px;
  }
  .case__li:last-of-type {
    margin-bottom: 0;
  }
  .house__menu {
    width: 100%;
    padding-bottom: 203px;
  }
  .house__menu2 {
    width: calc(100% / 3 - 18px);
    aspect-ratio: 1/1;
  }
  .house__a {
    width: 100%;
    height: 100%;
  }
  .house__span {
    top: 42%;
  }
  .house__p2 {
    width: 100px;
    height: 40px;
    margin: auto;
  }
  .flow__ttl,
  .content__ttl {
    font-size: 20px;
    margin-bottom: 30px;
    padding-top: 60px;
    width: 100%;
  }
  .flow__span,
  .content__span {
    width: 60px;
  }
  .flow__p,
  .content__p {
    margin-bottom: 30px;
  }
  .flow3 {
    display: block;
    width: 100%;
  }
  .flow__map {
    width: 100%;
  }
  .flow__li {
    width: 100%;
  }
  .flow__li::after {
    width: 100%;
    border-left: calc(50vw - 27px) solid transparent;
    border-right: calc(50vw - 27px) solid transparent;
    border-top: 27px solid #414141;
  }
  .flow__li::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .flow__li:last-of-type {
    margin-bottom: 80px;
  }
  .flow__text {
    width: 100%;
    padding-bottom: 17px;
  }
  .flow__td2 {
    width: 100%;
  }
  .content__box {
    display: block;
    margin-bottom: 120px;
    width: 100%;
  }
  .content__ul {
    width: 201px;
    padding-bottom: 20px;
    margin: 20px auto;
  }
  .footer__ul {
    flex-wrap: wrap;
    margin-bottom: 60px;
    padding-bottom: 0;
    width: 100%;
  }
  .footer__li {
    margin-bottom: 10px;
  }
}
