@charset "UTF-8";
/*
 * トップページ専用（functions.php の zangyodai_enqueue_front_page_css で is_front_page() のときだけ読む）
 */

/* ----------------- 弁護士法人エース 4つのプライド ----------------- */
/* デザインの正本は Figma「離婚LP PC版／スマホ版（ヘッダー〜お悩み）」の
   「残業代」用のパターン（見出しだけ青帯・「無料相談」は白箱、4項目は白地・写真なし）。
   白地のパターン（相続・離婚など）との違いは見出しまわりだけ */
.eb-custom-section-pride {
  padding: 0 0 48px;
  background: #fff;
  color: #0f294d;
}
.eb-custom-section-pride .custom-pride-header {
  padding: 20px 16px; /* Figma の青帯は SP 66px */
  background: #30b8ed;
}
.eb-custom-section-pride .custom-pride-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0 0.1em; /* 「弁護士法人エース」と「4」はほぼ詰める（Figma） */
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0; /* body の字間だと 375px 幅で1行に収まらない */
  color: #0f294d;
}
.eb-custom-section-pride .custom-pride-label {
  margin-right: 0.2em;
  padding: 0 0.4em;
  background: #fff;
  color: #30b8ed;
  line-height: 1.85; /* 白箱の高さ（Figma SP 約30px） */
}
.eb-custom-section-pride .custom-pride-count {
  display: inline-flex;
  align-items: center;
}
.eb-custom-section-pride .custom-pride-num {
  position: relative;
  margin: -0.4em 0.3em -0.4em 0;
  font-size: 2.25em;
  line-height: 1;
  color: #fff;
}
.eb-custom-section-pride .custom-pride-num img {
  position: absolute;
  top: -0.23em;
  left: 0.42em;
  width: 0.5em;
  height: auto;
}
.eb-custom-section-pride .custom-pride-list {
  width: fit-content;
  max-width: 241px;
  margin: 32px auto 0;
  padding: 0 0 0 1.5em;
  list-style: decimal outside;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.74;
  letter-spacing: 0;
}
.eb-custom-section-pride .custom-pride-list li {
  list-style: inherit;
}
/* Figma は項目の間に空行1行ぶん */
.eb-custom-section-pride .custom-pride-list li + li {
  margin-top: 1.74em;
}

@media screen and (min-width: 801px) {
  .eb-custom-section-pride {
    margin-top: 34px; /* 対応実績の下余白（36px）と合わせて Figma の 70px */
    padding-bottom: 80px;
    color: #000;
  }
  .eb-custom-section-pride .custom-pride-header {
    padding: 30px 16px; /* Figma の青帯は PC 123px */
  }
  .eb-custom-section-pride .custom-pride-title {
    gap: 0 0.2em;
    font-size: clamp(24px, 3vw, 38px); /* 1280px 幅で Figma の 38px。狭い PC でも1行に収める */
    color: #000;
  }
  .eb-custom-section-pride .custom-pride-name,
  .eb-custom-section-pride .custom-pride-count {
    letter-spacing: 0.17em;
  }
  .eb-custom-section-pride .custom-pride-label {
    margin-right: 0.45em;
    padding: 0 0.3em;
    line-height: 1.47; /* 白箱の高さ（Figma PC 56px） */
  }
  .eb-custom-section-pride .custom-pride-num {
    margin-right: 0.15em;
    font-size: 1.75em; /* 38px に対して 66px */
    letter-spacing: 0;
  }
  .eb-custom-section-pride .custom-pride-num img {
    top: -0.24em;
    left: 0.39em;
    width: 0.53em;
  }
  .eb-custom-section-pride .custom-pride-list {
    max-width: none;
    margin-top: 70px;
    font-size: clamp(18px, 1.9vw, 24px);
    line-height: 1.62;
    letter-spacing: 0.1em;
  }
  .eb-custom-section-pride .custom-pride-list li + li {
    margin-top: 1.62em;
  }
}
