.features {
  /*background: #ffffff;*/
  position: relative;
  overflow: visible;
}

.feature {
  padding-bottom: 6rem;
  position: relative;
}

@media (max-width: 767px) {
  .feature {
    padding-bottom: 3rem;
  }
}

.feature .content-wrapper {
  position: relative;
}

.feature h3 {
  font-size: 2rem;
  line-height: 1.625;
  font-weight: var(--headings_font_weight);
  margin: 0;
  color: #ffffff;
  position: relative;
}

@media (max-width: 767px) {
  .feature h3 {
    font-size: 1.25rem;
    line-height: 1.8;
  }
}

.feature__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 30px;
  grid-row-gap: 2rem;
  align-items: center;
}

@media (max-width: 767px) {
  .feature__grid {
    grid-template-columns: 1fr;
  }
}

.feature__image {
  grid-row: 1 / 2;
}

@media (max-width: 767px) {
  .feature__image {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }
}

.feature:nth-child(even) .feature__image {
  grid-column: 1 / 2;
}

.feature__image > img{
  width: 100%;
  vertical-align: bottom;
  border-radius: 5px;
}

.feature__text {
  padding: 0 30px;
  grid-row: 1 / 2;
}

@media (max-width: 767px) {
  .feature__text {
    padding: 0;
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
}

@media (min-width: 768px) {
  .feature:nth-child(even) .feature__text {
  grid-column: 2 / 3;
  }
}

.feature__text__header {
  height: 6.5rem;
  position: relative;
}

@media (max-width: 767px) {
  .feature__text__header {
    height: 4.5rem;
  }
}

.feature__text__index {
  position: absolute;
  font-weight: 500;
  font-size: 140px;
  letter-spacing: -4px;
  color: #ffffff;
  opacity: 0.2;
  height: 100%;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .feature__text__index {
    font-size: 100px;
  }
}

.feature__text__title {
  height: 100%;
  display: flex;
  align-items: center;
}

.feature__text__desc {
  position: relative;
  font-size: 18px;
  color: #ffffff;
}

.feature__text__button {
  height: 40px;
  padding: 0 24px;
  display: inline-flex;
  font-size: 14px;
  justify-content; center;
  align-items: center;
  border-radius: 20px;
  background: rgba(255, 251, 223, 0.6);
  transition: 0.15s;
  font-weight: 500;
  margin-top: 2rem;
}


@media (max-width: 767px) {
  .feature__text__button {
    margin-top: 1rem;
  }
}

.feature__text__button:hover {
  background: var(--accent_primary_color);
  color: #fff;
}

.feature__bg-image-wrapper {
  /* 縦方向のみはみ出しに必要" */
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: -20%;
}

.feature__bg-image {
  position: absolute;
  opacity: 0.25;
}

@media (max-width: 767px) {
  .feature__bg-image {
    display: none;
  }
}

.feature:nth-child(odd) .feature__bg-image {
  right: -20%;
}

.feature:nth-child(even) .feature__bg-image {
  left: -20%;
}
