:root {
  --color-header: #181f29;
  --color-text: #212121;
  --color-link: #0f0f0f;
  --color-white: #ffffff;
  --font-sans: Lato, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --content-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 11pt;
  line-height: 1.6;
}

a {
  color: var(--color-link);
}

a:hover {
  opacity: 0.72;
}

.site-header {
  position: relative;
  z-index: 10;
  height: 56px;
  color: var(--color-white);
  background: var(--color-header);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
  padding: 0 28px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding-right: 85px;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 15pt;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
}

.site-brand__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  min-width: 0;
}

.site-nav__list,
.site-mobile-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: 100%;
}

.site-nav__link {
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 12px;
  border-bottom: 7px solid transparent;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 10.5pt;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-white);
  opacity: 0.82;
}

.site-nav__link.is-active {
  border-bottom-color: var(--color-white);
}

.site-mobile-menu {
  display: none;
}

.page-banner {
  position: relative;
  display: grid;
  min-height: 285px;
  overflow: hidden;
  place-items: center;
  text-align: center;
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 27pt;
  font-weight: 700;
  line-height: 1.25;
}

.page-banner--faq {
  min-height: 385px;
  background: var(--color-white);
}

.page-banner--faq::before {
  position: absolute;
  inset: 0;
  background-image: url("/assets/img/dlab-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: min(100%, 1300px) auto;
  content: "";
  filter: grayscale(1);
  opacity: 0.36;
}

.page-banner--faq h1 {
  color: #000000;
}

.page-banner--legal {
  background-image: url("/assets/img/legal-banner.png");
  background-position: center;
  background-size: cover;
}

.page-banner--legal h1 {
  color: var(--color-white);
}

.page-content {
  width: min(100% - 40px, var(--content-width));
  margin-inline: auto;
  padding: 30px 0 72px;
}

.page-intro {
  margin: 0 0 48px;
}

.toc {
  margin: 0 0 42px;
  padding: 0;
}

.toc h2 {
  margin: 0 0 18px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15pt;
  font-weight: 700;
  line-height: 1.25;
}

.toc h2 {
  font-size: 11pt;
  font-weight: 400;
  text-decoration: underline;
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc li {
  margin: 0 0 14px;
}

.toc a {
  color: var(--color-link);
  text-underline-offset: 0.18em;
}

.legal-article {
  scroll-margin-top: 16px;
  margin: 0 0 42px;
}

.legal-article h2,
.legal-article h3,
.faq-category h2 {
  margin: 0 0 18px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 15pt;
  font-weight: 700;
  line-height: 1.25;
}

.legal-article p {
  margin: 0 0 15px;
  white-space: pre-line;
}

.enacted-date {
  margin: 36px 0 0;
  text-align: right;
}

.qa-login-guide {
  margin: 0 0 42px;
}

.qa-section-heading,
.price-section-heading {
  margin: 30px 0 0;
  padding: 13px 0;
  border-top: 5px solid #f0f0f0;
  border-bottom: 5px solid #f0f0f0;
  color: #181f29;
  font-family: Arvo;
  font-size: 34pt;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.qa-section-heading__text,
.price-section-heading__text {
  color: #666666;
  font-family: var(--font-sans);
  font-size: 14pt;
  font-weight: 700;
}

.price-legacy-plans {
  margin-top: 72px;
}

.price-section-heading {
  margin: 0 0 24px;
}

.qa-login-guide__image {
  display: block;
  width: min(100%, 512px);
  height: auto;
  margin: 14px auto 0;
}

.qa-login-guide__image--wide {
  width: min(100%, 1000px);
}

.qa-heading {
  margin-bottom: 0;
}

.qa-toc {
  margin: 0 0 30px;
}

.qa-toc__list,
.qa-toc__questions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qa-toc__list > li {
  margin: 0 0 14px;
}

.qa-toc__category {
  margin-left: 10px;
}

.qa-toc a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.qa-toc__questions {
  margin: 10px 0 0 12px;
}

.qa-toc__questions li {
  margin: 0 0 10px;
}

.faq-category {
  scroll-margin-top: 72px;
  margin: 0 0 42px;
}

.faq-category h2 {
  margin: 25px 0 0;
  color: #212121;
  font-family: var(--font-sans);
  font-size: 21pt;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.faq-category__intro,
.faq-answer {
  margin-left: 0;
}

.faq-category__intro {
  margin-bottom: 22px;
}

.faq-category__intro p,
.faq-answer p,
.qa-contact p {
  margin: 0 0 10px;
  white-space: pre-line;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0 0 10px;
  padding-left: 1.5em;
}

.faq-answer li p {
  margin-bottom: 8px;
}

.faq-item {
  scroll-margin-top: 72px;
  margin: 0;
}

.faq-item h3 {
  margin: 20px 0 0.75em;
  color: #181f29;
  font-family: var(--font-sans);
  font-size: 15pt;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.faq-answer a,
.qa-contact a,
.legal-article a {
  color: var(--color-link);
  text-underline-offset: 0.18em;
}

.source-bold {
  font-weight: 700;
}

.source-underline {
  text-decoration: underline;
}

.source-strike {
  text-decoration-line: line-through;
}

.faq-answer .source-color-181f38 {
  color: #181f38;
}

.faq-answer .source-color-222222 {
  color: #222222;
}

.faq-answer .source-color-1a1f36 {
  color: #1a1f36;
}

.faq-answer .source-color-45818e {
  color: #45818e;
}

.faq-answer .source-color-191919 {
  color: #191919;
}

.faq-answer .source-color-ff0000 {
  color: #ff0000;
}

.qa-contact {
  scroll-margin-top: 72px;
  margin: 0 0 42px;
}

.qa-contact h2 {
  margin: 25px 0 0;
  color: #212121;
  font-family: var(--font-sans);
  font-size: 21pt;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.legal-list,
.price-list {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.legal-list {
  padding-left: 1.4em;
  list-style-type: square;
}

.legal-list ul,
.price-list ul {
  margin: 8px 0 0;
  padding-left: 1.4em;
  list-style-type: square;
}

.legal-list li,
.price-list li {
  margin: 0 0 8px;
}

.legal-list p,
.price-list p,
.price-features p {
  margin: 0 0 8px;
}

.price-features {
  margin: 14px 0 0;
  padding-left: 1.4em;
  list-style-type: square;
}

.price-features li {
  margin: 0 0 8px;
}

.price-features ol {
  margin: 8px 0;
  padding-left: 1.4em;
}

.price-subheading {
  margin-top: 24px;
  color: var(--color-text);
  font-weight: 700;
}

.price-note__continuation {
  padding-left: 1em;
}

.payment-example {
  display: block;
  width: min(100%, 640px);
  height: auto;
  margin: 16px auto 0;
}

.site-footer {
  padding: 28px 20px;
  color: var(--color-text);
  background: var(--color-white);
  font-size: 10pt;
  text-align: center;
}

.site-footer__inner p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .site-header__inner {
    padding: 0 16px;
  }

  .site-brand {
    padding-right: 18px;
  }

  .site-nav__link {
    padding-inline: 7px;
    font-size: 9.5pt;
  }
}

@media (max-width: 920px) {
  .site-header__inner {
    display: flex;
    justify-content: center;
    padding: 0;
  }

  .site-brand {
    position: absolute;
    left: 50%;
    padding: 0;
    transform: translateX(-50%);
  }

  .site-brand__icon {
    width: 43px;
    height: 43px;
  }

  .site-brand__label {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .site-mobile-menu {
    position: absolute;
    top: 0;
    left: 14px;
    display: block;
    z-index: 2;
  }

  .site-mobile-menu summary {
    display: grid;
    width: 34px;
    height: 56px;
    cursor: pointer;
    place-items: center;
    list-style: none;
  }

  .site-mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .site-mobile-menu summary::before,
  .site-mobile-menu summary::after,
  .site-mobile-menu summary span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--color-white);
    content: "";
  }

  .site-mobile-menu summary::before {
    transform: translateY(7px);
  }

  .site-mobile-menu summary::after {
    transform: translateY(-7px);
  }

  .site-mobile-menu summary span {
    position: absolute;
  }

  .site-mobile-nav {
    position: fixed;
    top: 56px;
    left: 0;
    width: min(320px, 88vw);
    padding: 12px 0;
    background: var(--color-header);
    box-shadow: 3px 6px 18px rgb(0 0 0 / 22%);
  }

  .site-mobile-nav__link {
    display: block;
    padding: 12px 24px;
    color: var(--color-white);
    font-size: 11pt;
    font-weight: 700;
    text-decoration: none;
  }

  .site-mobile-nav__link.is-active {
    border-left: 4px solid var(--color-white);
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 11pt;
  }

  .page-banner {
    min-height: 340px;
  }

  .page-banner--faq::before {
    background-size: auto 340px;
    background-position: center;
    opacity: 0.36;
  }

  .page-banner h1 {
    max-width: 290px;
    font-size: 22pt;
    line-height: 1.15;
  }

  .page-content {
    width: min(100% - 52px, var(--content-width));
    padding-top: 54px;
  }

  .qa-login-guide__image {
    width: 100%;
  }

}
