/*
 * 契約者のサイトの基本の CSS（LINE SEND）。色は CSS 変数で変える：
 * --ls-primary（主の色）・--ls-accent（差し色）・--ls-bg（背景）・--ls-text（文字）
 * クラスはすべて ls- で始まる。デザインの CSS で上書きできる
 */
.ls-page { margin: 0; background: var(--ls-bg, #f7f7f5); color: var(--ls-text, #1f2937); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; line-height: 1.8; -webkit-text-size-adjust: 100%; }
.ls-page *, .ls-page *::before, .ls-page *::after { box-sizing: border-box; }
.ls-page img { max-width: 100%; height: auto; }
.ls-page a { color: inherit; }
.ls-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.ls-container--narrow { max-width: 760px; }
.ls-muted { color: color-mix(in srgb, var(--ls-text, #1f2937) 60%, transparent); font-size: 14px; margin: 4px 0; }

/* ボタン */
.ls-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--ls-primary, #06c755); background: var(--ls-primary, #06c755); color: #fff !important; font-weight: 700; text-decoration: none; cursor: pointer; font-size: 16px; line-height: 1.4; transition: opacity .15s, transform .15s; }
.ls-btn:hover { opacity: .9; transform: translateY(-1px); }
.ls-btn--line { background: #06c755; border-color: #06c755; }
.ls-btn--ghost { background: transparent; color: var(--ls-primary, #06c755) !important; }
.ls-btn--sm { padding: 6px 16px; font-size: 14px; }
.ls-btn--lg { padding: 16px 36px; font-size: 18px; box-shadow: 0 6px 18px color-mix(in srgb, #06c755 35%, transparent); }
.ls-badge { display: inline-block; min-width: 22px; padding: 0 6px; border-radius: 11px; background: #ef4444; color: #fff; font-size: 12px; line-height: 22px; text-align: center; }

/* ヘッダー・フッター */
.ls-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ls-bg, #f7f7f5) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--ls-text, #1f2937) 10%, transparent); }
.ls-header__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.ls-header__logo { font-weight: 900; font-size: 18px; text-decoration: none; }
.ls-footer { margin-top: 48px; padding: 32px 0; background: var(--ls-text, #1f2937); color: #fff; font-size: 13px; text-align: center; }
.ls-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.ls-footer__links a { color: #fff; text-decoration: none; opacity: .85; }
.ls-footer__copy { margin: 16px 0 0; opacity: .6; }

/* セクション */
.ls-section { padding: 64px 0; }
.ls-section--tint { background: color-mix(in srgb, var(--ls-primary, #06c755) 7%, #fff); }
.ls-heading { text-align: center; font-size: clamp(22px, 4vw, 30px); font-weight: 900; margin: 0 0 32px; line-height: 1.4; }
.ls-heading::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; margin: 14px auto 0; background: var(--ls-accent, #c29a52); }
.ls-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.ls-grid { display: grid; gap: 20px; }
@media (min-width: 768px) { .ls-grid--3 { grid-template-columns: repeat(3, 1fr); } .ls-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.ls-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 16px; }

/* ファーストビュー */
.ls-hero { padding: 72px 0 64px; text-align: center; background: linear-gradient(160deg, color-mix(in srgb, var(--ls-primary, #06c755) 14%, #fff), var(--ls-bg, #f7f7f5)); }
.ls-hero__label { display: inline-block; margin: 0 0 16px; padding: 4px 14px; border-radius: 999px; background: var(--ls-accent, #c29a52); color: #fff; font-size: 13px; font-weight: 700; }
.ls-hero__title { margin: 0 0 16px; font-size: clamp(28px, 6vw, 46px); font-weight: 900; line-height: 1.35; }
.ls-hero__lead { margin: 0 auto 28px; max-width: 560px; }

/* お悩み・理由・特典・流れ・質問 */
.ls-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ls-checks li { position: relative; padding: 14px 16px 14px 48px; background: #fff; border-radius: 12px; box-shadow: 0 1px 6px rgba(0, 0, 0, .05); }
.ls-checks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 16px; height: 9px; margin-top: -7px; border-left: 3px solid var(--ls-primary, #06c755); border-bottom: 3px solid var(--ls-primary, #06c755); transform: rotate(-45deg); }
.ls-point { text-align: center; }
.ls-point__no { margin: 0; font-size: 32px; font-weight: 900; color: var(--ls-accent, #c29a52); line-height: 1; }
.ls-point__title { margin: 8px 0; font-size: 20px; }
.ls-gift { text-align: center; border: 2px dashed var(--ls-accent, #c29a52); }
.ls-gift__label { margin: 0; color: var(--ls-accent, #c29a52); font-weight: 700; }
.ls-gift__title { margin: 4px 0 8px; font-size: 24px; font-weight: 900; }
.ls-steps { list-style: none; margin: 0; padding: 0; counter-reset: ls-step; display: grid; gap: 14px; }
.ls-steps li { counter-increment: ls-step; position: relative; display: flex; flex-direction: column; padding: 16px 16px 16px 68px; background: #fff; border-radius: 12px; }
.ls-steps li::before { content: counter(ls-step); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--ls-primary, #06c755); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.ls-faq details { background: #fff; border-radius: 12px; margin-bottom: 10px; padding: 0 16px; }
.ls-faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; }
.ls-faq summary::-webkit-details-marker { display: none; }
.ls-faq summary::before { content: "Q"; color: var(--ls-primary, #06c755); font-weight: 900; margin-right: 10px; }
.ls-faq details p { margin: 0; padding: 0 0 16px 24px; }

/* 友だち追加の帯 */
.ls-cta { padding: 48px 0; text-align: center; background: var(--ls-primary, #06c755); color: #fff; }
.ls-cta__title { margin: 0 0 18px; font-size: 22px; font-weight: 900; }
.ls-cta .ls-btn--line { background: #fff; color: #06c755 !important; border-color: #fff; }

/* 規約類 */
.ls-legal__title { font-size: 26px; text-align: center; margin: 0 0 24px; }
.ls-legal h2 { font-size: 18px; margin: 28px 0 8px; }
.ls-legal__date { text-align: right; margin-top: 32px; }
.ls-table { width: 100%; border-collapse: collapse; background: #fff; }
.ls-table th, .ls-table td { border: 1px solid color-mix(in srgb, var(--ls-text, #1f2937) 15%, transparent); padding: 12px; text-align: left; vertical-align: top; }
.ls-table th { width: 32%; background: color-mix(in srgb, var(--ls-text, #1f2937) 4%, #fff); }
@media (max-width: 600px) { .ls-table th, .ls-table td { display: block; width: 100%; } }

/* マイページ */
.ls-mypage { text-align: center; }
.ls-mypage__icon { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.ls-mypage__name { margin: 8px 0 0; font-size: 20px; font-weight: 700; }

/* QR コードの小窓 */
.ls-modal { border: 0; border-radius: 16px; padding: 28px; text-align: center; max-width: 320px; }
.ls-modal::backdrop { background: rgba(0, 0, 0, .5); }
.ls-modal__title { margin: 0 0 12px; font-weight: 700; }
.ls-modal__qr { display: block; margin: 0 auto; width: 200px; height: 200px; }
.ls-modal__note { font-size: 13px; margin: 12px 0 16px; }
