@charset "UTF-8";

/* 制作の流れ */
.flow-content {
  width: min(calc(100% - var(--space-content-sp)), var(--content-width));
  margin-inline: auto;
  padding-top: 80px;
}

.flow-group + .flow-group {
  margin-top: 80px;
}

.flow-list {
  display: grid;
  gap: 32px;
}

.flow-step {
  min-width: 0;
}

.flow-step h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
}

.flow-step__body {
  margin-top: 20px;
  padding-left: 22px;
}

.flow-step__body p {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
}

.flow-service-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 40px), 480px);
  margin: 80px auto 0;
  padding: 20px 64px 20px 24px;
  border: 4px solid var(--color-red);
  box-shadow: 6px 7px 0 var(--color-yellow);
  background: var(--color-white);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.flow-service-link__arrow {
  position: absolute;
  top: 50%;
  right: 32px;
  color: var(--color-red);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.22s ease;
}

.site-main + .contact-cta {
  margin-top: 140px;
}

/* FLOWページのスクロール演出 */
.flow-reveal {
  opacity: 0;
  transition:
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.66s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.flow-reveal--heading {
  transform: translateX(-20px);
}

.flow-reveal--step {
  transform: translateY(22px);
}

.flow-reveal--content {
  transform: translateY(16px);
}

.flow-reveal .heading-highlight {
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.64s ease-out calc(var(--reveal-delay, 0ms) + 190ms);
}

.flow-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

.flow-reveal.is-revealed .heading-highlight {
  background-size: 100% 100%;
}

@media (hover: hover) {
  .flow-service-link:hover {
    box-shadow: 8px 9px 0 var(--color-yellow);
    transform: translate(-2px, -2px);
  }

  .flow-service-link:hover .flow-service-link__arrow {
    transform: translate(3px, -50%);
  }
}

@media (min-width: 768px) {
  .flow-content {
    padding-top: 112px;
  }

  .flow-group + .flow-group {
    margin-top: 112px;
  }

  .flow-list {
    gap: 40px;
  }

  .flow-step__body {
    padding-left: 24px;
  }
}
