@charset "UTF-8";

.uc-terms {
  color: #1c1c1c;
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.uc-terms__hero {
  --uc-header-breadcrumb-offset: 0;
  position: relative;
  padding-bottom: 2.8938rem;
  background-color: #4ca4e2;
  background-image: url("../../img/uc/affiliate-hub/hero-bg.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
}

.uc-terms__hero-inner {
  width: 90%;
  max-width: 22.75rem;
  margin-inline: auto;
  padding-top: 6.75rem;
}

.uc-terms__breadcrumbs {
  position: absolute;
  top: 3.8rem;
  left: 1.5625rem;
  display: flex;
  align-items: center;
  width: auto;
  margin-inline: 0;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.0313rem;
}

.uc-terms__breadcrumbs .uc-breadcrumbs__inner {
  width: auto;
}

.uc-terms__breadcrumbs .uc-breadcrumbs__link {
  color: inherit;
}

.uc-terms__breadcrumbs .uc-breadcrumbs__current {
  color: inherit;
}

.uc-terms__hero-header {
  position: relative;
}

.uc-terms__title {
  margin: 0;
  color: #fff;
  font-size: 2.059rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.4118rem;
}

.uc-terms__body {
  position: relative;
  padding-top: 2.1875rem;
  padding-bottom: 5.0625rem;
  background-color: #edf0f5;
  background-image: url("../../img/uc/terms/body-bg.webp");
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100% auto;
}

.uc-terms__body::after {
  position: absolute;
  top: 0.8563rem;
  right: -0.4375rem;
  color: #d1dae4;
  content: "TERMS OF SERVICE";
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 4.7413rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.3319rem;
  text-orientation: mixed;
  writing-mode: vertical-rl;
  opacity: 0.03;
  mix-blend-mode: plus-lighter;
}

.uc-terms__inner {
  position: relative;
  z-index: 1;
  width: calc(100% - 2rem);
  max-width: 22.375rem;
  margin-inline: auto;
}

.uc-terms__content-header {
  margin-bottom: 2rem;
}

.uc-terms__content-label {
  display: flex;
  align-items: center;
  margin: 0;
  color: #3698de;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1125rem;
}

.uc-terms__content-label::before {
  flex: 0 0 auto;
  width: 0.9375rem;
  height: 0.625rem;
  margin-right: 0.625rem;
  background-image: url("../../img/common/uc-content-label-icon.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.uc-terms__content {
  position: relative;
}

.uc-terms__intro {
  margin: 0 0 2.5rem;
  color: #1c1c1c;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.0406rem;
}

.uc-terms__articles {
  position: relative;
}

.uc-terms__article {
  margin-bottom: 2rem;
}

.uc-terms__article:last-child {
  margin-bottom: 0;
}

.uc-terms__article-header {
  position: relative;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid #1c1c1c;
}

.uc-terms__article-title {
  margin: 0;
  padding-inline: 0.625rem;
  color: #1c1c1c;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.uc-terms__article-body {
  margin-top: 1.25rem;
  padding-inline: 0.625rem;
  color: #1c1c1c;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.0406rem;
}

.uc-terms__article-body > p {
  margin: 0 0 0.875rem;
}

.uc-terms__article-body > p:last-child {
  margin-bottom: 0;
}

.uc-terms__list {
  margin: 0 0 0.875rem;
  padding-left: 0;
  list-style: none;
}

.uc-terms__list:last-child {
  margin-bottom: 0;
}

.uc-terms__list li {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.35em;
  padding-left: 0;
}

ol.uc-terms__list {
  counter-reset: uc-terms-li;
}

ol.uc-terms__list[start="2"] {
  counter-reset: uc-terms-li 1;
}

ol.uc-terms__list[start="3"] {
  counter-reset: uc-terms-li 2;
}

ol.uc-terms__list[start="4"] {
  counter-reset: uc-terms-li 3;
}

ol.uc-terms__list[start="5"] {
  counter-reset: uc-terms-li 4;
}

ol.uc-terms__list li {
  counter-increment: uc-terms-li;
}

ol.uc-terms__list li::before {
  content: counter(uc-terms-li) ".";
}

ul.uc-terms__list li::before {
  content: "・";
}

.uc-terms__text-group {
  margin-bottom: 0.875rem;
}

.uc-terms__text-group:last-child {
  margin-bottom: 0;
}

.uc-terms__text-group p {
  margin: 0;
}

.uc-terms__item {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.uc-terms__item-num {
  flex: 0 0 auto;
}

.uc-terms__item-text {
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 768px) {
  .uc-terms__hero {
    padding-bottom: 6.125rem;
    background-image: url("../../img/uc/affiliate-hub/hero-bg-pc.webp");
  }

  .uc-terms__hero-inner {
    max-width: 57.5rem;
    padding-top: 13.625rem;
  }

  .uc-terms__breadcrumbs {
    top: 6.2rem;
    left: 2.12rem;
    font-size: 0.75rem;
    letter-spacing: 0.0375rem;
  }

  .uc-terms__title {
    font-size: 2.9414rem;
    letter-spacing: 0.5883rem;
  }

  .uc-terms__body {
    padding-top: 3.625rem;
    padding-bottom: 9.3125rem;
    background-image: url("../../img/uc/affiliate-hub/body-bg.webp");
    background-size: 105rem auto;
  }

  .uc-terms__body::after {
    top: 1.9375rem;
    right: 0.6875rem;
    font-size: 9.1938rem;
    letter-spacing: 0.6436rem;
  }

  .uc-terms__inner {
    width: 90%;
    max-width: 60rem;
  }

  .uc-terms__content-header {
    margin-bottom: 2.9188rem;
  }

  .uc-terms__content-label {
    margin-left: 1.6875rem;
    font-size: 1.1289rem;
    letter-spacing: 0.1693rem;
  }

  .uc-terms__content-label::before {
    width: 1.4141rem;
    height: 0.9636rem;
    margin-right: 0.875rem;
  }

  .uc-terms__intro {
    margin-bottom: 3.5625rem;
    padding-inline: 1.25rem;
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .uc-terms__article {
    margin-bottom: 3.375rem;
  }

  .uc-terms__article-header {
    padding-bottom: 0.75rem;
    border-bottom-width: 2px;
  }

  .uc-terms__article-title {
    padding-inline: 1.25rem;
    font-size: 1.625rem;
    line-height: 1.4;
    letter-spacing: 0.13rem;
  }

  .uc-terms__article-body {
    margin-top: 1.875rem;
    padding-inline: 1.25rem;
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }

  .uc-terms__article-body > p {
    margin-bottom: 0.875rem;
  }

  .uc-terms__list {
    margin-bottom: 0.875rem;
    padding-left: 0.2rem;
  }

  .uc-terms__list li {
    padding-left: 0;
  }

  .uc-terms__text-group {
    margin-bottom: 0.875rem;
    padding-left: 0.7rem;
  }
}

@media (min-width: 1081px) {
  .uc-terms__breadcrumbs {
    top: 6.9rem;
  }
}
