/* =============================================
   Model Guide 専用スタイル
   jstork19_custom/style-model-guide.css
   ============================================= */

/* ── Model Guide コンテンツラッパー ── */
.mg-wrap {
  padding: 0;
}
.mg-wrap * {
  box-sizing: border-box;
}

/* サイドバー・レイアウトはStork19テーマのデフォルトに従う */

/* ── カラー変数 ── */
.mg-wrap {
  --mg-primary: #e8380d;
  --mg-black: #1a1a1a;
  --mg-gray-700: #444;
  --mg-gray-500: #777;
  --mg-gray-100: #f5f5f5;
  --mg-gray-50: #fafafa;
  --mg-border: #e5e5e5;
  --mg-link: #1a6fc4;
  --mg-good: #2e8b57;
  --mg-bad: #c0392b;
}

/* ── 記事ヘッダー ── */
.mg-article-header {
  margin-bottom: 24px;
}
.mg-article-cat {
  display: inline-block;
  background: var(--mg-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}
.mg-article-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}
.mg-article-meta {
  font-size: 12px;
  color: var(--mg-gray-500);
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.mg-notice {
  background: #fffbe6;
  border: 1px solid #f0d060;
  color: #7a6000;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
}

/* ── ヒーロー画像 ── */
.mg-eyecatch {
  width: 100%;
  aspect-ratio: 1280 / 800;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  background: #111;
}
.mg-eyecatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.mg-eyecatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.05) 35%,
    rgba(0,0,0,0.65) 100%
  );
  pointer-events: none;
}
.mg-eyecatch-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 32px;
  z-index: 1;
}
.mg-make {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mg-primary);
  font-weight: 700;
  margin-bottom: 8px;
}
.mg-model {
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.mg-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.14em;
}

/* ── リード文 ── */
.mg-article-intro {
  background: var(--mg-gray-50);
  border-left: 4px solid var(--mg-primary);
  padding: 16px 20px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--mg-gray-700);
}
.mg-article-intro p { margin: 0; }

/* ── 目次 ── */
.mg-toc {
  background: var(--mg-gray-50);
  border: 1px solid var(--mg-border);
  border-top: 3px solid var(--mg-primary);
  border-radius: 0 0 6px 6px;
  padding: 20px 24px;
  margin-bottom: 40px;
}
.mg-toc-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.mg-toc ol {
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.mg-toc ol li {
  margin-bottom: 4px;
}
.mg-toc ol li a {
  color: var(--mg-link);
}

/* ── 見出し ── */
.mg-article-body h2 {
  font-size: 19px;
  font-weight: 700;
  border-left: 5px solid var(--mg-primary);
  padding: 10px 14px;
  background: var(--mg-gray-50);
  margin: 40px 0 20px;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}
.mg-article-body h3 {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid var(--mg-border);
  padding-bottom: 6px;
  margin: 28px 0 14px;
  position: relative;
}
.mg-article-body h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--mg-primary);
}
.mg-article-body p {
  margin-bottom: 16px;
  line-height: 1.9;
  font-size: 15px;
}
.mg-sell-h2 {
  font-size: 19px;
  font-weight: 700;
  border-left: 5px solid var(--mg-primary);
  padding: 10px 14px;
  background: var(--mg-gray-50);
  margin: 40px 0 16px;
  line-height: 1.5;
  border-radius: 0 4px 4px 0;
}

/* ── 基本情報カード ── */
.mg-summary-card {
  background: #fff;
  border: 2px solid var(--mg-primary);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.mg-sc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mg-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mg-sc-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: var(--mg-primary);
  border-radius: 2px;
}
.mg-summary-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 7px 0;
  border-bottom: 1px solid var(--mg-border);
}
.mg-summary-card dl div:last-child {
  border-bottom: none;
}
.mg-summary-card dt {
  color: var(--mg-gray-500);
  font-size: 12px;
}
.mg-summary-card dd {
  font-weight: 700;
  font-size: 15px;
  margin: 0;
}
.mg-price {
  color: var(--mg-primary) !important;
  font-size: 20px !important;
}
.mg-basic-desc {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.9;
}
.mg-basic-desc p { margin-bottom: 12px; }

/* ── ライトボックストリガー ── */
.mg-lb-trigger,
.lb-trigger {
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  display: block;
}
.mg-lb-trigger img,
.lb-trigger img {
  transition: transform 0.25s ease, opacity 0.25s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-lb-trigger:hover img,
.lb-trigger:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}
.mg-lb-trigger::after,
.lb-trigger::after {
  content: '🔍';
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.mg-lb-trigger:hover::after,
.lb-trigger:hover::after {
  opacity: 1;
}

/* ── 外観画像 ── */
.mg-img-main {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--mg-border);
}
.mg-img-main img {
  width: 100%;
  height: auto;
  display: block;
}
.mg-img-grid-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.mg-img-thumb {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--mg-border);
  aspect-ratio: 4/3;
  background: var(--mg-gray-100);
}
.mg-img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── セクション単体画像 ── */
.mg-sec-img {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--mg-border);
}
.mg-sec-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── カラーバリエーション（本文エディタから出力）── */
.mg-color-section .color-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}
.mg-color-section .color-card {
  border: 1px solid var(--mg-border);
  border-radius: 8px;
  overflow: hidden;
}
.mg-color-section .color-swatch {
  overflow: hidden;
  cursor: zoom-in;
}
.mg-color-section .color-swatch img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}
.mg-color-section .color-swatch:hover img {
  transform: scale(1.03);
}
.mg-color-section .color-name {
  padding: 10px 12px 2px;
  font-size: 12px;
  font-weight: 700;
  border-top: 1px solid var(--mg-border);
}
.mg-color-section .color-sub {
  padding: 0 12px 10px;
  font-size: 11px;
  color: var(--mg-gray-500);
}

/* ── 特徴リスト ── */
.mg-feature-list {
  list-style: none;
  margin-bottom: 20px;
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
}
.mg-feature-list li {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mg-border);
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.7;
  margin: 0;
}
.mg-feature-list li:last-child {
  border-bottom: none;
}
.mg-feature-list li::before {
  content: '▶';
  color: var(--mg-primary);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 5px;
}
.mg-feature-list li strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
}
.mg-fdesc {
  color: var(--mg-gray-700);
  font-size: 13px;
}

/* ── スペックテーブル ── */
.mg-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}
.mg-spec-table th,
.mg-spec-table td {
  border: 1px solid var(--mg-border);
  padding: 10px 14px;
  text-align: left;
}
.mg-spec-table th {
  background: var(--mg-gray-100);
  font-weight: 700;
  color: var(--mg-gray-700);
  width: 38%;
}
.mg-spec-table tr:nth-child(even) td {
  background: var(--mg-gray-50);
}

/* ── 売却導線 ── */
/* ── 売却導線セクション ── */
.sell-outer {
  background: #fff8f5;
  border: 2px solid #ffccbc;
  border-radius: 14px;
  padding: 20px 16px;
  margin-bottom: 0;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.sell-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff3e0;
  color: #bf360c;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid #ffccbc;
}
.sell-heading {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.5;
}
.sell-sub {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 18px;
}
.sell-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  margin-top: 10px;
}
.sell-flow-step {
  flex: 1;
  background: #fff;
  border: 2px solid #e8380d;
  border-radius: 10px;
  padding: 18px 4px 10px;
  text-align: center;
  position: relative;
}
.sell-flow-step .step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #e8380d;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.sell-flow-step .step-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}
.sell-flow-arrow {
  color: #e8380d;
  font-size: 18px;
  flex-shrink: 0;
  font-weight: 700;
}
.sell-urgency {
  background: #b71c1c;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
}
.sell-urgency-icon {
  font-size: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  line-height: 1;
}
.sell-urgency-text {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sell-urgency-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.4;
}
.sell-urgency-text span { font-size: 12px; opacity: 0.85; line-height: 1.5; }
.sell-simulator-wrap { max-width: 100%; margin-bottom: 18px; }
.sim-sp { display: block; }
.sim-pc { display: none; }
@media (min-width: 768px) {
  .sim-sp { display: none; }
  .sim-pc { display: block; }
}
.sell-exclusive {
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #b8860b;
}
.sell-exclusive-header {
  background: #b8860b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sell-exclusive-badge {
  background: #fff;
  color: #b8860b;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.sell-exclusive-label {
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.sell-exclusive-body {
  background: #fff;
  padding: 18px 16px;
}
.sell-quo-block {
  text-align: center;
  margin-bottom: 14px;
  background-image: url('https://sanzoku.bike/wp-content/uploads/2026/05/campaign.jpg');
  background-size: cover;
  background-position: center 50%;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
}
.sell-quo-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
}
.sell-quo-block > * { position: relative; z-index: 1; }
.sell-quo-line1 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.sell-quo-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}
.sell-quo-num {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.sell-quo-unit {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.sell-quo-line3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.sell-exclusive-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
  background: #fdf8e1;
  border-left: 3px solid #b8860b;
  padding: 10px 12px;
  border-radius: 0 6px 6px 0;
}
.sell-exclusive-points { margin-bottom: 16px; }
.sell-exclusive-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.6;
}
.sell-exclusive-point .chk {
  color: #2e8b57;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.sell-exclusive-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  background: #b8860b;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  padding: 14px 20px;
  line-height: 1.4;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sell-exclusive-btn .btn-text-sp,
.sell-exclusive-btn .btn-text-pc {
  flex: 1;
  text-align: center;
}
.sell-exclusive-btn:hover { color: #fff; text-decoration: none; opacity: 0.9; }
.sell-exclusive-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: rgba(255,255,255,0.12);
  transform: skewX(-20deg);
  animation: sellBtnShine 2.5s infinite;
}
@keyframes sellBtnShine { 0%{left:-100%} 100%{left:200%} }
.sell-exclusive-note {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 10px;
  line-height: 1.7;
}

/* ── 評価バー ── */
.mg-eval-col {
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}
.mg-eval-col.good { border-top: 3px solid var(--mg-good); }
.mg-eval-col.bad  { border-top: 3px solid var(--mg-bad); }
.mg-eval-col-head {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  background: var(--mg-gray-50);
  border-bottom: 1px solid var(--mg-border);
}
.mg-eval-col.good .mg-eval-col-head { color: var(--mg-good); }
.mg-eval-col.bad  .mg-eval-col-head { color: var(--mg-bad); }
.mg-eval-row {
  padding: 14px 16px;
  border-bottom: 1px solid var(--mg-border);
}
.mg-eval-row:last-child { border-bottom: none; }
.mg-er-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}
.mg-bar-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.mg-bar-track {
  flex: 1;
  height: 6px;
  background: var(--mg-border);
  border-radius: 3px;
  overflow: hidden;
}
.mg-bar-fill {
  height: 100%;
  border-radius: 3px;
}
.mg-bar-fill.good { background: var(--mg-good); }
.mg-bar-fill.bad  { background: var(--mg-bad); }
.mg-bar-num {
  font-size: 11px;
  color: var(--mg-gray-500);
  white-space: nowrap;
}
.mg-eval-row p {
  font-size: 13px;
  color: var(--mg-gray-700);
  margin: 0;
  line-height: 1.8;
}

/* ── ペルソナ ── */
.mg-persona-block {
  border: 1px solid var(--mg-border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mg-pb-head {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.mg-persona-block.for     .mg-pb-head { background: var(--mg-good); }
.mg-persona-block.against .mg-pb-head { background: var(--mg-bad); }
.mg-pb-tags {
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid var(--mg-border);
  background: var(--mg-gray-50);
}
.mg-pb-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}
.mg-pb-tag.for     { background: #e8f5e9; color: #1b5e20; }
.mg-pb-tag.against { background: #fdecea; color: #7f0000; }
.mg-persona-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--mg-border);
}
.mg-persona-item:last-child { border-bottom: none; }
.mg-pi-label {
  padding: 14px 16px;
  font-size: 12px;
  font-weight: 700;
  background: var(--mg-gray-50);
  border-right: 1px solid var(--mg-border);
  display: flex;
  align-items: center;
}
.mg-pi-desc {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--mg-gray-700);
  line-height: 1.8;
}

/* ── まとめ ── */
.mg-point-box {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 13px;
  line-height: 1.8;
  margin-top: 24px;
}

/* ── ライトボックス ── */
#mg-lb-overlay {
  display: none;
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0,0,0,0.92);
  z-index: 2147483647 !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#mg-lb-overlay.active { display: flex; }
#mg-lb-img-wrap {
  position: relative;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
#mg-lb-img {
  max-width: 100%;
  max-height: calc(90vh - 100px);
  object-fit: contain;
  border-radius: 4px;
  display: block;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
}
#mg-lb-caption {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  text-align: center;
  line-height: 1.5;
  margin-top: 8px;
}
#mg-lb-nav-bar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 14px !important;
  width: 100% !important;
}
#mg-lb-counter {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  letter-spacing: 0.08em;
  min-width: 48px;
  text-align: center;
}
#mg-lb-close {
  position: fixed !important;
  top: 16px !important;
  right: 20px !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 20px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  z-index: 2147483647 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
#mg-lb-close:hover { background: rgba(255,255,255,0.25); }
.mg-lb-nav {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 50% !important;
  color: #fff !important;
  font-size: 18px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.mg-lb-nav:hover { background: rgba(255,255,255,0.3); }
.mg-lb-nav.hidden { opacity: 0.2; pointer-events: none; }

/* ── レスポンシブ ── */
@media (max-width: 800px) {
  .mg-article-title { font-size: 18px; }
  .mg-img-grid-sub { grid-template-columns: repeat(2, 1fr); }
  .mg-color-section .color-grid { grid-template-columns: 1fr; }
  .mg-persona-item { grid-template-columns: 1fr; }
  .mg-pi-label {
    border-right: none;
    border-bottom: 1px solid var(--mg-border);
  }
  .mg-eyecatch-overlay { padding: 16px 20px; }
  .mg-summary-card dl div { grid-template-columns: 90px 1fr; }
  .mg-sell-lead { padding: 20px 18px 16px; }
  .mg-simulator-wrap { padding: 16px 18px; }
  .mg-quo-banner { padding: 16px 18px 20px; }
  .mg-quo-body { flex-direction: column; align-items: flex-start; gap: 14px; }
  .mg-quo-btn { width: 100%; }
  #mg-lb-prev { left: 6px; }
  #mg-lb-next { right: 6px; }
}

.btn-text-sp { display: none; text-align: center; line-height: 1.5; }
.btn-text-pc { display: inline; }
@media (max-width: 768px) {
  .btn-text-sp { display: block; }
  .btn-text-pc { display: none; }
}

/* ── シミュレーターのヒーロー画像を非表示 ── */
.sell-simulator-wrap .szk-v17-hero { display: none !important; }
