/* =========================
  TOP
========================= */
body {
  margin: 0;
  overflow-x: hidden;
}

.topview {
  width: 100%;
}

.topview__pic {
  display: block;
  width: 100%;
}

.topview__pic img {
  display: block;
  width: 100vw;
  height: auto;
  max-width: 100%;
}

/* =========================
   タイトル
========================= */
.c-section-title {
  text-align: left;
  margin: 0 0 32px;
}

.c-section-title__text {
  display: inline-block;
  position: relative;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(24px);
  background-image: linear-gradient(to right, #2fbf71, #2fbf71);
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: left 95%;
  transition: opacity 0.6s ease, transform 0.6s ease,
    background-size 0.8s ease 0.2s;
}

.c-section-title.is-active .c-section-title__text {
  opacity: 1;
  transform: translateY(0);
  background-size: 100% 3px;
}

@media (max-width: 640px) {
  .c-section-title {
    margin-bottom: 24px;
  }

  .c-section-title__text {
    background-position: left 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-section-title__text {
    opacity: 1;
    transform: none;
    background-size: 100% 3px;
    transition: none;
  }
}

/* =========================
   悩み
========================= */
:root {
  --ink: #1f2937;
  --muted: #6b7280;
  --brand: #1572d6;
  --accent: #ff8c00;
  --line: #e5e7eb;
  --bg: #f8fafc;
  --check-bg: #f2f2f2;
}

.pain-section {
  position: relative;
  background: radial-gradient(
        circle at 0 0,
        rgba(0, 0, 0, 0.06) 1px,
        transparent 1px
      )
      0 0/14px 14px,
    var(--bg);
  color: var(--ink);
}

.pain-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

/* 2カラム固定（画像 + テキスト） */
.pain-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  max-width: 820px;
  margin: 0 auto;
}

.pain-visual {
  display: flex;
  justify-content: center;
}

.pain-image {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
  object-fit: contain;
}

.pain-list {
  width: 100%;
}

/* ✅ 4つを縦並び（常に1列） */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr; /* ←ここで縦並び固定 */
  gap: 14px;
  font-size: clamp(12px, 1.4vw, 16px); /* ←モバイルで小さくなる */
  line-height: 1.8;
}

.check-list li {
  position: relative;
  padding-left: 32px;
}

.check-list li .check-icon {
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 22px;
  height: 22px;
  background: no-repeat center/contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'><rect x='1' y='1' width='18' height='18' rx='3' stroke='%231572d6' stroke-width='2' fill='%23f2f2f2'/><path d='M5 12 L9 16 L20 4' stroke='%231572d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

/* 下向き矢印 */
.pain-divider {
  display: grid;
  place-items: center;
  padding: 22px 0 6px;
}

.chevron {
  width: 28px;
  height: 28px;
  border-bottom: 3px solid var(--muted);
  border-right: 3px solid var(--muted);
  transform: rotate(45deg);
  border-radius: 2px;
  opacity: 0.7;
}

.pain-lead {
  text-align: center;
  font-size: clamp(14px, 2.2vw, 22px);
  margin: 10px 0 0;
}

.pain-lead .hl {
  color: var(--accent);
  font-weight: 800;
}

.sp-br {
  display: none;
}

@media (max-width: 980px) {
  .pain-body {
    grid-template-columns: minmax(120px, 200px) 1fr;
    gap: 16px;
    align-items: start;
  }

  .pain-image {
    max-width: 200px;
  }
}

@media (max-width: 600px) {
  .pain-body {
    grid-template-columns: 120px 1fr;
    max-width: 100%;
    padding: 0 8px;
  }

  .pain-image {
    max-width: 120px;
  }

  .check-list {
    font-size: clamp(11px, 3.4vw, 14px);
    line-height: 1.75;
    gap: 10px;
  }

  .check-list li {
    padding-left: 28px;
  }

  .check-list li .check-icon {
    width: 20px;
    height: 20px;
  }

  .sp-br {
    display: inline;
  }
}

/* =========================
   おせっかい奉行とは
========================= */
.service-blocks {
  background-color: #f5f5f5;
  padding: 80px 20px;
}

.service-blocks__inner {
  max-width: 900px;
  margin: 0 auto;
}

/* セクション内タイトル */
.service-blocks .c-section-title {
  margin-bottom: 48px;
}

.service-block {
  padding: 0;
}

.service-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.service-text {
  flex: 1;
  min-width: 320px;
}

.service-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.service-number {
  font-size: 48px;
  font-weight: bold;
  color: #6baa75;
  line-height: 1;
}

.service-title small {
  font-size: 14px;
  color: #6baa75;
  display: block;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-title h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0;
  color: #000;
}

.service-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

.service-image {
  flex: 1;
  min-width: 300px;
  margin: 0;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.fade-up,
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
  transform: translateY(20px);
}

.fade-in {
  transform: none;
  transition: opacity 2.5s ease;
}

.fade-up.show,
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .service-blocks {
    padding: 56px 16px;
  }

  .service-blocks .c-section-title {
    margin-bottom: 32px;
  }

  .service-inner {
    flex-direction: column;
    gap: 24px;
  }

  .service-text,
  .service-image {
    width: 100%;
    min-width: unset;
  }

  .service-number {
    font-size: 36px;
  }

  .service-title h3 {
    font-size: 20px;
  }

  .service-title small {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .service-text p {
    font-size: 15px;
    line-height: 1.6;
  }
}

@media (max-width: 391px) {
  .service-title h3 {
    font-size: 22px;
  }

  .service-text p {
    font-size: 19px;
  }

  .sp-off {
    display: none;
  }
}

/* =========================
   サービス一覧
========================= */
:root {
  --ink: #1f2430;
  --muted: #6b7280;
  --accent: #2a79ff;
  --accent-soft: #eef4ff;
  --bg: #fff;
  --line: #e6ebf2;
  --radius: 18px;
  --container: 1000px;
  --shadow: 0 10px 24px rgba(10, 20, 60, 0.08);
  --shadow-lg: 0 30px 60px rgba(10, 20, 60, 0.12);
  --font: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho",
    "MS PMincho", serif;
}

.reason {
  background: #fff;
  padding: clamp(32px, 6vw, 96px) 0;
  color: var(--ink);
  font-family: var(--font);
  position: relative;
  overflow: clip;
}

.reason__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.reason__kicker {
  margin: 0 0 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #b9c6ff;
  font-size: clamp(12px, 1.2vw, 14px);
}

.reason__grid {
  list-style: none;
  margin: 0;
  padding: clamp(10px, 2vw, 14px) 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 3→2 */
  gap: clamp(16px, 2.5vw, 28px);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: clamp(18px, 2.2vw, 22px);
  transition: 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 文字タイトル→画像バッジ（左上に斜め配置） */
.card__badge {
  position: absolute;
  left: 10px;
  transform: rotate(-12deg);
  transform-origin: top left;
  z-index: 2;
  pointer-events: none;
}

.card__badge img {
  width: clamp(140px, 15vw, 180px);
  height: auto;
  display: block;
  max-width: none;
}

.card__illust {
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  padding-top: 18px; /* バッジと干渉しにくくする */
}

.card__illust img {
  width: 75%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.card__text {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: clamp(13px, 1.2vw, 14px);
}

.reason__cta {
  text-align: center;
  margin-top: clamp(18px, 4vw, 36px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 24px rgba(42, 121, 255, 0.22);
  transition: 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(42, 121, 255, 0.28);
}

@media (max-width: 960px) {
  .reason__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reason__decor {
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .reason__grid {
    grid-template-columns: 1fr;
  }
  .reason__decor {
    display: none;
  }

  .card__badge {
    top: 8px;
    left: 8px;
    transform: rotate(-10deg);
  }
  .card__badge img {
    width: clamp(100px, 38vw, 140px);
  }
}

.card {
  position: relative;
  overflow: visible;
}

.card__badge {
  top: -10px;
  position: absolute;
  left: 0;
  transform: translateX(-10%);
  transform-origin: left top;
  z-index: 5;
  pointer-events: none;
}

.card__badge img {
  width: clamp(150px, 15vw, 190px);
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .card__badge img {
    width: clamp(160px, 60vw, 200px);
  }
}
