@charset "UTF-8";

/* ------------------------------------------------------------
   利用規約ページ
   共通部分（フォント・色・ヘッダー・フッター）は style.css を使用
------------------------------------------------------------ */

/* 規約ページは背景のグラデーションをかけない */
.page-terms::after {
  content: none;
}

.terms {
  flex: 1 0 auto;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px 64px;
}

@media (min-width: 768px) {
  .terms {
    /* PC はヘッダーが重なるため、その分を空ける */
    padding: 88px 40px 96px;
  }
}

/* Head ------------------------------------------------------- */
.terms__head {
  position: relative;
  padding: 48px 0 40px;
  text-align: center;
}

.terms__back {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: 1px solid var(--color-rule);
  border-radius: 50%;
  color: var(--color-link);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.terms__back:hover,
.terms__back:focus-visible {
  border-color: #fff;
  color: #fff;
}

.terms__brand {
  font-family: var(--font-en);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.terms__brand b {
  font-weight: 700;
}

.terms__title {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .terms__head {
    padding: 72px 0 56px;
  }

  .terms__back {
    width: 48px;
    height: 48px;
    margin-top: -24px;
  }

  .terms__brand {
    font-size: 16px;
  }

  .terms__title {
    margin-top: 20px;
    font-size: 30px;
  }
}

/* Body ------------------------------------------------------- */
.terms__body {
  padding-top: 40px;
  border-top: 1px solid var(--color-rule);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mix);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.05em;
  overflow-wrap: anywhere;
}

.terms__body p {
  margin: 0 0 1.2em;
}

.terms__body h4 {
  margin: 2.4em 0 1em;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.terms__body ol {
  margin: 0 0 1.2em;
  padding-left: 2em;
}

.terms__body ol li {
  padding-left: 0.2em;
}

.terms__body ol li p {
  margin-bottom: 1em;
}

.terms__body ol ol {
  margin-top: 0.4em;
}

.terms__body ol li ol li {
  list-style-type: lower-roman;
}

.terms__body ol.catakana li {
  list-style-type: katakana;
}

.terms__body .nissan-web3-p-no-bottom {
  margin-bottom: 0;
}

.terms__body a {
  color: #fff;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .terms__body {
    padding-top: 56px;
    font-size: 15px;
  }
}

/* Footer：現在のページのリンクは白 */
.footer__links a[aria-current="page"] {
  color: #fff;
}
