* {
  box-sizing: border-box;
}

body {
  background: #f5f8fb;
  color: #333;
  line-height: 1.6;
}

.pet-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.pet-site-footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
}

.pet-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* main */
.pet-main {
  padding: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pet-topic {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #1e85b6;
  letter-spacing: -0.5px;
}

.pet-header {
  background: #fff;
  border-bottom: 1px solid #e8edf2;
  position: sticky;
  top: 0;
  z-index: 10;
}

.pet-header .pet-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.pet-logo img {
  width: 180px;
  height: auto;
  display: block;
}

.pet-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid #0061c1;
  border-radius: 50px;
  color: #0061c1;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}

.pet-back:hover {
  background: #0061c1;
  color: #fff;
}

/* hero */
.pet-hero {
  background: linear-gradient(180deg, #f0fbff 0%, #f5f8fb 100%);
  padding: 48px 0 36px;
  text-align: center;
}

.pet-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  border: 1px solid #1e85b6;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1e85b6;
  background: rgba(255, 255, 255, 0.9);
}

.pet-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1.5px;
  color: #1f1f1f;
  word-break: keep-all;
}

.pet-card {
  background: #fff;
  border: 1px solid #e3eaf0;
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 4px 16px rgba(0, 97, 193, 0.06);
}

.pet-card h2 {
  position: relative;
  margin-bottom: 16px;
  padding-left: 14px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.8px;
  color: #0061c1;
}

.pet-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: calc(100% - 8px);
  min-height: 20px;
  border-radius: 4px;
  background: #0061c1;
}

.pet-card p {
  font-size: 17px;
  line-height: 1.75;
  color: #555;
  letter-spacing: -0.3px;
}

.pet-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pet-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: #555;
}

.pet-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b3f2ea;
  border: 2px solid #0061c1;
}

.pet-faq h3 {
  margin: 22px 0 10px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #f0fbff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #1e85b6;
}

.pet-faq h3:first-of-type {
  margin-top: 0;
}

.pet-faq p {
  margin-bottom: 8px;
}

.pet-cta {
  margin-top: 8px;
  text-align: center;
}

.pet-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 12px;
  background: #0061c1;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 97, 193, 0.25);
  transition: 0.2s;
}

.pet-cta a:hover {
  background: #004f9e;
}

/* footer */
.pet-footer {
  background: #282a29;
  padding: 28px 0;
  text-align: center;
}

.pet-footer p {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

@media (max-width: 768px) {
  html,
  body {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .pet-page {
    width: 100%;
    max-width: 100vw;
  }

  .pet-container {
    max-width: 480px;
    padding-left: 16px;
    padding-right: 16px;
  }

  footer .inner,
  .bottom_wrap .inner {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pet-logo img {
    width: 140px;
  }

  .pet-back {
    padding: 8px 14px;
    font-size: 13px;
  }

  .pet-hero {
    padding: 32px 0 24px;
  }

  .pet-hero h1 {
    font-size: 24px;
  }

  .pet-topic {
    font-size: 15px;
  }

  .pet-main {
    padding: 20px 0 24px;
    gap: 16px;
  }

  .pet-card {
    padding: 20px 18px;
  }

  .pet-card h2 {
    font-size: 19px;
  }

  .pet-card p,
  .pet-card ul li {
    font-size: 15px;
  }

  .pet-faq h3 {
    font-size: 16px;
  }

  .pet-cta a {
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
}
