@charset "UTF-8";

:root {
  --main-color: #491f24;
  --pilatesmusk-color: #b3b3b3;
  --naturafit-color: #00a199;
  --andmake-color: #d7a735;
}

/************************************
** init
************************************/
.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;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
@media screen and (max-width: 480px) {
  .inner-wrap,
  .wrap {
    width: auto;
    padding: 30px 0;
  }
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/************************************
** 
************************************/
.heading {
  text-align: center;
  margin-bottom: 90px;
  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;
    }
  }
  span.s1 {
    font-size: 32px;
  }
}
.link a {
  font-size: 20px;
  color: #222;
  i {
    padding-left: 1em;
  }
  &:hover {
    opacity: 0.7;
    transition: all 0.5s ease;
  }
}
@media screen and (max-width: 480px) {
  .heading {
    h2 {
      font-size: 18px;
    }
    span.s1 {
      font-size: 24px;
    }
  }
}
/************************************
** lead
************************************/
.lead {
  background: #faf6f2;
  padding-bottom: 90px;
  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 {
      color: #222;
      font-size: 20px;
      padding: 10px 30px;
      border: 2px solid #9f5b42;
      border-radius: 30px;
      transition: 0.5s ease;
      &:hover {
        opacity: 0.7;
      }
    }
  }
}

@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;
  .custom-shape-divider-bottom-1774292945 {
    position: absolute;
    top: -150px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(-180deg) scaleX(-1);

    svg {
      position: relative;
      display: block;
      width: calc(150% + 1.3px);
      height: 150px;
    }
    .shape-fill {
      fill: #fff;
    }
  }
}
@media screen and (max-width: 480px) {
  .faq {
    .wrap {
      padding: 60px 15px 40px;
    }
    .custom-shape-divider-bottom-1774292945 {
      top: -60px;
      svg {
        height: 60px;
      }
    }
  }
}

/* faq */
/* --- FAQ 全体 --- */
.faq .qa {
  margin-bottom: 40px;
}
.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: #fff;
  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: #b03d3d; /* アクセントカラー */
}
/* 矢印アイコン */
.qa__head:after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #666;
  border-left: 2px solid #666;
  transform: rotate(-135deg);
  position: absolute;
  right: 25px;
  top: 45%;
  transition: transform 0.3s 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;
  left: 20px;
  font-size: 1.5em;
  font-weight: 700;
  color: #666;
}

@media screen and (max-width: 480px) {
}
/************************************
** 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;
    }
  }
}
