@charset "UTF-8";
/* ==========================================================================
   Flow Section
   ========================================================================== */
.flow {
  background-color: #fff;
  background-image: url("../../../images/bg_gr.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 30vw auto;
}

.flow-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* Title Area */
.flow-header {
  text-align: center;
  margin-bottom: clamp(40px, 27px + 1.74vw, 60px);
}

/* Steps Area */
.flow-steps {
  display: flex;
  flex-direction: column;
}

/* Step Item */
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: clamp(40px, 5.21vw, 100px);
  position: relative;
}

/* Circle Area - 16:84 ratio */
.flow-step-circle {
  flex: 16;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-step-icon {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 5px solid var(--color-primary);
  background-color: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, -0.084rem + 0.7vw, 0.75rem);
  box-sizing: border-box;
}

/* Dotted line connecting circles */
.flow-step-line {
  width: 5px;
  height: clamp(20px, 2.61vw, 50px);
  background: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 5px, transparent 5px, transparent 10px);
}

.flow-step-label {
  font-family: "Roboto", sans-serif;
  font-size: clamp(12px, 10px + 0.26vw, 15px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.flow-step-image {
  width: 55%;
}

.flow-step-image img {
  width: 100%;
  height: auto;
}

.flow-step-image--small {
  width: 45%;
}

/* Step 2-5: icons 10% smaller */
.flow-step:not(:first-child) .flow-step-image {
  width: 50%;
}

.flow-step:not(:first-child) .flow-step-image--small {
  width: 40%;
}

/* Content Area - 16:84 ratio */
.flow-step-content {
  flex: 84;
  padding-top: clamp(15px, 5px + 1.3vw, 30px);
}

.flow-step-title {
  font-size: clamp(22px, 14px + 1.04vw, 34px);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 clamp(10px, 7px + 0.35vw, 14px);
}

.flow-step-text {
  font-size: clamp(16px, 15px + 0.17vw, 18px);
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   Tablet Styles (1280px以下)
   ========================================================================== */
@media screen and (max-width: 1280px) {
  .flow-step-circle {
    max-width: 130px;
  }
}
@media screen and (max-width: 1024px) {
  .flow-step-circle {
    max-width: 110px;
  }
}
/* ==========================================================================
   SP Tablet Styles (768px - 541px)
   ========================================================================== */
@media screen and (max-width: 768px) and (min-width: 541px) {
  .flow {
    padding-left: 50px;
    padding-right: 50px;
  }
}
/* ==========================================================================
   SP Styles
   ========================================================================== */
@media screen and (max-width: 768px) {
  .flow {
    background-size: 95vw auto;
  }
  .flow-header {
    margin-bottom: 30px;
  }
  .flow-step {
    gap: 15px;
    align-items: stretch;
    margin-bottom: 25px;
  }
  .flow-step:last-child {
    margin-bottom: 0;
  }
  /* Tablet ratio - intermediate between PC (16:84) and SP */
  .flow-step-circle {
    flex: 70;
  }
  /* Dotted line adjusted for SP - full height */
  .flow-step-line {
    width: 4px;
    flex: 1;
    min-height: 30px;
    margin-bottom: -25px;
    background: repeating-linear-gradient(to bottom, var(--color-primary) 0, var(--color-primary) 4px, transparent 4px, transparent 8px);
  }
  .flow-step:last-child .flow-step-line {
    margin-bottom: 0;
  }
  .flow-step-content {
    flex: 170;
  }
  .flow-step-label {
    font-size: 10px;
  }
  .flow-step-icon {
    border-width: 4px;
    gap: 1px;
    max-width: 80px;
  }
  .flow-step-image {
    width: 50%;
  }
  .flow-step-image--small {
    width: 40%;
  }
  /* Step 2-5: icons 10% smaller */
  .flow-step:not(:first-child) .flow-step-image {
    width: 45%;
  }
  .flow-step:not(:first-child) .flow-step-image--small {
    width: 36%;
  }
  .flow-step-content {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .flow-step-title {
    font-size: clamp(18px, 16px + 0.48vw, 20px);
    margin-bottom: 0;
  }
  .flow-step-text {
    font-size: clamp(14px, 13px + 0.24vw, 15px);
  }
  .flow-step-icon {
    max-width: 100px;
  }
}
/* ==========================================================================
   SP Small Styles (max-width: 540px)
   ========================================================================== */
@media screen and (max-width: 540px) {
  /* SP ratio */
  .flow-step-circle {
    flex: 120;
  }
  .flow-step-content {
    flex: 240;
  }
}/*# sourceMappingURL=flow.css.map */