:root {
  --mtq-ink: #253137;
  --mtq-muted: #627178;
  --mtq-line: #d9e2e5;
  --mtq-paper: #fffdf8;
  --mtq-soft: #f5f8f7;
  --mtq-blue: #1c65b0;
  --mtq-blue-dark: #154d86;
  --mtq-blue-soft: #eef6ff;
  --mtq-gold: #b98542;
  --mtq-navy: #20333d;
  --mtq-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

.mtq-page {
  color: var(--mtq-ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  background: var(--mtq-paper);
}

.mtq-page *,
.mtq-page *::before,
.mtq-page *::after {
  box-sizing: border-box;
}

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

.mtq-hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 86px;
  background: #182e3b;
  color: var(--mtq-white);
}

.mtq-hero-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 36, 64, .9) 0%, rgba(11, 36, 64, .74) 42%, rgba(11, 36, 64, .22) 76%, rgba(11, 36, 64, .08) 100%),
    url("./qa-hero.png") center right / cover no-repeat;
  transform: scale(1.01);
}

.mtq-hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 270px;
}

.mtq-kicker {
  margin: 0 0 10px;
  color: var(--mtq-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.mtq-hero .mtq-kicker,
.mtq-cta .mtq-kicker {
  color: #b9d9fb;
}

.mtq-hero h1,
.mtq-intro h2,
.mtq-section h2,
.mtq-cta h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.4;
}

.mtq-hero h1 {
  font-size: 50px;
}

.mtq-lead {
  margin: 24px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 18px;
  line-height: 2;
}

.mtq-category-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--mtq-line);
  background: rgba(255,255,255,.96);
}

.mtq-category-nav ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mtq-category-nav li + li {
  border-left: 1px solid var(--mtq-line);
}

.mtq-category-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 10px 14px;
  color: var(--mtq-blue-dark);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.mtq-category-nav a:hover {
  background: var(--mtq-blue-soft);
  color: var(--mtq-blue);
}

.mtq-intro {
  padding: 74px 0 54px;
}

.mtq-intro h2 {
  font-size: 30px;
}

.mtq-intro p:last-child {
  margin: 16px 0 0;
  color: var(--mtq-muted);
}

.mtq-section {
  scroll-margin-top: 68px;
  padding: 76px 0;
}

.mtq-section-soft {
  background: var(--mtq-soft);
}

.mtq-section-heading {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 30px;
}

.mtq-section-number {
  color: var(--mtq-gold);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
}

.mtq-section h2 {
  font-size: 28px;
}

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

.mtq-faq-list details {
  border: 1px solid var(--mtq-line);
  border-radius: 6px;
  background: var(--mtq-white);
  overflow: hidden;
}

.mtq-faq-list summary {
  position: relative;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 62px 20px 22px;
  color: var(--mtq-ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
  list-style: none;
}

.mtq-faq-list summary::-webkit-details-marker {
  display: none;
}

.mtq-faq-list summary::before {
  content: "Q";
  flex: 0 0 auto;
  color: var(--mtq-blue);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}

.mtq-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 23px;
  color: var(--mtq-blue);
  font-size: 27px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-52%);
}

.mtq-faq-list details[open] summary {
  border-bottom: 1px solid var(--mtq-line);
  background: var(--mtq-blue-soft);
}

.mtq-faq-list details[open] summary::after {
  content: "−";
}

.mtq-answer {
  position: relative;
  padding: 20px 24px 22px 59px;
  color: var(--mtq-muted);
}

.mtq-answer::before {
  content: "A";
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--mtq-gold);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.mtq-answer p {
  margin: 0;
}

.mtq-answer p + p {
  margin-top: 12px;
}

.mtq-answer ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.mtq-answer li + li {
  margin-top: 7px;
}

.mtq-flow {
  color: var(--mtq-blue-dark);
  font-weight: 700;
}

.mtq-cta {
  padding: 72px 0;
  background: var(--mtq-navy);
  color: var(--mtq-white);
}

.mtq-cta-layout {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}

.mtq-cta h2 {
  font-size: 30px;
}

.mtq-cta p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.78);
}

.mtq-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 4px;
  background: var(--mtq-blue);
  color: var(--mtq-white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.mtq-button:hover {
  background: var(--mtq-blue-dark);
  color: var(--mtq-white);
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .mtq-container {
    width: min(100% - 32px, 1180px);
  }

  .mtq-pc-break {
    display: none;
  }

  .mtq-hero {
    padding: 64px 0 58px;
  }

  .mtq-hero-layout {
    min-height: 210px;
  }

  .mtq-hero h1 {
    font-size: 36px;
  }

  .mtq-lead {
    font-size: 16px;
  }

  .mtq-category-nav a {
    min-height: 58px;
    padding: 8px 5px;
    font-size: 11px;
  }

  .mtq-intro {
    padding: 54px 0 32px;
  }

  .mtq-intro h2,
  .mtq-cta h2 {
    font-size: 25px;
  }

  .mtq-section {
    scroll-margin-top: 58px;
    padding: 56px 0;
  }

  .mtq-section-heading {
    gap: 14px;
    margin-bottom: 22px;
  }

  .mtq-section-number {
    font-size: 23px;
  }

  .mtq-section h2 {
    font-size: 22px;
  }

  .mtq-faq-list summary {
    gap: 11px;
    padding: 17px 48px 17px 16px;
    font-size: 15px;
  }

  .mtq-faq-list summary::before {
    font-size: 18px;
  }

  .mtq-faq-list summary::after {
    right: 17px;
  }

  .mtq-answer {
    padding: 17px 17px 19px 43px;
    font-size: 14px;
  }

  .mtq-answer::before {
    top: 20px;
    left: 17px;
    font-size: 17px;
  }

  .mtq-cta {
    padding: 58px 0;
  }

  .mtq-cta-layout {
    display: block;
  }

  .mtq-button {
    width: 100%;
    margin-top: 26px;
  }
}
