/*
======================================
feature
======================================
*/
.section-feature {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 32px;
}

.section-feature:last-child {
  margin-bottom: 0;
}

.section-feature__item--flex {
  max-width: 560px;
}

.section-feature__title {
  border-left: solid 16px var(--main-color);
  font-size: 32px;
  margin-bottom: 32px;
  padding: 4px 16px;
}

.section-feature__title--red {
  border-left: solid 16px var(--carsales-color);
}

.section-feature__title--blue {
  border-left: solid 16px var(--syaken-color);
}

.section-feature__title:only-child {
  margin-bottom: 0;
}

.section-feature__text {
  font-size: 18px;
  padding-left: 32px;
}

.section-feature__text--red {
  color: var(--carsales-color);
}

.section-feature__images {
  width: 480px;
  height:280px;
  flex-shrink: 0;
}

@media screen and (min-width:600px) {
  .section-feature:nth-child(even) > .section-feature__item {
    order: 1;
  }
}

@media screen and (max-width:1023px) and (min-width:600px) {
  .section-feature__images {
    width: calc((100vw / 1024) * 480);
    height: calc((100vw / 1024) * 280);
  }
  .section-feature__item--flex {
    width: calc((100vw / 1024) * 500);
  }
}

@media screen and (max-width:599px) {
  .section-feature {
    gap: 24px;
    flex-direction: column;
    align-items: start;
  }
  .section-feature__images {
    height: calc((100vw / 375) * 184);
    width: 100%;
  }
  .section-feature__item {
    order: 1;
  }
  .section-feature__text {
    font-size: 16px;
  }
  .section-feature__title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}
