@charset "utf-8";

/* ==========================================================================
   こんなお悩みありませんか？ セクション
   PC: Figma 4221:5563 (960.5 x 400 at (239, 1199) within 1440)
   SP: Figma 4326:5414 (375 x 599 at (0, 931))
   ========================================================================== */

.cont1 {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 20px;
  background: transparent;
  font-family: var(--font-jp);
  color: var(--color-text);
}

.cont1__inner {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ---- タイトル ---------------------------------------------------------- */
.cont1__title {
  position: relative;
  display: inline-block;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 3.6px;
  color: var(--color-text);
  margin: 0;
  padding: 0 14px;
  text-align: center;
  /* 黄色マーカー (Figma指定色 #F8E760) */
  background-image: linear-gradient(
    to top,
    transparent 4%,
    #f8e760 4%,
    #f8e760 32%,
    transparent 32%
  );
}
/* 右肩スクリブル装飾 (Ellipse 53 Stroke 提供画像) */
.cont1__title::after {
  content: "";
  position: absolute;
  top: -16px;
  right: -28px;
  width: 28px;
  height: 25px;
  background: url("../images/cont1/title-deco.png") no-repeat center / contain;
}

/* ---- リストラッパー (リスト + 人物 + 下V字の入れ物) -------------------- */
.cont1__list-wrap {
  position: relative;
  width: 100%;
}

/* ---- 悩みリストを囲むボックス (Figma rect: 958.5x214, rx=3) ----------- */
.cont1__list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 18px;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 32px 100px 32px 56px; /* 右側はpersonイラスト分の余白 */
  background: #fff;
  border: 2px solid var(--color-text);
  border-radius: 4px;
}

/* ---- ボックス下のV字シェブロン (Figma Vector 9: 960x14, ボックスから6px下) */
.cont1__list-arrow {
  display: block;
  width: 100%;
  height: 16px;
  margin-top: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 960 16' fill='none' preserveAspectRatio='none'><path d='M1 1 H469.376 C469.694 1 469.993 1.151 470.181 1.407 L480.136 14.908 C480.535 15.45 481.346 15.45 481.746 14.908 L491.7 1.407 C491.889 1.151 492.187 1 492.505 1 H959' stroke='%23231815' stroke-width='2' stroke-linecap='round'/></svg>")
    no-repeat center / 100% 100%;
}

.cont1__list li {
  position: relative;
  padding-left: 38px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 1px;
  color: var(--color-text);
  text-align: left;
}
/* チェックアイコン (Group 2611620 = 提供画像 check.png) */
.cont1__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: url("../images/cont1/check.png") no-repeat center / contain;
}

/* ---- 右側キャラクターイラスト (Figma: 84x124, 箱の右下に配置) ---------- */
.cont1__person {
  position: absolute;
  right: 0;
  bottom: 22px;
  width: 84px;
  height: auto;
  pointer-events: none;
  z-index: 3;
}

/* ---- ブリッジコピー ---------------------------------------------------- */
.cont1__bridge {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 2.4px;
  color: var(--color-text);
  text-align: center;
  margin: -12px 0 0; /* V字の直下に寄せる */
}

/* ==========================================================================
   タブレット〜PC small : fluid 縮小
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 751px) {
  .cont1__title {
    font-size: clamp(26px, 3vw, 36px);
  }
  .cont1__list {
    padding: 28px 90px 28px 32px;
    column-gap: 32px;
  }
  .cont1__list li {
    font-size: clamp(15px, 1.7vw, 18px);
  }
  .cont1__bridge {
    font-size: clamp(20px, 2.6vw, 32px);
  }
  .cont1__person {
    width: clamp(64px, 7vw, 84px);
  }
}

/* ==========================================================================
   SP (~750px以下) — 1カラムリスト
   ========================================================================== */
@media (max-width: 750px) {
  .cont1 {
    padding: 48px 20px 64px;
  }

  .cont1__inner {
    gap: 20px;
  }

  .cont1__title {
    font-size: 24px;
    letter-spacing: 1.6px;
    line-height: 1.4;
    padding: 0 10px;
  }
  .cont1__title::after {
    width: 22px;
    height: 18px;
    top: -16px;
    right: -8px;
  }

  .cont1__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 24px 56px 20px; /* 右側を広げ全項目を1行で表示, 下は人物用 */
    border-radius: 4px;
  }
  .cont1__list-arrow {
    height: 12px;
    margin-top: 4px;
  }
  .cont1__list li {
    font-size: 14px;
    letter-spacing: 0.4px;
    padding-left: 28px;
    white-space: nowrap; /* 改行を防ぐ */
  }
  .cont1__list li::before {
    width: 20px;
    height: 20px;
  }

  /* 人物: 箱の右下コーナーに配置 (item7 を避けるため下寄せ) */
  .cont1__person {
    width: 60px;
    right: 6px;
    bottom: 0;
  }

  .cont1__bridge {
    font-size: 20px;
    letter-spacing: 0.8px;
    line-height: 1.5;
  }
}
