/* ============================================================
   サービス詳細ページ共通CSS
   services/ai.html / seo.html / llmo.html が読み込む
   2026-08-28 作成
   ※ style.css は全ページ共用のため、詳細ページ専用の指定はここに置く
   ============================================================ */

/* ---------- カードの列数（インラインstyleを使わずSPで1列に落とすため） ---------- */
.service-features--2col { grid-template-columns: repeat(2, 1fr); }
.service-features--3col { grid-template-columns: repeat(3, 1fr); }


/* ---------- できること（羅列） ---------- */
.section-en--first { margin-top: 0; }

.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.scope-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
}
.scope-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.scope-list { margin: 0; }
.scope-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-body);
}
.scope-list li + li { margin-top: 9px; }
.scope-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
}
.scope-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 0;
}

/* ---------- 実際に動かしているもの ---------- */
.real-block {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px 38px;
}
.real-block + .real-block { margin-top: 24px; }
.real-block-head { margin-bottom: 16px; }
.real-block-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--primary);
  border-radius: 3px;
  padding: 4px 10px;
  margin-bottom: 12px;
}
.real-block-head h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.6;
}
.real-block-text {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-body);
}
.real-block-text + .real-block-text { margin-top: 16px; }
.real-list {
  margin: 18px 0;
  display: grid;
  gap: 12px;
}
.real-list li {
  background: var(--bg-gray);
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
}
.real-list li strong {
  color: var(--text);
  font-weight: 700;
}

/* ---------- 料金表 ---------- */
.price-table {
  max-width: 900px;
  margin: 0 auto;
}
.price-table table {
  border-top: 2px solid var(--primary);
  background: #fff;
}
.price-table thead th {
  background: var(--bg-gray);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table tbody tr {
  border-bottom: 1px solid var(--border);
}
.price-table tbody td {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  vertical-align: middle;
}
.price-table .price-table-name {
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
  width: 30%;
}
.price-table .price-table-sub {
  font-size: 12.5px;
  color: #888;
}
.price-table .price-table-amount {
  text-align: right;
  white-space: nowrap;
  color: var(--text);
}
.price-table .price-table-amount strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}
.price-table .price-table-unit {
  font-size: 12.5px;
  color: #888;
  margin-left: 2px;
}
.price-table .price-table-amount--ask {
  font-weight: 700;
  font-size: 16px;
}
.price-table .price-table-row--highlight {
  background: #f5f8ff;
}
.price-note {
  font-size: 13px;
  line-height: 1.9;
  color: #777;
  margin-top: 20px;
}

/* 相場比較表 */
.price-table--market thead th:first-child { width: 40%; }
.price-table--market .price-table-amount { font-size: 14px; }
.price-table--market .price-table-amount--ours {
  font-weight: 700;
  color: var(--primary);
  background: #f5f8ff;
}
.price-table--market thead th:last-child {
  background: #e6edfb;
  color: var(--primary);
}

/* ---------- 助成金の注意書き ---------- */
.notice-box {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg-gray);
  border-left: 4px solid var(--primary);
  border-radius: 4px;
  padding: 32px 36px;
}
.notice-box p {
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-body);
}
.notice-box p + p { margin-top: 16px; }
.notice-box strong { color: var(--text); font-weight: 700; }

/* ---------- よくある失敗 ---------- */
.pitfall-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}
.pitfall-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.pitfall-item-bad,
.pitfall-item-good {
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.9;
}
.pitfall-item-bad {
  background: #f7f7f7;
  color: #666;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.pitfall-item-good { color: var(--text); }
.pitfall-label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #999;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  padding: 2px 8px;
  margin-right: 12px;
  vertical-align: 2px;
  white-space: nowrap;
}
.pitfall-label--good {
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- 流れ（本ページは5ステップなので4列→5列に） ---------- */
.service-flow-steps { grid-template-columns: repeat(5, 1fr); }
.service-flow-step p { font-size: 13px; }

/* ---------- CTAの補足文 ---------- */
.section-cta .cta-title { margin-bottom: 20px; }
.section-cta .cta-lead {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
  opacity: 0.9;
}


/* ---------- 用語の違い（比較表） ---------- */
.term-table .price-table-name { width: 22%; }
.term-table tbody td:nth-child(2) { width: 30%; font-weight: 500; color: var(--text); }
.term-table tbody td:nth-child(3) { text-align: left; white-space: normal; }
.term-table .term-main {
  background: #f5f8ff;
}
.term-table .term-main .price-table-name { color: var(--primary); }

/* ---------- 注意書き（保証しないことを明記する用） ---------- */
.notice-box--warn {
  background: #fdf6f3;
  border-left-color: #c0603f;
}
.notice-box--warn strong { color: #a1462a; }

/* ---------- 数字を見せる ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
}
.stat-card-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.stat-card-num small { font-size: 16px; font-weight: 700; margin-left: 2px; }
.stat-card-label {
  font-size: 13.5px;
  font-weight: 700;
  margin-top: 10px;
}
.stat-card-note {
  font-size: 12.5px;
  color: #888;
  line-height: 1.7;
  margin-top: 8px;
}

/* ---------- 関連ページへの導線 ---------- */
.related-link {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--bg-gray);
  border-radius: 12px;
  padding: 28px 32px;
}
.related-link-body { flex: 1; }
.related-link-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 6px;
}
.related-link-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.related-link-body p { font-size: 14px; color: var(--text-body); line-height: 1.8; }
.related-link .btn { flex-shrink: 0; }

/* ---------- SP ---------- */
@media (max-width: 900px) {
  .service-features--2col,
  .service-features--3col { grid-template-columns: 1fr; }

  .price-table thead { display: none; }
  .price-table tbody tr { display: block; padding: 18px 4px; }
  .price-table tbody td { display: block; padding: 0; text-align: left; }
  .price-table .price-table-name {
    width: auto;
    font-size: 16px;
    margin-bottom: 6px;
  }
  .price-table .price-table-amount {
    text-align: left;
    margin-top: 10px;
    white-space: normal;
  }
  .price-table .price-table-amount strong { font-size: 24px; }

  .price-table--market tbody td:nth-child(2)::before {
    content: "一般的な相場：";
    font-size: 12.5px;
    color: #888;
  }
  .price-table--market tbody td:nth-child(3)::before {
    content: "当社：";
    font-size: 12.5px;
    color: var(--primary);
    font-weight: 700;
  }
  .price-table--market .price-table-amount--ours {
    background: none;
    margin-top: 4px;
  }

  .notice-box { padding: 24px 20px; }
  .notice-box p { font-size: 14px; }

  .pitfall-item-bad,
  .pitfall-item-good { padding: 16px 18px; font-size: 14px; }
  .pitfall-label { display: block; margin: 0 0 6px 0; width: fit-content; }

  .service-flow-steps { grid-template-columns: repeat(2, 1fr); }

  .scope-grid { grid-template-columns: 1fr; gap: 16px; }
  .scope-block { padding: 22px 20px; }

  .real-block { padding: 26px 22px; }
  .real-block-head h3 { font-size: 17px; }
  .real-block-text { font-size: 14px; }
  .real-list li { padding: 13px 15px; font-size: 13.5px; }

  .term-table .price-table-name,
  .term-table tbody td:nth-child(2),
  .term-table tbody td:nth-child(3) { width: auto; }
  .term-table tbody td:nth-child(2) { margin-top: 4px; }

  .stat-row { grid-template-columns: 1fr; gap: 14px; }
  .stat-card { padding: 22px 18px; }
  .stat-card-num { font-size: 30px; }

  .related-link { flex-direction: column; align-items: stretch; gap: 18px; padding: 24px 20px; }
  .related-link .btn { width: 100%; text-align: center; }

  .section-cta .cta-lead { font-size: 14px; }
}

/* タブレット幅では「できること」を2列に */
@media (min-width: 901px) and (max-width: 1180px) {
  .scope-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== デザイン制作ページ：ロゴ案の一覧（2026-09-01） ===== */
.logo-samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.logo-samples figure {
  margin: 0;
  background: #fff;
  border: 1px solid #e4e8ef;
  border-radius: 10px;
  padding: 18px 14px 12px;
  text-align: center;
}
.logo-samples img {
  width: 100%;
  max-width: 190px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.logo-samples figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  color: #6b7280;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .logo-samples { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-samples figure { padding: 14px 10px 10px; }
}
@media (max-width: 400px) {
  .logo-samples { gap: 10px; }
  .logo-samples figcaption { font-size: 11.5px; }
}
