/* ========================================
   セクション: S02_ヒーロー
   Figma node: 1038:4509 / 393×758
   ======================================== */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 15px 15px 20px;
  gap: 20px;
  overflow: hidden;
  background: url("../../images/s02_hero/hero-bg.webp") center top / cover no-repeat;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ── 症状グリッド ── */
.hero-symptoms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  gap: 8px 10px;
}

.hero-symptom {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.hero-symptom-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 3px;
  background: var(--color-navy);
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-align: center;
}

.hero-symptom-img {
  width: 100%;
  height: 59px;
  object-fit: cover;
}

/* ── メインコピー＋写真エリア ── */
.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: -10px;
}

.hero-copy-sub {
  width: calc(100% - 60px);
  height: auto;
  display: block;
}

.hero-copy-main {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 0;
}

.hero-main > picture {
  align-self: flex-start;
  margin-top: -15px;
  margin-left: -15px;
  flex-shrink: 0;
}

.hero-photo {
  width: 420px;
  max-width: none;
  height: auto;
  display: block;
}

.hero-badge {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -75px;
}

/* ── タブレット用キャンペーン画像（SP非表示） ── */
.hero-campaign {
  display: none;
}

/* ── CTA: 共通コンポーネント(cta.css)の赤バリアントを使用 ── */

/* ── 注釈 ── */
.hero-note {
  width: 100%;
  font-family: var(--font-jp);
  font-size: 8px;
  font-weight: 400;
  line-height: 1.8;
  color: #ffffff;
}

/* ── マイクロコピー ── */
.hero-micro {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  text-align: center;
  text-decoration: underline;
  margin-bottom: 5px;
}

/* ── 法人・英語対応 ── */
.hero-global {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 4px;
}

.hero-global-text {
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

.hero-global-en {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

/* ── 400px未満：ヒーローイメージ縮小 ── */
@media (max-width: 399px) {
  .hero-photo {
    width: 380px;
  }
}

/* ── 371px未満：症状カードタイトル縮小 ── */
@media (max-width: 370px) {
  .hero-symptom-label {
    font-size: 10px;
  }
}
