/* ===== MODERN CORPORATE DESIGN SYSTEM ===== */

/* CSS Custom Properties (Design Tokens) */
:root {
    /* Colors - Professional Palette */
    --primary-50: #f8fafc;
    --primary-100: #f1f5f9;
    --primary-200: #e2e8f0;
    --primary-300: #cbd5e1;
    --primary-400: #94a3b8;
    --primary-500: #64748b;
    --primary-600: #475569;
    --primary-700: #334155;
    --primary-800: #1e293b;
    --primary-900: #0f172a;
    
    --accent-blue: #3b82f6;
    --accent-blue-dark: #1d4ed8;
    --accent-gray: #6b7280;
    --gold: #d4af37;
    --gold-dark: #b8941f;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    /* Typography */
    --font-primary: 'Noto Serif JP', serif;
    --font-secondary: 'Noto Serif JP', serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Layout */
    --container-max-width: 1200px;
    --section-padding: var(--space-4xl) 0;
    --header-height: 80px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--primary-700);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 80px;
    cursor: default;
}



/* Typography System */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--primary-900);
    margin-bottom: var(--space-md);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--primary-600);
    line-height: 1.7;
}

/* Layout Components */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    position: relative;
    z-index: 2;
}

.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 2;
}

/* Alternating section backgrounds for better visual separation */
#about {
    background: white;
}

#services {
    background: var(--primary-50);
}

#philosophy {
    background: white;
}

#recruitment {
    background: var(--primary-50);
}

#contact {
    background: white;
}

/* Contact subtitle responsive text wrapping */
#contact .section-subtitle {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Add space below recruitment intro text on desktop */
@media (min-width: 481px) {
    #recruitment .section-content > p:last-of-type {
        margin-bottom: var(--space-2xl);
    }
}

.section-minimal {
    padding: var(--space-3xl) 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary-200);
    height: var(--header-height);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-sm);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    height: 100%;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    gap: 5px;
}

.logo-text h1 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-900);
    margin: 0;
    letter-spacing: 0.08em;
    line-height: 1;
    padding: 0;
    font-family: 'Noto Serif JP', serif;
    text-transform: none;
    background: linear-gradient(135deg, var(--primary-900) 0%, #1e293b 50%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo-prefix {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-900);
    margin-right: 2px;
}

.logo-en {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin: 0;
    opacity: 0.9;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    font-style: normal;
}


/* Navigation */
.nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-2xl);
    align-items: center;
}

.nav a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: var(--space-sm) var(--space-md);
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 2px;
}

.nav a:hover {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.nav-en {
    font-size: 0.65rem;
    color: var(--gold);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav a:hover .nav-en {
    opacity: 1;
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}


.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
    margin-left: calc(-50vw + 50%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xl);
    letter-spacing: 3px;
    line-height: 1.4;
    position: relative;
    z-index: 3;
    text-shadow: 
        0 0 3px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 12px rgba(255, 255, 255, 0.4),
        0 0 18px rgba(255, 255, 255, 0.3),
        0 0 25px rgba(255, 255, 255, 0.2),
        2px 2px 6px rgba(0, 0, 0, 0.9);
    animation: whiteNeonFlicker 3s ease-in-out infinite alternate;
}

@keyframes whiteNeonFlicker {
    0% {
        text-shadow: 
            0 0 3px rgba(255, 255, 255, 0.8),
            0 0 8px rgba(255, 255, 255, 0.6),
            0 0 12px rgba(255, 255, 255, 0.4),
            0 0 18px rgba(255, 255, 255, 0.3),
            0 0 25px rgba(255, 255, 255, 0.2),
            2px 2px 6px rgba(0, 0, 0, 0.9);
    }
    100% {
        text-shadow: 
            0 0 5px rgba(255, 255, 255, 0.9),
            0 0 12px rgba(255, 255, 255, 0.7),
            0 0 18px rgba(255, 255, 255, 0.5),
            0 0 25px rgba(255, 255, 255, 0.4),
            0 0 35px rgba(255, 255, 255, 0.3),
            2px 2px 6px rgba(0, 0, 0, 0.9);
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    animation: heroFadeIn 1.5s ease-out 0.3s forwards;
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: var(--space-xl);
    letter-spacing: 3px;
    line-height: 1.4;
    text-shadow: 
        0 0 3px rgba(255, 255, 255, 0.8),
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 12px rgba(255, 255, 255, 0.4),
        0 0 18px rgba(255, 255, 255, 0.3),
        0 0 25px rgba(255, 255, 255, 0.2),
        2px 2px 6px rgba(0, 0, 0, 0.9);
    animation: whiteNeonFlicker 3s ease-in-out infinite alternate, heroFadeIn 1.5s ease-out 0.3s forwards;
    opacity: 0;
    transform: translateY(40px) scale(0.7);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: heroFadeIn 1.5s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
        filter: blur(10px);
    }
    50% {
        filter: blur(5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-actions {
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: heroFadeIn 1.5s ease-out 0.3s forwards;
}

.hero-cta {
    display: inline-block;
    padding: var(--space-lg) var(--space-2xl);
    background: linear-gradient(135deg, var(--gold) 0%, #f4d03f 30%, var(--gold) 60%, #b8941f 100%);
    color: var(--primary-900);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 10px 25px rgba(212, 175, 55, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Phone button style for non-hero sections */
.section .hero-cta {
    background: var(--accent-blue);
    color: white;
    border: 1px solid var(--accent-blue-dark);
    backdrop-filter: none;
    font-size: 1.1rem;
}

.section .hero-cta:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Email button style for non-hero sections */
.section a[href^="mailto"].hero-cta {
    background: var(--success);
    color: white;
    border: 1px solid #059669;
    backdrop-filter: none;
    font-size: 1.1rem;
}

.section a[href^="mailto"].hero-cta:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Contact buttons for all screen sizes */
.contact-buttons {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Map Section */
.map-section {
    text-align: center;
    width: 100%;
}

.map-section h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.map-container {
    max-width: 800px;
    margin: 0 auto var(--space-md) auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Address Card */
.address-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: white;
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-100);
    margin: var(--space-lg) auto 0 auto;
    max-width: 800px;
    width: 100%;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    justify-content: space-between;
}

.address-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--gold);
}

.address-card:hover .address-arrow {
    color: var(--gold);
    transform: translateX(2px);
}

.address-icon {
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.address-details {
    text-align: left;
    flex: 1;
}

.address-arrow {
    color: var(--primary-400);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.postal-code {
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    margin: 0 0 var(--space-xs) 0;
    letter-spacing: 0.05em;
}

.address-main {
    font-size: 1.1rem;
    color: var(--primary-800);
    font-weight: 500;
    margin: 0 0 var(--space-xs) 0;
    line-height: 1.4;
}

.address-label {
    font-size: 0.85rem;
    color: var(--primary-500);
    font-weight: 400;
    margin: 0;
    opacity: 0.8;
}

/* Desktop button styling */
@media (min-width: 481px) {
    .section .hero-cta {
        max-width: 600px;
        width: 100%;
        padding: var(--space-lg) var(--space-4xl);
        margin: 0 auto;
        display: block;
        text-align: center;
    }
}

.hero-cta:hover {
    background: linear-gradient(135deg, #f4d03f 0%, var(--gold) 30%, #f4d03f 60%, var(--gold) 100%);
    color: var(--primary-900);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(212, 175, 55, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

.hero-cta:hover::before {
    animation-duration: 0.6s;
    animation-iteration-count: 1;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    40% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.slider-controls {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Section Titles */
.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: var(--space-xs);
}

.section-en {
    font-size: 0.9rem;
    color: var(--primary-400);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--primary-500);
    max-width: 600px;
    margin: 0 auto;
}

/* Card System */
.card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-200);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.card-content {
    padding: var(--space-2xl);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.section-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.hero-image {
    margin-top: 0;
    margin-bottom: var(--space-4xl);
    text-align: center;
}

.hero-section-image {
    width: 100%;
    max-width: 800px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 4;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}


.section-content h3 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.original-size-image {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 80%;
    height: auto;
    margin-top: var(--space-lg);
    position: relative;
    z-index: 4;
}

/* Ensure all images are above truck animation */
img {
    position: relative;
    z-index: 4;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-2xl);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Content Layouts */
.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse > * {
    direction: ltr;
}

/* Philosophy Section */
.philosophy {
    background: var(--primary-50);
    position: relative;
    z-index: 2;
}

.philosophy .container {
    background: var(--primary-50);
    border-radius: var(--radius-xl);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-2xl);
    z-index: 5;
    position: relative;
}

/* Company Info Table */
.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
    padding: var(--space-lg) var(--space-xl);
    text-align: left;
    border-bottom: 1px solid var(--primary-200);
}

.info-table th {
    background: var(--primary-50);
    font-weight: 600;
    color: var(--primary-800);
    width: 200px;
}

.info-table td {
    color: var(--primary-600);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Service Features */
.service-features {
    list-style: none;
    display: grid;
    gap: var(--space-md);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--primary-50);
    border-radius: var(--radius-md);
}

.service-features li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Job Section */
.job-section {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    width: 100%;
}

.job-info-table .job-title {
    color: var(--gold);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.job-info-table .job-description {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.job-description p {
    text-align: center;
    margin-bottom: var(--space-sm);
}

.job-info-table {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.job-row {
    display: flex;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid #e8e8e8;
    transition: border-color 0.2s ease;
}

.job-row:hover {
    border-bottom-color: var(--gold);
}

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

.job-label {
    font-weight: 700;
    color: var(--primary-600);
    min-width: 35%;
    padding-right: var(--space-xl);
    font-size: 0.95rem;
    position: relative;
}

.job-label::after {
    content: '';
    position: absolute;
    right: calc(var(--space-xl) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--primary-300);
}

.job-value {
    color: var(--primary-900);
    flex: 1;
    font-weight: 400;
}

/* Company Info Table */
.company-info-table {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
}

.company-row {
    display: flex;
    padding: var(--space-lg) 0;
    border-bottom: 1px solid #e8e8e8;
    transition: border-color 0.2s ease;
}

.company-row:hover {
    border-bottom-color: var(--gold);
}

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

.company-label {
    font-weight: 700;
    color: var(--primary-600);
    min-width: 35%;
    padding-right: var(--space-xl);
    font-size: 0.95rem;
    position: relative;
}

.company-label::after {
    content: '';
    position: absolute;
    right: calc(var(--space-xl) / 2);
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: var(--primary-300);
}

.company-value {
    color: var(--primary-900);
    flex: 1;
    font-weight: 400;
}

.company-value a {
    color: var(--accent-blue);
    text-decoration: none;
}

.company-value a:hover {
    text-decoration: underline;
}

/* Hide address line break on desktop */
.company-value br {
    display: none;
}

/* Job Posting Cards (for キャリアカー) */
.job-posting {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin: var(--space-4xl) 0;
    transition: all 0.3s ease;
    width: 100%;
}

.job-posting:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-md);
}

.job-posting h4 {
    color: var(--gold);
    margin: var(--space-xl) 0 var(--space-xl) 0;
    font-size: 1.75rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-50) 0%, #f8f9fa 100%);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold);
    text-align: center;
    position: relative;
}

.job-posting p {
    text-align: left;
}

.job-details {
    margin-top: var(--space-lg);
}

.job-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: var(--space-md);
}

.job-table th,
.job-table td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--primary-200);
    font-size: 0.875rem;
}

.job-table th {
    background: var(--primary-50);
    font-weight: 600;
    color: var(--primary-800);
    width: 35%;
}

.job-table td {
    color: var(--primary-600);
}

.job-table tr:last-child th,
.job-table tr:last-child td {
    border-bottom: none;
}

/* Recruitment Hero Section */
.recruitment-hero {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.recruitment-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}


.recruitment-info p {
    margin-bottom: var(--space-sm);
    color: var(--primary-500);
    line-height: 1.6;
    font-size: 1.125rem;
}

.contact-phone {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-800);
    margin: var(--space-lg) 0;
}

.contact-phone a {
    color: var(--accent-blue);
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.email-button {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    margin-top: var(--space-lg);
    transition: background 0.3s ease;
}

.email-button:hover {
    background: var(--accent-blue-dark);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
}

.contact-info-center {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    padding: var(--space-xl);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-200);
}

.contact-item h4 {
    color: var(--primary-800);
    margin-bottom: var(--space-md);
}

.phone-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.email {
    color: var(--accent-blue);
    text-decoration: none;
}

/* Form Styles */
.contact-form {
    background: white;
    border: 1px solid var(--primary-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-800);
    margin-bottom: var(--space-sm);
}

.required {
    color: var(--danger);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--primary-200);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--primary-50);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
}

.submit-btn {
    background: var(--accent-blue);
    color: white;
    padding: var(--space-lg) var(--space-2xl);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-blue-dark);
    transform: translateY(-1px);
}

/* Footer */
.footer {
    background: var(--primary-900);
    color: var(--primary-300);
    padding: var(--space-4xl) 0 var(--space-xl) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.footer-section p {
    color: var(--primary-300);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: var(--space-sm);
}

.footer-menu a {
    color: var(--primary-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: var(--space-xs);
}

.footer-contact strong {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--primary-700);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--primary-400);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: var(--space-3xl) 0;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    padding: var(--space-sm);
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

@media (max-width: 768px) {
    .header .container {
        height: var(--header-height);
        padding: 0 var(--space-xl);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .header {
        position: fixed;
        height: var(--header-height);
    }
    
    .logo {
        display: flex;
        z-index: 1002;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .logo-en {
        font-size: 0.6rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        z-index: 1002;
    }
    
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        border-bottom: 1px solid var(--primary-200);
        visibility: hidden;
        opacity: 0;
    }
    
    .nav.active {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: var(--space-lg) 0;
    }
    
    .nav a {
        padding: var(--space-lg) var(--space-xl);
        border-radius: 0;
        border-bottom: 1px solid var(--primary-100);
        width: 100%;
        justify-content: flex-start;
        flex-direction: row;
        gap: var(--space-sm);
    }
    
    .nav a:hover {
        background: rgba(212, 175, 55, 0.1);
    }
    
    .nav-en {
        margin-left: auto;
        opacity: 0.6;
    }
    
    .hero {
        min-height: 80vh;
        margin-top: var(--header-height);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .info-table th {
        width: auto;
    }
    
    .hero-section-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-xl);
    }
    
    .section-content-wide {
        max-width: none;
        margin: 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        white-space: nowrap;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        text-align: center;
        line-height: 1.4;
        white-space: nowrap;
    }
    
    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
    
    .contact-buttons {
        margin-top: var(--space-2xl) !important;
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-2xl) !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .section .hero-cta {
        font-size: 1.1rem !important;
        padding: var(--space-lg) var(--space-2xl) !important;
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 95% !important;
        max-width: 600px !important;
        margin: var(--space-xl) auto !important;
        min-height: 60px !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        left: 50% !important;
        position: relative !important;
        transform: translateX(-50%) !important;
    }
    
    .section-title {
        font-size: 1.75rem;
        gap: var(--space-xs);
    }
    
    .section-en {
        font-size: 0.8rem;
    }
    
    .hero-section-image {
        height: 200px;
        max-width: 100%;
    }
    
    .original-size-image {
        max-width: 90%;
        margin-top: var(--space-md);
    }
    
    .section-header {
        margin-bottom: var(--space-md);
    }
    
    .hero-image {
        margin-bottom: var(--space-2xl);
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
    }
    
    .section-content {
        padding: 0 var(--space-md);
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        text-align: center;
    }
    
    .section-content p {
        text-align: left;
    }
    
    .section-content h3 {
        font-size: 1.25rem;
        text-align: center;
        margin-bottom: var(--space-lg);
    }
    
    .card-content {
        padding: var(--space-lg);
    }
    
    .info-table th,
    .info-table td {
        padding: var(--space-md);
        font-size: 0.9rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .job-info-table {
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        padding: var(--space-md);
        background: white;
        border: 1px solid var(--primary-200);
        border-radius: var(--radius-sm);
    }
    
    .company-info-table {
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        padding: var(--space-md);
        border-radius: var(--radius-sm);
    }
    
    .company-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-label {
        min-width: auto;
        margin-bottom: var(--space-xs);
        padding-right: 0;
    }
    
    .company-value br {
        display: block !important;
    }
    
    .hero-actions {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .hero .hero-cta {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: 90% !important;
        max-width: 400px !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
        padding: var(--space-lg) var(--space-xl) !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        font-size: 1rem !important;
        min-height: 60px !important;
    }
    
    .map-section {
        margin-left: calc(-1 * var(--space-xl));
        margin-right: calc(-1 * var(--space-xl));
        padding: 0;
        text-align: center;
        width: calc(100% + 2 * var(--space-xl));
    }
    
    .map-section h3 {
        text-align: center;
        width: 100%;
        padding: 0 var(--space-md);
    }
    
    .map-container {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    
    .address-card {
        margin-left: 0;
        margin-right: 0;
    }
    
    .section-header {
        margin-left: calc(-1 * var(--space-lg));
        margin-right: calc(-1 * var(--space-lg));
        padding: 0 var(--space-md);
    }
    
    
    .job-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .job-posting {
        margin: var(--space-xl) auto !important;
        width: 95% !important;
        max-width: 600px !important;
        display: block !important;
    }
    
    .job-label {
        min-width: auto;
        margin-bottom: var(--space-xs);
        padding-right: 0;
    }
    
    .job-posting {
        padding: var(--space-md);
        margin-left: calc(-1 * var(--space-xl));
        margin-right: calc(-1 * var(--space-xl));
        border-radius: var(--radius-sm);
    }
    
    .service-features li {
        padding: var(--space-sm);
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: var(--space-lg);
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: var(--space-xl) var(--space-lg);
        font-size: 1rem;
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
    
    .contact-item {
        padding: var(--space-lg);
    }
    
    .recruitment-title {
        font-size: 1.4rem;
        gap: var(--space-xs);
        white-space: nowrap;
    }
    
    .phone-number {
        font-size: 1.25rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mb-sm { margin-bottom: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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