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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

.nav-links a {
    color: #5a6c7d;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 3rem;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.8s ease-out 0.6s backwards;
}

.cta-button:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6b7280;
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* Company Section */
.company {
    padding: 6rem 2rem;
    background-color: #f8fafc;
}

.company-info {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.company-row {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.company-row:last-child {
    border-bottom: none;
}

.company-label {
    font-weight: 600;
    color: #374151;
    min-width: 120px;
    flex-shrink: 0;
}

.company-value {
    color: #5a6c7d;
    flex: 1;
}

.company-value a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-value a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.contact-content {
    text-align: center;
    margin-top: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 500px;
    margin: 2rem auto 0;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.2rem 2rem;
    background-color: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
    background-color: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.contact-button.email {
    background-color: #2563eb;
}

.contact-button.email:hover {
    background-color: #1d4ed8;
}

.x-icon, .email-icon {
    width: 20px;
    height: 20px;
}

/* Privacy Section */
.privacy {
    padding: 6rem 2rem;
    background-color: #f8fafc;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.privacy-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-content h3:first-of-type {
    margin-top: 0;
}

.privacy-content p {
    color: #5a6c7d;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.privacy-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.privacy-content li {
    color: #5a6c7d;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.privacy-content strong {
    color: #1a1a1a;
    font-weight: 600;
}

.privacy-content a {
    color: #2563eb;
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-dates {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.95rem;
    color: #6b7280;
}

/* Footer */
footer {
    padding: 3rem 2rem;
    background-color: #1a1a1a;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.copyright {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Utility */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

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

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hero {
        min-height: 90vh;
        padding-top: 5rem;
    }

    .about, .company, .contact, .privacy {
        padding: 4rem 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info {
        padding: 2rem 1.5rem;
    }

    .company-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-content {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
