:root {
    /* ALH Style Light Theme Palette */
    --bg-color: #ffffff;
    --bg-secondary: #ffffff;
    /* Changed to white */
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent-primary: #0044cc;
    /* ALH Blue-ish */
    --accent-secondary: #00c3ff;
    /* Cyan accent */
    --border-color: #e0e0e0;

    --font-heading: 'Noto Sans JP', sans-serif;
    /* ALH uses heavy JP fonts */
    --font-body: 'Noto Sans JP', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;

    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-medium: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.4;
}

.text-gradient {
    /* Kept subtle for emphasis, or remove if strictly ALH flat style */
    color: var(--accent-primary);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

/* Stylish Background Pattern */
.bg-stylish {
    background-color: white;
}



/* ALH Style Section Title */
.section-header {
    margin-bottom: 4rem;
    text-align: left;
    /* ALH often left-aligns or centers depending on page */
    position: relative;
    padding-left: 1.5rem;
    border-left: 5px solid var(--accent-primary);
}

.section-title-en {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.section-title-ja {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    /* Ensure no underline */
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
    /* Prevent wrapping */
}

.nav-list {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-primary);
    transition: var(--transition-fast);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
}

/* Buttons (ALH Style: Square/Rectangular with arrows) */
/* Button Updates for Premium Feel */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: white !important;
    padding: 1rem 3rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    border-radius: 2px;
    /* Slight rounding for modernity */
    box-shadow: 0 4px 15px rgba(0, 68, 204, 0.3);
    /* Glow effect */
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #003399;
    /* Darker blue swipe */
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    padding-right: 3rem;
    /* Reset padding change from previous */
    box-shadow: 0 8px 25px rgba(0, 68, 204, 0.5);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary::after {
    content: '→';
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-primary:hover::after {
    transform: translateX(5px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    /* Glassy feel */
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    padding: 1rem 3rem;
    font-weight: 700;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-outline:hover {
    background-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 68, 204, 0.2);
}

/* Hero Section - Reverted to Light/Clean Theme */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    position: relative;
    /* Removed dark gradient and overlay */
}

/* Re-enable the geometric accent */
/* Re-enable the geometric accent (Subtle & Professional) */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Removed flashy grid overlay */
.hero-grid-overlay {
    display: none;
}

.shape {
    position: absolute;
    filter: blur(80px);
    /* Very soft blur */
    opacity: 0.5;
    /* Reduced opacity */
    mix-blend-mode: normal;
    /* Back to normal blending */
    animation: float 25s infinite ease-in-out;
    /* Slower, calmer movement */
}

.shape-1 {
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #e6f0ff 0%, #ccccff 100%);
    /* Pale Blue/Lavender */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.shape-2 {
    bottom: -20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, #e0f7fa 0%, #e0efff 100%);
    /* Very Pale Cyan */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -8s;
    /* Offset */
    opacity: 0.6;
}

.shape-3 {
    top: 30%;
    right: 30%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #f0f4ff 0%, #ffffff 100%);
    /* Almost white/blue */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -15s;
    opacity: 0.4;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, -30px) rotate(5deg);
    }
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    position: relative;
    /* Ensure it floats above shapes */
}

.hero-logo-container {
    margin-bottom: 2rem;
}

.hero-logo {
    height: 110px;
    filter: none;
    /* Revert inversion */
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    color: var(--text-primary);
    text-shadow: none;
}

/* Standard Elegant Text Gradient */
.hero-title .text-gradient {
    /* Fixed elegant gradient */
    background: linear-gradient(135deg, #0044cc 0%, #00c3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: none;
    /* Removed flashy text animation */
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 500;
    border-left: none;
    /* Remove the border added in dark theme */
    padding-left: 0;
}

/* Reset hero buttons to default style */
.hero-actions .btn-primary {
    background: var(--accent-primary);
    color: white !important;
    box-shadow: 0 4px 15px rgba(0, 68, 204, 0.3);
}

.hero-actions .btn-primary::before {
    background: #003399;
}

.hero-actions .btn-primary:hover {
    color: white !important;
    box-shadow: 0 8px 25px rgba(0, 68, 204, 0.5);
}

/* Common Card Styles for Hover Effect (Top Line) and Visibility */
.service-card,
.track-record-category,
.rep-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    /* Improve visibility on white background - NO BORDER */
    border: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    /* More discernible shadow */
    background: #ffffff;
    /* Ensure white bg */
}

/* Base Line Style */
.service-card::after,
.track-record-category::after,
.rep-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    transform-origin: left;
    transition: transform 0.4s ease;
}

/* Service Card: Hover Animation (Hidden -> Show) */
.service-card::after {
    transform: scaleX(0);
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* Track Record & Rep Card: Always Visible */
.track-record-category::after,
.rep-card::after {
    transform: scaleX(1);
}

/* Lift Effect for all cards */
.service-card:hover,
.track-record-category:hover,
.rep-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 68, 204, 0.15);
}

/* Services Specific */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3.5rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* border property handled in common block */
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* About */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text .lead {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-primary);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 1.5rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.company-table th {
    width: 30%;
    font-weight: 700;
    color: var(--text-primary);
    vertical-align: top;
    background-color: var(--bg-secondary);
}

.company-table td {
    color: var(--text-primary);
}

/* Track Record - Authority Badges */
.track-record-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Track Record Specific */
.track-record-category {
    background: white;
    padding: 2.5rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* border property handled in common block */
}

/* Representatives Specific */
.rep-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    /* border property handled in common block */
}



.track-record-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f5f5f5;
}

.track-record-category h3 i {
    background: #e6f0ff;
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.track-record-category ul {
    list-style: none;
    padding: 0;
}

.track-record-category li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.track-record-category li::before {
    content: "✓";
    /* Checkmark for success/track record */
    color: var(--accent-secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Contact Form */

.footer {
    background-color: var(--text-primary);
    /* Dark footer */
    color: white;
    padding: 4rem 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-links a {
    color: #999;
    margin: 0 1rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    background: white;
    padding: 4rem;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group label {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #eee;
    background: #fcfcfc;
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(0, 68, 204, 0.1);
}

.contact-form button[type="submit"] {
    background: var(--accent-primary) !important;
    color: white !important;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 68, 204, 0.3);
}

.contact-form button[type="submit"]:hover {
    background: #003399 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 68, 204, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Font size adjustment for long titles like CONTRIBUTION */
    .section-title-en {
        font-size: 2rem;
        word-break: break-all;
        /* Prevent overflow if still too long */
    }

    .hero-logo {
        height: 80px;
    }

    .hero-bg-accent {
        display: none;
    }

    /* Mobile Shapes */
    .shape-1 {
        width: 300px;
        height: 300px;
        right: -20%;
        top: -10%;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
        left: -20%;
        bottom: -10%;
    }

    .shape-3 {
        display: none;
        /* Simplify for mobile */
    }

    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--accent-primary);
        cursor: pointer;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-medium);
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-list a {
        font-size: 1.2rem;
    }

    /* About Content Mobile */
    .about-content {
        grid-template-columns: 1fr;
    }

    /* Make company table responsive */
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        background-color: transparent;
        color: var(--accent-primary);
        padding-bottom: 0.5rem;
        padding-left: 0;
    }

    .company-table td {
        padding: 1rem 0;
        padding-left: 0;
        margin-bottom: 0;
        border-bottom: 1px solid var(--border-color);
        min-height: 3rem;
        display: flex;
        align-items: center;
    }

    .company-table tr:last-child td {
        border-bottom: none;
    }

    .section-header {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .section-header::after {
        content: '';
        display: block;
        width: 50px;
        height: 4px;
        background: var(--accent-primary);
        margin: 1rem auto 0;
    }


    /* Contact form mobile */
    .contact-form {
        padding: 2rem;
    }

    .contact-form button[type="submit"] {
        padding: 1rem;
    }
}



/* Representatives Message */
.representatives-wrapper {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.representatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

/* .rep-card styles are now handled in the common card section above to share hover effects */
/* Just ensuring specific internal spacing/layout remains if needed */

.rep-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-primary);
    padding-bottom: 1rem;
}

.rep-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
}

.rep-name h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
}

.rep-role {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rep-theme {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.rep-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}


/* Minimal Service List Layout */

.service-list {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    /* Constrain width for readability */
    margin: 0 auto;
}

.service-item {
    display: flex;
    gap: 3rem;
    padding: 2rem 0;
}

.service-separator {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 1rem 0;
    opacity: 0.5;
}

/* One-Point Icon (Desktop) - Simple & Clean */
.service-icon-box.mobile-hidden {
    flex-shrink: 0;
    width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8fafc;
    color: var(--accent-primary);
    font-size: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

/* Remove complex backgrounds/shadows */
.service-icon-box.mobile-hidden::after {
    display: none;
}

.service-icon-box.mobile-hidden i {
    /* Reset to simple color */
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--accent-primary);
    filter: none;
    transition: transform 0.3s ease;
}

/* Simple Hover Effect */
.service-item:hover .service-icon-box.mobile-hidden {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.service-item:hover .service-icon-box.mobile-hidden i {
    transform: scale(1.05);
}

.service-icon-box.mobile-only {
    display: none;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    /* Align baseline for sub-text */
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    gap: 0.8rem;
}

.en-sub {
    font-size: 0.9rem;
    color: #999;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.service-catch {
    font-size: 1rem;
    color: var(--accent-secondary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-left: 0.2rem;
}

/* Detailed List - Clean & Compact */
.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-detail-list strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    display: block;
    position: relative;
}

/* Custom Bullet Pulse */
.service-detail-list strong::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5em;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(0, 195, 255, 0.2);
}

.service-item-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-top: 0.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem 0;
    }

    .service-icon-box.mobile-hidden {
        display: none;
    }

    .service-icon-box.mobile-only {
        display: flex;
        width: 3rem;
        height: 3rem;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #f8fafc;
        border: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--accent-primary);
        font-size: 1.5rem;
        margin-right: 0.8rem;
    }

    .service-icon-box.mobile-only i {
        /* Ensure simple styling */
        color: var(--accent-primary);
        background: none;
        -webkit-text-fill-color: initial;
    }

    .service-header {
        display: flex;
        align-items: center;
    }

    .service-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0;
    }
}