/* ============================================================
   ダレヨミ スマホ専用LP スタイル v1.0
   ・767px以下でのみ表示。768px以上はPC版（style.css）が担当。
   ・PC版のセレクタには一切干渉しない（すべて .sp- 接頭辞）。
   ============================================================ */

:root {
  --sp-navy:      #1E4A8F;
  --sp-navy-dk:   #173A70;
  --sp-navy-soft: #EAF0F9;
  --sp-green:     #2C6A4B;
  --sp-teal:      #009C8F;
  --sp-ink:       #15181C;
  --sp-sub:       #59616B;
  --sp-bg:        #FBFBFA;
  --sp-bg2:       #F3F4F2;
  --sp-line:      #EEF2F6;
  --sp-shadow:    0 4px 20px rgba(21,24,28,.06);
  --sp-radius:    16px;
  --sp-warn-bg:   #FFF8EA;
  --sp-warn-line: #EFDDB4;
  --sp-warn-ink:  #6B5320;
}

/* ---- 表示切替（ここだけがPC版に触れる唯一の箇所） ---- */
.sp-view { display: none; }
@media (max-width: 767px),
       (orientation: landscape) and (max-height: 450px) and (max-width: 950px) {
  .pc-view { display: none !important; }
  .sp-view { display: block; }
}

/* ---- 土台 ---- */
.sp-view { background: var(--sp-bg); color: var(--sp-ink); line-height: 1.7; }
.sp-view .disp { font-family: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif; }
.sp-view .mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-variant-numeric: tabular-nums; }
.sp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sp-view p, .sp-view li, .sp-view td, .sp-view th { line-height: 1.7; }
.sp-wrap { max-width: 375px; margin: 0 auto; padding: 0 16px; }
.sp-view img { max-width: 100%; }
.sp-view svg { display: block; }
.sp-sec { padding: 24px 0; }
.sp-sec-soft { background: var(--sp-bg2); }
.sp-view section[id] { scroll-margin-top: 64px; }

.sp-h1 {
  font-size: 28px; font-weight: 800; line-height: 1.35;
  letter-spacing: -.01em; margin: 0;
}
.sp-h1-em { color: var(--sp-teal); }
.sp-h2 {
  font-size: 20px; font-weight: 800; line-height: 1.5;
  text-align: center; margin: 0 0 16px;
}
.sp-view h3 { font-size: 18px; font-weight: 800; line-height: 1.5; margin: 0; }

/* ---- ボタン（高さ48px以上／タップ領域44px以上） ---- */
.sp-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; padding: 12px 16px; border-radius: 999px;
  font-size: 15px; font-weight: 800; text-decoration: none;
  font-family: inherit; text-align: center;
}
.sp-btn + .sp-btn { margin-top: 10px; }
.sp-btn small { font-size: 12px; font-weight: 700; }
.sp-btn svg { width: 18px; height: 18px; flex: none; }
.sp-btn-primary { background: var(--sp-green); color: #fff; }
.sp-btn-outline { background: #fff; color: var(--sp-navy); border: 1.5px solid var(--sp-navy); }
.sp-btn-onnavy  { background: #fff; color: var(--sp-navy); }

/* ---- 1. ヘッダー ---- */
.sp-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sp-line);
}
.sp-header-in { display: flex; align-items: center; gap: 8px; min-height: 56px; }
.sp-logo { flex: 1; min-width: 0; display: flex; align-items: center; min-height: 44px; }
.sp-logo img { width: 108px; height: auto; display: block; }
.sp-header-r { display: flex; align-items: center; gap: 6px; flex: none; }
.sp-btn-mini {
  background: var(--sp-navy); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 800; border-radius: 999px;
  padding: 0 12px; min-height: 44px; display: flex; align-items: center;
  white-space: nowrap;
}
.sp-menu-btn {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--sp-ink); cursor: pointer; padding: 0;
}
.sp-menu-btn svg { width: 26px; height: 26px; }
.sp-nav { display: none; border-top: 1px solid var(--sp-line); background: #fff; padding: 4px 0 8px; }
.sp-nav.open { display: block; }
.sp-nav a {
  display: flex; align-items: center; min-height: 48px;
  padding: 0 16px; max-width: 375px; margin: 0 auto;
  color: var(--sp-ink); text-decoration: none; font-size: 15px; font-weight: 700;
  border-bottom: 1px solid var(--sp-bg2);
}
.sp-nav a:last-child { border-bottom: none; }

/* ---- 2. ヒーロー ---- */
.sp-hero { padding: 20px 0 24px; }
.sp-hero-top { display: grid; grid-template-columns: 1fr 148px; gap: 10px; align-items: start; }
.sp-hero-txt { min-width: 0; }
.sp-lede { font-size: 14px; color: var(--sp-sub); margin: 14px 0 0; font-weight: 500; }
.sp-hero .sp-btn:first-of-type { margin-top: 18px; }

.sp-hero-vis { min-width: 0; }

.sp-flyer {
  background: #fff; border: 1px solid #E4E9EE; border-radius: 10px;
  box-shadow: var(--sp-shadow); overflow: hidden;
  padding: 10px 10px 0; display: flex; flex-direction: column;
}
.sp-flyer-to { font-size: 7px; color: var(--sp-sub); }
.sp-flyer-h { font-size: 11px; font-weight: 800; line-height: 1.45; margin: 2px 0 5px; }
.sp-flyer-badge {
  align-self: flex-start; background: #E4F4F1; color: var(--sp-teal);
  font-size: 7px; font-weight: 800; border-radius: 3px; padding: 2px 5px;
}
.sp-flyer-note { font-size: 7px; color: var(--sp-sub); line-height: 1.6; margin: 6px 0 5px; }
.sp-flyer-qr { width: 52px; margin: 0 0 8px; }
.sp-flyer-qr svg { width: 100%; height: auto; }
.sp-flyer-band {
  background: var(--sp-navy); color: #fff; font-size: 8px; font-weight: 700;
  text-align: center; padding: 5px 0; margin: 0 -10px;
}

.sp-notif {
  position: relative; margin: -6px 0 0 -8px;
  background: #fff; border: 1px solid #E4E9EE; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(21,24,28,.12);
  padding: 9px 10px; display: flex; flex-direction: column;
}
.sp-notif-bell {
  position: absolute; top: -12px; right: -8px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--sp-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.sp-notif-bell svg { width: 14px; height: 14px; }
.sp-notif-t { font-size: 9px; font-weight: 800; }
.sp-notif-time { font-size: 13px; font-weight: 600; color: var(--sp-teal); margin: 1px 0 5px; }
.sp-notif-row {
  display: flex; align-items: center; gap: 4px;
  font-size: 8px; color: var(--sp-ink); padding: 1px 0;
}
.sp-notif-row svg { width: 9px; height: 9px; color: var(--sp-teal); flex: none; }

/* ---- 3. 特徴ミックスリスト ---- */
.sp-mix { padding: 0 0 24px; }
.sp-mix-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.sp-mix-list li {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow); padding: 10px 8px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.sp-mix-ic { color: var(--sp-navy); }
.sp-mix-ic svg { width: 22px; height: 22px; }
.sp-mix-list b { font-size: 12px; font-weight: 800; line-height: 1.45; }
.sp-mix-list span:last-child { font-size: 12px; color: var(--sp-sub); }

/* ---- 4. 3ステップ ---- */
.sp-step {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow); padding: 14px; margin-bottom: 12px;
}
.sp-step:last-child { margin-bottom: 0; }
.sp-step-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sp-step-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--sp-navy); color: #fff;
  font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex: none;
}
.sp-step p { font-size: 14px; color: var(--sp-sub); margin: 0 0 12px; font-weight: 500; }
.sp-step-fig {
  background: var(--sp-bg2); border-radius: 10px; padding: 12px;
  display: flex; align-items: center; gap: 12px;
}
.sp-step-fig-c { justify-content: center; gap: 14px; }
.sp-ic-csv { color: var(--sp-green); flex: none; }
.sp-ic-pdf { color: #D62F2F; flex: none; }
.sp-ic-csv svg, .sp-ic-pdf svg { width: 34px; height: auto; }
.sp-ic-pr { color: var(--sp-ink); flex: none; }
.sp-ic-pr svg { width: 34px; height: 34px; }
.sp-fig-ar { color: #98A3AE; flex: none; }
.sp-fig-ar svg { width: 22px; height: 22px; }
.sp-fig-table { border-collapse: collapse; font-size: 8px; background: #fff; }
.sp-fig-table th, .sp-fig-table td {
  border: 1px solid #D9DDDC; padding: 2px 5px; font-weight: 500; white-space: nowrap;
}
.sp-fig-table th { background: #E9ECEA; font-weight: 700; }
.sp-fig-qr { width: 56px; flex: none; }
.sp-fig-qr svg { width: 100%; height: auto; }
.sp-fig-doc {
  flex: 1; background: #fff; border: 1px solid #DCE1E6; border-radius: 4px; padding: 8px;
  display: block;
}
.sp-fig-doc b { display: block; font-size: 8px; font-weight: 800; margin-bottom: 5px; }
.sp-fig-doc i { display: block; height: 3px; background: #E3E7EB; border-radius: 2px; margin-bottom: 4px; }

/* ---- 5. できること ---- */
.sp-feat {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow); padding: 14px; margin-bottom: 12px;
}
.sp-feat:last-child { margin-bottom: 0; }
.sp-feat-ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--sp-navy-soft);
  color: var(--sp-navy); display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.sp-feat-ic svg { width: 21px; height: 21px; }
.sp-feat p { font-size: 14px; color: var(--sp-sub); margin: 6px 0 0; font-weight: 500; }

/* ---- 6. 料金 ---- */
.sp-price-band {
  background: var(--sp-navy); color: #fff; border-radius: var(--sp-radius);
  padding: 16px; text-align: center;
}
.sp-price-line { display: flex; align-items: baseline; justify-content: center; }
.sp-price-lb { margin-right: 6px; }
.sp-price-lb { font-size: 16px; font-weight: 800; }
.sp-price-yen { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.sp-price-unit { font-size: 22px; font-weight: 800; }
.sp-price-tax { font-size: 12px; font-weight: 700; }
.sp-price-sub { font-size: 13px; font-weight: 700; margin-top: 6px; opacity: .95; }

.sp-checks {
  list-style: none; margin: 12px 0 0; padding: 14px;
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow);
}
.sp-checks li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; font-weight: 700; padding: 5px 0;
}
.sp-checks svg { width: 17px; height: 17px; color: var(--sp-green); flex: none; margin-top: 3px; }

.sp-sim {
  margin-top: 12px; padding: 14px; background: #fff;
  border: 1px solid var(--sp-line); border-radius: var(--sp-radius); box-shadow: var(--sp-shadow);
}
.sp-sim h3 { font-size: 18px; font-weight: 800; margin: 0 0 10px; }
.sp-sim table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-sim td { padding: 7px 0; border-bottom: 1px solid var(--sp-bg2); }
.sp-sim td:last-child { text-align: right; font-weight: 600; }
.sp-sim tr:last-child td { border-bottom: none; }
.sp-sim-note { font-size: 12px; color: var(--sp-sub); text-align: right; margin: 6px 0 0; }

/* ---- 7. 活用例 ---- */
.sp-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sp-case {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow); padding: 12px;
}
.sp-case-ic { color: var(--sp-navy); display: block; margin-bottom: 6px; }
.sp-case-ic svg { width: 24px; height: 24px; }
.sp-case h3 { font-size: 18px; }
.sp-case p { font-size: 12px; color: var(--sp-sub); margin: 5px 0 0; font-weight: 500; }

/* ---- 8. 正直な注意書き（常時表示・折りたたみ禁止） ---- */
.sp-sec-honest { padding: 0 0 24px; background: var(--sp-bg2); }
.sp-honest {
  background: var(--sp-warn-bg); border: 1px solid var(--sp-warn-line);
  border-radius: var(--sp-radius); padding: 14px;
}
.sp-honest-h { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.sp-honest-ic { color: #8A6410; flex: none; margin-top: 3px; }
.sp-honest-ic svg { width: 24px; height: 24px; }
.sp-honest h2 { font-size: 20px; font-weight: 800; line-height: 1.5; margin: 0; }
/* 本文と同じ大きさ・同じ濃さ。小さく／薄くしないこと（恒久） */
.sp-honest p { font-size: 14px; color: var(--sp-ink); margin: 0; font-weight: 500; }

/* ---- 9. FAQ（details / キーボード操作対応） ---- */
.sp-faq {
  background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius);
  box-shadow: var(--sp-shadow); overflow: hidden;
}
.sp-faq-item { border-bottom: 1px solid var(--sp-bg2); }
.sp-faq-item:last-child { border-bottom: none; }
.sp-faq-item > summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 12px 14px;
  font-size: 14px; font-weight: 700; line-height: 1.55; color: var(--sp-ink);
}
.sp-faq-item > summary::-webkit-details-marker { display: none; }
.sp-faq-item > summary:focus-visible { outline: 2px solid var(--sp-navy); outline-offset: -2px; }
.sp-plus {
  position: relative; width: 18px; height: 18px; flex: none; margin-left: auto;
  transition: transform .18s ease;
}
.sp-plus::before, .sp-plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--sp-navy); border-radius: 1px; transform: translate(-50%, -50%);
}
.sp-plus::before { width: 14px; height: 1.8px; }
.sp-plus::after  { width: 1.8px; height: 14px; }
.sp-faq-item[open] .sp-plus { transform: rotate(45deg); }
.sp-faq-a { padding: 0 14px 14px; font-size: 14px; line-height: 1.7; color: var(--sp-sub); font-weight: 500; }

/* ---- 10. 最終CTA ---- */
.sp-cta-sec { padding: 0 0 28px; }
.sp-cta {
  background: var(--sp-navy); color: #fff; border-radius: var(--sp-radius);
  padding: 20px 16px; text-align: center;
}
.sp-cta-ic { display: flex; justify-content: center; margin-bottom: 8px; }
.sp-cta-ic svg { width: 26px; height: 26px; }
.sp-cta h2 { font-size: 20px; font-weight: 800; line-height: 1.5; margin: 0; }
.sp-cta p { font-size: 13px; margin: 4px 0 14px; opacity: .95; }

/* ---- 11. フッター ---- */
.sp-footer { background: #111012; color: #C8CDD2; padding: 24px 0; }
.sp-flogo { display: flex; align-items: center; min-height: 44px; margin-bottom: 8px; }
.sp-flogo img { width: 116px; height: auto; display: block; }
.sp-finfo { font-size: 13px; line-height: 1.7; }
.sp-flinks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 16px; }
.sp-flinks a { color: #C8CDD2; text-decoration: none; font-size: 13px; font-weight: 700;
  min-height: 44px; display: flex; align-items: center; }
.sp-fcopy { font-size: 12px; color: #8B9298; border-top: 1px solid #2A2A2D; padding-top: 12px; }

/* ---- スクロールロック ---- */
body.sp-nav-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .sp-plus { transition: none; }
}
