@charset "UTF-8";

/* ===== PROCESS　製品化のながれページ ===== */
@media screen and (min-width: 961px) {
  .process-flow {
    padding-top: 0;
  }
}

.process-inner__wrapper {
  margin-bottom: 4rem;
}

.process-cards {
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-24);
  text-align: left;
}
.process-cards__wrapper {
  display: flex;
  flex-direction: row;
  gap: var(--sp-24);
  flex-wrap: wrap;
  justify-content: space-between;
}
.process-cards__content {
  flex: 1 1 300px;
}
.process-card__body {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-main) 6%, #fff) 0%,
    color-mix(in srgb, var(--color-main) 6%, #fff) 100%
  );
  padding: clamp(0.75rem, 2vw, 1.25rem);
}
.process-card {
  position: relative;
}
.process-card::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid color-mix(in srgb, var(--color-main) 40%, #fff);
}
.process-inner__wrapper .process-card:last-child::after {
  display: none;
}
.process-card__image {
  flex-shrink: 0;
  width: 150px;
  height: auto;
}
.process-card__image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.4rem;
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-main) 85%, #fff) 0%,
    var(--color-main) 35%,
    color-mix(in srgb, var(--color-main) 75%, #000) 100%
  );
  filter: saturate(0.9);
  opacity: 0.9;
}

.process-card__button {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-main) 50%, #000);
  font-weight: 700;
  line-height: 1;
  position: relative;
  transition: transform 0.25s ease, background-color 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
  align-items: center;
  white-space: nowrap;
}

.process-card__button::after {
  content: "";
  inline-size: 0.55rem;
  block-size: 0.55rem;
  border-inline-end: 2px solid currentColor;
  border-block-start: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.process-card__button:hover {
  background-color: color-mix(in srgb, var(--color-main) 50%, #000);
  color: var(--color-bg);
}
.process-card__image {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}
.process-content__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
/* ===== レスポンシブ対応 ===== */
@media (max-width: 960px) {
  .process-card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 2rem;
    align-items: flex-start;
    justify-content: center;
  }
  .process-card__image {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: flex-start;
  }
}
@media screen and (max-width: 600px) {
  .process-card__image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }
}
