/* W5291: karte.tax.men の入口 LP(/jp/intake・/en/intake)。lp.tax.men(MyApp/TaxmenSite/css/style.css)と同じ配色・書体。
   🔴 intake.html の .lpx の中だけに効く。他の画面は読まない。 */
.lpx {
  --ink: #173c44; --muted: #49676c; --sky: #d7f2fa; --sky-soft: #edfaff; --teal: #c0efe1;
  --orange: #fc8b45; --orange-dark: #d9651a; --line: #c9dadb;
  font-family: Arial, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans CJK JP", sans-serif;
  color: var(--ink); background: #fff; font-size: 17px; line-height: 1.8; letter-spacing: 0;
}
.lpx *, .lpx *::before, .lpx *::after { box-sizing: border-box; }
.lpx h1, .lpx h2, .lpx h3, .lpx p, .lpx ol { margin: 0; padding: 0; }
.lpx h1, .lpx h2, .lpx h3 { line-height: 1.3; text-wrap: balance; }
.lpx p { text-wrap: pretty; line-break: strict; }
.lpx a { color: inherit; text-decoration: none; }
.lpx img { display: block; max-width: 100%; }
.lpx a:focus-visible, .lpx summary:focus-visible { outline: 3px solid #0b758e; outline-offset: 4px; }
.lpx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.lpx-narrow { max-width: 760px; }
.lpx-narrow-lg { max-width: 880px; }
.lpx-center { text-align: center; }

/* ヘッダー */
.lpx-bar { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.lpx-bar-in { max-width: 1280px; margin: 0 auto; min-height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lpx-logos { display: flex; align-items: center; gap: 12px; color: var(--line); }
.lpx-logos img { height: 28px; width: auto; }
.lpx-bar-r { display: flex; align-items: center; gap: 20px; }
.lpx-lang { display: flex; gap: 14px; font-size: 13px; font-weight: 700; }
.lpx-lang a { color: #8aa0a4; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.lpx-lang a.on { color: var(--ink); border-bottom-color: var(--ink); }

/* ボタン: lp.tax.men の橙(紺文字・角4px) */
.lpx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 4px; background: var(--orange); color: var(--ink); font-size: 16px; font-weight: 700; line-height: 1.5; white-space: nowrap; transition: background .15s; }
.lpx-btn:hover { background: #ee7a33; }
.lpx-btn-sm { padding: 10px 18px; font-size: 13px; }
.lpx-btn-lg { padding: 18px 40px; font-size: 18px; }
.lpx-btn-line { background: transparent; border: 1.5px solid var(--ink); }
.lpx-btn-line:hover { background: rgba(23, 60, 68, .06); }

/* ヒーロー */
.lpx-hero { background: linear-gradient(180deg, var(--sky-soft) 0%, var(--sky) 100%); overflow: hidden; }
.lpx-hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 24px; min-height: min(640px, calc(100svh - 72px)); padding-top: 56px; }
.lpx-hero-copy { align-self: center; padding-bottom: 56px; }
.lpx-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--orange-dark); margin-bottom: 14px; }
.lpx-hero h1 { font-size: clamp(40px, 4.6vw, 68px); font-weight: 700; white-space: pre-line; margin-bottom: 22px; }
.lpx-lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.lpx-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.lpx-hero-img { justify-self: center; height: min(560px, 62svh); width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 16px 26px rgba(23, 60, 68, .22)); }

/* 共通セクション */
.lpx-sec { padding: 88px 0; }
.lpx-sec-sky { background: var(--sky-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lpx .lpx-h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; text-align: center; margin-bottom: 40px; }
.lpx .lpx-sub { text-align: center; color: var(--muted); margin: -20px 0 36px; }
.lpx .lpx-note { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }
.lpx-video { width: 100%; border-radius: 8px; border: 1px solid var(--line); background: #000; }

/* 特長3つ */
.lpx-points { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.lpx-points li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; }
.lpx-num { display: block; font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--orange-dark); margin-bottom: 14px; }
.lpx-points h3 { font-size: 21px; margin-bottom: 12px; }
.lpx-points p { font-size: 16px; color: var(--muted); }

/* CTA・免責 */
.lpx-cta .lpx-lead { margin: 0 auto 28px; color: var(--ink); }
.lpx .lpx-disc { font-size: 14px; color: var(--muted); margin-top: 28px; line-height: 1.9; }
.lpx .lpx-disc-link { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 10px; }

/* お悩みカード */
.lpx-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lpx-topic { display: flex; align-items: flex-start; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; transition: border-color .15s, box-shadow .15s; }
.lpx-topic:hover { border-color: var(--orange); box-shadow: 0 8px 20px -12px rgba(23, 60, 68, .4); }
.lpx-ico { flex: none; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.lpx-ico img { width: 100%; height: 100%; object-fit: cover; }
.lpx-topic-b { display: block; min-width: 0; }
.lpx-topic-b strong { display: block; font-size: 18px; margin-bottom: 4px; }
.lpx-topic-b span { display: block; font-size: 14px; color: var(--muted); line-height: 1.7; }
.lpx-topic-b em { display: inline-block; margin-top: 10px; font-style: normal; font-size: 14px; font-weight: 700; color: var(--orange-dark); }
.lpx .lpx-manga-band { margin: 32px 0 0; text-align: center; }
.lpx .lpx-manga-btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 64px; padding: 16px 48px; border-radius: 8px; background: #FDF1E3; border: 2px solid #C2570C; color: #C2570C; font-size: 22px; font-weight: 700; line-height: 1.4; transition: background .15s, box-shadow .15s; }
.lpx .lpx-manga-btn:hover { background: #fbe6cc; box-shadow: 0 8px 20px -12px rgba(23, 60, 68, .4); }

/* FAQ */
.lpx-faq { border-top: 1px solid var(--line); }
.lpx-faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.lpx-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 17px; }
.lpx-faq summary::-webkit-details-marker { display: none; }
.lpx-faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--orange-dark); transition: transform .2s; }
.lpx-faq details[open] summary::after { transform: rotate(45deg); }
.lpx-faq p { margin-top: 12px; font-size: 16px; color: var(--muted); }

/* フッター */
.lpx-foot { border-top: 1px solid var(--line); padding: 28px 32px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--muted); }
.lpx-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .lpx-hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .lpx-hero-copy { padding-bottom: 0; }
  .lpx-hero-img { height: 340px; }
  .lpx-points, .lpx-topics { grid-template-columns: 1fr; }
  .lpx .lpx-manga-btn { width: 100%; padding: 16px 20px; font-size: 20px; }
}
@media (max-width: 600px) {
  .lpx { font-size: 16px; }
  .lpx-wrap, .lpx-bar-in { padding: 0 20px; }
  .lpx-bar-in { min-height: 64px; }
  .lpx-logos img { height: 22px; }
  .lpx-bar-r { gap: 12px; }
  .lpx-lead { font-size: 17px; }
  .lpx-sec { padding: 56px 0; }
  .lpx .lpx-h2 { margin-bottom: 28px; }
  .lpx-actions .lpx-btn { width: 100%; white-space: normal; }
  .lpx-btn-lg { width: 100%; padding: 16px 20px; font-size: 17px; }
  .lpx-foot { padding: 24px 20px; }
}
