@charset "utf-8";

.m-text-red {
  color: var(--color-red);
}

.intro h1 {
  margin-block: 8rem 6rem;
  text-align: center;
  font-size: 4.4rem;
  line-height: 1.5;
}

.intro h1 span {
  position: relative;
}

.intro h1 span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  z-index: -1;
  display: block;
  width: 104%;
  height: 0.5em;
  background-color: var(--color-yellow);
}

.intro p {
  font-size: 2.8rem;
}

.intro .remrks-list {
  margin-top: 2.8rem;
  font-size: 2.4rem;
}

.intro .remrks-list > li {
  padding-left: 1em;
  text-indent: -1em;
}

.step .step-list {
  counter-reset: number 0;
  margin-top: 7rem;
}

.step .step-list > li {
  position: relative;
  padding-block: 6rem;
}

.step .step-list > li::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, var(--color-red) 2px, transparent 2px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.step .step-list > li:last-of-type::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 4px;
  background-image: radial-gradient(circle, var(--color-red) 2px, transparent 2px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.step .step-list .number {
  margin-inline: auto;
  border-radius: 0.8rem;
  min-width: 24rem;
  width: fit-content;
  color: #fff;
  background-color: var(--color-red);
  text-align: center;
  font-size: 3.4rem;
}

.step .step-list .number::after {
  counter-increment: number 1;
  content: "."counter(number); 
  font-weight: bold;
}

.step .step-list .detail {
  margin-top: 3rem;
  text-align: center;
  font-size: 3.2rem;
  font-weight: bold;
  line-height: 1.5;
}

.step .step-list .detail small {
  display: block;
  margin: 2rem auto 0;
  max-width: 53rem;
  padding-left: 1em;
  text-indent: -1em;
  text-align: start;
  font-size: 2.4rem;
  font-weight: 500;
}

.step .step-list figure {
  position: relative;
  margin: 3rem auto 0;
  width: fit-content;
}

.step .step-list .remarks {
  display: block;
  margin: 2rem auto 0;
  max-width: 53rem;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 2.4rem;
}

.step .step-list > li:nth-of-type(1) {
  left: 1.8rem;
}

.step .step-list > li:nth-of-type(2) {
  left: 1rem;
}

.buttons {
  margin-block: 8rem 10rem;
}

.buttons > a {
  position: relative;
  display: block;
  padding: 3.6rem 4.6rem;
  border-radius: 100svw;
  background-color: var(--color-orange);
  color: #fff;
  font-size: 3rem;
}

.buttons > a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4rem;
  translate: 0 -50%;
  display: block;
  width: 1.2rem;
  height: auto;
  aspect-ratio: 1 / 2;
  background-color: currentColor;
  mask: url(../img/integration/arrow.svg) no-repeat center center / contain;
}