/* ==========================================================================
   ASAKAWA Lab Official Web Design System
   Simple Blue Light Theme (Clean Corporate & Modern Tech)
   ========================================================================== */

:root {
    --bg-main: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f0f7ff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    --border-light: #e2e8f0;
    --border-hover: #93c5fd;

    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --sky-accent: #0284c7;
    --sky-light: #e0f2fe;
    --glow-blue: rgba(37, 99, 235, 0.15);

    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;

    --font-sans: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 20px rgba(37, 99, 235, 0.07);
    --shadow-hover: 0 12px 32px rgba(37, 99, 235, 0.12);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* Glassmorphism Panel Utility (Light Mode) */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.975rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #1e40af);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, var(--primary-blue-hover), #1e3a8a);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary-blue);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-accent);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Spinner for submit button */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

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

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

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary-blue), var(--sky-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

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

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

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

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 12px;
    transition: all var(--transition-fast);
}

.lang-btn.active {
    color: #ffffff;
    background: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.lang-btn:hover:not(.active) {
    color: var(--text-primary);
}

.lang-divider {
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 75vh;
    background: radial-gradient(circle at 50% 30%, #eff6ff 0%, #ffffff 70%);
}

.hero-bg-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.35) 0%, rgba(224, 242, 254, 0.1) 60%, transparent 80%);
    filter: blur(70px);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 30px;
    background: var(--sky-light);
    border: 1px solid #bae6fd;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sky-accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-description {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 52px;
}

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

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 12px auto 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    background-color: var(--bg-main);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    max-width: 840px;
    margin: 0 auto;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.about-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--sky-light);
    border: 1px solid #bae6fd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 24px;
}

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

.about-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 840px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 36px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.service-item:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-hover);
}

.service-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.service-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.75;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--sky-light);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ==========================================================================
   Company Section
   ========================================================================== */
.company-section {
    background-color: var(--bg-main);
}

.company-card {
    padding: 40px;
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.company-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.company-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
}

.company-value {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.company-value.highlight {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.contact-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 44px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.required {
    color: #e11d48;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-select option {
    background-color: #ffffff;
    color: var(--text-primary);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Alert Box */
.form-status {
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 0.925rem;
    line-height: 1.5;
}

.form-status.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.form-status.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

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

.footer-company-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 4px;
}

.footer-address {
    font-size: 0.875rem;
    color: #94a3b8;
    max-width: 380px;
}

.footer-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-nav a:hover {
    color: #38bdf8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .service-item {
        flex-direction: column;
        gap: 16px;
        padding: 28px;
    }

    .company-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .contact-card {
        padding: 28px 20px;
    }

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