@charset "UTF-8";

/* Base Settings */
:root {
    --brand-blue: #1E3A8A;
    --brand-blue-light: #3B82F6;
    --brand-gray: #F3F4F6;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: #1F2937;
    line-height: 1.6;
}

/* Utility Classes */
.brand-text { color: var(--brand-blue); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-blue-light { background-color: var(--brand-blue-light); }
.bg-brand-gray { background-color: var(--brand-gray); }

/* Mobile Menu Transition */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    z-index: 100;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Navigation Active State */
.nav-link.active {
    color: var(--brand-blue);
    font-weight: 700;
    position: relative;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

/* Voice Icon Component */
.voice-icon-simple {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-color: #ffffff;
    border: 3px solid #374151;
    color: #374151;
}

/* Accessibility: Focus Styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid var(--brand-blue-light);
    outline-offset: 2px;
}

/* =========================================
   UI/UX Improvement: Animation Classes
   ========================================= */

/* Fade Up Animation */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.js-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays (for lists/cards) */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* =========================================
   UI/UX Improvement: CTA Styles
   ========================================= */

/* Floating CTA Safe Area for Mobile */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 20px);
}