/* ============================================
   Gynecology 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
   -------------------------------------------- */
.gyn-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
}

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

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

.gyn-link {
  color: #589dd8;
  text-decoration: underline;
  text-underline-offset: 5%;
}

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

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

.gyn-feature-box--plain {
  gap: 0;
}

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

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

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

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

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

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

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

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

/* --------------------------------------------
   GYN Card Box (h4 inside bordered box)
   -------------------------------------------- */
.gyn-card-box {
  background: var(--color-white);
  border: 1px solid #cce8fe;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

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

.gyn-card-box__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------
   GYN News Button (right-aligned link)
   -------------------------------------------- */
.gyn-btn-news {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-pink);
  text-decoration: none;
  transition: opacity 0.3s;
}

.gyn-btn-news:hover {
  opacity: 0.7;
}

.gyn-btn-news__arrow {
  width: 7px;
  height: 12px;
  background: url('../images/gynecology/arrow-pink.svg') no-repeat center;
  background-size: contain;
}

/* --------------------------------------------
   GYN About Section (Contents 1)
   -------------------------------------------- */
.gyn-about {
  padding: 40px 40px 0;
}

.gyn-about__inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1040px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

/* --------------------------------------------
   GYN PMS Section (Contents 2)
   -------------------------------------------- */
.gyn-pms {
  padding: 80px 40px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--color-pink-bg) 40%, var(--color-pink-bg) 60%, #fff 100%);
}

.gyn-pms__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Gap between PMS subsection and Cancer screening 01 */
.gyn-pms__inner > .gyn-section {
  margin-top: 60px;
}

.gyn-pms__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gyn-pms__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gyn-pms__photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0 auto;
  order: -1;
}

.gyn-pms__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .gyn-pms__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .gyn-pms__photo {
    width: 400px;
    flex-shrink: 0;
    margin: 0;
    order: 0;
  }

  .gyn-pms__text {
    flex: 1;
    min-width: 0;
  }
}

/* --------------------------------------------
   GYN Cancer Section (Contents 3)
   -------------------------------------------- */
.gyn-cancer {
  padding: 80px 40px 0;
}

.gyn-cancer__inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1040px;
  margin: 0 auto;
}

/* Health screening sub-area */
.gyn-health {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.gyn-health__hero {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gyn-health__text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.gyn-health__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

  .gyn-health__hero {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }

  .gyn-health__text {
    flex: 1;
    min-width: 0;
  }

  .gyn-health__photo {
    width: 400px;
    flex-shrink: 0;
    margin: 0;
  }
}

/* --------------------------------------------
   GYN Consultation Section (Contents 4)
   -------------------------------------------- */
.gyn-consult {
  padding: 80px 40px 0;
  background: linear-gradient(to bottom, #fff 0%, var(--color-pink-bg) 45%, #fff 100%);
}

.gyn-consult__inner {
  display: flex;
  flex-direction: column;
  gap: 100px;
  max-width: 1040px;
  margin: 0 auto;
}

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

/* --------------------------------------------
   GYN Treatment Section (Contents 5)
   -------------------------------------------- */
.gyn-treatment {
  padding: 80px 40px 80px;
}

.gyn-treatment__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

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