@charset "utf-8";

/* /shore-tiprun/ 専用の部品（2026-09-24）。
   土台は egi-erabi.css（A ページ共通）で、ここはその上に足すものだけ。
   **egi-erabi.css は触らない** — 同じ CSS を /aoriika-egi-erabi/ が使っており、
   そちらは効果測定の最中（判定 10-16）なので見た目を動かさない。 */

/* HERO 直下の数値カード（PC 3列・スマホ縦積み） */
.st-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 32px;
}
.st-kpi__item {
  border: 1px solid #dde3ea;
  border-radius: 10px;
  background: #f7f9fb;
  padding: 18px 18px 20px;
}
.st-kpi__label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #5a6472;
  margin: 0 0 6px;
  line-height: 1.6;
}
.st-kpi__value {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1E3A5F;
  margin: 0 0 8px;
  line-height: 1.35;
}
.st-kpi__note { font-size: 1.4rem; color: #2b3850; margin: 0; line-height: 1.8; }

/* 条件カード（2列 → スマホ1列） */
.st-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 0 0 24px;
}
.st-cards__item {
  border: 1px solid #dde3ea;
  border-radius: 10px;
  padding: 18px 20px 20px;
  background: #fff;
}
.st-cards__ttl {
  font-size: 1.7rem;
  font-weight: 700;
  color: #1E3A5F;
  margin: 0 0 8px;
  line-height: 1.6;
}
.st-cards__item p { font-size: 1.55rem; line-height: 2; margin: 0; color: #2b3850; }

/* 手順（番号つき） */
.st-steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: st; }
.st-steps > li {
  counter-increment: st;
  position: relative;
  padding: 0 0 0 58px;
  margin: 0 0 22px;
  min-height: 42px;
}
.st-steps > li::before {
  content: "STEP " counter(st);
  position: absolute;
  left: 0;
  top: 2px;
  width: 46px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: #1E3A5F;
  border-radius: 6px;
  padding: 5px 0;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
}
.st-steps__ttl { font-size: 1.7rem; font-weight: 700; color: #1E3A5F; margin: 0 0 6px; line-height: 1.6; }
.st-steps p { font-size: 1.55rem; line-height: 2; margin: 0; }

/* 言い切りを置く強調ボックス */
.st-callout {
  border-left: 6px solid var(--color_red, #E0211A);
  background: #f7f9fb;
  border-radius: 0 10px 10px 0;
  padding: 22px 24px;
  margin: 0 0 24px;
}
.st-callout p {
  font-size: 2rem;
  font-weight: 700;
  color: #1E3A5F;
  margin: 0;
  line-height: 1.7;
}
.st-callout--sub p { font-size: 1.7rem; }

/* 表をスマホでカードに切り替える（横スクロールさせない） */
.st-table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.st-table th, .st-table td {
  border: 1px solid #dde3ea;
  padding: 12px 14px;
  font-size: 1.5rem;
  line-height: 1.9;
  text-align: left;
  vertical-align: top;
}
.st-table thead th { background: #1E3A5F; color: #fff; font-weight: 700; white-space: nowrap; }
.st-table tbody tr:nth-child(even) { background: #f7f9fb; }
.st-table td.num { white-space: nowrap; }

/* 最後の CTA */
.st-cta {
  border: 1px solid #dde3ea;
  border-radius: 12px;
  background: #f7f9fb;
  padding: 28px 24px 30px;
  margin: 0 0 40px;
  text-align: center;
}
.st-cta__ttl { font-size: 2rem; font-weight: 700; color: #1E3A5F; margin: 0 0 10px; line-height: 1.7; }
.st-cta p { font-size: 1.55rem; line-height: 2; margin: 0 0 18px; }
.st-cta__btn {
  display: inline-block;
  background: #1E3A5F;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.6rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 50px;
  margin: 0 8px 10px;
}
.st-cta__btn:hover { background: #E0211A; }
.st-cta__btn--sub { background: #fff; color: #1E3A5F !important; border: 1px solid #1E3A5F; }
.st-cta__btn--sub:hover { background: #1E3A5F; color: #fff !important; }

@media (max-width: 767px) {
  .st-kpi { grid-template-columns: 1fr; gap: 12px; }
  .st-cards { grid-template-columns: 1fr; }
  .st-callout p { font-size: 1.75rem; }
  .st-steps > li { padding-left: 0; }
  .st-steps > li::before { position: static; display: inline-block; margin: 0 0 6px; }

  /* 表 → カード（見出しは data-th から出す） */
  .st-table, .st-table tbody, .st-table tr, .st-table td { display: block; width: 100%; }
  .st-table thead { display: none; }
  .st-table tr {
    border: 1px solid #dde3ea;
    border-radius: 10px;
    margin: 0 0 14px;
    padding: 6px 2px;
    background: #fff;
  }
  .st-table tbody tr:nth-child(even) { background: #fff; }
  .st-table td {
    border: none;
    padding: 8px 14px;
  }
  .st-table td::before {
    content: attr(data-th);
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #5a6472;
    margin-bottom: 2px;
  }
}

/* ヒーロー直下の1枚（本文の幅いっぱい） */
.ee-fig--full { max-width: 100%; margin: 0 0 28px; }
.ee-fig--full img { border-radius: 10px; }

/* 誰の知見かを最後に置く */
.st-credit {
  font-size: 1.45rem;
  line-height: 2;
  color: #5a6472;
  border-top: 1px solid #dde3ea;
  padding-top: 18px;
  margin: 0 0 28px;
}
.st-credit__en {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: #1E3A5F;
  font-weight: 700;
}
