/* ===== Search Intent Landing Pages ===== */
.intent-page {
  background: #ffffff;
  color: var(--text-primary);
}

.intent-hero {
  padding: calc(var(--header-height) + 64px) 0 62px;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 143, 92, 0.16), transparent 30%),
    linear-gradient(135deg, #fff8f4 0%, #ffffff 58%, #f7fbff 100%);
}

.intent-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(280px, 0.84fr);
  gap: 44px;
  align-items: center;
}

.intent-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 143, 92, 0.24);
  border-radius: 999px;
  background: rgba(255, 143, 92, 0.08);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.intent-title {
  max-width: 720px;
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.24;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: normal;
}

.intent-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.92;
  max-width: 640px;
  margin-bottom: 30px;
}

.intent-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.intent-visual {
  display: grid;
  place-items: center;
}

.intent-visual img {
  width: min(100%, 420px);
  max-height: 520px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 24px 42px rgba(31, 41, 55, 0.16));
}

.intent-visual img.intent-phone-image {
  width: min(100%, 300px);
  max-height: 560px;
}

.intent-br-sp {
  display: none;
}

.intent-section {
  padding:0 0 60px 0;
  background: #ffffff;
}

.intent-section.alt {
  background: #fff9f5;
}

.intent-narrow {
  max-width: 880px;
  margin: 0 auto;
}

.intent-section-title {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.4;
  font-weight: 800;
  margin-bottom: 18px;
  text-wrap: balance;
}

.intent-section-lead {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 32px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.intent-card,
.intent-step,
.intent-faq-item,
.intent-link-card {
  background: #ffffff;
  border: 1px solid #f0eee9;
  border-radius: 8px;
}

.intent-card {
  padding: 26px;
}

.intent-card h3,
.intent-step h3,
.intent-faq-item h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 10px;
  text-wrap: balance;
}

.intent-card p,
.intent-step p,
.intent-faq-item p,
.intent-link-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.intent-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.intent-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.intent-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.78em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
}

.intent-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: intent-step;
}

.intent-step {
  padding: 26px;
  counter-increment: intent-step;
}

.intent-step::before {
  content: counter(intent-step);
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 16px;
}

.intent-comparison {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #f0eee9;
  border-radius: 8px;
  overflow: hidden;
}

.intent-comparison th,
.intent-comparison td {
  padding: 18px;
  border-bottom: 1px solid #f0eee9;
  text-align: left;
  vertical-align: top;
}

.intent-comparison th {
  background: #fff4ec;
  font-weight: 800;
}

.intent-comparison tr:last-child th,
.intent-comparison tr:last-child td {
  border-bottom: none;
}

.intent-faq {
  display: grid;
  gap: 16px;
}

.intent-faq-item {
  padding: 24px;
}

.intent-related {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.intent-link-card {
  display: block;
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.intent-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 143, 92, 0.5);
}

.intent-link-card strong {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.45;
  text-wrap: balance;
}

.intent-store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 22px;
}

.intent-store-badges img {
  height: 44px;
  width: auto;
}

.intent-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}

.intent-pages-section {
  background: #ffffff;
  padding: 0 0 45px 0;
}

.intent-pages-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.intent-pages-grid .intent-link-card {
  min-height: 166px;
}

@media (max-width: 1000px) {
  .intent-hero-grid,
  .intent-grid,
  .intent-steps,
  .intent-related,
  .intent-pages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .intent-hero {
    padding: calc(var(--header-height) + 34px) 0 42px;
  }

  .intent-hero-grid {
    gap: 30px;
  }

  .intent-hero-grid,
  .intent-grid,
  .intent-steps,
  .intent-related,
  .intent-pages-grid {
    grid-template-columns: 1fr;
  }

  .intent-section {
    padding:0 0 30px 0;
  }

  .intent-eyebrow {
    font-size: 12px;
    margin-bottom: 14px;
  }

  .intent-title {
    font-size: 30px;
    line-height: 1.32;
    margin-bottom: 16px;
  }

  .intent-lead {
    font-size: 15px;
    line-height: 1.78;
    margin-bottom: 22px;
  }

  .intent-actions {
    gap: 10px;
  }

  .intent-actions .btn {
    width: 100%;
    min-height: 48px;
    padding: 11px 18px;
    font-size: 15px;
  }

  .intent-visual {
    order: -1;
  }

  .intent-visual img {
    width: min(100%, 320px);
    max-height: 320px;
  }

  .intent-visual img.intent-phone-image {
    width: min(58vw, 210px);
    max-height: 360px;
  }

  .intent-br-pc {
    display: none;
  }

  .intent-br-sp {
    display: initial;
  }

  .intent-section-title {
    font-size: 25px;
    line-height: 1.45;
  }

  .intent-card,
  .intent-step,
  .intent-faq-item,
  .intent-link-card {
    padding: 22px;
  }

  .intent-comparison {
    display: table;
    overflow: hidden;
    white-space: normal;
  }

  .intent-comparison,
  .intent-comparison tbody,
  .intent-comparison tr,
  .intent-comparison th,
  .intent-comparison td {
    display: block;
    width: 100%;
  }

  .intent-comparison tr {
    border-bottom: 1px solid #f0eee9;
  }

  .intent-comparison tr:last-child {
    border-bottom: none;
  }

  .intent-comparison th,
  .intent-comparison td {
    border-bottom: none;
    padding: 15px 18px;
  }

  .intent-comparison td {
    padding-top: 0;
  }

  .intent-store-badges img {
    height: 40px;
  }

  .intent-page .codex-habby-pet {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .intent-title {
    font-size: 28px;
  }

  .intent-lead {
    font-size: 14.5px;
  }
}
