/* DSQ certification badge (DCHECK-242) — keep isolated from style.css */
/* 一覧: 差分のみ（ピル共通形は style.css）。:after・枠・文字色の上書きはここに集約 */
.companiesList .txtBox h4 span.dsq-badge--companies-list-pill {
  flex: 0 1 auto !important;
  display: flex !important;
  width: auto !important;
  min-width: 172px;
  color: inherit !important;
  border: none !important;
}

.companiesList .txtBox h4 span.dsq-badge--companies-list-pill:after {
  content: "";
  display: block;
  background: url(../img/dsq-certification.png) center center / 18px no-repeat;
  width: 18px;
  height: 18px;
  position: absolute;
  left: 15px;
  top: 7px;
}

@media only screen and (max-width: 1081px) {
  .companiesList .txtBox h4 span.dsq-badge--companies-list-pill {
    width: auto !important;
    max-width: 100%;
    margin-top: 8px;
  }
}

/* 事業者詳細: .main（ヘッダ画像）の直下の .contents ＝ ロゴ → DSQ → message → outline */
.contentsWrapCompany > .contents {
  padding-top: 40px;
}

.contentsWrapCompany > .contents > .compLogo {
  margin-bottom: 28px;
  padding-bottom: 28px;
}

.contentsWrapCompany .main img {
  max-height: 340px;
  width: 100%;
  object-fit: cover;
}

.dsq-badge--company {
  text-align: center;
  margin: 1.25rem auto 1.5rem;
  max-width: 420px;
}

.contentsWrapCompany .dsq-badge--company {
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

/* 事業者詳細ヘッダの DSQ ロゴ枠：デザイン指定 97 × 94px（枠固定＋画像は contain） */
.dsq-badge--company-logo {
  width: 97px;
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
}

.dsq-badge--company-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dsq-badge--company-meta {
  margin: 0.5rem auto 0;
  max-width: 50%;
  box-sizing: border-box;
  font-size: 12px;
  color: #222;
  line-height: 1.45;
}

/* サービス詳細: 白背景・薄枠・左ロゴ（円形） */
.dsq-badge--detail {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0 0 2.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #e2e4e8;
  border-radius: 8px;
  background: #fff;
  max-width: 720px;
  box-sizing: border-box;
}

/* .serviceContents と同じ幅に揃える */
.serviceContents .dsq-badge--detail {
  max-width: none;
  width: 100%;
}

.dsq-badge--detail-logo {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dsq-badge--detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  display: block;
}

.dsq-badge--detail-body {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #222;
}

.dsq-badge--detail-lead {
  margin: 0 0 1rem;
}

.dsq-badge--detail-lead strong {
  font-weight: 700;
}

.dsq-badge--detail-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
}

.dsq-badge--detail-number {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

.dsq-badge--detail-link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  white-space: nowrap;
}

@media only screen and (max-width: 600px) {
  .dsq-badge--detail {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .dsq-badge--detail-foot {
    justify-content: center;
  }
}

/* —— サービス詳細ページ本文（モックの「サービス詳細」「参考価格」「制作実績」） —— */
.contentsServiceDetail {
  padding-bottom: 24px;
}

.serviceContents {
  padding-top: 56px;
}

.serviceContents h3 {
  border-bottom-color: #dcdfe4;
  padding-bottom: 12px;
}

.serviceContents h3 span {
  color: #444;
  font-weight: 400;
}

/* キャッチ行: モックの青い円チェック */
.serviceContents .serviceTtlTxt {
  background: none !important;
  padding-left: 44px;
}

.serviceContents .serviceTtlTxt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2b6fd4;
}

.serviceContents .serviceTtlTxt::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 13px;
  width: 11px;
  height: 7px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

/* 参考価格エリア CTA: 角の丸いピル型・中央寄せ（既存 .btnB #333 を活かし調整） */
.serviceContents .buttonContainer {
  margin-top: 8px;
  margin-bottom: 8px;
}

.serviceContents .serviceMitsumori p span {
  font-style: italic;
  font-weight: 600;
  color: #333;
}

.serviceContents .serviceMitsumori .btn.btnB .btnSubmit,
.serviceContents .serviceMitsumori .btn.btnB a {
  border-radius: 999px;
}

.serviceContents .serviceMitsumori .btn.btnB {
  max-width: 520px;
}

/* ページ下部の共通 CTA も同様のピル形状 */
.serviceContents > .btn.btnB a,
.serviceContents > .btn.btnB .btnSubmit {
  border-radius: 999px;
}

/* 制作実績リスト */
.serviceContents ul.basicList {
  line-height: 1.75;
}
