@charset "utf-8";

/* .unit_features
--------------------------------------------------------- */
.unit_features {
  padding: 0 0 min(calc(130 / 1920 * 100vw), 130px);

  @media screen and (width <= 1199px) {
    padding-bottom: min(calc(75 / 768 * 100vw), 75px);
  }

  @media screen and (width <= 767px) {
    padding-bottom: min(calc(60 / 390 * 100vw), 60px);
  }
}

.features_inner {
  max-width: 1200px;
  margin-inline: auto;

  @media screen and (width <= 767px) {
    max-width: 87.18%;
  }

  display: grid;
  gap: min(calc(20 / 1920 * 100vw), 20px);

  @media screen and (width <= 1199px) {
    gap: min(calc(20 / 768 * 100vw), 20px);
  }

  @media screen and (width <= 767px) {
    gap: min(calc(60 / 390 * 100vw), 60px);
  }
}

.feature_card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;

  @media screen and (width <= 767px) {
    grid-template-columns: repeat(1, 1fr);
    gap: min(calc(40 / 390 * 100vw), 40px);
  }
}

.feature_card__img {
  clip-path: polygon(0 0, calc(100% - 9.167%) 0%, 100% 100%, 0% 100%);

  @media screen and (width <= 1199px) {
    clip-path: polygon(0 0, calc(100% - 13.35%) 0%, 100% 100%, 0% 100%);
  }

  @media screen and (width <= 767px) {
    clip-path: none;
  }
}

.feature_card:nth-child(odd) .feature_card__img {
  order: 2;
  clip-path: polygon(9.167% 0, 100% 0%, 100% 100%, 0% 100%);

  @media screen and (width <= 1199px) {
    clip-path: polygon(13.35% 0, 100% 0%, 100% 100%, 0% 100%);
  }

  @media screen and (width <= 767px) {
    order: 0;
    clip-path: none;
  }
}

.feature_card__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: min(calc(30 / 1920 * 100vw), 30px) min(calc(80 / 1920 * 100vw), 80px) 0;

  @media screen and (width <= 1199px) {
    padding: min(calc(25 / 768 * 100vw), 25px) min(calc(54 / 768 * 100vw), 54px) 0;
  }

  @media screen and (width <= 767px) {
    padding: 0;
  }
}

.feature_card__title {
  color: var(--primary-color);
  font-size: min(calc(28 / 1920 * 100vw), 28px);
  font-size: 28px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.08em;
  margin-bottom: 1em;

  @media screen and (width <= 1199px) {
    font-size: 24px;
  }

  @media screen and (width <= 767px) {
    font-size: min(calc(24 / 390 * 100vw), 24px);
    text-align: center;
    margin-bottom: 1.2em;
  }
}

.feature_card__title .title_s_text {
  display: inline-block;
  font-size: 22px;

  @media screen and (width <= 1199px) {
    font-size: 20px;
  }

  @media screen and (width <= 767px) {
    font-size: min(calc(18 / 390 * 100vw), 18px);
  }
}

.feature_card__text {
  color: #555;
  font-size: min(calc(16 / 1920 * 100vw), 16px);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.08em;

  @media screen and (width <= 1199px) {
    font-size: 17px;
  }

  @media screen and (width <= 767px) {
    font-size: min(calc(16 / 390 * 100vw), 16px);
  }
}
