/* Modern Fintech Theme - パブリックデータ・インサイト */
:root {
    /* Brand Colors - Trustworthy Blue & Slate */
    --primary: #2563eb;
    /* Vivid Blue for CTAs */
    --primary-dark: #1d4ed8;
    /* Darker Blue for hover */
    --secondary: #0f172a;
    /* Deep Slate for Navbar/Footer/Hero */
    --accent: #38bdf8;
    /* Light Blue for highlights */

    /* Text & Backgrounds */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --text-inverse: #f8fafc;
    /* Slate 50 */
    --bg-body: #f1f5f9;
    /* Slate 100 - Light gray background */
    --bg-white: #ffffff;

    /* Functional */
    --danger: #ef4444;
    --border: #e2e8f0;
    /* Slate 200 */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 24px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: -10px;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Header - Floating Glass */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 42px;
}

.logo-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.logo-text span {
    line-height: 1;
}

.mobile-bottom-cta {
    display: none;
}

.mobile-bottom-cta.is-hidden {
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover {
    color: var(--primary);
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 12px 32px;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* Hero Section - Dark & Premium */
#hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 150px 0 60px;
    text-align: center;
    color: var(--text-inverse);
    position: relative;
    overflow: hidden;
}

/* Subtle grid background pattern */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Slate 300 */
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-image {
    background: rgba(255, 255, 255, 0.05);
    /* Glass holder */
    border-radius: 12px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        /* Inner border */
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
    margin: 60px auto 0;
    max-width: 900px;
    overflow: hidden;
    /* Crop rounded corners */
}

.hero-image img {
    border-radius: 12px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--primary);
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
#how {
    background: #fff;
}

.step {
    background: var(--bg-body);
    padding: 40px 20px;
    border-radius: 16px;
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    /* Soft square */
    line-height: 48px;
    margin: 0 auto 24px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

/* Trust - Clean List */
#trust {
    background: var(--bg-body);
}

.trust-grid {
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-check {
    color: var(--primary);
    background: #eff6ff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Pricing */
#pricing {
    background: #ffffff;
}

.pricing-header {
    text-align: center;
    margin-bottom: 36px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    max-width: 520px;
    margin: 0 auto;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.pricing-card--free::before {
    background: linear-gradient(to right, #e2e8f0, #cbd5f5);
}

.pricing-card--pro {
    border: 2px solid #38bdf8;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.15);
}

.pricing-recommend {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #0ea5e9;
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 999px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 24px 0;
}

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

.pricing-list {
    text-align: left;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.pricing-list li {
    position: relative;
    padding-left: 24px;
    color: var(--text-main);
}

.pricing-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

.pricing-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 14px;
}

.pricing-cta {
    display: block;
    width: 100%;
}

.pricing-cta--ghost {
    background: #e2e8f0;
    color: #1e293b;
    box-shadow: none;
}

.pricing-cta--ghost:hover {
    background: #cbd5f5;
    color: #0f172a;
}

/* FAQ */
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    margin-bottom: 16px;
    padding: 24px;
    border-radius: 12px;
}

.faq-q {
    color: var(--text-main);
    font-size: 1.1rem;
}

.faq-a {
    margin-top: 12px;
    color: var(--text-light);
}

/* Contact Page */
.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #16233c 100%);
    padding: 160px 0 80px;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-hero p {
    color: rgba(226, 232, 240, 0.9);
    max-width: 640px;
}

.contact-section {
    padding: 80px 0 120px;
    background: var(--bg-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 32px;
    align-items: start;
}

.contact-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.contact-card--full {
    grid-column: 1 / -1;
}

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-main);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.contact-list {
    display: grid;
    gap: 12px;
    color: var(--text-light);
}

.contact-list span {
    display: block;
    font-size: 0.85rem;
    color: rgba(100, 116, 139, 0.9);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    font-size: 1rem;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.form-field select {
    appearance: none;
    padding-right: 44px;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%),
        linear-gradient(135deg, #64748b 50%, transparent 50%),
        linear-gradient(to right, transparent, transparent);
    background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%, 0 0;
    background-size: 6px 6px, 6px 6px, 100% 100%;
    background-repeat: no-repeat;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-help {
    font-size: 0.9rem;
    color: var(--text-light);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 999px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.btn-secondary:hover {
    border-color: #38bdf8;
    color: #0f172a;
}

.form-status {
    font-size: 0.9rem;
    color: var(--text-light);
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 18px;
}

/* Disclaimer & Footer */
#disclaimer {
    background: #fff1f2;
    border-top: 1px solid #fecdd3;
    border-bottom: 1px solid #fecdd3;
    padding: 40px 0;
    margin-bottom: 60px;
}

.disclaimer-text {
    color: #881337;
}

/* Footer */
.site-footer {
    background: #0b1224;
    color: #9aa4b2;
    padding: 70px 0 40px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.footer-brand {
    max-width: 520px;
}

.footer-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: rgba(226, 232, 240, 0.7);
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-title {
    color: #f8fafc;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-desc {
    color: rgba(148, 163, 184, 0.9);
}

.footer-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-links a:hover {
    border-color: #38bdf8;
    color: #ffffff;
}

.footer-panels {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.footer-panel {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 20px;
    padding: 24px;
}

.footer-panel h4 {
    color: #f8fafc;
    margin-bottom: 18px;
    font-weight: 600;
    font-size: 1rem;
}

.footer-panel ul {
    display: grid;
    gap: 12px;
}

.footer-panel li {
    display: flex;
    gap: 14px;
    align-items: baseline;
    color: #cbd5f5;
    line-height: 1.6;
}

.footer-panel li span {
    min-width: 88px;
    font-size: 0.82rem;
    color: rgba(148, 163, 184, 0.85);
    letter-spacing: 0.02em;
}

.footer-panel a {
    color: #bae6fd;
}

.footer-panel a:hover {
    color: #ffffff;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.9);
}

.footer-note {
    color: rgba(148, 163, 184, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .pricing-card {
        padding: 30px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .nav-cta {
        display: none;
    }

    .mobile-bottom-cta {
        display: block;
        position: fixed;
        left: 16px;
        right: 16px;
        bottom: 16px;
        z-index: 1100;
        width: auto;
        text-align: center;
        padding: 14px 24px;
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .site-footer {
        padding-bottom: 80px;
    }

    .page-hero {
        padding: 140px 0 70px;
    }

    .page-hero h1 {
        font-size: 2.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 24px;
    }

    .footer-top {
        flex-direction: column;
    }

    .footer-links {
        width: 100%;
    }

    .footer-panels {
        grid-template-columns: 1fr;
    }

    .footer-panel li span {
        min-width: 72px;
    }
}
