﻿/* ============================================================
   日本市場ランディングページ - Mobile-First H5 CSS
   LINE対応・CSKFDistributor統合
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --line-green: #06C755;
    --line-green-dark: #05a847;
    --line-green-light: #e8faf0;
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #c0392b;
    --accent-gold: #e8a838;
    --text: #2d2d2d;
    --text-light: #666;
    --text-muted: #999;
    --bg: #ffffff;
    --bg-gray: #f7f8fc;
    --bg-dark: #0a0a1a;
    --border: #e8e8ef;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --shadow-line: 0 4px 20px rgba(6,199,85,0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    --font: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.lp-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Header ---------- */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 env(safe-area-inset-right, 0px) 0 env(safe-area-inset-left, 0px);
}

.lp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lp-header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lp-header__logo-svg {
    flex-shrink: 0;
}

.lp-header__logo-icon {
    font-size: 24px;
}

.lp-header__logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.lp-header__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #036b2e;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(3,107,46,0.35);
    transition: var(--transition);
}

.lp-header__cta-btn:hover,
.lp-header__cta-btn:active {
    background: #025a26;
    transform: scale(1.03);
}

.lp-header__cta-btn svg {
    flex-shrink: 0;
}

/* ---------- Hero Section ---------- */
.lp-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px 40px;
    overflow: hidden;
    background: linear-gradient(165deg, #f0fdf4 0%, #ecfdf5 25%, #fff 50%, #f0f9ff 100%);
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lp-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(6,199,85,0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(15,52,96,0.06) 0%, transparent 50%);
    z-index: 1;
}

.lp-hero__img {
    position: absolute;
    right: -5%;
    bottom: 0;
    width: 55%;
    max-width: 600px;
    opacity: 0.18;
    z-index: 0;
    object-fit: cover;
    height: 100%;
}

.lp-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
}

.lp-hero__badge {
    display: inline-block;
    background: rgba(6,199,85,0.1);
    color: var(--line-green-dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.lp-hero__title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.4;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.lp-hero__highlight {
    background: linear-gradient(135deg, var(--line-green) 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lp-hero__subtitle {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.9;
}

.lp-hero__note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.lp-hero__scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--text-muted);
    font-size: 12px;
}

.lp-hero__scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 0.5; }
}

/* ---------- Buttons ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--line-green);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-line);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    letter-spacing: 0.01em;
    min-height: 56px;
}

.lp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    transition: var(--transition);
}

.lp-btn:hover,
.lp-btn:active {
    background: var(--line-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6,199,85,0.4);
}

.lp-btn svg { flex-shrink: 0; }

.lp-btn--hero { font-size: 17px; padding: 18px 40px; min-height: 60px; }
.lp-btn--cta  { font-size: 16px; }

/* ---------- Trust Bar ---------- */
.lp-trust {
    padding: 24px 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.lp-trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.lp-trust__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-light);
}

.lp-trust__icon {
    font-size: 24px;
    line-height: 1;
}

/* ---------- Section Header ---------- */
.lp-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.lp-section-header__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #047a3b;
    background: var(--line-green-light);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.lp-section-header__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.lp-section-header__desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

/* ---------- Services ---------- */
.lp-services {
    padding: 60px 0;
    background: var(--bg-gray);
}

.lp-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.lp-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.lp-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.lp-card__img-wrap {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #e8faf0 0%, #f0f9ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.lp-card:hover .lp-card__img {
    transform: scale(1.08);
}

.lp-card__number {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 32px;
    font-weight: 900;
    color: rgba(6,199,85,0.15);
    line-height: 1;
    letter-spacing: -0.05em;
}

.lp-card__body {
    padding: 24px;
}

.lp-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.lp-card__desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.lp-card__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lp-card__list li {
    position: relative;
    padding-left: 20px;
    font-size: 13px;
    color: var(--text);
    font-weight: 400;
}

.lp-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--line-green);
    font-weight: 700;
}

/* ---------- Flow ---------- */
.lp-flow {
    padding: 60px 0;
    background: var(--bg);
}

.lp-flow__steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.lp-flow__step {
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    width: 100%;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.lp-flow__step:hover {
    border-color: var(--line-green);
    box-shadow: 0 4px 20px rgba(6,199,85,0.1);
}

.lp-flow__step-num {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--line-green) 0%, #00b894 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-line);
}

.lp-flow__step-num span {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.lp-flow__step-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-flow__step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.lp-flow__step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.lp-flow__step-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

.lp-flow__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    color: var(--line-green);
    transform: rotate(90deg);
}

.lp-flow__connector svg {
    width: 24px;
    height: 24px;
}

.lp-flow__cta {
    text-align: center;
    margin-top: 40px;
}

/* ---------- Profiles ---------- */
.lp-profiles {
    padding: 60px 0;
    background: var(--bg-gray);
}

.lp-profiles__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.lp-profile-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.lp-profile-card:hover {
    border-color: var(--line-green);
    box-shadow: var(--shadow-md);
}

.lp-profile-card__avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e8faf0 0%, #f0f9ff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-profile-card__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #047a3b;
    background: var(--line-green-light);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.lp-profile-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.lp-profile-card__desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ---------- Compliance ---------- */
.lp-compliance {
    padding: 50px 0;
    background: var(--bg);
}

.lp-compliance__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.lp-compliance__item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-gray);
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.lp-compliance__icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.lp-compliance__notice {
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    border-left: 3px solid var(--border);
}

.lp-compliance__notice p {
    font-size: 12px;
    color: #555;
    line-height: 1.8;
}

/* ---------- Business Info ---------- */
.lp-business-info {
    padding: 50px 0;
    background: var(--bg);
}

.lp-business-info__content {
    max-width: 600px;
    margin: 0 auto;
}

.lp-business-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 24px;
}

.lp-business-table th,
.lp-business-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.lp-business-table th {
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    width: 140px;
    background: rgba(6,199,85,0.04);
}

.lp-business-table td {
    color: var(--text-light);
}

.lp-business-table td a {
    color: #047a3b;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-ad-compliance {
    max-width: 600px;
    margin: 24px auto 0;
    background: var(--bg);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border);
}

.lp-ad-compliance__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}

.lp-ad-compliance__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lp-ad-compliance__list li {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    padding-left: 4px;
}

/* ---------- Footer Legal ---------- */
.lp-footer__legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lp-footer__legal a {
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    transition: var(--transition);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-footer__legal a:hover {
    color: var(--line-green);
}

.lp-footer__legal span {
    color: rgba(255,255,255,0.2);
    font-size: 12px;
}

/* ---------- Modal Privacy Note ---------- */
.cskf-modal__privacy-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
    padding: 10px 12px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
}

.cskf-modal__privacy-note a {
    color: var(--line-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Contact CTA ---------- */
.lp-contact {
    padding: 60px 0 80px;
    background: linear-gradient(165deg, #0a1628 0%, #0f2047 40%, #162d6a 100%);
    position: relative;
    overflow: hidden;
}

.lp-contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(6,199,85,0.08) 0%, transparent 60%);
}

.lp-contact__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.lp-contact__decoration {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-contact__decoration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 4px 20px rgba(6,199,85,0.3));
}

.lp-contact__title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.lp-contact__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    line-height: 1.9;
}

.lp-contact__meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.lp-contact__meta span {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

.lp-contact__email {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.lp-contact__email a {
    color: rgba(255,255,255,0.7);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-contact__email a:hover {
    color: #fff;
}

/* ---------- Footer ---------- */
.lp-footer {
    background: var(--bg-dark);
    padding: 40px 0 calc(24px + var(--safe-bottom));
    color: rgba(255,255,255,0.5);
}

.lp-footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.lp-footer__brand {
    text-align: center;
}

.lp-footer__logo {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
}

.lp-footer__brand p {
    font-size: 12px;
    margin-top: 6px;
}

.lp-footer__links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.lp-footer__links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.lp-footer__links a:hover {
    color: var(--line-green);
}

.lp-footer__bottom {
    text-align: center;
}

.lp-footer__bottom p {
    font-size: 12px;
    margin-bottom: 6px;
}

.lp-footer__disclaimer {
    font-size: 11px !important;
    color: rgba(255,255,255,0.55);
}

.lp-footer__contact-info {
    font-size: 11px !important;
    color: rgba(255,255,255,0.55);
}

.lp-footer__contact-info a {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ---------- Lead Modal ---------- */
.cskf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: cskfFadeIn 0.25s ease;
}

.cskf-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cskf-modal__content {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.cskf-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-gray);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.cskf-modal__close:hover {
    background: var(--border);
}

.cskf-modal__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.cskf-modal__header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cskf-modal__field {
    margin-bottom: 16px;
}

.cskf-modal__field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.cskf-modal__field input,
.cskf-modal__field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font);
    background: var(--bg-gray);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
    color: var(--text);
}

.cskf-modal__field input:focus,
.cskf-modal__field select:focus {
    outline: none;
    border-color: var(--line-green);
    box-shadow: 0 0 0 3px rgba(6,199,85,0.1);
    background: #fff;
}

.cskf-modal__field input::placeholder {
    color: var(--text-muted);
}

.cskf-modal__submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--line-green);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    box-shadow: var(--shadow-line);
    transition: var(--transition);
    margin-top: 8px;
}

.cskf-modal__submit:hover {
    background: var(--line-green-dark);
}

.cskf-modal__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cskf-modal__skip {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.cskf-modal__skip:hover {
    color: var(--line-green);
}

@keyframes cskfFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Cookie Consent ---------- */
.lp-cookie {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(26,26,46,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px env(safe-area-inset-right, 0px) calc(16px + var(--safe-bottom)) env(safe-area-inset-left, 0px);
}

.lp-cookie__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.lp-cookie__inner p {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.lp-cookie__btns {
    display: flex;
    gap: 10px;
}

.lp-cookie__btn {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.lp-cookie__btn--accept {
    background: var(--line-green);
    color: #fff;
}

.lp-cookie__btn--accept:hover {
    background: var(--line-green-dark);
}

.lp-cookie__btn--reject {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

.lp-cookie__btn--reject:hover {
    background: rgba(255,255,255,0.25);
}

/* ============================================================
   Responsive - Tablet (≥600px)
   ============================================================ */
@media (min-width: 600px) {
    .lp-hero__title {
        font-size: 36px;
    }

    .lp-hero__subtitle {
        font-size: 16px;
    }

    .lp-services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lp-flow__steps {
        flex-direction: row;
        justify-content: center;
    }

    .lp-flow__step {
        max-width: 280px;
    }

    .lp-flow__connector {
        transform: rotate(0deg);
        height: auto;
        width: 40px;
    }

    .lp-profiles__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .lp-compliance__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .lp-section-header__title {
        font-size: 28px;
    }

    .lp-cookie__inner {
        flex-direction: row;
        text-align: left;
    }
}

/* ============================================================
   Responsive - Desktop (≥960px)
   ============================================================ */
@media (min-width: 960px) {
    .lp-hero__title {
        font-size: 44px;
    }

    .lp-hero__subtitle {
        font-size: 17px;
    }

    .lp-hero__img {
        opacity: 0.18;
        width: 40%;
    }

    .lp-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .lp-card__body {
        padding: 28px;
    }

    .lp-section-header__title {
        font-size: 32px;
    }

    .lp-contact__title {
        font-size: 30px;
    }
}

/* ============================================================
   Scroll Animations (Intersection Observer driven)
   ============================================================ */
.lp-card,
.lp-flow__step,
.lp-profile-card,
.lp-compliance__item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.lp-card.is-visible,
.lp-flow__step.is-visible,
.lp-profile-card.is-visible,
.lp-compliance__item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Mobile Sticky CTA Bar (高コンバージョン)
   ============================================================ */
.lp-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .lp-mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9998;
        padding: 10px 16px calc(10px + var(--safe-bottom));
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(0,0,0,0.06);
        box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .lp-mobile-cta.is-visible {
        transform: translateY(0);
    }

    .lp-mobile-cta__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: var(--line-green);
        color: #fff;
        padding: 14px 20px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: 700;
        font-family: var(--font);
        text-decoration: none;
        box-shadow: 0 4px 20px rgba(6,199,85,0.4);
        transition: var(--transition);
        position: relative;
        min-height: 52px;
    }

    .lp-mobile-cta__btn:active {
        transform: scale(0.98);
        background: var(--line-green-dark);
    }

    .lp-mobile-cta__btn svg {
        flex-shrink: 0;
    }

    .lp-mobile-cta__badge {
        position: absolute;
        top: -8px;
        right: 16px;
        background: #ff4757;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 50px;
        letter-spacing: 0.05em;
        animation: ctaPulse 2s infinite;
    }

    @keyframes ctaPulse {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.1); }
    }

    /* 给页面底部留出CTA栏空间 */
    .lp-footer {
        padding-bottom: calc(80px + var(--safe-bottom));
    }

    /* Cookie栏在CTA上方 */
    .lp-cookie {
        bottom: calc(68px + var(--safe-bottom));
    }
}

/* ============================================================
   Accessibility & Print
   ============================================================ */
.lp-legal {
    max-width: 800px;
}

.lp-legal h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.lp-legal__updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.lp-legal h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 28px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.lp-legal p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 12px;
}

.lp-legal ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.lp-legal ul li {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 6px;
}

.lp-legal a {
    color: var(--line-green);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-legal__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 20px 0;
}

.lp-legal__table th,
.lp-legal__table td {
    padding: 12px 16px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.lp-legal__table th {
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    width: 160px;
    background: var(--bg-gray);
}

.lp-legal__table td {
    color: var(--text-light);
}

@media (max-width: 599px) {
    .lp-legal__table th,
    .lp-legal__table td {
        display: block;
        width: 100%;
    }
    .lp-legal__table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    .lp-legal__table td {
        padding-top: 4px;
    }
    .lp-business-table th,
    .lp-business-table td {
        display: block;
        width: 100%;
    }
    .lp-business-table th {
        border-bottom: none;
        padding-bottom: 4px;
    }
    .lp-business-table td {
        padding-top: 4px;
    }
}

/* ============================================================
   Accessibility & Print (continued)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

@media print {
    .lp-header,
    .lp-cookie,
    .cskf-modal,
    .lp-hero__scroll-hint {
        display: none !important;
    }

    .lp-hero {
        min-height: auto;
        padding: 20px;
    }

    body {
        color: #000;
        background: #fff;
    }
}
