.faq-page {
  font-feature-settings: normal;
  background: #eef3f6;
  color: #333333;
  font-size: 16px;
  font-family: "Noto Sans JP",sans-serif;
  line-height: 1.8;
  padding-bottom: 64px;
  letter-spacing: 0.02em;
}

.faq-inner {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px;
}

.faq-header {
  padding: 72px 0 30px;
  text-align: center;
}

.faq-eyebrow {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.18em;
  color: #468cf0;
  text-transform: uppercase;
}

.faq-title {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: #222222;
}

.faq-lede {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555f6e;
}

.faq-main {
  padding-bottom: 8px;
}

.faq-search-block {
  margin-bottom: 48px;
}

.faq-search-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.faq-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: #468cf0;
  pointer-events: none;
}

#faqSearch {
  width: 100%;
  padding: 14px 20px 14px 50px;
  font-size: 15px;
  line-height: 1.5;
  color: #333333;
  background: #ffffff;
  border: 1px solid #468cf0;
  border-radius: 999px;
  outline: none;
  box-shadow: 0 2px 10px rgba(70, 140, 240, 0.14);
}

#faqSearch::placeholder {
  color: #9ba7bd;
}

#faqSearch:focus {
  border-color: #2f75de;
  box-shadow: 0 0 0 3px rgba(70, 140, 240, 0.15);
}

.faq-filter {
  margin-bottom: 20px;
}

.faq-filter-label {
  text-align: center;
  justify-content: center;
  align-items: baseline;
  display: flex;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #333333;
}

.faq-filter-label-sub {
  font-size: 13px;
  font-weight: 400;
  color: #9ba7bd;
}

.faq-chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #468cf0;
  border-radius: 999px;
  background: #ffffff;
  color: #468cf0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  padding: 9px 20px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.faq-chip:hover {
  box-shadow: rgba(70, 140, 240, 0.3) 0px 4px 12px;
}

.faq-chip.is-active {
  background: #468cf0;
  color: #ffffff;
  font-weight: 700;
}
.faq-chip.is-active:not(.is-all)::after {
  content: '×';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  color: rgb(70, 140, 240);
  font-size: 13px;
  line-height: 1;
  margin-left: 8px;
}

.faq-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(209, 228, 253);
}

.faq-count {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555f6e;
}

.faq-count strong {
  color: #468cf0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0 4px;
}

.faq-reset {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(70, 140, 240);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(70, 140, 240);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}

.faq-reset:hover {
  box-shadow: rgba(70, 140, 240, 0.3) 0px 4px 12px;
}

.faq-reset.is-show {
  display: inline-flex;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(70, 140, 240, 0.14);
  overflow: hidden;
}

.faq-item-head {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.faq-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  width: 100%;
  padding: 20px;
  text-align: left;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  .faq-toggle {
    gap: 16px;
    padding: 24px;
  }
}

.faq-mark-q,
.faq-mark-a {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}

.faq-mark-q {
  color: #ffffff;
  background: #468cf0;
  order: 1;
}

.faq-mark-a {
  order: 0;
  color: #468cf0;
  background: #d1e4fd;
}

.faq-cat {
  order: 2;
  flex: 0 0 auto;
  display: inline-block;
  padding: 5px 16px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: #468cf0;
  background: #ebf3fe;
  border: 1px solid #468cf0;
  border-radius: 999px;
  white-space: nowrap;
}

.faq-question {
  order: 4;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  color: #333333;
  flex: 1 1 100%;
}
@media (min-width: 768px) {
  .faq-question {
    order: 3;
    flex: 1 1 0%;
  }
}

.faq-icon {
  position: relative;
  order: 3;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .faq-toggle {
    order: 4;
  }
}

.faq-icon-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 1px;
  background: #468cf0;
  transform: translate(-50%, -50%);
}

.faq-icon-line.is-v {
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon-line.is-v {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}

.faq-answer-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0 20px;
  padding: 20px 0;
  border-top: 1px solid #d1e4fd;
}

@media (min-width: 768px) {
  .faq-answer-row {
    margin: 0 24px;
    padding: 24px 0;
  }
}

.faq-answer {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
}

.faq-answer a {
  color: #468CF0;
  text-decoration: underline;
}

.faq-answer a:hover,
.faq-answer a:focus {
  opacity: 0.8;
}

.faq-empty {
  display: none;
  padding: 40px 20px;
  font-size: 16px;
  text-align: center;
  color: #555f6e;
}

.faq-empty.is-show {
  display: block;
}
