@charset "UTF-8";
* {
  color: #545454;
  width: 100%;
  font-family: "Noto Serif JP", serif;
}

body {
  margin: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url(images/big-bg.png);
  background-repeat: repeat;
  background-size: 300px;
  background-attachment: fixed;
}

p {
  text-align: center;
  font-family: "Philosopher", sans-serif;
}

.content {
  width: min(100vw, 650px);
  margin: 0 auto;
  background: #fff;
  box-shadow: 5px 0 10px rgba(0, 0, 0, 0.3), -5px 0 10px rgba(0, 0, 0, 0.3); /* 左側の影 */
}

header img {
  background-size: cover;
}

/* バナー */
.banner {
  width: 90%;
  margin: 2rem auto;
  border: 7px solid #f0f47e;
  padding: 10px;
}
.banner a {
  display: block;
  text-align: center;
}
.banner a:hover {
  cursor: pointer;
}
.banner .banner-image {
  width: 97%;
}

.banner-container {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}
.banner-container .banner-icon {
  width: 20.2vw;
}
.banner-container p {
  font-size: 4.1vw;
  margin: auto;
  width: 75vw;
}

/* マカロンライン */
.macaron-line {
  text-align: center;
  margin: 3rem auto 0;
}
.macaron-line img {
  display: inline;
  width: 40%;
  padding-bottom: 2rem;
}

/* サービス */
.service {
  width: 85%;
  margin: 1.5rem auto;
  border-radius: 50%;
}
.service h2 {
  background: #ffa5b3;
  font-weight: normal;
  font-size: 4.5vw;
  padding: 3vw;
  text-align: center;
  border-radius: 10px 10px 0 0;
}

.service-content {
  background: #ffe5ff;
  border-radius: 0 0 10px 10px;
  padding: 10px;
}
.service-content img {
  width: 80%;
  margin: 10px 10%;
}
.service-content p {
  font-size: 4vw;
  margin-bottom: 20px;
}
.service-content h3 {
  font-size: 5vw;
  text-align: center;
  margin: 10px 0;
}
.service-content ul {
  list-style: none;
  text-align: center;
  margin-bottom: 20px;
}
.service-content ul li {
  font-size: 4.5vw;
  padding: 2px;
}

/* ポイント */
.point {
  width: 85%;
  margin: 5rem auto;
}
.point .point-content {
  margin-bottom: 3rem;
}
.point .point-title {
  font-weight: normal;
  font-size: 4.8vw;
  text-align: center;
  padding-bottom: 1rem;
}

.point-container {
  display: flex;
  align-items: center;
}
.point-container img {
  width: 38vw;
  height: auto;
}
.point-container .point-text {
  font-size: 3vw;
}
.point-container p {
  margin: 1rem;
}

.reverse {
  flex-direction: row-reverse;
}
.reverse p {
  margin: auto;
}

/* ボイス */
.voice {
  width: 90%;
  margin: 5rem auto;
  border: 5px solid #ffa5b3;
  border-radius: 20px;
}
.voice .voice-content {
  margin: 1rem auto 2rem;
}
.voice h2 {
  font-size: 6.5vw;
  font-weight: normal;
  text-align: center;
  padding: 1rem;
}

.voice-container {
  display: flex;
  align-items: center;
  padding: 1rem;
}
.voice-container img {
  width: 20vw;
  height: auto;
}
.voice-container h3 {
  text-align: center;
  font-size: 5vw;
}
.voice-container p {
  font-size: 3vw;
  margin-top: 0.5rem;
}

.voice-text {
  padding: 1rem;
}
.voice-text p {
  font-size: 3.8vw;
}

/* コース紹介 */
.course-introduction {
  width: 70%;
  margin: 5rem auto;
}
.course-introduction h2 {
  text-align: center;
  font-size: 6.5vw;
  font-weight: normal;
}

.course-content {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.course-content img {
  width: 12vw;
  height: auto;
}
.course-content h3 {
  font-size: 4.5vw;
  text-align: center;
  font-weight: normal;
}
.course-content p {
  font-size: 3.5vw;
}

/* Q&A */
.faq {
  width: 95%;
  margin: 5rem auto;
}
.faq h2 {
  font-size: 6.5vw;
  text-align: center;
  margin: 5rem 0 1rem;
}

.qa-item {
  border: 2px solid #7b494e;
  border-radius: 10px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* うっすら影を入れる */
  margin-bottom: 10px; /* 各質問の間隔をあける */
}
.qa-item:last-child {
  margin-bottom: 0; /* 最後の質問の下の余白をなくす */
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #7b494e; /* 質問と回答の間の区切り線 */
  border-radius: 5px 5px 0 0; /* 上側の角だけ丸める */
}
.question p {
  margin: 0;
  color: #7b494e;
  font-size: 5vw;
}

.qa-item.open .question {
  border-radius: 5px 5px 0 0; /* 開いているときも上側の角を維持 */
}

.qa-item:last-child .question {
  border-bottom: none; /* 最後の質問の区切り線をなくす（必要に応じて） */
}

.toggle-button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #7b494e;
  background-color: transparent;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  color: #7b494e;
}

.answer {
  padding: 0 10px;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
  border-radius: 0 0 5px 5px; /* 下側の角を丸める */
  background-color: #f9f9f9; /* 回答部分の背景色（見やすくするため） */
  color: #7b494e;
}
.answer.open {
  height: auto;
  padding: 10px;
}
.answer.open p {
  font-size: 4.5vw;
}

.question.open {
  background-color: #7b494e;
  border-radius: 5px; /* 開いているときは質問部分全体を丸める */
}
.question.open p {
  color: #fff;
}

.question.open .toggle-button {
  background-color: #fff;
  color: #7b494e;
  border-color: #fff;
}
.question.open .toggle-button::before {
  content: "−";
}

.question .toggle-button::before {
  content: "+";
}

@media (min-width: 400px) {
  /* バナー */
  .banner {
    width: 390px;
  }
  .banner .banner-image {
    width: 300px;
  }
  .banner-container .banner-icon {
    width: 100px;
  }
  .banner-container p {
    font-size: 18px;
    width: 300px;
  }
  /* マカロンライン */
  .macaron-line img {
    width: 35%;
  }
  /* サービス */
  .service h2 {
    font-size: 1.5rem;
    padding: 1rem;
  }
  .service-content p {
    font-size: 1.3rem;
  }
  .service-content h3 {
    font-size: 25px;
  }
  .service-content ul li {
    font-size: 22px;
  }
  /* ポイント */
  .point .point-title {
    font-size: 26px;
  }
  .point-container img {
    width: 250px;
  }
  .point-container .point-text {
    font-size: 1.1rem;
  }
  /* ボイス */
  .voice {
    width: 80%;
  }
  .voice h2 {
    font-size: 2rem;
  }
  .voice-container img {
    width: 100px;
  }
  .voice-container h3 {
    font-size: 1.8rem;
  }
  .voice-container p {
    font-size: 1.1rem;
  }
  .voice-text {
    padding: 1rem;
  }
  .voice-text p {
    font-size: 1.5rem;
  }
  /* コース紹介 */
  .course-introduction h2 {
    font-size: 2.2rem;
  }
  .course-content {
    justify-content: center;
    align-items: center;
  }
  .course-content img {
    width: 50px;
  }
  .course-content .amount {
    width: 300px;
  }
  .course-content h3 {
    font-size: 1.5rem;
  }
  .course-content p {
    font-size: 1.2rem;
  }
  /* Q&A */
  .faq {
    width: 90%;
  }
  .faq h2 {
    font-size: 2rem;
  }
  .question p {
    font-size: 1.5rem;
  }
  .answer.open p {
    font-size: 1.1rem;
  }
}
/*# sourceMappingURL=style.css.map */