/* ============================================
   Delivery Stats Pages (shared)
   ============================================ */

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

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

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

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

/* --------------------------------------------
   DS Link Button (blue pill-shaped)
   -------------------------------------------- */
.ds-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #589dd8;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 56px;
  border-radius: 110px;
  text-decoration: none;
}

.ds-link-btn--pink {
  background: var(--color-pink);
}

.ds-link-btn__arrow {
  width: 5px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  flex-shrink: 0;
}

/* --------------------------------------------
   DS Year Card (h3 + table image + notes)
   -------------------------------------------- */
.ds-subsection__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-navy);
}

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

.ds-subsection__year {
  color: var(--color-pink);
  font-weight: 700;
}

.ds-year-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ds-year-card__image {
  width: 100%;
}

.ds-year-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.ds-year-card__notes {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-navy);
}

/* --------------------------------------------
   DS Year Grid (2-column on PC)
   -------------------------------------------- */
.ds-year-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 769px) {
  .ds-year-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
  }

  .ds-year-card {
    width: 500px;
  }
}

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

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

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

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

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

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

/* Double photo variant (two overlapping images) */
.ds-about__photos {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 450 / 300;
  margin: 0 auto;
}

.ds-about__photos img {
  position: absolute;
  width: 80%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.ds-about__photos img:first-child {
  left: 0;
  top: 0;
  z-index: 1;
}

.ds-about__photos img:last-child {
  right: 0;
  top: 0;
  z-index: 2;
}

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

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

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

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

  .ds-about__photos {
    width: 450px;
    flex-shrink: 0;
    margin: 0;
  }
}

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

.ds-stats__inner {
  max-width: 1040px;
  margin: 0 auto;
}

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