/* ==================================================
   WILL CLENS - FAQ PAGE
   ecforce ページ管理用 / full bleed from v1
================================================== */

#faq-page,
.faq-page,
.faq-page * {
  box-sizing: border-box;
}

.faq-page {
  position: relative;

  width: 100vw;
  max-width: none;
  min-height: 100vh;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: hidden;
  background: transparent;
}

/* fixed background */
.faq-page::before {
  content: none;
  display: none;
  background: none;
  background-image: none;
}

.faq-page>* {
  position: relative;
  z-index: 1;
}

/* breadcrumb : 90% */
.faq-page__breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;

  width: calc(100% - 64px);
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 112px;

  color: #777;
  font-size: var(--top-small);
  line-height: 1.4;
}

.faq-page__breadcrumb a {
  color: inherit;
  text-decoration: none;
}

/* lead : 90% */
.faq-page__lead {
  width: calc(100% - 64px);
  max-width: 1200px;
  margin: 72px auto 0;
}

.faq-page__lead-inner {
  width: 100%;
}

.faq-page__title {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;

  margin: 0;

  color: #3694c9;
  font-size: var(--top-h1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .03em;
}

.faq-page__title span {
  color: #555;
  font-size: var(--top-16);
  font-weight: 400;
  letter-spacing: 0;
}

/* main contents : 80% */
.faq-page__contents {
  width: calc(100% - 64px);
  max-width: 1200px;
  margin: 96px auto 160px;
}

.faq-page__section+.faq-page__section {
  margin-top: 80px;
}

.faq-page__section-title {
  margin: 0 0 16px;

  color: #3694c9;
  font-size: var(--top-24) !important;
  font-weight: 600;
  line-height: 1.45;
}

/* ==================================================
   ACCORDION
   DOM/class structure is exactly the same as TOP FAQ.
   Shared app.js controls .faq-item / .faq-question.
================================================== */

.faq-page .faq-list {
  border-top: 1px solid rgba(54, 148, 201, .55);
}

.faq-page .faq-item {
  border-bottom: 1px solid rgba(54, 148, 201, .55);
}

.faq-page .faq-question {
  width: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 24px;

  padding: 18px 14px;

  border: 0;
  background: transparent;

  color: #555;
  text-align: left;
  cursor: pointer;
}

.faq-page .faq-question__text {
  display: flex;
  align-items: center;
  gap: 18px;

  min-width: 0;

  font-size: 1rem;
  line-height: 1.6;
}

.faq-page .faq-q {
  flex-shrink: 0;

  color: #555;
  font-size: 1.1rem;
}

.faq-page .faq-toggle {
  flex-shrink: 0;

  color: #3694c9;
  font-size: 24px;
  line-height: 1;

  transition:
    transform .3s ease,
    color .3s ease;
}

.faq-page .faq-question:hover .faq-toggle {
  color: #247bab;
}

.faq-page .faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  opacity: 0;

  transition:
    grid-template-rows .4s ease,
    opacity .35s ease;
}

.faq-page .faq-answer__inner {
  overflow: hidden;

  display: flex;
  gap: 18px;

  padding-inline: 14px;
}

.faq-page .faq-answer__inner p {
  margin: 0;
  padding-bottom: 18px;

  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

.faq-page .faq-a {
  flex-shrink: 0;

  padding-bottom: 18px;

  color: #3694c9;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-page .faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-page .faq-item.is-open .faq-toggle {
  transform: rotate(45deg);
}

/* ==================================================
   SP
   レイアウト幅はPC同様 90% / 80% を維持
================================================== */

@media (max-width: 560px) {
  .faq-page::before {
    content: none;
    display: none;
    background: none;
    background-image: none;
  }

  .faq-page__breadcrumb {
    width: 90vw;
    padding-top: 92px;
    font-size: 9px;
  }

  .faq-page__lead {
    width: 90vw;
    margin-top: 38px;
  }

  .faq-page__title {
    gap: 8px;
    font-size: 26px;
    line-height: 1.2;
  }

  .faq-page__title span {
    font-size: 9px;
  }

  .faq-page__contents {
    width: 80vw;
    margin-top: 64px;
    margin-bottom: 100px;
  }

  .faq-page__section+.faq-page__section {
    margin-top: 64px;
  }

  .faq-page__section-title {
    margin-bottom: 10px;
    font-size: 14px;
  }

  .faq-page .faq-question {
    gap: 14px;
    padding: 14px 4px;
  }

  .faq-page .faq-question__text {
    align-items: flex-start;
    gap: 10px;
    font-size: 10px;
    line-height: 1.55;
  }

  .faq-page .faq-q,
  .faq-page .faq-a {
    font-size: 12px;
  }

  .faq-page .faq-toggle {
    font-size: 20px;
  }

  .faq-page .faq-answer__inner {
    gap: 10px;
    padding-inline: 4px;
  }

  .faq-page .faq-answer__inner p {
    padding-bottom: 14px;
    font-size: 10px;
    line-height: 1.65;
  }

  .faq-page .faq-a {
    padding-bottom: 14px;
  }
}



.faq-page .faq-question__text {
  font-size: var(--top-16) !important;
  font-weight: 600;
}

.faq-page__breadcrumb {
  font-size: var(--top-small) !important;
}


/* ==================================================
   FAQ PAGE / TOP DESIGN SYSTEM SYNC
   2026-09-18
   挙動は変更せず、見た目のみ統一
================================================== */

#faq-page {
  background: #fff !important;
}

#faq-page::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* FAQ内タイポグラフィ */
#faq-page .faq-page__title {
  font-size: var(--top-h1) !important;
}

#faq-page .faq-page__title span {
  font-size: var(--top-16) !important;
}

#faq-page .faq-page__section-title {
  font-size: var(--top-24) !important;
}

#faq-page .faq-question__text,
#faq-page .faq-answer__inner p {
  font-size: var(--top-16) !important;
}

#faq-page .faq-q,
#faq-page .faq-a {
  font-size: var(--top-16) !important;
}

/* PC */
@media (min-width: 1171px) {

  #faq-page .faq-page__breadcrumb,
  #faq-page .faq-page__lead,
  #faq-page .faq-page__contents {
    width: calc(100% - 64px) !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #faq-page .faq-page__breadcrumb {
    padding-top: 112px !important;
  }

  #faq-page .faq-page__lead {
    margin-top: 72px !important;
  }

  #faq-page .faq-page__contents {
    margin-top: 96px !important;
    margin-bottom: 160px !important;
  }

  #faq-page .faq-page__section+.faq-page__section {
    margin-top: 80px !important;
  }
}

/* TB */
@media (min-width: 771px) and (max-width: 1170px) {

  #faq-page .faq-page__breadcrumb,
  #faq-page .faq-page__lead,
  #faq-page .faq-page__contents {
    width: 90% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #faq-page .faq-page__breadcrumb {
    padding-top: 96px !important;
  }

  #faq-page .faq-page__lead {
    margin-top: 56px !important;
  }

  #faq-page .faq-page__contents {
    margin-top: 72px !important;
    margin-bottom: 120px !important;
  }

  #faq-page .faq-page__section+.faq-page__section {
    margin-top: 72px !important;
  }
}

/* SP */
@media (max-width: 770px) {

  #faq-page .faq-page__breadcrumb,
  #faq-page .faq-page__lead,
  #faq-page .faq-page__contents {
    width: 90% !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #faq-page .faq-page__breadcrumb {
    padding-top: 84px !important;
    font-size: var(--top-small) !important;
  }

  #faq-page .faq-page__lead {
    margin-top: 40px !important;
  }

  #faq-page .faq-page__title {
    gap: 8px !important;
  }

  #faq-page .faq-page__contents {
    margin-top: 64px !important;
    margin-bottom: 100px !important;
  }

  #faq-page .faq-page__section+.faq-page__section {
    margin-top: 64px !important;
  }

  #faq-page .faq-page__section-title {
    margin-bottom: 12px !important;
  }

  /* アコーディオン挙動はそのまま。余白だけ整理 */
  #faq-page .faq-question {
    padding: 14px 6px !important;
  }

  #faq-page .faq-answer__inner {
    padding-inline: 6px !important;
  }
}

/* ==================================================
   FAQ PAGE / TOP SPEC FINAL SYNC
   2026-09-24
   TOP共通: width 90% / max-width 1000px / breakpoint 770px
================================================== */

#faq-page,
.faq-page {
  background: #fff !important;
  margin-top: -60px;
}

#faq-page::before,
.faq-page::before {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* TOPと同じ基本コンテンツ幅 */
#faq-page .faq-page__breadcrumb,
#faq-page .faq-page__lead,
#faq-page .faq-page__contents {
  width: 90% !important;
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Typography */
#faq-page .faq-page__title {
  font-size: var(--top-h1) !important;
  font-weight: 600 !important;
}

#faq-page .faq-page__title span {
  font-size: var(--top-16) !important;
}

#faq-page .faq-page__section-title {
  font-size: var(--top-24) !important;
  font-weight: 600 !important;
}

#faq-page .faq-question__text,
#faq-page .faq-answer__inner p,
#faq-page .faq-q,
#faq-page .faq-a {
  font-size: var(--top-16) !important;
}

#faq-page .faq-question__text {
  font-weight: 600 !important;
}

#faq-page .faq-page__breadcrumb {
  font-size: var(--top-small) !important;
}

/* PC / Tablet: TOPと同じ幅を維持 */
@media (min-width: 771px) {
  #faq-page .faq-page__breadcrumb {
    padding-top: 112px !important;
  }

  #faq-page .faq-page__lead {
    margin-top: 72px !important;
  }

  #faq-page .faq-page__contents {
    margin-top: 96px !important;
    margin-bottom: 160px !important;
  }

  #faq-page .faq-page__section + .faq-page__section {
    margin-top: 80px !important;
  }
}

/* SP */
@media (max-width: 770px) {
  #faq-page .faq-page__breadcrumb,
  #faq-page .faq-page__lead,
  #faq-page .faq-page__contents {
    width: 90% !important;
    max-width: 1000px !important;
  }

  #faq-page .faq-page__breadcrumb {
    padding-top: 84px !important;
    font-size: var(--top-small) !important;
  }

  #faq-page .faq-page__lead {
    margin-top: 40px !important;
  }

  #faq-page .faq-page__title {
    gap: 8px !important;
    font-size: var(--top-h1) !important;
  }

  #faq-page .faq-page__title span {
    font-size: var(--top-16) !important;
  }

  #faq-page .faq-page__contents {
    margin-top: 64px !important;
    margin-bottom: 100px !important;
  }

  #faq-page .faq-page__section + .faq-page__section {
    margin-top: 64px !important;
  }

  #faq-page .faq-page__section-title {
    margin-bottom: 12px !important;
    font-size: var(--top-24) !important;
  }

  #faq-page .faq-question {
    gap: 14px !important;
    padding: 14px 6px !important;
  }

  #faq-page .faq-question__text {
    gap: 10px !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  #faq-page .faq-q,
  #faq-page .faq-a {
    font-size: 16px !important;
  }

  #faq-page .faq-toggle {
    font-size: 20px !important;
  }

  #faq-page .faq-answer__inner {
    gap: 10px !important;
    padding-inline: 6px !important;
  }

  #faq-page .faq-answer__inner p {
    padding-bottom: 14px !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  #faq-page .faq-a {
    padding-bottom: 14px !important;
  }
}