@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&family=Outfit:wght@400;600;800&display=swap');

:root {
    /* Logo Colors Inspiration */
    --color-cyan: #22d3ee;
    --color-purple: #a855f7;
    --color-green: #4ade80;
    --color-yellow: #facc15;
    --color-red: #f87171;
    --color-pink: #f472b6;

    /* Base Colors */
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --accent-gradient: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-pink));
    
    /* Spacing & Layout */
    --max-width: 1200px;
    --header-height: 80px;
    --radius-lg: 24px;
    --radius-md: 16px;
}

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

body {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--text-main);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: url('images/AML_logo.png') no-repeat center/contain;
}

/* Only use text if logo image fails, but here we style the text part */
.logo-text {
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.24em;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

/* Decorative geometric shapes */
.shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
}
.shape-1 { background: var(--color-cyan); width: 400px; height: 400px; top: -100px; right: -100px; border-radius: 50%; animation: float 10s infinite alternate; }
.shape-2 { background: var(--color-pink); width: 300px; height: 300px; bottom: 0; left: -50px; border-radius: 50%; animation: float 8s infinite alternate-reverse; }

@keyframes float {
    from { transform: translate(0, 0); }
    to { transform: translate(30px, 50px); }
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.mission-section .section-title h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.mission-statement {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.mission-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    opacity: 0.95;
    margin: 0;
}


/* Vision Section */
.vision-section {
    padding: 100px 0;
    background: white;
    text-align: center;
}

.vision-section .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 48px;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-line {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* 楽しく活躍する - 明るく軽やかなグラデーション */
.vision-line-1 {
    background-image: linear-gradient(135deg, var(--color-cyan), var(--color-purple), var(--color-pink));
    animation-delay: 0s;
}

/* 豊かさが広がる - 温かく広がるグラデーション */
.vision-line-2 {
    background-image: linear-gradient(135deg, var(--color-pink), var(--color-yellow), var(--color-green));
    animation-delay: 0.5s;
}

.vision-line:first-child {
    margin-bottom: 16px;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}


/* Value Section */
.value-section {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.value-section .section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.value-item {
    background: white;
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.value-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 72px;
    height: 72px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.value-item:hover .value-icon {
    opacity: 1;
    transform: scale(1.05);
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.value-subtitle {
    font-size: 0.875rem;
    color: var(--color-purple);
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.value-item p:not(.value-subtitle) {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* Features Grid based on the colorful cubes */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

/* Dark Section with White Text */
.dark-section {
    background: #0f172a; /* slate-900 */
    padding: 100px 0;
    color: white;
}

.dark-section .section-title h2 {
    color: white;
}

/* Original Grid (Auto Fit) */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* New 2-column Grid */
.grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

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

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--card-color, var(--text-main));
}

.card h3 {
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0;
    background: white;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero { text-align: center; justify-content: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    
    .value-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-2-cols {
        grid-template-columns: 1fr;
    }
}
