/* ============================================
   Painless Delivery Page
   ============================================ */

/* --------------------------------------------
   Section heading (shared pattern)
   -------------------------------------------- */
.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading__en {
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-navy);
  font-style: normal;
}

.section-heading__en em {
  color: var(--color-pink);
  font-style: normal;
}

.section-heading__ja {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

/* --------------------------------------------
   Shared utilities
   -------------------------------------------- */
.pd-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.pd-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.pd-highlight {
  font-weight: 700;
  color: var(--color-pink);
}

.pd-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-pink);
}

/* --------------------------------------------
   PD Divider (dotted pink line)
   -------------------------------------------- */
.pd-divider {
  border: none;
  height: 2px;
  background: url('../images/facility/divider.svg') no-repeat center;
  background-size: 100% 2px;
  margin: 0;
}

/* --------------------------------------------
   PD Feature Box (bullet list)
   -------------------------------------------- */
.pd-feature-box {
  background: var(--color-white);
  border: 1px solid #cce8fe;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pd-feature-box__item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.pd-feature-box__dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--color-pink);
  border-radius: 50%;
  margin-top: 8px;
}

.pd-feature-box__dot--blue {
  border-color: #589dd8;
}

.pd-feature-box__line {
  border: none;
  height: 1px;
  background: linear-gradient(to right, #fedbde, #cce8fe);
  margin: 0;
}

/* --------------------------------------------
   PD Section (h2 content block)
   -------------------------------------------- */
.pd-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pd-section__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --------------------------------------------
   PD Subsection (h3 block)
   -------------------------------------------- */
.pd-subsection {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-subsection__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

.pd-subsection__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

.pd-subsection__diamond--blue {
  background: #589dd8;
}

.pd-subsection__pink {
  color: var(--color-pink);
}

.pd-subsection__blue {
  color: #589dd8;
}

/* --------------------------------------------
   PD Info Box (h4 + text inside white box)
   -------------------------------------------- */
.pd-info-box {
  background: var(--color-white);
  border: 1px solid #cce8fe;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-info-box__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-pink);
}

.pd-info-box__diamond {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: var(--color-pink);
  transform: rotate(45deg);
}

.pd-info-box__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

.pd-info-box__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Info box with photo + list side by side */
.pd-info-box__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-info-box__photo {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto;
}

.pd-info-box__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .pd-info-box__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
  }

  .pd-info-box__photo {
    width: 250px;
    flex-shrink: 0;
    margin: 0;
  }

  .pd-info-box__list--flex {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------
   PD About Section (hero text-left + photo-right)
   -------------------------------------------- */
.pd-about {
  padding: 40px 40px 0;
}

.pd-about__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.pd-about__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-about__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pd-about__photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto;
}

.pd-about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .pd-about {
    padding: 60px 120px 0;
  }

  .pd-about__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .pd-about__text {
    flex: 1;
    min-width: 0;
  }

  .pd-about__photo {
    width: 400px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* --------------------------------------------
   PD What Section (gradient, photo-left hero)
   -------------------------------------------- */
.pd-what {
  padding: 80px 40px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--color-pink-bg) 20%, var(--color-pink-bg) 80%, #fff 100%);
}

.pd-what__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.pd-what__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-what__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pd-what__photo {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 0 auto;
}

.pd-what__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .pd-what {
    padding: 100px 120px 0;
  }

  .pd-what__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .pd-what__photo {
    width: 460px;
    flex-shrink: 0;
    margin: 0;
  }

  .pd-what__text {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------
   PD Benefits Section
   -------------------------------------------- */
.pd-benefits {
  padding: 80px 40px 0;
}

.pd-benefits__inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pd-benefits {
    padding: 100px 120px 0;
  }
}

/* --------------------------------------------
   PD Feature Section (gradient)
   -------------------------------------------- */
.pd-feature {
  padding: 80px 40px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--color-pink-bg) 10%, var(--color-pink-bg) 90%, #fff 100%);
}

.pd-feature__inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pd-feature {
    padding: 100px 120px 0;
  }
}

/* --------------------------------------------
   PD Anesthesia Section (hero text-left + photo-right)
   -------------------------------------------- */
.pd-anesthesia {
  padding: 80px 40px 0;
}

.pd-anesthesia__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.pd-anesthesia__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-anesthesia__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.pd-anesthesia__photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto;
}

.pd-anesthesia__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .pd-anesthesia {
    padding: 100px 120px 0;
  }

  .pd-anesthesia__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .pd-anesthesia__text {
    flex: 1;
    min-width: 0;
  }

  .pd-anesthesia__photo {
    width: 400px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* Subsection with photo-left hero (痛みはゼロ) */
.pd-subsection__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pd-subsection__photo {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto;
}

.pd-subsection__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .pd-subsection__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .pd-subsection__photo {
    width: 300px;
    flex-shrink: 0;
    margin: 0;
  }

  .pd-subsection__hero .pd-subsection {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------
   PD Info Box blue variant
   -------------------------------------------- */
.pd-info-box__title--blue {
  color: #589dd8;
}

.pd-info-box__diamond--blue {
  background: #589dd8;
}

/* --------------------------------------------
   PD Step detail note box
   -------------------------------------------- */
.pd-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pd-step__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-pink);
}

.pd-step__title--blue {
  color: #589dd8;
}

.pd-step__detail {
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-navy);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-step__detail--pink {
  background: var(--color-pink-bg);
}

.pd-step__detail--blue {
  background: #ebf5ff;
}

.pd-step__detail-item {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.pd-step__detail-dot {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border: 2px solid var(--color-pink);
  border-radius: 50%;
  margin-top: 5px;
}

/* --------------------------------------------
   PD Flow Section (gradient)
   -------------------------------------------- */
.pd-flow {
  padding: 80px 40px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--color-pink-bg) 10%, var(--color-pink-bg) 90%, #fff 100%);
}

.pd-flow__inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pd-flow {
    padding: 100px 120px 0;
  }
}

/* --------------------------------------------
   PD Arrow Link (pink text + circle arrow)
   -------------------------------------------- */
.pd-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-pink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.pd-arrow-link__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 2px solid var(--color-pink);
  border-radius: 50%;
  position: relative;
}

.pd-arrow-link__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--color-pink);
  border-bottom: 2px solid var(--color-pink);
  transform: translate(-60%, -50%) rotate(-45deg);
}

/* Blue text link (underlined) */
.pd-doc-link {
  display: block;
  color: #589dd8;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: underline;
}

.pd-links-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* --------------------------------------------
   PD Price Section
   -------------------------------------------- */
.pd-price {
  padding: 80px 40px 0;
}

.pd-price__inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pd-price {
    padding: 100px 120px 0;
  }
}

/* --------------------------------------------
   PD Safety Section (gradient at bottom)
   -------------------------------------------- */
.pd-safety {
  padding: 80px 40px 80px;
  background: linear-gradient(to bottom, #fff 0%, #fff 60%, var(--color-pink-bg) 100%);
}

.pd-safety__inner {
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 769px) {
  .pd-safety {
    padding: 100px 120px 100px;
  }
}
