/* ベース: スマホ（〜640px） */
/* 画面幅430pxの時の固定値を基準とした可変値 */
.faq-page .inner {
  padding: 22.093vw 3.721vw 14.884vw;
}
.bread_area .breadcrumb_element {
  font-size: 3.256vw;
  color: #000080;
}
.bread_area .breadcrumb_element a {
  color: #000080;
}
.background_image {
  top: 0;
  position: fixed;
  z-index: -1;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.faq-page h1 {
  width: fit-content;
  text-align: center;
  font-size: 5.581vw;
  font-weight: 700;
  margin: 9.302vw auto 11.163vw;
  font-family: "Inter", sans-serif;
  background: linear-gradient(90deg, #4169e1 0%, #cb00e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.faq-tabs {
  margin-bottom: 13.023vw;
}

.faq-tabs ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.837vw 3.721vw;
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-tabs li {
  width: 100%;
}

.faq-tab-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 12.558vw;
  padding: 0 1.86vw;
  background: #fff;
  border-radius: 1.395vw;
  color: #444;
  text-decoration: none;
  font-size: 3.721vw;
  font-weight: 700;
  box-shadow: 0 1.86vw 1.86vw 0 rgba(0, 0, 0, 0.25);
}

.faq-tab-link::after {
  content: "";
  width: 3.721vw;
  height: 3.721vw;
  flex-shrink: 0;
  background: url(../img/faq/chevron_down_gr.webp) no-repeat center / 100%;
}

.faq-tab-link:hover {
  background: #f3f3f3;
  color: #444;
  opacity: 1;
  background: #dcdcdc;
  opacity: 1;
}
.faq-tab-link:hover::after {
  background-image: url(../img/faq/chevron_down_wt.webp);
}

.faq-content {
  display: flex;
  flex-direction: column;
  gap: 13.023vw;
}

.faq-category-title {
  width: fit-content;
  font-size: 4.651vw;
  font-weight: 700;
  margin: 0 auto 11.163vw;
  text-align: center;
  font-family: "Inter", sans-serif;
  background: linear-gradient(90deg, #4169e1 0%, #cb00e3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.faq-item {
  margin-bottom: 5.581vw;
  border: none;
  box-shadow: 0.31vw 0.625vw 0.625vw 0 rgba(8, 8, 8, 0.2);
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2.6vw 8.621vw 2.6vw 1.86vw;
  background: linear-gradient(90deg, #4169e1 0%, #cb00e3 100%);
  color: #fff;
  font-size: 3.721vw;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "Q.";
  color: #fff;
  font-weight: 700;
  font-size: 3.721vw;
  flex-shrink: 0;
  margin-right: 0.93vw;
}

.faq-item summary::after {
  position: absolute;
  content: "";
  width: 3.721vw;
  height: 3.721vw;
  background: url(../img/faq/plus.webp) no-repeat center / 100%;
  flex-shrink: 0;
  right: 2.5vw;
  top: 0.31vw;
  bottom: 0;
  margin: auto;
}

.faq-item[open] summary {
  background: linear-gradient(90deg, #50a7ff 0%, #ff00ff 100%);
}

.faq-item[open] summary::after {
  background: url(../img/faq/minus.webp) no-repeat center / 100%;
}

.faq-item > div,
.faq-item > p {
  padding: 3.721vw 3.721vw 3.721vw 7.442vw;
  background: #fff;
  color: #083461;
  line-height: 1.5;
  font-size: 3.256vw;
  font-weight: 500;
  margin: 0;
  position: relative;
  overflow-wrap: break-word;
  word-break: break-word;
}

.faq-item > div::before,
.faq-item > p::before {
  content: "A.";
  font-size: 3.721vw;
  font-weight: 700;
  color: #083461;
  position: absolute;
  top: 3.023vw;
  left: 2.45vw;
}

/* Response Images */
.faq-item img {
  max-width: 100%;
  height: auto;
}
/* フォーム */
.form {
  position: relative;
  padding: 0 3.721vw 14.884vw;
}

.faq-wrapper #form_area {
  color: #001464;
  background: #ffffff;
  box-shadow: none;
  border-radius: 4.5vw;
  padding: 11.2vw 5.7vw 16.5vw;
}
.form_title {
  text-align: center;
  margin: 0 0 9vw;
}
.form_title h2 {
  font-size: 6.2vw;
  margin-bottom: 2.5vw;
}
.form_title .form_attention {
  font-size: 3vw;
}
.faq-wrapper #form_area .mauticform-row label {
  color: #001464;
  font-size: 3.73vw;
  font-weight: 500;
  letter-spacing: 0;
  margin: 0;
  width: 100%;
}
.faq-wrapper
  #form_area
  .mauticform-row.mauticform-required
  .mauticform-label:after {
  position: absolute;
  top: 0;
  content: " ※";
  color: #cf2e7e;
  font-size: 2.6vw;
  padding: 0;
}
.faq-wrapper #form_area .mauticform-row.mauticform-radiogrp {
  gap: 2.8vw 6.6vw;
  margin-bottom: 8.3vw;
}
.faq-wrapper #form_area .mauticform-row input.mauticform-radiogrp-radio {
  width: 16px;
  height: 16px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border-radius: 50%;
  margin: 0 1.5vw 0 0;
  padding: 0;
}

.faq_page .deco_line1 {
  background-image: linear-gradient(
    to top,
    rgba(203, 0, 227, 0.2) 60%,
    transparent 60%
  );
  background-repeat: no-repeat;
  background-size: 100% 176%;
  padding: 0.1em 0;
  display: inline;
}

/* ========================================
   タブレット・PC（641px以上）
   ======================================== */
@media (min-width: 641px) {
  .faq-page .inner {
    padding: 9.062vw 0 9.375vw;
  }
  .faq-page .bread_area {
    padding-left: 6.25vw;
  }
  .bread_area .breadcrumb_element {
    font-size: 1.094vw;
  }
  .faq-page h1 {
    font-size: 2.5vw;
    margin: 4.062vw auto 5vw;
  }
  .faq-tabs {
    margin: 0 auto 6.25vw;
    max-width: 92.422vw;
  }

  .faq-tabs ul {
    gap: 4.141vw;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-tabs li {
    flex: 0 0 auto;
    width: auto;
  }

  .faq-tab-link {
    padding: 0 1.562vw 0 1.25vw;
    min-width: 20vw;
    height: 5vw;
    border-radius: 0.469vw;
    font-size: 1.562vw;
    box-shadow: 0 0.625vw 0.625vw rgba(0, 0, 0, 0.25);
  }
  .faq-tab-link::after {
    width: 1.562vw;
    height: 1.562vw;
    flex-shrink: 0;
  }

  .faq-content {
    display: flex;
    flex-direction: column;
    gap: 6.25vw;
    max-width: 81.25vw;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 2.5vw;
    box-shadow: 0.15vw 0.31vw 0.31vw 0 rgba(8, 8, 8, 0.2);
  }
  .faq-item summary::before {
    font-size: 1.562vw;
    margin-right: 0.49vw;
  }
  .faq-category-title {
    font-size: 1.875vw;
    margin-bottom: 5vw;
  }
  .faq-item summary {
    padding: 0.85vw 4.37vw 0.85vw 1.87vw;
    font-size: 1.562vw;
  }
  .faq-item summary::after {
    width: 1.562vw;
    height: 1.562vw;
    right: 1.875vw;
    top: 0.07vw;
    bottom: 0;
    margin: auto;
  }

  .faq-item > div,
  .faq-item > p {
    padding: 1.875vw 1.875vw 1.875vw 4.688vw;
    font-size: 1.562vw;
  }
  .faq-item > div::before,
  .faq-item > p::before {
    font-size: 1.562vw;
    top: 1.875vw;
    left: 2.14vw;
  }
  /* フォーム */
  .form {
    padding: 0;
  }
  .faq-wrapper #form_area {
    width: 81.25vw;
    border-radius: 2.812vw;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(1.25vw);
  }
  .form_title {
    text-align: center;
    margin: 0 0 4.531vw;
  }
  .form_title h2 {
    font-size: 2.344vw;
    margin-bottom: 1.875vw;
  }
  .form_title .form_attention {
    font-size: 0.938vw;
  }
  .faq-wrapper #form_area .mauticform-row label {
    font-size: 1.406vw;
    width: auto;
    padding: 0.703vw 0 0;
  }
  .faq-wrapper
    #form_area
    .mauticform-row.mauticform-radiogrp
    label.mauticform-label {
    margin-right: 0;
    width: 36%;
  }

  .faq-wrapper
    label#mauticform_radiogrp_label_dai_li_dianno_you_wu_yes0.mauticform-radiogrp-label {
    margin-right: 2.891vw;
  }

  .faq-wrapper
    #form_area
    .mauticform-row.mauticform-required
    .mauticform-label:after {
    font-size: 0.938vw;
    padding: 0.703vw 0 0;
    width: auto;
    left: auto;
  }

  .faq-wrapper #form_area .mauticform-row.mauticform-radiogrp {
    gap: 0;
    margin-bottom: 2.812vw;
  }
  .faq-wrapper #form_area .mauticform-radiogrp-row label {
    padding: 0;
  }
  .faq-wrapper #form_area .mauticform-row input.mauticform-radiogrp-radio {
    width: 1.25vw;
  }
  .faq-wrapper #form_area .mauticform-freehtml {
    margin: 0 0 1.953vw;
  }
  .faq-wrapper #form_area .mauticform-freehtml .mautic_txt1 {
    font-size: 1.094vw;
  }
  .faq-wrapper #form_area .mauticform-row.mauticform-button-wrapper {
    width: 24.688vw;
    height: 5.391vw;
  }
  .faq-wrapper #form_area button[type="submit"] {
    font-size: 1.797vw;
  }
  /* 代理店名 */
  .faq-wrapper
    #form_area
    .mauticform-row#mauticform_kyaouraimianjieowenihewase_dai_li_dian_ming {
    height: 40px;
  }
  .faq-wrapper
    #form_area
    #mauticform_label_kyaouraimianjieowenihewase_dai_li_dian_ming {
    position: absolute;
  }
  .faq-wrapper
    #form_area
    #mauticform_input_kyaouraimianjieowenihewase_dai_li_dian_ming {
    position: absolute;
    right: 0;
  }
}

.faq-wrapper .faq-item a {
  color: #4169e1;
}

@media (min-width: 1029px) {
  .faq-wrapper
    #form_area
    .mauticform-row.mauticform-radiogrp
    label.mauticform-label {
    width: 43%;
  }

  .faq-wrapper .faq-item p {
    font-size: 18px;
  }
}

/* ========================================
   大型PC（1280px以上）
   ======================================== */
@media (min-width: 1280px) {
  .faq-page .inner {
    padding: 116px 0 120px;
  }
  .faq-page .bread_area {
    padding-left: 80px;
  }
  .bread_area .breadcrumb_element {
    font-size: 14px;
  }
  .faq-page h1 {
    font-size: 32px;
    margin: 52px auto 64px;
  }
  .faq-tabs {
    margin: 0 auto 80px;
    max-width: 1183px;
  }

  .faq-tabs ul {
    gap: 53px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .faq-tabs li {
    flex: 0 0 auto;
    width: auto;
  }

  .faq-tab-link {
    padding: 0px 20px 0 16px;
    min-width: 256px;
    height: 64px;
    border-radius: 6px;
    font-size: 20px;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.25);
  }
  .faq-tab-link::after {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .faq-content {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1040px;
    margin: 0 auto;
  }

  .faq-item {
    margin-bottom: 32px;
    box-shadow: 2px 4px 4px 0 rgba(8, 8, 8, 0.2);
  }
  .faq-item summary::before {
    font-size: 20px;
    margin-right: 8px;
  }
  .faq-category-title {
    font-size: 24px;
    margin-bottom: 64px;
  }
  .faq-item summary {
    padding: 11px 56px 11px 24px;
    font-size: 20px;
  }
  .faq-item summary::after {
    width: 20px;
    height: 20px;
    right: 24px;
    top: 1px;
    bottom: 0;
    margin: auto;
  }

  .faq-item > div,
  .faq-item > p {
    padding: 24px 24px 24px 60px;
    font-size: 20px;
  }
  .faq-item > div::before,
  .faq-item > p::before {
    font-size: 20px;
    top: 24px;
    left: 28px;
  }
  /* フォーム */
  .form {
    padding: 0 0 64px;
  }
  .faq-wrapper #form_area {
    width: 100%;
    border-radius: 36px;
    padding: 60px 0;
    max-width: 840px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
  }
  .form_title {
    text-align: center;
    margin: 0 0 58px;
  }
  .form_title h2 {
    font-size: 30px;
    margin-bottom: 24px;
  }
  .form_title .form_attention {
    font-size: 12px;
  }
  .faq-wrapper #form_area .mauticform-row label {
    font-size: 18px;
    width: auto;
    padding: 9px 0 0;
  }
  .faq-wrapper
    #form_area
    .mauticform-row.mauticform-radiogrp
    label.mauticform-label {
    margin-right: 148px;
    width: auto;
  }

  .faq-wrapper
    label#mauticform_radiogrp_label_dai_li_dianno_you_wu_yes0.mauticform-radiogrp-label {
    margin-right: 37px;
  }

  .faq-wrapper
    #form_area
    .mauticform-row.mauticform-required
    .mauticform-label:after {
    font-size: 12px;
    padding: 9px 0 0;
    width: auto;
    left: auto;
  }

  .faq-wrapper #form_area .mauticform-row.mauticform-radiogrp {
    gap: 0;
    margin-bottom: 36px;
  }
  .faq-wrapper #form_area .mauticform-radiogrp-row label {
    padding: 0;
  }
  .faq-wrapper #form_area .mauticform-row input.mauticform-radiogrp-radio {
    width: 16px;
  }
  .faq-wrapper #form_area .mauticform-freehtml {
    margin: 0 0 25px;
  }
  .faq-wrapper #form_area .mauticform-freehtml .mautic_txt1 {
    font-size: 14px;
  }
  .faq-wrapper #form_area .mauticform-row.mauticform-button-wrapper {
    width: 316px;
    height: 69px;
  }
  .faq-wrapper #form_area button[type="submit"] {
    font-size: 23px;
  }
}
