@charset "UTF-8";

/* ---------- base ---------- */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
}

a:hover {
  opacity: 0.9;
}

@media screen and (min-width: 540px) {
  .main {
    max-width: 540px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  }
  body {
    background: #e6f5fa;
  }
}

/* ---------- utility ---------- */

@media screen and (min-width: 540px) {
  .u_lg-dn {
    display: none;
  }
}

/* ---------- layout ---------- */

/* ---------- kv ---------- */

.kvWrap {
  position: relative;
}

.kv_cta img {
  position: absolute;
  bottom: -4%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

/* ---------- price ---------- */
.priceWrap {
  position: relative;
}

.price_cta img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

@media screen and (min-width: 540px) {
  .price_cta img {
    bottom: 1%;
  }
}

/* ---------- faq ---------- */
.faqWrap {
  position: relative;
}

.faq_cta img {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
}

@media screen and (min-width: 540px) {
  .faq_cta img {
    bottom: 85px;
  }
}

/* 背景全体 */
.faq-section {
  padding: 2em 20px;
  background-image: linear-gradient(#8ed3df, #e6f5fa);
}

/* 各Q&Aカード */
.faq-item {
  max-width: 700px;
  margin: 0 auto 1em;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

/* 質問ボタン */
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 1.2em 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  position: relative;
}

@media screen and (min-width: 540px) {
  .accordion-header {
    font-size: 1.2rem;
  }
}

/* Qマーク */
.accordion-header::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 18px;
  background-image: url(../img/img-q.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 10px;
}

/* 質問テキスト */
.faq-question {
  flex: 1;
  line-height: 1.5;
  display: inline;
}

/* ＋／−アイコン */
.icon-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

@media screen and (min-width: 540px) {
  .icon-wrap {
    width: 18px;
    height: 18px;
  }
}

.line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #159bbe;
  transform-origin: center;
  transition: transform 0.3s;
}

.line:last-child {
  transform: rotate(90deg);
}

.accordion-header.active .line:last-child {
  transform: rotate(0deg);
}

/* 回答 */
.faq-body {
  font-size: 15px;
  padding: 20px;
  line-height: 1.7;
  position: relative;
  text-align: left;
}

@media screen and (min-width: 540px) {
  .faq-body {
    font-size: 1.2rem;
  }
}

.faq-answer {
  flex: 1;
  line-height: 1.5;
  display: inline;
}

/* Aマーク */
.faq-answer::before {
  content: "";
  display: inline-block;
  width: 17px;
  height: 18px;
  background-image: url(../img/img-a.png);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 6px;
}
