/* ===================================
           給湯器交換LP — ページ固有スタイル
        =================================== */

/* --- パンくずリスト --- */
.breadcrumb {
  background: var(--gray-50);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--primary-600);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: var(--gray-400);
  margin: 0 0.4rem;
}

/* --- LPヒーロー（問題提起型） --- */
.lp-hero {
  background: var(--warm);
  color: var(--navy-900);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(249, 115, 22, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.lp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.lp-hero-text .lp-tag {
  display: inline-block;
  background: var(--primary-600);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.lp-hero-text h1 {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.lp-hero-text h1 .highlight {
  color: var(--primary-600);
}

.lp-hero-text .lead {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.lp-hero-image {
  position: relative;
}

.lp-hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* --- 信頼バッジ横並び --- */
.trust-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.trust-badge .badge-icon {
  font-size: 1.6rem;
}

.trust-badge .badge-text {
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--gray-700);
}

.trust-badge .badge-text strong {
  display: block;
  font-size: 1rem;
  color: var(--primary-600);
}

/* --- こんなお悩みありませんか？ --- */
.problems-section {
  padding: 5rem 0;
  background: white;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.problem-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s;
}

.problem-card:hover {
  transform: translateY(-4px);
}

.problem-card .icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.problem-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* --- 選ばれる理由 --- */
.reasons-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.reason-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-500);
}

.reason-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-600);
  color: white;
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.reason-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.reason-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: left;
}

/* --- 対応機種（水平スクロール風） --- */
.lineup-section {
  padding: 5rem 0;
  background: white;
}

.lineup-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.lineup-table th {
  background: var(--navy-900);
  color: white;
  padding: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  text-align: left;
}

.lineup-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-700);
}

.lineup-table tr:nth-child(even) td {
  background: var(--gray-50);
}

.lineup-table .maker-badge {
  display: inline-block;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  color: var(--primary-700);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- 料金の目安 --- */
.pricing-section {
  padding: 5rem 0;
  background: var(--warm);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.pricing-card.recommended {
  border: 3px solid var(--primary-600);
}

.pricing-card.recommended::after {
  content: "人気No.1";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-600);
  color: white;
  padding: 0.2rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.pricing-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.pricing-card .type {
  color: var(--gray-500);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
}

.pricing-card .price-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.pricing-card ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

.pricing-card ul li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--gray-600);
  border-bottom: 1px dashed var(--gray-200);
}

.pricing-card ul li::before {
  content: "";
  color: var(--primary-600);
  font-weight: 700;
}

/* --- ご依頼の流れ（ミニ版） --- */
.mini-flow-section {
  padding: 5rem 0;
  background: white;
}

.mini-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  position: relative;
}

.mini-flow-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--primary-200);
  z-index: 0;
}

.mini-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.mini-step .step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-600);
  line-height: 1;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-sm);
}

.mini-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.mini-step p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* --- FAQ --- */
.faq-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 2.5rem auto 0;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question .q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faq-question .arrow {
  margin-left: auto;
  transition: transform 0.3s;
  color: var(--gray-400);
}

.faq-item.open .faq-question .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 4rem;
}

.faq-answer p {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- LP CTA（大きめ） --- */
.lp-cta {
  background: var(--primary-600);
  padding: 5rem 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.lp-cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.lp-cta h2 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.lp-cta .cta-lead {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
}

.lp-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.2rem 2.5rem;
  border-radius: 60px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.lp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.lp-cta-btn.phone {
  background: white;
  color: var(--primary-600);
}

.lp-cta-btn.form {
  background: var(--navy-900);
  color: white;
}

.lp-cta .hours-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- スティッキーバー（スマホ用） --- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-600);
  padding: 0.8rem 1rem;
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta-inner {
  display: flex;
  gap: 0.8rem;
  max-width: 500px;
  margin: 0 auto;
}

.sticky-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.sticky-cta .btn-phone {
  background: white;
  color: var(--primary-600);
}

.sticky-cta .btn-form {
  background: var(--navy-900);
  color: white;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lp-hero {
    padding: 3rem 0;
  }

  .lp-hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .lp-hero-text h1 {
    font-size: 1.8rem;
  }

  .trust-badges {
    gap: 0.8rem;
  }

  .trust-badge {
    padding: 0.5rem 0.8rem;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .mini-flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .mini-flow-steps::before {
    display: none;
  }

  .problems-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .maker-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .lineup-table {
    font-size: 0.85rem;
  }

  .lineup-table th,
  .lineup-table td {
    padding: 0.7rem;
  }

  .lp-cta h2 {
    font-size: 1.5rem;
  }

  .sticky-cta {
    display: block;
  }

  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .lp-hero-text h1 {
    font-size: 1.5rem;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .mini-flow-steps {
    grid-template-columns: 1fr;
  }
}
