/* ===== TOPページ専用CSS (page-top.php から分離) ===== */
/* ===== リセット・基本 ===== */
.tp-wrap * {
  box-sizing: border-box;
}
.tp-wrap {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Meiryo", sans-serif;
  color: #111827;
  line-height: 1.7;
}

/* ===== アナウンスバー ===== */
.tp-announce {
  background: #FFF3CD;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #856404;
}
.tp-announce a {
  color: #0072b1;
  text-decoration: none;
}
.tp-announce a:hover {
  text-decoration: underline;
}

/* ===== ヒーロー ===== */
.tp-hero {
  background: #E2F6FF;
  color: #111827;
  padding: 64px 20px 24px;
  text-align: center;
}
.tp-hero__inner {
  max-width: 900px;
  margin: 0 auto;
}
.tp-hero__catch {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.4;
  margin: 0 0 20px;
  color: #111827;
}
.tp-hero__catch em {
  color: #0072b1;
  font-style: normal;
}
.tp-hero__sub {
  font-size: 1rem;
  color: #6b7280;
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.8;
}
.tp-hero__cta {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 24px;
}
.tp-hero__cta:hover {
  background: #E85D2A;
}
.tp-hero__stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.tp-hero__stat {
  text-align: center;
}
.tp-hero__stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: #0072b1;
  display: block;
}
.tp-hero__stat-label {
  font-size: 0.78rem;
  color: #4a5568;
  display: block;
  margin-top: 2px;
}

/* ===== セクション共通 ===== */
.tp-section {
  padding: 48px 20px;
}
.tp-section__inner {
  max-width: 1000px;
  margin: 0 auto;
}
.tp-section__title {
  font-size: 1.7rem;
  font-weight: 900;
  text-align: center;
  margin: 0 0 48px;
  line-height: 1.4;
}

/* ===== 悩みセクション ===== */
.tp-pains {
  background: #ffffff;
}
.tp-pains__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tp-pain-card {
  background: #fff;
  border-radius: 8px;
  padding: 32px 24px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  text-align: center;
}
.tp-pain-card__icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}
.tp-pain-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #111827;
  line-height: 1.5;
}
.tp-pain-card__text {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

/* ===== 理由セクション ===== */
.tp-reasons {
  background: #f9fafb;
}
.tp-reasons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tp-reason-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 28px 24px;
  position: relative;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.tp-reason-card__num {
  font-size: 0.7rem;
  font-weight: 900;
  color: #0072b1;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}
.tp-reason-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111827;
}
.tp-reason-card__text {
  font-size: 0.87rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.7;
}

/* ===== 実績セクション ===== */
.tp-trust {
  background: #0072b1;
  color: #fff;
}
.tp-trust .tp-section__title {
  color: #fff;
}
.tp-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.tp-trust-card {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 28px 16px;
  text-align: center;
}
.tp-trust-card__num {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  display: block;
}
.tp-trust-card__label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  display: block;
  margin-top: 6px;
}
.tp-trust-card__sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  display: block;
  margin-top: 4px;
  line-height: 1.5;
}
.tp-trust__note {
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ===== サービスセクション ===== */
.tp-services {
  background: #ffffff;
}
.tp-services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tp-service-card {
  background: #fff;
  border-radius: 8px;
  padding: 28px 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.tp-service-card__badge {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.tp-service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
}
.tp-service-card__text {
  font-size: 0.83rem;
  color: #6b7280;
  margin: 0 0 16px;
  flex: 1;
  line-height: 1.6;
}
.tp-service-card__link {
  font-size: 0.87rem;
  font-weight: 700;
  color: #0072b1;
  text-decoration: none;
  margin-top: auto;
}
.tp-service-card__link:hover {
  text-decoration: underline;
}

/* ===== FAQセクション ===== */
.tp-faq {
  background: #f9fafb;
}
.tp-faq__list {
  max-width: 760px;
  margin: 0 auto;
}
.tp-faq-item {
  border-bottom: 1px solid #e5e7eb;
}
.tp-faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}
.tp-faq-item__q {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 0.97rem;
  font-weight: 700;
  color: #111827;
  user-select: none;
}
.tp-faq-item__q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #0072b1;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.tp-faq-item__q-text {
  flex: 1;
}
.tp-faq-item__toggle {
  font-size: 1.2rem;
  color: #0072b1;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.tp-faq-item.open .tp-faq-item__toggle {
  transform: rotate(45deg);
}
.tp-faq-item__a {
  display: none;
  padding: 0 0 20px 40px;
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.8;
}
.tp-faq-item.open .tp-faq-item__a {
  display: block;
}

/* ===== 最終CTAセクション ===== */
.tp-final-cta {
  background: #E2F6FF;
  color: #111827;
  text-align: center;
  padding: 80px 20px;
}
.tp-final-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.tp-final-cta__title {
  font-size: 1.8rem;
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.4;
  color: #111827;
}
.tp-final-cta__desc {
  font-size: 0.95rem;
  color: #6b7280;
  margin: 0 0 36px;
  line-height: 1.8;
}
.tp-final-cta__points {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.tp-final-cta__point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111827;
}
.tp-final-cta__point::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #0072b1;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  border-radius: 50%;
  flex-shrink: 0;
}
.tp-final-cta__btn {
  display: inline-block;
  background: #FF6B35;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
}
.tp-final-cta__btn:hover {
  background: #E85D2A;
}

/* ===== レスポンシブ ===== */
.tp-partner-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 767px) {
  .tp-hero__catch {
    font-size: 1.5rem;
  }
  .tp-hero {
    padding: 44px 16px 20px;
  }
  .tp-hero__stats {
    gap: 20px;
  }
  .tp-hero__stat-num {
    font-size: 1.6rem;
  }
  .tp-section__title {
    font-size: 1.3rem;
    margin-bottom: 32px;
  }
  .tp-section {
    padding: 32px 16px;
  }
  .tp-pains__grid {
    grid-template-columns: 1fr;
  }
  .tp-reasons__grid {
    grid-template-columns: 1fr;
  }
  .tp-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tp-partner-grid {
    grid-template-columns: 1fr;
  }
  .tp-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tp-final-cta__title {
    font-size: 1.3rem;
  }
  .tp-final-cta__points {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .tp-final-cta__btn {
    font-size: 1rem;
    padding: 16px 32px;
  }
  .tp-trust-card__num {
    font-size: 1.9rem;
  }
}
@media (max-width: 480px) {
  .tp-services__grid {
    grid-template-columns: 1fr;
  }
  .tp-trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
