/* 販売ページ（template-lp.php）専用。_tools/build_lp_shop.py が template_lp_v3.html から書き出す。手で直さない */
.lp { --yellow: #FFEE00;
  --ink: #111111;
  --paper: #FFFFFF;
  --mist: #F4F4EE;
  --line: #DCDCD3;
  --sub: #4F4F48;
  --memo-bg: #FFFBEA;
  --memo-line: #C9B800;
  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --font-num: "Space Grotesk", "Noto Sans JP", sans-serif;
  color-scheme: light; }
.lp, .lp * { box-sizing: border-box; }
.lp { background: var(--paper); color: var(--ink); font-family: var(--font-jp); font-size: 16px; line-height: 1.8; }
.lp img { max-width: 100%; display: block; }
.lp a { color: inherit; }
.lp h1, .lp h2, .lp h3 { margin: 0; line-height: 1.35; text-wrap: balance; }
.lp p { margin: 0; }
.lp .lp-wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lp .lp-narrow { max-width: 760px; }
.lp .lp-band { padding-block: 80px; }
.lp .lp-yellow { background: var(--yellow); }
.lp .lp-mist { background: var(--mist); }
.lp .lp-ink { background: var(--ink); color: var(--paper); }
.lp .lp-sec-title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; letter-spacing: -.01em; }
.lp .lp-sec-lead { font-size: 17px; color: var(--sub); margin-top: 14px; max-width: 38em; }
.lp .lp-ink .lp-sec-lead { color: #D8D8CF; }
.lp .lp-mark { background: linear-gradient(transparent 58%, var(--yellow) 58%); }
.lp .lp-slide { border: 1px solid var(--line); background: var(--paper); aspect-ratio: 16 / 9; width: 100%; max-width: 100%; object-fit: cover; }
.lp .lp-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 900; font-size: 18px; padding: 16px 32px; border: 3px solid var(--ink); box-shadow: 6px 6px 0 rgba(17,17,17,.25); min-height: 64px; }
.lp .lp-btn small { font-size: 12px; font-weight: 700; color: var(--yellow); }
.lp .lp-btn.lp-on-ink { background: var(--yellow); color: var(--ink); border-color: var(--yellow); box-shadow: 6px 6px 0 rgba(255,238,0,.25); }
.lp .lp-btn.lp-on-ink small { color: var(--ink); }
.lp .lp-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.lp .lp-btn.lp-on-ink:focus-visible { outline-color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .lp .lp-btn { transition: transform .15s ease, box-shadow .15s ease; }
  .lp .lp-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 rgba(17,17,17,.3); }
}
.lp .lp-trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; font-weight: 700; margin-top: 14px; }
.lp .lp-trust span::before { content: "✓ "; }
.lp .lp-hero { padding-block: 56px 72px; overflow: hidden; }
.lp .lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 40px; align-items: center; }
.lp .lp-kicker { display: inline-block; background: var(--ink); color: var(--yellow); font-weight: 900; font-size: 14px; padding: 4px 12px; }
.lp .lp-hero h1 { font-size: clamp(32px, 5.6vw, 58px); font-weight: 900; letter-spacing: -.02em; margin-top: 18px; }
.lp .lp-hero h1 .lp-line2 { display: block; }
.lp .lp-hero .lp-sub { font-size: 17px; margin-top: 18px; max-width: 30em; font-weight: 700; }
.lp .lp-offer { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 14px; margin-top: 26px; }
.lp .lp-offer .lp-tag { background: var(--paper); border: 2px solid var(--ink); font-weight: 900; font-size: 14px; padding: 2px 10px; align-self: center; }
.lp .lp-offer .lp-now { font-family: var(--font-num); font-weight: 700; font-size: 52px; line-height: 1; }
.lp .lp-offer .lp-now small { font-family: var(--font-jp); font-size: 18px; font-weight: 900; }
.lp .lp-offer .lp-was { font-size: 15px; font-weight: 700; text-decoration: line-through; text-decoration-thickness: 2px; }
.lp .lp-hero .lp-cta { margin-top: 18px; }
.lp .lp-device { position: relative; max-width: 100%; }
.lp .lp-screen { background: var(--ink); padding: 12px 12px 18px; border-radius: 10px 10px 0 0; }
.lp .lp-screen img { border: 0; }
.lp .lp-base { height: 16px; background: #2B2B27; margin-inline: -6%; border-radius: 0 0 14px 14px; }
.lp .lp-float { position: absolute; width: 46%; border: 2px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 rgba(17,17,17,.2); }
.lp .lp-float.lp-a { right: -4%; top: -10%; transform: rotate(5deg); }
.lp .lp-float.lp-b { left: -6%; bottom: 4%; transform: rotate(-5deg); }
.lp .lp-float-label { position: absolute; background: var(--ink); color: var(--yellow); font-weight: 900; font-size: 12px; padding: 2px 8px; z-index: 2; }
.lp .lp-float-label.lp-a { right: 2%; top: -14%; }
.lp .lp-float-label.lp-b { left: -2%; bottom: 36%; }
.lp .lp-pain-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 36px; }
.lp .lp-checks { display: flex; flex-direction: column; gap: 14px; }
.lp .lp-checks div { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 700; font-size: 17px; line-height: 1.6; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.lp .lp-checks div::before { content: ""; width: 26px; height: 26px; border: 3px solid var(--ink); background: var(--yellow); margin-top: 1px; }
.lp .lp-turn { margin-top: 56px; text-align: center; }
.lp .lp-turn p { font-size: clamp(22px, 3.6vw, 32px); font-weight: 900; line-height: 1.5; }
.lp .lp-turn small { display: block; font-size: 16px; color: var(--sub); margin-top: 10px; font-weight: 400; }
.lp .lp-solve-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lp .lp-points { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.lp .lp-point { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.lp .lp-point .lp-n { font-family: var(--font-num); font-weight: 700; font-size: 28px; line-height: 1; background: var(--ink); color: var(--yellow); display: grid; place-items: center; height: 48px; }
.lp .lp-point b { display: block; font-size: 18px; font-weight: 900; }
.lp .lp-point span { font-size: 15px; color: var(--sub); }
.lp .lp-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 36px; border: 3px solid var(--ink); background: var(--paper); }
.lp .lp-four figure { margin: 0; padding: 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lp .lp-four figure:last-child { border-right: 0; }
.lp .lp-four .lp-step { font-family: var(--font-num); font-weight: 700; font-size: 13px; }
.lp .lp-four b { font-size: 17px; font-weight: 900; }
.lp .lp-four span { font-size: 14px; color: var(--sub); line-height: 1.6; }
.lp .lp-vs-scroll { overflow-x: auto; margin-top: 36px; }
.lp .lp-vs { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; background: var(--paper); }
.lp .lp-vs th, .lp .lp-vs td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.lp .lp-vs thead th { font-weight: 900; font-size: 16px; }
.lp .lp-vs thead th.lp-us { background: var(--ink); color: var(--yellow); }
.lp .lp-vs thead th.lp-them { background: var(--mist); }
.lp .lp-vs tbody th { width: 22%; font-weight: 700; background: var(--mist); }
.lp .lp-vs td.lp-us { font-weight: 700; background: #FFFCD6; }
.lp .lp-cat { margin-top: 48px; }
.lp .lp-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; border-bottom: 3px solid var(--ink); padding-bottom: 10px; }
.lp .lp-cat-head h3 { font-size: 24px; font-weight: 900; }
.lp .lp-cat-head .lp-count { font-weight: 900; background: var(--yellow); padding: 0 8px; }
.lp .lp-cat-head .lp-use { font-size: 14px; color: var(--sub); }
.lp .lp-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; margin-top: 22px; }
.lp .lp-item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.lp .lp-item b { font-weight: 900; font-size: 17px; }
.lp .lp-item span { font-size: 14px; color: var(--sub); line-height: 1.65; }
.lp .lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp .lp-chips span { border: 1px solid var(--ink); padding: 2px 10px; font-size: 13px; font-weight: 700; }
.lp .lp-story { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 32px; border: 3px solid var(--ink); background: var(--paper); }
.lp .lp-story div { padding: 16px; border-right: 1px solid var(--line); min-width: 0; }
.lp .lp-story div:last-child { border-right: 0; }
.lp .lp-story .lp-s { font-size: 12px; font-weight: 900; background: var(--yellow); padding: 0 6px; }
.lp .lp-story b { display: block; font-weight: 900; margin-top: 8px; }
.lp .lp-story span { font-size: 13px; color: var(--sub); line-height: 1.6; display: block; }
.lp .lp-price-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; margin-top: 36px; align-items: start; }
.lp .lp-card { background: var(--paper); border: 3px solid var(--ink); padding: 30px; display: flex; flex-direction: column; gap: 14px; box-shadow: 10px 10px 0 var(--ink); }
.lp .lp-card .lp-ribbon { align-self: flex-start; background: var(--ink); color: var(--yellow); font-weight: 900; padding: 4px 12px; font-size: 14px; }
.lp .lp-card h3 { font-size: 22px; font-weight: 900; }
.lp .lp-card .lp-now { font-family: var(--font-num); font-weight: 700; font-size: 60px; line-height: 1; }
.lp .lp-card .lp-now small { font-family: var(--font-jp); font-size: 18px; font-weight: 900; }
.lp .lp-card .lp-was { font-weight: 700; }
.lp .lp-card .lp-was s { text-decoration-thickness: 2px; }
.lp .lp-card ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.lp .lp-card .lp-btn { width: 100%; }
.lp .lp-per { font-size: 14px; background: var(--mist); padding: 10px 12px; }
.lp .lp-singles { overflow-x: auto; background: var(--paper); border: 2px solid var(--ink); }
.lp .lp-singles table { border-collapse: collapse; width: 100%; min-width: 380px; font-size: 14px; }
.lp .lp-singles th, .lp .lp-singles td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.lp .lp-singles th { background: var(--ink); color: var(--paper); }
.lp .lp-singles td.lp-p { font-family: var(--font-num); font-weight: 700; white-space: nowrap; }
.lp .lp-singles tr.lp-set td { background: var(--yellow); font-weight: 900; }
.lp .lp-maker { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 28px; }
.lp .lp-maker .lp-face { width: 140px; aspect-ratio: 1; background: var(--yellow); border: 3px solid var(--ink); border-radius: 50%; display: grid; place-items: center; overflow: hidden; }
.lp .lp-maker .lp-face img { width: 82%; }
.lp .lp-faq { margin-top: 28px; border-top: 3px solid var(--ink); }
.lp .lp-faq details { border-bottom: 1px solid var(--line); padding-block: 16px; }
.lp .lp-faq summary { font-weight: 900; cursor: pointer; list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px; }
.lp .lp-faq summary::-webkit-details-marker { display: none; }
.lp .lp-faq summary::before { content: "Q"; font-family: var(--font-num); font-weight: 700; }
.lp .lp-faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.lp .lp-faq details p { margin-top: 8px; font-size: 15px; color: var(--sub); padding-left: 34px; }
.lp .lp-final-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.lp .lp-final h2 { color: var(--yellow); font-size: clamp(26px, 4.4vw, 40px); font-weight: 900; }
.lp .lp-final .lp-offer .lp-now, .lp .lp-final .lp-offer .lp-tag { color: var(--paper); }
.lp .lp-final .lp-offer .lp-tag { background: transparent; border-color: var(--paper); }
.lp .lp-final img.lp-ill { border: 3px solid var(--yellow); }
.lp .lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); color: var(--paper); padding-top: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lp .lp-sticky .lp-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp .lp-sticky .lp-txt { font-size: 13px; line-height: 1.4; min-width: 0; }
.lp .lp-sticky .lp-txt b { color: var(--yellow); font-family: var(--font-num); font-size: 20px; }
.lp .lp-sticky a { background: var(--yellow); color: var(--ink); font-weight: 900; text-decoration: none; padding: 12px 20px; white-space: nowrap; font-size: 15px; }
.lp .lp-sticky a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
@media (max-width: 880px) {
  .lp .lp-hero-grid, .lp .lp-pain-grid, .lp .lp-solve-grid, .lp .lp-price-wrap, .lp .lp-final-grid { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-device { margin-top: 24px; }
  .lp .lp-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp .lp-four figure:nth-child(2) { border-right: 0; }
  .lp .lp-four figure:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .lp .lp-story { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-story div { border-right: 0; border-bottom: 1px solid var(--line); }
  .lp .lp-story div:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .lp .lp-band { padding-block: 56px; }
  .lp .lp-four { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-four figure { border-right: 0; border-bottom: 1px solid var(--line); }
  .lp .lp-maker { grid-template-columns: minmax(0, 1fr); }
  .lp .lp-btn { width: 100%; }
  .lp .lp-float { width: 44%; }
  .lp .lp-float.lp-a { right: 0; }
  .lp .lp-float-label.lp-a { right: 4%; }
  .lp .lp-float.lp-b { left: 0; }
  .lp .lp-float-label.lp-b { left: 2%; }
  .lp .lp-sticky .lp-txt span { display: none; }
}

/* ---- ここから下は build_lp_shop.py が足すもの（テンプレの枠・早割の切り替え・単品の買うリンク） ---- */
body.lp-page { background: #FFFFFF; padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
.lp-site-head { background: #FFEE00; padding-block: 14px 0; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lp-site-head .brand { max-width: 1080px; margin: 0 auto; display: flex; }
.lp-site-head .brand__mark { width: 28px; height: 28px; }
.lp-site-head .brand__name { font-size: 20px; }
.lp-site-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; padding-block: 18px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); font-size: 13px; color: #4F4F48; border-top: 1px solid #DCDCD3; }
.lp-site-foot a { text-decoration: underline; text-underline-offset: 3px; }
.lp .lp-regular { display: none !important; }
.lp-after-early .lp .lp-early { display: none !important; }
.lp-after-early .lp .lp-regular { display: contents !important; }
.lp .lp-buy { white-space: nowrap; font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.lp tr:target td { outline: 2px solid var(--ink); outline-offset: -2px; }
.lp [id] { scroll-margin-top: 24px; }
.lp i.lp-early, .lp i.lp-regular { font-style: normal; }
