.p-home-feature {
  @media (width >= 768px) {
    margin-top: 16.5rem;
  }

  @media (width < 768px) {
    margin-top: var(--space-4xl);
  }
}

.p-home-feature .p-home-feature__main {
  display: flex;
  justify-content: space-between;
  transition-duration: var(--duration-300);

  @media (width >= 768px) {
    margin-top: var(--space-5xl);
  }

  @media (width < 768px) {
    margin-top: var(--space-2xl);
  }
}

.p-home-feature .p-home-feature__image {
  position: relative;
  display: block;

  @media (width >= 768px) {
    width: calc(700 / 1255 * 100%);
  }

  @media (width >= 992px) {
    width: calc(520 / 1255 * 100%);
  }

  @media (width < 768px) {
    display: none;
  }
}

.p-home-feature .p-home-feature__image .p-home-feature__image-inner {
  height: 64.28571428571429%;
  position: relative;
}

.p-home-feature .p-home-feature__image img {
  width: calc(300 /  520 * 100%);
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-home-feature .p-home-feature__image img:nth-of-type(2) {
  position: absolute;
  top: 55%;
  right: 0;
}

.p-home-feature .p-home-feature__link-text {
  position: relative;

  @media (width < 768px) {
    width: calc(225 / 345 * 100%);
  }
}

.p-home-feature .p-home-feature__link-text:before {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-image: url("../../images/common/icon-arrow.svg");
  content: '';
  position: absolute;
  display: block;
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  width: .5rem;
  height: .9rem;

  @media (width >= 768px) {
    right: 1.5rem;
  }

  @media (width >= 1200px) {
    right: 2rem;
  }

  @media (width >= 1300px) {
    right: 3rem;
  }

  @media (width < 768px) {
    right: 1.5rem;
  }
}

.p-home-feature .p-home-feature__text {
  @media (width >= 768px) {
    display: block;
    width: calc(455 / 1255 * 100%);
    margin-top: -1rem;
    margin-bottom: var(--space-xs);
  }

  @media (width >= 992px) {
    width: calc(635 / 1255 * 100%);
  }
}

.p-home-feature .p-home-feature__point:not(:first-of-type) {
  margin-top: 9rem;

  @media (width < 768px) {
    margin-top: 4.9rem;
  }
}

.p-home-feature .p-home-feature__point .p-home-feature__point-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg-2xl);
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body {
  border-top: 1px solid var(--color-border-strong);
  display: flex;
  justify-content: space-between;

  @media (width >= 768px) {
    margin-top: .9rem;
    padding-top: var(--space-sm);
  }

  @media (width < 768px) {
    flex-direction: column;
    margin-top: var(--space-2xs);
    padding-top: 2.9rem;
  }
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-text {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-sm-md);

  @media (width >= 768px) {
    width: calc(420 / 635 * 100%);
    line-height: var(--line-height-relaxed);
  }

  @media (width >= 992px) {
    width: calc(505 / 635 * 100%);
  }

  @media (width < 768px) {
    line-height: var(--line-height-relaxed);
    order: 2;
    margin-top: var(--space-md);
  }
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-note {
  font-weight: var(--font-weight-regular);
  display: block;
  font-size: var(--font-size-2xs);
  line-height: var(--line-height-relaxed);
  margin-top: 1.2rem;
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-icon {
  @media (width < 768px) {
    order: 1;
    margin-right: auto;
    margin-left: auto;
  }
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-icon--bio,
.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-icon--recycle {
  @media (width >= 768px) {
    width: calc(150 / 635 * 100%);
  }

  @media (width >= 992px) {
    width: calc(101 / 635 * 100%);
  }

  @media (width < 768px) {
    width: calc(101 / 345 * 100%);
  }
}

.p-home-feature .p-home-feature__point .p-home-feature__point-body .p-home-feature__point-icon--co2 {
  @media (width >= 768px) {
    width: calc(150 / 635 * 100%);
  }

  @media (width >= 992px) {
    width: calc(97 / 635 * 100%);
  }

  @media (width < 768px) {
    width: calc(97 / 345 * 100%);
  }
}

.p-home-feature__links {
  @media (width >= 768px) {
    padding-top: var(--space-5xl);
    padding-bottom: var(--space-5xl);
  }

  @media (width < 768px) {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-xl);
  }
}

.p-home-feature__link-list {
  margin-top: var(--space-5xl);

  @media (width >= 768px) {
    display: flex;
    margin: var(--space-5xl) -1.5rem 0;
  }

  @media (width < 768px) {
    display: block;
    margin-top: var(--space-3xl);
  }
}

.p-home-feature__link {
  display: block;
  border: 1px solid var(--color-border-strong);
  box-sizing: border-box;

  @media (width >= 768px) {
    margin: 0 var(--space-xs);
    width: var(--container-xs);
  }

  @media (width < 768px) {
    display: flex;
  }
}

.p-home-feature__link:not(:first-of-type) {
  @media (width < 768px) {
    margin-top: var(--space-xs);
  }
}

.p-home-feature__link:focus .p-home-feature__link-text {
  color: var(--color-text-inverse);
  background-color: var(--color-bg-inverse);
}

.p-home-feature__link:focus .p-home-feature__link-image {
  filter: brightness(0.8);
}

.p-home-feature__link:hover .p-home-feature__link-text {
  @media (hover: hover) and (pointer: fine) {
    color: var(--color-text-inverse);
    background-color: var(--color-bg-inverse);
  }
}

.p-home-feature__link:hover .p-home-feature__link-image {
  @media (hover: hover) and (pointer: fine) {
    filter: brightness(0.8);
  }
}

.p-home-feature__link-text {
  transition-duration: var(--duration-300);
  transition-property: color background;

  @media (width >= 768px) {
    padding: var(--space-xs) var(--space-xs);
  }

  @media (width >= 992px) {
    padding: var(--space-sm) var(--space-xs);
  }

  @media (width >= 1200px) {
    padding: var(--space-md) var(--space-sm);
  }

  @media (width >= 1300px) {
    padding: var(--space-md) var(--space-lg);
  }

  @media (width < 768px) {
    margin-left: var(--space-xs);
    display: block;
    margin-top: auto;
    margin-bottom: auto;
  }
}

.p-home-feature__link-text .p-home-feature__link-title {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-none);
  font-family: var(--font-en);
  font-feature-settings: 'palt' 1;

  @media (width >= 768px) {
    font-size: var(--font-size-xl);
  }

  @media (width >= 992px) {
    font-size: 2.2rem;
  }

  @media (width >= 1200px) {
    font-size: var(--font-size-3xl);
  }

  @media (width < 768px) {
    font-size: var(--font-size-3xl);
  }
}

.p-home-feature__link-text .p-home-feature__link-sub {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-none);
  font-size: var(--font-size-xs);
  margin-top: var(--space-3xs);
}

.p-home-feature__link-image {
  transition-duration: var(--duration-300);
  transition-property: filter;

  @media (width < 768px) {
    width: calc(120 / 345 * 100%);
  }
}

.p-home-feature__link-image img {
  backface-visibility: hidden;
}
