@charset "UTF-8";


/************************************
** lead
************************************/
.lead {
  padding-bottom: 60px;
  text-align: center;
  font-size: 20px;

  .m1 {
    margin-bottom: 30px;
    .s1 {
      font-size: 24px;
    }
  }
  .m2 {
    font-size: 14px;
    .s2 {
      display: block;
      margin-bottom: 30px;
    }
    a {
      background: #fff;
      color: #222;
      font-size: 20px;
      padding: 10px 30px;
      border: 2px solid var(--naturafit-color);
      border-radius: 30px;
      transition: all 0.7s ease;
      &:hover {
        background: var(--naturafit-color);
        color: #fff;
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .lead {
    padding: 0 15px;
    padding-bottom: 60px;
    font-size: 16px;
    .m1 {
      .s1 {
        font-size: 20px;
      }
    }
    .m2 {
      .s2 {
        margin-bottom: 20px;
      }
    }
  }
}
/************************************
** faq
************************************/
.faq {
  position: relative;
  .wrap {
    width: 1000px;
  }
  @media screen and (max-width: 767px) {
    .wrap {
      width: auto;
      padding: 60px 0px 40px;
    }
  }
}

/* faq */
/* --- FAQ 全体 --- */
.faq .qa {
}
.qa__block {
  padding: 0;
  list-style: none; /* リストの・を消す */
}
.qa__item {
  border-bottom: 1px solid #eee;
  margin-top: 16px;
}
.qa__item:first-child {
  margin-top: 0;
}
/* --- 質問部分 (ヘッダー) --- */
.qa__head {
  position: relative;
  text-align: left;
  padding: 20px 50px 20px 20px;
  background: #fdfdfd;
  color: #333;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: 700;
  border: none;
  outline: none;
}
.qa__head:before {
  content: "Q";
  font-size: 1.5em;
  margin-right: 20px;
  color: var(--main-color); /* アクセントカラー */
}
/* 矢印アイコン */
.qa__head:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--main-color);
  border-left: 2px solid var(--main-color);
  transform: rotate(-135deg);
  position: absolute;
  right: 25px;
  top: 45%;
  transition: transform 0.5s ease;
}
/* 開いた時の矢印 */
.qa__head.is-open:after {
  transform: rotate(45deg);
  top: 50%;
}
/* --- 回答部分 (ボディ) --- */
.qa__body {
  display: grid;
  grid-template-rows: 0fr; /* 最初は高さを0にする */
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.4s ease;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  position: relative;
}
.qa__body.is-open {
  grid-template-rows: 1fr; /* 開いたらコンテンツの高さに合わせる */
  opacity: 1;
  visibility: visible;
}
/* 回答のインナー（ここで余白を制御） */
.qa__content {
  min-height: 0; /* これが必要 */
  padding: 0px 50px 20px 60px; /* Qの文字分だけ左を空ける */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 回答のAマーク */
.qa__content::before {
  content: "A";
  position: absolute;
  top: 0;
  left: 20px;
  font-size: 1.5em;
  font-weight: 700;
  color: var(--main-color);
}

@media screen and (max-width: 767px) {
}
/************************************
** another faq
************************************/
.another-faq {
  .items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    .item {
      .sttl {
        text-align: center;
        font-size: 14px;
      }
      a {
        display: block;
        text-align: center;
        padding: 10px 30px;
        border: 2px solid #ddd;
        border-radius: 30px;
        color: #222;
        transition: all 0.5s ease;
        &:hover {
          opacity: 0.7;
        }
      }
    }
    .item:nth-child(1) a {
      border: 2px solid var(--pilatesmusk-color);
    }
    .item:nth-child(2) a {
      border: 2px solid var(--naturafit-color);
    }
    .item:nth-child(3) a {
      border: 2px solid var(--andmake-color);
    }
  }
}
@media screen and (max-width: 480px) {
  .another-faq {
    padding: 0 15px;
    .items {
      grid-template-columns: repeat(1, 1fr);
      gap: 30px;
    }
  }
}
