/* ============================================================
   サンプルテスト総合ページ（案C） — infoCMS 貼付用スタイル
   スコープ: すべて .sds-st 配下だけに適用（既存CMSと干渉しません）
   クライアント: 精電舎電子工業 / ブランドマゼンタ #AA0061
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");

h1 {
  padding: 0;
}
h1:before {
  content: none;
}
/* #main .pagetitle {
  padding-top: 0;
  margin-bottom: 0;
} */
h2:first-letter {
  font-size: inherit;
  color: inherit;
}
.st-final__inner {
  background: none 0% 0% / auto repeat scroll padding-box border-box
    rgba(255, 255, 255, 255);
}
/* .contentBottom {
  margin-top: 0;
} */

/* ---- 基本・スコープルート ---- */
.sds-st,
.sds-st *,
.sds-st *::before,
.sds-st *::after {
  box-sizing: border-box;
}
.sds-st {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo,
    sans-serif;
  color: #57575a;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.sds-st img {
  display: block;
  max-width: 100%;
}
.sds-st a {
  color: inherit;
}
.sds-st h1,
.sds-st h2,
.sds-st h3,
.sds-st p {
  margin: 0;
}
.sds-st .st-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
}
.sds-st section[id] {
  scroll-margin-top: 88px;
}

/* ---- ヒーロー ---- */
/* ↓ ヘーローをCMSの .inner 幅制約から全幅にはみ出させる（.inner は触らない） */
.sds-st .st-hero {
  position: relative;
  background: #aa0061;
  color: #fff;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.sds-st .st-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  mix-blend-mode: luminosity;
}
.sds-st .st-hero__skew {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 340px;
  height: 130%;
  background: rgba(255, 255, 255, 0.06);
  transform: skewX(-15deg);
}
.sds-st .st-hero__skew2 {
  position: absolute;
  right: 140px;
  top: -60px;
  width: 60px;
  height: 130%;
  background: rgba(255, 255, 255, 0.05);
  transform: skewX(-15deg);
}
.sds-st .st-hero__inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 40px) clamp(44px, 6vw, 68px);
}
.sds-st .st-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.82;
}
.sds-st .st-hero__title {
  margin: 16px 0 18px;
  font-size: clamp(30px, 5.2vw, 50px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: rgb(255, 255, 255);
}
.sds-st .st-hero__lead {
  max-width: 600px;
  margin: 0 0 30px;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.9;
  opacity: 0.92;
}
.sds-st .st-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  margin-bottom: 32px;
}
.sds-st .st-metric__num {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1;
}
.sds-st .st-metric__num small {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 2px;
}
.sds-st .st-metric__label {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 7px;
  font-weight: 500;
}
.sds-st .st-metric--dummy .st-metric__label {
  opacity: 0.7;
}
.sds-st .st-metric__sep {
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}
.sds-st .st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sds-st .st-btn {
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition:
    opacity 0.18s,
    background 0.18s,
    color 0.18s;
}
.sds-st .st-btn--light {
  background: #fff;
  color: #aa0061;
}
.sds-st .st-btn--light:hover {
  opacity: 0.9;
}
.sds-st .st-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 14px 24px;
}
.sds-st .st-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.sds-st .st-btn__arrow {
  font-weight: 900;
}

/* ---- 本文レイアウト（左サイド追従目次 + メイン） ---- */
.sds-st .st-body {
  padding: clamp(40px, 5vw, 64px) clamp(20px, 5vw, 40px) clamp(48px, 6vw, 80px);
  max-width: 1180px;
  margin: 0 auto;
}
.sds-st .st-lay {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.sds-st .st-toc {
  position: sticky;
  top: 96px;
}
.sds-st .st-toc__head {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #97999c;
  padding: 0 0 12px 13px;
}
.sds-st .st-toc a {
  display: flex;
  gap: 9px;
  align-items: baseline;
  text-decoration: none;
  color: #97999c;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 0 9px 13px;
  border-left: 2px solid #e7e8ea;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.sds-st .st-toc a .tn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #bcbdc0;
  transition: color 0.18s;
}
.sds-st .st-toc a:hover {
  color: #aa0061 !important;
}
.sds-st .st-toc a.is-active {
  color: #aa0061 !important;
  border-left-color: #aa0061 !important;
  font-weight: 700;
}
.sds-st .st-toc a.is-active .tn {
  color: #aa0061 !important;
}
.sds-st .st-main {
  min-width: 0;
}

/* ---- セクション共通の見出し ---- */
.sds-st .st-sec {
  padding-bottom: clamp(40px, 5vw, 60px);
}
.sds-st .st-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #aa0061;
}
.sds-st .st-head {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 11px;
}
.sds-st .st-head__bar {
  flex: none;
  width: 3px;
  align-self: stretch;
  background: #aa0061;
}
.sds-st .st-head__title {
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  color: #2b2b2e;
}
.sds-st .st-lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.9;
  color: #57575a;
}
.sds-st .st-lead--narrow {
  max-width: 680px;
}

/* ---- 01 お悩み ---- */
.sds-st .st-concerns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.sds-st .st-concern {
  display: flex;
  gap: 11px;
  background: #f5f5f6;
  border-radius: 4px;
  padding: 15px 16px;
  font-size: 14px;
  line-height: 1.65;
}
.sds-st .st-concern__num {
  flex: none;
  color: #aa0061;
  font-weight: 900;
}

/* ---- 02 7工法 ---- */
.sds-st .st-methods {
  padding: clamp(36px, 4.5vw, 56px) clamp(20px, 3vw, 32px);
  margin: 0 calc(-1 * clamp(20px, 3vw, 32px)) clamp(40px, 5vw, 60px);
  background: #fcf3f7;
  border-radius: 4px;
}
.sds-st .st-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: #57575a;
}
.sds-st .st-legend__label {
  font-weight: 700;
  color: #97999c;
  letter-spacing: 0.06em;
  margin-right: 6px;
}
.sds-st .st-legend__note {
  color: #97999c;
  margin-left: 6px;
}
.sds-st .st-chip {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  padding: 4px 9px;
  border-radius: 3px;
}
.sds-st .st-chip--tokyo {
  background: #2b2b2e;
}
.sds-st .st-chip--nagoya {
  background: #7a7c80;
}
.sds-st .st-chip--osaka {
  background: #aa0061;
}
.sds-st .st-method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.sds-st .st-method {
  background: #fff;
  border: 1px solid #dedfe1;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.sds-st .st-method__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.sds-st .st-method__num {
  font-size: 11px;
  font-weight: 900;
  color: #aa0061;
  letter-spacing: 0.06em;
}
.sds-st .st-method__name {
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2e;
}
.sds-st .st-method__desc {
  font-size: 12px;
  line-height: 1.6;
  color: #97999c;
  margin-top: 7px;
}
.sds-st .st-method__chips {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  border-top: 1px solid #ece2e8;
  padding-top: 10px;
}
.sds-st .st-method--accent {
  background: #aa0061;
  color: #fff;
  border: none;
  justify-content: center;
}
.sds-st .st-method--accent .st-method__accent-t {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}
.sds-st .st-method--accent .st-method__accent-d {
  font-size: 11px;
  opacity: 0.85;
  margin-top: 7px;
}

/* ---- 03 わかること ---- */
.sds-st .st-get-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.sds-st .st-get {
  border: 1px solid #dedfe1;
  border-radius: 4px;
  padding: 20px;
}
.sds-st .st-get__t {
  font-size: 17px;
  font-weight: 900;
  color: #2b2b2e;
  margin-bottom: 7px;
}
.sds-st .st-get__d {
  font-size: 13px;
  line-height: 1.75;
  color: #57575a;
}

/* ---- 04 ご利用の流れ ---- */
/* 既定=縦一列。横2列(1・2 / 3・4)にするには container に st-flow--2col を追加 */
.sds-st .st-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}
.sds-st .st-flow--2col {
  grid-template-columns: repeat(2, 1fr);
}
.sds-st .st-step {
  border-top: 3px solid #aa0061;
  background: #f5f5f6;
  border-radius: 0 0 4px 4px;
  padding: 18px;
}
.sds-st .st-step__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sds-st .st-step__num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 3px;
  background: #aa0061;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sds-st .st-step__t {
  font-size: 15px;
  font-weight: 700;
  color: #2b2b2e;
}
.sds-st .st-step__d {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #57575a;
}
@media (max-width: 560px) {
  .sds-st .st-flow--2col {
    grid-template-columns: 1fr;
  }
}

/* ---- CTAバナー ---- */
.sds-st .st-ctabar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #fcf3f7;
  border: 1px solid #f0d5e2;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: clamp(40px, 5vw, 60px);
  text-decoration: none;
}
.sds-st .st-ctabar__text {
  font-size: 14px;
  font-weight: 700;
  color: #2b2b2e;
  line-height: 1.6;
}
.sds-st .st-ctabar__btn {
  background: #aa0061;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 3px;
  white-space: nowrap;
}
.sds-st .st-ctabar:hover .st-ctabar__btn {
  opacity: 0.9;
}

/* ---- 05 受け方 ---- */
.sds-st .st-howto {
  border: 1px solid #dedfe1;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 22px;
}
.sds-st .st-howto__head {
  background: #aa0061;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  gap: 13px;
  align-items: baseline;
}
.sds-st .st-howto__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  padding: 3px 9px;
  flex: none;
}
.sds-st .st-howto__title {
  font-size: 17px;
  font-weight: 900;
}
.sds-st .st-howto__body {
  padding: 20px;
}
.sds-st .st-howto__p {
  font-size: 14px;
  line-height: 1.9;
  color: #57575a;
}
.sds-st .st-howto__p strong {
  color: #2b2b2e;
}
.sds-st .st-note {
  margin-top: 14px;
  background: #f5f5f6;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #57575a;
}
.sds-st .st-note strong {
  color: #2b2b2e;
}
.sds-st .st-howto__caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #97999c;
}
.sds-st .st-howto__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  border-top: 1px solid #dedfe1;
}
.sds-st .st-meta {
  padding: 16px 20px;
  border-right: 1px solid #dedfe1;
}
.sds-st .st-meta:last-child {
  border-right: none;
}
.sds-st .st-meta__k {
  font-size: 11px;
  color: #97999c;
  margin-bottom: 6px;
}
.sds-st .st-meta__v {
  font-size: 16px;
  font-weight: 900;
  color: #2b2b2e;
}
.sds-st .st-meta__v--accent {
  color: #aa0061;
}
.sds-st .st-meta__v small {
  font-size: 11px;
  color: #97999c;
  font-weight: 500;
  margin-left: 5px;
}

/* ---- 06 テストルーム ---- */
/* ---- 06 テストルーム（ライブ「全国のテストルーム」カードと同一仕様） ---- */
.sds-st .st-rooms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 22px;
}
.sds-st .st-room {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dedfe1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(43, 43, 46, 0.08);
}
.sds-st .st-room__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ececee;
}
.sds-st .st-room__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}
/* 準備中カードのプレースホルダ */
.sds-st .st-room__ph {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    #f5f5f6,
    #f5f5f6 12px,
    #ececee 12px,
    #ececee 24px
  );
}
.sds-st .st-room__soon {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #97999c;
}
/* 本文 */
.sds-st .st-room__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sds-st .st-room__region {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sds-st .st-room__region-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #97999c;
}
.sds-st .st-room__region-area {
  font-size: 12px;
  color: #97999c;
}
.sds-st .st-room__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #57575a;
}
.sds-st .st-room__desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: #97999c;
  flex: 1;
}
.sds-st .st-room__status {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #97999c;
  background: #ececee;
  border: 1px solid #dedfe1;
  border-radius: 999px;
  padding: 5px 14px;
}
/* 公開中（クリック可能）カード */
.sds-st .st-room--link {
  text-decoration: none;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.sds-st .st-room--link:hover,
.sds-st .st-room--link:focus-visible {
  box-shadow: 0 4px 12px rgba(43, 43, 46, 0.1);
  border-color: #aa0061;
  transform: translateY(-3px);
}
.sds-st .st-room--link:hover .st-room__img img {
  transform: scale(1.04);
}
.sds-st .st-room--link .st-room__region-label {
  color: #aa0061;
}
.sds-st .st-room--link .st-room__name {
  color: #2b2b2e;
}
.sds-st .st-room--link .st-room__desc {
  color: #57575a;
}
.sds-st .st-room__more {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #aa0061;
}
@media (max-width: 768px) {
  .sds-st .st-rooms {
    grid-template-columns: 1fr;
  }
}

/* ---- 07 テスト機 / 申込 ---- */
.sds-st .st-cards2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 22px;
}
.sds-st .st-card {
  border: 1px solid #dedfe1;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  display: block;
  box-shadow: 0 1px 3px rgba(43, 43, 46, 0.08);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.sds-st .st-card:hover,
.sds-st .st-card:focus-visible {
  border-color: #aa0061;
  box-shadow: 0 8px 20px rgba(43, 43, 46, 0.12);
  transform: translateY(-4px);
}
.sds-st .st-card__img {
  height: 160px;
  overflow: hidden;
}
.sds-st .st-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}
.sds-st .st-card:hover .st-card__img img {
  transform: scale(1.04);
}
.sds-st .st-card__body {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sds-st .st-card__t {
  font-size: 16px;
  font-weight: 900;
  color: #2b2b2e;
  transition: color 0.2s ease;
}
.sds-st .st-card:hover .st-card__t {
  color: #aa0061;
}
.sds-st .st-card__d {
  font-size: 12px;
  color: #97999c;
  margin-top: 5px;
}
.sds-st .st-card__arrow {
  color: #bcbdc0;
  font-weight: 900;
  font-size: 18px;
  transition: color 0.2s ease;
}
.sds-st .st-card:hover .st-card__arrow {
  color: #aa0061;
}

/* ---- 08 FAQ（ネイティブ details） ---- */
.sds-st details.st-faq {
  border: 1px solid #dedfe1;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.sds-st details.st-faq + details.st-faq {
  margin-top: 8px;
}
.sds-st details.st-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 18px;
  font-size: clamp(14px, 1.5vw, 15.5px);
  font-weight: 700;
  color: #2b2b2e;
  line-height: 1.6;
}
.sds-st details.st-faq summary::-webkit-details-marker {
  display: none;
}
.sds-st details.st-faq summary .st-faq__q {
  flex: none;
  color: #aa0061;
  font-weight: 900;
  font-size: 15px;
  line-height: 1.6;
}
.sds-st details.st-faq summary .st-faq__pm {
  margin-left: auto;
  flex: none;
  width: 20px;
  height: 20px;
  position: relative;
}
.sds-st details.st-faq summary .st-faq__pm::before,
.sds-st details.st-faq summary .st-faq__pm::after {
  content: "";
  position: absolute;
  background: #aa0061;
  transition: transform 0.25s;
}
.sds-st details.st-faq summary .st-faq__pm::before {
  left: 3px;
  right: 3px;
  top: 9px;
  height: 2px;
}
.sds-st details.st-faq summary .st-faq__pm::after {
  top: 3px;
  bottom: 3px;
  left: 9px;
  width: 2px;
}
.sds-st details.st-faq[open] summary .st-faq__pm::after {
  transform: scaleY(0);
}
.sds-st details.st-faq .st-faq__a {
  padding: 0 18px 18px 46px;
  font-size: 14px;
  line-height: 1.9;
  color: #57575a;
}

/* ---- 末尾CTA ---- */
/* ↓ 末尾CTAもヘーローと同じく全幅にはみ出させる */
.sds-st .st-final {
  background: #f5f5f6;
  border: 1px solid #dedfe1;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.sds-st .st-final__inner {
  max-width: 840px;
  margin: 50px auto;
  padding: clamp(40px, 5vw, 60px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.sds-st .st-final__lead {
  margin: 12px 0 24px;
  font-size: 14px;
  line-height: 1.9;
  color: #57575a;
}
.sds-st .st-final .st-btn--solid {
  background: #aa0061;
  color: #fff;
  font-size: 16px;
  padding: 16px 44px;
}
.sds-st .st-final .st-btn--solid:hover {
  opacity: 0.9;
}

/* ---- レスポンシブ ---- */
@media (max-width: 880px) {
  .sds-st .st-lay {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .sds-st .st-toc {
    display: none;
  }
}
@media (max-width: 560px) {
  .sds-st .st-get-grid {
    grid-template-columns: 1fr;
  }
}
