/* ==========================================================================
   TASFUL TOP — 高級感 + 分かりやすさ + AI感
   ========================================================================== */

:root {
  --top-dual-card-w: 748px;
  --top-dual-card-h: 600px;
  --top-max: 1920px;
  --top-portal-max: 1920px;
  --top-pillar-min-h: 620px;
  --top-pillar-gap: 28px;
  --top-pillar-pad-y: 22px;
  --top-pillar-pad-x: 26px;
  --top-pillar-icon-lg: 68px;
  --top-pillar-btn-h: 56px;
  --top-navy: #001b3d;
  --top-navy-mid: #1a2744;
  --top-gold: #d4af37;
  --top-gold-light: #e8c96a;
  --top-gold-dark: #967622;
  --top-neon: #00d2ff;
  --top-ivory: #faf9f6;
  --top-header-h: 90px;
  --top-header-sticky-z: 9999;
  --top-champagne: #b8841f;
  --top-champagne-light: #c99a2e;
  --top-hero-navy: #061a33;
  --top-mini-rank-w: 228px;
  --top-section-x: clamp(1.25rem, 3.5vw, 2.25rem);
  --top-section-y: clamp(2.25rem, 4.5vw, 3.25rem);
}

/* sticky ヘッダー: 祖先に overflow/transform 等があると無効化される */
html:has(body.top-page),
body.top-page,
body.top-page main,
body.top-page .page-wrapper,
body.top-page .top-layout,
body.top-page .site-wrapper {
  overflow-x: visible !important;
  overflow-y: visible !important;
}

html:has(body.top-page) {
  margin: 0;
  padding: 0;
}

body.top-page {
  margin: 0;
  padding: 0 !important;
  background: #fff;
  color: var(--color-text);
  font-family: "Noto Sans JP", sans-serif;
}

.top-main,
body.top-page main {
  margin-top: 0;
  padding-top: 0;
}

body.top-page .page-wrapper {
  margin-top: 0;
  padding-top: 0;
}

body.top-page .top-visual-wrap,
body.top-page .top-hero,
body.top-page .hero-section,
body.top-page .hero {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-page__inner {
  width: min(100%, var(--top-max));
  margin-inline: auto;
  padding-inline: var(--top-section-x);
}

/* ── ヘッダー ── */

.top-site-header,
body.top-page .site-header {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: var(--top-header-sticky-z) !important;
  margin: 0;
  min-height: var(--top-header-h);
  height: var(--top-header-h);
  background: #071733;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
}

.top-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--top-header-h);
  height: 100%;
  width: min(100%, var(--top-max));
  margin-inline: auto;
  padding: 0.75rem var(--top-section-x);
}

.top-site-header__logo {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.top-site-header__logo span {
  color: var(--top-gold-light);
}

.top-site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.top-site-header__nav a {
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.2s;
}

.top-site-header__nav a:hover {
  color: var(--top-gold-light);
}

.top-portal-header .top-site-header__inner {
  gap: 1rem;
}

.top-portal-header .top-site-header__nav {
  flex: 1;
  justify-content: center;
}

.top-portal-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.top-portal-header__logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-height: 56px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent !important;
  box-shadow: none;
}

.top-portal-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.top-portal-header__login {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.top-portal-header__login:hover {
  color: var(--top-gold-light);
  border-color: var(--top-gold-light);
}

.top-portal-header__register {
  padding: 12px 22px;
  font-size: 0.875rem;
}

.top-site-header__cta {
  flex-shrink: 0;
  padding: 16px 32px;
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--top-navy);
  text-decoration: none;
  background: linear-gradient(135deg, var(--top-gold-light), var(--top-gold));
  border-radius: 999px;
  box-shadow:
    0 4px 18px rgba(212, 175, 55, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.12);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.top-site-header__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow:
    0 6px 24px rgba(212, 175, 55, 0.55),
    0 3px 8px rgba(0, 0, 0, 0.14);
}

/* ── PRエリア（広告枠 + 枠付きカード） ── */

.top-pr-area,
.top-pr-banner {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  width: 100%;
  margin: 0;
  padding: 28px 16px;
  overflow: visible;
  background: linear-gradient(180deg, #fffaf0 0%, #fff6e5 100%);
}

.top-pr-area::after,
.top-pr-banner::after {
  display: none;
}

.top-pr-card,
.top-pr-banner__inner {
  position: relative !important;
  top: auto !important;
  z-index: 1 !important;
  width: min(1360px, calc(100% - 40px));
  max-width: none;
  min-height: 112px;
  margin: 0 auto;
  padding: 28px 44px;
  border-radius: 32px;
  border: 1px solid rgba(210, 170, 80, 0.28);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 238, 0.92));
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.top-pr-banner__badge,
.top-pr-badge {
  flex: 0 0 auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8df8a, #c89322);
  color: #061a33;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(201, 147, 34, 0.28);
}

.top-pr-banner__text {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: #061a33;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.top-pr-banner__text strong {
  display: block;
  font-weight: 800;
  color: #061a33;
}

.top-pr-banner__sub,
.top-pr-banner__text span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #4a5568;
}

.top-pr-banner__btn {
  flex: 0 0 auto;
  height: 58px;
  padding: 0 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #42e8ff, #12b8dc);
  color: #03111f;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(18, 184, 220, 0.32);
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
}

.top-pr-banner__btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(18, 184, 220, 0.42);
}

@media (max-width: 768px) {
  .top-pr-area,
  .top-pr-banner {
    padding: 16px 12px;
  }

  .top-pr-card,
  .top-pr-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    width: calc(100% - 24px);
    min-height: 0;
    padding: 18px 20px;
    border-radius: 22px;
  }

  .top-pr-banner__text {
    text-align: center;
    font-size: 17px;
  }

  .top-pr-banner__sub,
  .top-pr-banner__text span {
    font-size: 13px;
  }

  .top-pr-banner__btn {
    width: 100%;
    height: 48px;
    font-size: 15px;
  }
}

/* ── ヒーロー + 2カラム（共通背景） ── */

.top-visual-wrap {
  overflow: visible;
  background-color: #faf8f4;
  background-image: url("images/hero-bg.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding-bottom: 0;
}

.top-portal-ref__hide-pr {
  display: none !important;
}

body.top-page .top-visual-wrap.top-portal-visual {
  position: relative;
  isolation: isolate;
  background-color: #f8faff;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #f3f8ff 14%,
    #e8eeff 32%,
    #ddd6fe 58%,
    #c7d2fe 78%,
    #a5b4fc 100%
  );
}

body.top-page .top-visual-wrap.top-portal-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 42% at 12% 10%, rgba(255, 255, 255, 0.92) 0%, transparent 58%),
    radial-gradient(ellipse 48% 38% at 88% 14%, rgba(224, 231, 255, 0.82) 0%, transparent 52%),
    radial-gradient(ellipse 40% 30% at 50% 22%, rgba(255, 255, 255, 0.45) 0%, transparent 70%),
    linear-gradient(
      118deg,
      transparent 42%,
      rgba(255, 255, 255, 0.22) 49.5%,
      rgba(199, 210, 254, 0.18) 50.5%,
      transparent 58%
    ),
    linear-gradient(
      62deg,
      transparent 38%,
      rgba(255, 255, 255, 0.14) 48%,
      transparent 56%
    );
  opacity: 0.88;
}

body.top-page .top-portal-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    radial-gradient(2.5px 2.5px at 8% 14%, rgba(255, 255, 255, 0.95) 50%, transparent 51%),
    radial-gradient(2px 2px at 22% 28%, rgba(255, 255, 255, 0.92) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 38% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 55% 22%, rgba(255, 255, 255, 0.88) 50%, transparent 51%),
    radial-gradient(2.5px 2.5px at 72% 12%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 88% 32%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(2px 2px at 48% 48%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 28% 78%, rgba(255, 255, 255, 0.65) 50%, transparent 51%);
  opacity: 1;
}

.top-hero,
.hero-section,
.top-dual,
.top-portal-hero {
  background: transparent !important;
}

.top-visual-wrap > .top-search {
  background: #fff;
}

.top-hero.hero-section {
  position: relative;
  overflow: visible;
  width: 100%;
  min-height: auto;
  padding: clamp(28px, 4vw, 44px) 20px clamp(48px, 5vw, 64px);
}

.top-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 252, 246, 0.05) 45%,
    rgba(250, 246, 238, 0.25) 100%
  );
  pointer-events: none;
}

.top-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, var(--top-max));
  margin-inline: auto;
  padding-inline: var(--top-section-x);
  text-align: center;
}

.top-hero__eyebrow {
  display: none;
}

.top-hero__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(18px, 2.2vw, 24px);
  position: relative;
  z-index: 2;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    ellipse 88% 72% at 50% 38%,
    rgba(255, 226, 122, 0.14),
    transparent 68%
  );
}

.top-hero__logo-wrap::before {
  content: '';
  position: absolute;
  inset: 4% 5% 18% 5%;
  background: linear-gradient(
    168deg,
    rgba(255, 247, 204, 0.38) 0%,
    rgba(255, 226, 122, 0.18) 24%,
    transparent 50%
  );
  mix-blend-mode: soft-light;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.top-hero__logo-wrap::after {
  content: '';
  position: absolute;
  inset: 8% 4% 22% 4%;
  background: linear-gradient(
    125deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 247, 204, 0.32) 47%,
    rgba(255, 196, 0, 0.18) 52%,
    transparent 58%,
    transparent 100%
  );
  background-size: 260% 260%;
  mix-blend-mode: screen;
  opacity: 0.36;
  pointer-events: none;
  z-index: 3;
  animation: topHeroLogoSheen 5.8s ease-in-out infinite;
}

@keyframes topHeroLogoSheen {
  0% {
    background-position: 125% 125%;
  }
  100% {
    background-position: -25% -25%;
  }
}

.top-hero__svg-logo {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  height: auto;
  display: block;
  overflow: visible;
  filter:
    drop-shadow(0 5px 12px rgba(120, 70, 0, 0.45))
    drop-shadow(0 2px 5px rgba(180, 110, 0, 0.28))
    drop-shadow(0 0 16px rgba(255, 196, 0, 0.22));
}

.top-hero__svg-logo .logo-bubbles circle {
  filter: drop-shadow(0 0 2px rgba(255, 247, 204, 0.22));
}

@media (prefers-reduced-motion: reduce) {
  .top-hero__logo-wrap::before,
  .top-hero__logo-wrap::after {
    display: none;
  }

  .top-hero__svg-logo .top-hero__shine-anim,
  .top-hero__svg-logo .logo-bubbles {
    display: none;
  }
}

.hero-copy-wrap,
.top-hero__tagline {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 24px auto 28px;
  text-align: center;
}

.hero-subcopy,
.top-hero__tagline-lead {
  margin: 0 0 12px;
  font-size: clamp(1.125rem, 1.35vw, 1.5rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  background: linear-gradient(180deg, #fff1b8 0%, #f7d978 35%, #d6a63d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 8px rgba(255, 215, 120, 0.14));
}

.hero-maincopy,
.top-hero__tagline-main {
  margin: 0 auto;
  max-width: 820px;
  font-size: clamp(1.75rem, 3.4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  color: #071a3d;
}

@media (min-width: 768px) {
  .hero-maincopy,
  .top-hero__tagline-main {
    white-space: nowrap;
  }
}

/* 価値訴求4カード（コンパクト） */

.feature-card-wrap,
.top-strengths,
.hero-feature-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 0;
}

.hero-feature-card,
.top-strength {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 190px;
  width: 190px;
  min-height: 72px;
  padding: 12px 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 170, 58, 0.24);
  border-radius: 16px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.06),
    0 0 16px rgba(212, 170, 58, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hero-feature-card:hover,
.top-strength:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 170, 58, 0.45);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(212, 170, 58, 0.12);
}

.icon-circle,
.top-strength__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  font-size: 16px;
  border-radius: 50%;
  border: 1px solid rgba(212, 170, 58, 0.2);
  box-shadow: 0 4px 12px rgba(184, 132, 31, 0.1);
}

.icon-circle svg,
.top-strength__icon svg {
  width: 16px;
  height: 16px;
}

.icon-circle--gold {
  color: #9a6b12;
  background: linear-gradient(145deg, #fff8e8 0%, #f5dfa0 55%, #e8c56a 100%);
  box-shadow: 0 4px 12px rgba(212, 170, 58, 0.14);
}

.icon-circle--blue {
  color: #1a5f9e;
  background: linear-gradient(145deg, #eef6ff 0%, #cfe6ff 55%, #9ec8f5 100%);
  border-color: rgba(60, 140, 220, 0.22);
  box-shadow: 0 4px 12px rgba(60, 140, 220, 0.12);
}

.icon-circle--cyan {
  color: #0a7f96;
  background: linear-gradient(145deg, #ecfeff 0%, #b8f4ff 50%, #6ee7f7 100%);
  border-color: rgba(0, 210, 255, 0.24);
  box-shadow: 0 4px 14px rgba(0, 210, 255, 0.14);
}

.icon-circle--secure {
  color: #8a5a10;
  background: linear-gradient(145deg, #fff9ee 0%, #f0dfa8 50%, #d4af37 100%);
  box-shadow: 0 4px 12px rgba(212, 170, 58, 0.14);
}

.top-strength__text {
  flex: 1;
  min-width: 0;
}

.top-strength__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  color: #071a3d;
}

.top-strength__sub {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  color: #5a6470;
  line-height: 1.3;
}

.hero-feature-card__emph {
  display: inline-block;
  margin-left: 1px;
  font-size: 1.15em;
  font-weight: 900;
  line-height: 1;
  color: #b8841f;
  letter-spacing: -0.02em;
}

.hero-feature-card__price {
  font-size: 1.12em;
  font-weight: 900;
  color: #1a6eb5;
  letter-spacing: -0.02em;
}

/* ── 3本柱ポータル（index-top.html） ── */

.top-portal-hero {
  position: relative;
  z-index: 2;
  overflow: visible;
  width: 100%;
}

.top-portal-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  width: min(100%, var(--top-portal-max));
  max-width: var(--top-portal-max);
  margin: 0 auto;
  padding: clamp(22px, 2.8vw, 36px) clamp(12px, 1.6vw, 28px) clamp(20px, 2.2vw, 28px);
}

/* top-page__inner 併用時の二重余白を解除（カード幅を主エリアいっぱいに） */
.top-portal-hero__inner.top-page__inner {
  padding-inline: clamp(12px, 1.6vw, 28px);
}

.top-portal-hero__head {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(8px, 2vw, 24px);
}

.top-portal-hero__title {
  margin: 0 0 10px;
  font-size: clamp(30px, 3.8vw, 56px);
  font-weight: 900;
  line-height: 1.28;
  color: var(--top-navy);
  letter-spacing: 0.02em;
}

.top-portal-hero__accent {
  background: linear-gradient(90deg, #2563eb 0%, #7c3aed 55%, #c026d3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.top-portal-hero__lead {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
  line-height: 1.75;
  color: #475569;
}

.top-pillar-grid.hero-main-cards {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--top-pillar-gap);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

.top-pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: var(--top-pillar-min-h);
  margin: 0;
  padding: var(--top-pillar-pad-y) var(--top-pillar-pad-x) clamp(14px, 1.4vw, 18px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 27, 61, 0.07);
  box-shadow:
    0 22px 48px rgba(0, 27, 61, 0.07),
    0 6px 16px rgba(0, 27, 61, 0.04);
  overflow: hidden;
  box-sizing: border-box;
}

.top-pillar-card--general {
  border-color: rgba(251, 207, 232, 0.65);
  background: linear-gradient(168deg, #fff 0%, #fff8fc 42%, #fff5fa 100%);
}

.top-pillar-card--business {
  border-color: rgba(153, 246, 228, 0.55);
  background: linear-gradient(168deg, #fff 0%, #f7fefc 45%, #f0fdfa 100%);
}

.top-pillar-card__badge {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.top-pillar-card--general .top-pillar-card__badge {
  color: #9d174d;
  background: rgba(244, 114, 182, 0.2);
  border: 1px solid rgba(219, 39, 119, 0.25);
}

.top-pillar-card--business .top-pillar-card__badge {
  color: #0f766e;
  background: rgba(45, 212, 191, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.28);
}

.top-pillar-card__badge--ai {
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.45);
}

.top-pillar-card__title {
  margin: 0 0 4px;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 900;
  line-height: 1.28;
  color: var(--top-navy);
  letter-spacing: 0.01em;
}

.top-pillar-card__head {
  flex: 0 0 auto;
}

.top-pillar-card__sub {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 800;
  line-height: 1.3;
}

.top-pillar-card--general .top-pillar-card__sub {
  color: #db2777;
}

.top-pillar-card--business .top-pillar-card__sub {
  color: #0d9488;
}

.top-pillar-biz-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px 8px;
  margin: 8px 0 10px;
  width: 100%;
}

.top-pillar-biz {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  text-align: center;
}

.top-pillar-biz__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #64748b;
  background: #fff;
  border: 1.5px solid #d1d5db;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

.top-pillar-biz__icon svg {
  width: 22px;
  height: 22px;
}

.top-pillar-biz__icon--more {
  color: #0f766e;
  border-color: #a7f3d0;
  background: #f0fdf9;
}

.top-pillar-biz__label {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  color: #1e293b;
}

.top-pillar-biz__label--sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* カテゴリ行（参考画像サイズ感） */
.top-pillar-cats {
  flex: 0 0 auto;
  margin: 8px 0 10px;
}

.top-pillar-cats--row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px 4px;
}

.top-pillar-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  min-width: 0;
}

/* 法人・業者 — 横長タグ */
.top-pillar-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0 10px;
}

.top-pillar-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  color: #0f766e;
  background: linear-gradient(165deg, #fff 0%, #ecfdf5 100%);
  border: 1px solid rgba(13, 148, 136, 0.22);
  box-shadow: 0 3px 10px rgba(13, 148, 136, 0.08);
  white-space: nowrap;
}

.top-pillar-tag__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #0f766e;
  background: linear-gradient(165deg, #f0fdfa 0%, #99f6e4 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.85);
}

.top-pillar-tag__icon svg {
  width: 18px;
  height: 18px;
}

.top-pillar-cat__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--top-pillar-icon-lg);
  height: var(--top-pillar-icon-lg);
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 6px 18px rgba(15, 23, 42, 0.08),
    inset 0 2px 6px rgba(255, 255, 255, 0.75);
}

.top-pillar-cat__icon svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, 0.4));
}

.top-pillar-cat__icon--skill {
  color: #e11d48;
  background: linear-gradient(165deg, #fff5f8 0%, #fecdd3 55%, #fda4af 100%);
}

.top-pillar-cat__icon--product {
  color: #ea580c;
  background: linear-gradient(165deg, #fffaf5 0%, #fed7aa 55%, #fdba74 100%);
}

.top-pillar-cat__icon--worker {
  color: #7c3aed;
  background: linear-gradient(165deg, #faf5ff 0%, #e9d5ff 55%, #c4b5fd 100%);
}

.top-pillar-cat__icon--job {
  color: #2563eb;
  background: linear-gradient(165deg, #f5f9ff 0%, #bfdbfe 55%, #93c5fd 100%);
}

.top-pillar-cat__label {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  color: var(--top-navy);
}

.top-pillar-cat__hint {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  color: #94a3b8;
}

.top-pillar-card__body {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: end;
  margin-bottom: 10px;
  min-height: 0;
}

.top-pillar-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.top-pillar-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  color: #475569;
}

.top-pillar-card--general .top-pillar-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 14px;
  font-weight: 900;
  color: #db2777;
}

.top-pillar-card--business .top-pillar-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-size: 14px;
  font-weight: 900;
  color: #0d9488;
}

.top-pillar-card__price {
  flex-shrink: 0;
  align-self: end;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: max-content;
  min-width: 132px;
  max-width: 172px;
  padding: 16px 18px 14px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(165deg, #fff7ed 0%, #ffedd5 55%, #fed7aa 100%);
  border: 1px solid rgba(251, 146, 60, 0.4);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.12);
}

.top-pillar-card__price--teal {
  background: linear-gradient(165deg, #f0fdfa 0%, #ccfbf1 55%, #99f6e4 100%);
  border: 1px solid rgba(13, 148, 136, 0.28);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.08);
}

.top-pillar-card--business .top-pillar-card__price-value {
  color: #0d9488;
}

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

.top-pillar-card__price-value {
  display: block;
  font-size: clamp(44px, 3.9vw, 60px);
  font-weight: 900;
  line-height: 0.95;
  color: var(--top-navy);
  letter-spacing: -0.03em;
}

.top-pillar-card__price-value small {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  color: #64748b;
}

.top-pillar-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: auto;
  flex: 0 0 auto;
  padding-top: 2px;
}

.top-pillar-btn__arrow {
  font-size: 1em;
  line-height: 1;
  opacity: 0.9;
}

.top-pillar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: var(--top-pillar-btn-h);
  margin: 0;
  padding: 0 20px;
  border-radius: 999px;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.top-pillar-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #f9a8d4 0%, #ec4899 45%, #db2777 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(219, 39, 119, 0.32);
}

.top-pillar-btn--teal {
  background: linear-gradient(135deg, #5eead4 0%, #14b8a6 45%, #0d9488 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.3);
}

.top-pillar-btn--ghost {
  color: #db2777;
  background: #fff;
  border: 2px solid rgba(219, 39, 119, 0.55);
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.06);
}

.top-pillar-btn--ghost-teal {
  color: #0d9488;
  border: 2px solid rgba(13, 148, 136, 0.55);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.06);
}

.top-pillar-btn--ai {
  color: #00152a;
  background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 40%, #0891b2 100%);
  border: 1px solid rgba(186, 230, 253, 0.65);
  box-shadow: 0 10px 26px rgba(34, 211, 238, 0.35);
}

.top-pillar-btn--ai-ghost {
  color: #e0f2fe;
  background: rgba(6, 18, 42, 0.55);
  border: 2px solid rgba(103, 232, 249, 0.55);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.top-pillar-btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* AI柱 — 背景画像（明るく）+ 左のみ暗グラデ（テキスト可読） */
.top-pillar-card--ai.ai-card {
  position: relative;
  min-height: var(--top-pillar-min-h);
  max-width: none;
  padding: var(--top-pillar-pad-y) var(--top-pillar-pad-x) clamp(14px, 1.4vw, 18px);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border-color: rgba(56, 189, 248, 0.35);
  overflow: hidden;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
  background-color: #061528;
  background-image:
    linear-gradient(
      90deg,
      rgba(3, 14, 35, 0.92) 0%,
      rgba(3, 14, 35, 0.82) 28%,
      rgba(3, 14, 35, 0.52) 40%,
      rgba(3, 14, 35, 0.12) 48%,
      transparent 54%
    ),
    url("images/ai-workspace-hero.png"),
    radial-gradient(
      ellipse 36% 34% at 86% 24%,
      rgba(56, 189, 248, 0.2) 0%,
      transparent 72%
    );
  background-size: 100% 100%, auto 142%, 100% 100%;
  background-position: 0 0, 98% 6%, 0 0;
  background-repeat: no-repeat;
  background-blend-mode: normal, normal, normal;
  box-shadow:
    0 22px 50px rgba(2, 8, 23, 0.45),
    0 0 0 1px rgba(56, 189, 248, 0.12) inset;
}

/* 球体は背景レイヤー内のみ。疑似要素はキャラ上に乗るため無効化 */
.top-pillar-card--ai.ai-card::before,
.top-pillar-card--ai.ai-card::after {
  display: none;
  content: none;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.top-pillar-card--ai.ai-card .top-pillar-ai__character,
.top-pillar-card--ai.ai-card .top-pillar-ai__character img,
.top-pillar-card--ai.ai-card img {
  display: none !important;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

.top-pillar-card__head--ai {
  position: relative;
  z-index: 3;
  margin-bottom: 10px;
}

.top-pillar-card--ai.ai-card > .top-pillar-card__badge,
.top-pillar-card--ai.ai-card > .top-pillar-card__head,
.top-pillar-card--ai.ai-card > .top-pillar-ai__main,
.top-pillar-card--ai.ai-card > .top-pillar-ai__foot,
.top-pillar-card--ai.ai-card > .top-pillar-card__actions {
  position: relative;
  z-index: 2;
}

.top-pillar-card--ai .top-pillar-card__title {
  margin: 0 0 4px;
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.top-pillar-card--ai .top-pillar-card__sub {
  font-size: clamp(14px, 1.15vw, 17px);
  color: #67e8f9;
}

/* 上段: 左=機能（背景はカード全体） */
.top-pillar-ai__main {
  flex: 1 1 auto;
  display: block;
  max-width: 52%;
  min-height: 0;
  margin: 8px 0 14px;
}

.top-pillar-ai__tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px 7px;
  align-content: start;
  padding-right: 6px;
}

.top-pillar-ai-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  min-width: 0;
}

.top-pillar-ai-tool__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(103, 232, 249, 0.35);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
}

.top-pillar-ai-tool__icon svg {
  width: 22px;
  height: 22px;
}

.top-pillar-ai-tool__name {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

/* 下段: 左=料金 / 右=チェック */
.top-pillar-ai__foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 18px;
  align-items: end;
  margin-bottom: 14px;
  flex: 0 0 auto;
}

.top-pillar-ai__plan-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 128px;
  padding: 14px 18px 12px;
  border-radius: 14px;
  background: rgba(4, 16, 38, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.top-pillar-ai__plan-label {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 800;
  color: #bae6fd;
}

.top-pillar-ai__plan-value {
  display: block;
  font-size: clamp(48px, 4vw, 58px);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  letter-spacing: -0.03em;
}

.top-pillar-ai__plan-value small {
  font-size: 0.36em;
  font-weight: 800;
  color: #e0f2fe;
}

.top-pillar-card__list--ai {
  gap: 8px;
  margin: 0;
  justify-self: end;
  align-self: end;
}

.top-pillar-card__list--ai li {
  padding-left: 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  color: rgba(224, 242, 254, 0.95);
}

.top-pillar-card__list--ai li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.12em;
  font-size: 13px;
  font-weight: 900;
  color: #67e8f9;
}

.top-pillar-card__list--ai li strong {
  font-weight: 900;
  color: #fff;
}

.top-pillar-card__actions--ai {
  position: relative;
  z-index: 4;
  margin-top: 6px;
  flex: 0 0 auto;
}

.top-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  padding: 20px 8px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 27, 61, 0.08);
  box-shadow: 0 6px 24px rgba(0, 27, 61, 0.06);
  box-sizing: border-box;
}

.top-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 28px;
  border-right: 1px solid rgba(0, 27, 61, 0.08);
}

.top-trust-bar__item:last-child {
  border-right: none;
}

.top-trust-bar__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--top-navy);
  background: #fff;
  border: 1px solid rgba(0, 27, 61, 0.07);
  box-shadow: 0 2px 10px rgba(0, 27, 61, 0.05);
}

.top-trust-bar__icon svg {
  width: 24px;
  height: 24px;
}

.top-trust-bar__item strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15px;
  font-weight: 900;
  color: var(--top-navy);
}

.top-trust-bar__item p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.top-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  min-height: 120px;
  padding: 22px 20px;
  border-radius: 18px;
  box-sizing: border-box;
  background: linear-gradient(135deg, #001b3d 0%, #061a33 48%, #0a2548 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(6, 26, 51, 0.28);
  align-items: center;
}

.top-stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 72px;
  padding: 8px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.top-stats-bar__item:last-child {
  border-right: none;
}

.top-stats-bar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.top-stats-bar__icon svg {
  width: 22px;
  height: 22px;
}

.top-stats-bar__icon--users {
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.2);
}

.top-stats-bar__icon--listings {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.2);
}

.top-stats-bar__icon--deals {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.2);
}

.top-stats-bar__icon--ai {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.22);
}

.top-stats-bar__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.85);
}

.top-stats-bar__value {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(30px, 2.8vw, 46px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--top-gold);
  letter-spacing: 0.02em;
}

.top-stats-bar__value small {
  font-size: 0.42em;
  font-weight: 800;
  margin-left: 2px;
  color: var(--top-gold-light);
}

.top-stats-bar__delta {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #86efac;
}

.top-portal-stats {
  width: 100%;
}

.top-portal-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-stats-bar__glyph {
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── 2カラム（レガシー・他ページ用） ── */

.hero-main-cards:not(.top-pillar-grid),
.top-dual {
  position: relative;
  z-index: 2;
  display: block;
  max-width: none;
  margin: 68px auto 0;
  padding: 0 48px 120px;
}

.top-dual__inner {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 48px;
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  align-items: stretch;
}

.top-dual__col {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: var(--top-dual-card-h);
  height: auto;
  box-sizing: border-box;
  border-radius: 28px;
  overflow: hidden;
}

.posting-card,
.top-dual__col.listing-card {
  display: flex;
  flex-direction: column;
  padding: 32px 34px 34px;
  overflow: hidden;
}

.posting-card__cta-block {
  position: relative;
  z-index: 1;
  margin-top: auto;
  flex-shrink: 0;
}

.posting-card .posting-cta,
.posting-card .line-cta,
.posting-card .listing-card__cta,
.posting-card a[href*="line"],
.posting-card .top-dual__cta,
.posting-card .listing-card__cta {
  margin-top: 0;
  flex-shrink: 0;
}

.top-dual__col--gold.listing-card {
  overflow: hidden;
  background: linear-gradient(
    155deg,
    #fffff9 0%,
    #faf0d8 32%,
    #fff6e8 58%,
    #fffef9 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow:
    0 18px 52px rgba(150, 118, 34, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset,
    inset 0 0 64px rgba(232, 201, 106, 0.14);
}

.top-dual__col--gold.listing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 55% at 18% 0%, rgba(232, 201, 106, 0.38), transparent 58%),
    radial-gradient(ellipse 70% 45% at 92% 100%, rgba(212, 175, 55, 0.18), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, transparent 35%);
  pointer-events: none;
  z-index: 0;
}

.listing-card__fx {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 72px rgba(232, 201, 106, 0.22);
  background:
    radial-gradient(circle at 14% 28%, rgba(212, 175, 55, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 18%, rgba(232, 201, 106, 0.35) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 72%, rgba(201, 154, 46, 0.3) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 58%, rgba(212, 175, 55, 0.28) 0 1px, transparent 2px);
  background-size: 120px 120px, 140px 140px, 100px 100px, 130px 130px;
  opacity: 0.75;
}

.listing-card__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.listing-card__tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--top-gold-dark);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow:
    0 0 16px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ── AI Workspace（背景画像1枚構成） ── */

.posting-card,
.top-dual__col.posting-card {
  min-height: 780px;
  height: 100%;
  border-radius: 28px;
  box-sizing: border-box;
}

.ai-card,
.top-dual__ai-col.ai-card {
  min-height: 780px;
  height: auto;
  border-radius: 28px;
  box-sizing: border-box;
}

.ai-card,
.top-dual__ai-col.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  padding: 42px 44px 44px;
  color: #fff;
  border: 1px solid rgba(0, 180, 255, 0.24);
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(0, 10, 40, 0.015) 0%,
      rgba(0, 8, 30, 0.03) 100%
    ),
    url("images/ai-workspace-bg.png");
  background-size: cover;
  background-position: calc(100% + 110px) -35px;
  background-repeat: no-repeat;
  background-color: #020817;
  box-shadow:
    0 0 24px rgba(0, 180, 255, 0.16),
    0 12px 40px rgba(0, 0, 0, 0.28);
}

.ai-card__content,
.ai-card-content {
  position: relative;
  z-index: 2;
  width: 58%;
  flex: 0 0 auto;
}

.ai-card-title {
  margin: 0 0 22px;
  font-size: clamp(40px, 3.4vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: visible;
}

.ai-card-sub,
.ai-card-subtitle {
  margin: 0 0 18px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.45;
  max-width: 560px;
  color: #14e8ff;
}

.ai-card-desc,
.ai-card-description {
  display: block;
  margin: 0 0 24px;
  max-width: 520px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.86);
}

.ai-card-cta {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 360px;
  max-width: 100%;
  height: 58px;
  min-height: 58px;
  margin: 0;
  margin-bottom: 28px !important;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #00152a;
  background: linear-gradient(135deg, #2ff2ff, #08aeea);
  border: 1px solid rgba(180, 245, 255, 0.55);
  box-shadow: 0 14px 34px rgba(0, 220, 255, 0.35);
  flex-shrink: 0;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.ai-card-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 220, 255, 0.45);
}

.ai-tools-box {
  position: relative;
  z-index: 3;
  margin-top: 24px !important;
  margin-bottom: 0;
  flex: 0 0 auto;
  flex-shrink: 0;
  padding: 18px 20px 20px;
  border-radius: 20px;
  background: rgba(1, 18, 42, 0.72);
  border: 1px solid rgba(49, 191, 255, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-tools-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

.ai-tool-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 12px;
}

.ai-tool-list span {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(49, 191, 255, 0.32);
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
}

/* 左右カード共通CTA（掲載カード：下寄せ） */
.top-dual__cta:not(.ai-card-cta) {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: auto;
  flex-shrink: 0;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 1.0625rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.top-dual__cta--gold {
  color: var(--top-navy);
  background: linear-gradient(180deg, #fff4d4 0%, #e8c96a 38%, var(--top-gold) 72%, #c9a227 100%);
  border: 1px solid rgba(255, 248, 220, 0.85);
  box-shadow:
    0 0 52px rgba(212, 175, 55, 0.55),
    0 0 28px rgba(232, 201, 106, 0.4),
    0 4px 0 rgba(255, 255, 255, 0.35) inset,
    0 16px 40px rgba(150, 118, 34, 0.32);
}

.top-dual__cta--gold:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
  box-shadow:
    0 0 64px rgba(212, 175, 55, 0.65),
    0 0 36px rgba(232, 201, 106, 0.48),
    0 4px 0 rgba(255, 255, 255, 0.4) inset,
    0 20px 44px rgba(150, 118, 34, 0.38);
}

.top-dual__heading {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 2.8vw, 1.875rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--top-navy);
}

.top-dual__heading--light {
  color: #fff;
}

.top-dual__sub {
  position: relative;
  z-index: 1;
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  line-height: 1.65;
  color: var(--color-text-muted);
}


.top-dual__mini-cards {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.top-dual__mini {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 0.5rem;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.top-dual__mini span:first-child {
  font-size: 1.5rem;
}

.top-dual__mini strong {
  font-size: 0.8125rem;
  color: var(--top-navy);
}

.top-dual__mini em {
  font-size: 1rem;
  font-weight: 800;
  font-style: normal;
  color: var(--top-gold-dark);
}

.top-dual__list {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.posting-card .top-dual__heading {
  margin-bottom: 0.65rem;
}

.posting-card .top-dual__sub {
  margin-bottom: 1.15rem;
}

.posting-card .top-dual__mini-cards {
  margin-bottom: 1.15rem;
}

.posting-card__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  flex: 1 1 auto;
  margin: 0 0 1rem;
  line-height: 1.55;
}

.posting-card__checks li {
  position: relative;
  padding: 11px 13px;
  border-radius: 14px;
  overflow: hidden;
  color: rgba(26, 39, 68, 0.9);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 248, 230, 0.92) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.45);
  box-shadow:
    0 6px 20px rgba(255, 215, 120, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -14px 28px rgba(232, 201, 106, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.posting-card__checks li::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    ellipse 130% 90% at 50% -10%,
    rgba(255, 255, 255, 0.65),
    transparent 58%
  );
  pointer-events: none;
}

.posting-card__checks li:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 215, 120, 0.62);
  box-shadow:
    0 10px 28px rgba(255, 215, 120, 0.22),
    0 4px 14px rgba(150, 118, 34, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -14px 28px rgba(232, 201, 106, 0.1);
}

.listing-card__audience {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  padding: 18px 18px 16px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    rgba(255, 245, 220, 0.94) 0%,
    rgba(252, 232, 188, 0.9) 48%,
    rgba(255, 250, 238, 0.92) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.5);
  box-shadow:
    0 10px 28px rgba(255, 215, 120, 0.16),
    0 4px 16px rgba(150, 118, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -18px 36px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.listing-card__audience::before {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(232, 201, 106, 0.35) 12%,
    rgba(255, 215, 120, 0.95) 50%,
    rgba(232, 201, 106, 0.35) 88%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(255, 215, 120, 0.45);
}

.listing-card__audience::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 55% at 50% 0%,
    rgba(255, 255, 255, 0.42),
    transparent 62%
  );
  pointer-events: none;
}

.listing-card__audience:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(255, 215, 120, 0.22),
    0 6px 18px rgba(150, 118, 34, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 -18px 36px rgba(212, 175, 55, 0.12);
}

.listing-card__audience-title {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--top-gold-dark);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 248, 230, 0.55) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.42);
  box-shadow:
    0 2px 10px rgba(255, 215, 120, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.listing-card__audience-list {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.listing-card__audience-list li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--top-navy);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 248, 232, 0.9) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.42);
  box-shadow:
    0 4px 14px rgba(255, 215, 120, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.listing-card__audience-list li:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 215, 120, 0.58);
  box-shadow:
    0 6px 18px rgba(255, 215, 120, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.listing-card__reassure {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.55;
  text-align: center;
  color: rgba(26, 39, 68, 0.72);
}

.top-dual__col--ai .top-dual__list {
  color: rgba(255, 255, 255, 0.85);
}

.top-dual__ai-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  flex: 1;
  margin-bottom: 1.75rem;
}

.top-dual__ai-grid h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  font-weight: 800;
  color: var(--top-neon);
  text-shadow: 0 0 12px rgba(0, 210, 255, 0.35);
}

.top-dual__ai-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(0.875rem, 1.3vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.top-btn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: auto;
  padding: 0 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.0625rem);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  transition: filter 0.2s, box-shadow 0.2s, transform 0.2s;
}

.top-btn--gold-wide {
  color: var(--top-navy);
  background: linear-gradient(135deg, #f5e6b8, var(--top-gold), #c9a227);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.top-btn--gold-wide:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.55);
  transform: translateY(-2px);
}

.top-btn--neon-wide {
  color: #fff;
  background: linear-gradient(135deg, #00b8e6, var(--top-neon), #7ee8ff);
  box-shadow:
    0 0 32px rgba(0, 210, 255, 0.65),
    0 4px 20px rgba(0, 100, 180, 0.35);
}

.top-btn--neon-wide:hover {
  box-shadow:
    0 0 48px rgba(0, 210, 255, 0.85),
    0 6px 24px rgba(0, 100, 180, 0.4);
  transform: translateY(-2px);
}

/* ── 検索（ファーストビュー末尾） ── */

.top-search {
  padding: 32px var(--top-section-x) 40px;
  background: #fff;
}

.top-visual-wrap > .top-search {
  margin-top: clamp(80px, 10vw, 120px);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 -16px 48px rgba(255, 255, 255, 0.55);
}

.top-search__inner {
  width: min(100%, 1180px);
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 0;
  text-align: center;
}

.top-search__form {
  display: flex;
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(26, 39, 68, 0.1);
}

.top-search__input {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  border: none;
  outline: none;
  border-radius: 999px;
  background: transparent;
}

.top-search__btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  margin: 0.1rem;
  padding: 0;
  color: var(--top-navy);
  background: linear-gradient(135deg, var(--top-gold-light), var(--top-gold));
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}

.top-search__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.top-search__tags a {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  background: var(--top-ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  transition: border-color 0.2s, color 0.2s;
}

.top-search__tags a:hover {
  color: var(--top-gold-dark);
  border-color: rgba(212, 175, 55, 0.35);
}

/* ── セクション共通 ── */

.top-section {
  padding-block: var(--top-section-y);
}

.top-categories-section {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--top-ivory);
}

.top-categories-section .top-section__head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.top-section__head {
  margin-bottom: 2rem;
  text-align: center;
}

.top-section__head--left {
  text-align: left;
}

.top-section__title {
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--top-navy);
}

.top-section__desc {
  margin-top: 0.6rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.top-section__more {
  margin-top: 2rem;
  text-align: center;
}

.top-section__more a {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--top-gold-dark);
}

/* ── カテゴリ ── */

.top-categories,
.category-list,
.category-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 1180px;
  margin-inline: auto;
}

.top-category-card,
.category-card {
  display: flex;
  flex: 0 0 200px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  height: 290px;
  min-height: 290px;
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 24px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.05),
    0 2px 10px rgba(212, 175, 55, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.top-category-card:hover,
.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.08),
    0 4px 20px rgba(212, 175, 55, 0.1);
}

.top-category-card__icon,
.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin: 0 0 14px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.top-category-card__icon svg,
.category-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  color: #d4a21f;
  fill: currentColor;
  stroke: none;
  filter:
    drop-shadow(0 4px 6px rgba(120, 80, 0, 0.22))
    drop-shadow(0 0 10px rgba(255, 210, 90, 0.32));
}

.category-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  text-align: center;
}

.top-category-card__label,
.category-title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #001f3f;
}

.top-category-card__sub,
.category-desc {
  margin: 0;
  flex: 1 1 auto;
  min-height: 54px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  color: #5f6773;
  text-align: center;
}

.top-category-card__link,
.category-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  color: #c99618;
  transition: transform 0.2s ease, color 0.2s ease;
}

.category-card:hover .category-link,
.top-category-card:hover .top-category-card__link {
  transform: translateX(4px);
}

/* カテゴリAI（ヒーロー .ai-card とは別） */
.top-categories .top-category-card--ai,
.top-categories .category-card.top-category-card--ai {
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(0, 180, 255, 0.18), transparent 35%),
    linear-gradient(180deg, #001f4d 0%, #001133 100%);
  border: 1px solid rgba(0, 180, 255, 0.28);
  box-shadow:
    0 0 24px rgba(0, 180, 255, 0.22),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.top-categories .top-category-card--ai:hover {
  box-shadow:
    0 0 32px rgba(0, 180, 255, 0.32),
    0 22px 48px rgba(0, 0, 0, 0.32);
}

.top-categories .top-category-card--ai .top-category-card__icon svg,
.top-categories .top-category-card--ai .category-icon svg,
.top-categories .category-icon-ai {
  width: 48px;
  height: 48px;
  color: #3de8ff;
  fill: currentColor;
  stroke: currentColor;
  filter:
    drop-shadow(0 0 12px rgba(61, 232, 255, 0.9))
    drop-shadow(0 0 28px rgba(53, 223, 255, 0.5));
}

.top-categories .top-category-card--ai .category-icon svg circle {
  fill: #5ee9ff;
}

.top-categories .top-category-card--ai .category-icon svg path {
  fill: none;
  stroke: #3de8ff;
  stroke-width: 2.2;
}

.top-categories .top-category-card--ai .category-icon svg text {
  fill: #5ee9ff;
}

.top-categories .top-category-card--ai .top-category-card__label,
.top-categories .top-category-card--ai .category-title,
.top-categories .top-category-card--ai .top-category-card__sub,
.top-categories .top-category-card--ai .category-desc,
.top-categories .top-category-card--ai .top-category-card__link,
.top-categories .top-category-card--ai .category-link {
  color: #fff;
}

/* 7カテゴリ（TOP「カテゴリから探す」専用） */
.top-categories-section .top-categories,
.top-categories-section .category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  gap: 18px;
  max-width: min(100%, 1540px);
  margin-inline: auto;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.top-categories-section .top-category-card,
.top-categories-section .category-card {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  width: auto;
  min-width: 0;
  max-width: none;
  height: 260px;
  min-height: 260px;
  padding: 22px 16px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fffaf0 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.05),
    0 2px 10px rgba(212, 175, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.top-categories-section .top-category-card:hover,
.top-categories-section .category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.32);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

.top-categories-section .top-category-card--business {
  background: linear-gradient(180deg, #ffffff 0%, #effff8 100%);
}

.top-categories-section .top-category-card--shop {
  background: linear-gradient(180deg, #ffffff 0%, #fff8ec 100%);
}

.top-categories-section .top-category-card__icon,
.top-categories-section .category-icon {
  width: 58px;
  height: 58px;
  margin: 0 0 12px;
  border-radius: 50%;
  background: rgba(216, 169, 58, 0.1);
  box-shadow: 0 8px 24px rgba(216, 169, 58, 0.16);
}

.top-categories-section .top-category-card__icon svg,
.top-categories-section .category-icon svg {
  width: 34px;
  height: 34px;
}

.top-categories-section .category-card-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 0;
}

.top-categories-section .top-category-card__sub,
.top-categories-section .category-desc {
  flex: 0 0 auto;
  min-height: 0;
  margin-bottom: 8px;
}

.top-categories-section .top-category-card__label,
.top-categories-section .category-title {
  margin-bottom: 8px;
}

.top-categories-section .top-category-card--business .category-title,
.top-categories-section .top-category-card--business .top-category-card__label {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.top-categories-section .top-category-card__link,
.top-categories-section .category-link {
  margin-top: auto;
  padding-top: 4px;
}

.top-categories-section .top-category-card--ai {
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 200, 255, 0.22), transparent 42%),
    linear-gradient(180deg, #001f4d 0%, #001133 100%);
  border: 1px solid rgba(0, 180, 255, 0.32);
  box-shadow:
    0 0 28px rgba(0, 180, 255, 0.26),
    0 12px 32px rgba(0, 0, 0, 0.24);
}

.top-categories-section .top-category-card--ai:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(0, 180, 255, 0.22),
    0 0 40px rgba(0, 180, 255, 0.3);
}

.top-categories-section .top-category-card--ai .top-category-card__icon,
.top-categories-section .top-category-card--ai .category-icon {
  background: rgba(50, 220, 255, 0.12);
  box-shadow: 0 8px 24px rgba(50, 220, 255, 0.2);
}

@media (max-width: 1100px) {
  .top-categories-section .top-categories,
  .top-categories-section .category-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
  }

  .top-categories-section .top-category-card,
  .top-categories-section .category-card {
    flex: 0 0 180px;
    width: 180px;
    min-width: 180px;
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .top-categories-section .top-categories,
  .top-categories-section .category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    overflow-x: visible;
    padding: 0 0 8px;
    scroll-snap-type: none;
  }

  .top-categories-section .top-category-card,
  .top-categories-section .category-card {
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: auto;
    min-height: 248px;
    scroll-snap-align: none;
  }
}

/* ── ランキング（4種・カルーセル） ── */

.top-ranking {
  padding-block: 72px;
  background: #fff;
}

.top-ranking + .top-ranking {
  margin-top: 64px;
}

.top-ranking__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.top-ranking__more {
  flex-shrink: 0;
  font-size: clamp(0.9375rem, 1.4vw, 1rem);
  font-weight: 700;
  color: var(--top-gold-dark);
  text-decoration: none;
  white-space: nowrap;
}

.top-ranking__more:hover {
  color: var(--top-navy);
}

.top-ranking__carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.top-ranking__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-text-muted);
  background: #f4f3f0;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.top-ranking__arrow:hover {
  color: var(--top-navy);
  background: #fff;
  border-color: rgba(212, 175, 55, 0.35);
}

.top-ranking__track,
.ranking-slider {
  display: flex;
  gap: 18px;
  min-width: 0;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.top-ranking__track::-webkit-scrollbar {
  display: none;
}

.top-mini-rank,
.ranking-card {
  position: relative;
  display: flex;
  flex: 0 0 228px;
  flex-direction: column;
  gap: 0;
  width: 228px;
  min-width: 228px;
  max-width: 228px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.16);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.07),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  scroll-snap-align: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.top-mini-rank:hover,
.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.11),
    0 0 0 1px rgba(255, 255, 255, 0.75) inset;
}

.top-mini-rank__badge,
.ranking-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 12px;
  font-weight: 900;
  color: #001f3f;
  background: linear-gradient(135deg, #f8dc6a, #c99618);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(201, 150, 24, 0.35);
}

.top-mini-rank__badge[data-rank="2"],
.top-mini-rank:nth-child(2) .top-mini-rank__badge {
  background: linear-gradient(135deg, #f0f0f0, #b8b8b8);
}

.top-mini-rank__badge[data-rank="3"],
.top-mini-rank:nth-child(3) .top-mini-rank__badge {
  background: linear-gradient(135deg, #e8c4a0, #b87333);
  color: #fff;
}

.top-mini-rank:nth-child(n + 4) .top-mini-rank__badge {
  background: linear-gradient(135deg, #5a6478, #3d4656);
  color: #fff;
}

.top-mini-rank__thumb,
.ranking-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  background: #f4f1e8;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.top-mini-rank__thumb img,
.ranking-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-body {
  display: flex;
  flex-direction: column;
  padding: 12px 12px 14px;
}

.top-mini-rank__title,
.ranking-title {
  display: -webkit-box;
  margin: 0 0 8px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
  color: #001f3f;
}

.top-mini-rank__meta,
.ranking-meta {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #6b7280;
}

.top-mini-rank__price,
.ranking-price {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: #b8860b;
}

/* ── LINEサポート・通知 ── */

.top-line-support {
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--top-section-x);
  background: #fff;
}

.top-line-support__panel {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px);
  border-radius: 30px;
  background: linear-gradient(180deg, #f7fbf8 0%, #eef8f2 100%);
  border: 1px solid rgba(0, 180, 90, 0.1);
  box-shadow: 0 18px 40px rgba(20, 40, 30, 0.06);
}

.top-line-support__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.top-line-support__intro {
  flex: 1;
  min-width: 0;
}

.top-line-support__title {
  margin: 0;
  font-size: clamp(1.625rem, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #061a33;
}

.top-line-support__sub {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #5f6f66;
}

.top-line-support__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 64px;
  padding: 0 34px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(180deg, #25d366, #10b94f);
  box-shadow:
    0 14px 30px rgba(37, 211, 102, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}

.top-line-support__cta-icon {
  flex-shrink: 0;
}

.top-line-support__cta:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(37, 211, 102, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
}

.top-line-support__cards {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.top-line-support__card {
  min-width: 0;
  min-height: 110px;
  padding: 20px 18px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 180, 90, 0.1);
  box-shadow: 0 10px 24px rgba(20, 40, 30, 0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.top-line-support__card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 180, 90, 0.18);
  box-shadow: 0 14px 28px rgba(20, 40, 30, 0.08);
}

.top-line-support__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: #10b94f;
}

.top-line-support__icon {
  width: 32px;
  height: 32px;
}

.top-line-support__card-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  color: #0d7a42;
}

.top-line-support__card-desc {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: #5f6f66;
}

@media (max-width: 1100px) {
  .top-line-support__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-line-support__head {
    flex-direction: column;
    align-items: stretch;
  }

  .top-line-support__cta {
    width: 100%;
    height: 56px;
    font-size: 16px;
  }

  .top-line-support__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-line-support__card {
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .top-line-support__panel {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .top-line-support__cards {
    grid-template-columns: 1fr;
  }
}

/* ── 高級SaaSフッター ── */

.top-site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 96px) var(--top-section-x) 36px;
  background: linear-gradient(180deg, #071427 0%, #020817 100%);
  color: #fff;
  font-family: "Noto Sans JP", var(--font-sans);
  --footer-gold: #f6d36b;
  --footer-gold-glow: rgba(246, 211, 107, 0.45);
  --footer-gold-glow-soft: rgba(246, 180, 40, 0.25);
}

.top-site-footer::before,
.top-site-footer::after {
  content: "";
  position: absolute;
  bottom: 80px;
  width: min(360px, 42vw);
  height: 2px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 120, 0),
    rgba(255, 215, 120, 0.75),
    rgba(0, 180, 255, 0.25),
    rgba(255, 215, 120, 0)
  );
  filter: blur(1px);
  opacity: 0.75;
  box-shadow: 0 0 16px rgba(255, 215, 120, 0.35);
}

.top-site-footer::before {
  left: 0;
  transform: rotate(18deg);
  transform-origin: left center;
}

.top-site-footer::after {
  right: 0;
  transform: rotate(-18deg);
  transform-origin: right center;
}

.top-site-footer__fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.top-site-footer__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}

.top-site-footer__glow--gold {
  left: -8%;
  bottom: -20%;
  width: min(520px, 55vw);
  height: min(320px, 40vw);
  background: radial-gradient(
    circle,
    rgba(246, 211, 107, 0.28) 0%,
    rgba(212, 175, 55, 0.14) 42%,
    transparent 68%
  );
  opacity: 0.55;
}

.top-site-footer__glow--blue {
  right: -6%;
  bottom: -18%;
  width: min(480px, 50vw);
  height: min(300px, 38vw);
  background: radial-gradient(circle, rgba(0, 140, 255, 0.16) 0%, transparent 70%);
}

.top-site-footer__lines {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 47px,
    rgba(255, 215, 120, 0.06) 47px,
    rgba(255, 215, 120, 0.06) 48px
  );
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%);
}

.top-site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin-inline: auto;
}

.top-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(20px, 2.5vw, 36px);
  margin-bottom: clamp(40px, 5vw, 56px);
}

.top-site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
}

.top-site-footer__logo-spark,
.top-site-footer .footer-gold,
.top-site-footer .footer-icon {
  color: var(--footer-gold);
  filter:
    drop-shadow(0 0 8px var(--footer-gold-glow))
    drop-shadow(0 0 18px var(--footer-gold-glow-soft));
}

.top-site-footer__tagline {
  margin: 0 0 28px;
  max-width: 22em;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.top-site-footer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.top-site-footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s, border-color 0.2s, color 0.2s;
}

.top-site-footer__btn--gold,
.top-site-footer .footer-cta {
  color: #061a33;
  background: linear-gradient(135deg, #f8df8a 0%, #c8911f 52%, #f6d36b 100%);
  border: 1px solid rgba(255, 235, 170, 0.55);
  box-shadow:
    0 0 18px rgba(246, 211, 107, 0.35),
    0 10px 28px rgba(212, 175, 55, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 8px rgba(184, 132, 31, 0.25);
}

.top-site-footer__btn--gold:hover,
.top-site-footer .footer-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    0 0 26px rgba(246, 211, 107, 0.48),
    0 14px 34px rgba(212, 175, 55, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 8px rgba(184, 132, 31, 0.3);
}

.top-site-footer__btn--outline {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(7, 20, 39, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 0 24px rgba(0, 100, 200, 0.08);
}

.top-site-footer__btn--outline:hover {
  border-color: rgba(212, 175, 55, 0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.15);
}

.top-site-footer__social-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--footer-gold);
  text-shadow:
    0 0 8px var(--footer-gold-glow),
    0 0 18px var(--footer-gold-glow-soft);
}

.top-site-footer__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--footer-gold);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 215, 120, 0.06) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.32);
  box-shadow:
    0 0 12px rgba(246, 211, 107, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  filter: drop-shadow(0 0 6px rgba(246, 211, 107, 0.2));
  transition: transform 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, filter 0.2s;
}

.top-site-footer__social-link:hover {
  color: #fff6d4;
  border-color: rgba(255, 215, 120, 0.55);
  transform: translateY(-3px);
  box-shadow:
    0 0 18px rgba(246, 211, 107, 0.35),
    0 8px 22px rgba(212, 175, 55, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: drop-shadow(0 0 10px rgba(246, 211, 107, 0.4));
}

.top-site-footer__col-title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  border-bottom: none;
}

.top-site-footer__col-title::after,
.top-site-footer .footer-divider,
.top-site-footer .footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 120, 0),
    rgba(255, 215, 120, 0.85),
    rgba(255, 215, 120, 0)
  );
  box-shadow: 0 0 12px rgba(255, 215, 120, 0.45);
}

.top-site-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-site-footer__links li + li {
  margin-top: 10px;
}

.top-site-footer__links a {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
}

.top-site-footer__links a:hover {
  color: #fff;
  transform: translateX(4px);
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.35);
}

.top-site-footer__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(36px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px) clamp(20px, 3vw, 36px);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 215, 120, 0.22);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(255, 215, 120, 0.08),
    inset 0 1px 0 rgba(255, 215, 120, 0.12);
}

.top-site-footer__trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}

.top-site-footer__trust-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--footer-gold);
  background: linear-gradient(
    165deg,
    rgba(255, 215, 120, 0.14) 0%,
    rgba(255, 215, 120, 0.04) 100%
  );
  border: 1px solid rgba(255, 215, 120, 0.35);
  box-shadow:
    0 0 14px rgba(246, 211, 107, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  filter:
    drop-shadow(0 0 8px var(--footer-gold-glow))
    drop-shadow(0 0 14px var(--footer-gold-glow-soft));
}

.top-site-footer__trust-icon svg {
  width: 32px;
  height: 32px;
}

.top-site-footer__trust-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.top-site-footer__trust-item p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.top-site-footer__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 28px;
  border-top: none;
}

.top-site-footer__bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 215, 120, 0),
    rgba(255, 215, 120, 0.55),
    rgba(255, 215, 120, 0)
  );
  box-shadow: 0 0 10px rgba(255, 215, 120, 0.3);
}

.top-site-footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.top-site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 20px;
}

.top-site-footer__legal a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.top-site-footer__legal a:hover {
  color: rgba(212, 175, 55, 0.95);
}

.top-site-footer__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.top-site-footer__lang:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
}

.top-site-footer__lang-chev {
  opacity: 0.7;
}

@media (max-width: 1100px) {
  .top-site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-site-footer__brand {
    grid-column: 1 / -1;
    max-width: 420px;
  }

  .top-site-footer__trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-site-footer {
    padding-top: 64px;
  }

  .top-site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .top-site-footer__brand {
    max-width: none;
  }

  .top-site-footer__btn {
    width: 100%;
  }

  .top-site-footer__trust {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .top-site-footer__bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .top-site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ── レスポンシブ ── */

@media (max-width: 1100px) {
  .top-categories,
  .category-list,
  .category-grid {
    max-width: none;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-categories::-webkit-scrollbar,
  .category-grid::-webkit-scrollbar {
    display: none;
  }

  .top-category-card,
  .category-card {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    height: 290px;
    min-height: 290px;
    scroll-snap-align: start;
  }

  .top-strengths,
  .hero-feature-list {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  :root {
    --top-header-h: 76px;
  }

  .top-site-header__nav {
    display: none;
  }

  .top-site-header__logo {
    font-size: 1.0625rem;
  }

  .top-site-header__cta {
    padding: 12px 22px;
    font-size: 0.875rem;
  }

  .top-dual__inner {
    grid-template-columns: 1fr;
  }

  .top-dual__col {
    min-height: 0;
  }

  .top-visual-wrap > .top-search {
    margin-top: clamp(64px, 8vw, 96px);
    padding-top: clamp(40px, 5vw, 56px);
  }

  .top-ranking {
    padding-block: 56px;
  }

  .top-ranking + .top-ranking {
    margin-top: 48px;
  }

  .top-ranking__track,
  .ranking-slider {
    gap: 18px;
  }

  .top-mini-rank,
  .ranking-card {
    flex: 0 0 228px;
    width: 228px;
    min-width: 228px;
    max-width: 228px;
  }

  .top-hero.hero-section {
    padding: clamp(56px, 8vw, 72px) 16px clamp(40px, 6vw, 52px);
  }

  .hero-maincopy,
  .top-hero__tagline-main {
    font-size: clamp(1.625rem, 4.2vw, 2rem);
    white-space: normal;
  }

  .feature-card-wrap,
  .top-strengths,
  .hero-feature-list {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
  }

  .hero-feature-card,
  .top-strength {
    flex: 1 1 calc(50% - 6px);
    width: auto;
    min-width: 168px;
    max-width: 190px;
    min-height: 72px;
  }

  .top-dual__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    width: 100%;
    max-width: 100%;
  }

  .top-dual__col,
  .posting-card,
  .ai-card {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    height: auto;
  }

  .posting-card,
  .top-dual__col.listing-card {
    padding: clamp(1.75rem, 4vw, 2.125rem);
  }

}

@media (min-width: 901px) and (max-width: 1328px) {
  .top-dual__inner {
    grid-template-columns: 1fr 1.18fr;
    gap: 48px;
    max-width: 100%;
  }

  .ai-card__content,
  .ai-card-content {
    width: 62%;
  }
}

@media (max-width: 1024px) {
  .top-pillar-grid.hero-main-cards {
    grid-template-columns: 1fr;
  }

  .top-pillar-card,
  .top-pillar-card--ai.ai-card {
    min-height: 0;
  }

  .top-pillar-btn {
    max-width: none;
  }

  .top-pillar-card__body {
    grid-template-columns: 1fr;
  }

  .top-pillar-card__price {
    max-width: none;
  }

  .top-pillar-ai__main {
    display: block;
    max-width: 100%;
    min-height: auto;
  }

  .top-pillar-ai__tools {
    padding-right: 0;
  }

  .top-pillar-ai__foot {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .top-pillar-card__list--ai {
    justify-self: start;
  }

  .top-pillar-tags {
    grid-template-columns: 1fr;
  }

  .top-trust-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(0, 27, 61, 0.08);
    padding: 12px 20px;
  }

  .top-trust-bar__item:last-child {
    border-bottom: none;
  }

  .top-pillar-cats--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-pillar-biz-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-trust-bar {
    grid-template-columns: 1fr;
  }

  .top-stats-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-stats-bar__item:nth-child(2) {
    border-right: none;
  }

  .top-stats-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    margin-bottom: 4px;
  }

  .top-stats-bar__item:nth-last-child(-n + 2) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .top-pillar-card__actions,
  .top-pillar-card__actions--ai {
    grid-template-columns: 1fr;
  }

  .top-pillar-tag {
    font-size: 11px;
    min-height: 40px;
  }

  .posting-card__checks {
    grid-template-columns: 1fr;
  }

  .top-dual__col.listing-card {
    height: auto;
    max-height: none;
  }

  .top-dual__ai-col,
  .top-dual__ai-stack {
    min-height: 0;
  }

  .top-dual__col.listing-card,
  .ai-card {
    height: auto;
    min-height: 0;
    max-height: none;
    transform: none;
  }

  .ai-card__content,
  .ai-card-content {
    width: 100%;
    padding-right: 0;
  }

  .ai-tools-box {
    padding: 16px;
  }

  .ai-tool-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-main-cards,
  .top-dual {
    margin-top: 48px;
    margin-bottom: 72px;
    padding: 0 24px 72px;
  }

  .ai-card-title {
    white-space: normal;
    font-size: clamp(2rem, 6vw, 2.75rem);
  }

  .ai-card-sub,
  .ai-card-subtitle {
    font-size: 1.25rem;
    max-width: 100%;
  }

  .ai-card-desc,
  .ai-card-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .ai-card-cta {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .ai-tool-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --top-header-h: 68px;
  }

  .top-site-header__inner {
    padding: 0.5rem clamp(1rem, 4vw, 1.25rem);
  }

  .top-site-header__logo {
    font-size: 1rem;
  }

  .top-site-header__cta {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }

  /* SP: ロゴ + ログイン/登録 CTA がビューポートをはみ出さない（index-top 横スクロール対策） */
  .top-portal-header .top-site-header__inner {
    gap: 0.5rem;
    min-width: 0;
  }

  .top-portal-header .tasful-ai-logo {
    min-width: 0;
    flex-shrink: 1;
    gap: 8px;
  }

  .top-portal-header .tasful-ai-logo-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .top-portal-header .tasful-ai-logo-text .main {
    font-size: clamp(22px, 6vw, 28px);
  }

  .top-portal-header__actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .top-portal-header__login {
    padding: 7px 10px;
    font-size: 0.75rem;
  }

  .top-portal-header .top-portal-header__register,
  .top-portal-header .top-site-header__cta.top-portal-header__register {
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .top-visual-wrap > .top-search {
    margin-top: 56px;
    padding-top: 36px;
  }

  .top-ranking {
    padding-block: 48px;
  }

  .top-ranking + .top-ranking {
    margin-top: 40px;
  }

  .top-hero.hero-section {
    padding: 56px 16px 40px;
  }

  .hero-copy-wrap,
  .top-hero__tagline {
    margin: 20px auto 24px;
    max-width: 100%;
  }

  .hero-subcopy,
  .top-hero__tagline-lead {
    font-size: 1.125rem;
    margin-bottom: 10px;
  }

  .hero-maincopy,
  .top-hero__tagline-main {
    font-size: clamp(1.5rem, 7vw, 1.75rem);
    line-height: 1.2;
    white-space: normal;
  }

  .feature-card-wrap,
  .top-strengths,
  .hero-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .hero-feature-card,
  .top-strength {
    flex: none;
    width: 100%;
    max-width: none;
    min-height: 68px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .top-dual__mini-cards {
    flex-direction: column;
  }

  .top-ranking__arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-feature-card:hover,
  .top-strength:hover,
  .ai-card-cta:hover,
  .top-category-card:hover,
  .top-line-support__card:hover,
  .top-line-support__cta:hover,
  .top-site-footer__btn:hover,
  .top-site-footer__social-link:hover,
  .top-site-footer__links a:hover {
    transition: none;
    transform: none;
  }
}

/* ==========================================================================
   index-top ポータル — 参考画像寸法（HTML構造は変更しない）
   ========================================================================== */

body.top-page:has(.top-portal-hero) {
  --top-header-h: 80px;
  --top-portal-max: min(1920px, 100% - 32px);
  --top-pillar-min-h: 620px;
  --top-pillar-gap: 28px;
  --top-pillar-pad-y: 22px;
  --top-pillar-pad-x: 26px;
  --top-pillar-icon-lg: 68px;
}

body.top-page:has(.top-portal-hero) .top-site-header__inner,
body.top-page:has(.top-portal-hero) .top-portal-hero__inner,
body.top-page:has(.top-portal-hero) .top-portal-hero__inner.top-page__inner {
  width: min(100% - 32px, 1920px);
  max-width: 1920px;
}

body.top-page:has(.top-portal-hero) .top-portal-header__nav a {
  font-size: 0.9rem;
  font-weight: 600;
}

body.top-page:has(.top-portal-hero) .top-portal-hero {
  padding: 28px 0 32px;
}

body.top-page:has(.top-portal-hero) .top-portal-hero__inner {
  gap: 20px;
  padding: 0 16px 0;
}

body.top-page:has(.top-portal-hero) .top-portal-hero__inner.top-page__inner {
  padding-inline: 16px;
}

body.top-page:has(.top-portal-hero) .top-portal-hero__title {
  font-size: clamp(34px, 4.2vw, 48px);
  margin-bottom: 12px;
}

body.top-page:has(.top-portal-hero) .top-portal-hero__lead {
  font-size: clamp(15px, 1.5vw, 22px);
}

body.top-page:has(.top-portal-hero) .top-pillar-grid.hero-main-cards {
  gap: 28px;
}

@media (min-width: 1025px) {
  body.top-page:has(.top-portal-hero) .top-pillar-card,
  body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card {
    min-height: 620px;
    height: 620px;
    max-height: 620px;
  }
}

body.top-page:has(.top-portal-hero) .top-pillar-card {
  padding: 22px 26px 20px;
  border-radius: 24px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-cats--row,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-biz-grid {
  margin: 16px 0 14px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-cat__icon {
  width: 74px;
  height: 74px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-cat__icon svg {
  width: 33px;
  height: 33px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-cat__label {
  font-size: 12px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-biz__icon {
  width: 52px;
  height: 52px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-biz__icon svg {
  width: 26px;
  height: 26px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-biz__label {
  font-size: 11px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__body {
  margin-top: auto;
  margin-bottom: 12px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-card__price,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-card__price--teal {
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  min-height: 118px;
  padding: 14px 16px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-card__price-value {
  font-size: 48px;
  color: #ea580c;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-card__price-value {
  font-size: 48px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__actions {
  margin-top: 0;
  padding-top: 0;
}

/* AIカード — 背景画像・下部ボタン固定 */
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card {
  padding: 22px 26px 20px;
  border-radius: 24px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__head--ai {
  margin-bottom: 10px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card > .top-pillar-card__badge,
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card > .top-pillar-card__head,
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card > .top-pillar-ai__main,
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card > .top-pillar-ai__foot,
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card > .top-pillar-card__actions {
  position: relative;
  z-index: 3;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__main {
  display: block;
  max-width: 50%;
  min-height: 0;
  margin: 8px 0 14px;
  flex: 1 1 auto;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__tools {
  width: min(100%, 292px);
  gap: 8px 7px;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__foot {
  margin-top: auto;
  margin-bottom: 14px;
  gap: 16px 18px;
  position: relative;
  z-index: 3;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__plan-box {
  width: 200px;
  min-height: 130px;
  padding: 16px 18px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__actions--ai {
  margin-top: 6px;
  position: relative;
  z-index: 4;
}

/* 安心バー */
body.top-page:has(.top-portal-hero) .top-trust-bar {
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(99, 102, 241, 0.08),
    0 6px 20px rgba(15, 23, 42, 0.05);
}

body.top-page:has(.top-portal-hero) .top-trust-bar__item {
  min-height: 90px;
  height: 90px;
  padding: 0 24px;
  gap: 14px;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__icon svg {
  width: 22px;
  height: 22px;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__item strong {
  font-size: 17px;
  font-weight: 800;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__item p {
  font-size: 13px;
  font-weight: 600;
}

/* 実績バー — 4列横並び・アイコン左 */
body.top-page:has(.top-portal-hero) .top-stats-bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  min-height: 150px;
  padding: 28px 36px;
  border-radius: 30px;
  background: linear-gradient(152deg, #0e203e 0%, #091630 45%, #060e22 100%);
  box-shadow:
    0 14px 40px rgba(2, 8, 23, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

body.top-page:has(.top-portal-hero) .top-stats-bar__item {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  align-content: center;
  align-self: stretch;
  min-height: 96px;
  padding: 8px 12px;
  text-align: left;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: none;
  margin: 0;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__item:last-child {
  border-right: none;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__icon {
  grid-column: 1;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: center;
  width: 76px;
  height: 76px;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__icon svg {
  width: 76px;
  height: 76px;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__glyph {
  filter: drop-shadow(0 0 6px rgba(192, 132, 252, 0.7)) drop-shadow(0 0 12px rgba(56, 189, 248, 0.4));
}

body.top-page:has(.top-portal-hero) .top-stats-bar__label {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.92);
  text-align: left;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__value {
  grid-column: 2;
  grid-row: 2;
  margin: 0 0 3px;
  font-size: clamp(36px, 2.75vw, 48px);
  font-weight: 900;
  line-height: 1.02;
  color: #fff;
  letter-spacing: 0.01em;
  text-align: left;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__value small {
  color: #fff;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__delta {
  grid-column: 2;
  grid-row: 3;
  font-size: 13px;
  font-weight: 700;
  color: #86efac;
  text-align: left;
}

@media (max-width: 1024px) {
  body.top-page:has(.top-portal-hero) .top-pillar-card,
  body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  body.top-page:has(.top-portal-hero) .top-pillar-ai__main {
    max-width: 100%;
  }

  body.top-page:has(.top-portal-hero) .top-stats-bar {
    display: flex;
    flex-wrap: wrap;
  }

  body.top-page:has(.top-portal-hero) .top-stats-bar__item {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  body.top-page:has(.top-portal-hero) .top-stats-bar__item:nth-child(2n) {
    border-right: none;
  }

  body.top-page:has(.top-portal-hero) .top-stats-bar__item:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

/* ==========================================================================
   index-top 仕上げ — 参考画像との位置・余白・文字（微調整のみ）
   ========================================================================== */

/* 【1】AIカード */
body.top-page:has(.top-portal-hero) .top-pillar-card--ai.ai-card {
  background-position: 0 0, 100% 0%, 0 0;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--ai .top-pillar-card__badge {
  margin-top: 6px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__head--ai {
  margin-top: 2px;
  margin-bottom: 14px;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__main {
  margin: 12px 0 10px;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__foot {
  align-items: start;
  margin-bottom: 10px;
  gap: 12px 16px;
}

body.top-page:has(.top-portal-hero) .top-pillar-ai__plan-box {
  align-self: end;
  margin-top: auto;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__list--ai {
  align-self: start;
  justify-self: end;
  margin-top: 4px;
  padding-top: 0;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__actions--ai {
  margin-top: 4px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__actions--ai .top-pillar-btn {
  min-height: 52px;
  height: 52px;
  font-size: 15px;
}

/* 【2】左・中カード */
body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-card__badge,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-card__badge {
  margin-top: 4px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-card__head,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-card__head {
  margin-top: 2px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-cats--row,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-biz-grid {
  margin: 20px 0 12px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card__body {
  margin-bottom: 8px;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-card__actions,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-card__actions {
  margin-top: 0;
}

body.top-page:has(.top-portal-hero) .top-pillar-card--general .top-pillar-btn,
body.top-page:has(.top-portal-hero) .top-pillar-card--business .top-pillar-btn {
  min-height: 52px;
  height: 52px;
}

/* 【3】安心バー */
body.top-page:has(.top-portal-hero) .top-trust-bar__item {
  min-height: 96px;
  height: 96px;
  align-items: center;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__icon {
  width: 48px;
  height: 48px;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__icon svg {
  width: 24px;
  height: 24px;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__item strong {
  font-size: 18px;
  font-weight: 900;
}

body.top-page:has(.top-portal-hero) .top-trust-bar__item p {
  font-size: 14px;
  font-weight: 700;
}

/* 【4】実績バー */
body.top-page:has(.top-portal-hero) .top-stats-bar {
  min-height: 152px;
  padding: 26px 34px;
  align-items: stretch;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__item {
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 3px;
  align-content: center;
  min-height: 100%;
  padding: 10px 14px;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__icon {
  width: 80px;
  height: 80px;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__icon svg {
  width: 80px;
  height: 80px;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__label {
  margin: 0 0 5px;
  font-size: 15px;
}

body.top-page:has(.top-portal-hero) .top-stats-bar__value {
  margin: 0 0 4px;
  font-size: clamp(38px, 2.85vw, 50px);
}

body.top-page:has(.top-portal-hero) .top-stats-bar__delta {
  font-size: 13px;
  line-height: 1.3;
}

/* UI smoke P2: フッター高さ — コピー・法務バーを前面に（折りたたみ） */
body.top-page .top-site-footer__grid,
body.top-page .top-site-footer__trust {
  display: none;
}

body.top-page .top-site-footer {
  padding: 24px var(--top-section-x) 20px;
}

body.top-page .top-site-footer__bar {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.top-page .top-site-footer__bar::before {
  display: none;
}
