:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-cyan: #00d2ff;
    --accent-purple: #8a2be2;
    --accent-gold: #ffcc00;
    --accent-glow: rgba(0, 210, 255, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Noto Sans JP', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container-width: 1300px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.glow-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

.menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1 1 50%;
    min-width: 0;
}

.hero-visual {
    flex: 1 1 50%;
    min-width: 0;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), 0 0 30px var(--accent-glow);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Section Common */
.section {
    padding: 8rem 0;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 3rem;
}

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

.comparison-img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Split View */
.split-view {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.split-view.reverse {
    flex-direction: row-reverse;
}
.split-view > * {
    flex: 1;
    min-width: 0;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    transition: var(--transition);
}

/* Operator Section */
.operator-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0.5) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.operator-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

.operator-content p {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: 0.03em;
}

.operator-content p:last-of-type {
    margin-bottom: 0;
}

.operator-signature {
    margin-top: 3.5rem;
    text-align: center;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-style: italic;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* Sample Preview */
.report-preview-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.preview-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 1.5rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition);
}

.preview-card:hover { border-color: var(--accent-cyan); transform: translateY(-10px); }

/* Pricing Table */
.pricing-table-container {
    max-width: 800px;
    margin: 4rem auto 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
}

.opening-campaign-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent-gold), #ffaa00);
    color: #000;
    padding: 0.5rem 2rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    white-space: nowrap;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.pricing-table th, .pricing-table td {
    padding: 1.2rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-table th:first-child, .pricing-table td:first-child {
    text-align: left;
}

.pricing-table td:first-child {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-table .strike {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.pricing-table .highlight {
    color: var(--accent-cyan);
    font-size: 1.4rem;
    font-weight: 700;
}

.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
    border-bottom: none;
}

/* Pricing Table Labels */
.menu-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-gold);
    margin-top: 0.4rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Comparison Guide */
.comparison-guide {
    max-width: 700px;
    margin: 3rem auto 4rem;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.8rem;
}

.comparison-table th {
    padding: 0 1rem 1rem;
    color: var(--text-secondary);
    font-weight: normal;
    font-size: 0.9rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
    transition: var(--transition);
}

.comparison-table td:first-child {
    border-left: 1px solid var(--glass-border);
    border-top-left-radius: 0.8rem;
    border-bottom-left-radius: 0.8rem;
    color: var(--text-primary);
}

.comparison-table td:last-child {
    border-right: 1px solid var(--glass-border);
    border-top-right-radius: 0.8rem;
    border-bottom-right-radius: 0.8rem;
    text-align: right;
    font-weight: bold;
}

.comparison-table tbody tr:hover td {
    background: rgba(255,255,255,0.06);
    border-color: rgba(0, 210, 255, 0.3);
}

.text-cyan {
    color: var(--accent-cyan) !important;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 2rem;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.text-cyan:hover {
    background: rgba(0, 210, 255, 0.1);
    color: #fff !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
    transform: translateY(-2px);
}

/* Menu Details Section */
.menu-details-list {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.menu-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.menu-card-image-wrapper {
    width: 100%;
    border-bottom: 1px solid var(--glass-border);
    background: #000;
}

.menu-card-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.menu-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.menu-detail-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-5px);
}

@media (min-width: 992px) {
    .menu-detail-card {
        flex-direction: row;
        align-items: stretch;
    }
    .menu-card-image-wrapper {
        flex: 0 0 400px;
        border-right: 1px solid var(--glass-border);
        border-bottom: none;
        display: flex;
        align-items: center;
    }
}

.menu-detail-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--glass-border);
    padding: 2rem 3rem;
    text-align: center;
}

.menu-detail-header h3 {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.menu-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.menu-detail-body {
    padding: 3rem;
}

.menu-detail-body p {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
}

.menu-quote {
    background: rgba(0, 210, 255, 0.05);
    border-left: 3px solid var(--accent-cyan);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 0.5rem 0.5rem 0;
    line-height: 1.8;
}

.menu-lists-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.menu-list-box {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.05);
}

.menu-list-box h4 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255,204,0,0.2);
    padding-bottom: 0.5rem;
}

.menu-list-box ul {
    list-style: none;
}

.menu-list-box li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.menu-list-box li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

.menu-detail-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.menu-price-display {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.menu-price-display .strike {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.menu-price-display .highlight {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    font-weight: 700;
}

.btn-primary, .btn-outline {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-primary { background: var(--accent-cyan); color: #000; }
.btn-outline { border: 1px solid var(--accent-cyan); color: var(--accent-cyan); }
.btn-outline:hover { background: var(--accent-cyan); color: #000; }

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #06C755;
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
}
.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    color: #ffffff;
}

/* FAQ Section */
/* Flow Section */
.flow-container {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.flow-step {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.5) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    z-index: 1;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 3rem; /* 2rem padding + 22.5px half-width */
    width: 2px;
    height: 1.5rem;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    z-index: 0;
    opacity: 0.5;
}

.flow-step:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255, 204, 0, 0.4);
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.flow-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #111, #222);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 2rem;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.15);
}

.flow-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.flow-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(0, 210, 255, 0.3);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
    font-family: monospace;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 768px) {
    /* Menu Toggle Button */
    .menu-toggle { display: flex; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; cursor: pointer; z-index: 1001; }
    .menu-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-primary); transition: var(--transition); border-radius: 2px; }
    .menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Nav Links Mobile */
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(10px); flex-direction: column; justify-content: center; gap: 3rem; opacity: 0; pointer-events: none; transition: var(--transition); z-index: 1000; margin: 0; padding: 0; }
    .nav-links.active { opacity: 1; pointer-events: all; }
    .nav-links a { font-size: 1.5rem; }

    /* Typography & Hero */
    .hero h1 { font-size: clamp(2.2rem, 8vw, 3rem); margin-bottom: 1.5rem; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }

    /* Split View */
    .split-view, .split-view.reverse { flex-direction: column; gap: 2.5rem; }

    /* Pricing Table Scroll Fix */
    .pricing-table-container { overflow-x: visible; padding: 2rem 0.5rem; border-radius: 1rem; text-align: center; }
    .pricing-table { min-width: auto; width: 100%; margin: 0 auto; }

    .pricing-table th, .pricing-table td { padding: 0.8rem 0.2rem; text-align: center; font-size: 0.85rem; }
    .pricing-table td:first-child { font-size: 0.9rem; text-align: left; }
    .pricing-table .highlight { font-size: 1.1rem; }
    .opening-campaign-badge { position: relative; top: 0; transform: none; left: 0; display: inline-block; margin-bottom: 1rem; font-size: 0.8rem; padding: 0.4rem 1rem; white-space: normal; }
    .hero-container { flex-direction: column; text-align: center; gap: 3rem; }
    .features-grid, .report-preview-container { grid-template-columns: 1fr; }
    
    .operator-card { padding: 3rem 1.5rem; }
    .operator-content p { font-size: 1rem; line-height: 2; }
    
    .menu-detail-header { padding: 1.5rem; }
    .menu-detail-body { padding: 1.5rem; }
    .menu-lists-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .menu-detail-action { flex-direction: column; gap: 1.5rem; text-align: center; }
    .menu-price-display { align-items: center; }
}

.label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.scroll-indicator-wrap {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.scroll-dot { width: 2px; height: 30px; background: linear-gradient(to bottom, var(--accent-cyan), transparent); margin: 10px auto; }
