/* ===== Section Heading Component ===== */
.section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 50px);
  text-align: center;
  margin-bottom: 48px;
}

.section-heading__deco {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.section-heading__deco img {
  height: clamp(106px, 18vw, 267px);
  width: auto;
  object-fit: contain;
}

.section-heading__deco--left {
  justify-content: flex-end;
}

.section-heading__deco--right {
  justify-content: flex-start;
}

.section-heading__text {
  flex-shrink: 0;
}

.section-heading__en {
  font-size: clamp(32px, 6vw, 90px);
  font-weight: 400;
  line-height: 1.2;
  color: #1a1a1a;
  font-family: var(--font-en);
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: left;
}

.section-heading__ja {
  font-size: clamp(12px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-primary, #e60012);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.section-heading__dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary, #e60012);
  flex-shrink: 0;
}

/* Simple variant for gray sections */
.section-heading--simple {
  display: block;
  text-align: left;
  margin-bottom: 48px;
}

.section-heading--simple .section-heading__en {
  font-size: clamp(36px, 6vw, 90px);
  font-weight: 400;
  line-height: 1.15;
  color: #e60012;
  font-family: var(--font-en);
  text-transform: uppercase;
  /* letter-spacing: 0.02em; */
  margin-bottom: 8px;
}

.section-heading--simple .section-heading__ja {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: #e60012;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

@media (max-width: 769px) {
  .section-heading {
    gap: 12px;
    margin-bottom: 32px;
    max-width: 312px;
    margin-left: auto;
    margin-right: auto;
  }
  /* .section-heading__en {
    font-size: 28px;
  } */
  .section-heading--simple {
    margin-bottom: 32px;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }
  .section-heading--simple .section-heading__en {
    font-size: 44px;
  }
  .section-heading--swap {
    gap: 0px !important;
  }
  .section-heading--swap .section-heading__en {
    font-size: 18px !important;
  }
  .section-heading--swap .section-heading__text {
    margin: 0px 12px;
  }
  .section-heading__deco img {
    height: 80px !important;
  }
}

/* Font swap utility classes */
.section-heading__font-ja {
  font-family: var(--font-ja, "Noto Sans JP", sans-serif) !important;
}

.section-heading__font-en {
  font-family: var(--font-en) !important;
}

/* Swap variant - Japanese title is smaller */
.section-heading--swap {
  gap: 30px;
}

.section-heading--swap .section-heading__en {
  font-size: 36px;
  text-align: center;
  font-weight: 500;
}

.section-heading--swap .section-heading__ja {
  justify-content: center;
  line-height: 1.2;
}

.section-heading--swap .section-heading__deco img {
  height: 150px;
}
