/**
 * CRV BRAND STORY（/crv/story/）
 * styles.css と同じ基準（PC：1rem = 10px @1440px／SP：1rem = 10px @390px）
 */

.p-crv-header__logo-link {
  display: block;
  color: inherit;
}

.p-crv-story {
  position: relative;
  color: #000;
}

.p-crv-story__title {
  font-family: Jost, sans-serif;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.p-crv-story__lead {
  font-weight: 700;
  line-height: 1.5;
}

.p-crv-story__text p + p {
  margin-top: 1lh;
}

.p-crv-story__content::after {
  content: "";
  display: block;
  background-color: #000;
}

.p-crv-story__pic {
  margin: 0;
}

.p-crv-story__pic-img {
  display: block;
  width: 100%;
  height: auto;
}

/* 左上を切り欠いた形（デザインデータに準拠） */
.p-crv-story__pic--02 {
  clip-path: polygon(22.22% 0, 100% 0, 100% 100%, 0 100%, 0 19.01%, 22.22% 19.01%);
}

/* ---------- SP ---------- */
@media (width < 768px) {
  .p-crv-story {
    display: flex;
    flex-direction: column;
    padding: 10.4rem 1.5rem 0;
  }

  .p-crv-story__title {
    font-size: 5.2rem;
  }

  .p-crv-story__content {
    margin-top: 4rem;
  }

  .p-crv-story__lead {
    font-size: 1.8rem;
  }

  .p-crv-story__text {
    margin-top: 2rem;
    font-size: 1.4rem;
    line-height: 2;
  }

  .p-crv-story__text br {
    display: none;
  }

  .p-crv-story__content::after {
    width: 1rem;
    height: 1rem;
    margin-top: 2.4rem;
  }

  .p-crv-story__pic--01 {
    width: 28rem;
    margin-top: 4.8rem;
  }

  .p-crv-story__pic--02 {
    width: 24rem;
    margin-top: 2.4rem;
    margin-left: auto;
  }

  .p-crv-story__pic--03 {
    width: 32rem;
    margin-top: 2.4rem;
  }

  .p-crv-story__btn {
    margin-top: 4rem;
  }
}

/* ---------- PC（デザインデータの座標を再現） ---------- */
@media (width >= 768px), print {
  .p-crv-story {
    height: 192rem;
  }

  .p-crv-story > * {
    position: absolute;
  }

  .p-crv-story__title {
    top: 16.9rem;
    left: 4rem;
    font-size: 15rem;
  }

  .p-crv-story__content {
    top: 40.1rem;
    left: 12rem;
  }

  .p-crv-story__lead {
    font-size: 3.8rem;
  }

  .p-crv-story__text {
    margin-top: 3.7rem;
    font-size: 1.8rem;
    line-height: calc(42 / 18);
  }

  .p-crv-story__content::after {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 2.6rem;
  }

  .p-crv-story__pic--01 {
    top: 45.7rem;
    left: 82.5rem;
    width: 45.1rem;
  }

  .p-crv-story__pic--02 {
    top: 118.7rem;
    left: 95.1rem;
    width: 44.9rem;
  }

  .p-crv-story__pic--03 {
    top: 142.3rem;
    left: 4rem;
    width: 72.5rem;
  }

  .p-crv-story__btn {
    top: 195.9rem;
    right: 4rem;
    margin-top: 0;
  }

  .l-crv-wrapper--story .l-crv-wrapper__footer {
    /* margin-top: 7.5rem;*/
  }
}
