@charset "UTF-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/*---ホバー---------------------*/

.gnav-list a:hover {
  color: #ed8a3f;
  transition: 0.3s;
}

.works-link-list a:hover {
  color: #ed8a3f;
  transition: 0.3s;
}

/*header---------------------*/

.gnav {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.gnav-list {
  display: flex;
  justify-content: space-between;
  margin: 40px 25px;
}

.gnav-list li {
  list-style: none;
  letter-spacing: 0.07em;
}

.gnav-list a {
  display: block;
  color: #40592e;
  font-family: "futura";
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
}

/*---MV----------------------*/

.works-mv {
  position: relative;
  background: url("../../../img/IMG_works.jpg");
  width: 100vw;
  height: 60vh;
  background-size: cover;
  background-position: center bottom 55%;
  background-repeat: no-repeat;
}

.works-mv::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #484229;
  opacity: 0.3;
}

.works-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
  margin: auto;
  color: #fff;
  /*--font-family: "futura";--*/
  font-size: 80px;
  font-weight: bold;
}
.works-title span {
  display: block;
  text-align: center;
  font-size: 30px;
}

/*footer------------------*/

.footer {
  display: flex;
  justify-content: center;
}

.footer p {
  margin: 20px 0;
  color: #484229;
  font-size: 18px;
  font-weight: bold;
}

/*---main------------------*/

/*---共通部分-----*/

.inner-list {
  padding-left: 1em;
  list-style: disc;
  line-height: 1.8em;
}

.inner-list li {
  padding-left: -1em;
}

/*----------*/

.main {
  margin: 120px auto 160px;
}

.works-link {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 80px;
}

.works-link-list {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  list-style: none;
}

.works-link-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 10px;
  border-top: 3px solid #ed8a3f;
  border-right: 3px solid #ed8a3f;
  transform: rotate(45deg);
  vertical-align: middle;
}

.works-link-list a {
  text-decoration: none;
  color: #484229;
}

.main-wrap {
  width: 100%;
  max-width: 800px;
  margin: auto;
}

.main-site-img {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 80px;
  width: 100%;
}

.main-site-img img {
  width: 45%;
  height: 45%;
  border: 1px solid rgb(221, 221, 221);
}

.main-txt {
  margin-bottom: 120px;
}

.main-txt-inner {
  display: flex;
  justify-content: space-between;
  background-color: #d4e8c1;
  padding: 2em;
  margin: 0 auto 80px;
}

.inner-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.main-txt-inner p,
.main-txt-inner ul {
  font-size: 14px;
  margin-bottom: 25px;
}

.point-list li {
  line-height: 1.6em;
  margin-bottom: 0.5em;
}

/*---SP-----------------------*/
@media (max-width: 767px) {
  /*ハンバーガー*/
  .gnav-btn {
    display: block;
    width: 70px;
    height: 70px;
    background: #ed8a3f;
    border-radius: 50%;
    padding: 18px 15px;
    position: fixed;
    top: 20px;
    right: 5%;
    z-index: 10;
  }

  .gnav-btn span {
    display: block;
    width: 40px;
    height: 5px;
    background: #fff;
    margin-top: 10px;
  }

  .gnav-btn span:first-child {
    margin-top: 0;
  }

  .gnav.show {
    bottom: 0;
  }

  .gnav-btn span {
    transition: 0.3s;
  }

  .show span:nth-of-type(1) {
    transform: translate(-50%, -120%) rotate(45deg);
    margin: 50%;
  }

  .show span:nth-of-type(2) {
    opacity: 0;
  }

  .show span:nth-of-type(3) {
    transform: translate(50%, -320%) rotate(-45deg);
    margin: -50%;
  }

  .gnav {
    background: rgba(255, 255, 255, 0.8);
    flex-direction: column;
    padding: 125px 0 80px;
    width: 100vw;
    height: 100vh;
    position: fixed;
    bottom: 100%;
    left: 0;
    right: 0;
    z-index: 5;
    transition: 0.3s;
  }

  .gnav-list {
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .gnav-list a {
    font-size: 25px;
    height: 90px;
    line-height: 90px;
    margin-bottom: 10px;
  }

  /*---------*/

  .works-mv {
    height: 30vh;
  }

  .works-title {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 40px;
  }

  .works-title span {
    font-size: 20px;
  }

  .main {
    width: calc(100% - 30px * 2);
    margin: 60px auto 120px;
  }

  .works-link {
    margin: 0 auto 60px;
  }

  .works-link-list {
    flex-direction: column;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .section {
    margin-bottom: 120px;
  }

  .main-site-img {
    flex-direction: column;
    align-items: center;
  }

  .main-site-img img{
    width: 100%;
  }

  .main-site-img img:nth-child(n + 2) {
    margin-top: 20px;
  }

  .main-txt-inner {
    flex-direction: column;
    width: 100%;
  }

}
