:root {
    --bg-color: #ffffff;
    --surface-color: #f8fafc;
    --surface-hover: #f1f5f9;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --accent-primary: #00C300;
    --accent-secondary: #009e00;
    --accent-gradient: linear-gradient(135deg, #00C300 0%, #009e00 100%);
    --accent-glow: 0 0 40px rgba(0, 195, 0, 0.2);
    --border-color: #e2e8f0;
    --font-main: 'Outfit', 'Noto Sans JP', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

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

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-sub {
    font-weight: 400;
    color: var(--text-secondary);
}

.line-brand {
    font-weight: 700;
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    line-height: 1;
}

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

.btn-lg {
    padding: 20px 40px;
    font-size: 1.2rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 195, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background: radial-gradient(circle at 50% 50%, rgba(0, 195, 0, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-catch {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
    line-height: 1.2;
}

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

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

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-visual:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.no-break {
    white-space: nowrap;
    display: inline-block;
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Challenges Section */
.challenges {
    background: var(--surface-color);
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.challenge-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.challenge-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Solutions Section Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.solution-card {
    background: white;
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

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

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Comparison Section */
.comparison {
    background: var(--surface-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background: var(--surface-color);
    font-weight: 700;
}

.comparison-table th.highlight,
.comparison-table td.highlight {
    background: rgba(0, 195, 0, 0.05);
    color: var(--accent-primary);
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Use Cases Section */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.use-case-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.use-case-header {
    margin-bottom: 20px;
}

.use-case-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--surface-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.use-case-card h3 {
    font-size: 1.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-lead {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Synergy Section */
.synergy-section {
    margin-top: 60px;
    text-align: left;
}

.synergy-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-primary);
}

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

.synergy-card {
    background: var(--surface-color);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.synergy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: var(--accent-primary);
}

.synergy-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Flow Section */
.flow {
    background: var(--surface-color);
}

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

.flow-step {
    background: white;
    padding: 30px;
    border-radius: 16px;
    position: relative;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    text-align: center;
    background: #1e293b;
    color: white;
}

.footer-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.footer-desc {
    color: #94a3b8;
    margin-bottom: 40px;
}

.footer-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.company-info {
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid #334155;
    padding-top: 40px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

    .flow-steps {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .sp-only {
        display: block;
    }
}