/* ==========================================================================
   違和感アーカイブマップ (ArchiveMap) LP専用スタイル
   ========================================================================== */

:root {
    --color-bg: #0C0D10;
    --color-card-bg: #171923;
    --color-text-active: #FAD93D;
    --color-text-inactive: #A0AEC0;
    --color-blue: #4299E1;
    --color-purple: #9F7AEA;
    --color-border: rgba(255, 255, 255, 0.08);
    --font-primary: 'Outfit', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-primary);
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: #FFFFFF;
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--color-text-active);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(250, 217, 61, 0.15);
    z-index: -1;
    border-radius: 4px;
}

/* --- ヘッダー --- */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(12, 13, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
}

.header-container {
    width: 90%;
    max-width: 1100px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--color-text-active);
    filter: drop-shadow(0 0 8px rgba(250, 217, 61, 0.4));
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #FFFFFF 60%, var(--color-text-active));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text-inactive);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #FFFFFF;
}

.btn-launch-web {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 30px;
    color: #FFFFFF !important;
    transition: all 0.3s ease !important;
}

.btn-launch-web:hover {
    background: #FFFFFF;
    color: var(--color-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}

/* --- ヒーローセクション --- */
.hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(250, 217, 61, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(66, 153, 225, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text-content {
    flex: 1.2;
}

.hero-badge {
    display: inline-block;
    background: rgba(250, 217, 61, 0.1);
    border: 1.5px solid rgba(250, 217, 61, 0.25);
    color: var(--color-text-active);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-inactive);
    margin-bottom: 40px;
    max-width: 540px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-store {
    background: #171923;
    border: 1px solid var(--color-border);
    padding: 10px 20px;
    border-radius: 12px;
    color: #FFFFFF;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-store span {
    font-size: 1rem;
    font-weight: 700;
    display: block;
    letter-spacing: -0.02em;
}

.btn-store:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.store-icon {
    font-size: 1.8rem;
}

.hero-visual-content {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

/* スマホモックアップ */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #000000;
    border-radius: 40px;
    border: 12px solid #2D3748;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 10px rgba(255, 255, 255, 0.1);
    padding: 10px;
    position: relative;
    overflow: hidden;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #2D3748;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 100;
}

.screen-content {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.mock-header {
    height: 45px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px 0 15px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #FFFFFF;
}

.mock-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.mock-btn-wrapper {
    position: relative;
    z-index: 2;
}

.mock-giant-btn {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #FAD93D 0%, #B89614 100%);
    border: 4px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(250, 217, 61, 0.4);
}

.mock-btn-text {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0C0D10;
}

.mock-btn-sub {
    font-size: 0.5rem;
    color: #0C0D10;
    opacity: 0.8;
    margin-top: 4px;
}

.mock-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 2px solid var(--color-text-active);
    animation: mock-pulse-anim 2s infinite ease-out;
    z-index: 1;
}

@keyframes mock-pulse-anim {
    0% { transform: translate(-50%, -50%) scale(0.95); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}

.mock-map-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.25;
    background-image: radial-gradient(#2D3748 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 0;
}

.mock-marker {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.mock-marker.yellow {
    background-color: var(--color-text-active);
    color: #000;
    top: 30px;
    right: 40px;
}

.mock-marker.red {
    background-color: #FC8181;
    color: #000;
    bottom: 40px;
    left: 30px;
}

.mock-user-location {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-blue);
    font-size: 1.5rem;
}

/* --- コンセプトセクション --- */
.concept-section {
    background-color: #0F1116;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 40px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--color-text-inactive);
    max-width: 680px;
    margin: 0 auto;
}

/* --- 特徴グリッド --- */
.features-section {
    background-color: var(--color-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.card-icon-wrapper.yellow {
    background: rgba(250, 217, 61, 0.1);
    color: var(--color-text-active);
}

.card-icon-wrapper.blue {
    background: rgba(66, 153, 225, 0.1);
    color: var(--color-blue);
}

.card-icon-wrapper.purple {
    background: rgba(159, 122, 234, 0.1);
    color: var(--color-purple);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-text-inactive);
    line-height: 1.6;
}

/* --- セキュリティ＆プライバシーセクション --- */
.privacy-section {
    background-color: #0F1116;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.privacy-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.privacy-text-content {
    flex: 1.2;
}

.privacy-item {
    margin-top: 32px;
}

.privacy-item h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.text-yellow { color: var(--color-text-active); }
.text-blue { color: var(--color-blue); }

.privacy-item p {
    font-size: 0.9rem;
    color: var(--color-text-inactive);
    padding-left: 28px;
}

.privacy-visual-content {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

/* メッシュグリッド図 */
.mesh-diagram {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.mesh-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.grid-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    position: relative;
}

.grid-cell.active {
    background: rgba(66, 153, 225, 0.1);
    border: 2px dashed var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-point {
    width: 10px;
    height: 10px;
    background-color: var(--color-text-active);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-text-active);
}

.mesh-text {
    position: absolute;
    bottom: -25px;
    width: 160px;
    text-align: center;
    font-size: 0.65rem;
    color: var(--color-blue);
    font-weight: 700;
}

.diagram-labels {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.75rem;
    margin-top: 15px;
}

.diagram-labels span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.actual-gps { color: var(--color-text-active); }
.mapped-gps { color: var(--color-blue); }

/* --- 料金プランセクション --- */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.price-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    width: 100%;
    max-width: 360px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.premium {
    border: 2px solid var(--color-text-active);
    box-shadow: 0 15px 40px rgba(250, 217, 61, 0.1);
}

.price-card:hover {
    transform: translateY(-5px);
}

.price-header {
    margin-bottom: 30px;
}

.card-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text-active);
    color: #000000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 30px;
    letter-spacing: 0.05em;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.price {
    font-size: 2.2rem;
    font-weight: 900;
}

.price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-inactive);
}

.price-features {
    list-style: none;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 0.85rem;
}

.price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.price-features li i {
    margin-top: 4px;
}

.btn-price-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: auto;
    transition: all 0.3s ease;
}

.btn-price-action:hover {
    background: #FFFFFF;
    color: var(--color-bg);
}

.premium-btn {
    background: var(--color-text-active) !important;
    border: none !important;
    color: #0C0D10 !important;
    box-shadow: 0 4px 15px rgba(250, 217, 61, 0.3);
}

.premium-btn:hover {
    background: #FFFFFF !important;
    color: var(--color-bg) !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* --- フッター --- */
.lp-footer {
    background-color: #08090C;
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 0.75rem;
    color: var(--color-text-inactive);
    margin-top: 10px;
}

.footer-right {
    display: flex;
    gap: 24px;
}

.footer-right a {
    color: var(--color-text-inactive);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.footer-right a:hover {
    color: #FFFFFF;
}

/* --- モーダル共通スタイル（特商法） --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: #171923;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 80%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: var(--color-text-inactive);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-close-modal:hover {
    color: #FFFFFF;
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    user-select: text;
    -webkit-user-select: text;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.5;
}

.legal-table th, .legal-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    width: 30%;
    color: var(--color-text-inactive);
    font-weight: 600;
}

.legal-table td {
    color: #E2E8F0;
}

.legal-note {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #A0AEC0;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        margin: 0 auto 30px auto;
    }
    
    .download-buttons {
        justify-content: center;
    }
    
    .privacy-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .nav-links {
        display: none; /* シンプルにするためモバイルでは一旦ナビリンクを隠す */
    }
}
