@charset "utf-8";

.inner {
  width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.header {
  background: transparent;
  position: relative;
  height: 630px;
  padding: 100px 50px;

  .nav_container {
    position: absolute;
    left: 5%;
    z-index: 10;
    width: 300px;

    .logo {
      margin-bottom: 50px;
    }

    .g_nav {
      margin-left: 50px;

      .g_nav_item {
        margin-bottom: 30px;
      }
    }
  }

  .main_visual {
    position: absolute;
    right: 0;
    z-index: 5;
    width: 80%;
    height: 500px;

    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.main {
  background: url(../images/bg_img1.png) no-repeat left top 3% / 35%,
    url(../images/bg_img2.png) no-repeat right top 25% / 30%,
    url(../images/bg_img4.png) no-repeat right top 45% / 20%,
    linear-gradient(to right, #fadfd0 0%, #fef3dd 25%, #d7ad91);
  padding: 100px 0 0;
}

.info_container {
  .d_list {
    width: 65%;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 150px;
    line-height: 5;

    .d_title {
      float: left;
      clear: both;
      width: 150px;
    }

    .d_item {
      padding-left: 150px;
      border-bottom: 1px solid #000;
    }
  }
}

.about_container {
  .sub_title {
    &::after {
      translate: -50% -40%;
    }
  }

  .about_mv_img {
    width: 80%;
    /*  max-width: 900px; */
    margin-left: auto;
    margin-bottom: 50px;
  }

  .about_catch {
    h3 {
      font-family: "memoir";
      font-size: 60px;
      width: 100%;
      margin-right: auto;
      margin-left: auto;
      color: #493e36;
      border-bottom: 2px solid #493e36;
      margin-bottom: 50px;

      span {
        font-family: serif;
        font-size: 21px;
        margin-left: 70px;
      }
    }

    p {
      font-size: 18px;
      margin-bottom: 50px;
    }
  }

  .about_sub_img {
    display: grid;
    grid-template-rows: 300px 300px;
    grid-template-columns: 300px 1fr;
    margin-bottom: 50px;

    .about_sub_img01 {
      grid-row: 1 / 2;
      grid-column: 1 / 2;
    }

    .about_sub_img02 {
      grid-row: 2 / 3;
      grid-column: 1 / 2;
    }

    .about_sub_img03 {
      grid-row: 1 / 3;
      grid-column: 2 / 4;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.work_container {
  .sub_title {
    &::after {
      translate: -50% -40%;
    }
  }

  .work {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    width: 1200px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 50px;
  }

  .work_img01 {
    width: 500px;
  }

  .work_item {
    width: calc(100% - 300px);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    dl {
      width: 250px;
      padding: 30px 50px;
      background: url(../images/bg_border.png) no-repeat center / contain,
        url(../images/bg_flower.png) no-repeat top 20px right 50px;
      font-size: 12px;
      line-height: 1.3;

      dt {
        margin-bottom: 10px;
      }

      dd {
        margin-bottom: 10px;
      }
    }

    .image01 {
      width: calc((100% - 250px) - 30px);
      height: 260px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .image02 {
      width: 280px;
      height: 150px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .image03 {
      width: calc(100% - 400px);
      height: 200px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .image04 {
      width: 100%;
      height: 150px;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

.online_container {
  background: #fff;

  .sub_title {
    margin: auto;
    padding-top: 50px;
    width: max-content;

    img {
      display: block;
      margin-bottom: 10px;
    }

    &::before {
      top: 0;
      left: 50%;
      translate: -50% 200%;
    }
  }

  h3 {
    margin-bottom: 50px;
  }

  .num1,
  .num2 {
    ul {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;

      li {
        letter-spacing: normal;
        width: calc((100% / 3) - 20px);
        padding-top: 300px;
        background: url(../images/img2.jpg) no-repeat center top/ contain;

        h4 {
          margin-bottom: 10px;
        }

        .catch {
          font-size: 12px;
        }

        .price {
          font-size: 12px;
        }

        &:nth-child(2n) {
          background: url(../images/img3.jpg) no-repeat center top/ contain;
        }

        &:nth-child(3n) {
          background: url(../images/img6.jpg) no-repeat center top/ contain;
        }

        &:nth-child(4n) {
          background: url(../images/img4.jpg) no-repeat center top/ contain;
        }

        &:nth-child(5n) {
          background: url(../images/img5.jpg) no-repeat center top/ contain;
        }

        &:nth-child(6n) {
          background: url(../images/img8.jpg) no-repeat center top/ contain;
        }

        &:nth-child(7n) {
          background: url(../images/img9.jpg) no-repeat center top/ contain;
        }
      }
    }
  }

  .red {
    color: #f00;
  }

  .num3 {
    border-top: 1px solid #000;
    background: url(../images/bg_img3.png) no-repeat bottom right / 10%;
    padding: 30px 0;

    &>ul {
      display: flex;
      justify-content: space-between;

      &>li {
        width: calc((100% / 3) - 20px);

        h3 {
          font-size: 14px;
          padding-bottom: 10px;
          border-bottom: 1px solid #eee;
        }

        &>ul {
          &>li {
            font-size: 10px;
            margin-bottom: 20px;
          }
        }
      }
    }
  }
}

.map_container {
  background: #fff;
  margin-bottom: 50px;

  .sub_title {
    border-top: 1px solid #000;
    text-align-last: left;

    &::before {
      content: none;
    }

    &::after {
      content: none;
    }
  }

  .map_content {
    display: flex;
    justify-content: space-between;

    &>div {
      width: calc((100% / 2) - 20px);
      margin-bottom: 20px;

      iframe {
        width: 100%;
        height: 350px;
      }

      img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        margin-bottom: 20px;
      }
    }

    ul {
      font-size: 12px;
    }
  }
}

.footer_container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;

  h2 {
    width: 300px;
  }

  ul {
    display: flex;
    gap: 10px;
  }
}

@media(max-width:640px) {
  .inner {
    width: auto;
  }

  .header {
    padding: 50px 30px;
  }

  .main {
    padding: 50px 0 0;
  }

  .info_container {
    .d_list {
      width: 80%;
      line-height: 3;

      .d_title {
        float: none;
        width: 130px;
      }

      .d_item {
        padding-left: 0;
      }
    }
  }

  .about_container {

    .about_catch {
      h3 {
        font-family: "memoir";
        font-size: 36px;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        color: #493e36;
        border-bottom: 2px solid #493e36;
        margin-bottom: 50px;

        span {
          display: block;
          margin-left: 0;
        }
      }

      p {
        padding: 0 20px;
        font-size: 14px;
        margin-bottom: 30px;
      }
    }

    .about_sub_img {
      grid-template-rows: 100px 100px;
      grid-template-columns: 100px 1fr;
    }
  }

  .work_container {

    .work {
      flex-direction: column;
      gap: 20px;
      width: auto;
      margin-bottom: 20px;
    }

    .work_img01 {
      width: auto;
    }

    .work_item {
      width: 100%;
    }
  }

  .online_container {

    .num1,
    .num2 {
      ul {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;

        li {
          width: calc((100% / 2) - 10px);
          padding-top: 250px;
        }
      }
    }

    .num3 {
      border-top: 1px solid #000;
      background: url(../images/bg_img3.png) no-repeat bottom right / 10%;
      padding: 30px 0;

      &>ul {
        flex-direction: column;

        &>li {
          width: 90%;
          margin-right: auto;
          margin-left: auto;
          margin-bottom: 20px;
        }
      }
    }
  }

  .map_container {
    background: #fff;
    margin-bottom: 50px;

    .sub_title {
      border-top: 1px solid #000;
      text-align-last: left;

      &::before {
        content: none;
      }

      &::after {
        content: none;
      }
    }

    .map_content {
      flex-direction: column;

      &>div {
        width: 90%;
        margin-right: auto;
        margin-left: auto
      }

    }
  }

  .footer_container {
    flex-direction: column;
    padding: 0 20px;

    h2 {
      width: 250px;
    }
  }
}