/* ============================================================
   PET SALON MANAGER LP
   Brand: monochrome base + blue accent / Montserrat + Noto Sans JP
   ============================================================ */

:root {
  --ink: #1a1a1a;
  --ink-soft: #333;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-300: #d9d9d9;
  --gray-100: #f2f3f5;
  --bg-soft: #f7f8fa;
  --blue: #2f6bb0;
  --blue-dark: #24568f;
  --blue-soft: #eaf2fb;
  --blue-chip: #dcebf9;
  --marker: #bcd9f5;
  --ok: #3d9a50;
  --ok-bg: #e3f4e6;
  --warn: #d97b28;
  --warn-bg: #fbeedd;
  --alert: #d94f4f;
  --beige-1: #f4ece1;
  --beige-2: #e9dccb;
  --beige-3: #dfd0bb;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 34px rgba(20, 30, 45, .08);
  --shadow-soft: 0 4px 16px rgba(20, 30, 45, .06);
  --font-latin: "Montserrat", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-jp);
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 88px 28px;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg .thin { stroke-width: 1.2; }

/* ---------- shared ---------- */
.sec-title {
  font-size: clamp(28.5px, 3.5vw, 43.5px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: .02em;
}

.sec-lead {
  margin-top: 20px;
  font-size: 17px;
  color: var(--ink-soft);
}

.marker {
  position: relative;
  display: inline-block;
  padding: 0 2px;
  z-index: 0;
}
.marker::after {
  content: "";
  position: absolute;
  left: -1%;
  right: -1%;
  bottom: 0.02em;
  height: 0.16em;
  background: var(--marker);
  border-radius: 999px;
  transform: rotate(-.6deg);
  z-index: -1;
}

.blue { color: var(--blue); }

.connect-copy .sec-title { font-size: clamp(24px, 2.5vw, 34px); }
.karte-copy .sec-title { font-size: clamp(25px, 2.5vw, 37px); }
.pricing-copy .sec-title { font-size: clamp(26px, 2.5vw, 35px); white-space: nowrap; }
@media (max-width: 1080px) {
  .pricing-copy .sec-title { white-space: normal; }
}

.pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  border-radius: 999px;
  padding: 7px 22px;
  margin-bottom: 18px;
}
.pt-badge strong { font-size: 17.5px; font-weight: 800; }

.tag-blue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-chip);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 18px;
  margin-bottom: 18px;
}
.tag-blue.dark { background: var(--blue); color: #fff; }
.tag-blue .paw { width: 16px; height: 16px; fill: currentColor; stroke: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  border-radius: var(--radius-sm);
  padding: 17px 30px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .ic { width: 19px; height: 19px; flex-shrink: 0; }
.btn .arrow { width: 15px; height: 15px; margin-left: 2px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-blue { background: var(--blue); color: #fff; font-size: 18.5px; padding: 19px 38px; border-radius: 14px; }
.btn-blue:hover { background: var(--blue-dark); }
.btn.sm { padding: 14px 24px; font-size: 16px; }

.chk {
  display: inline-flex;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  flex-shrink: 0;
}
.chk::after {
  content: "";
  position: absolute;
  left: 6.5px; top: 4.5px;
  width: 4px; height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}
.chk.lg { width: 21px; height: 21px; }

/* photos (モックアップ由来のAI生成素材を切り出して使用) */
[class*="ph-"], .pc-photo, .cg-photo, .mcol-photo, .pcta-photo,
.pain-head-photo, .connect-visual, .karte-visual, .km-illust, .mr-illust, .pcta-illust {
  background: linear-gradient(135deg, var(--beige-1), var(--beige-2) 55%, var(--beige-3));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.pain-head-photo { background-image: url("assets/photos/pain-head.jpg"); }
.pc-photo.ph-a { background-image: url("assets/photos/pain-a-phone.jpg"); }
.pc-photo.ph-b { background-image: url("assets/photos/pain-b-front.jpg"); }
.pc-photo.ph-c { background-image: url("assets/photos/pain-c-note.jpg"); }
.pc-photo.ph-d { background-image: url("assets/photos/pain-d-trim.jpg"); }
.pc-photo.ph-e { background-image: url("assets/photos/pain-e-bottles.jpg"); }
.pc-photo.ph-f { background-image: url("assets/photos/pain-f-sofa.jpg"); }
.cg-photo.g-1 { background-image: url("assets/photos/gal-1-phone.jpg"); }
.cg-photo.g-2 { background-image: url("assets/photos/gal-2-trim.jpg"); }
.cg-photo.g-3 { background-image: url("assets/photos/gal-3-front.jpg"); }
.mcol-photo.mp-1 { background-image: url("assets/photos/mgmt-1-bottles.jpg"); background-color: #eef2f6; background-size: contain; background-repeat: no-repeat; }
.mcol-photo.mp-2 { background-image: url("assets/photos/mgmt-2-calc.jpg"); background-color: #f2f2f0; background-size: contain; background-repeat: no-repeat; }
.mr-illust { background-image: url("assets/photos/mgmt-illust.jpg"); }
.pcta-photo { background-image: url("assets/photos/pcta-photo.jpg"); }
.pcta-illust { background-image: url("assets/photos/pcta-illust.jpg"); }
.km-illust { background-image: url("assets/photos/pcta-illust.jpg"); }


/* app実画面フレーム */
.app-frame {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #e4e7ec;
}
.app-frame-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: var(--gray-100);
  border-bottom: 1px solid #e4e7ec;
}
.app-frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d3d7de; }
.app-frame img { width: 100%; display: block; }

/* ============================================================
   S1 HERO
   ============================================================ */
.hero {
  background:
    linear-gradient(100deg, rgba(255,255,255,.97) 34%, rgba(255,255,255,.72) 58%, rgba(244,236,225,.35)),
    linear-gradient(180deg, #fdfcfa, #f6f2ec);
  overflow: hidden;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 28px 56px;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 54px; height: 54px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: .34em;
  line-height: 1.2;
}
.brand-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--font-latin);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .4em;
  color: var(--gray-500);
}
.brand-sub::before, .brand-sub::after {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--gray-300);
  flex-shrink: 0;
}

.price-pill {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  padding: 13px 30px;
}
.pp-item { display: inline-flex; align-items: baseline; gap: 6px; }
.pp-label { font-size: 14.5px; font-weight: 700; }
.pp-num { font-family: var(--font-latin); font-size: 29.5px; font-weight: 800; line-height: 1; }
.pp-num.lg { font-size: 36px; }
.pp-unit { font-size: 15.5px; font-weight: 700; }
.pp-strong { font-size: 20.5px; font-weight: 900; }
.pp-divider { color: var(--gray-300); font-size: 19.5px; }

.hero-main {
  display: grid;
  grid-template-columns: minmax(0, 50%) minmax(0, 48%);
  gap: 26px;
  align-items: start;
  position: relative;
  border-radius: 22px;
  background-image:
    linear-gradient(100deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 26%, rgba(255,255,255,.5) 42%, rgba(255,255,255,.15) 56%, rgba(255,255,255,.02) 68%),
    url("assets/photos/hero-bg-cand2.jpg");
  background-size: auto, cover;
  background-position: 0 0, right 10% center;
  background-repeat: no-repeat, no-repeat;
  padding: 20px;
  margin: 0 -20px;
}

.hero-badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 8px 20px;
  border-radius: 6px;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(29.5px, 3.5vw, 44.5px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .015em;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero-title { white-space: normal; }
}

.hero-lead { margin-top: 24px; font-size: 17px; color: var(--ink-soft); }
.hero-lead .blue { font-weight: 700; }

.hero-cta { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn { width: 282px; }

/* hero visual: laptop + phone */
.hero-visual { position: relative; min-height: 380px; z-index: 0; }
.hero-mock-main { width: 100%; display: block; position: relative; z-index: 1; }
.hero-mock-main-mb { width: 96%; margin: 0 auto; display: block; }
.hero-mock-phone { position: absolute; z-index: 2; }
.hero-mock-phone-gold { width: 19%; right: 4%; bottom: -6%; }

/* hero features row */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.hf {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 30px 20px 26px;
}
.hf-ic {
  width: 58px; height: 58px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.hf-ic svg { width: 27px; height: 27px; }
.hf-ic.line { background: #e7f6e9; color: #1fa838; }
.hf-ic-img {
  width: auto;
  height: 56px;
  border-radius: 0;
  background: none;
}
.hf-ic-img img { height: 100%; width: auto; object-fit: contain; }
.hf h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.hf p { font-size: 14px; color: var(--gray-700); }

/* ============================================================
   S2 PAIN
   ============================================================ */
.pain { background: #fff; }

.pain-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: center;
  margin-bottom: 44px;
}
.pain-head-photo { aspect-ratio: 4 / 2.9; border-radius: var(--radius); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pain-card {
  background: #fff;
  border: 1px solid #ececef;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px 22px;
}
.pc-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; }
.pc-ic {
  width: 72px; height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.pc-ic svg { width: 33px; height: 33px; }
.pain-card h3 { font-size: 18px; font-weight: 900; line-height: 1.5; padding-top: 3px; }
.pain-card > p {
  font-size: 14.5px;
  color: var(--gray-700);
  border-top: 1.5px dashed var(--gray-300);
  padding-top: 12px;
  min-height: 66px;
}
.pc-photo { aspect-ratio: 16 / 7.2; border-radius: 12px; margin-top: 10px; }

/* ============================================================
   S3 CONNECT
   ============================================================ */
.connect { background: var(--bg-soft); }

.connect-head {
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 42%);
  gap: 36px;
  align-items: center;
  margin-bottom: 50px;
}
.connect-visual {
  aspect-ratio: 697 / 390;
  border-radius: var(--radius);
  background-image: url("assets/photos/connect-laptop.jpg");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
}

.flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 34px;
}
.flow-step {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 24px 10px 20px;
  position: relative;
}
.fs-num {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  width: 27px; height: 27px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fs-ic {
  width: 52px; height: 52px;
  margin: 4px auto 10px;
  border-radius: 14px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.fs-ic svg { width: 26px; height: 26px; }
.fs-ic.ai .ai-chip {
  position: absolute;
  top: -7px; right: -9px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2.5px 6px;
  border-radius: 999px;
}
.flow-step h3 { font-size: 15px; font-weight: 900; margin-bottom: 6px; }
.flow-step p { font-size: 12.5px; color: var(--gray-700); line-height: 1.55; }

.flow-arrow {
  width: 26px;
  flex-shrink: 0;
  position: relative;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 9px; height: 9px;
  border-top: 2.5px solid #9db8d8;
  border-right: 2.5px solid #9db8d8;
}

.connect-gallery {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1.15fr 1.25fr 1.15fr;
  gap: 14px;
  margin-bottom: 34px;
}
.cg-photo { border-radius: 14px; min-height: 172px; }

.cg-karte, .cg-stock {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 14px 15px;
  font-size: 12px;
}
.cgk-title { font-size: 12.5px; font-weight: 700; border-bottom: 1px solid var(--gray-100); padding-bottom: 7px; margin-bottom: 9px; }
.cgk-title.mt { margin-top: 12px; }
.cgk-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-100);
  justify-content: space-between;
}
.cgk-row span { color: var(--gray-500); font-size: 11px; flex-shrink: 0; }
.cgk-row em { font-style: normal; font-weight: 600; font-size: 12px; text-align: right; }
.cgk-row.name { justify-content: flex-start; }
.cgk-row.name strong { font-size: 13.5px; display: block; line-height: 1.3; }
.cgk-row.name small { color: var(--gray-500); font-size: 10.5px; }
.cgk-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(140deg, #e9d5ae, #d3b686);
  flex-shrink: 0;
}
.cgk-avatar.s2 { background: linear-gradient(140deg, #c9a276, #a87e52); }
.cgk-avatar.s3 { background: linear-gradient(140deg, #f3efe8, #ddd3c2); }

.cgs-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 12px;
}
.cgs-row strong { font-family: var(--font-latin); }
.cgs-alert {
  margin-top: 10px;
  border: 1.5px solid var(--alert);
  color: var(--alert);
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  padding: 6px;
}

.connect-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 10px;
}
.cb {
  display: flex;
  gap: 13px;
  padding: 4px 22px;
  border-right: 1px solid var(--gray-100);
  align-items: flex-start;
}
.cb:last-child { border-right: none; }
.cb-ic {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.cb-ic svg { width: 22px; height: 22px; }
.cb h4 { font-size: 15.5px; font-weight: 900; margin-bottom: 4px; }
.cb p { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

/* ============================================================
   S4 KARTE
   ============================================================ */
.karte { background: #fff; }

.karte-head {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 44%);
  gap: 36px;
  align-items: center;
  margin-bottom: 46px;
}
.karte-visual {
  aspect-ratio: 668 / 360;
  border-radius: var(--radius);
  background-image: url("assets/photos/karte-laptop.jpg");
  background-color: transparent;
  background-size: contain;
  background-repeat: no-repeat;
}

.karte-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.karte-card {
  display: grid;
  grid-template-columns: minmax(0, 42%) minmax(0, 58%);
  gap: 18px;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 24px;
}
.kc-ic {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.kc-ic svg { width: 25px; height: 25px; }
.kc-left h3 { font-size: 19px; font-weight: 900; margin-bottom: 10px; }
.kc-left p { font-size: 14px; color: var(--gray-700); }

.kc-ui {
  background: var(--bg-soft);
  border: 1px solid #e8eaee;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 12px;
}
.kcu-name { display: flex; align-items: center; gap: 9px; padding-bottom: 9px; border-bottom: 1px solid #e3e6eb; margin-bottom: 4px; }
.kcu-name strong { font-size: 13.5px; display: block; line-height: 1.3; }
.kcu-name small { font-size: 10.5px; color: var(--gray-500); }
.kc-ui table { width: 100%; border-collapse: collapse; }
.kc-ui table th, .kc-ui table td {
  text-align: left;
  font-size: 11px;
  padding: 4.5px 4px;
  border-bottom: 1px solid #e8eaee;
  font-weight: 400;
  vertical-align: top;
}
.kc-ui table th { color: var(--gray-500); white-space: nowrap; width: 74px; }
.kc-ui table.vax th { width: auto; font-size: 10px; }
.kc-ui table.vax td { font-size: 10.5px; }

.kcu-title { font-size: 12.5px; font-weight: 700; margin-bottom: 7px; }
.kcu-title.mt { margin-top: 11px; }
.kcu-date { font-size: 11px; color: var(--gray-500); margin-bottom: 7px; }
.kcu-tags { display: flex; gap: 7px; align-items: baseline; padding: 3.5px 0; }
.kcu-tags span {
  background: #e8ecf2;
  color: var(--gray-700);
  font-size: 10px;
  border-radius: 4px;
  padding: 1.5px 7px;
  flex-shrink: 0;
}
.kcu-tags em { font-style: normal; font-size: 11px; }

.kcu-photos { display: flex; align-items: center; gap: 9px; margin-top: 10px; }
.kp {
  flex: 1;
  aspect-ratio: 1 / .74;
  border-radius: 8px;
  background: url("assets/photos/ba-before.jpg") center/cover no-repeat;
  position: relative;
}
.kp.after { background: url("assets/photos/ba-after.jpg") center/cover no-repeat; }
.kp span {
  position: absolute;
  left: 6px; bottom: 5px;
  background: rgba(26,26,26,.82);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 8.5px;
  border-radius: 4px;
  padding: 1.5px 7px;
}
.kp-arrow { width: 9px; height: 9px; border-top: 2.5px solid var(--blue); border-right: 2.5px solid var(--blue); transform: rotate(45deg); flex-shrink: 0; }

.st { font-size: 10px; font-weight: 700; border-radius: 4px; padding: 2px 7px; }
.st.ok { background: var(--ok-bg); color: var(--ok); }
.st.warn { background: var(--warn-bg); color: var(--warn); }
.kcu-note {
  margin-top: 9px;
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 7px;
  font-size: 11px;
  padding: 7px 9px;
  color: var(--gray-700);
}

.kcu-pet {
  display: flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid #e8eaee;
  border-radius: 8px;
  padding: 6px 9px;
  margin-bottom: 6px;
}
.kcu-pet strong { font-size: 12px; white-space: nowrap; }
.kcu-pet small { font-size: 10px; color: var(--gray-500); }
.kcu-pet .cgk-avatar { width: 24px; height: 24px; }

.karte-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.kchip {
  display: flex; gap: 12px; align-items: center;
  background: #fff;
  border: 1px solid #ececef;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}
.kchip-ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
}
.kchip-ic svg { width: 21px; height: 21px; }
.kchip h4 { font-size: 14.5px; font-weight: 900; }
.kchip p { font-size: 12px; color: var(--gray-700); line-height: 1.5; }

.karte-message {
  margin-top: 26px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 30px 24px;
  text-align: center;
}
.km-illust { width: 84px; height: 84px; border-radius: 50%; flex-shrink: 0; }
.karte-message p { font-size: 18.5px; line-height: 1.9; }
.karte-message strong { font-size: 23px; font-weight: 900; }

/* ============================================================
   S5 MGMT (blue zone)
   ============================================================ */
.mgmt { background: linear-gradient(180deg, #f4f8fd, #e9f1fa); }

.mgmt-head {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 62%);
  gap: 34px;
  margin-bottom: 44px;
}
.mgmt-copy .sec-title { font-size: clamp(24px, 2.5vw, 31.5px); white-space: nowrap; }
@media (max-width: 1080px) {
  .mgmt-copy .sec-title { white-space: normal; font-size: clamp(26px, 3.5vw, 36px); }
}

.mgmt-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.mpill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 16px;
}
.mpill svg { width: 15px; height: 15px; color: var(--blue); }

.mgmt-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mcol { padding: 30px 26px; border-right: 1px solid var(--gray-100); display: flex; flex-direction: column; }
.mcol:last-child { border-right: none; }
.mcol-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  position: relative;
}
.mcol-ic svg { width: 26px; height: 26px; }
.mcol-ic.ai .ai-chip {
  position: absolute;
  top: -7px; right: -10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-latin);
  font-size: 10px;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 999px;
}
.mcol h3 { font-size: 19.5px; font-weight: 900; margin-bottom: 10px; }
.mcol > p { font-size: 14px; color: var(--gray-700); margin-bottom: 14px; }

.checks li {
  position: relative;
  padding: 5px 0 5px 27px;
  font-size: 14px;
  font-weight: 500;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--blue);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 5.5px; top: 11.5px;
  width: 4px; height: 7px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(42deg);
}

.mcol-photo { margin-top: auto; aspect-ratio: 16 / 6.5; border-radius: 10px; }
.mcol-chart {
  margin-top: auto;
  background: var(--blue-soft);
  border-radius: 10px;
  padding: 12px 12px 10px;
  position: relative;
}
.mcol-chart svg { width: 100%; height: 46px; }
.mcol-cta {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 12px;
  margin-top: 6px;
}

/* dashboard row */
.mgmt-dash {
  display: grid;
  grid-template-columns: minmax(0, 62%) minmax(0, 35%);
  gap: 30px;
  margin-bottom: 34px;
}

.mdash-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mdc {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 15px 15px 13px;
  font-size: 12px;
}
.mdc-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700;
  margin-bottom: 8px;
}
.mdc-head span {
  font-size: 11px; font-weight: 500;
  color: var(--gray-500);
  border: 1px solid var(--gray-300);
  border-radius: 5px;
  padding: 1.5px 8px;
}
.mdc-head span.link { border: none; color: var(--blue); font-weight: 700; }
.mdc-label { font-size: 11px; color: var(--gray-500); }
.mdc-num { font-family: var(--font-latin); font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }
.mdc-num small { font-family: var(--font-jp); font-size: 10.5px; font-weight: 700; }
.mdc-num .up { color: #1fa838; }
.mdc-num .down { color: var(--blue); }

.mdc-bars { display: flex; align-items: flex-end; gap: 3.5px; height: 62px; margin-bottom: 10px; }
.mdc-bars i { flex: 1; height: var(--h); background: linear-gradient(180deg, #6d9bd1, #2f6bb0); border-radius: 3px 3px 0 0; }
.mdc-foot { display: flex; justify-content: space-between; font-size: 10px; color: var(--gray-500); border-top: 1px solid var(--gray-100); padding-top: 8px; }
.mdc-foot strong { font-family: var(--font-latin); font-size: 12px; color: var(--ink); }

.mdc-donut { display: flex; gap: 10px; align-items: center; }
.mdc-donut svg { width: 84px; height: 84px; flex-shrink: 0; }
.mdc-legend li { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--gray-700); padding: 1.5px 0; white-space: nowrap; }
.mdc-legend li strong { font-family: var(--font-latin); font-size: 10.5px; margin-left: auto; }
.mdc-legend i { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }
.mdc-legend .l1 { background: #2f6bb0; }
.mdc-legend .l2 { background: #7fa8d9; }
.mdc-legend .l3 { background: #b8d0ea; }
.mdc-legend .l4 { background: #d5e3f2; }
.mdc-legend .l5 { background: #e9f0f8; }

.mdc-pet {
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid var(--gray-100);
  padding: 6px 0;
}
.mdc-pet > div { min-width: 0; }
.mdc-pet strong { font-size: 11.5px; display: block; line-height: 1.25; }
.mdc-pet small { font-size: 9.5px; color: var(--gray-700); display: block; line-height: 1.3; }
.mdc-pet small.gray { color: var(--gray-500); }
.mdc-pet .cgk-avatar { width: 26px; height: 26px; }
.visit-chip {
  margin-left: auto;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 8.5px;
  border-radius: 7px;
  padding: 4px 8px;
  text-align: center;
  line-height: 1.4;
  flex-shrink: 0;
}
.visit-chip strong { font-size: 11.5px; font-family: var(--font-latin); }
.mdc-more {
  width: 100%;
  margin-top: 9px;
  background: #fff;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  font-family: var(--font-jp);
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px;
  cursor: default;
  pointer-events: none;
}

.mdr-title { font-size: 23px; font-weight: 900; margin-bottom: 20px; line-height: 1.6; }
.mdr-item {
  display: flex; gap: 13px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.mdr-ic {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.mdr-ic svg { width: 21px; height: 21px; }
.mdr-item h4 { font-size: 16px; font-weight: 900; margin-bottom: 3px; }
.mdr-item p { font-size: 13px; color: var(--gray-700); line-height: 1.65; }

.mgmt-ribbon {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--blue-soft);
  border-radius: var(--radius);
  padding: 26px 34px;
}
.mr-ic {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.mr-ic svg { width: 27px; height: 27px; }
.mr-main { font-size: 20.5px; font-weight: 900; }
.mr-sub { font-size: 14.5px; color: var(--gray-700); margin-top: 4px; }
.mr-illust {
  margin-left: auto;
  width: 150px; height: 90px;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ============================================================
   S6 PRICING
   ============================================================ */
.pricing { background: var(--bg-soft); }

.pricing-head { margin-bottom: 44px; }
.pricing-copy { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.pricing-copy .sec-lead { max-width: 480px; margin-left: auto; margin-right: auto; }
.pricing-cards-row {
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}
.zero-badge {
  position: absolute;
  top: -26px;
  left: -20px;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  transform: rotate(-8deg);
  box-shadow: 0 8px 20px rgba(47, 107, 176, 0.35);
}
.zero-badge strong { font-size: 18.5px; font-weight: 900; }
.prc-top {
  display: flex;
  align-items: center;
  padding: 30px 26px 24px;
  gap: 18px;
}
.prc-item { flex: 1; min-width: 0; text-align: center; }
.prc-divider { align-self: stretch; width: 0; border-left: 1.5px dashed var(--gray-300); }
.prc-label { font-size: 14.5px; font-weight: 700; color: var(--gray-700); }
.prc-zero { font-family: var(--font-latin); font-size: 46px; font-weight: 800; line-height: 1.1; }
.prc-zero span { font-family: var(--font-jp); font-size: 19px; font-weight: 900; }
.prc-none { font-size: 30px; font-weight: 900; line-height: 1.2; }
.prc-bottom {
  padding: 24px 26px 30px;
  border-top: 1.5px dashed var(--gray-300);
  text-align: center;
}
.prc-price { font-family: var(--font-latin); font-size: 56px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.prc-price span { font-family: var(--font-jp); font-size: 24px; font-weight: 900; }
.prc-chip {
  display: inline-block;
  margin-top: 12px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 7px 16px;
}

.pricing-includes {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px 26px 20px;
}
.pricing-includes h3 { font-size: 18px; font-weight: 900; text-align: center; margin-bottom: 16px; }
.inc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.inc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8.5px 0;
  border-bottom: 1px solid var(--gray-100);
}
.inc-list li:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 480px) {
  .inc-list { grid-template-columns: 1fr; }
  .inc-list li:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
  .inc-list li:last-child { border-bottom: none; }
}
.inc-ic { width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; color: var(--ink); flex-shrink: 0; }
.inc-ic svg { width: 19px; height: 19px; }
.inc-ic.ai-mini {
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-latin);
  font-size: 10.5px;
  font-weight: 700;
  width: 23px; height: 23px;
}

.steps-wrap {
  display: grid;
  grid-template-columns: minmax(0, 64%) minmax(0, 33%);
  gap: 30px;
  margin-bottom: 34px;
}
.steps-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 30px 30px 34px;
}
.steps-box h3 { font-size: 20.5px; font-weight: 900; margin-bottom: 24px; }
.steps-note { margin-top: 16px; font-size: 13.5px; color: var(--gray-500); text-align: center; }
.steps { display: flex; align-items: stretch; }
.step {
  flex: 1;
  border: 1px solid #e8eaee;
  border-radius: 14px;
  text-align: center;
  padding: 20px 12px;
}
.step-label {
  font-family: var(--font-latin);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
}
.step-ic {
  width: 56px; height: 56px;
  margin: 12px auto 12px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.step-ic svg { width: 26px; height: 26px; }
.step h4 { font-size: 17.5px; font-weight: 900; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--gray-700); line-height: 1.6; }
.step-arrow { width: 22px; flex-shrink: 0; position: relative; }
.step-arrow::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px; height: 8px;
  border-top: 2.5px solid #9db8d8;
  border-right: 2.5px solid #9db8d8;
}

.support-box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
}
.sb-title {
  font-size: 17.5px;
  font-weight: 900;
  color: var(--blue-dark);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 10px;
  margin-bottom: 16px;
}
.sb-item { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.sb-ic {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.sb-ic svg { width: 20px; height: 20px; }
.sb-item h4 { font-size: 15.5px; font-weight: 900; }
.sb-item p { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

.pricing-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 24px 30px;
}
.pcta-illust { width: 92px; height: 92px; border-radius: 50%; flex-shrink: 0; }
.pcta-copy { min-width: 0; }
.pcta-copy h3 { font-size: 19.5px; font-weight: 900; }
.pcta-copy p { font-size: 14px; color: var(--gray-700); margin-top: 4px; }
.pcta-btns { display: flex; gap: 12px; margin-left: auto; flex-shrink: 0; }
.pcta-btns .btn { width: 236px; }
.pcta-photo { width: 150px; height: 92px; border-radius: 12px; flex-shrink: 0; }

/* ============================================================
   S7 FIT + FINAL
   ============================================================ */
.fit { background: #fff; }

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 38%);
  gap: 36px;
  margin-bottom: 46px;
}

.fit-types {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.ft {
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  text-align: center;
  padding: 16px 10px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.ft h4 { font-size: 13px; font-weight: 900; color: var(--blue-dark); line-height: 1.45; min-height: 36px; display:flex; align-items:center; justify-content:center; white-space: nowrap; }
.ft-ic {
  width: 46px; height: 46px;
  margin: 8px auto 10px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.ft-ic svg { width: 22px; height: 22px; }
.ft p { font-size: 11px; color: var(--gray-700); line-height: 1.6; text-align: left; }

.fit-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  background: var(--blue-soft);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  padding: 10px 22px;
}
.fit-note .paw { width: 17px; height: 17px; fill: currentColor; stroke: none; flex-shrink: 0; }

.fit-right {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 28px;
}
.fr-title { font-size: 19.5px; font-weight: 900; margin-bottom: 14px; line-height: 1.6; }
.fr-title .blue { display: inline-block; white-space: nowrap; }
.fr-item {
  display: flex; gap: 13px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--gray-300);
  align-items: flex-start;
}
.fr-item:last-child { border-bottom: none; }
.fr-ic {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.fr-ic svg { width: 22px; height: 22px; }
.fr-item h4 { font-size: 16px; font-weight: 900; }
.fr-item p { font-size: 13px; color: var(--gray-700); line-height: 1.65; }

/* final pricing recap */
.final-price {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 63%);
  gap: 30px;
  background: linear-gradient(160deg, #f0f6fd, #e4eefa);
  border-radius: var(--radius);
  padding: 40px 38px;
  margin-bottom: 26px;
}
.fp-chip {
  display: inline-block;
  background: #fff;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 8px 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}
.fp-price { display: flex; align-items: baseline; gap: 8px; color: var(--blue-dark); white-space: nowrap; }
.fp-label { font-size: 24px; font-weight: 900; white-space: nowrap; }
.fp-price strong { font-family: var(--font-latin); font-size: 78.5px; font-weight: 800; line-height: 1; letter-spacing: -.015em; }
.fp-unit { font-size: 26px; font-weight: 900; }
.fp-unit small { font-size: 13px; font-weight: 700; margin-left: 3px; }
.fp-subs { display: flex; gap: 10px; margin-top: 14px; }
.fp-subs span {
  background: #fff;
  border: 1.5px solid var(--blue);
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 700;
  border-radius: 10px;
  padding: 8px 16px;
}
.fp-note { font-size: 13.5px; color: var(--gray-700); margin-top: 14px; }
.fp-left .btn-outline { margin-top: 18px; }

.fp-right h3 { font-size: 20.5px; font-weight: 900; margin-bottom: 18px; }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.fpg {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 14px 14px;
  align-items: flex-start;
}
.fpg-ic {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
}
.fpg-ic svg { width: 19px; height: 19px; }
.fpg-ic.ai-round { font-family: var(--font-latin); font-size: 13px; font-weight: 800; }
.fpg h4 { font-size: 13px; font-weight: 900; line-height: 1.4; white-space: nowrap; }
.fpg p { font-size: 12px; color: var(--gray-700); line-height: 1.55; margin-top: 3px; }

.fit-footbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  background: var(--bg-soft);
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  padding: 18px 26px;
}
.fit-footbar span { display: inline-flex; align-items: center; gap: 8px; }
.fit-footbar .blue-strong { color: var(--blue); font-weight: 900; }

/* ============================================================
   S8 APPLY
   ============================================================ */
.apply { background: linear-gradient(170deg, #eef4fb, #dfeaf7); }
.apply .section-inner { padding: 72px 28px; }
.apply-box {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px 48px 44px;
}
.apply-box .sec-title { font-size: clamp(26px, 3vw, 37px); }
.apply-box .sec-lead { margin-top: 14px; }
.apply-points {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 22px 0 26px;
  font-size: 14.5px;
  font-weight: 700;
}
.apply-points span { display: inline-flex; align-items: center; gap: 8px; }
.apply-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.apply-btn { font-size: 18.5px; padding: 19px 30px; width: 336px; white-space: nowrap; }
.btn-line { background: #06C755; color: #fff; }
.btn-line:hover { background: #05B04C; }
.apply-note { margin-top: 16px; font-size: 13px; color: var(--gray-500); }
@media (max-width: 640px) {
  .apply-box { padding: 36px 22px 32px; }
  .apply-btns { flex-direction: column; }
  .apply-btn { width: 100%; justify-content: center; font-size: 17.5px; padding: 18px 20px; white-space: normal; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #fff; }
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 46px 28px;
  text-align: center;
}
.footer-brand { justify-content: center; }
.footer-brand .brand-mark { filter: invert(1); }
.footer-brand .brand-sub { color: #b9bdc4; }
.footer-brand .brand-sub::before, .footer-brand .brand-sub::after { background: #565b63; }
.footer-tagline {
  font-family: var(--font-latin);
  font-size: 13px;
  letter-spacing: .32em;
  color: #b9bdc4;
  margin-top: 14px;
}
.footer-org { font-size: 13px; color: #8b9097; margin-top: 22px; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; }
.footer-links a { color: #b9bdc4; }
.footer-links a:hover { color: #fff; }
.footer-links-divider { color: #565b63; }
.footer-copy { font-family: var(--font-latin); font-size: 12.5px; color: #8b9097; margin-top: 20px; }

.mock-note { font-size: 11.5px; color: var(--gray-500); text-align: right; margin-top: 8px; }
.mock-note-abs { margin-top: 6px; }
.hero-visual .mock-note { position: relative; z-index: 1; margin-top: 8px; padding-right: 40px; text-align: left; }

/* ============================================================
   sticky footer CTA (mobile only)
   ============================================================ */
.sticky-cta {
  position: fixed;
  z-index: 90;
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  opacity: 0;
  transform: translateY(140%);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
  /* PC: 中央寄せのコンパクトなピルバー */
  left: 0; right: 0; bottom: 20px;
  width: fit-content;
  margin: 0 auto;
  border-radius: 999px;
  padding: 9px 10px;
  box-shadow: 0 10px 34px rgba(20, 30, 45, 0.2);
}
.sticky-cta.shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.sticky-cta-btn {
  width: 216px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 26px;
  color: #fff;
  white-space: nowrap;
}
.sticky-cta-btn .ic { width: 17px; height: 17px; flex-shrink: 0; }
.sticky-cta-trial { background: var(--ink); color: #fff; }
.sticky-cta-consult { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
@media (max-width: 640px) {
  /* モバイル: 全幅の薄型バー */
  .sticky-cta {
    bottom: 0;
    width: auto;
    margin: 0;
    border-radius: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -6px 20px rgba(20, 30, 45, 0.12);
    transform: translateY(100%);
  }
  .sticky-cta.shown { transform: none; }
  .sticky-cta-btn { flex: 1; font-size: 14.5px; border-radius: 10px; padding: 13px 8px; }
}

/* ============================================================
   scroll animation
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* SP専用改行制御 */
.sp { display: none; }
.nb { display: inline-block; }
@media (max-width: 640px) {
  .sp { display: inline; }
  br.pc { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-main { grid-template-columns: 1fr; }
  .hero-visual { min-height: unset; margin-top: 10px; }
  .pricing-cards-row { grid-template-columns: 1fr; }
  .steps-wrap { grid-template-columns: 1fr; }
  .fit-grid { grid-template-columns: 1fr; }
  .mgmt-head { grid-template-columns: 1fr; }
  .mgmt-dash { grid-template-columns: 1fr; }
  .connect-gallery { grid-template-columns: repeat(3, 1fr); }
  .final-price { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .section-inner { padding: 62px 20px; }
  .hero-inner { padding: 22px 20px 56px; }
  .hero-top { flex-direction: column; align-items: flex-start; }
  .price-pill { padding: 11px 20px; gap: 10px; }
  .pp-num { font-size: 24px; }
  .pp-num.lg { font-size: 28.5px; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .pain-head { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .connect-head, .karte-head { grid-template-columns: 1fr; }
  .flow { flex-wrap: wrap; gap: 18px 0; }
  .flow-step { flex: 1 1 30%; }
  .flow-arrow { display: none; }
  .connect-benefits { grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 18px; }
  .cb { border-right: none; padding: 4px 6px; }
  .karte-grid { grid-template-columns: 1fr; }
  .karte-chips { grid-template-columns: 1fr 1fr; }
  .mgmt-cols { grid-template-columns: 1fr; }
  .mcol { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .mdash-cards { grid-template-columns: 1fr; }
  .steps { flex-wrap: wrap; gap: 14px; }
  .step { flex: 1 1 44%; }
  .step-arrow { display: none; }
  .fit-types { grid-template-columns: repeat(2, 1fr); }
  .fp-grid { grid-template-columns: 1fr 1fr; }
  .pricing-cta { flex-wrap: wrap; }
  .pcta-btns { margin-left: 0; }
  .pcta-photo { display: none; }
  .mgmt-ribbon { flex-wrap: wrap; }
  .mr-illust { display: none; }
}

@media (max-width: 640px) {
  /* hero */
  .hero-title { font-size: 26px; }
  .price-pill { flex-wrap: wrap; justify-content: center; gap: 6px 12px; padding: 10px 16px; border-radius: 18px; }
  .pp-item { white-space: nowrap; }
  .pp-label { font-size: 13px; }
  .pp-num { font-size: 22px; }
  .pp-num.lg { font-size: 26px; }
  .pp-strong { font-size: 17.5px; }
  .pp-divider { display: none; }
  /* section headings */
  .karte-copy .sec-title { font-size: 24px; }
  .fit-left .sec-title { font-size: 25px; }
  .mdr-title { font-size: 20.5px; }
  .mr-main { font-size: 17.5px; }
  .mr-sub { font-size: 13.5px; }
  .karte-message p { font-size: 16.5px; }
  .karte-message strong { font-size: 20.5px; }
  .pcta-copy h3 { font-size: 18.5px; }
  /* 2列→1列 */
  .connect-benefits { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn, .pcta-btns .btn { width: 100%; }
  .zero-badge { left: -6px; top: -30px; width: 80px; height: 80px; font-size: 12.5px; }
  .zero-badge strong { font-size: 16.5px; }
  .fp-price strong { font-size: 56.5px; }
  .fp-label { font-size: 20.5px; }
  .fp-unit { font-size: 22px; }
}

@media (max-width: 540px) {
  .pain-grid { grid-template-columns: 1fr; }
  .hero-features { grid-template-columns: 1fr; }
  .karte-card { grid-template-columns: 1fr; }
  .karte-chips { grid-template-columns: 1fr; }
  .flow-step { flex: 1 1 46%; }
  .fp-grid { grid-template-columns: 1fr; }
  .fit-types { grid-template-columns: 1fr; }
  .connect-gallery { grid-template-columns: 1fr 1fr; }
  .karte-message { flex-direction: column; }
  .pcta-btns { flex-direction: column; width: 100%; }
  .pcta-btns .btn { justify-content: center; }
  .prc-price { font-size: 44px; }
  .fp-price strong { font-size: 61px; }
  .pp-item .pp-label { font-size: 12px; }
}
