/* ============================================
   融資のアイラボ トップページ専用CSS
   参考デザイン完全再現版
   ============================================ */

/* ===== リセット・ベース ===== */
.top-page {
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  padding: 0 20px;
}
.top-page *, .top-page *::before, .top-page *::after {
  box-sizing: border-box;
}
.top-page img {
  max-width: 100%;
  height: auto;
}

/* ===== セクション共通 ===== */
.tp-section {
  margin-bottom: 56px;
}

/* セクション見出し */
.tp-section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e6b;
  margin-bottom: 32px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.tp-section-title::before,
.tp-section-title::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: #c0c8d8;
}
.tp-section-title .sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: #7a8599;
  margin-top: 4px;
}

/* ===== 1. ヒーローセクション ===== */
.tp-hero {
  background: linear-gradient(135deg, #e8f0fa 0%, #f0f5fb 50%, #f7f9fc 100%);
  border-radius: 20px;
  padding: 48px 40px 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.tp-hero-text {
  flex: 1;
  min-width: 0;
}
.tp-hero-text .tp-hero-label {
  font-size: 0.9rem;
  color: #5a6d8a;
  margin-bottom: 8px;
}
.tp-hero-text h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1.4;
  margin: 0 0 12px;
}
.tp-hero-text h1 .brand {
  display: block;
  font-size: 2.2rem;
  color: #0b5faa;
  margin-top: 4px;
}
.tp-hero-text .tp-hero-desc {
  font-size: 0.95rem;
  color: #5a6d8a;
  line-height: 1.7;
  margin-bottom: 20px;
}
.tp-hero-image {
  flex: 0 0 360px;
}
.tp-hero-image img {
  border-radius: 12px;
}

/* 信頼バッジ */
.tp-trust-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.tp-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #d0dae8;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2c3e6b;
}
.tp-trust-badge .badge-icon {
  font-size: 1.3rem;
}

/* ヒーローCTAボタン */
.tp-hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.tp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}
.tp-btn-primary {
  background: #0b5faa;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(11,95,170,0.25);
}
.tp-btn-primary:hover {
  background: #094d8a;
  transform: translateY(-2px);
  box-shadow: 0 5px 16px rgba(11,95,170,0.3);
}
.tp-btn-line {
  background: #06c755;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(6,199,85,0.25);
}
.tp-btn-line:hover {
  background: #05a847;
  transform: translateY(-2px);
}
.tp-btn-phone {
  background: #fff;
  color: #333 !important;
  border: 2px solid #d0dae8;
}
.tp-btn-phone:hover {
  border-color: #0b5faa;
  color: #0b5faa !important;
}
.tp-btn .btn-label {
  font-size: 0.75rem;
  font-weight: 400;
  display: block;
  line-height: 1.2;
}

/* ===== 2. 2つのサービス ===== */
.tp-services {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  overflow: hidden;
}
.tp-service-card {
  padding: 36px 32px;
}
.tp-service-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tp-service-card h3 .svc-icon {
  font-size: 1.5rem;
}
.tp-service-card p {
  font-size: 0.9rem;
  color: #5a6d8a;
  line-height: 1.7;
  margin: 0;
}
.tp-service-divider {
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, #c0c8d8, transparent);
  position: relative;
}
.tp-service-divider::after {
  content: '⇄';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e8f0fa;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #0b5faa;
}

/* ===== 3. こんなお悩みに ===== */
.tp-worries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.tp-worry-item {
  background: #fff;
  border-radius: 12px;
  padding: 24px 12px 20px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid #e8eef5;
  transition: all 0.25s ease;
}
.tp-worry-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.tp-worry-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
}
.tp-worry-item p {
  font-size: 0.82rem;
  color: #5a6d8a;
  line-height: 1.5;
  margin: 0;
}

/* ===== 4. サポートの特長 ===== */
.tp-features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.tp-feature-card {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 28px 16px 24px;
  text-align: center;
  border: 1px solid #e8eef5;
  transition: all 0.25s ease;
}
.tp-feature-card:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.tp-feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: #e0ecf7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.tp-feature-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 8px;
}
.tp-feature-card p {
  font-size: 0.8rem;
  color: #5a6d8a;
  line-height: 1.6;
  margin: 0;
}

/* ===== 5. 料金について ===== */
.tp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tp-price-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid #e0ecf7;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.tp-price-card .price-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}
.tp-price-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3a5c;
  margin: 0 0 12px;
}
.tp-price-card .price-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0b5faa;
}
.tp-price-card .price-value .num {
  font-size: 2.2rem;
}
.tp-price-card .price-note {
  font-size: 0.82rem;
  color: #7a8599;
  margin-top: 8px;
}

/* ===== 6. お役立ち情報 ===== */
.tp-articles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tp-article-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #e8eef5;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.tp-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.tp-article-thumb {
  background: #e8f0fa;
  padding: 20px;
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-article-thumb .thumb-icon {
  font-size: 2.5rem;
}
.tp-article-body {
  padding: 14px 12px;
}
.tp-article-body h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 6px;
  line-height: 1.5;
}
.tp-article-body .read-more {
  font-size: 0.75rem;
  color: #0b5faa;
  font-weight: 500;
}

/* ===== 7. フッターCTA ===== */
.tp-footer-cta {
  background: linear-gradient(135deg, #1a3a5c 0%, #0b5faa 100%);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.tp-footer-cta-text {
  flex: 1;
}
.tp-footer-cta-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #fff;
  border: none;
  text-align: left;
}
.tp-footer-cta-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.6;
}
.tp-footer-cta-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.tp-footer-cta .tp-btn-primary {
  background: #fff;
  color: #0b5faa !important;
}
.tp-footer-cta .tp-btn-primary:hover {
  background: #e8f0fa;
}
.tp-footer-cta .tp-btn-line {
  background: #06c755;
}
.tp-footer-cta .tp-btn-phone {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff !important;
}
.tp-footer-cta .tp-btn-phone:hover {
  border-color: #fff;
}

/* 免責 */
.tp-disclaimer {
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  margin: 16px 0 40px;
  line-height: 1.6;
}

/* ===== エリアリンク ===== */
.tp-area-section {
  margin-bottom: 48px;
}
.tp-area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tp-area-link {
  display: inline-block;
  padding: 8px 20px;
  background: #fff;
  border: 1px solid #d0dae8;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2c3e6b;
  text-decoration: none;
  transition: all 0.2s ease;
}
.tp-area-link:hover {
  background: #0b5faa;
  color: #fff;
  border-color: #0b5faa;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .tp-hero {
    flex-direction: column;
    padding: 32px 24px;
  }
  .tp-hero-image {
    flex: none;
    max-width: 320px;
    margin: 0 auto;
  }
  .tp-hero-text h1 { font-size: 1.5rem; }
  .tp-hero-text h1 .brand { font-size: 1.7rem; }
  .tp-services { grid-template-columns: 1fr; }
  .tp-service-divider {
    width: 80%;
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, #c0c8d8, transparent);
  }
  .tp-service-divider::after {
    top: 50%; left: 50%;
  }
  .tp-worries-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-features-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-pricing-grid { grid-template-columns: 1fr; }
  .tp-articles-grid { grid-template-columns: repeat(3, 1fr); }
  .tp-footer-cta {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .tp-footer-cta-text h2 { text-align: center; }
  .tp-footer-cta-buttons { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 600px) {
  .tp-worries-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-features-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-articles-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-hero-cta { flex-direction: column; }
  .tp-trust-badges { gap: 8px; }
  .tp-section-title { font-size: 1.2rem; }
}
