:root {
  --color-white: #fff;
  --color-black: #0c090d;
  --color-black-60: #606283;
  --color-black-40: #9394a1;
  --color-primary: #e43b68;
  --color-primary-light: #fc7e9f;
  --gradation-primary: linear-gradient(90deg, #ff8fad 0%, #92a3ff 100%);
}

.terms__bg {
  padding-top: 24px;
  padding-bottom: 50px;
}

@media screen and (min-width: 428px) {
  .terms__bg {
    padding-top: 40px;
    padding-bottom: 100px;
  }
}

.terms__content {
  width: 100%;
  max-width: 1093px;
  margin-right: auto;
  margin-left: auto;
  padding-right: 16px;
  padding-left: 16px;
}

@media screen and (min-width: 428px) {
  .terms__content {
    padding-right: 60px;
    padding-left: 60px;
  }
}

.terms__link {
  margin-bottom: 24px;
}

@media screen and (min-width: 428px) {
  .terms__link {
    margin-bottom: 40px;
  }
}

.terms .page-bread__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 6px;
  column-gap: 10px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.terms .page-bread__item {
  display: flex;
  align-items: center;
  color: var(--color-black-60);
}

.terms .page-bread__item p {
  color: var(--color-black);
}

.terms .page-bread__item a {
  color: var(--color-black-60);
  text-decoration: none;
}

.terms .page-bread__item--home::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-top: 1px solid var(--color-black-40);
  border-right: 1px solid var(--color-black-40);
  transform: rotate(45deg);
}

@media screen and (min-width: 428px) {
  .terms .page-bread__list {
    font-size: 14px;
  }
}

.terms__title {
  display: flex;
  justify-content: center;
}

.terms .section-title--terms {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  align-items: center;
}

.terms .section-title__board--4 {
  display: inline-flex;
  column-gap: 8px;
  align-items: center;
}

.terms .section-title__board-triangle {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  background: var(--gradation-primary);
  clip-path: polygon(50% 0, 0 50%, 50% 100%, 100% 50%);
}

.terms .section-title__board-pin {
  width: 10px;
  height: 10px;
}

.terms .section-title__board-box {
  padding: 4px 10px;
  background-color: var(--color-white);
  border-top: 1px dashed var(--color-primary);
  border-bottom: 1px dashed var(--color-primary);
}

.terms .section-title__board-text {
  font-size: 12px;
  line-height: 1;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.terms .section-title__wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 56px;
}

.terms .section-title__bg-text {
  font-family: "Quicksand", "Tenor Sans", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  color: #fce3ea;
  letter-spacing: 0.08em;
  text-align: center;
}

.terms .section-title__text-wrapper {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.terms .section-title__text,
.terms .section-title__shadow {
  font-family: "Quicksand", "Tenor Sans", sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-align: center;
}

.terms .section-title__text {
  position: relative;
  z-index: 1;
  color: var(--color-black);
}

.terms .section-title__shadow {
  position: absolute;
  color: #ffd9e5;
  transform: translate(2px, 2px);
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .terms .section-title--terms {
    row-gap: 16px;
  }

  .terms .section-title__board--4 {
    column-gap: 12px;
  }

  .terms .section-title__board-triangle {
    width: 24px;
    height: 24px;
  }

  .terms .section-title__board-pin {
    width: 14px;
    height: 14px;
  }

  .terms .section-title__board-box {
    padding: 7px 14px;
  }

  .terms .section-title__board-text {
    font-size: 15px;
  }

  .terms .section-title__wrapper {
    min-height: 86px;
  }

  .terms .section-title__bg-text {
    font-size: 56px;
    letter-spacing: 0.1em;
  }

  .terms .section-title__text,
  .terms .section-title__shadow {
    font-size: 48px;
    letter-spacing: 0.08em;
  }
}

.terms__text {
  margin-top: 24px;
}

@media screen and (min-width: 428px) {
  .terms__text {
    margin-top: 40px;
  }
}

.terms .policies__wrapper {
  max-width: 973px;
  margin-right: auto;
  margin-left: auto;
}

.terms .policies__section-items {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

@media screen and (min-width: 428px) {
  .terms .policies__section-items {
    row-gap: 70px;
  }
}

.terms .policies__section-title {
  display: flex;
  column-gap: 4px;
  align-items: center;
  padding: 8px;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  background-color: var(--color-white);
  border-top: 1px dashed var(--color-primary);
  border-bottom: 1px dashed var(--color-primary);
}

.terms .policies__section-title::before {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 28px;
  background-image: url("/assets/images/decoration-skyblue-jewelry.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media screen and (min-width: 428px) {
  .terms .policies__section-title {
    column-gap: 8px;
    padding: 15px 25px;
    font-size: 24px;
    letter-spacing: 0.08em;
  }

  .terms .policies__section-title::before {
    width: 36px;
    height: 38px;
  }
}

.terms .policies__section-content {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  padding-top: 16px;
}

@media screen and (min-width: 428px) {
  .terms .policies__section-content {
    row-gap: 24px;
    padding-top: 40px;
  }
}

.terms .policies__section-text,
.terms .policies__list-item,
.terms .policies__sub-list-item {
  font-size: 12px;
  line-height: 1.8;
  color: var(--color-black);
  letter-spacing: 0.05em;
  word-break: break-all;
}

@media screen and (min-width: 428px) {
  .terms .policies__section-text,
  .terms .policies__list-item,
  .terms .policies__sub-list-item {
    font-size: 18px;
    letter-spacing: 0.9px;
  }
}

.terms .policies__section-list {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  padding-left: 1.4em;
  list-style: decimal outside;
}

.terms .policies__sub-list {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  margin-top: 12px;
  padding-left: 1.2em;
  list-style: disc outside;
}

.terms .policies__section-list > .policies__list-item::marker {
  color: var(--color-primary-light);
}

.terms .policies__sub-list > .policies__sub-list-item::marker {
  color: var(--color-primary-light);
}
