.page-faq {
  --faq-bg: #F4F8FF;
  --faq-line: rgba(11, 27, 61, 0.12);
  --faq-blue-soft: #0B1B3D;
  --faq-gold: #D4AF37;
  --faq-orange: #FF6B35;
  --faq-mist: #E8F0FF;
  background: var(--faq-bg);
  min-height: 60vh;
}

.page-faq .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.page-faq .breadcrumb {
  padding: 20px 0 0 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.page-faq .breadcrumb-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--gray);
}

.page-faq .breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-faq .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: var(--gray);
  opacity: 0.6;
}

.page-faq .breadcrumb-link {
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 500;
}

.page-faq .breadcrumb-link:hover,
.page-faq .breadcrumb-link:focus-visible {
  color: var(--orange);
  outline: none;
}

.page-faq .breadcrumb-current {
  color: var(--gray);
  font-weight: 400;
}

.page-faq .faq-hero {
  background: var(--deep-blue);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-faq .faq-hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0) 68%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}

.page-faq .faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--faq-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--faq-line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.1;
  pointer-events: none;
}

.page-faq .faq-hero-grid {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}

.page-faq .faq-hero-copy {
  position: relative;
  z-index: 1;
}

.page-faq .faq-hero .eyebrow {
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.page-faq .faq-hero-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.page-faq .faq-hero-title-accent {
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.page-faq .faq-hero .lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--mist);
  max-width: 560px;
  margin: 0 0 24px;
}

.page-faq .faq-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-faq .tag {
  display: inline-flex;
  align-items: center;
  background: var(--mist);
  color: var(--deep-blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  line-height: 1.2;
}

.page-faq .tag--orange {
  background: var(--orange);
  color: var(--white);
}

.page-faq .faq-hero-visual {
  position: relative;
  z-index: 1;
}

.page-faq .faq-help-panel {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 24px;
}

.page-faq .panel-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-faq .faq-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-faq .faq-help-list li {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.page-faq .faq-help-list a {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-size: 15px;
  padding: 12px 4px;
  font-weight: 500;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.page-faq .faq-help-list a:hover,
.page-faq .faq-help-list a:focus-visible {
  color: var(--gold-soft);
  padding-left: 10px;
  outline: none;
}

.page-faq .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-top: 44px;
  padding-bottom: 64px;
}

.page-faq .faq-sidebar {
  display: none;
}

.page-faq .faq-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.page-faq .faq-search {
  background: var(--white);
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.page-faq .faq-search-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 10px;
}

.page-faq .faq-search-input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--graphite);
  background: var(--faq-bg);
  border: 1px solid var(--faq-line);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .faq-search-input::placeholder {
  color: var(--gray);
}

.page-faq .faq-search-input:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

.page-faq .faq-section {
  scroll-margin-top: 120px;
}

.page-faq .faq-section-head {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--deep-blue);
}

.page-faq .faq-section-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  min-width: 48px;
}

.page-faq .faq-section-head .section-title {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--deep-blue);
  line-height: 1.2;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.page-faq .faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-faq .faq-item {
  background: var(--white);
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(11, 27, 61, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-item:hover,
.page-faq .faq-item:focus-within {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 8px 24px rgba(11, 27, 61, 0.08);
}

.page-faq .faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.page-faq .faq-question::-webkit-details-marker {
  display: none;
}

.page-faq .faq-q-mark {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--deep-blue);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-faq .faq-q-text {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--graphite);
  line-height: 1.5;
}

.page-faq .faq-q-toggle {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.page-faq .faq-q-toggle::before {
  content: "";
  width: 10px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
}

.page-faq .faq-q-toggle::after {
  content: "";
  width: 2px;
  height: 10px;
  background: var(--gold);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.2s ease;
}

.page-faq .faq-item[open] .faq-q-toggle::after {
  transform: scaleY(0);
}

.page-faq .faq-item[open] .faq-q-toggle {
  background: var(--gold);
  border-color: var(--gold);
}

.page-faq .faq-item[open] .faq-q-toggle::before,
.page-faq .faq-item[open] .faq-q-toggle::after {
  background: var(--deep-blue);
}

.page-faq .faq-answer {
  border-top: 1px solid var(--faq-line);
  padding: 16px 20px 20px;
  color: var(--graphite);
  font-size: 15px;
  line-height: 1.75;
}

.page-faq .faq-answer p {
  margin: 0;
}

.page-faq .faq-answer a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.page-faq .faq-answer a:hover,
.page-faq .faq-answer a:focus-visible {
  color: var(--deep-blue);
  outline: none;
}

.page-faq .faq-figure {
  margin: 24px 0 0;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--faq-line);
  padding: 12px;
  box-shadow: 0 2px 8px rgba(11, 27, 61, 0.04);
}

.page-faq .faq-figure-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-faq .faq-figure figcaption {
  text-align: center;
  padding-top: 10px;
  font-size: 14px;
}

.page-faq .faq-end-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  background: var(--deep-blue);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-faq .faq-end-cta::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0) 70%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

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

.page-faq .faq-end-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 6px;
  line-height: 1.3;
  color: var(--white);
}

.page-faq .faq-end-cta .muted {
  color: var(--mist);
  margin: 0;
}

.page-faq .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-faq .btn-primary {
  background: var(--gold);
  color: var(--deep-blue);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.page-faq .btn-primary:hover,
.page-faq .btn-primary:focus-visible {
  background: var(--gold-soft);
  color: var(--deep-blue);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
  outline: none;
}

.page-faq .faq-support-strip {
  background: var(--mist);
  border-top: 1px solid var(--faq-line);
  padding: 36px 0;
}

.page-faq .faq-support-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.page-faq .faq-support-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-faq .faq-support-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-faq .faq-support-value {
  font-size: 16px;
  color: var(--graphite);
  font-weight: 500;
  word-break: break-all;
}

@media (min-width: 640px) {
  .page-faq .faq-support-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-faq .faq-hero-grid {
    gap: 56px;
  }
}

@media (min-width: 900px) {
  .page-faq .faq-hero {
    padding: 76px 0 88px;
  }

  .page-faq .faq-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .page-faq .faq-hero-title {
    font-size: 56px;
  }

  .page-faq .faq-hero-title-accent {
    font-size: 0.62em;
  }

  .page-faq .faq-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
    padding-top: 60px;
    align-items: start;
  }

  .page-faq .faq-sidebar {
    display: block;
    position: sticky;
    top: 120px;
    background: var(--white);
    border: 1px solid var(--faq-line);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(11, 27, 61, 0.04);
  }

  .page-faq .faq-sidebar::before {
    content: "目录";
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-transform: uppercase;
    background: var(--deep-blue);
    border-radius: 999px;
    padding: 4px 12px;
    margin-bottom: 16px;
  }

  .page-faq .faq-sidebar-title {
    display: none;
  }

  .page-faq .faq-index {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
  }

  .page-faq .faq-index li {
    border-top: 1px solid var(--faq-line);
  }

  .page-faq .faq-index a {
    display: block;
    padding: 12px 0;
    color: var(--deep-blue);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .page-faq .faq-index a:hover,
  .page-faq .faq-index a:focus-visible {
    color: var(--orange);
    padding-left: 8px;
    outline: none;
  }

  .page-faq .faq-sidebar-note {
    background: var(--mist);
    border-radius: 10px;
    padding: 16px;
  }

  .page-faq .faq-sidebar-note p {
    margin: 6px 0;
    font-size: 13px;
    color: var(--graphite);
    line-height: 1.6;
  }

  .page-faq .faq-contact-email {
    font-weight: 600;
    color: var(--deep-blue);
    font-size: 14px;
    word-break: break-all;
  }
}

@media (min-width: 1200px) {
  .page-faq .faq-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 72px;
  }
}
