/* ---------- Hero ---------- */
/* Hero (services) — 画像・配置を変数で受ける */
.swx-hero.-services{
  --hero-img: none;
  --hero-pos: 72% center;
  --hero-glow-left:  color-mix(in srgb, var(--brand-500, #FFD400) 22%, transparent);
  --hero-glow-right: color-mix(in srgb, var(--violet-600, #7C3AED) 18%, transparent);
  --hero-overlay:    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.45));
  background:
    radial-gradient(140% 90% at 10% 0%, var(--hero-glow-left, rgba(255,212,0,.22)) 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 10%, var(--hero-glow-right, rgba(124,58,237,.18)) 0%, transparent 55%),
    var(--hero-overlay, linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.45))),
    var(--hero-img) var(--hero-pos) / cover no-repeat;
  color:#fff;
}
@media (max-width: 767.98px){
  .swx-hero.-services{ --hero-pos: 60% center; }
}
@supports not (color: color-mix(in srgb, #000 0%, #fff 100%)) {
  .swx-hero.-services{
    --hero-glow-left:  rgba(255,212,0,.22);
    --hero-glow-right: rgba(124,58,237,.18);
  }
}
.swx-hero.-services .inner{
  max-width: 1120px; margin: 0 auto; padding: 96px 20px 72px;
}
.swx-hero.-services .eyebrow{
  letter-spacing:.08em; opacity:.9; background: color-mix(in srgb, #000 30%, var(--swx-main) 30%);
  padding: 4px 8px; border-radius:999px; display:inline-block;
}
.swx-hero.-services .title{
  font-size: clamp(28px, 4vw, 44px); margin:.4em 0;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
  color: var(--surface);
}
.swx-hero.-services .lead{ font-size: clamp(15px, 1.6vw, 18px); opacity:.96; text-shadow: 0 1px 14px rgba(0,0,0,.18); }
.swx-hero.-services .btn.-primary{
  display:inline-flex; align-items:center; gap:8px;
  margin-top:18px; padding:12px 20px; border-radius: 999px; font-weight:700;
  color: var(--btn-primary-fg);
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--btn-primary-hov));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--swx-main) 35%, transparent);
  border: 1px solid color-mix(in srgb, var(--swx-main) 40%, #fff 60%);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.swx-hero.-services .btn.-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--swx-main) 45%, transparent);
}

/* ---------- h2 左ロゴ ---------- */
.swx-page h2.swx-title{
  display:flex; align-items:center; gap:12px; font-size: clamp(20px,2.4vw,28px);
  margin: 0 0 16px;
  position: relative;
}
.swx-page h2.swx-title::before{
  content:""; width:52px; height:52px; background:var(--h2-logo) center/contain no-repeat;
  border-radius:6px; flex: 0 0 28px;
}
.swx-page h2.swx-title::after{
  content:""; position:absolute; left:40px; right:0; bottom:-8px; height:3px; border-radius:2px;
  background: linear-gradient(90deg, var(--brand-400), color-mix(in srgb, var(--violet-600) 60%, var(--brand-400)));
  opacity:.25;
}

/* ---------- Section / Container / 背景 ---------- */
.swx-sec{ padding: 56px 0; position:relative; }
.swx-container{ max-width:1120px; margin:0 auto; padding:0 20px; }
.swx-sec[style*="--section-bg"]::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:
    linear-gradient(0deg, rgba(255,255,255,.94), rgba(255,255,255,.94)),
    radial-gradient(100% 60% at 0% 0%, color-mix(in srgb, var(--brand-100) 70%, transparent) 0%, transparent 70%),
    var(--section-bg) center/cover no-repeat;
}

/* 進め方（横スクロールスライダー） */
.-steps{ --gap: 24px; --per: 3; }
@media (max-width:1023px){ .-steps{ --per: 2; } }
@media (max-width:639px){  .-steps{ --per: 1; } }
.-steps .swx-container{ position:relative; }
.swx-steps{
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 8px; margin: 0; scrollbar-width: none;
  scroll-padding-left: 0; scroll-padding-right: var(--gap);
}
.swx-steps::-webkit-scrollbar{ display:none; }
.swx-steps .step{
  box-sizing: border-box;
  flex: 0 0 calc((100% - (var(--gap) * (var(--per) - 1))) / var(--per) - 1px);
  min-width: 0; scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-md);
  position: relative; padding-bottom: 48px;
}
.step .num{
  display:inline-block; font-weight:800; letter-spacing:.06em; color:var(--swx-main);
  background:var(--surface-brand-soft); padding:4px 8px; border-radius:999px; margin-bottom:6px;
}
.swx-steps .step .more{
  position: absolute; right: 16px; bottom: 16px; display: inline-block;
  padding: 6px 10px; border-radius: 999px; font-weight: 700; font-size: 13px;
  color: var(--gray-900); background: var(--surface-2); border: 1px solid var(--border);
  text-decoration: none;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease;
}
.swx-steps .step .more:hover{
  background: color-mix(in srgb, var(--swx-main) 10%, var(--surface-2));
  box-shadow: var(--shadow-sm); transform: translateY(-1px);
}
/* ===== STEPS: ナビゲーション（.swx-steps-nav 用） ===== */
/* ===== STEPSナビ：大きめ＆中央寄せ ===== */
.swx-steps-nav{
  display: flex;                 /* 中央寄せ */
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2.4vw, 24px); /* 全体の間隔も拡大 */
  margin: clamp(16px, 3vw, 28px) auto 0;
  width: 100%;
}

/* 前へ/次へ：サイズアップ */
.swx-steps-nav > button.prev,
.swx-steps-nav > button.next{
  width: clamp(44px, 5.2vw, 56px);
  height: clamp(44px, 5.2vw, 56px);
  border-radius: 999px;
  font-size: clamp(18px, 2.4vw, 22px);  /* 矢印も見やすく */
  border-width: 2px;
  box-shadow: var(--shadow-sm);
}

/* ドット：サイズアップ＆間隔広め */
.swx-steps-nav .dots{
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 14px);
}
.swx-steps-nav .dots > button{
  width: clamp(10px, 1.2vw, 12px);
  height: clamp(10px, 1.2vw, 12px);
  border-radius: 999px;
  background: var(--border);
  border: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--surface) 100%, transparent); /* 余白効果で見やすく */
  transition: background-color .2s ease, transform .12s ease;
}
.swx-steps-nav .dots > button.is-active{
  background: var(--brand-600);
  transform: scale(1.15);
}

/* ホバー・フォーカス強調（PC） */
@media (hover:hover){
  .swx-steps-nav > button.prev:hover,
  .swx-steps-nav > button.next:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
  .swx-steps-nav .dots > button:hover{
    background: color-mix(in srgb, var(--brand-500) 60%, var(--border));
  }
}

/* スマホでも押しやすいまま中央寄せキープ */
@media (max-width: 640px){
  .swx-steps-nav{
    gap: 18px;
    margin-top: clamp(14px, 4vw, 20px);
  }
}


/* --- 想定ケース（Pilot版） --- */
.-cases.-pilot .pilot-grid{
  display: flex; flex-direction: column; gap: var(--gap);
}
.-cases.-pilot .pilot-card{
  position: relative; width: 100%;
  height: var(--case-h, clamp(160px, 26vw, 250px));
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  background: none !important; border: 1px solid var(--border); box-shadow: var(--shadow-md);
  padding: 0;
}
.-cases.-pilot .pilot-card::before{
  content: ""; position: absolute; inset: 0;
  background: var(--case-img) center/cover no-repeat; transform: scale(1.02); z-index: -2;
}
.-cases.-pilot .pilot-card::after{
  content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.52); z-index: -1;
}
.-cases.-pilot .pilot-card h3,
.-cases.-pilot .pilot-card .bullets{
  position: relative; margin: 0; color: var(--brand-500);
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.-cases.-pilot .pilot-card h3{
  padding: 16px 18px 6px; font-size: clamp(18px, 2.2vw, 22px); font-weight: 800;
}
.-cases.-pilot .pilot-card .bullets{
  list-style: none; padding: 0 18px 16px; font-size: 14px; line-height: 1.55;
}
.-cases.-pilot .pilot-card .bullets li{
  list-style: none !important; position: relative; margin: .25em 0; padding-left: 1.1em;
}
.-cases.-pilot .pilot-card .bullets li::before{
  content: ""; position: absolute; left: 0; top: .6em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-400);
}
@media (max-width: 480px){
  .-cases.-pilot .pilot-card{ height: clamp(150px, 36vw, 200px); }
  .-cases.-pilot .pilot-card h3{ padding: 14px 14px 4px; font-size: 18px; }
  .-cases.-pilot .pilot-card .bullets{ padding: 0 14px 12px; font-size: 13px; }
}

/* CASES: 本文テキスト（画像上に載る説明文などで使用） */
.case-text{
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
  padding: 12px;
  letter-spacing: .01em;
  max-width: 60ch;
  margin-top: clamp(8px, 1.2vw, 12px);
  text-wrap: pretty;
  color: var(--surface);
  text-shadow: 0 1px 2px color-mix(in srgb, var(--surface) 30%, transparent);
}

/* =========================================================
   RESULTS（成果の見せ方）
   ========================================================= */
#results .result-stats{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(12px, 2vw, 20px);
  margin-block: clamp(12px, 2vw, 20px) clamp(16px, 2.4vw, 28px);
}
#results .stat{
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  padding: clamp(14px, 2vw, 18px);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
#results .stat:hover{ transform: translateY(-2px); box-shadow: var(--shadow-sm); }
#results .stat-num{
  display: block; font-weight: 700;
  font-size: clamp(22px, 4.4vw, 36px);
  line-height: 1.1; letter-spacing: .01em; color: var(--brand-600);
}
#results .stat-label{
  display: block; margin-top: clamp(6px, .8vw, 8px);
  font-size: clamp(12px, 1.4vw, 14px); color: var(--text-muted);
}
#results .result-period{
  text-align: right; font-size: clamp(11px, 1.2vw, 13px); color: var(--text-muted);
}
#results .result-cards{
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: clamp(20px, 3vw, 32px); margin-top: clamp(20px, 3vw, 40px);
}
#results .result-card{
  background: var(--surface-alt); border: 1px solid var(--line);
  border-radius: 16px; padding: clamp(18px, 2.4vw, 26px);
  box-shadow: var(--shadow-xs); position: relative;
  transition: box-shadow .25s ease, transform .25s ease;
}
#results .result-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-md); }
#results .result-title{
  font-weight: 700; font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.4; color: var(--text); margin-bottom: clamp(6px, 1vw, 8px);
}
#results .result-text{
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9; letter-spacing: .01em; color: var(--text-muted); text-wrap: pretty;
}
#results .result-summary{
  margin-top: clamp(24px, 4vw, 40px);
  padding: clamp(20px, 4vw, 28px);
  text-align: center;
  background: var(--surface-brand-soft);
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--brand-500) 25%, transparent);
}
#results .result-summary p{
  font-size: clamp(15px, 1.8vw, 17px); font-weight: 600;
  color: var(--brand-ink); line-height: 1.7;
}
@media (max-width: 1024px){
  #results .result-stats{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  #results .result-cards{ grid-template-columns: 1fr; }
}
@media (max-width: 768px){
  #results .stat{ text-align: left; padding: clamp(14px, 3.6vw, 20px); }
  #results .stat-num{ font-size: clamp(24px, 7vw, 34px); }
  #results .stat-label{ margin-top: 4px; }
  #results .result-summary p{ font-size: clamp(14px, 4vw, 16px); }
}

/* ---------- 応募の受け付け方法 ---------- */
.-apply{ background: linear-gradient(180deg, var(--surface-2), transparent); }
.-apply .apply-grid{ display:grid; grid-template-columns:1fr 1fr; gap: var(--gap); }
@media (max-width: 899px){ .-apply .apply-grid{ grid-template-columns:1fr; } }
.-apply .apply-card{
  background: var(--surface); border:1px solid var(--border);
  border-radius: var(--radius); padding:18px; box-shadow: var(--shadow-md);
}
.-apply .apply-card h3{ font-size:18px; margin:0 0 .5em; color: var(--gray-900); }
.-apply .apply-card ul{ margin:.3em 0 .4em; padding-left:1.1em; }
.-apply .apply-card li{ list-style:disc; margin:.25em 0; }
.-apply .apply-card .muted{ color:var(--text-muted); font-size:13px; margin-top:.4em; }
.-apply .apply-actions{ margin-top:14px; }
.-apply .btn.-primary{
  padding:10px 16px; border-radius:999px; display:inline-block; font-weight:800;
  color: var(--btn-primary-fg);
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--btn-primary-hov));
}
.-apply .card.-option{
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--brand-100, #fff4b0) 80%, #fff) 0%,
      var(--brand-50, #fff9d6) 100%);
  border-color: color-mix(in srgb, var(--swx-main) 40%, var(--border));
  box-shadow:
    0 6px 24px -12px color-mix(in srgb, var(--swx-main) 20%, transparent),
    var(--shadow-md);
}
.-apply .card.-option h3{ color: var(--gray-900); font-weight: 800; }
.-apply .card.-option .option-summary{ color: var(--gray-900); }
.-apply .card.-option .card-list{ color: var(--gray-900); }
.-apply .card.-option .card-list li{
  list-style: none; position: relative; padding-left: 1.1em; margin: .35em 0;
}
.-apply .card.-option .card-list li::before{
  content:""; position:absolute; left:0; top:.6em;
  width:6px; height:6px; border-radius:50%;
  background: var(--brand-500, #ffd400);
}

/* ---------- FAQ ---------- */
.-faq[style]::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.96)),
    radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--brand-100) 60%, transparent) 0%, transparent 70%),
    var(--section-bg) center/cover no-repeat !important;
}
.-faq details.qa{
  background: var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius); padding:14px 16px; margin-bottom:12px;
  box-shadow: var(--shadow-sm);
}
.-faq details.qa[open]{ box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--swx-main) 25%, var(--border)); }
.-faq summary{ cursor:pointer; font-weight:700; color: var(--gray-900); }
.-faq .a{ margin-top:8px; color:var(--text); }

/* ---------- CTA ---------- */
.-cta{
  text-align:center;
  background:
    radial-gradient(100% 70% at 50% 0%, color-mix(in srgb, var(--brand-100) 70%, transparent) 0%, transparent 70%);
}
.-cta .btn.-primary.-lg{
  padding:14px 28px; border-radius:999px; display:inline-block; font-weight:800;
  color: var(--btn-primary-fg);
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--btn-primary-hov));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--swx-main) 35%, transparent);
}
/* CTA：2ボタン横並び */
.-cta .cta-btns{
  display: inline-flex; gap: clamp(10px, 1.6vw, 16px);
  align-items: center; justify-content: center;
  flex-wrap: wrap; margin-top: clamp(10px, 1.6vw, 16px);
}
.btn.-secondary{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 clamp(16px, 2.2vw, 22px);
  font-weight: 600; font-size: clamp(14px, 1.6vw, 16px);
  border-radius: 9999px; border: 2px solid color-mix(in srgb, var(--brand-600) 70%, var(--text) 30%);
  color: color-mix(in srgb, var(--brand-700) 80%, var(--text) 20%);
  background: transparent; box-shadow: var(--shadow-xs);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .08s ease-in;
}
.btn.-secondary:hover{
  background: color-mix(in srgb, var(--brand-500) 12%, transparent);
  border-color: color-mix(in srgb, var(--brand-600) 85%, var(--text) 15%);
}
.btn.-secondary:active{ transform: translateY(1px); }
.btn.-secondary:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px var(--ring), 0 0 0 5px color-mix(in srgb, var(--brand-400) 60%, transparent);
}
@media (max-width: 640px){
  .-cta .cta-btns{ width: 100%; }
  .-cta .cta-btns .btn{ width: 100%; min-height: 48px; }
}

/* ===== Polish & Motion ===== */
.card, .pilot-card, .point, .stat, .swx-steps .step {
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s ease, transform .45s ease;
}
.card.is-in, .pilot-card.is-in, .point.is-in, .stat.is-in, .swx-steps .step.is-in {
  opacity: 1; transform: none;
}
.btn.-primary {
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  box-shadow: var(--shadow-md);
}
.btn.-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
:root:not(.using-mouse) .btn:focus,
:root:not(.using-mouse) a:focus,
:root:not(.using-mouse) button:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px; border-radius: 8px;
}
@media (max-width: 480px) {
  .swx-hero.-services .inner { padding: 72px 16px 56px; }
  .btn.-primary.-lg { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ===== 料金導線（任意） ===== */
.svc-pricing-cta .swx-sec-title{ margin-bottom:.4em; }
.svc-pricing-cta .swx-container{
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,212,0,.12) 0%, transparent 55%);
  border: 1px solid var(--border, #222831);
  border-radius: 20px;
  padding: clamp(16px,4vw,28px);
}
.-pricing-cta .pricing-tiles{
  display:grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(2, minmax(0,1fr));
}
@media (max-width: 767px){
  .-pricing-cta .pricing-tiles{ grid-template-columns: 1fr; }
}
.-pricing-cta .tile{ display:block; text-decoration:none; color:inherit; }
.-pricing-cta .tile-fig{
  position:relative; overflow:hidden; border-radius: 18px;
  border: 1px solid var(--border, #222831); background:#0b0e12;
}
.-pricing-cta img{
  width:100%; height:auto; display:block;
  aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .5s ease;
}
.-pricing-cta .tile:hover img{ transform: scale(1.04); }
.-pricing-cta .tile-cap{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding: clamp(14px, 3vw, 22px);
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}
.-pricing-cta .cap-eyebrow{ font-size: 12px; letter-spacing:.08em; opacity:.9; color:#E5E7EB; }
.-pricing-cta .cap-title{ font-weight:800; font-size: clamp(16px, 2.6vw, 22px); color:#fff; }

/* ===== 提供メニュー（交互レイアウト） ===== */
.swx-services .swx-sec-title{
  position: relative;
  margin: 0 0 clamp(22px, 3vw, 32px);
  font-weight: 900;
  font-size: clamp(30px, 4.6vw, 58px);
  line-height: 1.06; letter-spacing: .01em;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.75) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.swx-services .swx-sec-title::after{
  content:""; position: absolute; left: 0; bottom: -12px;
  width: clamp(120px, 18vw, 320px); height: 6px; border-radius: 999px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--brand, #FFD400) 100%, transparent) 0%,
    color-mix(in srgb, var(--brand, #FFD400) 35%, #fff 65%) 100%
  );
  box-shadow: 0 4px 18px rgba(255,212,0,.35);
}
.svc-row{
  position: relative; display: grid;
  grid-template-columns: 1.1fr 0.9fr; gap: clamp(16px, 3vw, 36px);
  align-items: center; margin: clamp(24px, 4vw, 52px) 0;
  opacity: 0; transform: translateY(12px);
  transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1);
}
.svc-row.is-inview{ opacity: 1; transform: none; }
.svc-row--alt{ grid-template-columns: 0.9fr 1.1fr; }
.svc-row--alt .svc-img{ order: 2; }
.svc-row--alt .svc-body{ order: 1; }
.swx-services--brand{
  position: relative; isolation: isolate; z-index: 0;
  color: var(--brand-ink, #2b2b2b); overflow: clip;
}
.swx-services--brand::before{
  content:""; position:absolute; inset:0; left:50%; width:100vw; transform:translateX(-50%); z-index:-1;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--brand, #FFD400) 94%, #fff 6%) 0%,
    color-mix(in srgb, var(--brand, #FFD400) 18%, #fff 82%) 100%);
}
.svc-img{
  position: relative; z-index: 1; overflow: visible;
  background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  transform: translateX(var(--imgShift, 0)); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.svc-img img{ display:block; width:100%; height:auto; object-fit:cover; background: transparent !important; border-radius: 0 !important; box-shadow: none !important; filter: none !important; }
.svc-body{
  position: relative; z-index: 1; margin-left: -36px;
  transform: translateX(var(--bodyShift, 0)); transition: transform .7s cubic-bezier(.2,.8,.2,1) .06s;
}
.svc-row--alt .svc-body{ margin-left:0; margin-right:-36px; }
@media (max-width: 1023.98px){
  .svc-body{ margin-left: -24px; }
  .svc-row--alt .svc-body{ margin-right: -24px; }
}
@media (max-width: 767.98px){
  .svc-row{ grid-template-columns: 1fr; gap: 14px; }
  .svc-row--alt .svc-img{ order: 1; }
  .svc-row--alt .svc-body{ order: 2; }
  .svc-body{ margin: 0; }
}
.svc-row[data-reveal="l"] .svc-img  { --imgShift: -12vw; }
.svc-row[data-reveal="l"] .svc-body { --bodyShift:  8vw;  }
.svc-row[data-reveal="r"] .svc-img  { --imgShift:  12vw; }
.svc-row[data-reveal="r"] .svc-body { --bodyShift: -8vw;  }
.svc-row.is-inview .svc-img, .svc-row.is-inview .svc-body{ transform:none; }
@media (max-width:767.98px){
  .svc-row[data-reveal="l"] .svc-img  { --imgShift: -8vw; }
  .svc-row[data-reveal="l"] .svc-body { --bodyShift:  6vw; }
  .svc-row[data-reveal="r"] .svc-img  { --imgShift:  8vw; }
  .svc-row[data-reveal="r"] .svc-body { --bodyShift: -6vw; }
}
@media (prefers-reduced-motion: reduce){
  .svc-row, .svc-img, .svc-body{ transition:none !important; transform:none !important; }
}
.svc-ttl{
  font-weight: 800; font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.22; margin: 0 0 .35em; color: rgba(0,0,0,.92); text-wrap: balance;
}
.svc-lead{
  font-size: clamp(16px, 1.35vw, 20px); line-height: 1.7;
  color: rgba(0,0,0,.78); margin: .2em 0 1em;
  text-shadow: 0 1px 6px rgba(255,255,255,.18);
}
.svc-list{ margin: 0 0 .7em 1.2em; color: rgba(0,0,0,.80); }
.svc-list li{ margin: .25em 0; }
.svc-note{ font-size: .92em; color: rgba(0,0,0,.70); }

/* プラン導線：h3直下の横幅100%画像 */
.h3-visual{ margin: clamp(8px, 1.2vw, 12px) 0 clamp(10px, 1.6vw, 14px); }
.h3-visual img{
  display: block; width: 100%;
  height: clamp(160px, 22vw, 260px);
  object-fit: cover; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow-xs);
}

/* 提供メニュー：左右並列（PC/タブ）・縦（SP）＋一切重ならない版 */
.pricing-tiles.-twocol{
  display: grid;
  gap: clamp(28px, 4vw, 40px);
}

/* 各タイルの2カラムレイアウト */
.pricing-tiles.-twocol .tile{
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  /* SP = 縦並び */
  grid-template-columns: 1fr;
}

/* PC/タブ = 左右並列（1段目=画像左、2段目=反転） */
@media (min-width: 768px){
  .pricing-tiles.-twocol .tile{
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .pricing-tiles.-twocol .tile.-a .h3-visual{ order: 1; }
  .pricing-tiles.-twocol .tile.-a .tile-body { order: 2; }

  .pricing-tiles.-twocol .tile.-b .h3-visual{ order: 2; }
  .pricing-tiles.-twocol .tile.-b .tile-body { order: 1; }
}

/* 左カラム：帯画像 */
.pricing-tiles.-twocol .tile .h3-visual{
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}
.pricing-tiles.-twocol .tile .h3-visual img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* 右カラム：本文を縦フレックス（CTAを最下部に固定できる） */
.pricing-tiles.-twocol .tile .tile-body{
  display: flex;
  flex-direction: column;
  gap: .6rem;
  min-width: 0;               /* 💡テキスト折返しの安全弁 */
}
.pricing-tiles.-twocol .tile .tile-ttl{ margin: 0; }
.pricing-tiles.-twocol .tile .tile-lead{ color: var(--text-muted); }
.pricing-tiles.-twocol .tile .tile-spec{ margin: .2em 0 0 1.1em; }
.pricing-tiles.-twocol .tile .tile-brief{ margin-top: .3em; color: var(--text); }

/* CTA：本文直下かつ端寄せ（A=右／B=左） */
.pricing-tiles.-twocol .tile .tile-cta{
  margin-top: auto;
  display: flex;
}
.pricing-tiles.-twocol .tile.-a .tile-cta{ justify-content: flex-end; }
.pricing-tiles.-twocol .tile.-b .tile-cta{ justify-content: flex-start; }

/* ボタン：上下中央寄せ＆見た目統一（Bも塗りに） */
.pricing-tiles.-twocol .tile .tile-cta .btn{
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px; line-height: 1;
  border-radius: 9999px; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow-xs);
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.pricing-tiles.-twocol .tile .tile-cta .btn.-primary{
  color: var(--btn-primary-fg);
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--btn-primary-hov));
  border: 1px solid color-mix(in srgb, var(--swx-main) 35%, #fff 65%);
}
.pricing-tiles.-twocol .tile .tile-cta .btn.-primary:hover{
  transform: translateY(-1px); box-shadow: var(--shadow-sm);
}
/* B に -outline が付いていても強制で塗りへ */
.pricing-tiles.-twocol .tile.-b .tile-cta .btn.-primary.-outline{
  background: linear-gradient(135deg, var(--btn-primary-bg), var(--btn-primary-hov)) !important;
  color: var(--btn-primary-fg) !important;
  border: 1px solid color-mix(in srgb, var(--swx-main) 35%, #fff 65%) !important;
}

/* 画像と本文の縦位置差での「食い込み」を防止（はみ出し対策） */
.pricing-tiles.-twocol .tile *{ min-height: 0; }

/* 予防：.pricing-tiles 内に .tile 以外の直下要素があれば非表示（重複見出しなどの混入ガード） */
.pricing-tiles.-twocol > :not(.tile){ display: none !important; }
