/* ============================================
   know-vance.com — トップページ専用CSS
   カラーテーマ: ディープネイビー × ゴールド
   ============================================ */

:root {
  --color-main:      #1B3F7A;
  --color-main-dark: #0D1F3C;
  --color-main-light:#EBF0F8;
  --color-cta:       #C9922D;
  --color-cta-hover: #A8751F;
  --color-cta-soft:  #F5E9D4;
  --shadow-cta: 0 8px 20px rgba(201,146,45,.30), 0 2px 4px rgba(201,146,45,.18);
}

/* ヘッダーロゴマーク色を上書き */
.site-header__logo-mark {
  background: linear-gradient(135deg, #1B3F7A 0%, #0D1F3C 100%);
  box-shadow: 0 2px 6px rgba(13,31,60,.30);
}
.site-header__logo-jp {
  background: linear-gradient(135deg, #1B3F7A 0%, #0D1F3C 100%);
  box-shadow: 0 2px 6px rgba(13,31,60,.20);
}
.site-header__logo-brand small { color: #1B3F7A; }

/* ====================================================
   ヒーローセクション
   ==================================================== */
.top-hero-v2 {
  background: linear-gradient(145deg, #0D1F3C 0%, #162D55 50%, #1B3F7A 100%);
  padding: 96px 20px 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.top-hero-v2::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 10%, rgba(201,146,45,.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255,255,255,.06), transparent 60%);
  pointer-events: none;
}
.top-hero-v2__inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
}
.top-hero-v2__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 800; letter-spacing: .18em;
  color: #C9922D;
  background: rgba(201,146,45,.12);
  border: 1px solid rgba(201,146,45,.35);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 22px;
}
.top-hero-v2__eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #C9922D;
  box-shadow: 0 0 0 3px rgba(201,146,45,.25);
}
.top-hero-v2__title {
  font-size: 3rem; font-weight: 900;
  line-height: 1.25; letter-spacing: -.03em;
  margin-bottom: 22px;
  color: #fff;
}
.top-hero-v2__title em {
  font-style: normal;
  color: #F5C84B;
  position: relative;
}
.top-hero-v2__lead {
  font-size: 1.0625rem; color: #B8C9E0;
  line-height: 1.85; max-width: 600px;
  margin: 0 auto 36px;
}
.top-hero-v2__cta-row {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 44px;
}
.btn-cta--gold {
  background: linear-gradient(180deg, #E0A835 0%, #C9922D 100%);
  box-shadow: 0 8px 24px rgba(201,146,45,.40);
}
.btn-cta--gold:hover {
  background: linear-gradient(180deg, #EAB840 0%, #D4A030 100%);
  box-shadow: 0 12px 32px rgba(201,146,45,.50);
}
.btn-secondary--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.40);
}
.btn-secondary--outline-white:hover {
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* 信頼バー（ヒーロー下部） */
.trust-bar-v2 {
  display: flex; gap: 28px; justify-content: center; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem; color: #7B9DBF;
}
.trust-bar-v2__item {
  display: flex; align-items: center; gap: 8px; font-weight: 600;
}
.trust-bar-v2__item b {
  font-family: "Manrope", sans-serif;
  color: #fff; font-size: 1.125rem; font-weight: 800;
}

/* サイトの想い（課題提起） */
.pain-section {
  background: #F8F9FC;
  padding: 72px 20px;
}
.pain-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.pain-card {
  background: #fff;
  border: 1px solid #E5EAF2;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #1B3F7A 0%, #C9922D 100%);
}
.pain-card__icon {
  font-size: 2.25rem;
  margin-bottom: 14px;
  line-height: 1;
}
.pain-card__title {
  font-size: 1rem; font-weight: 800; color: #0D1F3C;
  margin-bottom: 8px;
}
.pain-card__text {
  font-size: .875rem; color: #64748B; line-height: 1.75;
}

/* ====================================================
   商材カードセクション
   ==================================================== */
.category-section {
  padding: 80px 20px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.category-card {
  border: 1.5px solid #E5EAF2;
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  background: #fff;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
}
.category-card--active {
  border-color: #1B3F7A;
  box-shadow: 0 8px 24px rgba(27,63,122,.12), 0 1px 2px rgba(0,0,0,.04);
}
.category-card--active:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(27,63,122,.18);
  border-color: #C9922D;
}
.category-card--coming {
  opacity: .65;
  cursor: default;
}
.category-card__badge {
  position: absolute; top: 12px; right: 12px;
  font-size: .625rem; font-weight: 800; letter-spacing: .08em;
  padding: 3px 9px; border-radius: 999px;
}
.category-card__badge--new {
  background: #C9922D; color: #fff;
}
.category-card__badge--soon {
  background: #EBF0F8; color: #64748B;
}
.category-card__icon {
  font-size: 2.5rem; margin-bottom: 16px; line-height: 1;
}
.category-card__name {
  font-size: 1rem; font-weight: 800; color: #0D1F3C;
  margin-bottom: 6px; line-height: 1.4;
}
.category-card__desc {
  font-size: .8125rem; color: #64748B; line-height: 1.65;
  margin-bottom: 18px; flex: 1;
}
.category-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8125rem; font-weight: 700;
  padding: 9px 20px; border-radius: 999px;
  background: linear-gradient(180deg, #1B3F7A 0%, #0D1F3C 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13,31,60,.25);
  transition: all .15s;
}
.category-card__link:hover { opacity: 1; box-shadow: 0 8px 20px rgba(13,31,60,.35); }
.category-card__link--soon {
  background: #EBF0F8; color: #94A3B8;
  box-shadow: none; cursor: default;
}
.category-card__link--soon:hover { opacity: 1; }

/* ====================================================
   サイトの特徴
   ==================================================== */
.feature-section {
  background: linear-gradient(180deg, #0D1F3C 0%, #162D55 100%);
  padding: 80px 20px;
  color: #fff;
}
.feature-section .section-title {
  color: #fff;
  justify-content: center; text-align: center;
  flex-direction: column; gap: 12px; margin-bottom: 8px;
}
.feature-section .section-title::before {
  width: 48px; height: 4px; background: #C9922D;
}
.feature-section .section-title__sub { color: #C9922D; }
.feature-subtitle {
  text-align: center; color: #8BA7C8;
  font-size: .9375rem; margin-bottom: 48px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px; margin: 0 auto;
}
.feature-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .2s;
}
.feature-card:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(201,146,45,.40);
  transform: translateY(-3px);
}
.feature-card__num {
  font-family: "Manrope", sans-serif;
  font-size: .75rem; font-weight: 800; letter-spacing: .2em;
  color: #C9922D; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.feature-card__num::after {
  content: ""; flex: 1; height: 1px;
  background: rgba(201,146,45,.30);
}
.feature-card__icon { font-size: 2rem; margin-bottom: 12px; line-height: 1; }
.feature-card__title {
  font-size: 1.125rem; font-weight: 800; color: #fff;
  margin-bottom: 10px;
}
.feature-card__text {
  font-size: .875rem; color: #8BA7C8; line-height: 1.8;
}

/* ====================================================
   使い方ステップ
   ==================================================== */
.howto-section { padding: 80px 20px; background: #F8F9FC; }
.howto-steps {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1fr 28px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 48px;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.howto-step {
  background: #fff;
  border: 1.5px solid #E5EAF2;
  border-radius: 16px;
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
  transition: all .2s;
}
.howto-step:hover {
  border-color: #1B3F7A;
  box-shadow: 0 8px 24px rgba(27,63,122,.10);
  transform: translateY(-2px);
}
.howto-step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #1B3F7A 0%, #0D1F3C 100%);
  color: #fff; border-radius: 50%;
  font-family: "Manrope", sans-serif; font-weight: 900; font-size: 1rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(13,31,60,.28);
}
.howto-step__icon { font-size: 1.75rem; margin-bottom: 8px; line-height: 1; }
.howto-step__title {
  font-size: .9375rem; font-weight: 800; color: #0D1F3C; margin-bottom: 6px;
}
.howto-step__text { font-size: .8125rem; color: #64748B; line-height: 1.65; }
.howto-arrow {
  font-size: 1.25rem; color: #C9922D;
  font-weight: 900; text-align: center;
}

/* フッタートップへ（カスタム） */
.top-footer-cta {
  background: linear-gradient(135deg, #0D1F3C 0%, #1B3F7A 100%);
  padding: 64px 20px;
  text-align: center; color: #fff;
}
.top-footer-cta__title {
  font-size: 1.75rem; font-weight: 800;
  margin-bottom: 12px; line-height: 1.35;
}
.top-footer-cta__lead {
  font-size: .9375rem; color: #8BA7C8;
  margin-bottom: 28px;
}

/* ====================================================
   レスポンシブ
   ==================================================== */
@media (max-width: 900px) {
  .top-hero-v2__title { font-size: 2.25rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .pain-cards { grid-template-columns: 1fr; gap: 14px; }
  .howto-steps {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
  }
  .howto-arrow { transform: rotate(90deg); font-size: 1rem; }
}
@media (max-width: 600px) {
  .top-hero-v2 { padding: 64px 20px 56px; }
  .top-hero-v2__title { font-size: 1.75rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-section, .howto-section, .pain-section { padding: 56px 20px; }
  .feature-section { padding: 56px 20px; }
}
