@charset "utf-8";
.mainvisual{
  margin: 0 auto;
  padding-bottom: 30px;
}
.mainvisual h1{
  width: fit-content;
  font-size: 130%;
  letter-spacing: 1px;
  line-height: 1.7;
  font-weight: normal;
  color: #fff;
  padding: 20px 10px;
  position: relative;
  z-index: 0;
}
.mainvisual h1::before{
  content: '';
  width: 120%;
  height: 100%;
  background: var(--page_color);
  position: absolute;
  top: 0%;
  right: 100%;
  z-index: -1;
  transition: all 0.5s ease-in-out;
}
.mainvisual.active h1::before{
  right: -10%;
}
.mainvisual .img-box{
  height: 30vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.mainvisual .img-box img{
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.page-lead{
  padding: 0rem 1rem 5rem;
  letter-spacing: 1px;
  line-height: 2;
}
.page-lead span{
  background: linear-gradient(transparent 70%, #f1f7d0 70% 88%, transparent 88%);
}
article{
  counter-reset: step;
}
.step{
  margin: 0 auto 5rem;
  position: relative;
  z-index: 0;
  counter-increment: step;
}
.step::after{
  content: counter(step)".";
  position: absolute;
  bottom: 99%;
  left: 0;
  background: var(--accent_pink);
  color: #fff;
  padding: 5px 12px;
  font-size: 130%;
}
.step:not(:first-of-type)::before{
  content: '';
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-top: 15px solid var(--page_color);
  border-right: 15px solid transparent;
  position: absolute;
  top: -17%;
  left: 0;
  right: 0;
  margin: auto;
}
.step h2{
  padding: 0.5rem 1rem;
  background: var(--accent_pink);
  color: #fff;
  letter-spacing: 1px;
  font-weight: normal;
  margin: 0 auto 1rem;
}
.step p,
.step ul{
  margin: 0rem 1rem 0.5rem;
  line-height: 1.7;
  letter-spacing: 1px;
}
.step ul li{
  line-height: 2;
  letter-spacing: 1px;
}
.step ul li a{
  display: block;
  background: var(--page_color);
  color: #fff;
  text-align: center;
  padding: 10px;
  margin: 10px auto;
  font-size: 116%;
  letter-spacing: 1px;
  outline: 1px solid #fff;
  outline-offset: -5px;
}
.cta{
  background: #f7f7f7;
  padding: 60px 0 30px;
}
.cta .inner{
  width: 95%;
  margin: 0 auto 3rem;
}
.cta h2{
  display: inline;
  font-weight: normal;
  border-bottom: 1px solid var(--page_color);
}
.cta p{
  margin: 0.5rem auto 1rem;
  letter-spacing: 1px;
  line-height: 1.8;
}
.cta a{
  display: block;
  background: var(--main);
  padding: 15px 10px;
  text-align: center;
  color: var(--page_color);
  margin: 0 auto;
  font-weight: bold;
  letter-spacing: 1px;
  outline: 1px solid var(--page_color);
  outline-offset: -4px;
}