@charset "UTF-8";

.jz-faq-page {
  --faq-ink: #071f3e;
  --faq-blue: #0b66b4;
  --faq-text: #173553;
  --faq-muted: #526d83;
  --faq-line: #b8cad7;
  position: relative;
  z-index: var(--z-front);
  overflow: hidden;
  background: #f5f7f8;
  color: var(--faq-text);
}

.jz-faq-label,
.jz-faq-hero-top,
.jz-faq-toc,
.jz-faq-category-heading > span {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
}

.jz-faq-label {
  color: var(--faq-blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
}

.jz-faq-hero {
  min-height: clamp(650px, calc(100svh - var(--jz-header-height)), 800px);
  border-bottom: 1px solid rgba(7, 31, 62, .12);
  background:
    radial-gradient(circle at 83% 18%, rgba(78, 169, 215, .18), transparent 28%),
    linear-gradient(118deg, #fff 0 68%, #edf3f5 68% 100%);
}

.jz-faq-hero-inner {
  display: flex;
  flex-direction: column;
  min-height: inherit;
  padding-block: 34px 58px;
}

.jz-faq-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  color: #486078;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .14em;
}

.jz-faq-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.jz-faq-breadcrumb a {
  border-bottom: 1px solid currentColor;
}

.jz-faq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  align-items: center;
  flex: 1;
  gap: clamp(56px, 9vw, 140px);
  padding-top: 44px;
}

.jz-faq-hero h1 {
  width: max-content;
  margin-top: 18px;
  padding-block: .04em .12em;
  color: #20262d;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(124px, 12vw, 184px);
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: .88;
  white-space: nowrap;
}

.jz-faq-hero h1::after,
.jz-faq-contact h2::after {
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 24px;
  background: var(--faq-blue);
  content: '';
}

.jz-faq-hero-title {
  margin-top: 26px !important;
  color: var(--faq-ink);
  font-size: clamp(22px, 1.8vw, 29px);
  font-weight: 700;
}

.jz-faq-hero-lead {
  margin-top: 20px !important;
  color: var(--faq-muted);
  font-size: 16px;
  line-height: 1.9;
}

.jz-faq-toc {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(7, 31, 62, .16);
  background: rgba(255, 255, 255, .8);
  box-shadow: 0 24px 60px rgba(7, 31, 62, .08);
}

.jz-faq-toc > p {
  color: var(--faq-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
}

.jz-faq-toc ol {
  margin-top: 20px;
  border-top: 1px solid var(--faq-line);
}

.jz-faq-toc a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid var(--faq-line);
  color: var(--faq-ink);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.jz-faq-toc a span {
  color: var(--faq-blue);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 16px;
}

.jz-faq-category {
  padding-block: clamp(100px, 11vw, 164px);
  scroll-margin-top: calc(var(--jz-header-height) + 20px);
  background: #fff;
}

.jz-faq-category--tint {
  background: #edf2f5;
}

.jz-faq-category-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.jz-faq-category-heading {
  position: sticky;
  top: calc(var(--jz-header-height) + 44px);
}

.jz-faq-category-heading > span {
  color: rgba(8, 116, 201, .2);
  font-size: clamp(72px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .85;
}

.jz-faq-category-heading .jz-faq-label {
  margin-top: 32px;
}

.jz-faq-category-heading h2 {
  margin-top: 16px;
  color: var(--faq-ink);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.4;
}

.jz-faq-category-heading a,
.jz-faq-contact-inner > a {
  display: inline-block;
  border-bottom: 2px solid currentColor;
  color: var(--faq-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.jz-faq-category-heading a {
  margin-top: 28px;
}

.jz-faq-list .c-faq {
  border-top: 1px solid #829caf;
}

.jz-faq-list .c-faq-item {
  border-bottom: 1px solid var(--faq-line);
}

.jz-faq-list .c-faq-item h3 {
  margin: 0;
}

.jz-faq-list .c-faq-button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 104px;
  padding: 24px 8px;
  border: 0;
  background: transparent;
  color: var(--faq-ink);
  font: inherit;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  line-height: 1.65;
  text-align: left;
  cursor: pointer;
}

.jz-faq-list .c-faq-button > span:last-child {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--faq-blue);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: 23px;
  font-weight: 400;
  transition: transform .25s ease;
}

.jz-faq-list .c-faq-button.is-open > span:last-child {
  transform: rotate(45deg);
}

.jz-faq-list .c-faq-panel {
  padding: 0 66px 32px 8px;
}

.jz-faq-list .c-faq-panel p {
  color: var(--faq-muted);
  font-size: 16px;
  line-height: 1.95;
}

.jz-faq-contact {
  padding-block: clamp(90px, 10vw, 144px);
  background: var(--faq-ink);
  color: #fff;
}

.jz-faq-contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}

.jz-faq-contact .jz-faq-label {
  color: #8ac6ea;
}

.jz-faq-contact h2 {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.4;
}

.jz-faq-contact h2::after {
  background: #8ac6ea;
}

.jz-faq-contact div > p:last-child {
  margin-top: 22px;
  color: rgba(255, 255, 255, .72);
  font-size: 16px;
  line-height: 1.9;
}

.jz-faq-contact-inner > a {
  min-width: 150px;
  color: #fff;
  text-align: center;
}

@media (max-width: 1023px) {
  .jz-faq-hero {
    min-height: 880px;
  }

  .jz-faq-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 48px;
  }

  .jz-faq-toc {
    width: min(100%, 720px);
  }

  .jz-faq-category-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 58px;
  }

  .jz-faq-category-heading {
    position: static;
  }
}

@media (max-width: 767px) {
  .jz-faq-hero {
    min-height: auto;
  }

  .jz-faq-hero-inner {
    padding-block: 24px 68px;
  }

  .jz-faq-hero-top {
    display: block;
  }

  .jz-faq-breadcrumb {
    justify-content: flex-start;
    margin-top: 15px;
    font-size: 14px;
  }

  .jz-faq-hero-grid {
    gap: 44px;
    padding-top: 62px;
  }

  .jz-faq-hero h1 {
    font-size: clamp(88px, 28vw, 112px);
  }

  .jz-faq-hero-lead {
    font-size: 16px;
  }

  .jz-faq-toc {
    padding: 24px 20px;
  }

  .jz-faq-category {
    padding-block: 82px;
  }

  .jz-faq-category-inner {
    gap: 46px;
  }

  .jz-faq-category-heading > span {
    font-size: 72px;
  }

  .jz-faq-category-heading h2 {
    font-size: 34px;
  }

  .jz-faq-list .c-faq-button {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 14px;
    min-height: 92px;
    padding: 22px 0;
    font-size: 16px;
  }

  .jz-faq-list .c-faq-panel {
    padding: 0 40px 28px 0;
  }

  .jz-faq-list .c-faq-panel p {
    font-size: 16px;
  }

  .jz-faq-contact {
    padding-block: 82px;
  }

  .jz-faq-contact-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
  }

  .jz-faq-contact h2 {
    font-size: 37px;
  }

  .jz-faq-contact div > p:last-child {
    font-size: 16px;
  }

  .jz-faq-contact-inner > a {
    width: max-content;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jz-faq-page [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
