/* 日本語FAQ（/ja/faq/）専用スタイル。body.faq-ja 配下に限定し、他言語FAQの .acc-* とは別クラスにしている。
   見出し・配色の土台は日本語案内ページ共通の howto-beginner.css（body.howto-guide）を使う。 */
body.faq-ja .faq-list {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

body.faq-ja .faq-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(29, 43, 100, .08);
  margin-bottom: 16px;
  overflow: hidden;
}

body.faq-ja .faq-q {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

body.faq-ja .faq-toggle {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 20px 24px;
  border: 0;
  background: transparent;
  color: #1d2b64;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s;
}

body.faq-ja .faq-toggle:hover {
  background: #f4f6fb;
}

body.faq-ja .faq-toggle:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: -3px;
}

body.faq-ja .faq-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a4fa3, #6b7fd8);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

body.faq-ja .faq-q__text {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 開閉アイコン（＋ / −） */
body.faq-ja .faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef1fa;
}

body.faq-ja .faq-icon::before,
body.faq-ja .faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #3a4fa3;
  transform: translate(-50%, -50%);
  transition: transform .25s;
}

body.faq-ja .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

body.faq-ja .faq-toggle[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

body.faq-ja .faq-a {
  padding: 4px 24px 24px 76px;
  color: #2b3043;
  font-size: 16px;
  line-height: 1.9;
}

body.faq-ja .faq-a[hidden] {
  display: none !important;
}

body.faq-ja .faq-a p {
  margin: 0 0 10px;
}

body.faq-ja .faq-a p:last-child {
  margin-bottom: 0;
}

body.faq-ja .faq-a ul {
  margin: 0 0 10px;
  padding-left: 1.3em;
}

body.faq-ja .faq-a li {
  margin-bottom: 4px;
  list-style: disc;
}

body.faq-ja .faq-a a {
  color: #3a4fa3;
  font-weight: 700;
  text-decoration: underline;
}

body.faq-ja .faq-sub-heading {
  margin: 20px 0 12px;
  font-size: 17px;
  font-weight: 700;
  color: #1d2b64;
}

body.faq-ja .faq-features {
  margin: 0;
}

body.faq-ja .faq-feature {
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #e1e6f6;
  border-radius: 12px;
  background: #f8f9fd;
}

body.faq-ja .faq-feature--new {
  border-color: #c9d2f2;
  background: #f1f4ff;
}

body.faq-ja .faq-feature dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-weight: 700;
  color: #1d2b64;
}

body.faq-ja .faq-feature dd {
  margin: 0;
  font-size: 15px;
}

body.faq-ja .faq-new {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  background: #e2445c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .06em;
}

@media screen and (max-width: 768px) {
  body.faq-ja .faq-toggle {
    gap: 12px;
    padding: 16px;
    font-size: 15px;
  }

  body.faq-ja .faq-mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  body.faq-ja .faq-a {
    padding: 0 16px 20px;
    font-size: 15px;
  }

  body.faq-ja .faq-feature {
    padding: 12px;
  }

  body.faq-ja .faq-feature dd {
    font-size: 14px;
  }
}
