/* ==========================================================================
   TASFUL TOP Hero — 参考画像専用（tas-hero- プレフィックスのみ）
   既存 top.css / top-portal-ref とは干渉しない
   ========================================================================== */

.tas-hero {
  /* 参考画像 1920px 基準のレイアウト寸法（1段階目） */
  --tas-ref-wrap-max: 1750px;
  --tas-ref-card-h: 510px;
  --tas-ref-card-gap: 30px;
  --tas-ref-card-pad-top: 40px;
  --tas-ref-card-pad-x: 30px;
  --tas-ref-card-pad-bottom: 30px;
  --tas-ref-safe-h: 115px;
  --tas-ref-stats-h: 125px;
  --tas-hero-pad-x: 16px;
  --tas-pr-banner-w: min(92vw, 1240px);
  --tas-pr-banner-radius: 22px;
  --tas-pr-gap-y: 24px;
  --tas-hero-card-radius: 24px;
  --tas-hero-navy: #001b3d;
  position: relative;
  display: block;
  margin: 0;
  padding: 40px 0 0;
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  color: var(--tas-hero-navy);
  background-color: #0b1835;
  isolation: isolate;
  overflow: hidden;
}

/* ロゴ〜カード〜実績バーをつなぐ淡いゴールド光 */
.tas-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1), transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 215, 0, 0.08), transparent 40%),
    radial-gradient(ellipse 80% 55% at 50% 72%, rgba(255, 215, 0, 0.06), transparent 65%);
  pointer-events: none;
}

.tas-hero *,
.tas-hero *::before,
.tas-hero *::after {
  box-sizing: border-box;
}

.tas-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: #0b1835;
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(255, 255, 255, 0.08) 32%,
      rgba(255, 255, 255, 0.03) 58%,
      transparent 100%
    ),
    url("./images/platform-top-bg.png");
  background-size: auto, 100% auto;
  background-position: center top, center top;
  background-repeat: no-repeat, no-repeat;
  min-height: 100%;
}

.tas-hero__bg::before,
.tas-hero__bg::after {
  content: none;
  display: none;
}

/* ヒーロー全体ラッパー（1920px 画面で中央 1750px） */
.tas-hero-wrap,
.tas-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--tas-ref-wrap-max);
  margin-inline: auto;
  padding: 48px var(--tas-hero-pad-x) 32px;
}

/* ── 収益化バナー（管理画面差し替え: data-ad-image-src / data-ad-href） ── */
.hero-ad-banner {
  display: block;
  width: 100%;
  max-width: 1400px;
  margin: 24px auto 40px;
  border-radius: 24px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.hero-ad-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  background: transparent;
  vertical-align: top;
}

/* ── タイトル ── */
.tas-hero__head {
  margin: 0;
  text-align: center;
}

.tas-hero__brand-label {
  display: none;
}

.tas-hero__brand-logo {
  text-align: center;
  margin-bottom: 24px;
  line-height: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.tas-hero__brand-logo img {
  width: 700px;
  max-width: min(75vw, 750px);
  height: auto;
  display: inline-block;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.tas-hero__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--tas-hero-navy);
}

.tas-hero__title-accent {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 50%, #c026d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tas-hero__lead {
  margin: 0 0 36px;
  font-size: clamp(15px, 1.5vw, 22px);
  font-weight: 600;
  line-height: 1.65;
  color: #475569;
}

/* ── 3カード（各列 ≈563px = (1750 − 60) ÷ 3 @ gap 30px） ── */
.tas-hero-cards,
.tas-hero__cards {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tas-ref-card-gap);
  width: 100%;
  margin: 20px 0 20px;
  isolation: isolate;
}

.tas-hero-cards::before,
.tas-hero__cards::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1200px, 100%);
  height: 500px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1), transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.tas-hero-card,
.tas-hero__card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--tas-ref-card-h);
  height: var(--tas-ref-card-h);
  max-height: var(--tas-ref-card-h);
  padding: var(--tas-ref-card-pad-top) var(--tas-ref-card-pad-x) var(--tas-ref-card-pad-bottom);
  border-radius: var(--tas-hero-card-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 27, 61, 0.06);
  box-shadow:
    0 18px 48px rgba(15, 23, 42, 0.08),
    0 6px 20px rgba(15, 23, 42, 0.05);
}

/* 共通 */
.tas-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 4px 0 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tas-hero__card-title {
  margin: 0 0 4px;
  font-size: clamp(17px, 1.1vw, 22px);
  font-weight: 900;
  line-height: 1.3;
  color: var(--tas-hero-navy);
}

.tas-hero__card-sub {
  margin: 0 0 0;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 700;
  line-height: 1.3;
}

.tas-hero__card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 16px;
  margin-top: auto;
  margin-bottom: 12px;
}

.tas-hero__list {
  flex: 1 1 52%;
  min-width: 140px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tas-hero__list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #334155;
}

.tas-hero__list li:last-child {
  margin-bottom: 0;
}

.tas-hero__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-weight: 900;
}

.tas-hero__price {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 170px;
  min-height: 118px;
  padding: 14px 16px;
  border-radius: 14px;
  text-align: center;
}

.tas-hero__price-label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #64748b;
  line-height: 1.3;
}

.tas-hero__price-value {
  display: block;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

.tas-hero__price-value small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.25;
}

.tas-hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 0;
}

.tas-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 52px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.tas-hero__btn-arrow {
  display: inline-flex;
  line-height: 0;
}

.tas-hero__btn-arrow svg {
  width: 15px;
  height: 15px;
}

/* 左カード — 一般 */
.tas-hero__card--general {
  border-color: rgba(251, 182, 206, 0.72);
  background: linear-gradient(165deg, #ffffff 0%, #fffbfd 35%, #fff5f9 68%, #ffeff6 100%);
  box-shadow:
    0 20px 52px rgba(236, 72, 153, 0.14),
    0 8px 24px rgba(15, 23, 42, 0.07);
}

.tas-hero__card--general::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 48% at 0% 0%, rgba(251, 207, 232, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 55% 42% at 48% 100%, rgba(244, 114, 182, 0.2) 0%, transparent 62%);
}

.tas-hero__card--general > * {
  position: relative;
  z-index: 1;
}

.tas-hero__card--general .tas-hero__badge {
  color: #be185d;
  background: #fce7f3;
}

.tas-hero__card--general .tas-hero__card-sub {
  color: #db2777;
}

.tas-hero__cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 2px;
  margin: 14px 0 10px;
}

.tas-hero__cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.tas-hero__card--general .tas-hero__cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 3px 10px rgba(15, 23, 42, 0.08),
    inset 0 2px 6px rgba(255, 255, 255, 0.72);
}

.tas-hero__card--general .tas-hero__cat-icon svg {
  display: block;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
}

/* 念のため（他CSSの上書き対策） */
body.top-page .tas-hero .tas-hero__card--general .tas-hero__cat-icon {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 3px 10px rgba(15, 23, 42, 0.08),
    inset 0 2px 6px rgba(255, 255, 255, 0.72) !important;
}

body.top-page .tas-hero .tas-hero__card--general .tas-hero__cat-icon svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px;
  min-height: 26px;
  max-width: 26px;
  max-height: 26px;
}

.tas-hero__card--general .tas-hero__cat-icon--skill {
  color: #e11d48;
  background: linear-gradient(165deg, #fff5f8 0%, #fecdd3 55%, #fda4af 100%);
}

.tas-hero__card--general .tas-hero__cat-icon--product {
  color: #ea580c;
  background: linear-gradient(165deg, #fffaf5 0%, #fed7aa 55%, #fdba74 100%);
}

.tas-hero__card--general .tas-hero__cat-icon--worker {
  color: #7c3aed;
  background: linear-gradient(165deg, #faf5ff 0%, #e9d5ff 55%, #c4b5fd 100%);
}

.tas-hero__card--general .tas-hero__cat-icon--job {
  color: #2563eb;
  background: linear-gradient(165deg, #f5f9ff 0%, #bfdbfe 55%, #93c5fd 100%);
}

.tas-hero__cat-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--tas-hero-navy);
}

.tas-hero__cat-hint {
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  line-height: 1.25;
}

.tas-hero__card--general .tas-hero__list li::before {
  color: #ec4899;
}

.tas-hero__card--general .tas-hero__price {
  background: #fff7ed;
  border: 1px solid #fed7aa;
}

.tas-hero__card--general .tas-hero__price-value {
  color: #ea580c;
}

.tas-hero__btn--pink {
  color: #fff;
  background: linear-gradient(180deg, #fb7185 0%, #f472b6 38%, #ec4899 72%, #db2777 100%);
  box-shadow:
    0 10px 28px rgba(236, 72, 153, 0.5),
    0 4px 12px rgba(219, 39, 119, 0.28);
}

.tas-hero__btn--pink-ghost {
  color: #ec4899;
  background: #fff;
  border: 2px solid #ec4899;
}

/* 中カード — 法人 */
.tas-hero__card--business {
  border-color: rgba(110, 231, 183, 0.65);
  background: linear-gradient(165deg, #ffffff 0%, #f8fffe 38%, #f0fdf9 72%, #ecfdf5 100%);
  box-shadow:
    0 20px 52px rgba(16, 185, 129, 0.12),
    0 8px 24px rgba(15, 23, 42, 0.07);
}

.tas-hero__card--business::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(ellipse 52% 46% at 100% 100%, rgba(110, 231, 183, 0.32) 0%, transparent 58%);
}

.tas-hero__card--business > * {
  position: relative;
  z-index: 1;
}

.tas-hero__card--business .tas-hero__badge {
  color: #0f766e;
  background: #d1fae5;
}

.tas-hero__card--business .tas-hero__card-sub {
  color: #0d9488;
}

.tas-hero__biz {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
  margin: 14px 0 10px;
}

.tas-hero__biz-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}

.tas-hero__biz-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #047857;
  background: #ffffff;
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.tas-hero__biz-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.65;
}

.tas-hero__biz-icon--more {
  color: #0f766e;
  border-color: #a7f3d0;
  background: #f0fdf9;
}

.tas-hero__biz-label {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
}

.tas-hero__card--business .tas-hero__list li::before {
  color: #10b981;
}

.tas-hero__card--business .tas-hero__price {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.tas-hero__card--business .tas-hero__price-value {
  color: #0f766e;
}

.tas-hero__btn--teal {
  color: #fff;
  background: linear-gradient(180deg, #34d399 0%, #10b981 42%, #059669 78%, #047857 100%);
  box-shadow:
    0 10px 28px rgba(16, 185, 129, 0.48),
    0 4px 12px rgba(5, 150, 105, 0.28);
}

.tas-hero__btn--teal-ghost {
  color: #0d9488;
  background: #fff;
  border: 2px solid #0d9488;
}

/* PRバナー — 完成画像のみ（top.css の白/クリーム枠を無効化） */
body.top-page .tas-hero {
  padding-top: var(--tas-pr-gap-y);
}

body.top-page .tas-hero .top-pr-area.top-pr-area--image,
body.top-page .tas-hero .tas-hero__promo,
body.top-page .tas-hero .top-pr-area--image.top-pr-banner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin: 0 auto var(--tas-pr-gap-y);
  padding: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.top-page .tas-hero .top-pr-area--image::after,
body.top-page .tas-hero .top-pr-area--image.top-pr-banner::after,
body.top-page .tas-hero .tas-hero__promo::after {
  display: none !important;
  content: none !important;
}

body.top-page .tas-hero .top-pr-area--image a,
body.top-page .tas-hero .top-pr-area--image .top-pr-banner-link,
body.top-page .tas-hero .top-pr-area--image .top-pr-banner {
  display: block;
  width: var(--tas-pr-banner-w);
  max-width: var(--tas-pr-banner-w);
  margin: 0 auto;
  padding: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: visible;
  line-height: 0;
  text-decoration: none;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: opacity 0.2s;
}

body.top-page .tas-hero .top-pr-area--image a:hover,
body.top-page .tas-hero .top-pr-area--image .top-pr-banner-link:hover {
  opacity: 0.97;
  transform: none;
  box-shadow: none !important;
}

body.top-page .tas-hero .top-pr-area--image img,
body.top-page .tas-hero .top-pr-area--image .top-pr-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none !important;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  border-radius: var(--tas-pr-banner-radius);
  box-shadow: none;
  vertical-align: top;
  object-fit: initial;
  object-position: center;
}

/* バナー直下のロゴ */
body.top-page .tas-hero .top-pr-area--image + .tas-hero__inner,
body.top-page .tas-hero .tas-hero__promo + .tas-hero__inner {
  padding-top: 0;
}

body.top-page .tas-hero .top-pr-area--image + .tas-hero__inner .tas-hero__head,
body.top-page .tas-hero .tas-hero__promo + .tas-hero__inner .tas-hero__head {
  margin-top: 0;
}

/* 右カード — AI（上部ビジュアル + 下部HTMLボタン） */
.tas-hero__card--ai-image {
  padding: 0;
  border-color: rgba(56, 189, 248, 0.35);
  background: #061528;
  box-shadow:
    0 28px 56px rgba(2, 8, 23, 0.45),
    0 0 24px rgba(34, 211, 238, 0.1) inset;
}

.tas-hero__card--ai-image .tas-hero__ai-visual {
  flex: 1 1 0;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: #061528;
  border-radius: inherit inherit 0 0;
}

.tas-hero__card--ai-image .tas-hero__ai-card-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  user-select: none;
}

.tas-hero__card--ai-image .tas-hero__actions--ai {
  flex: 0 0 auto;
  margin-top: auto;
  width: 100%;
  padding: 8px 16px 16px;
  gap: 10px;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(6, 21, 40, 0) 0%, rgba(6, 21, 40, 0.88) 28%, #061528 100%);
}

.tas-hero__btn--ai {
  color: #fff;
  background: linear-gradient(90deg, #1d4ed8 0%, #2563eb 38%, #0ea5e9 72%, #38bdf8 100%);
  border: 1px solid rgba(186, 230, 253, 0.75);
  box-shadow:
    0 10px 28px rgba(37, 99, 235, 0.45),
    0 4px 12px rgba(14, 165, 233, 0.28);
}

.tas-hero__btn--ai-ghost {
  color: #e0f2fe;
  background: rgba(4, 14, 36, 0.55);
  border: 2px solid rgba(148, 210, 255, 0.55);
}

/* ── 安心バー ── */
.tas-hero-safe-bar,
.tas-hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  height: var(--tas-ref-safe-h);
  min-height: var(--tas-ref-safe-h);
  max-height: var(--tas-ref-safe-h);
  margin: 0 0 20px;
  border-radius: var(--tas-hero-card-radius);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 27, 61, 0.04);
  box-shadow:
    0 14px 40px rgba(15, 23, 42, 0.12),
    0 6px 18px rgba(15, 23, 42, 0.07);
}

.tas-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  min-height: 0;
  padding: 0 24px;
  border-right: 1px solid rgba(0, 27, 61, 0.08);
}

.tas-hero__trust-item:last-child {
  border-right: none;
}

.tas-hero__trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.tas-hero__trust-icon svg {
  width: 26px;
  height: 26px;
}

.tas-hero__trust-title {
  display: block;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.01em;
}

.tas-hero__trust-text {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #475569;
  line-height: 1.4;
}

/* ── 実績バー ── */
.tas-hero__stats-wrap {
  margin: 40px 0 0;
}

.tas-hero-stats,
.tas-hero__stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: stretch;
  box-sizing: border-box;
  width: 100%;
  min-height: var(--tas-ref-stats-h);
  padding: 18px 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #061b3a 0%, #071f45 45%, #031226 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 44px rgba(2, 8, 23, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.tas-hero__stat {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 3px;
  align-content: center;
  align-items: center;
  min-width: 0;
  padding: 8px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.tas-hero__stat:last-child {
  border-right: none;
}

.tas-hero__stat-icon,
.tas-hero__stats .stats-icon {
  grid-column: 1;
  grid-row: 1 / span 3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
}

.tas-hero__stat-icon img,
.tas-hero__stats .stats-icon img {
  display: block;
  width: 68px;
  height: 68px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent !important;
  border: none;
  box-shadow: none;
  filter: none;
}

body.top-page .tas-hero .tas-hero__stat-icon {
  width: 88px !important;
  height: 88px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.top-page .tas-hero .tas-hero__stat-icon img {
  width: 68px !important;
  height: 68px !important;
}

.tas-hero__stat-label {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.92);
  text-align: left;
}

.tas-hero__stat-value {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: clamp(38px, 2.85vw, 50px);
  font-weight: 900;
  line-height: 1.02;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-align: left;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}

.tas-hero__stat-value small {
  font-size: 0.42em;
  font-weight: 800;
  color: #f8fafc;
}

.tas-hero__stat-delta {
  grid-column: 2;
  grid-row: 3;
  font-size: 13px;
  font-weight: 700;
  color: #86efac;
  text-align: left;
}

.tas-hero__stats-note {
  margin: 12px 0 0;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.65;
  text-align: center;
  color: #64748b;
}

/* ヒーロー直下の検索（top.css の .top-visual-wrap 前提ルールの代替） */
.tas-hero + .top-search {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: clamp(32px, 4vw, 48px);
}

.tas-hero + .top-search .top-search__head {
  margin: 0 auto 1.25rem;
  max-width: 720px;
  text-align: center;
}

.tas-hero + .top-search .top-search__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--tas-hero-navy, #001b3d);
}

.tas-hero + .top-search .top-search__desc {
  margin: 0;
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.6;
  color: #64748b;
}

/* ── レスポンシブ ── */
@media (max-width: 1024px) {
  .tas-hero-cards,
  .tas-hero__cards {
    grid-template-columns: 1fr;
  }

  .tas-hero-card,
  .tas-hero__card {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .tas-hero-safe-bar,
  .tas-hero__trust {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .tas-hero__trust-item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 27, 61, 0.08);
    min-height: 80px;
    height: auto;
  }

  .tas-hero__trust-item:last-child {
    border-bottom: none;
  }

  .tas-hero-stats,
  .tas-hero__stats {
    flex-wrap: wrap;
    min-height: 0;
    padding: 20px 24px;
  }

  .tas-hero__stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .tas-hero__stat:nth-child(2n) {
    border-right: none;
  }

  .tas-hero__stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .tas-hero__actions {
    grid-template-columns: 1fr;
  }

  .tas-hero__cats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tas-hero__biz {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tas-hero__card-body {
    flex-direction: column;
    align-items: stretch;
  }

  .tas-hero__price {
    width: 100%;
    max-width: none;
  }
}
