/* --------------------------------------------------------------------------
  Support FAQ page
--------------------------------------------------------------------------- */

.support-faq {
  color: #111;
  background: #fff;
}

.support-faq-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.support-faq-section {
  padding: 80px 0;
}

.support-faq-section--gray {
  background: #f7f7f7;
}

/* Hero
--------------------------------------------------------------------------- */

.support-faq-hero {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 48%,
    #f4f6f8 48%,
    #f4f6f8 100%
  );
  overflow: hidden;
}

.support-faq-hero__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.support-faq-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 40px;
  object-fit: cover;
}

.support-faq-hero__label {
  margin: 0 0 12px;
  color: #9b001f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.support-faq-hero__title {
  margin: 0;
  color: #111;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.support-faq-hero__text {
  margin: 28px 0 0;
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 600;
}

/* Lead
--------------------------------------------------------------------------- */

.support-faq-lead {
  padding: 48px 0 0;
}

.support-faq-lead p {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

/* Category nav
--------------------------------------------------------------------------- */

.support-faq-section--nav {
  padding: 48px 0 0;
}

.support-faq-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.support-faq-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 18px;
  color: #333;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  transition: 0.2s ease;
}

.support-faq-category-nav a:hover {
  color: #9b001f;
  border-color: #9b001f;
  box-shadow: 0 5px 14px rgba(155, 0, 31, 0.1);
}

/* Heading
--------------------------------------------------------------------------- */

.support-faq-heading {
  margin-bottom: 36px;
  text-align: center;
}

.support-faq-heading__en {
  margin: 0 0 8px;
  color: #9b001f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.support-faq-heading__ja {
  position: relative;
  margin: 0;
  padding-bottom: 18px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.support-faq-heading__ja::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 3px;
  transform: translateX(-50%);
}

/* FAQ
--------------------------------------------------------------------------- */

.support-faq-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.support-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.support-faq-item summary {
  position: relative;
  display: block;
  padding: 22px 56px 22px 64px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}

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

.support-faq-item summary::before {
  content: "Q";
  position: absolute;
  left: 24px;
  top: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  background: #9b001f;
  border-radius: 50%;
}

.support-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  color: #9b001f;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
}

.support-faq-item[open] summary {
  color: #9b001f;
  background: #fff8f8;
}

.support-faq-item[open] summary::after {
  content: "−";
}

.support-faq-answer {
  position: relative;
  overflow: hidden;
  height: 0;
  opacity: 0;
  border-top: 1px solid #f0f0f0;
  transition:
    height 0.3s ease,
    opacity 0.24s ease;
}

.support-faq-answer__inner {
  position: relative;
  padding: 24px 28px 28px 64px;
}

.support-faq-answer__inner::before {
  content: "A";
  position: absolute;
  left: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #9b001f;
  font-size: 0.85rem;
  font-weight: 800;
  background: #fff;
  border: 1px solid rgba(155, 0, 31, 0.3);
  border-radius: 50%;
}

.support-faq-answer p {
  margin: 0;
  color: #333;
  font-size: 0.96rem;
  line-height: 2;
}

.support-faq-item[open] .support-faq-answer {
  opacity: 1;
}

.support-faq-answer a {
  color: #9b001f;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.support-faq-highlight {
  color: #9b001f;
  font-weight: 800;
}

/* CTA
--------------------------------------------------------------------------- */

.support-faq-cta {
  padding: 80px 0 90px;
}

.support-faq-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  color: #fff;
  background: linear-gradient(135deg, #9b001f 0%, #c40028 100%);
  border-radius: 12px;
}

.support-faq-cta__label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.support-faq-cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.support-faq-cta__text {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.support-faq-cta__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 16px 24px;
  color: #9b001f;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border-radius: 6px;
  transition: 0.2s ease;
}

.support-faq-cta__button::after {
  content: "→";
  margin-left: 10px;
}

.support-faq-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Responsive
--------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .support-faq-hero {
    background: #fff;
  }

  .support-faq-hero__inner {
    min-height: auto;
    padding: 48px 0 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .support-faq-hero__image img {
    border-radius: 12px;
  }

  .support-faq-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .support-faq-cta__button {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .support-faq-container,
  .support-faq-hero__inner {
    width: min(100% - 28px, 1120px);
  }

  .support-faq-section {
    padding: 56px 0;
  }

  .support-faq-section--nav {
    padding: 36px 0 0;
  }

  .support-faq-lead {
    padding: 36px 0 0;
  }

  .support-faq-lead p {
    text-align: left;
  }

  .support-faq-category-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .support-faq-category-nav a {
    width: 100%;
  }

  .support-faq-item summary {
    padding: 18px 48px 18px 56px;
    font-size: 0.95rem;
  }

  .support-faq-item summary::before {
    left: 18px;
    top: 19px;
    width: 26px;
    height: 26px;
  }

  .support-faq-item summary::after {
    right: 18px;
  }

  .support-faq-answer {
    overflow: hidden;
    transition:
      height 0.28s ease,
      opacity 0.22s ease;
  }

  .support-faq-item.is-animating .support-faq-answer {
    will-change: height, opacity;
  }

  .support-faq-answer__inner {
    padding: 22px 20px 24px 56px;
  }

  .support-faq-answer__inner::before {
    left: 18px;
    top: 22px;
    width: 26px;
    height: 26px;
  }

  .support-faq-answer p {
    font-size: 0.92rem;
  }

  .support-faq-answer p {
    font-size: 0.92rem;
  }

  .support-faq-cta {
    padding: 64px 0 64px;
  }

  .support-faq-cta__inner {
    padding: 32px 24px;
  }

  .support-faq-cta__button {
    min-width: auto;
  }
}
