/* Reset & Base */
:root {
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --accent: #06b6d4;
    --surface: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --gradient-bg: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --font-main: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: var(--gradient-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(to right, #c084fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

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

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

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

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.hero-btns.center {
    justify-content: center;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 12px;
    color: white;
    transition: all 0.3s;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.store-btn i {
    font-size: 2rem;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.store-btn-text span {
    font-size: 0.7rem;
}

.store-btn-text strong {
    font-size: 1rem;
}

.hero-image {
    flex: 1;
    z-index: 2;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

/* Glow Effect */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    background: rgba(6, 182, 212, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    line-height: 80px;
    margin: 0 auto 24px;
}

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

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Q&A */
.qa {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.2);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
    padding: 0 20px;
}

.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.accordion-content a {
    color: var(--accent);
    text-decoration: underline;
}

/* Support */
.support {
    padding: 100px 0;
}

.support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.support-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.support-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.support-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: rgba(139, 92, 246, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    line-height: 80px;
    margin: 0 auto 24px;
}

.support-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.support-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 8px;
    transition: background 0.3s;
}

.support-link:hover {
    background: rgba(6, 182, 212, 0.2);
}

.support-info {
    display: inline-block;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #c084fc, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
    background: rgba(15, 23, 42, 0.9);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-color);
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.copyright {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 20px;
}

/* Privacy Page Specifics */
.privacy-page .privacy-content {
    padding-top: 120px;
    padding-bottom: 80px;
}

.privacy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.last-updated {
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 0.9rem;
}

.privacy-content section {
    margin-bottom: 40px;
}

.privacy-content h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
    border-left: 4px solid var(--primary);
    padding-left: 16px;
}

.privacy-content p,
.privacy-content li {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.privacy-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav {
        display: none;
        /* simple hide for now */
    }

    .hamburger {
        display: flex;
        /* implement JS toggle later if needed */
    }

    .hero-inner {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }
}

/* Sub Page Common */
.sub-page .page-content {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: calc(100vh - 300px);
    /* Footer分の高さ調整 */
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Company Page */
.company-info {
    max-width: 800px;
    margin: 0 auto 80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.company-list {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
}

.company-list dt {
    font-weight: 700;
    color: var(--primary);
    border-right: 2px solid var(--border);
    padding-right: 20px;
    display: flex;
    align-items: flex-start;
}

.company-list dd {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.company-list dd:last-child {
    margin-bottom: 0;
}

.map-section {
    max-width: 800px;
    margin: 0 auto;
}

.map-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .company-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .company-list dt {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    .company-list dd {
        margin-bottom: 20px;
        padding-left: 10px;
    }
}