@charset "UTF-8";

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

/************************************
** init
************************************/
.top #content {
  padding-top: 0;
}
.l-content {
  margin: 0 auto;
}
.fw {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}
.fw-inner {
  margin-left: auto;
  margin-right: auto;
  max-width: calc(
    var(--container_size, 0px) + var(--swl-pad_container, 0px) * 2
  );
  padding-left: var(--swl-pad_container, 0);
  padding-right: var(--swl-pad_container, 0);
}
.inner-wrap,
.wrap {
  width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 15px;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/************************************
** 
************************************/
.heading {
  text-align: center;
  margin-bottom: 2em;
  h2 {
    position: relative;
    color: #444;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.15em;
    &:before {
      content: "";
      position: absolute;
      bottom: -15px;
      display: inline-block;
      width: 60px;
      height: 5px;
      left: 50%;
      -webkit-transform: translateX(-50%);
      transform: translateX(-50%);
      background-color: var(--main-color);
      border-radius: 2px;
    }
  }
}
.link a {
  font-size: 20px;
  color: #222;
  i {
    padding-left: 1em;
  }
  &:hover {
    opacity: 0.7;
    transition: all 0.5s ease;
  }
}

/************************************
** Key Visual (KV)
************************************/
.kv {
  overflow: hidden;
}
/* Swiper本体のサイズ指定 */
.kv .slider-01 {
  width: 100%;
  height: 70vh;
}

/* スライドアイテムのサイズを親に合わせる */
.kv .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative; /* メッセージの絶対配置用 */
}

/* 画像を包むコンテナ */
.kv .iw {
  width: 100%;
  height: 100%;
}

.kv .iw picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* 画像自体の設定：ここが重要！ */
.kv .iw img {
  width: 100%;
  height: 100%;
  /* 小さい画像でも、アスペクト比を保ったまま枠いっぱいに広げる */
  object-fit: cover;
  /* 画像の中心を基準にする */
  object-position: center;
  display: block;
}

/* メッセージ（.im）の配置設定（例） */
.kv .im {
  position: absolute;
  top: 45%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  font-size: 2rem;
  font-weight: bold;
  .iw2 {
    img {
      width: 400px;
    }
  }
  .msg {
    p {
      font-size: 24px;
      font-weight: 100;
      color: #222;
      text-shadow:
        3px 3px 5px #ffffff,
        -3px 3px 5px #ffffff,
        3px -3px 5px #ffffff,
        -3px -3px 5px #fafafa;

      span.s1 {
        font-size: 28px;
      }
    }
  }
}
.kv {
  position: relative;
  margin-bottom: 60px;

  .link {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    a {
      background: #fff;
      padding: 1em 80px;
      border: 2px solid var(--naturafit-color);
      border-radius: 10px;
      transition: all 0.7s ease;
      &:hover {
        background: var(--naturafit-color);
        border: 2px solid #fff;
        color: #fff;
      }
    }
  }
}

/* スマホ用の調整 */
@media screen and (max-width: 768px) {
  .kv .slider-01 {
    /* スマホでは高さを少し抑えるか、あるいは100vhで全画面にする */
    height: 70vh;
  }

  .kv .im {
    top: 50%;
    left: 50%;
    text-align: center;
    .iw2 {
      img {
        width: 300px;
      }
    }
    .msg {
      p {
        font-size: 16px;
        color: #fff;
        text-shadow:
          3px 3px 5px #000000,
          -3px 3px 5px #000000,
          3px -3px 5px #000000,
          -3px -3px 5px #000000;
        span.s1 {
          font-size: 20px;
        }
      }
    }
  }
  .kv {
    .link {
      top: 80%;
      width: max-content;
      a {
        padding: 10px 40px;
      }
    }
  }
}

/************************************
** news
************************************/
.news {
  padding-bottom: 60px;
  border-bottom: 1px solid #bbb;
  /* margin-bottom: 60px; */
  
  
  
  .heading {
    margin-bottom: 60px;
  }
  .rss-feed-container {
    margin-bottom: 30px;
    .rss-item {
      width: 800px;
      margin: 0 auto;
      border-bottom: 1px solid #ccc;
      padding: 10px 0;
      .rss-img {
        display: none;
      }
      .rss-content {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        .p2 {
          display: none;
        }
      }
    }
  }
  .link {
    text-align: center;
    a {
      font-size: 16px;
    }
  }
}
@media screen and (max-width: 480px) {
  .news {
    padding-bottom: 30px;
    .rss-feed-container {
      .rss-item {
        width: auto;
      }
    }
  }
}

/************************************
** service
************************************/
.service {
  /* margin-bottom: 30px; */
  
  
  .wrap {
    border-bottom: 1px solid #bbb;
    .items {
      display: flex;
      gap: 30px;
      /* margin-bottom: 60px; */
      
      .item01 {
        width: 45%;
        .ttl {
          font-size: 60px;
          letter-spacing: 0.1em;
          color: #d9f1f0;
          line-height: 1.2;
        }
        .sttl {
          text-align: right;
          font-size: 24px;
          margin-bottom: 40px;
        }
        .msg {
          margin-bottom: 60px;
        }
        .link {
          text-align: center;
          a {
            background: #fff;
            border: 2px solid var(--naturafit-color);
            border-radius: 50px;
            padding: 15px 60px;
            transition: all 0.7s ease;
            &:hover {
              background: var(--naturafit-color);
              color: #fff;
            }
          }
        }
      }
      .item02 {
        width: 55%;
        display: flex;
        align-items: end;
        gap: 10px;
        .iw {
          border-radius: 30px 30px 0 0;
          overflow: hidden;
        }
      }
    }
  }
}
@media screen and (max-width: 480px) {
  .service {
    margin-bottom: 30px;
    .wrap {
      padding-bottom: 60px;
      
      .items {
        flex-wrap: wrap;
        .item01 {
          width: 100%;
          .ttl {
            font-size: 48px;
          }
          .sttl {
            font-size: 20px;
            margin-bottom: 20px;
          }
          .msg {
            margin-bottom: 60px;
          }
          .link {
            text-align: center;
            a {
              background: #fff;
              border: 2px solid var(--naturafit-color);
              border-radius: 50px;
              padding: 15px 60px;
              transition: all 0.7s ease;
              &:hover {
                background: var(--naturafit-color);
                color: #fff;
              }
            }
          }
        }
        .item02 {
          width: 100%;
          display: flex;
          align-items: end;
          gap: 10px;
          .iw {
            border-radius: 30px 30px 0 0;
            overflow: hidden;
          }
        }
        .item03 {
          .msg {
            margin-bottom: 30px;
          }
          .link {
            text-align: center;
            a {
              background: #fff;
              border: 2px solid var(--naturafit-color);
              border-radius: 50px;
              padding: 10px 30px;
              transition: all 0.7s ease;
              &:hover {
                background: var(--naturafit-color);
                color: #fff;
              }
            }
          }
        }
      }
    }
  }
}

/************************************
** nav-02
************************************/
.nav-02 {
  .wrap {
    .rw {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
      .iw {
        width: 100%;
        overflow: hidden;
        border-radius: 8px;
        img {
          width: 100%;
          height: auto;
          display: block;
          object-fit: cover;
          transition: transform 0.5s ease;
        }
      }
    }
  }
}
@media (min-width: 768px) {
  .nav-02 a:hover img {
    transform: scale(1.05);
  }
}

@media screen and (max-width: 480px) {
  .nav-02 {
    .wrap {
      padding: 30px 15px 60px;
      .rw {
        grid-template-columns: 1fr;
      }
    }
  }
}
