/* ドラログ LP — ブランド色はアプリ本体（index.html の --brand-*）に合わせる */
:root {
  --b1: #1E3A8A;
  --b2: #2563EB;
  --b3: #1469F4;
  --b4: #60A5FA;
  --b5: #DBEAFE;
  --cyan: #06B6D4;
  --ok: #059669;
  --warn: #D97706;
  --ng: #DC2626;
  --ink: #0F172A;
  --ink2: #334155;
  --mute: #64748B;
  --bg: #EEF2FF;
  --card: #FFFFFF;
  --yellow: #FFD23F;
  --r: 18px;
  --shadow: 0 10px 30px rgba(30, 58, 138, .14);
  --font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 16px; overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--b2); }
h1, h2, h3 { line-height: 1.35; margin: 0; font-feature-settings: "palt"; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 820px) { .sp { display: none; } .pc { display: inline; } }

/* ---------- ヘッダー ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(15, 23, 42, .92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.hd-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.hd-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 900; font-size: 20px; letter-spacing: .04em; }
.hd-logo img { border-radius: 10px; }
.hd-nav { display: none; margin-left: auto; gap: 22px; }
.hd-nav a { color: #CBD5E1; text-decoration: none; font-size: 14px; font-weight: 600; }
.hd-nav a:hover { color: #fff; }
.hd-cta { margin-left: auto; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14px; text-decoration: none; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
@media (min-width: 900px) { .hd-nav { display: flex; } .hd-cta { margin-left: 8px; } }

/* ---------- 共通パーツ ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 14px; border: 2.5px solid currentColor; }
.pill::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: currentColor; -webkit-mask: radial-gradient(circle, #000 55%, transparent 56%); mask: radial-gradient(circle, #000 55%, transparent 56%); }
.pill-g { color: var(--ok); } .pill-b { color: var(--b2); } .pill-p { color: #7C3AED; } .pill-r { color: var(--ng); }

.ribbon { display: inline-block; position: relative; margin: 20px 0 6px; filter: drop-shadow(0 6px 10px rgba(185, 28, 28, .35)); }
.ribbon span { display: block; background: linear-gradient(#F87171, #DC2626); color: #FFF7D6; font-weight: 900; font-size: 22px; padding: 8px 34px; letter-spacing: .04em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 50%, 100% 100%, 0 100%, 16px 50%); text-shadow: 0 2px 0 rgba(127, 29, 29, .5); }
.ribbon b { font-size: 34px; line-height: 1; margin: 0 2px; color: #FFE66D; }

.gp-btn { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border-radius: 14px; padding: 10px 22px 10px 16px; border: 1.5px solid #A6A6A6; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); transition: transform .15s ease, box-shadow .15s ease; min-height: 64px; }
.gp-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.gp-btn svg { width: 34px; height: 38px; flex: none; }
.gp-btn span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.gp-btn small { font-size: 12px; letter-spacing: .02em; }
.gp-btn b { font-size: 23px; font-weight: 700; letter-spacing: .01em; font-family: "Helvetica Neue", Arial, var(--font); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; }
.cta-note { font-size: 13px; color: var(--mute); line-height: 1.6; }
.cta-center { display: flex; justify-content: center; margin-top: 28px; }

.phone { position: relative; border-radius: 34px; padding: 9px; background: linear-gradient(145deg, #1E293B, #0B1220); box-shadow: 0 24px 50px rgba(15, 23, 42, .35), inset 0 0 0 2px #334155; width: 100%; max-width: 280px; margin: 0 auto; }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: #fff; }
.phone-sm { max-width: 220px; }

/* ---------- ヒーロー ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 80% 20%, #3B82F6 0%, #1D4ED8 45%, #1E3A8A 100%); color: #fff; padding: 36px 0 0; }
.hero-rays { position: absolute; inset: -40%; background: repeating-conic-gradient(from 0deg at 70% 45%, rgba(255, 255, 255, .07) 0 6deg, transparent 6deg 16deg); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 24px; }
.hero-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; }
.hero-kicker span { background: var(--yellow); color: var(--ink); padding: 2px 12px; border-radius: 6px; }
.hero h1 { font-size: clamp(30px, 8.4vw, 54px); font-weight: 900; margin-top: 12px; text-shadow: 0 3px 0 rgba(15, 23, 42, .35); letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--yellow); background: linear-gradient(transparent 70%, rgba(220, 38, 38, .75) 70%); padding: 0 4px; }
.hero-lead { margin-top: 14px; font-size: clamp(16px, 4.2vw, 20px); font-weight: 700; line-height: 1.7; }
.hero-lead strong { color: var(--yellow); }
.hero-pills { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero .cta-note { color: #DBEAFE; }
.hero-visual { position: relative; min-height: 470px; display: flex; justify-content: center; align-items: flex-end; padding-bottom: 28px; }
.hero-visual .phone-lg { max-width: 250px; z-index: 2; transform: rotate(4deg); margin-bottom: 10px; }
.hero-ch { position: absolute; bottom: 0; z-index: 3; pointer-events: none; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .3)); }
.hero-haru { left: max(0px, calc(50% - 215px)); width: 138px; }
.hero-gen { right: max(0px, calc(50% - 205px)); width: 116px; z-index: 1; }
.hero-ento { left: calc(50% - 20px); width: 104px; z-index: 4; bottom: 6px; }
.sample-note { position: absolute; right: 0; bottom: 6px; font-size: 11px; color: #BFDBFE; z-index: 5; }
@media (min-width: 900px) {
  .hero { padding-top: 56px; }
  .hero-in { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .hero-visual { min-height: 600px; }
  .hero-visual .phone-lg { max-width: 290px; }
  .hero-haru { left: -10px; width: 190px; }
  .hero-gen { right: -10px; width: 170px; }
  .hero-ento { left: calc(50% - 10px); width: 130px; }
  .hero-copy { padding-bottom: 40px; }
}

/* ---------- セクション共通 ---------- */
.sec { padding: 72px 0; }
.sec-kicker { text-align: center; color: var(--b2); font-weight: 800; font-size: 14px; letter-spacing: .12em; }
.sec-title { text-align: center; font-size: clamp(24px, 6vw, 38px); font-weight: 900; margin-top: 8px; }
.sec-title em { font-style: normal; color: var(--b2); }
.sec-lead { text-align: center; margin: 16px auto 0; max-width: 760px; color: var(--ink2); }
.fine { font-size: 12px; color: var(--mute); margin-top: 20px; text-align: center; }

/* ---------- 義務化 ---------- */
.sec-gimu { background: #fff; }
.rec-grid { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.rec { position: relative; background: var(--bg); border-radius: var(--r); padding: 18px 18px 18px 64px; border: 2px solid var(--b5); }
.rec-no { position: absolute; left: 16px; top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--b2); color: #fff; font-weight: 900; display: grid; place-items: center; }
.rec b { display: block; font-size: 18px; }
.rec small { display: block; color: var(--ink2); font-size: 13.5px; line-height: 1.6; margin-top: 4px; }
.worry { margin-top: 48px; display: grid; gap: 12px; align-items: end; background: linear-gradient(180deg, #FFF7ED, #FFEDD5); border: 2px solid #FDBA74; border-radius: 24px; padding: 24px 20px 0; overflow: hidden; }
.worry h3 { font-size: 20px; }
.check-x { list-style: none; padding: 0; margin: 14px 0 0; }
.check-x li { position: relative; padding: 6px 0 6px 30px; font-weight: 600; }
.check-x li::before { content: "✕"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ng); color: #fff; font-size: 12px; display: grid; place-items: center; font-weight: 900; }
.worry-answer { margin: 14px 0 20px; font-weight: 800; font-size: 17px; }
.worry-answer strong { background: linear-gradient(transparent 60%, #FDE68A 60%); }
.worry-ch { width: 110px; justify-self: center; order: 2; }
@media (min-width: 760px) { .worry { grid-template-columns: 150px 1fr; padding: 28px 32px 0 16px; } .worry-ch { order: 0; width: 140px; } .worry-body { padding-bottom: 24px; } }

/* ---------- 機能 ---------- */
.feat { display: grid; gap: 24px; align-items: center; margin-top: 56px; }
.feat-txt h3 { font-size: clamp(21px, 5vw, 28px); font-weight: 900; margin-top: 10px; }
.feat-txt p { margin-top: 12px; color: var(--ink2); }
.feat-tag { display: inline-block; font-size: 13px; font-weight: 800; color: #fff; padding: 3px 12px; border-radius: 999px; }
.tag-r { background: var(--ng); } .tag-b { background: var(--b2); } .tag-g { background: var(--ok); } .tag-o { background: var(--warn); }
@media (min-width: 820px) {
  .feat { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .feat-rev .feat-img { order: 2; }
}
.mini-grid { display: grid; gap: 20px; margin-top: 64px; }
.mini { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; background: #fff; border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.mini .phone { padding: 5px; border-radius: 20px; }
.mini .phone img { border-radius: 16px; }
.mini h3 { font-size: 19px; margin-top: 8px; }
.mini p { font-size: 14px; color: var(--ink2); margin-top: 6px; }
@media (min-width: 900px) { .mini-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 売上・確定申告 ---------- */
.sec-money { background: linear-gradient(180deg, #fff 0%, #EFF6FF 100%); }
.money-steps { display: grid; gap: 22px; margin-top: 40px; }
.mstep { background: #fff; border-radius: 24px; padding: 22px 20px 26px; box-shadow: var(--shadow); text-align: center; }
.mstep .phone { margin-bottom: 18px; }
.mstep-no { display: inline-block; font-weight: 900; font-size: 12px; letter-spacing: .12em; color: #7C3AED; background: #EDE9FE; padding: 2px 10px; border-radius: 6px; }
.mstep h3 { font-size: 20px; margin-top: 8px; }
.mstep p { font-size: 14.5px; color: var(--ink2); margin-top: 8px; text-align: left; }
@media (min-width: 900px) { .money-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 安心 ---------- */
.sec-safe { background: var(--ink); color: #fff; }
.sec-safe .sec-kicker, .sec-safe .sec-title { text-align: left; }
.sec-safe .sec-kicker { color: var(--b4); }
.safe-in { display: grid; gap: 36px; align-items: center; }
.safe-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.safe-list li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px 16px 14px 52px; position: relative; color: #CBD5E1; font-size: 14.5px; }
.safe-list li::before { content: "✓"; position: absolute; left: 16px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 14px; }
.safe-list b { display: block; color: #fff; font-size: 16.5px; }
.sec-safe .fine { text-align: left; color: #94A3B8; }
.safe-visual { position: relative; display: flex; justify-content: center; padding-right: 60px; }
.safe-visual .phone { max-width: 240px; margin: 0; }
.safe-ch { position: absolute; bottom: -10px; right: max(0px, calc(50% - 190px)); width: 150px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
@media (min-width: 900px) { .safe-in { grid-template-columns: 1.2fr 1fr; } }

/* ---------- 動画・ギャラリー ---------- */
.sec-gallery { background: #fff; }
.video { margin: 32px auto 0; max-width: 880px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; }
.voicevox { text-align: center; font-size: 11px; color: var(--mute); margin-top: 8px; }
.gal { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px 16px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.gal img { flex: none; width: 220px; border-radius: 18px; scroll-snap-align: center; box-shadow: 0 10px 24px rgba(30, 58, 138, .2); }
@media (min-width: 1152px) { .gal { justify-content: center; flex-wrap: wrap; } .gal img { width: 240px; } }
.gal-hint { text-align: center; font-size: 12px; color: var(--mute); }

/* ---------- はじめかた ---------- */
.start { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; counter-reset: s; }
.start li { background: #fff; border-radius: 20px; padding: 22px 20px 22px 76px; position: relative; box-shadow: var(--shadow); }
.start li > span { position: absolute; left: 20px; top: 22px; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--b2), var(--cyan)); color: #fff; font-weight: 900; font-size: 20px; display: grid; place-items: center; }
.start h3 { font-size: 18px; }
.start p { font-size: 14.5px; color: var(--ink2); margin-top: 4px; }
@media (min-width: 900px) { .start { grid-template-columns: repeat(3, 1fr); } }
.safety { margin-top: 22px; text-align: center; font-weight: 700; font-size: 14px; color: #92400E; background: #FEF3C7; border-radius: 12px; padding: 10px 14px; }

/* ---------- 料金 ---------- */
.sec-price { background: #fff; }
.price { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; }
.price > div { border-radius: 24px; padding: 20px 26px; text-align: center; min-width: 200px; }
.price small { display: block; font-weight: 700; font-size: 13px; }
.price b { display: block; font-weight: 900; line-height: 1.1; font-size: 64px; font-family: "Helvetica Neue", Arial, var(--font); }
.price b span { font-size: 22px; font-family: var(--font); margin: 0 2px; }
.price em { font-style: normal; font-weight: 900; }
.price-free { background: linear-gradient(135deg, #EF4444, #B91C1C); color: #fff; box-shadow: 0 12px 26px rgba(185, 28, 28, .3); }
.price-free em { font-size: 28px; color: #FFE66D; }
.price-arrow { color: var(--b4); font-size: 26px; min-width: 0 !important; padding: 0 !important; }
.price-paid { background: var(--bg); border: 2px solid var(--b5); }
.price-paid b { color: var(--b1); }
.price-paid em { font-size: 14px; color: var(--mute); }
.price-notes { max-width: 620px; margin: 28px auto 0; padding: 0; list-style: none; }
.price-notes li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.price-notes li::before { content: "✓"; position: absolute; left: 4px; color: var(--ok); font-weight: 900; }

/* ---------- FAQ ---------- */
.sec-faq details { background: #fff; border-radius: 14px; margin-top: 12px; box-shadow: 0 4px 14px rgba(30, 58, 138, .08); }
.sec-faq details:first-of-type { margin-top: 32px; }
.sec-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 52px; font-weight: 800; position: relative; }
.sec-faq summary::-webkit-details-marker { display: none; }
.sec-faq summary::before { content: "Q"; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 8px; background: var(--b2); color: #fff; display: grid; place-items: center; font-size: 14px; }
.sec-faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 22px; color: var(--b2); transition: transform .2s; }
.sec-faq details[open] summary::after { transform: rotate(45deg); }
.sec-faq details p { padding: 0 20px 18px 52px; color: var(--ink2); font-size: 15px; }

/* ---------- 最終CTA ---------- */
.final { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #3B82F6, #1E3A8A); color: #fff; text-align: center; padding: 72px 0 0; }
.final-in { position: relative; padding-bottom: 150px; }
.final-icon { margin: 0 auto 18px; border-radius: 28px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.final h2 { font-size: clamp(22px, 5.6vw, 36px); font-weight: 900; }
.final h2 em { font-style: normal; color: var(--yellow); }
.final .cta-note { color: #DBEAFE; margin-top: 12px; }
.final-ento { position: absolute; bottom: 0; right: max(8px, calc(50% - 340px)); width: 130px; }

/* ---------- フッター ---------- */
.ft { background: #0B1220; color: #94A3B8; padding: 40px 0 110px; font-size: 13.5px; }
.ft-app { display: flex; gap: 12px; align-items: center; color: #E2E8F0; }
.ft-app img { border-radius: 12px; }
.ft-links { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft a { color: #BFDBFE; }
.ft-co { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 20px 0 0; }
.ft-co dt { color: #64748B; }
.ft-co dd { margin: 0; }
.ft-note { margin-top: 20px; font-size: 12px; }
.ft-copy { margin-top: 14px; font-size: 12px; }
@media (min-width: 900px) { .ft { padding-bottom: 40px; } }

/* ---------- スマホ下部固定CTA ---------- */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -6px 20px rgba(15, 23, 42, .15); transform: translateY(110%); transition: transform .25s ease; }
.sticky.on { transform: none; }
.sticky a { display: flex; align-items: center; gap: 12px; background: #000; color: #fff; text-decoration: none; border-radius: 14px; padding: 8px 14px; max-width: 520px; margin: 0 auto; }
.sticky img { border-radius: 9px; }
.sticky span { display: flex; flex-direction: column; line-height: 1.3; }
.sticky b { font-size: 16px; }
.sticky small { font-size: 12px; color: var(--yellow); font-weight: 700; }
@media (min-width: 900px) { .sticky { display: none; } }

/* ---------- 出現アニメーション ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .gp-btn, .sticky { transition: none; }
}

/* アイコンの表示サイズ（画像は高解像度で配信） */
.hd-logo img { width: 40px; height: 40px; }
.ft-app img { width: 48px; height: 48px; }
.sticky img { width: 36px; height: 36px; }
.final-icon { width: 120px; height: 120px; }

/* スマホ調整 */
.final-in { padding-bottom: 200px; }
@media (max-width: 520px) {
  .price { flex-direction: column; }
  .price-arrow { transform: rotate(90deg); }
  .final-ento { width: 110px; }
}
.ribbon span { white-space: nowrap; }
@media (max-width: 360px) {
  .ribbon span { font-size: 18px; padding: 8px 26px; }
  .ribbon b { font-size: 28px; }
}
