/* ---------------------------------- */
/* Nat's 提案型住宅 */
/* ---------------------------------- */
/* 共通 */
.nats__ttl {
  font-size: 3.6rem;
  font-weight: bold;
  font-family: var(--font-serif);
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 48px;

  img {
    display: inline;
    vertical-align: bottom;
  }

  @media screen and (max-width: 767px) {
    font-size: 2.5rem;
    margin-bottom: 24px;
  }
}

.nats__ttl.--center {
  text-align: center;
}

/* セクション */
.nats-lead {
  padding-top: 80px;

  @media screen and (max-width: 767px) {
    padding-top: 40px;
  }

  .nats-lead__group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      gap: 0;
    }
  }

  .nats-lead__ttl {
    color: #647451;
    font-size: 3.6rem;
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 1.4;

    @media screen and (max-width: 1024px) {
      margin-bottom: 32px;
    }

    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
      margin-bottom: 24px;
    }
  }

  .nats-lead__txt {
    font-size: 1.8rem;

    &:not(:last-child) {
      margin-bottom: 24px;

      @media screen and (max-width: 767px) {
        margin-bottom: 16px;
      }
    }

    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
    }
  }
}

.nats-features {
  padding-top: 80px;

  @media screen and (max-width: 767px) {
    padding-top: 40px;
  }

  .nats-features__group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 64px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      gap: 48px;
    }
  }

  .nats-features__block {
    @media screen and (max-width: 1024px) {
      width: 100%;
    }
  }

  .nats-features__ttl {
    font-size: 3.6rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.4;
    margin-bottom: 48px;

    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
      margin-bottom: 24px;
    }
  }

  .nats-features__txt {
    &:not(:last-child) {
      margin-bottom: 24px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }
}

.nats-concept {
  text-align: center;
  padding: 48px 24px;
  background: url(../img/common/texture-bg.jpg) center / contain;
  margin-top: 48px;

  @media screen and (max-width: 767px) {
    padding: 24px 16px;
  }

  .nats-concept__ttl {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;

    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
    }
  }

  .nats-concept__txt {
    font-size: 3.1rem;
    font-weight: bold;
    line-height: 1.76;
    margin-bottom: 1rem;

    em {
      font-style: normal;
    }

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }
  }
}

.nats-design {
  padding-top: 96px;

  @media screen and (max-width: 767px) {
    padding-top: 48px;

    .nats__ttl {
      img {
        width: 100px;
      }
    }
  }

  .nats-design__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  .nats-design__img {
    margin-bottom: 16px;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .nats-design__ttl {
    color: #647451;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;

    @media screen and (max-width: 767px) {
      font-size: 1.6rem;
    }
  }

  .nats-design__txt {
    font-size: 1.4rem;
    line-height: 1.7;
  }
}

.nats-guarantee {
  padding-block: 96px;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }

  .nats-guarantee__group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
    }
  }

  .nats-guarantee__block {
    border: solid 8px #f1f1f1;
    padding: 32px 24px;

    @media screen and (max-width: 767px) {
      padding: 24px 16px;
    }
  }

  .nats-guarantee__ttl {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 24px;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }
  }

  .nats-guarantee__list {
    margin-bottom: 12px;

    li {
      font-weight: bold;

      &::before {
        content: "・";
      }
    }

    @media screen and (max-width: 767px) {
      li {
        font-size: 1.4rem;
      }
    }
  }

  .nats-guarantee__txt {
    &:not(:last-child) {
      margin-bottom: 16px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }
}

.nats-performance {
  padding-block: 80px 40px;
  background: url(../img/common/texture-bg.jpg) center / contain;

  @media screen and (max-width: 767px) {
    padding-block: 40px 20px;
  }

  .nats-performance__lead {
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-performance__block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: min(64px, 4vw);
    padding-block: 40px;

    @media screen and (max-width: 767px) {
      flex-direction: column;
      padding-block: 24px;
      gap: 32px;

      &:first-child {
        padding-top: 48px;
      }
    }
  }

  .nats-performance__content {
    flex: 1;

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .nats-performance__ttl {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.6;
    border-bottom: solid 1px #000;
    padding-bottom: 16px;
    margin-bottom: 24px;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
    }
  }

  .nats-performance__catch {
    color: #647451;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 16px;
  }

  .nats-performance__txt {
    &:not(:last-child) {
      margin-bottom: 16px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-performance__img {
    width: min(45vw, 600px);

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }
}

.nats-product {
  padding-top: 64px;

  @media screen and (max-width: 767px) {
    padding-top: 32px;
  }

  .nats-product__ttl {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.6;
    padding-bottom: 16px;
    border-bottom: solid 1px #000;
    margin-bottom: 32px;

    @media screen and (max-width: 767px) {
      font-size: 2rem;
      padding-bottom: 8px;
      margin-bottom: 24px;
    }
  }

  .nats-product__group {
    display: flex;
    gap: 32px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      gap: 24px;
    }
  }

  .nats-product__img {
    margin-bottom: 12px;

    @media screen and (max-width: 1024px) {
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }

  .nats-product__cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;

    + .nats-product__cards {
      margin-top: 32px;
    }

    @media screen and (min-width: 1025px) {
      &.--col4 {
        grid-template-columns: repeat(4, 1fr);
      }

      &.--col1 {
        grid-template-columns: repeat(1, 1fr);
      }
    }

    @media screen and (max-width: 1024px) {
      grid-template-columns: repeat(4, 1fr);
      gap: 24px 16px;

      + .nats-product__cards {
        margin-top: 24px;
      }
    }

    @media screen and (max-width: 767px) {
      grid-template-columns: repeat(3, 1fr);
    }

    @media screen and (max-width: 599.98px) {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .nats-product__label {
    color: #fff;
    font-size: 1.4rem;
    text-align: center;
    width: fit-content;
    padding: 0 10px;
    background: #647451;
    margin-bottom: 12px;

    @media screen and (max-width: 767px) {
      font-size: 1.2rem;
      margin-bottom: 8px;
    }
  }

  .nats-product__product {
    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-product__note {
    color: #444;
    font-size: 1.4rem;
    margin-top: 8px;

    @media screen and (max-width: 767px) {
      margin-top: 4px;
    }
  }
}

.nats-spec {
  padding-block: 96px;

  @media screen and (max-width: 767px) {
    padding-block: 48px;
  }

  .nats-spec__lead {
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-spec__row {
    display: flex;
    align-items: flex-start;
    gap: 32px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      gap: 0px;
    }
  }
}

.nats-structure {
  .nats-structure__group {
    padding: 32px;
    background: url(../img/common/texture-bg.jpg) center / contain;
    display: flex;
    align-items: flex-start;
    gap: 32px;

    @media screen and (max-width: 767px) {
      padding: 24px 16px;
      align-items: center;
      flex-direction: column;
    }
  }

  .nats-structure__txt {
    &:not(:last-child) {
      margin-bottom: 16px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-structure__img {
    flex-shrink: 0;

    figcaption {
      font-size: 1.4rem;
      text-align: center;
      margin-top: 16px;
    }
  }
}

.nats-structure__cards {
  flex-shrink: 0;
}

.nats-optional {
  padding-block: 80px;
  background: url(../img/common/texture-bg.jpg) center / contain;

  @media screen and (max-width: 767px) {
    padding-block: 40px;
  }

  .nats-optional__lead {
    text-align: center;

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }
}

.nats-works {
  padding-top: 96px;

  @media screen and (max-width: 767px) {
    padding-top: 48px;
  }

  .nats-works__label {
    font-size: 3.6rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.6;
    display: block;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 48px;

    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
      margin-bottom: 24px;
    }
  }

  .nats-works__group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;

    @media screen and (max-width: 1024px) {
      flex-direction: column;
      gap: 24px;
    }
  }

  .nats-works__ttl {
    color: #647451;
    font-size: 3.6rem;
    font-weight: bold;
    font-family: var(--font-serif);
    line-height: 1.4;
    margin-bottom: 48px;

    @media screen and (max-width: 767px) {
      font-size: 2.5rem;
      margin-bottom: 24px;
    }
  }

  .nats-works__category {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 16px;

    li {
      font-weight: bold;

      &::before {
        content: "";
        width: 20px;
        height: auto;
        aspect-ratio: 1;
        display: inline-block;
        background: url(../img/product/nats/check.svg) no-repeat center/ contain;
        margin-right: 6px;
        vertical-align: middle;
      }
    }

    @media screen and (max-width: 767px) {
      li {
        font-size: 1.4rem;
      }
    }
  }

  .nats-works__info {
    line-height: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    + .nats-works__info {
      margin-top: 8px;
    }

    > div {
      display: flex;
      flex-wrap: wrap;

      &:not(:last-child) {
        dd {
          border-right: solid 1px currentColor;
        }
      }
    }

    dt {
      &::after {
        content: ":";
      }
    }

    dd {
      padding-right: 8px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
      flex-direction: column;

      > div {
        &:not(:last-child) {
          dd {
            border-right: none;
          }
        }
      }
    }
  }

  .nats-works__box {
    margin-top: 24px;
  }

  .nats-works__txt {
    &:not(:last-child) {
      margin-bottom: 16px;
    }

    @media screen and (max-width: 767px) {
      font-size: 1.4rem;
    }
  }

  .nats-works__plan {
    background: #eae7e2;
    padding: 48px 16px;
    margin-top: 48px;

    @media screen and (max-width: 767px) {
      padding: 0;
      margin-top: 24px;
    }

    img {
      margin-inline: auto;
    }
  }

  .nats-works__gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;

    @media screen and (max-width: 767px) {
      grid-template-columns: 1fr;
      gap: 8px;
      margin-top: 16px;
    }
  }

  .nats-works__img {
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.nats-flow {
  padding-block: 96px;

  .btn-pdf {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    background: #647451;
    display: block;
    width: 448px;
    max-width: 100%;
    padding: 20px;
    margin-inline: auto;
    position: relative;
    transition: opacity 0.3s;

    &:after {
      content: "";
      width: 24px;
      height: auto;
      aspect-ratio: 1;
      display: block;
      background: url(../img/product/nats/icon-pdf.svg) no-repeat center / contain;
      position: absolute;
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
    }

    &:hover {
      opacity: 0.7;
    }
  }

  @media screen and (max-width: 767px) {
    padding-block: 48px;

    .btn-pdf {
      font-size: 1.6rem;
      padding: 16px;
    }
  }
}

.nats-link {
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
  padding-block: 54px;

  @media screen and (max-width: 767px) {
    padding-block: 40px;
  }

  .nats-link__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 64px;

    @keyframes btn-animation {
      0% {
        transform: translateX(100%);
      }
      100% {
        transform: translateX(0);
      }
    }

    .btn {
      width: 400px;
      max-width: 100%;

      &:hover {
        .btn__inner {
          span {
            animation: 0.4s btn-animation ease-in-out forwards;
          }
        }
      }

      .btn__inner {
        overflow: hidden;

        span {
          display: block;
        }
      }
    }

    @media screen and (max-width: 767px) {
      flex-direction: column;
      gap: 24px;
    }
  }
}
