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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.us-info-box__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.us-diagnosis__inner {
  max-width: 1040px;
  margin: 0 auto;
}

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

/* --------------------------------------------
   US Angel Memory Section (gradient bottom)
   -------------------------------------------- */
.us-angel {
  padding: 80px 40px 0;
}

.us-angel__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.us-angel__poster {
  width: 100%;
  max-width: 500px;
}

.us-angel__poster img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* --------------------------------------------
   US Gallery Section
   -------------------------------------------- */
.us-gallery {
  padding: 80px 40px 0;
}

.us-gallery__inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Gallery photos container with progressive reveal */
.us-gallery__photos {
  position: relative;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.us-gallery__photos img {
  width: 100%;
  height: auto;
  display: block;
}

/* White gradient fade at bottom */
.us-gallery__photos::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.us-gallery__photos.is-fully-open {
  max-height: none;
}

.us-gallery__photos.is-fully-open::after {
  opacity: 0;
}

/* "もっと見る" button */
.us-gallery__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-pink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 56px;
  border-radius: 110px;
  border: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.us-gallery__more-btn:hover {
  opacity: 0.85;
}

.us-gallery__more-btn.is-hidden {
  display: none;
}

.us-gallery__more-icon {
  width: 20px;
  height: 20px;
  position: relative;
}

.us-gallery__more-icon::before,
.us-gallery__more-icon::after {
  content: "";
  position: absolute;
  background: #fff;
  border-radius: 1px;
}

.us-gallery__more-icon::before {
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  transform: translateY(-50%);
}

.us-gallery__more-icon::after {
  left: 50%;
  top: 4px;
  bottom: 4px;
  width: 2px;
  transform: translateX(-50%);
}

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

}

/* --------------------------------------------
   US Message Section (gradient bottom, last)
   -------------------------------------------- */
.us-message {
  padding: 80px 40px 80px;
  background: linear-gradient(to bottom, #fff 0%, #fff 60%, var(--color-pink-bg) 100%);
}

.us-message__inner {
  max-width: 1040px;
  margin: 0 auto;
}

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