@charset "UTF-8";
/* FAQ セクション全体 */
.faq {
  padding: 0 0 120px;
  max-width: 1200px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .faq {
    padding: 0 24px;
  }
}
.faq button:hover {
  background: none;
}
.faq h2 {
  color: #134A9A;
}
@media screen and (max-width: 767px) {
  .faq h2 {
    margin-bottom: 30px;
    font-size: 28px;
  }
}
.faq h2 img {
  width: 294px;
}
@media screen and (max-width: 767px) {
  .faq h2 img {
    width: vw(392);
  }
}

.faq__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─ FAQリスト ─ */
.faq__list {
  list-style: none;
  margin: 44px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px 24px;
  /* 隣の枠が勝手に伸びないように */
  align-items: start;
}

@media (max-width: 960px) {
  .faq__list {
    grid-template-columns: 1fr;
  }
}
.body2-content {
  margin-top: 20px;
}
@media screen and (max-width: 767px) {
  .body2-content {
    margin-top: 10px;
  }
}
.body2-content a {
  color: #fff;
  text-decoration: underline;
}

/* ─ FAQ item ─ */
.faq__item {
  border: 1px solid #354A55;
  background: #172229;
  height: auto;
  /* 念のため、個別でも伸びないように */
  align-self: start;
}
.faq__item.is-open {
  height: 100%;
}

/* ─ 質問ボタン ─ */
.faq__question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-flow: column;
  gap: 12px;
  padding: 32px 24px 24px 24px;
  min-height: 188px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  background: #172229;
  position: relative;
}
@media screen and (max-width: 767px) {
  .faq__question {
    font-size: 18px;
    min-height: 87px;
    padding: 13px 50px 13px 16px;
    flex-flow: row;
    align-items: center;
    line-height: 1.8;
    gap: 20px;
  }
}
.faq__question:after {
  display: block;
  content: url(../images/content-marketing/open-icon.png);
  width: 21px;
  height: 12px;
  position: absolute;
  right: 20px;
  top: -15px;
  bottom: 0;
  margin: auto;
}
.faq__question .num {
  font-size: 40px;
  color: #6B8CFC;
}
@media screen and (max-width: 767px) {
  .faq__question .num {
    font-size: 32px;
  }
}

.is-open .faq__question:after {
  display: block;
  content: url(../images/content-marketing/close-icon.png);
  width: 21px;
  height: 12px;
  position: absolute;
  right: 20px;
  top: -15px;
  bottom: 0;
  margin: auto;
}

/* ─ + / - アイコン ─ */
.faq__icon {
  margin-left: auto;
  position: relative;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

/* ─ 回答エリア（heightアニメ） ─ */
.faq__answer {
  overflow: hidden;
  height: 0;
  padding: 0;
  margin: 0 24px;
  border-top: 1px solid transparent;
  text-align: left;
  color: #fff;
  line-height: 1.6;
  font-size: 14px;
  transition: height 0.28s ease, padding 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.faq__answer p {
  color: #fff !important;
}
.faq__answer > p {
  color: #fff;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.faq__answer .box {
  margin-top: 30px;
  margin-bottom: 30px;
  background: #213039;
  padding: 24px 10px;
}
@media screen and (max-width: 767px) {
  .faq__answer .box {
    margin-bottom: 20px;
  }
}
.faq__answer .box p {
  font-size: 11px !important;
  margin-bottom: 1em;
}
.faq__answer .box p:last-of-type {
  margin-bottom: 0;
}

.faq__item.is-open .faq__answer {
  /* heightはJSで制御するのでここでは余白と色だけ */
  padding: 30px 0 20px;
  border-top-color: #354A55;
}

.faq-sita {
  padding: 0 0 193px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .faq-sita {
    padding: 0 24px 188px;
  }
}

.faq-sita .is-open .faq__answer {
  min-height: 410px;
}
@media screen and (max-width: 767px) {
  .faq-sita .is-open .faq__answer {
    min-height: auto;
  }
}

.faq-sita .faq__answer > p {
  padding: 5px 6px;
  background: #610A0A;
  line-height: 2;
}

body.page-consulting .faq .lead2-content p {
  font-size: 14px;
}
body.page-consulting .faq .lead2-content p a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  body.page-consulting section.faq-sp {
    margin-bottom: 60px;
    position: relative;
  }
}

body.page-consulting section.faq-sp p {
  background: none;
  font-size: 13px;
}

body.page-consulting section.faq-sp .faq__item {
  min-height: 428px;
  height: 100%;
}
@media screen and (max-width: 767px) {
  body.page-consulting section.faq-sp .faq__item {
    min-height: auto;
  }
}

.faq--always-open {
  position: relative;
}
.faq--always-open .faq__question {
  pointer-events: none;
}
@media screen and (max-width: 767px) {
  .faq--always-open .faq__question {
    pointer-events: initial;
  }
}

/* PC時に .faq-sp を常時展開っぽく見せる */
@media screen and (max-width: 767px) {
  .faq-sp.faq--always-open .faq__answer {
    height: auto !important;
    padding: 30px 0 20px;
    border-top-color: #354A55;
    overflow: visible;
    transition: none; /* 高さアニメを切る */
  }
  .faq-sp.faq--always-open .faq__question {
    cursor: default;
    pointer-events: none; /* クリック無効 */
  }
  .faq-sp.faq--always-open .faq__question::after {
    display: none; /* 開閉アイコンを隠す（任意） */
  }
}
@media screen and (min-width: 768px) {
  .faq-sp .is-open .faq__question:after {
    display: none;
  }
}
.faq-sita .faq__question {
  padding: 32px 55px 24px 24px;
  min-height: 115px;
}
@media screen and (min-width: 768px) {
  .faq-sita .faq__question {
    min-height: auto;
  }
}

section.faq h2 {
  font-weight: bold;
  line-height: 54px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.97);
  text-align: center;
  font-size: 32px;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  section.faq h2 {
    margin-bottom: 10px;
    letter-spacing: -1px;
    font-size: 28px;
    line-height: 48px;
  }
}
@media screen and (max-width: 374px) {
  section.faq h2 {
    letter-spacing: -2px;
    font-size: 24px;
    line-height: 42px;
  }
}
section.faq h2 br.sp {
  display: none;
}
@media screen and (max-width: 550px) {
  section.faq h2 br.sp {
    display: inline-block;
  }
}
section.faq h2 span {
  display: block;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
}
@media screen and (max-width: 767px) {
  section.faq h2 span {
    padding-top: 10px;
  }
}

body.page-consulting .section.plan {
  padding-bottom: 172px;
}
@media screen and (max-width: 767px) {
  body.page-consulting .section.plan {
    padding-bottom: 0;
  }
}