@charset "UTF-8";

.terms-page,
.terms-page *,
.terms-page *::before,
.terms-page *::after {
  box-sizing: border-box;
}

.terms-page {
  overflow: hidden;
  color: #333;
  font-family: "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
}

.terms-page__header {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 0 38px;
}

.terms-page__header::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  border-bottom: 1px solid #d0d0d0;
  content: "";
  transform: translateX(-50%);
}

.terms-page__header h1 {
  margin: 0;
  color: #333;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
}

.terms-page__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 0 96px;
  font-size: 18px;
  line-height: 1.72;
}
.terms-page__content a{
  text-decoration: underline;
  &:hover{
    text-decoration: none;
  }
}
.terms-page p,
.terms-page h2,
.terms-page h3,
.terms-page ul {
  margin-top: 0;
}

.terms-page p {
  margin-bottom: 0;
}

.terms-page__toc {
  margin-top: 34px;
  padding: 24px 30px;
  border-radius: 5px;
  background: #f3f3f3;
}

.terms-page__toc h2 {
  margin-bottom: 12px;
  color: #004da0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.terms-page__toc ul {
  margin-bottom: 0;
  padding-left: 26px;
}

.terms-page__toc a {
  color: #333;
  text-decoration: none;
}

.terms-page__toc a:hover,
.terms-page__toc a:focus-visible {
  color: #004da0;
  text-decoration: underline;
}

.terms-page__chapter {
  margin-top: 54px;
  scroll-margin-top: 20px;
}

.terms-page__chapter > h2 {
  margin: 0 0 32px;
  padding: 11px 16px;
  border: 0;
  border-radius: 5px;
  background: #f3f3f3;
  color: #004da0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.42;
}

.terms-page__article {
  scroll-margin-top: 20px;
}

.terms-page__article + .terms-page__article {
  margin-top: 34px;
}

.terms-page__article h3 {
  margin-bottom: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: #004da0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.terms-page__paragraph + .terms-page__paragraph {
  margin-top: 4px;
}

.terms-page__paragraph--numbered {
  padding-left: 0.9em;
  text-indent: -0.9em;
}

.terms-page__paragraph--subitem {
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.terms-page__paragraph--label {
  margin-top: 10px;
  font-weight: 700;
}

@media screen and (max-width: 1260px) and (min-width: 769px) {
  .terms-page__header,
  .terms-page__content {
    margin-right: 30px;
    margin-left: 30px;
  }
}

@media screen and (max-width: 768px) {
  .terms-page__header {
    margin: 0;
    padding: 0;
  }

  .terms-page__header h1 {
    padding: 5vw 3.5vw;
    font-size: 6.107vw;
    line-height: 1.45;
  }

  .terms-page__content {
    width: auto;
    margin: 0;
    padding: 6vw 4.071vw 16.285vw;
    font-size: 3.562vw;
    line-height: 1.86;
  }

  .terms-page__toc {
    margin-top: 5.089vw;
    padding: 4.071vw 5.089vw;
    border-radius: 0;
  }

  .terms-page__toc h2 {
    margin-bottom: 2.036vw;
    font-size: 4.071vw;
  }

  .terms-page__toc ul {
    padding-left: 5.089vw;
  }

  .terms-page__chapter {
    margin-top: 8.397vw;
    scroll-margin-top: 3.053vw;
  }

  .terms-page__chapter > h2 {
    margin-bottom: 5.852vw;
    padding: 2.545vw 4.071vw;
    border-radius: 0;
    font-size: 5.089vw;
    line-height: 1.3;
  }

  .terms-page__article {
    scroll-margin-top: 3.053vw;
  }

  .terms-page__article + .terms-page__article {
    margin-top: 5.089vw;
  }

  .terms-page__article h3 {
    margin-bottom: 1.527vw;
    font-size: 4.071vw;
    line-height: 1.4;
  }

  .terms-page__paragraph + .terms-page__paragraph {
    margin-top: 1.018vw;
  }



  .terms-page__paragraph--label {
    margin-top: 2.545vw;
  }
}
