/* ============================================================
   事業内容ページ（service.php）専用の追加コンポーネント
   （既存 css/style.css の sv- 系デザインに合わせています）
   ============================================================ */
.sv-answer-box {
  background: #00ada9;
  color: #fff;
  border-radius: 10px;
  padding: 1.25em 1.25em;
  margin-bottom: 2em;
}
.sv-answer-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(255,255,255,0.18);
  padding: 0.25em 0.9em;
  border-radius: 999px;
  margin-bottom: 0.8em;
}
.sv-answer-box p { font-size: 1rem; line-height: 1.95; }
.sv-answer-box p + p { margin-top: 0.7em; }
.sv-answer-stat {
  font-size: 1.25rem !important;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  width: fit-content;
  margin: 0 auto;
}
.sv-answer-stat .sv-answer-stat-num {
  font-size: 1.6rem;
  color: #ffe1a8;
  font-weight: 700;
}

/* 結論ボックス＋画像の横並び（スマホでは画像が文章の下に） */
.sv-answer-row {
  display: flex;
  align-items: stretch;
  gap: 1.5em;
  margin-bottom: 2em;
}
.sv-answer-row .sv-answer-box { flex: 1.3; margin-bottom: 0; }
.sv-answer-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
}
.sv-answer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 425px) {
  .sv-answer-row { flex-direction: column-reverse; }
  .sv-answer-img { min-height: 200px; }
}

/* メリットリスト＋画像の横並び */
.sv-benefit-row {
  display: flex;
  align-items: stretch;
  gap: 1.5em;
}
.sv-benefit-row .sv-benefit-list { flex: 1.3; margin-bottom: 0; }
.sv-benefit-img {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  min-height: 180px;
}
.sv-benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 425px) {
  .sv-benefit-row { flex-direction: column-reverse; }
  .sv-benefit-img { min-height: 200px; }
}

.sv-flow {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: stretch;
  gap: 2em;
  flex-wrap: wrap;
  margin: 2em 0;
}
.sv-flow-step {
  flex: 1;
  min-width: 150px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6em;
}
.sv-flow-step:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  top: 50%;
  right: -1.4em;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: #00ada9;
  line-height: 1;
}
.sv-flow-step img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.sv-flow-step-text {
  box-sizing: border-box;
  width: 100%;
  background: #e4f4f3;
  border: 1px solid #00ada9;
  border-radius: 8px;
  padding: 0.85em 0.8em;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #04706e;
  font-weight: 700;
  text-align: center;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sv-flow-step--warn .sv-flow-step-text {
  background: #fdece0;
  border-color: #f4903a;
  color: #b45a10;
}

.sv-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7em;
}
.sv-checklist li {
  background: #fff8ec;
  border: 1px solid #f8b856;
  border-radius: 6px;
  padding: 0.9em 1.15em;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #333;
  display: flex;
  gap: 0.75em;
  align-items: center;
}
.sv-checklist li i {
  color: #f4903a;
  font-size: 1.5rem;
  width: 1.3em;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}

.sv-table-wrap { overflow-x: auto; margin-bottom: 2em; }
table.sv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  min-width: 560px;
}
.sv-table th, .sv-table td {
  border: 1px solid #ddd;
  padding: 0.75em 1em;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.sv-table td:first-child {
  font-weight: 700;
  color: #222;
  white-space: nowrap;
}
.sv-table td:first-child i {
  color: #00ada9;
  font-size: 1.1em;
  width: 1.3em;
  text-align: center;
  margin-right: 0.4em;
}
.sv-table th {
  background: #e4f4f3;
  color: #04706e;
  font-weight: 700;
  white-space: nowrap;
}
.sv-tbd {
  display: inline-block;
  color: #b45a10;
  background: #fdece0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.1em 0.5em;
  border-radius: 3px;
  margin-left: 0.4em;
  white-space: nowrap;
}

.sv-steps {
  counter-reset: sv-step;
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.sv-steps li {
  background: #f7fafa;
  border-radius: 8px;
  padding: 1.4em 1em 1em;
  position: relative;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.6;
  text-align: center;
}
.sv-steps li::before {
  counter-increment: sv-step;
  content: counter(sv-step);
  display: block;
  width: 26px;
  height: 26px;
  line-height: 26px;
  border-radius: 50%;
  background: #00ada9;
  color: #fff;
  font-weight: 700;
  margin: 0 auto 0.6em;
}

.sv-crosslink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  background: #f7fafa;
  border: 1px dashed #00ada9;
  border-radius: 8px;
  padding: 1.1em 1.4em;
  margin-bottom: 2em;
  font-size: 0.85rem;
  color: #333;
}
.sv-crosslink button {
  border: none;
  background: #00ada9;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6em 1.4em;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .sv-checklist { grid-template-columns: 1fr; }
  .sv-flow { flex-direction: column; }
  .sv-flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1.35em;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .sv-steps { grid-template-columns: repeat(2, 1fr); }
}
