/*
syaken-step
------------ */
.main {
  counter-reset: syaken-step;
}

.syaken-step {
  align-items: center;
  background-color: white;
  border: solid 2px #bcbcbc;
  border-radius: 8px;
  counter-increment: syaken-step;
  display: flex;
  gap: 40px;
  margin-bottom: 64px;
  padding: 40px;
  position: relative;
}

.syaken-step:last-child {
  margin-bottom: 0;
}

.syaken-step__images {
  width: 400px;
  height: 240px;
  flex-shrink: 0;
}

.syaken-step::before {
  background-color: var(--syaken-color);
  content: 'STEP'counter(syaken-step);
  font-family: var(--num-font-family);
  font-size: 24px;
  font-weight: bold;
  padding: 8px 16px;
  position: absolute;
  top: 0;
}

.syaken-step__title {
  border-bottom: solid 4px var(--syaken-color);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 16px;
  max-width: 400px;
  padding-bottom: 4px;
}

.syaken-step__contents {
  margin-bottom: 16px;
}


.syaken-step::after {
  bottom: -80px;
  color: var(--syaken-color);
  content: '\f103';
  font-family: var(--icon-font-family);
  font-size: 40px;
  font-weight: 600;
  left: 50%;
  position: absolute;
  position: absolute;
  transform: translate(-50%,-50%);
}

.syaken-step:last-child.syaken-step::after {
  display: none;
}


@media screen and (max-width: 1024px) {
  .syaken-step__images {
    width: calc((100vw / 1024) * 400);
  }
}

@media screen and (max-width: 599px) {
  .syaken-step {
    display: block;
  }
  .syaken-step {
    padding: 48px 24px;
  }
  .syaken-step__images {
    margin-bottom: 16px;
    width: 100%;
    height: calc((100vw / 375) * 180);
  }
}
