.p-outpatient-page {
  --outpatient-green: #4a9b7f;
  --outpatient-green-pale: #f1f7f5;
  --outpatient-gold: #baa267;
  --outpatient-accent: #a97723;
  --outpatient-text: #262626;
  width: 100%;
  max-width: none;
  margin: 0 0 73px;
  padding-top: 190px;
  overflow: hidden;
  color: var(--outpatient-text);
  background: #fff;
  font-family: "Noto Sans JP", sans-serif;
}

.p-outpatient-page *,
.p-outpatient-page *::before,
.p-outpatient-page *::after {
  box-sizing: border-box;
}

.p-outpatient-page h1,
.p-outpatient-page h2,
.p-outpatient-page h3,
.p-outpatient-page p,
.p-outpatient-page ul,
.p-outpatient-page figure {
  margin-top: 0;
}

.p-outpatient-page img {
  max-width: 100%;
  height: auto;
}

.p-outpatient-fv,
.p-outpatient-fv picture,
.p-outpatient-fv img {
  display: block;
  width: 100%;
}

.p-outpatient-fv {
  height: 453px;
}

.p-outpatient-fv img {
  height: 453px;
  object-fit: cover;
}

.p-outpatient-breadcrumb {
  height: 115px;
}

.p-outpatient-page .c-breadcrumb {
  width: min(calc(100% - 160px), 1280px);
  padding-top: 50px;
  color: var(--outpatient-accent);
  font-size: 20px;
  line-height: 29px;
}

.p-outpatient-introduction {
  height: 535px;
}

.p-outpatient-introduction__inner {
  width: 760px;
  margin: 0 auto;
  padding-top: 40px;
  font-size: 20px;
  line-height: 32px;
}

.p-outpatient-introduction__inner p {
  margin-bottom: 28px;
}

.p-outpatient-introduction__inner p:last-child {
  margin-bottom: 0;
}

.p-outpatient-symptoms {
  position: relative;
  height: 691px;
  padding-top: 29px;
  background: #f9f8f5 url("../../images/figma-outpatient/symptoms-background.webp") center/cover no-repeat;
}

.p-outpatient-section-heading {
  display: grid;
  height: 103px;
  margin-bottom: 35px;
  text-align: center;
  place-items: center;
}

.p-outpatient-section-heading > * {
  grid-area: 1 / 1;
}

.p-outpatient-section-heading__en {
  margin-bottom: 0;
  color: rgba(186, 162, 103, .2);
  font-family: "EB Garamond", serif;
  font-size: 71px;
  font-weight: 500;
  line-height: 103px;
  letter-spacing: .1em;
}

.p-outpatient-section-heading__ja {
  margin-bottom: 0;
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 35px;
  letter-spacing: .1em;
}

.p-outpatient-symptoms__card {
  position: relative;
  width: 810px;
  height: 447px;
  margin: 0 auto;
  border: 1px solid var(--outpatient-gold);
  background: #fff;
}

.p-outpatient-symptoms__content {
  position: relative;
  z-index: 2;
  width: 532px;
  padding: 27px 0 0 44px;
  font-size: 20px;
  line-height: 32px;
}

.p-outpatient-symptoms__list {
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}

.p-outpatient-symptoms__note {
  margin: 28px 0 0;
}

.p-outpatient-symptoms__illustration {
  position: absolute;
  right: -28px;
  bottom: -35px;
  z-index: 1;
  width: 301px;
  height: 226px;
  object-fit: contain;
}

.p-outpatient-first-visit {
  display: grid;
  height: 250px;
  grid-template-columns: 294px;
  justify-content: center;
  place-items: center;
}

.p-outpatient-article {
  padding-bottom: 78px;
  background: var(--outpatient-green-pale);
}

.p-outpatient-related {
  width: 890px;
  margin: 72px auto 0;
}

.p-outpatient-related__heading {
  position: relative;
  width: max-content;
  margin: 0 0 56px 92px;
  color: var(--outpatient-text);
  font-family: "Zen Old Mincho", serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 46px;
  letter-spacing: .1em;
}

.p-outpatient-related__heading::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 20px);
  width: 534px;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--outpatient-green) 0 1px, transparent 1px 5px);
  transform: translateY(-50%);
}

.p-outpatient-related__heading::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  width: 84px;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--outpatient-green) 0 1px, transparent 1px 5px);
  transform: translateY(-50%);
}

.p-outpatient-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 431px);
  gap: 40px 28px;
}

.p-outpatient-related-card {
  display: block;
  height: 388px;
  border-bottom: 1px solid rgba(74, 155, 127, .18);
}

.p-outpatient-related-card:nth-child(n + 3) {
  height: 385px;
}

.p-outpatient-related-card__image {
  width: 100%;
  height: 222px;
  background: #d9d9d9;
}

.p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__image {
  height: 216px;
}

.p-outpatient-page .p-outpatient-related-card__title {
  margin: 32px 11px 0 0;
  color: var(--outpatient-gold);
  font-family: "Zen Old Mincho", serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 32px;
}

.p-outpatient-page .p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__title {
  margin-top: 28px;
}

.p-outpatient-related-card__date {
  display: block;
  margin-top: 14px;
  color: var(--outpatient-text);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 26px;
}

.p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__date {
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .p-outpatient-first-visit .c-button {
    width: 294px;
    height: 71px;
    font-size: 20px;
  }
}

@media screen and (max-width: 767px) {
  .p-outpatient-page {
    margin-bottom: 0;
    padding-top: 56px;
  }

  .p-outpatient-page .sp-none {
    display: none;
  }

  .p-outpatient-page .pc-none {
    display: initial;
  }

  .p-outpatient-fv,
  .p-outpatient-fv img {
    height: 178px;
  }

  .p-outpatient-fv img {
    object-fit: cover;
  }

  .p-outpatient-breadcrumb {
    height: 53px;
  }

  .p-outpatient-page .c-breadcrumb {
    width: 335px;
    padding-top: 17px;
    font-size: 12px;
    line-height: 14px;
  }

  .p-outpatient-introduction {
    height: auto;
    margin-bottom: 50px;
  }

  .p-outpatient-introduction__inner {
    width: 335px;
    padding-top: 17px;
    font-size: 16px;
    line-height: 32px;
  }

  .p-outpatient-introduction__inner p {
    margin-bottom: 20px;
  }

  .p-outpatient-symptoms {
    height: auto;
    padding: 29px 0 60px;
    background-position: center;
  }

  .p-outpatient-section-heading {
    height: 72px;
    margin-bottom: 40px;
  }

  .p-outpatient-section-heading__en {
    font-size: 50px;
    line-height: 72px;
    letter-spacing: .08em;
    white-space: nowrap;
  }

  .p-outpatient-section-heading__ja {
    font-size: 28px;
    line-height: 32px;
  }

  .p-outpatient-symptoms__card {
    width: 335px;
    height: auto;
  }

  .p-outpatient-symptoms__content {
    width: 335px;
    padding: 22px 17px 0;
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 130px;
  }

  .p-outpatient-symptoms__list {
    margin-bottom: 26px;
  }

  .p-outpatient-symptoms__note {
    position: relative;
    z-index: 2;
    margin-top: 0;
  }

  .p-outpatient-symptoms__illustration {
    right: 50%;
    transform: translateX(50%);
    bottom: -31px;
    width: 245px;
    height: 184px;
  }

  .p-outpatient-first-visit {
    height: 135px;
    grid-template-columns: 244px;
  }

  .p-outpatient-first-visit .c-button {
    width: 244px;
  }

  .p-outpatient-article {
    padding-bottom: 60px;
  }

  .p-outpatient-related {
    width: 335px;
    margin-top: 64px;
  }

  .p-outpatient-related__heading {
    margin: 0 auto 39px;
    font-size: 24px;
    line-height: 44px;
  }

  .p-outpatient-related__heading::after {
    display: none;
  }

  .p-outpatient-related__heading::before {
    display: none;
  }

  .p-outpatient-related__grid {
    display: grid;
    grid-template-columns: 335px;
    gap: 24px;
  }

  .p-outpatient-related-card,
  .p-outpatient-related-card:nth-child(n + 3) {
    height: 302px;
  }

  .p-outpatient-related-card:nth-child(2) {
    height: 314px;
  }

  .p-outpatient-related-card:nth-child(3) {
    height: 312px;
  }

  .p-outpatient-related-card:nth-child(4) {
    height: 314px;
  }

  .p-outpatient-related-card__image,
  .p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__image {
    height: 172px;
  }

  .p-outpatient-page .p-outpatient-related-card__title,
  .p-outpatient-page .p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__title {
    margin: 23px 0 0;
    font-size: 16px;
    line-height: 32px;
  }

  .p-outpatient-related-card__date {
    margin-top: 3px;
    font-size: 12px;
    line-height: 26px;
  }

  .p-outpatient-related-card:nth-child(n + 3) .p-outpatient-related-card__date {
    margin-top: 3px;
  }
}
