/* Visual storytelling for service and company pages */
.b-pageintro.r-pageintro-visual {
  padding: 0;
  background:
    radial-gradient(circle at 92% 18%, rgba(111, 205, 231, .22), transparent 29%),
    linear-gradient(118deg, #f5fcff 0%, #e8f8ff 62%, #f9fdff 100%);
}

.r-pageintro-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: clamp(42px, 6vw, 86px);
  align-items: center;
  min-height: 500px;
  padding-block: 50px 54px;
}

.r-pageintro-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.r-pageintro-copy h1 {
  max-width: 700px;
}

.r-pageintro-copy p:not(.eyebrow) {
  max-width: 650px;
}

.r-pageintro-media {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: 0;
  padding: 14px 8px 0 0;
}

.r-pageintro-media::before {
  content: "";
  position: absolute;
  inset: 0 -18px 48px 28px;
  border: 1px solid rgba(35, 151, 190, .42);
  border-radius: 0 52px 0 0;
  pointer-events: none;
}

.r-pageintro-media::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -54px;
  bottom: 16px;
  border: 1px solid rgba(77, 183, 215, .28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(97, 197, 225, .06), 0 0 0 56px rgba(97, 197, 225, .035);
  pointer-events: none;
}

.r-pageintro-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 0 42px 0 0;
  box-shadow: 0 24px 56px rgba(0, 89, 127, .14);
}

.r-pageintro-media figcaption {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 13px 0 0 auto;
  padding-left: 38px;
  color: #426477;
  font-size: 13px;
  line-height: 1.75;
}

.r-pageintro-media figcaption::before {
  content: "";
  position: absolute;
  top: .8em;
  left: 0;
  width: 26px;
  height: 1px;
  background: #4aa6c5;
}

body[data-area="breast"] .b-pageintro.r-pageintro-visual {
  background:
    radial-gradient(circle at 92% 18%, rgba(224, 137, 177, .18), transparent 29%),
    linear-gradient(118deg, #fff9fc 0%, #fff0f7 62%, #fff 100%);
}

body[data-area="breast"] .r-pageintro-media::before {
  border-color: rgba(199, 77, 132, .35);
}

body[data-area="breast"] .r-pageintro-media::after {
  border-color: rgba(210, 99, 149, .25);
  box-shadow: 0 0 0 28px rgba(218, 111, 158, .055), 0 0 0 56px rgba(218, 111, 158, .03);
}

body[data-area="breast"] .r-pageintro-media figcaption {
  color: #854664;
}

body[data-area="breast"] .r-pageintro-media figcaption::before {
  background: #c65888;
}

.r-support-story {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #f1fbff 0%, #fff 72%);
}

.r-support-story::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -290px;
  top: -250px;
  border: 1px solid rgba(53, 166, 202, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 64px rgba(89, 190, 219, .035), 0 0 0 128px rgba(89, 190, 219, .02);
}

.r-support-story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(45px, 7vw, 92px);
  align-items: center;
}

.r-support-story-media {
  position: relative;
  margin: 0;
  padding: 0 0 22px 20px;
}

.r-support-story-media::before {
  content: "";
  position: absolute;
  inset: 22px 20px 0 0;
  background: #dff4fb;
}

.r-support-story-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 34px 0 0 0;
  box-shadow: 0 20px 45px rgba(0, 83, 120, .12);
}

.r-support-story-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 76%;
  padding: 11px 16px;
  color: #36596c;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #c7e5ef;
  font-size: 12px;
  line-height: 1.65;
}

.r-support-story-copy > p:not(.eyebrow) {
  max-width: 610px;
  color: var(--muted);
  font-size: 16px;
}

.r-support-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.r-support-facts li {
  min-height: 118px;
  padding: 20px 18px;
  background: #fff;
  border: 1px solid #c9e5ef;
  border-top: 3px solid #4da7c5;
  box-shadow: 0 8px 24px rgba(0, 86, 122, .05);
}

.r-support-facts strong {
  display: block;
  margin-bottom: 7px;
  color: #005b85;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 17px;
  font-weight: 600;
}

.r-support-facts span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.r-support-cards {
  gap: 22px;
}

.r-support-cards article {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 32px 30px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #cae5ef;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0, 84, 120, .055);
}

.r-support-cards article::before,
.r-support-cards article::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(66, 169, 201, .18);
  border-radius: 50%;
  pointer-events: none;
}

.r-support-cards article::before {
  width: 155px;
  height: 155px;
  right: -72px;
  top: -82px;
}

.r-support-cards article::after {
  width: 105px;
  height: 105px;
  right: -46px;
  top: -54px;
}

.r-support-cards small {
  display: inline-block;
  margin-bottom: 28px;
  padding: 5px 11px;
  color: #00678e;
  background: #eaf8fd;
  border: 1px solid #c6e6f0;
  font-size: 11px;
  letter-spacing: .1em;
}

.r-support-cards h3 {
  color: #174c67;
  font-size: 23px;
}

.r-support-cards p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.r-support-process {
  gap: 18px;
}

.r-support-process li {
  min-height: 210px;
  padding: 24px 22px;
  background: linear-gradient(145deg, #fff, #f3fbfe);
  border: 1px solid #cbe4ed;
  border-top: 3px solid #3896b7;
  border-radius: 4px;
}

@media (max-width: 950px) {
  .r-pageintro-grid {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 32px;
    padding-block: 42px;
  }

  .r-pageintro-media {
    width: min(720px, 92%);
    padding-top: 0;
  }

  .r-support-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .r-support-story-media {
    width: min(700px, 92%);
  }
}

@media (max-width: 760px) {
  .r-pageintro-grid {
    padding-block: 36px 40px;
  }

  .r-pageintro-media {
    width: calc(100% - 20px);
    margin-left: 20px;
  }

  .r-pageintro-media::before {
    inset: -9px -9px 42px 16px;
    border-radius: 0 34px 0 0;
  }

  .r-pageintro-media::after {
    display: none;
  }

  .r-pageintro-media img {
    border-radius: 0 28px 0 0;
  }

  .r-pageintro-media figcaption {
    margin-top: 10px;
    padding-left: 31px;
    font-size: 12px;
  }

  .r-pageintro-media figcaption::before {
    width: 20px;
  }

  .r-support-story-media {
    width: 100%;
    padding-left: 12px;
  }

  .r-support-story-media figcaption {
    position: relative;
    max-width: calc(100% - 12px);
    margin: -18px 0 0 auto;
  }

  .r-support-facts {
    grid-template-columns: 1fr;
  }

  .r-support-facts li {
    min-height: 0;
    padding: 17px 18px;
  }

  .r-support-cards article,
  .r-support-process li {
    min-height: 0;
  }
}
