/* ============================================================
   VOTEC 営業ガイド — Clean Navy
   ============================================================ */

:root {
  --navy:      #002f5a;
  --navy-mid:  #004080;
  --navy-light:#e8eef5;
  --accent:    #0066cc;
  --bg:        #f5f7fa;
  --surface:   #ffffff;
  --border:    #dce3ed;
  --text-hi:   #111a2e;
  --text-main: #1e2c42;
  --text-sub:  #4a5a72;
  --text-muted:#8494a8;
  --shadow-sm: 0 1px 4px rgba(0,30,60,0.08);
  --shadow-md: 0 4px 14px rgba(0,30,60,0.12);
  --radius:    5px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-main);
  background: var(--bg);
  max-width: 260mm;
  margin: 0 auto;
  padding: 0 16px 32px;
  overflow-x: hidden;
}
@media screen { body { max-width: 1100px; } }
@media print {
  body { padding: 0; max-width: none; background: #fff; color: #000; }
  .no-print { display: none !important; }
  a { color: inherit; text-decoration: none; }
}

/* ---------- Header ---------- */
.header {
  background: linear-gradient(135deg, #001f40 0%, #003a70 60%, #005090 100%);
  text-align: center;
  padding: 18px 0 15px;
  margin: 0 -16px;
}
.logo { line-height: 1; }
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}
.catch {
  font-size: 11px;
  color: #a8c4e0;
  margin-top: 4px;
  letter-spacing: 0.06em;
}

/* ---------- Navigation ---------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 500;
  background: linear-gradient(90deg, #002a52 0%, #003d6e 100%);
  border-bottom: 3px solid var(--accent);
  padding: 6px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  justify-content: center;
  margin: 0 -16px 0;
}
.main-nav a {
  color: #b8d0e8;
  text-decoration: none;
  padding: 5px 13px;
  border-radius: var(--radius);
  font-size: 12px;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.main-nav a.active {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 1px 6px rgba(0,102,204,0.4);
}
.main-nav a.weak {
  color: #5d7a9c;
  font-size: 11px;
  opacity: 0.75;
  border-left: 1px solid rgba(184,208,232,0.3);
  margin-left: 4px;
  padding-left: 12px;
}
.main-nav a.weak:hover {
  color: #cfe0f2;
  opacity: 1;
  background: rgba(255,255,255,0.08);
}
@media print { .main-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { margin: 0 -16px 0; overflow: hidden; }
.hero-img { width: 100%; display: block; }
.hero + section { margin-top: 16px; }

/* ---------- Sections / Headings ---------- */
section { margin: 24px 0; }

h2 {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  padding: 10px 16px;
  margin-bottom: 16px;
  background: var(--navy);
  border-left: 5px solid #f5c400;
  border-radius: 0 var(--radius) var(--radius) 0;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-sm);
}

h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 20px 0 10px;
  color: var(--navy);
  padding-bottom: 7px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
h3::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 44px; height: 2px;
  background: var(--accent);
}

/* ---------- Tables ---------- */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 13px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.plan-table th {
  background: var(--navy);
  color: #e8f0f8;
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
}
.plan-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  color: var(--text-main);
}
.plan-table tr:last-child td { border-bottom: none; }
.plan-table tr:hover td { background: #f0f5fc; }
.plan-table .price { font-weight: bold; color: var(--accent); }

/* Feature table */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.feature-table th {
  background: var(--navy);
  color: #e8f0f8;
  padding: 8px 12px;
  text-align: left;
  font-size: 12px;
  font-weight: bold;
}
.feature-table td {
  border: 1px solid var(--border);
  padding: 8px 12px;
  vertical-align: top;
  color: var(--text-main);
}
.feature-table .cat-row td {
  background: var(--navy-light);
  font-weight: bold;
  color: var(--navy);
  font-size: 12px;
  border-top: 2px solid var(--navy);
}
.feature-table .section-divider td {
  background: #fff8e0;
  font-weight: bold;
  color: #7a5000;
  font-size: 12px;
  border-top: 2px solid #e6a800;
  text-align: center;
}
.feature-table .price-col { font-weight: bold; text-align: right; white-space: nowrap; color: var(--accent); }
.feature-table .note-col { font-size: 11px; color: var(--text-muted); }

/* ---------- Option grid ---------- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  margin: 12px 4px 0;
}
@media (max-width: 520px) { .option-grid { grid-template-columns: 1fr; } }
.option-item {
  padding: 12px 20px;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  box-shadow: var(--shadow-sm);
}
.option-item:last-child { margin-bottom: 0; }
.option-item dt { font-weight: bold; margin-bottom: 3px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--navy); }
.option-item dt .opt-price { font-weight: 600; font-size: 12px; color: var(--accent); flex-shrink: 0; }
.option-item dd { font-size: 12px; color: var(--text-sub); }

/* ---------- Flow list ---------- */
.flow-list { list-style: none; }
.flow-list li { display: flex; gap: 12px; margin-bottom: 10px; align-items: flex-start; }
.flow-num {
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}
.flow-txt { flex: 1; color: var(--text-main); padding-top: 5px; }

/* ---------- Feature list ---------- */
.feature-list { margin: 8px 0 8px 16px; }
.feature-list li { margin: 4px 0; color: var(--text-main); }

/* ---------- FAQ ---------- */
.faq-list { margin: 8px 0 16px; }
.faq-item {
  margin-bottom: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item:last-child { margin-bottom: 0; }

/* Q行 */
.faq-q {
  font-weight: bold;
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 0;
  color: var(--navy);
  background: #e8f0fb;
  padding: 10px 14px;
  line-height: 1.5;
}
.faq-q .faq-label {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  width: 22px;
  color: var(--navy);
  margin-right: 8px;
  margin-top: 1px;
}
.faq-q .faq-text { flex: 1; }

/* A行 */
.faq-a {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 10px 14px;
  background: #fff;
  line-height: 1.7;
}
.faq-a .faq-label {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  width: 22px;
  color: #2563eb;
  margin-right: 8px;
  margin-top: 1px;
}
.faq-a .faq-text { flex: 1; white-space: pre-wrap; }
.faq-q .faq-text { white-space: pre-wrap; }

/* ---------- Tags ---------- */
.tag-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.tag { display: inline-block; padding: 4px 14px; background: var(--navy-light); border-radius: 20px; font-size: 12px; color: var(--navy); }

/* ---------- Plan section card ---------- */
.plan-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 32px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.plan-section h3 { margin-top: 0; }

/* ---------- Campaign box ---------- */
.campaign-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid #e6a800;
  padding: 16px 18px;
  margin: 14px 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.camp-title { font-weight: bold; margin-bottom: 10px; font-size: 18px; color: var(--navy); }

/* Table inside campaign boxes */
.campaign-box .plan-table { margin: 6px 0 0; table-layout: auto; width: auto; min-width: 320px; box-shadow: none; }
.campaign-box .plan-table th { background: var(--navy); }
.campaign-box .plan-table td { background: #fafcff; }
.campaign-box .plan-table th:nth-child(1),
.campaign-box .plan-table td:nth-child(1),
.campaign-box .plan-table th:nth-child(2),
.campaign-box .plan-table th:nth-child(3),
.campaign-box .plan-table td:nth-child(2),
.campaign-box .plan-table td:nth-child(3) { white-space: nowrap; }
.campaign-box .plan-table s { color: #aaa; font-weight: normal; text-decoration: line-through; }
.campaign-box .plan-table .price { font-size: 14px; color: var(--accent); }

/* ---------- Notes / Tips ---------- */
.note { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.tips { background: #fffbf0; border: 1px solid #ffe08a; padding: 12px 14px; margin: 12px 0; font-size: 12px; color: #5a4000; border-radius: var(--radius); }

/* ---------- Placeholder ---------- */
.placeholder { background: var(--bg); border: 2px dashed var(--border); padding: 40px; text-align: center; color: var(--text-muted); font-size: 13px; border-radius: var(--radius); margin: 20px 0; }

/* ---------- Links ---------- */
.text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-size: inherit; margin-right: 14px; }
.text-link:last-of-type { margin-right: 0; }
.text-link:hover { color: var(--navy); }
.text-link-stack .text-link { margin-right: 0; }
.text-link[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.8em; height: 0.8em;
  margin-left: 4px;
  vertical-align: -0.06em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14L21 3'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14L21 3'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---------- Contact ---------- */
.contact-box {
  background: linear-gradient(135deg, #001f40 0%, #003a70 100%);
  color: #fff;
  padding: 28px 24px;
  text-align: center;
  margin-top: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.contact-box h2 { background: transparent; color: #fff; margin: 0 0 12px; border-left: none; border-radius: 0; box-shadow: none; font-size: 15px; letter-spacing: 0.1em; }
.contact-box .tel { font-size: 26px; font-weight: bold; margin: 10px 0 4px; color: #ffd060; }
.contact-box .time { font-size: 12px; color: #90b8d8; margin-top: 4px; }
.contact-box a { color: inherit; text-decoration: none; }
.contact-box a:hover { opacity: 0.85; }

/* ---------- Nav cards ---------- */
.nav-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0; }
@media (min-width: 769px) { .nav-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .nav-cards { grid-template-columns: 1fr; } }
.nav-card {
  display: block;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-top-color 0.15s;
}
.nav-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-top-color: var(--accent); }
.nav-card .card-title { font-weight: bold; color: var(--navy); font-size: 14px; margin-bottom: 5px; }
.nav-card .card-desc { font-size: 12px; color: var(--text-sub); line-height: 1.6; }

/* ===== テンプレートサイズ表 ===== */
.is-hidden { display: none !important; }

.ts-selector { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.ts-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.ts-filter-label { font-size: 12px; font-weight: bold; color: var(--text-sub); white-space: nowrap; }
.ts-category-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.ts-category-btns button { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 5px 14px; font-size: 12px; cursor: pointer; color: var(--text-sub); transition: all 0.15s; font-family: inherit; }
.ts-category-btns button:hover { border-color: var(--navy); color: var(--navy); background: var(--navy-light); }
.ts-category-btns button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.ts-dropdown-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.ts-dropdown-row select { border: 1px solid var(--border); border-radius: 4px; padding: 5px 8px; font-size: 12px; font-family: inherit; background: var(--surface); color: var(--text-main); max-width: 320px; }
.ts-or-divider { font-size: 11px; color: var(--text-muted); margin: 4px 0; }
.ts-selector > label { font-size: 12px; font-weight: bold; color: var(--text-sub); display: block; margin-bottom: 4px; }
.ts-supplement { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.ts-search-wrap { position: relative; display: inline-block; width: 100%; max-width: 380px; }
.ts-search-wrap input { width: 100%; border: 1px solid var(--border); border-radius: 4px; padding: 8px 12px; font-size: 13px; font-family: inherit; background: var(--surface); color: var(--text-main); }
.ts-search-wrap input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,47,90,0.1); }
.ts-suggest { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 4px 4px; max-height: 180px; overflow-y: auto; z-index: 100; list-style: none; box-shadow: var(--shadow-md); }
.ts-suggest li { padding: 8px 12px; font-size: 12px; cursor: pointer; border-bottom: 1px solid var(--border); color: var(--text-main); }
.ts-suggest li:hover, .ts-suggest li.active { background: var(--navy-light); color: var(--navy); }
.ts-selected-name { font-size: 13px; color: var(--navy); font-weight: bold; margin-top: 8px; }

.ts-empty { font-size: 13px; color: var(--text-muted); background: var(--bg); border: 1px dashed var(--border); padding: 16px; border-radius: var(--radius); margin: 8px 0; }
.ts-section { margin-bottom: 12px; }
.ts-block { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px dashed var(--border); }
.ts-block:last-child { border-bottom: none; }
.ts-block h4 { font-size: 13px; font-weight: bold; background: var(--navy-light); color: var(--navy); padding: 7px 12px; border-left: 4px solid var(--navy); margin-bottom: 10px; border-radius: 0 4px 4px 0; }

.ts-templates { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 10px 14px; margin-bottom: 10px; font-size: 12px; }
.ts-templates strong { display: block; margin-bottom: 4px; color: var(--text-sub); }
.ts-templates ul { padding-left: 16px; margin: 0; columns: 2; column-gap: 20px; }
@media (max-width: 480px) { .ts-templates ul { columns: 1; } }
.ts-templates li { margin: 2px 0; color: var(--text-sub); }

.ts-cat { font-size: 12px; font-weight: bold; color: var(--navy); margin: 14px 0 6px; padding: 4px 10px; border-left: 4px solid var(--navy); background: var(--navy-light); border-radius: 0 4px 4px 0; }
.ts-cat.paid { color: #7a4a00; border-left-color: #e6a800; background: #fff8e0; }
.ts-cat.paid::after { content: " ★有料オプション"; font-size: 10px; font-weight: normal; color: #a07000; }

.ts-table { width: 100%; border-collapse: collapse; margin: 4px 0 8px; font-size: 12px; background: var(--surface); box-shadow: var(--shadow-sm); }
.ts-table th { background: var(--navy); color: #e8f0f8; padding: 7px 10px; text-align: left; font-weight: bold; }
.ts-table td { border: 1px solid var(--border); padding: 7px 10px; vertical-align: middle; color: var(--text-main); }
.ts-table tr:nth-child(even) td { background: var(--bg); }
.ts-table .size { font-family: 'Consolas', monospace; font-weight: bold; color: var(--navy); white-space: nowrap; }
.ts-table .file { font-family: 'Consolas', monospace; font-size: 11px; color: var(--text-sub); }
.col-label { width: 36%; }
.col-device { width: 14%; white-space: nowrap; }
.col-size { width: 22%; }
.col-file { width: 28%; }

.ts-note { font-size: 11px; color: var(--text-muted); margin: 2px 0 8px 2px; }
/* ===== /テンプレートサイズ表 ===== */

/* ===== キャンペーンページ ===== */
.cp-section { margin-bottom: 24px; }
.cp-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.cp-partner-logo { height: 26px; width: auto; opacity: 0.9; flex-shrink: 0; }
.cp-badge { display: inline-block; background: var(--navy); color: #fff; font-size: 11px; padding: 3px 12px; border-radius: 12px; margin-bottom: 8px; font-weight: bold; letter-spacing: 0.04em; }
.cp-sub-label { font-size: 12px; font-weight: bold; color: var(--text-sub); margin: 12px 0 4px; padding-left: 8px; border-left: 3px solid var(--border); }
.cp-detail { font-size: 12px; color: var(--text-sub); margin-top: 12px; line-height: 1.8; white-space: pre-wrap; }
.campaign-box.cp-pink  { border-top-color: #d63a6a; }
.campaign-box.cp-pink .cp-badge  { background: #d63a6a; }
.campaign-box.cp-green { border-top-color: #008840; }
.campaign-box.cp-green .cp-badge { background: #008840; }
.campaign-box.cp-blue  { border-top-color: var(--accent); }
.campaign-box.cp-blue .cp-badge  { background: var(--accent); }
.campaign-box.cp-purple{ border-top-color: #7040c0; }
.campaign-box.cp-purple .cp-badge{ background: #7040c0; }

.flow-list { padding-left: 20px; margin: 12px 0 20px; }
.flow-list li { margin: 8px 0; font-size: 14px; line-height: 1.6; color: var(--text-main); }
.req-list { padding-left: 20px; margin: 8px 0 12px; }
.req-list li { margin: 6px 0; font-size: 13px; color: var(--text-main); }
.hearing-link { margin: 6px 0; font-size: 13px; }
/* ===== /キャンペーンページ ===== */

/* ============================================================
   SP UI改善ブロック（2026-06-11 UI改修）
   - 元デザイン: _backup_before-ui-renewal_20260611/ に保管
   - 以下をすべて削除すれば改修前の表示に戻る
   ============================================================ */

/* ---------- サイト紹介（トップ・ファーストビュー） ---------- */
.site-intro {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid #f5c400;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin: 16px 0 0;
  box-shadow: var(--shadow-sm);
}
.site-intro .si-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.site-intro p { font-size: 13px; color: var(--text-sub); line-height: 1.8; margin: 0; }

.nav-card { position: relative; }

@media (max-width: 768px) {

  /* --- ナビ: 折り返しをやめて横スクロール1行タブに --- */
  .main-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 8px;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a {
    flex-shrink: 0;
    padding: 10px 13px;
    font-size: 13px;
  }

  /* --- 余白・区切り --- */
  section { margin: 28px 0; }
  h2 { padding: 11px 14px; margin-bottom: 14px; }
  h3 { font-size: 16px; }

  /* --- ナビカード: 押しやすく・押せることを明示 --- */
  .nav-cards { gap: 10px; }
  .nav-card { padding: 16px 36px 16px 16px; }
  .nav-card::after {
    content: "›";
    position: absolute;
    right: 14px; top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--accent);
    font-weight: bold;
  }
  .nav-card .card-title { font-size: 15px; }
  .nav-card .card-desc { font-size: 12.5px; }

  /* --- フィルター系ボタン: タップ領域拡大 --- */
  body .faq-filter-bar button,
  body .price-filter button,
  body .ts-category-btns button {
    padding: 9px 16px;
    font-size: 13px;
  }
  .faq-filter-bar, .price-filter { gap: 8px; }

  /* --- 入力欄: iOSの自動ズーム防止（16px以上） --- */
  body .faq-search-wrap input,
  body .ts-search-wrap input,
  body .ts-dropdown-row select {
    font-size: 16px;
    padding: 10px 14px;
  }
  body .ts-dropdown-row select { max-width: 100%; }

  /* --- テーブルのはみ出し対策 --- */
  body .campaign-box .plan-table { width: 100%; min-width: 0; }
  /* 既存の nth-child nowrap 指定(0,3,1)より高い詳細度(0,3,2)で上書きする */
  body .campaign-box .plan-table th:nth-child(n),
  body .campaign-box .plan-table td:nth-child(n) { white-space: normal; }

  .estimate-table, .feature-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .estimate-table tbody, .feature-table tbody {
    display: table;
    width: 100%;
    min-width: 540px;
  }
  .ts-table th, .ts-table td { padding: 7px 6px; }

  /* --- 読みやすさ（文字サイズの底上げ） --- */
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 14px; }
  .option-grid .option-item dd { font-size: 12px; }
  .note { font-size: 12px; }
  .tips { font-size: 13px; }

  /* --- 連絡先: 電話番号のタップ領域拡大（見た目は不変） --- */
  .contact-box a[href^="tel:"] {
    display: inline-block;
    padding: 6px 10px;
    margin: -6px -10px;
  }
}

@media (max-width: 430px) {
  .plan-table { font-size: 12.5px; }
  .plan-grid .plan-table td.price { font-size: 16px !important; }
  .campaign-box { padding: 14px 14px 12px; }
}
/* ===== /SP UI改善ブロック ===== */
