/* ============================================================
   hannyu-banner.css — 「2階搬入解決隊」高級感バナーセクション
   白ベース + ワインレッドアクセントの公式サイト風デザイン
   ============================================================ */

.hb-section {
  position: relative;
  background: #ffffff;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  overflow: hidden;
  isolation: isolate;
}

/* 装飾: 斜めライン(控えめ) */
.hb-section::before {
  content: "";
  position: absolute;
  top: -60px; left: -40px;
  width: 220px; height: 6px;
  background: linear-gradient(90deg, rgba(181,18,27,0.55), rgba(181,18,27,0));
  transform: rotate(-32deg);
  z-index: 0;
  pointer-events: none;
}


.hb-wrap {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  z-index: 1;
}

/* ── メインビジュアル行 ───────────────────────────── */
.hb-hero-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  min-height: clamp(380px, 46vw, 560px);
}

.hb-hero-text {
  position: relative;
  z-index: 2;
  padding-right: clamp(0.5rem, 2vw, 2rem);
}

.hb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 1.1rem;
}
.hb-eyebrow .hb-accent-word { color: #B5121B; }

.hb-main-copy {
  font-family: var(--font-heading, 'Zen Kaku Gothic New', sans-serif);
  font-weight: 700;
  line-height: 1.35;
  color: #1c1c1c;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
  margin-bottom: 1.5rem;
}
.hb-main-copy .hb-emph {
  display: inline-block;
  color: #B5121B;
  font-size: 1.28em;
  font-weight: 900;
  padding: 0 0.08em;
}

.hb-sub-banner {
  display: inline-block;
  background: linear-gradient(135deg, #B5121B 0%, #8f0e15 100%);
  color: #fff;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(181,18,27,0.28);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hb-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.03rem);
  line-height: 1.95;
  color: #2b2b2b;
  max-width: 640px;
}
.hb-desc p { margin-bottom: 1rem; }
.hb-desc p:last-child { margin-bottom: 0; }
.hb-desc strong {
  color: #B5121B;
  font-weight: 700;
}

/* ── 写真: 右側フェード配置 ───────────────────────── */
.hb-hero-media {
  background-image: url('./images/upload-1789381203341.webp');
  background-size: cover;
  background-position: center;
=======_MARKER_SKIP
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: clamp(320px, 40vw, 520px);
  border-radius: 18px;
  overflow: hidden;
}
.hb-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: none;
}
/* 左側(文章側)へ白くフェード */
.hb-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.85) 12%, rgba(255,255,255,0) 42%);
  z-index: 1;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hb-hero-media::before {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.75) 10%, rgba(255,255,255,0) 38%);
  }
}

/* 右上バッジ */
.hb-badge {
  position: absolute;
  top: clamp(-14px, -1.2vw, -8px);
  right: clamp(0.5rem, 3vw, 2rem);
  z-index: 3;
  background: #fffdf7;
  border: 1.5px solid #c9a24a;
  border-radius: 999px;
  padding: 0.9rem 1.3rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a1a1a;
  box-shadow: 0 10px 24px rgba(0,0,0,0.09);
  max-width: 170px;
}
.hb-badge .hb-badge-accent {
  color: #B5121B;
  font-size: 1.02em;
}

/* ── カード行 ─────────────────────────────────────── */
.hb-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.hb-card {
  background: #ffffff;
  border: 1px solid rgba(181,18,27,0.16);
  border-radius: 16px;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(181,18,27,0.12);
}
.hb-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.hb-card-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #B5121B, #8f0e15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(181,18,27,0.3);
}
.hb-card-title {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: #1c1c1c;
  line-height: 1.5;
}
.hb-card-title .hb-title-accent { color: #B5121B; }
.hb-card-body {
  font-size: 0.94rem;
  line-height: 1.85;
  color: #444;
}

/* ── CTA ──────────────────────────────────────────── */
.hb-cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.hb-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: linear-gradient(135deg, #B5121B 0%, #7d0c12 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  padding: 1.15rem 2.75rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(181,18,27,0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}
.hb-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(181,18,27,0.4);
  opacity: 1;
}
.hb-cta-btn svg.hb-line-icon { width: 22px; height: 22px; flex: none; }
.hb-cta-btn svg.hb-arrow-icon { width: 20px; height: 20px; flex: none; }

/* ── レスポンシブ ─────────────────────────────────── */
@media (max-width: 900px) {
  .hb-hero-row { grid-template-columns: 1fr; min-height: auto; }
  .hb-hero-media { order: -1; min-height: 260px; margin-bottom: 1.5rem; }
  .hb-hero-text { padding-right: 0; }
  .hb-badge { position: static; display: inline-flex; margin-bottom: 1rem; max-width: none; }
  .hb-cards { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hb-main-copy { font-size: 1.7rem; }
  .hb-sub-banner { font-size: 0.9rem; padding: 0.7rem 1.1rem; }
}
