/* ==========================================================
   レスポンシブ対応 CSS（768px以下）
   セクションごとにスコープを絞って適用
   ========================================================== */

/* PC時はSP用改行を非表示 */
.sp-break {
  display: none;
}

@media (max-width: 768px) {

  /* --- グローバルリセット --- */
  html {
    overflow-x: hidden !important;
  }

  body {
    overflow-x: hidden !important;
    padding-bottom: 48px;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* ルートコンテナの強制リセット */
  .min-w-\[1920px\] {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  [data-name="PC_BaggageStorage"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  [data-name="PC_BaggageStorage"] > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  /* NOTE:
     `.inline-grid` / `.row-1` / `[class*="col-1"]` を全体に強制すると、
     #sec-challenge より下のセクションのレイアウト（grid/absolute）が巻き添えで崩れるため、
     セクション単位で必要な範囲にだけ適用する。 */

  /* ==========================================================
     課題セクション (#sec-challenge) のみ：はみ出し防止
     ========================================================== */
  #sec-challenge .inline-grid {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  #sec-challenge [class*="col-1"] {
    margin-left: 0 !important;
    width: auto !important;
    max-width: 100% !important;
  }

  #sec-challenge .row-1 {
    position: static !important;
  }

  /* NOTE:
     `.w-[*]` / `.py-[*]` / `.px-[*]` / `.gap-[*]` の汎用クラスを
     グローバル上書きすると、セクション外まで崩れるため削除。
     余白・幅・gapの調整は #sec-xxx ごとのルールで個別に行う。 */


  /* ==========================================================
     ヘッダー — ロゴのみ表示
     ========================================================== */
  #sp-header {
    width: 100% !important;
  }
  #sp-header > div > div {
    padding: 12px 16px !important;
    justify-content: flex-start !important;
  }
  #sp-header [data-name="attachment 1"] {
    width: 240px !important;
    height: 30px !important;
  }
  #sp-header .gap-\[16px\] {
    display: none !important;
  }


  /* ==========================================================
     ファーストビュー切り替え
     ========================================================== */
  #sp-header + .inline-grid {
    display: none !important;
  }
  [data-name="バゲッジストレージ@4x 1"] {
    display: none !important;
  }
  /* 横はみ出しのみ抑止。縦は丸写真のはみ出しのため visible（下の無駄な余白用スペーサーを廃止） */
  #sp-hero {
    display: block !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }
  #sp-hero > .flex.items-center.justify-between {
    display: none !important;
  }
  #sp-fixed-cta {
    display: flex !important;
  }


  /* ==========================================================
     課題セクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-challenge {
    display: none !important;
  }
  #sp-sec-challenge {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }

  /* SP版 見出し */
  .sp-section-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
    overflow: visible;
  }
  .sp-section-header h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 34px;
    color: #333;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
  }
  .sp-accent-blob {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
  }
  /* 各セクションH2の1文字目に被るようブロブ位置を個別調整 */
  /* calc(50% - テキスト半幅 - ブロブ調整)で端末幅に追従 */
  #sp-sec-challenge .sp-accent-blob  { left: calc(50% - 94px);  top: 30%; transform: translateY(-50%); }  /* 荷物預かり業務、(8文字) → 「荷」 */
  #sp-sec-benefit .sp-accent-blob    { left: calc(50% - 126px); top: 30%; transform: translateY(-50%); }  /* 利便性とインバウンド対応で(11文字) → 「利」 */
  #sp-sec-howto .sp-accent-blob      { left: calc(50% - 157px); top: 30%; transform: translateY(-50%); }  /* 利用方法もシンプルで分かりやすい(14文字) → 「利」 */
  #sp-sec-ease .sp-accent-blob       { left: calc(50% - 136px); top: 30%; transform: translateY(-50%); }  /* ホテルにとっても導入しやすい(12文字) → 「ホ」 */
  #sp-sec-install-type .sp-accent-blob { left: calc(50% - 126px); top: 30%; transform: translateY(-50%); } /* スマート南京錠の設置タイプ(11文字) → 「ス」 */
  #sp-sec-pricing .sp-accent-blob    { left: calc(50% - 63px);  top: 30%; transform: translateY(-50%); }  /* ご利用料金(5文字) → 「ご」 */
  #sp-sec-flow .sp-accent-blob       { left: calc(50% - 63px);  top: 30%; transform: translateY(-50%); }  /* 導入の流れ(5文字) → 「導」 */
  #sp-sec-faq .sp-accent-blob        { left: calc(50% - 84px);  top: 30%; transform: translateY(-50%); }  /* よくあるご質問(7文字) → 「よ」 */
  #sp-sec-form .sp-accent-blob       { left: calc(50% - 94px);  top: 30%; transform: translateY(-50%); }  /* フォームでのご相談(8文字) → 「フ」 */

  /* SP版 課題リスト */
  .sp-challenge-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .sp-challenge-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sp-challenge-label {
    background: #2e589c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 28px;
    padding: 4px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    word-break: break-word;
    min-width: 0;
  }
  .sp-challenge-num {
    flex-shrink: 0;
  }
  /* ラベル内の括弧補足のみ小さく（「界」が1行に残るのを防ぐ） */
  #sp-sec-challenge .sp-challenge-inline-small {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
  }
  .sp-challenge-detail {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #333;
    letter-spacing: 0.5px;
  }
  .sp-challenge-detail li {
    padding-left: 1em;
    text-indent: -1em;
  }
  .sp-challenge-detail li::before {
    content: "・";
  }


  /* ==========================================================
     解決策セクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-solution {
    display: none !important;
  }
  #sp-sec-solution {
    display: block !important;
    background: #f0f3fc;
    padding: 32px 20px;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: center;
  }

  /* 緑バッジ＋下向き三角（バッジとロゴの間に十分な余白を確保） */
  .sp-solution-badge-wrap {
    margin-bottom: 20px;
  }
  .sp-solution-badge {
    display: inline-block;
    background: #2cb0af;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    padding: 10px 20px;
    border-radius: 30px;
    box-sizing: border-box;
    max-width: 100%;
  }
  .sp-solution-badge p {
    margin: 0;
  }
  .sp-badge-arrow {
    display: block;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 0;
    line-height: 0;
  }
  .sp-badge-arrow svg {
    display: inline-block;
    vertical-align: top;
  }

  /* ロゴ画像（バッジブロックとの縦リズム） */
  .sp-solution-logo {
    margin: 0 auto 16px;
    max-width: 260px;
  }

  /* メインテキスト（改行の孤児を避ける） */
  .sp-solution-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
    margin-bottom: 16px;
    text-align: center;
  }
  .sp-solution-text p {
    margin: 0;
    word-break: keep-all;
    overflow-wrap: break-word;
  }
  /* 「を可能にします。」を1まとまりにして「ます。」だけ1行になるのを防ぐ */
  .sp-solution-text-nowrap {
    white-space: nowrap;
  }
  .sp-blue {
    color: #2e589c;
  }

  /* Before/Afterカード */
  .sp-solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    margin-bottom: 24px;
  }
  .sp-solution-card-badge {
    background: #f7dce3;
    color: #c92f55;
    font-size: 14px;
    font-weight: 700;
    line-height: 22px;
    padding: 8px 16px;
    border-radius: 8px;
    border: 2px solid #c92f55;
    margin-bottom: 16px;
  }
  .sp-solution-photos {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
  }
  .sp-solution-photo {
    flex: 1;
    position: relative;
  }
  .sp-photo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    z-index: 1;
  }
  .sp-photo-after {
    background: #c92f55;
  }
  .sp-photo-img {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    height: 120px;
  }
  .sp-photo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sp-photo-label {
    background: #fff;
    color: #c92f55;
    font-size: 13px;
    font-weight: 700;
    line-height: 28px;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #eee;
  }
  .sp-solution-note {
    font-size: 11px;
    color: #3f3f3f;
    line-height: 18px;
    margin-bottom: 8px;
  }
  .sp-solution-catch {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    color: #333;
  }

  /* 4つの特長カード */
  .sp-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sp-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .sp-feature-icon {
    width: 64px;
    height: 64px;
    background: #2e589c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sp-feature-icon svg {
    width: 48px;
    height: 48px;
  }
  .sp-feature-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    color: #3f3f3f;
    text-align: center;
  }


  /* ==========================================================
     利便性セクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-benefit {
    display: none !important;
  }
  #sp-sec-benefit {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-benefit-content {
    background: #f0f3fc;
    border-radius: 12px;
    padding: 24px 16px;
  }
  .sp-benefit-item {
    margin-bottom: 24px;
  }
  .sp-benefit-item:last-child {
    margin-bottom: 0;
  }
  .sp-benefit-label {
    background: #2e589c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .sp-benefit-label svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .sp-benefit-desc {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    color: #333;
    letter-spacing: 0.5px;
  }
  .sp-benefit-image {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .sp-benefit-image img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
  }


  /* ==========================================================
     利用方法セクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-howto {
    display: none !important;
  }
  #sp-sec-howto {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-howto-intro {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
    margin-bottom: 24px;
  }
  .sp-howto-flow-label {
    background: #2cb0af;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    padding: 4px 0;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 16px;
  }
  .sp-howto-flow-label.retrieval {
    background: #2e589c;
  }
  .sp-howto-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
  }
  .sp-howto-step {
    flex: 1 1 calc(50% - 6px);
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  /* スマホ端末風フレーム（画像は通常フローで配置し、absoluteは使わない＝崩れ防止） */
  .sp-howto-step-screen {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 8px 7px 10px;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  }
  .sp-howto-step-screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    object-position: top center;
    background: #eef5fb;
  }
  .sp-howto-step-num {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sp-howto-step-num span:first-child {
    background: #2cb0af;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50% 50% 50% 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
  }
  .sp-howto-step-num.retrieval span:first-child {
    background: #2e589c;
  }
  .sp-howto-step-num span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: #333;
  }
  .sp-howto-step-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    color: #333;
    text-align: left;
    width: 100%;
  }
  .sp-howto-step-note {
    font-size: 10px;
    color: #9f9f9f;
    line-height: 14px;
  }
  .sp-howto-bottom {
    background: #f0f3fc;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
  }
  .sp-howto-bottom .sp-blue {
    color: #2e589c;
  }


  /* ==========================================================
     導入しやすさセクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-ease {
    display: none !important;
  }
  #sp-sec-ease {
    display: block !important;
    background: #f5f5f5;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-ease-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 16px;
    position: relative;
    border-left: 4px solid #2e589c;
  }
  .sp-ease-card:last-child {
    margin-bottom: 0;
  }
  .sp-ease-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    color: #2e589c;
    margin-bottom: 8px;
  }
  .sp-ease-card-border {
    border-top: 1px dashed #2e589c;
    margin-bottom: 8px;
  }
  .sp-ease-card-desc {
    font-size: 13px;
    font-weight: 500;
    line-height: 22px;
    color: #333;
    margin-bottom: 12px;
  }
  .sp-ease-card-note {
    font-size: 10px;
    color: #9f9f9f;
    line-height: 16px;
  }
  .sp-ease-card-img {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
  }
  .sp-ease-card-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
  }
  .sp-ease-card-imgs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
  }
  .sp-ease-card-imgs img {
    flex: 1;
    width: 0;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
  }


  /* ==========================================================
     設置タイプセクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-install-type {
    display: none !important;
  }
  #sp-sec-install-type {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-install-card {
    background: #f0f3fc;
    border-radius: 12px;
    padding: 20px 16px;
    margin-bottom: 16px;
  }
  .sp-install-card-badge {
    background: #2e589c;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
  }
  .sp-install-card-desc {
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #333;
    margin-bottom: 16px;
  }
  .sp-install-card-imgs {
    display: flex;
    gap: 8px;
  }
  .sp-install-card-imgs img {
    flex: 1;
    width: 0;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
  }
  /* 専用筐体モデルCTA */
  .sp-install-cta {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 16px;
  }
  .sp-install-cta-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
  }
  .sp-install-cta-body {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(46, 88, 156, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .sp-install-cta-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 12px;
  }
  .sp-install-cta-btn {
    display: inline-block;
    background: #c92f55;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
  }


  /* ==========================================================
     料金セクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-pricing {
    display: none !important;
  }
  #sp-sec-pricing {
    display: block !important;
    background: #f0f3fc;
    padding: 40px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
    max-width: 100%;
  }
  /* テーブルはビューポート内に収め、必要時のみ横スクロール */
  .sp-pricing-table-wrap {
    margin-bottom: 12px;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(46, 88, 156, 0.08);
  }
  .sp-pricing-table-wrap--guide {
    margin-bottom: 24px;
  }
  .sp-pricing-intro {
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
  }
  .sp-pricing-intro .sp-blue {
    color: #2e589c;
  }
  .sp-pricing-sub {
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #333;
    text-align: center;
    margin-bottom: 24px;
  }
  .sp-pricing-table-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    color: #2e589c;
    text-align: center;
    margin-bottom: 12px;
  }
  .sp-pricing-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d6deef;
  }
  .sp-pricing-col-name {
    width: 30%;
  }
  .sp-pricing-col-num {
    width: 23.333%;
  }
  .sp-pricing-table th {
    background: #2e589c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 11px 5px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.35;
    border-bottom: 1px solid #254a7a;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }
  .sp-pricing-table th:last-child {
    border-right: none;
  }
  .sp-pricing-table th:first-child {
    padding-left: 10px;
    padding-right: 8px;
  }
  .sp-pricing-table td {
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 5px;
    text-align: center;
    border-top: 1px solid #e8ecf5;
    border-right: 1px solid #e8ecf5;
    vertical-align: middle;
    min-width: 0;
  }
  .sp-pricing-table td:last-child {
    border-right: none;
  }
  .sp-pricing-table tbody tr:first-child td {
    border-top: none;
  }
  /* 項目名：左寄せ・上揃えで脚注が読みやすく */
  .sp-pricing-table td:first-child {
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    padding: 12px 10px 12px 10px;
    vertical-align: top;
    border-right: 1px solid #e8ecf5;
  }
  .sp-pricing-name {
    font-size: 12px;
    font-weight: 700;
  }
  .sp-pricing-footnote {
    display: block;
    margin-top: 8px;
    font-size: 10px !important;
    font-weight: 500 !important;
    color: #666 !important;
    line-height: 1.55;
    letter-spacing: 0.01em;
  }
  /* 金額セル：数字と単位を同一行に（ラッパーで確実に折り返し防止） */
  .sp-pricing-table td.sp-pricing-num {
    white-space: nowrap;
    font-size: 12px;
    vertical-align: middle;
    font-variant-numeric: tabular-nums;
  }
  .sp-pricing-amount {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: nowrap;
    white-space: nowrap;
    max-width: 100%;
  }
  .sp-pricing-table td.sp-pricing-num small {
    display: inline;
    margin-left: 1px;
    font-size: 8px;
    font-weight: 500;
    color: #9f9f9f;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
  }
  .sp-pricing-note {
    font-size: 11px;
    font-weight: 500;
    line-height: 18px;
    color: #333;
    margin-bottom: 24px;
    padding: 0 2px;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  /* レベニューシェア説明カード（左揃え・語中改行を避ける） */
  .sp-pricing-revenue {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
  }
  .sp-pricing-revenue-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    color: #2e589c;
    margin-bottom: 10px;
    text-align: left;
  }
  .sp-pricing-revenue-body {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
    color: #333;
    margin: 0 0 10px;
    word-break: keep-all;
    overflow-wrap: break-word;
    line-break: strict;
  }
  .sp-pricing-revenue-note {
    font-size: 11px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
    margin: 12px 0 0;
    word-break: keep-all;
  }
  .sp-pricing-revenue .sp-blue {
    color: #2e589c;
  }
  /* 導入案内テーブル */
  .sp-pricing-guide-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    color: #2cb0af;
    text-align: center;
    margin-bottom: 12px;
  }
  .sp-pricing-guide-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #b8dedd;
  }
  .sp-pricing-guide-col-a {
    width: 28%;
  }
  .sp-pricing-guide-col-b {
    width: 36%;
  }
  .sp-pricing-guide-col-c {
    width: 36%;
  }
  .sp-pricing-guide-table th {
    background: #2cb0af;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 10px 6px;
    text-align: center;
    white-space: nowrap;
  }
  .sp-pricing-guide-table td {
    background: #fff;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 6px;
    text-align: center;
    border-top: 2px solid #f0f3fc;
  }
  .sp-pricing-guide-table td small {
    font-size: 10px;
    font-weight: 500;
    color: #333;
    display: block;
  }
  /* CTA */
  .sp-pricing-cta {
    background: #dbe3fc;
    border-radius: 8px;
    padding: 24px 16px;
    text-align: left;
  }
  .sp-pricing-cta-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 8px;
  }
  .sp-pricing-cta-title .sp-badge {
    background: #2e589c;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 8px;
  }
  .sp-pricing-cta-title span:last-child {
    font-size: 16px;
    font-weight: 700;
    color: #2e589c;
  }
  .sp-pricing-cta p {
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #333;
    margin-bottom: 16px;
  }
  .sp-pricing-cta-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .sp-pricing-cta-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }
  .sp-pricing-cta .sp-btn-pink {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #c92f55;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }


  /* ==========================================================
     導入の流れ — PC版非表示 / SP版表示
     ========================================================== */
  #sec-flow {
    display: none !important;
  }
  #sp-sec-flow {
    display: block !important;
    background: #f5f5f5;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .sp-flow-step {
    background: #fff;
    border-radius: 12px;
    padding: 20px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: 0px 0px 10px rgba(137,137,137,0.15);
  }
  .sp-flow-step-img {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }
  .sp-flow-step-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .sp-flow-step-body {
    flex: 1;
    min-width: 0;
  }
  .sp-flow-step-num {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
  }
  .sp-flow-step-num span:first-child {
    font-size: 14px;
    font-weight: 800;
    color: #333;
  }
  .sp-flow-step-num span:last-child {
    font-size: 20px;
    font-weight: 800;
    color: #2cb0af;
  }
  .sp-flow-step-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    color: #2e589c;
    margin-bottom: 4px;
  }
  .sp-flow-step-border {
    border-top: 1px dashed #2e589c;
    margin-bottom: 4px;
  }
  .sp-flow-step-desc {
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: #333;
  }
  .sp-flow-arrow {
    display: flex;
    justify-content: center;
    padding: 8px 0;
  }
  .sp-flow-arrow svg {
    width: 24px;
    height: 16px;
  }


  /* ==========================================================
     FAQセクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-faq {
    display: none !important;
  }
  #sp-sec-faq {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-faq-list {
    display: flex;
    flex-direction: column;
  }
  .sp-faq-item {
    border-bottom: 1px solid rgba(51,51,51,0.3);
  }
  .sp-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
  }
  .sp-faq-q-label {
    font-size: 20px;
    font-weight: 700;
    color: #2e589c;
    flex-shrink: 0;
  }
  .sp-faq-q-text {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
  }
  .sp-faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
  }
  .sp-faq-toggle::before,
  .sp-faq-toggle::after {
    content: '';
    position: absolute;
    background: #333;
    top: 50%;
    left: 50%;
    transition: transform 0.3s, opacity 0.3s;
  }
  .sp-faq-toggle::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
  }
  .sp-faq-toggle::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
  }
  .sp-faq-item.open .sp-faq-toggle::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0);
  }
  .sp-faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
  }
  .sp-faq-answer-inner {
    background: #f0f3fc;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    line-height: 22px;
    color: #333;
    margin-bottom: 16px;
    border-radius: 8px;
  }


  /* ==========================================================
     CTAセクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-cta {
    display: none !important;
  }
  #sp-sec-cta {
    display: block !important;
    position: relative;
    font-family: 'Noto Sans JP', sans-serif;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 12px;
    overflow: hidden;
  }
  .sp-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
  }
  .sp-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .sp-cta-overlay {
    position: relative;
    z-index: 1;
    background: rgba(46,88,156,0.7);
    padding: 40px 24px 60px;
    text-align: center;
  }
  .sp-cta-overlay h2 {
    font-size: 20px;
    font-weight: 800;
    line-height: 34px;
    color: #fff;
    margin-bottom: 32px;
  }
  .sp-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .sp-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }
  .sp-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .sp-cta-icon svg {
    width: 30px;
    height: 30px;
  }
  .sp-cta-label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    line-height: 20px;
  }
  .sp-cta-btn-pink {
    display: inline-block;
    background: #c92f55;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 40px;
    text-decoration: none;
  }
  .sp-cta-btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2cb0af;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 40px;
    border-radius: 40px;
    text-decoration: none;
  }
  .sp-cta-phone {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    line-height: 34px;
  }
  .sp-cta-phone-info {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 20px;
  }


  /* ==========================================================
     フォームセクション — PC版非表示 / SP版表示
     ========================================================== */
  #sec-form {
    display: none !important;
  }
  #sp-sec-form {
    display: block !important;
    padding: 40px 20px;
    font-family: 'Noto Sans JP', sans-serif;
  }
  .sp-form-intro {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
    color: #333;
    margin-bottom: 24px;
  }
  .sp-form-group {
    margin-bottom: 20px;
  }
  .sp-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }
  .sp-form-required {
    background: #e31b1b;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .sp-form-label span:last-child {
    font-size: 14px;
    font-weight: 700;
    color: #333;
  }
  .sp-form-input {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
  }
  .sp-form-textarea {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    height: 160px;
    resize: none;
  }
  .sp-form-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    justify-content: center;
  }
  .sp-form-checkbox input {
    width: 16px;
    height: 16px;
  }
  .sp-form-checkbox label {
    font-size: 14px;
    font-weight: 700;
    color: #333;
  }
  .sp-form-checkbox a {
    color: #3a4ac0;
    text-decoration: underline;
  }
  .sp-form-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .sp-form-submit {
    width: 100%;
    max-width: 280px;
    height: 52px;
    background: #c92f55;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 40px;
    cursor: pointer;
  }
  .sp-form-reset {
    width: 100%;
    max-width: 280px;
    height: 52px;
    background: #fff;
    color: #c92f55;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: 2px solid #c92f55;
    border-radius: 40px;
    cursor: pointer;
  }


  /* ==========================================================
     追加: はみ出し防止の包括的リセット
     ========================================================== */
  /* absolute配置で左に大きくオフセットされた要素 */
  .left-\[1123px\],
  .left-\[1731px\],
  .ml-\[1731px\],
  .ml-\[1023px\] {
    display: none !important;
  }

  /* shrink-0がはみ出しの原因になるケースの対策 */
  .shrink-0 {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }

  /* size-fullがビューポート超の親に引きずられないように */
  .size-full {
    max-width: 100% !important;
  }

  /* whitespace-nowrapが原因のテキストはみ出し
     ※ヘッダー・フッターは除外して、非表示PC版セクション内のみに適用 */
  #sec-challenge .whitespace-nowrap,
  #sec-solution .whitespace-nowrap,
  #sec-benefit .whitespace-nowrap,
  #sec-howto .whitespace-nowrap,
  #sec-ease .whitespace-nowrap,
  #sec-install-type .whitespace-nowrap,
  #sec-pricing .whitespace-nowrap,
  #sec-flow .whitespace-nowrap,
  #sec-faq .whitespace-nowrap,
  #sec-cta .whitespace-nowrap,
  #sec-form .whitespace-nowrap {
    white-space: normal !important;
  }

  /* 固定幅の中間サイズ（375px超） */
  .w-\[393px\],
  .w-\[375px\],
  .w-\[349px\] {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ==========================================================
     フッター
     ========================================================== */
  /* ロゴ＋リンクのコンテナ — 幅リセット＋縦並び */
  .w-\[1200px\] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* フッターロゴを小さく */
  [data-name="foot_logo 1"] {
    width: 200px !important;
    height: 32px !important;
  }

  /* フッターリンク横並び余白 */
  .w-\[1200px\] .gap-\[40px\] {
    gap: 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  /* copyright文字サイズ調整 */
  .bg-\[\#2e589c\] p {
    font-size: 11px !important;
    line-height: 20px !important;
    letter-spacing: 0.5px !important;
  }

  /* フッター親の余白調整 */
  .gap-\[40px\].pt-\[64px\] {
    padding-top: 24px !important;
    gap: 20px !important;
  }

  /* トップへ戻るボタン非表示 */
  .right-\[40px\].size-\[62px\] {
    display: none !important;
  }

}

/* PC: 課題ラベル内の括弧補足のみ小さく（SPは上記 #sp-sec-challenge 側で指定） */
@media (min-width: 769px) {
  #sec-challenge .sp-challenge-inline-small {
    font-size: 0.72em;
    font-weight: 700;
    vertical-align: baseline;
  }
}

/* SP利用方法：極狭幅では2列が潰れるため1列に */
@media (max-width: 380px) {
  #sp-sec-howto .sp-howto-step {
    flex: 1 1 100%;
  }
}
