/* ========================================
   Flow page
   ======================================== */

.header_nav a[aria-current="page"],
.gnav ul a[aria-current="page"],
.footer_nav a[aria-current="page"] {
  color: var(--color-green);
}

/* ========================================
   FV
   ======================================== */
.flow_fv_visual img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   Main
   ======================================== */
.flow_main {
  padding: var(--sp-section-padding) 0;
  background: linear-gradient(270deg, #fffbf0 0%, #f7fff4 100%);
}

.flow_main .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow_main .section_en {
  order: -1;
}

.flow_main .section_title {
  padding-top: 8px;
  -webkit-text-stroke: 1px #fdfcf1;
  paint-order: stroke fill;
  text-shadow: 0 0 5px #ffffff;
}

/* ========================================
   Steps
   ======================================== */
.flow_steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-card-gap);
  width: 100%;
  padding-top: 18px;
}

.flow_steps::before {
  content: "";
  position: absolute;
  top: 37px;
  bottom: calc(-1 * var(--sp-section-padding));
  left: 18px;
  width: 2px;
  background: #ff96a0;
}

.flow_step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}

.flow_step_badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid #ff7477;
  border-radius: 50%;
  background: var(--color-white);
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.25);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1;
  color: #ff7477;
  text-align: center;
}

.flow_step_badge span:first-child {
  font-size: 8px;
  line-height: 1.2;
}

.flow_step_badge span:last-child {
  font-size: 14px;
  line-height: 1;
}

.flow_step_content {
  display: flex;
  flex-direction: column;
  gap: 23px;
  flex: 1;
  min-width: 0;
}

.flow_step_text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.flow_step_title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1111em;
  line-height: 1.11;
  color: var(--color-green);
}

.flow_step_text p {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-brown);
}

.flow_step_photo {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   PC
   ======================================== */
@media screen and (min-width: 799px) {
  .flow_main {
    padding-top: var(--pc-section-padding);
    padding-bottom: var(--pc-section-padding);
  }

  .flow_main .section_title {
    font-size: var(--fs-section-title-serif);
    letter-spacing: 0.07em;
  }

  .flow_main .section_en {
    font-size: 16px;
    letter-spacing: 0.195em;
    line-height: 1.46;
  }

  .flow_steps {
    gap: calc(var(--sp-card-gap) + var(--sp-heading-gap));
  }

  .flow_steps::before {
    top: 46px;
    bottom: calc(-1 * var(--pc-section-padding));
    left: 27px;
  }

  .flow_step {
    gap: 24px;
  }

  .flow_step_badge {
    width: 56px;
    height: 56px;
  }

  .flow_step_badge span:first-child {
    font-size: 10px;
  }

  .flow_step_badge span:last-child {
    font-size: 18px;
  }

  .flow_step_content {
    flex-direction: row;
    align-items: flex-start;
    gap: 28px;
  }

  .flow_step_text {
    flex: 1;
    min-width: 0;
    gap: 12px;
    padding-top: 8px;
  }

  .flow_step_title {
    font-size: 22px;
    letter-spacing: 0.0545em;
    line-height: 1.23;
  }

  .flow_step_text p {
    font-size: var(--fs-body);
  }

  .flow_step_photo {
    width: 48%;
    max-width: 480px;
    height: auto;
    flex-shrink: 0;
  }
}
