/* Website care landing — distinct from Google Ads layout */
.hatena-webcare {
  --wc-purple: #2f0874;
  --wc-ink: #24105a;
  --wc-orange: #f96c01;
  --wc-accent: #0074e4;
  --wc-light: #f6f2ff;
  --wc-blue: #0074e4;
  --wc-text: #585858;
  --wc-muted: #6b7280;
  --wc-line: #e8e3f3;
  --wc-soft: #f6f2ff;
  --wc-white: #ffffff;
  --wc-gap: 20px;
  --wc-gutter: 15px;
  --wc-section: 80px;
  --wc-radius: 20px;
  color: var(--wc-text);
  /* One rhythm: bottom spacing only (same as Google Ads). Top is added when bg changes. */
  padding: 0 0 var(--wc-section) !important;
  margin: 0 !important;
  font-family: var(--hatena-font, 'Inter', sans-serif);
  isolation: isolate;
  overflow: clip;
}
.hatena-webcare *, .hatena-webcare *::before, .hatena-webcare *::after { box-sizing: border-box; }
.hatena-webcare [id] { scroll-margin-top: 110px; }
.hatena-webcare > .section-content { padding: 0 !important; }

/* Match site .container / Google Ads wrap: 1280px + 15px */
#main .hatena-webcare .row.ha-wc-wrap,
.hatena-webcare .row.ha-wc-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wc-gap);
  width: 100%;
  max-width: 1280px !important;
  padding: 0 var(--wc-gutter) !important;
  margin: 0 auto !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.hatena-webcare .row.ha-wc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wc-gap);
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}
.hatena-webcare .col { padding: 0 !important; margin: 0 !important; }
#content .hatena-webcare .col { padding: 0 !important; }
.hatena-webcare .col > .col-inner { width: 100%; height: 100%; }
.hatena-webcare .ha-wc-two > .col { flex: 1 1 calc(50% - var(--wc-gap) / 2); max-width: calc(50% - var(--wc-gap) / 2); }
.hatena-webcare .ha-wc-three > .col { flex: 1 1 calc(33.333% - var(--wc-gap) * 2 / 3); max-width: calc(33.333% - var(--wc-gap) * 2 / 3); }
.hatena-webcare .ha-wc-four > .col { flex: 1 1 calc(25% - var(--wc-gap) * 3 / 4); max-width: calc(25% - var(--wc-gap) * 3 / 4); }

.hatena-webcare h1, .hatena-webcare h2, .hatena-webcare h3, .hatena-webcare h4 {
  color: var(--wc-ink);
  font-weight: 750;
  letter-spacing: -.03em;
  margin: 0 0 14px;
}
.hatena-webcare h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.hatena-webcare h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; }
.hatena-webcare h3 { font-size: 18px; line-height: 1.35; padding-bottom: 0; }
.hatena-webcare p, .hatena-webcare li { font-size: 16px; line-height: 1.65; color: var(--wc-text); }
.hatena-webcare p { margin: 0 0 14px; }
.hatena-webcare .text > :last-child { margin-bottom: 0; }
.hatena-webcare a { color: var(--wc-blue); text-decoration: none; }
.hatena-webcare .ha-wc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--wc-blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.hatena-webcare .ha-wc-eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--wc-blue);
}
.hatena-webcare .ha-wc-orange { color: var(--wc-orange); }
.hatena-webcare .ha-wc-center { text-align: center; }
.hatena-webcare .ha-wc-center .ha-wc-eyebrow { justify-content: center; }
.hatena-webcare .ha-wc-center .ha-wc-eyebrow::before { display: none; }
.hatena-webcare .ha-wc-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.hatena-webcare .img { margin-bottom: 0; }
.hatena-webcare .img img { display: block; width: 100%; height: auto; }
.hatena-webcare .button.ha-wc-btn {
  border-radius: 999px !important;
  padding: 12px 22px !important;
  font-weight: 700 !important;
  letter-spacing: .01em;
  min-height: 46px;
  line-height: 1.2 !important;
  margin: 0;
  border-width: 1.5px !important;
}
.hatena-webcare .button.ha-wc-btn.primary {
  background: var(--wc-purple) !important;
  border-color: var(--wc-purple) !important;
  color: #fff !important;
}
.hatena-webcare .button.ha-wc-btn.is-outline {
  background: #fff !important;
  color: var(--wc-purple) !important;
  border-color: #cbb8ea !important;
}
.hatena-webcare .ha-wc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}
/* Flatsome .row adds -15px side margins — cancel so CTAs align with copy */
#main .hatena-webcare .row.ha-wc-actions {
  margin: 24px 0 18px !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
}
.hatena-webcare .ha-wc-actions > .col {
  padding: 0 !important;
  margin: 0 !important;
}
.hatena-webcare .ha-wc-actions .button { margin: 0; }

/* —— Hero —— */
.hatena-webcare.ha-wc-hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(47, 8, 116, .08), transparent 60%),
    linear-gradient(180deg, #f6f2ff 0%, #fff 48%, #faf8ff 100%);
  padding: 40px 0 var(--wc-section) !important;
}
.ha-wc-hero > .section-content { padding: 0 !important; }
.ha-wc-hero .ha-wc-wrap { align-items: center; }
.ha-wc-hero .ha-wc-breadcrumb {
  font-size: 12px;
  color: var(--wc-muted);
  margin: 0 0 18px;
}
.ha-wc-hero .ha-wc-breadcrumb a { color: var(--wc-purple); }
.ha-wc-hero .ha-wc-breadcrumb span { opacity: .45; padding: 0 7px; }
.ha-wc-hero .ha-wc-desc { max-width: 520px; }
.ha-wc-hero .ha-wc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ha-wc-hero .ha-wc-chips li {
  margin: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--wc-ink);
  background: #fff;
  border: 1px solid var(--wc-line);
  border-radius: 999px;
  padding: 7px 12px;
}
.ha-wc-panel > .col-inner {
  background: #fff;
  border: 1px solid var(--wc-line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(47, 8, 116, .08);
}
.ha-wc-panel .ha-wc-panel-media .img-inner {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.ha-wc-panel .ha-wc-panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ha-wc-panel .ha-wc-health {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.ha-wc-panel .ha-wc-health-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  align-items: center;
}
.ha-wc-panel .ha-wc-health-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  color: var(--wc-ink);
}
.ha-wc-panel .ha-wc-health-item span {
  font-size: 12px;
  font-weight: 700;
  color: var(--wc-purple);
}
.ha-wc-meter {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 999px;
  background: #eef2f7;
  overflow: hidden;
}
.ha-wc-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--wc-purple), #7c3aed);
  transition: width 1.1s ease;
}

/* —— Pain band —— */
.hatena-webcare.ha-wc-pain {
  background: var(--wc-ink);
  color: #fff;
  padding: var(--wc-section) 0 !important;
}
.ha-wc-pain > .section-content { padding: 0 !important; }
.ha-wc-pain h2, .ha-wc-pain h3, .ha-wc-pain p { color: #fff; }
.ha-wc-pain .ha-wc-eyebrow { color: #c4b5fd; }
.ha-wc-pain .ha-wc-eyebrow::before { background: #c4b5fd; }
.ha-wc-pain .ha-wc-pain-card > .col-inner {
  height: 100%;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
}
.ha-wc-pain .ha-wc-pain-card h3 { font-size: 17px; margin-bottom: 8px; }
.ha-wc-pain .ha-wc-pain-card p { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); margin: 0; }
.ha-wc-pain .ha-wc-index {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: #c4b5fd;
  margin-bottom: 10px;
}

/* —— Intro split —— */
.hatena-webcare.ha-wc-intro { padding: var(--wc-section) 0 !important; }
.ha-wc-intro .ha-wc-wrap { align-items: center; }
.ha-wc-intro .ha-wc-photo .img-inner {
  border-radius: var(--wc-radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ha-wc-intro .ha-wc-photo img { width: 100%; height: 100%; object-fit: cover; }
.ha-wc-intro .ha-wc-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ha-wc-intro .ha-wc-checklist li {
  margin: 0;
  padding-left: 28px;
  position: relative;
  font-size: 14px;
  color: var(--wc-ink);
  font-weight: 550;
}
.ha-wc-intro .ha-wc-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--wc-light);
  color: var(--wc-purple);
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* —— Scope pillars —— */
.hatena-webcare.ha-wc-scope {
  background: var(--wc-soft);
  padding: var(--wc-section) 0 !important;
}
.ha-wc-scope > .section-content { padding: 0 !important; }
.ha-wc-scope .ha-wc-wrap > .col > .col-inner > .ha-wc-center {
  margin-bottom: 12px;
}
.ha-wc-scope .row.ha-wc-grid {
  --wc-gap: 24px;
  margin-top: 28px !important;
}
.ha-wc-scope .ha-wc-pillar > .col-inner {
  background: #fff;
  border: 1px solid var(--wc-line);
  border-radius: 18px;
  padding: 26px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ha-wc-scope .ha-wc-pillar .ha-wc-pillar-num {
  font-size: 13px;
  font-weight: 800;
  color: var(--wc-orange);
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.ha-wc-scope .ha-wc-pillar h3 { margin-bottom: 8px; }
.ha-wc-scope .ha-wc-pillar > .col-inner > p { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
.ha-wc-scope .ha-wc-pillar ul {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid #f0edf7;
}
.ha-wc-scope .ha-wc-pillar li {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  padding-left: 16px;
  position: relative;
}
.ha-wc-scope .ha-wc-pillar li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wc-purple);
}

/* —— Audience —— */
.hatena-webcare.ha-wc-audience { padding: var(--wc-section) 0 !important; }
.ha-wc-audience .ha-wc-wrap > .col > .col-inner > .ha-wc-center {
  margin-bottom: 12px;
}
.ha-wc-audience .row.ha-wc-grid {
  --wc-gap: 28px;
  margin-top: 28px !important;
}
.ha-wc-audience .ha-wc-who > .col-inner {
  border-left: 3px solid var(--wc-orange);
  background: #fff;
  border-radius: 0 14px 14px 0;
  padding: 22px 20px 22px 18px;
  border-top: 1px solid var(--wc-line);
  border-right: 1px solid var(--wc-line);
  border-bottom: 1px solid var(--wc-line);
  height: 100%;
}
.ha-wc-audience .ha-wc-who h3 { font-size: 16px; margin-bottom: 8px; }
.ha-wc-audience .ha-wc-who p { font-size: 13px; margin: 0; line-height: 1.5; }

/* —— Pricing: 3 packages —— */
.hatena-webcare.ha-wc-pricing {
  background:
    linear-gradient(180deg, #fff 0%, var(--wc-light) 38%, #fff 100%);
  padding: var(--wc-section) 0 !important;
}
.ha-wc-pricing > .section-content { padding: 0 !important; }
.ha-wc-pricing .ha-wc-wrap > .col > .col-inner > .ha-wc-center {
  margin-bottom: 12px;
}
.ha-wc-pricing .row.ha-wc-grid {
  --wc-gap: 24px;
  margin-top: 48px !important;
}
.ha-wc-pricing .ha-wc-note {
  margin-top: 28px !important;
}
.ha-wc-pricing .ha-wc-price > .col-inner {
  background: #fff;
  border: 1px solid var(--wc-line);
  border-radius: 22px;
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ha-wc-pricing .ha-wc-price .ha-wc-pkg {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 750;
  color: var(--wc-blue);
  margin-bottom: 8px;
}
.ha-wc-pricing .ha-wc-price h3 { font-size: 30px; margin: 0 0 4px; }
.ha-wc-pricing .ha-wc-price .ha-wc-unit { font-size: 13px; color: var(--wc-muted); margin-bottom: 8px; }
.ha-wc-pricing .ha-wc-price .ha-wc-fit {
  font-size: 13px;
  font-weight: 650;
  color: var(--wc-ink);
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--wc-line);
}
.ha-wc-pricing .ha-wc-price ul { list-style: none; margin: 0 0 22px; padding: 0; }
.ha-wc-pricing .ha-wc-price li {
  margin: 0 0 11px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  line-height: 1.5;
}
.ha-wc-pricing .ha-wc-price li::before { content: '✓'; color: var(--wc-purple); font-weight: 800; flex-shrink: 0; }
.ha-wc-pricing .ha-wc-price .button { margin-top: auto; width: 100%; }
.ha-wc-pricing .ha-wc-featured > .col-inner {
  background: linear-gradient(145deg, #5b2acb, #2f0874);
  border-color: transparent;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(47, 8, 116, .22);
}
.ha-wc-pricing .ha-wc-featured h3,
.ha-wc-pricing .ha-wc-featured p,
.ha-wc-pricing .ha-wc-featured li,
.ha-wc-pricing .ha-wc-featured .ha-wc-pkg,
.ha-wc-pricing .ha-wc-featured .ha-wc-unit,
.ha-wc-pricing .ha-wc-featured .ha-wc-fit { color: #fff; }
.ha-wc-pricing .ha-wc-featured .ha-wc-fit { border-color: rgba(255, 255, 255, .2); }
.ha-wc-pricing .ha-wc-featured li::before { color: #c4b5fd; }
.ha-wc-pricing .ha-wc-badge {
  align-self: flex-start;
  background: var(--wc-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  border-radius: 999px;
  padding: 5px 12px;
  margin: -28px 0 16px;
}
.ha-wc-pricing .ha-wc-badge p { color: #fff; font-size: 11px; font-weight: 750; margin: 0; }
.ha-wc-pricing .ha-wc-note p {
  text-align: center;
  font-size: 13px;
  max-width: 780px;
  margin: 8px auto 0;
  color: var(--wc-muted);
}

/* —— Vertical timeline process —— */
.hatena-webcare.ha-wc-process { padding: var(--wc-section) 0 !important; }
.ha-wc-process .ha-wc-steps {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 28px;
}
.ha-wc-process .ha-wc-steps::before {
  content: '';
  position: absolute;
  left: 23px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, #ded3f4, #e8e3f3);
}
.ha-wc-process .ha-wc-step > .col-inner {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: start;
  padding: 0 0 28px;
  position: relative;
}
.ha-wc-process .ha-wc-step:last-child > .col-inner { padding-bottom: 0; }
.ha-wc-process .ha-wc-step-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wc-light);
  border: 2px solid #ded3f4;
  color: var(--wc-purple);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  z-index: 1;
}
.ha-wc-process .ha-wc-step h3 { margin-bottom: 6px; font-size: 17px; }
.ha-wc-process .ha-wc-step p { margin: 0; font-size: 14px; max-width: 640px; }

/* FAQ: reuse .hatena-google-ads.ha-ads-faq from google-ads.css */

/* —— CTA —— */
.ha-wc-cta .ha-wc-cta-box > .col-inner {
  border-radius: 24px;
  padding: 36px;
  background:
    linear-gradient(120deg, rgba(249, 108, 1, .12), transparent 40%),
    linear-gradient(160deg, #24105a, #2f0874 70%, #3b1090);
  color: #fff;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}
.ha-wc-cta h2, .ha-wc-cta p { color: #fff; }
.ha-wc-cta p { opacity: .88; margin-bottom: 0; }
.ha-wc-cta .button.ha-wc-btn.primary {
  background: var(--wc-orange) !important;
  border-color: var(--wc-orange) !important;
  white-space: nowrap;
}

@media (max-width: 849px) {
  .hatena-webcare { --wc-section: 56px; --wc-gap: 16px; }
  .ha-wc-hero { padding-top: 28px !important; }
  .hatena-webcare .ha-wc-two > .col,
  .hatena-webcare .ha-wc-three > .col,
  .hatena-webcare .ha-wc-four > .col {
    flex-basis: 100%;
    max-width: 100%;
  }
  /* Hero CTAs: full-width stack — avoid uneven left-hugging pills */
  .ha-wc-hero .ha-wc-actions,
  #main .hatena-webcare .ha-wc-hero .row.ha-wc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 16px !important;
  }
  .ha-wc-hero .ha-wc-actions > .col,
  .ha-wc-hero .ha-wc-actions > .col > .col-inner {
    width: 100% !important;
    max-width: 100% !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .ha-wc-hero .ha-wc-actions .button.ha-wc-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 12px 16px !important;
  }
  .ha-wc-pricing .ha-wc-featured > .col-inner { transform: none; }
  .ha-wc-cta .ha-wc-cta-box > .col-inner {
    grid-template-columns: 1fr;
    padding: 28px 22px;
    text-align: left;
  }
  .ha-wc-process .ha-wc-steps::before { left: 19px; }
  .ha-wc-process .ha-wc-step-dot { width: 40px; height: 40px; }
  .ha-wc-process .ha-wc-step > .col-inner { grid-template-columns: 40px 1fr; }
}
