/* ===================================================
   hero.css — ヒーローセクション（リニューアル版）
   =================================================== */

/* ===== HERO OUTER ===== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 680px;
}

/* 背景グラデーション */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 45%, transparent 70%);
  z-index: 1;
}

/* ヒーロー背景画像（全面） */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: 0;
  display: block;
}

/* ===== HERO MAIN ROW ===== */
.hero-main {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  padding: 36px 24px 16px;
}

/* ===== LEFT COLUMN ===== */
.hero-left-col {
  width: 280px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

/* ドットグリッド */
.hero-dot-grid {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

/* 円形背景グロー */
.hero-circle-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,199,85,0.11) 0%, rgba(6,199,85,0.04) 55%, transparent 78%);
  z-index: 1;
}

/* 卵型・傾き・右フェード写真 */
.hero-circle-wrap {
  width: 252px;
  height: 300px;
  border-radius: 50% 44% 44% 50% / 56% 52% 48% 44%;
  overflow: hidden;
  position: relative;
  z-index: 2;
  transform: rotate(-7deg);
  -webkit-mask-image: linear-gradient(to right, black 52%, transparent 90%);
  mask-image: linear-gradient(to right, black 52%, transparent 90%);
  background: #c8e8d4;
}
.hero-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== 100社突破バッジ ===== */
.hero-badge-100 {
  position: absolute;
  bottom: 70px;
  right: -16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.badge-ring {
  width: 110px;
  height: 110px;
  background: linear-gradient(145deg, #ffe56a 0%, #f5c400 28%, #d4a017 65%, #b8860a 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow:
    0 0 0 3px #b8860a,
    0 6px 22px rgba(184,134,10,0.50);
  position: relative;
}
.badge-intro {
  font-size: 9px;
  font-weight: 900;
  color: #5a3500;
  letter-spacing: .02em;
  margin-bottom: 1px;
  line-height: 1.2;
}
.badge-main-num {
  font-size: 30px;
  font-weight: 900;
  color: #3a2000;
  line-height: 1;
  font-family: 'Noto Serif JP', serif;
}
.badge-sha { font-size: 18px; }
.badge-tobira {
  font-size: 12px;
  font-weight: 900;
  color: #5a3500;
  margin-top: 2px;
}
.badge-laurel-left {
  position: absolute;
  left: -20px;
  bottom: 16px;
}
.badge-laurel-right {
  position: absolute;
  right: -20px;
  bottom: 16px;
}
.badge-sub-ribbon {
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 3px;
  margin-top: 6px;
  white-space: nowrap;
  letter-spacing: .04em;
  box-shadow: 0 2px 8px rgba(6,199,85,0.40);
}

/* ===== CENTER COLUMN ===== */
.hero-center-col {
  flex: 1;
  min-width: 0;
  padding: 0 20px 0 28px;
}

/* ラベル */
.hero-label { margin-bottom: 14px; }
.hero-label-inner {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  color: #fff;
  background: var(--navy);
  border-radius: 20px;
  padding: 5px 18px;
  letter-spacing: .06em;
}

/* タイトル全体 */
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.1;
}

/* 1行目：集客と */
.hero-title .hero-line1 {
  display: block;
  margin-bottom: 44px;
}
.hero-title .kanji-shukyaku {
  font-size: 90px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.0;
  color: var(--navy);
  display: inline;
}
.hero-title .particle {
  font-size: 42px;
  font-weight: 700;
  color: var(--navy);
  display: inline;
}

/* 2行目：業務効率化を */
.hero-title .hero-line2 {
  display: block;
  margin-bottom: 32px;
}
.hero-title .kanji-gyomu {
  font-size: 76px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.0;
  display: inline;
}
.hero-title .particle2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  display: inline;
}

/* 業務効率化：グラデーション */
.hero-title .accent {
  background: linear-gradient(90deg, var(--navy) 0%, #0891b2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 3行目 */
.hero-title .line3 {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.6;
  color: var(--navy);
}

/* サポート：ブラシ下線 */
.hero-title .line3-accent {
  position: relative;
  display: inline-block;
  color: var(--navy);
}
.hero-title .line3-accent::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -8px;
  right: -8px;
  height: 20px;
  background-image: url('../images/underline-yellow.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent;
}

/* 説明文 */
.hero-desc {
  font-size: 13.5px;
  color: #555;
  line-height: 2.0;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  margin-bottom: 18px;
}

/* ===== サービスアイコン行（全幅・中央） ===== */
.hero-svc-section {
  position: relative;
  z-index: 2;
  padding: 0 24px 20px;
}
.hero-svc-row {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  border-top: 1px solid rgba(0,0,0,0.12);
  padding-top: 18px;
}
.hero-svc-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.hero-svc-divider {
  width: 1px;
  background: rgba(0,0,0,0.10);
  flex-shrink: 0;
  margin: 4px 0;
}
.hero-svc-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 8px;
  background: transparent;
  overflow: hidden;
}
.hero-svc-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}
.hero-svc-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}
.hero-svc-sub {
  font-size: 10px;
  color: var(--green);
  font-weight: 500;
  line-height: 1.3;
}


/* ===== スマホ写真 ===== */
.hero-phone {
  position: absolute;
  top: 24px;
  left: 118px;
  z-index: 2;
}
.hero-phone-img {
  width: 218px;
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.38));
}
/* ボタン内LINEアイコン */
.btn-line-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ===== 浮遊統計カード（共通） ===== */
.stat-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0,0,0,0.13), 0 1px 4px rgba(0,0,0,0.06);
  padding: 10px 14px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 各カード位置 */
.sc-register { top: 18px; left: 4px; width: 182px; }
.sc-inquiry  { top: 186px; right: 4px; width: 148px; }
.sc-kidoku   { top: 336px; left: 4px; width: 172px; }
.sc-yoyaku   { bottom: 50px; right: 4px; width: 148px; }

/* アイコン枠 */
.sc-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f8ef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* テキストブロック */
.sc-body { flex: 1; min-width: 0; }
.sc-label {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 500;
  white-space: nowrap;
}
.sc-big-num {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  font-family: 'Noto Serif JP', serif;
}
.sc-green { color: var(--green); }
.sc-sub {
  font-size: 10px;
  color: var(--text-light);
}
.sc-graph { flex-shrink: 0; }

/* 既読率カード専用 */
.sc-kidoku-head {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1px;
}

/* ===== HERO CTAバー ===== */
.hero-cta-bar {
  padding: 20px 24px;
  background: #fff;
}
.hero-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(226,249,236,0.97) 0%, rgba(206,243,221,0.97) 100%);
  border: 1px solid rgba(6,199,85,0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 16px 30px;
  gap: 20px;
  box-shadow: 0 2px 14px rgba(6,199,85,0.09);
}
.hcta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.hcta-person-icon { flex-shrink: 0; }
.hcta-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.hcta-main {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.hcta-note {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
}
.hcta-divider {
  width: 1px;
  height: 54px;
  background: rgba(0,0,0,0.12);
  flex-shrink: 0;
}
.hcta-btn-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}
.hcta-badge {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .04em;
}
.btn-line-free {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border-radius: 6px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.btn-line-free:hover { background: var(--green-dark); }
.btn-contact-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s;
}
.btn-contact-hero:hover { background: var(--navy-dark); }

/* ===== SCROLL FADE ===== */
.hero-text.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero-text.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1200px){
  .hero-title .kanji-shukyaku { font-size: 74px; }
  .hero-title .kanji-gyomu { font-size: 62px; }
  .hero-title .particle { font-size: 34px; }
  .hero-title .particle2 { font-size: 30px; }
  .hero-title .line3 { font-size: 25px; }
}
@media(max-width:1024px){
  .hero-main { padding: 24px 16px 12px; }
  .hero-center-col { padding: 0 12px 0 16px; }
}
@media(max-width:768px){
  .hero { min-height: 440px; }
  .hero-main {
    flex-direction: row;
    padding: 20px 16px 24px;
    align-items: flex-end;
    gap: 0;
  }
  /* テキストを左、右側に女性背景を見せる */
  .hero-center-col { padding: 0; width: 58%; text-align: left; }
  .hero-label { text-align: left; }
  .hero-title .kanji-shukyaku { font-size: 36px; }
  .hero-title .kanji-gyomu { font-size: 30px; }
  .hero-title .particle { font-size: 16px; }
  .hero-title .particle2 { font-size: 14px; }
  .hero-title .line3 { font-size: 14px; }
  .hero-title .hero-line1 { margin-bottom: 16px; }
  .hero-title .hero-line2 { margin-bottom: 12px; }
  .hero-desc { font-size: 11px; line-height: 1.7; }
  .hero-label-inner { font-size: 7px; padding: 3px 10px; }
  /* 女性を右端に固定 */
  .hero-bg-img { object-position: right center; }
  /* 左側テキストだけ白く、右側（女性）は完全透過 */
  .hero-bg { background: linear-gradient(90deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.6) 50%, transparent 75%); }
  /* 4アイコン行：モバイルでは非表示 */
  .hero-svc-section { display: none; }
  .hero-cta-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 18px;
  }
  .hcta-divider { display: none; }
  .hcta-left { flex: 1 0 100%; }
}
@media(max-width:480px){
  .hero { min-height: 360px; }
  .hero-title .kanji-shukyaku { font-size: 30px; }
  .hero-title .kanji-gyomu { font-size: 25px; }
  .hero-title .particle { font-size: 13px; }
  .hero-title .particle2 { font-size: 12px; }
  .hero-title .line3 { font-size: 12px; }
  .hero-center-col { width: 55%; }
  .btn-line-free, .btn-contact-hero { font-size: 13px; padding: 10px 16px; }
}
