/* ==========================================================================
   DogSlim - Homepage Inline CSS
   トップページの wp:html ブロック内 <style> タグに貼り付け
   ========================================================================== */

/* --- Hero Section --- */
.ds-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.ds-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(27, 67, 50, 0.82) 0%,
    rgba(27, 67, 50, 0.65) 50%,
    rgba(27, 67, 50, 0.78) 100%
  );
  z-index: 1;
}

.ds-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.ds-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4A574;
  border: 1px solid rgba(212, 165, 116, 0.4);
  padding: 6px 18px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.ds-hero h1 {
  font-family: "Noto Serif JP", serif;
  color: #FFFFFF;
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.45;
  margin: 0 0 20px;
}

.ds-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.0625rem;
  line-height: 1.9;
  margin: 0 0 36px;
  font-weight: 400;
}

/* --- Buttons --- */
.ds-btn {
  display: inline-block;
  padding: 16px 40px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  line-height: 1.5;
  text-align: center;
  border: none;
}

.ds-btn-primary {
  background-color: #D4A574;
  color: #1A1A1A;
}

.ds-btn-primary:hover {
  background-color: #C8955F;
  color: #1A1A1A;
  transform: translateY(-1px);
}

.ds-btn-green {
  background-color: #1B4332;
  color: #FFFFFF;
}

.ds-btn-green:hover {
  background-color: #15372A;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.ds-btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.ds-btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.7);
}

.ds-btn-large {
  padding: 18px 48px;
  font-size: 1rem;
}

/* --- Sections --- */
.ds-section {
  padding: 80px 24px;
  background-color: #FAFAF7;
}

.ds-section-alt {
  padding: 80px 24px;
  background-color: #FFFFFF;
}

.ds-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

/* --- Section Headings --- */
.ds-h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 600;
  color: #1A1A1A;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin: 0 0 16px;
  position: relative;
}

.ds-h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #D4A574;
  margin: 20px auto 0;
}

.ds-h2-left {
  text-align: left;
}

.ds-h2-left::after {
  margin: 20px 0 0;
}

.ds-section-lead {
  text-align: center;
  color: #6B6560;
  font-size: 0.9375rem;
  line-height: 1.9;
  max-width: 640px;
  margin: 12px auto 48px;
}

/* --- Body Content --- */
.ds-content {
  font-size: 0.9375rem;
  line-height: 2.0;
  color: #1A1A1A;
}

.ds-content p {
  margin-bottom: 1.5em;
}

.ds-content strong {
  color: #1B4332;
  font-weight: 600;
}

/* --- BCS Table --- */
.ds-bcs-table-wrap {
  overflow-x: auto;
  margin: 40px 0;
  -webkit-overflow-scrolling: touch;
}

.ds-bcs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.7;
}

.ds-bcs-table thead th {
  background-color: #1B4332;
  color: #FFFFFF;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  padding: 14px 18px;
  text-align: left;
  border: none;
}

.ds-bcs-table thead th:first-child {
  border-radius: 4px 0 0 0;
}

.ds-bcs-table thead th:last-child {
  border-radius: 0 4px 0 0;
}

.ds-bcs-table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #E8E4DF;
  color: #1A1A1A;
  vertical-align: top;
}

.ds-bcs-table tbody tr:last-child td {
  border-bottom: 2px solid #E8E4DF;
}

.ds-bcs-table tbody tr:nth-child(even) {
  background-color: rgba(245, 242, 237, 0.5);
}

.ds-bcs-table tbody tr:hover {
  background-color: rgba(82, 183, 136, 0.05);
}

.ds-bcs-table .bcs-level {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #1B4332;
  white-space: nowrap;
}

.ds-bcs-table .bcs-ideal {
  background-color: rgba(82, 183, 136, 0.08);
}

/* --- Steps --- */
.ds-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.ds-step {
  background: #FFFFFF;
  border: 1px solid #E8E4DF;
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.25s ease;
}

.ds-step:hover {
  box-shadow: 0 2px 16px rgba(27, 67, 50, 0.06);
}

.ds-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #F5F2ED;
  color: #1B4332;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 20px;
  border: 1px solid #E8E4DF;
}

.ds-step h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.ds-step p {
  font-size: 0.875rem;
  color: #6B6560;
  line-height: 1.8;
  margin: 0;
}

/* --- Tips Section --- */
.ds-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.ds-tip {
  background: #FFFFFF;
  border: 1px solid #E8E4DF;
  border-radius: 4px;
  padding: 32px 28px;
  transition: box-shadow 0.25s ease;
  position: relative;
}

.ds-tip:hover {
  box-shadow: 0 2px 16px rgba(27, 67, 50, 0.06);
}

.ds-tip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #D4A574;
  border-radius: 4px 4px 0 0;
}

.ds-tip h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 600;
  color: #1A1A1A;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.ds-tip p {
  font-size: 0.875rem;
  color: #6B6560;
  line-height: 1.85;
  margin: 0;
}

.ds-tip-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
  display: block;
}

/* --- CTA Section --- */
.ds-cta {
  padding: 80px 24px;
  background-color: #1B4332;
  text-align: center;
  position: relative;
}

.ds-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 67, 50, 1) 0%,
    rgba(45, 106, 79, 0.95) 100%
  );
}

.ds-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.ds-cta h2 {
  font-family: "Noto Serif JP", serif;
  color: #FFFFFF;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  line-height: 1.5;
}

.ds-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  line-height: 1.85;
  margin: 0 0 32px;
}

.ds-cta .ds-price {
  font-family: "Noto Serif JP", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #D4A574;
  margin: 0 0 8px;
}

.ds-cta .ds-price-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 32px;
}

/* --- Feature List (checkmark style) --- */
.ds-features {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  text-align: left;
  display: inline-block;
}

.ds-features li {
  padding: 6px 0 6px 28px;
  position: relative;
  font-size: 0.9375rem;
  color: #1A1A1A;
  line-height: 1.8;
}

.ds-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #52B788;
  font-weight: 700;
}

/* White variant for CTA section */
.ds-features-white li {
  color: rgba(255, 255, 255, 0.9);
}

.ds-features-white li::before {
  color: #D4A574;
}

/* --- Stats / Numbers --- */
.ds-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 48px 0;
}

.ds-stat {
  text-align: center;
}

.ds-stat-num {
  font-family: "Noto Serif JP", serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #1B4332;
  line-height: 1.2;
}

.ds-stat-label {
  font-size: 0.8125rem;
  color: #6B6560;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* --- Decorative Divider --- */
.ds-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 64px auto;
  max-width: 200px;
}

.ds-divider::before,
.ds-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #E8E4DF;
}

.ds-divider span {
  padding: 0 16px;
  color: #D4A574;
  font-size: 0.75rem;
}

/* --- Testimonial / Quote Block --- */
.ds-quote {
  background: #FFFFFF;
  border: 1px solid #E8E4DF;
  border-left: 3px solid #D4A574;
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 4px 4px 0;
}

.ds-quote p {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  line-height: 1.9;
  color: #1A1A1A;
  margin: 0 0 12px;
}

.ds-quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: #6B6560;
}

/* --- Image Caption Style --- */
.ds-img-wrap {
  margin: 32px 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #E8E4DF;
}

.ds-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.ds-img-caption {
  padding: 10px 16px;
  background: #F5F2ED;
  font-size: 0.8125rem;
  color: #6B6560;
  text-align: center;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  .ds-hero {
    min-height: 420px;
    padding: 80px 20px 60px;
  }

  .ds-hero h1 {
    font-size: 1.625rem;
  }

  .ds-hero p {
    font-size: 0.9375rem;
  }

  .ds-section,
  .ds-section-alt {
    padding: 56px 20px;
  }

  .ds-cta {
    padding: 56px 20px;
  }

  .ds-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ds-tips {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ds-step {
    padding: 28px 24px;
  }

  .ds-tip {
    padding: 24px 20px;
  }

  .ds-btn {
    padding: 14px 28px;
    font-size: 0.875rem;
    width: 100%;
    max-width: 320px;
  }

  .ds-btn-large {
    padding: 16px 32px;
  }

  .ds-stats {
    gap: 28px;
  }

  .ds-bcs-table {
    font-size: 0.8125rem;
  }

  .ds-bcs-table thead th,
  .ds-bcs-table tbody td {
    padding: 10px 12px;
  }

  .ds-h2 {
    font-size: 1.375rem;
  }

  .ds-section-lead {
    font-size: 0.875rem;
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  .ds-hero {
    min-height: 360px;
    padding: 64px 16px 48px;
  }

  .ds-hero h1 {
    font-size: 1.5rem;
  }

  .ds-section,
  .ds-section-alt {
    padding: 44px 16px;
  }

  .ds-cta {
    padding: 44px 16px;
  }

  .ds-step {
    padding: 24px 20px;
  }
}
