@charset "UTF-8";

:root {
  --main-color: #491f24;
  --naturafit-color: #491f24;
}

/************************************
** Base / Layout
************************************/
.top #content {
  padding-top: 0;
}
.l-content {
  margin: 0 auto;
  padding-top: 0;
}

.fw {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.inner-wrap,
.wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 15px;
  }
}

.pc {
  display: block;
}
.sp {
  display: none;
}

@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}

/************************************
** Components
************************************/

/* Heading */
.heading {
  text-align: center;
  margin-bottom: 30px;

  h2 {
    position: relative;
    color: #444;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.15em;

    /* 擬似要素は自分自身を指すため & が必須 */
    &::before {
      content: "";
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 5px;
      background-color: var(--main-color);
      border-radius: 2px;
    }
  }

  span.s1 {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .heading h2 {
    font-size: 18px;
  }
  .heading span.s1 {
    font-size: 24px;
  }
}

/* Link */
.link a {
  font-size: 20px;
  color: #222;
  transition: opacity 0.5s ease;

  i {
    padding-left: 1em;
  }

  /* 状態（擬似クラス）は自分自身を指すため & が必須 */
  &:hover {
    opacity: 0.7;
  }
}

/************************************
** Page-KV
************************************/
.page-kv {
  padding-bottom: 60px;
  .page-kv__item {
    margin-left: 10%;
  }
}

@media screen and (max-width: 767px) {
  .page-kv {
    padding-bottom: 30px;
  }
}

/************************************
** Page-Navi
************************************/
.page-navi {
  .items {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .rw01 {
    margin-bottom: 60px;
    a {
      display: block;
      width: 400px;
      border: 2px solid var(--naturafit-color);
      border-radius: 50px;
      padding: 15px;
      font-size: 20px;
      color: #222;
      text-align: center;
      position: relative;
      transition: all 0.7s ease;
      i {
        position: absolute;
        top: 50%;
        right: 10%;
        transform: translateY(-50%);
        color: var(--naturafit-color);
      }
      &:hover {
        background: var(--naturafit-color);
        color: #fff;
        i {
          color: #fff;
        }
      }
    }
  }

  .rw02 {
    margin-bottom: 60px;
    text-align: center;
    font-size: 24px;
    .s1 {
      font-size: 28px;
    }
  }

  .rw03 {
    .items {
      gap: 20px;
    }
    .item {
      flex: 1;
    }
    .sttl {
      font-size: 14px;
    }
    .ttl {
      font-size: 20px;
    }

    a {
      display: block;
      position: relative;
      overflow: hidden;
      border-radius: 30px 30px 0 0;
    }

    .iw {
      width: 100%;
      transition: transform 0.7s ease;

      &:hover {
        transform: scale(1.05);
        img:nth-child(2) {
          bottom: 3%;
        }
      }

      img {
        display: block;
        transition: all 0.7s ease;
        object-fit: cover;

        &:nth-child(2) {
          position: absolute;
          left: 50%;
          bottom: 5%;
          transform: translateX(-50%);
          width: 50px;
          z-index: 10;
        }
      }
    }
  }
}

/************************************
** Page-Navi Mobile
************************************/
@media screen and (max-width: 767px) {
  .page-navi {
    .rw01 {
      margin-bottom: 40px;
      .items {
        flex-wrap: wrap;
        gap: 20px;
      }
      a {
        width: calc(100vw - 30px);
      }
    }

    .rw02 {
      margin-bottom: 40px;
    }

    .rw03 {
      .items {
        flex-wrap: wrap;
        gap: 10px;
      }
      .item {
        flex: unset;
        width: calc(50% - 5px);
      }
      .sttl {
        font-size: 12px;
      }
      a {
        border-radius: 30px;
      }
      .iw img {
        aspect-ratio: 1;
        &:nth-child(2) {
          width: 30px;
        }
      }
    }
  }
}

/************************************
** facility service
************************************/
.facility-service {
  .rw {
    margin-bottom: 60px;
  }
  .style02 {
    font-size: 60px;
    letter-spacing: 0.1em;
    color: #d9f1f0;
    line-height: 1.2;
  }
  .sttl {
    font-size: 24px;
    margin-bottom: 40px;
  }
  .items {
    display: flex;
    gap: 30px;
    .item01 {
      width: 40%;
      .desc {
        margin-bottom: 30px;
      }
      .thumb-wrapper .thumb-media .item-name {
        display: block;
        position: relative;
        margin-bottom: 10px;
        padding: 15px 20px;
        background: var(--naturafit-color);
        color: #fff;
        border: 2px solid var(--naturafit-color);
        border-radius: 15px;
        cursor: pointer;
        transition: all 0.7s ease;
        i {
          position: absolute;
          top: 50%;
          transform: translateY(-50%);
          right: 5%;
        }
        &:hover {
          background: #fff;
          color: var(--naturafit-color);
          i {
            color: var(--naturafit-color);
          }
        }
      }
      .attn {
        text-align: right;
        font-size: 14px;
      }
    }
    .item02 {
      width: 60%;
      border-radius: 30px 0 0 30px;
      .item-image {
        height: 100%;
        img {
          height: 100%;
        }
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .facility-service {
    .rw {
      margin-bottom: 30px;
    }
    .style02 {
      font-size: 36px;
    }
    .sttl {
      font-size: 20px;
      margin-bottom: 20px;
    }
    .desc {
      margin-bottom: 20px;
    }
    .items {
      flex-wrap: wrap;
      gap: 20px;
      margin-bottom: 30px;
      .item01 {
        order: 2;
        width: 100%;
        .thumb-wrapper .thumb-media .item-name {
          padding: 10px;
        }
      }
      .item02 {
        order: 1;
        width: 100%;
      }
    }
  }
}

/************************************
** price
************************************/
.price {
  .item01 {
    margin-bottom: 30px;
    .iw {
      width: 100%;
    }
    .iw img {
      width: 100%;
    }
  }
}
