:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-dark: #1a1a1a;
    --color-gray-light: #f5f5f5;
    --color-accent: #333333;
    
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-white);
    background-color: var(--color-black);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Canvas Background */
#fluid-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Canvas will be controlled by JS, but ensure it covers everything */
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference; /* Ensure visibility over light/dark backgrounds */
}

.logo-text {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hamburger {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    margin-bottom: var(--spacing-md);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.4;
    font-weight: 600;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.3em;
    height: auto;
    margin: 0 auto;
    display: inline-block;
}

.text-line {
    display: block;
    white-space: nowrap;
    margin: 0 0.4em;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.hero-scroll-indicator .line {
    width: 1px;
    height: 60px;
    background-color: var(--color-white);
}

/* Colors Section */
.colors-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
}

.colors-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Darken background for text visibility */
    z-index: 1;
}

.colors-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.colors-main-text {
    display: flex;
    flex-direction: row; /* In vertical-rl, row is top-to-bottom */
    align-items: center; /* Center horizontally in the vertical line */
    justify-content: center;
    margin-right: var(--spacing-xl);
    color: var(--color-white);
    font-family: var(--font-serif);
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.vertical-text-sm {
    font-size: 2rem;
    letter-spacing: 0.3em;
    margin-bottom: 0;
}

.vertical-text-lg {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
}

.colors-sub-text {
    color: var(--color-white);
    font-family: var(--font-serif);
    font-size: 1rem;
    line-height: 2.5;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    align-self: flex-end; /* Align to bottom of container */
    margin-bottom: 2rem;
}

.colors-line {
    position: absolute;
    top: calc(55% + 100px);
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 2;
}

/* Responsive adjustments for Colors Section */
@media (max-width: 768px) {
    .colors-content {
        flex-direction: row; /* Keep row but adjust spacing */
        justify-content: center;
    }
    
    .colors-main-text {
        margin-right: var(--spacing-md);
    }
    
    .vertical-text-lg {
        font-size: 3rem;
    }
    
    .colors-sub-text {
        font-size: 0.8rem;
        line-height: 2;
    }
}

/* Concept Section */
.concept-section {
    padding: var(--spacing-xl) 0;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.concept-content {
    text-align: center;
    color: var(--color-white);
    font-family: var(--font-serif);
}

.concept-top-text {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.1em;
}

.concept-title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.concept-bottom-text {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.05em;
}

/* Service Section */
.service-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    color: var(--color-black);
}

.section-header {
    margin-bottom: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 3rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-family: var(--font-en);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #666;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: #fff;
    transition: transform 0.3s ease;
}

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

.card-image {
    height: 250px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-family: var(--font-en);
    margin-bottom: var(--spacing-sm);
    overflow: hidden;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
}

.card-content p {
    font-size: 0.9rem;
    color: #666;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    color: var(--color-black);
}

.about-redesign-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--spacing-lg);
    position: relative;
}

.about-left-content {
    flex: 1;
    max-width: 800px;
}

.about-label {
    font-size: 0.8rem;
    color: #999;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.about-main-title {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.about-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.about-more-btn {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.8rem 2.5rem;
    border: none;
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
}

.about-more-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.about-image-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.about-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image-item:hover img {
    transform: scale(1.05);
}

.about-vertical-text {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-black);
    line-height: 1;
    flex-shrink: 0;
    transform: rotate(-90deg);
    transform-origin: center;
    white-space: nowrap;
    margin-top: 120px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.about-intro h3 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.about-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.about-img {
    background-color: #eee;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
}

.about-img:first-child {
    grid-column: span 2;
    height: 200px;
}

.about-details {
    grid-column: span 2;
    margin-top: var(--spacing-lg);
    border-top: 1px solid #eee;
    padding-top: var(--spacing-md);
}

.about-details dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem 3rem;
}

.about-details dt {
    font-weight: 700;
}

/* Extended Company Details */
.about-details-extended {
    grid-column: span 2;
    padding: var(--spacing-md);
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 4px;
}

.details-section-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    opacity: 0.6;
}

.details-subsection {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid #eee;
}

.details-subsection:last-child {
    border-bottom: none;
}

.details-subsection h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
}

.details-subsection p {
    color: #666;
    line-height: 1.8;
}

.bank-list,
.business-list {
    list-style: none;
    padding: 0;
    color: #666;
}

.bank-list li,
.business-list li {
    padding: 0.3rem 0;
    line-height: 1.8;
}

.map-section {
    border-bottom: none;
}

.map-instruction {
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    color: #999;
}

.map-placeholder {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eee;
}

/* Responsive for About Section */
@media (max-width: 768px) {
    .about-redesign-wrapper {
        flex-direction: column;
    }
    
    .about-main-title {
        font-size: 2rem;
    }
    
    .about-description {
        font-size: 0.9rem;
    }
    
    .about-more-btn {
        padding: 0.6rem 2rem;
        font-size: 0.85rem;
    }
    
    .about-images-grid {
        grid-template-columns: 1fr;
    }
    
    .about-vertical-text {
        writing-mode: horizontal-tb;
        font-size: 2.5rem;
        margin-top: var(--spacing-md);
        transform: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-philosophy h4 {
        font-size: 1.3rem;
    }
    
    .about-philosophy p {
        font-size: 0.9rem;
    }
    
    .about-details dl {
        grid-template-columns: 1fr;
        gap: 0.5rem 0;
    }
    
    .about-details dt {
        font-weight: 700;
        margin-top: 1rem;
    }
    
    .about-details dd {
        margin-left: 0;
        padding-left: 1rem;
    }
    
    .about-details-extended {
        padding: var(--spacing-sm);
    }
    
    .details-subsection h6 {
        font-size: 0.95rem;
    }
    
    .details-subsection p,
    .bank-list li,
    .business-list li {
        font-size: 0.85rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 0.9rem;
    }
}

/* Recruit Section */
.recruit-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    color: var(--color-black);
    position: relative;
}

.recruit-wrapper {
    display: block;
    width: 100%;
}

/* Homepage Recruit Section with Images */
.recruit-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-top: var(--spacing-lg);
}

.recruit-text-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.recruit-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.recruit-img-item {
    position: relative;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
}

.recruit-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.recruit-img-item:hover img {
    transform: scale(1.1);
}

.recruit-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-sm);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recruit-img-item:hover .recruit-img-overlay {
    opacity: 1;
}

.recruit-img-overlay span {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-white);
}

/* Recruit Page Hero Section */
.recruit-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recruit-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.recruit-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruit-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}

.recruit-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    padding: var(--spacing-md);
}

.recruit-hero-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: var(--spacing-md);
}

.recruit-hero-subtitle {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* Vision Grid with Images */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.vision-item {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vision-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vision-item:hover .vision-image img {
    transform: scale(1.05);
}

.vision-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.6));
}

.vision-content {
    padding: var(--spacing-md);
    background-color: var(--color-white);
}

.vision-content h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.vision-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* Position Cards with Images */
.position-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.position-card:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.position-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.position-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.position-card:hover .position-image img {
    transform: scale(1.05);
}

.position-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.7));
}

.position-content {
    padding: var(--spacing-md);
    background-color: var(--color-white);
    flex: 1;
}

.position-content h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
    font-weight: 700;
}

.position-content p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

/* Culture/Environment Section */
.recruit-culture {
    margin-top: var(--spacing-xl);
}

.recruit-culture h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.culture-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.culture-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s ease;
    filter: grayscale(20%);
}

.culture-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.recruit-message .main-msg {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-serif);
}

.recruit-message .sub-msg {
    font-family: var(--font-en);
    color: #999;
    font-size: 0.9rem;
}

.btn-line {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--color-black);
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.btn-line:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Footer */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    border-top: 1px solid #333;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.footer-nav {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-nav a {
    font-family: var(--font-en);
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem;
    color: #666;
}

/* Utility & Animation */
.placeholder-image {
    background-color: #ddd;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
    font-size: 0.8rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .vertical-text {
        letter-spacing: 0.2em;
    }

    .text-line {
        margin: 0 0.2em;
    }

    .concept-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* Mobile carousel for about images */
    .about-images {
        grid-template-columns: 1fr;
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 200px;
    }
    
    .about-img {
        position: absolute;
        width: 80%;
        height: 180px;
        animation: carousel-scroll 15s linear infinite;
    }
    
    .about-img:first-child {
        grid-column: auto;
        height: 180px;
        animation-delay: 0s;
        left: 0%;
    }
    
    .about-img:nth-child(2) {
        animation-delay: 5s;
        left: 0%;
    }
    
    .about-img:nth-child(3) {
        animation-delay: 10s;
        left: 0%;
    }
    
    @keyframes carousel-scroll {
        0% {
            left: 100%;
            opacity: 0;
        }
        5% {
            opacity: 1;
        }
        33% {
            left: 10%;
            opacity: 1;
        }
        40% {
            left: 10%;
            opacity: 1;
        }
        45% {
            opacity: 0;
        }
        50% {
            left: -100%;
            opacity: 0;
        }
        100% {
            left: -100%;
            opacity: 0;
        }
    }

    .about-details dl {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .about-details dt {
        margin-top: 1rem;
    }

    .recruit-wrapper {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .recruit-message .main-msg {
        font-size: 1.5rem;
    }
    
    /* Homepage Recruit Section Mobile */
    .recruit-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .recruit-image-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--spacing-sm);
        padding-bottom: var(--spacing-sm);
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    .recruit-img-item {
        flex: 0 0 80%; /* Show 80% of image width */
        height: 200px;
        scroll-snap-align: center;
    }
    
    /* Recruit Page Hero Mobile */
    .recruit-hero {
        height: 60vh;
    }
    
    .recruit-hero-title {
        font-size: 2rem;
    }
    
    .recruit-hero-subtitle {
        font-size: 1rem;
    }
    
    /* Vision Grid Mobile */
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-image {
        height: 200px;
    }
    
    /* Position Cards Mobile */
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .position-image {
        height: 180px;
    }
    
    /* Culture Grid Mobile */
    .culture-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .culture-item {
        height: 180px;
    }

    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .site-footer {
        text-align: center;
    }
}

/* Page Hero (for subpages) */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
}

.page-hero-content {
    text-align: center;
}

.page-number {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: var(--spacing-sm);
    opacity: 0.7;
}

.page-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
}

.page-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

/* Service Detail Page */
.service-detail-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--color-white);
}

.service-detail-content {
    text-align: center;
}

.service-category {
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: var(--spacing-md);
    opacity: 0.7;
}

.service-detail-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
}

.service-tagline {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    opacity: 0.9;
}

.service-detail-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    color: var(--color-black);
}

.service-detail-intro {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.service-detail-intro h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.service-detail-intro p {
    font-size: 1rem;
    line-height: 2;
    color: #666;
}

.service-features {
    margin-bottom: var(--spacing-xl);
}

.service-features h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    padding: var(--spacing-md);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: var(--color-black);
    transform: translateY(-5px);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-en);
}

.feature-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.service-vision {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    padding: var(--spacing-lg);
    background-color: #f9f9f9;
}

.service-vision h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.service-vision p {
    font-size: 1rem;
    line-height: 2;
    color: #666;
}

.service-cta {
    text-align: center;
}

/* Service Intro */
.service-intro {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #666;
}

/* About Page Additions */
.about-philosophy {
    margin-bottom: var(--spacing-lg);
}

.about-philosophy h4,
.about-details h4 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.about-philosophy p {
    line-height: 2;
    color: #666;
}

/* Recruit Page Additions */
.recruit-vision {
    margin-bottom: var(--spacing-xl);
}

.recruit-vision h3,
.recruit-positions h3 {
    font-size: 2rem;
    margin-bottom: var(--spacing-lg);
}

.vision-list {
    list-style: none;
    display: grid;
    gap: var(--spacing-md);
}

.vision-list li {
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-black);
    background-color: #f9f9f9;
}

.vision-list h4 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
}

.vision-list p {
    color: #666;
    line-height: 1.8;
}

.recruit-positions {
    margin-bottom: var(--spacing-xl);
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}
/* Blog Section */
.blog-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-gray-light);
    color: var(--color-black);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.blog-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0,0,0,0.7);
    color: var(--color-white);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-family: var(--font-en);
    border-radius: 4px;
}

.blog-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    font-family: var(--font-sans);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.blog-read-more {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-black);
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    align-self: flex-start;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-black);
    transition: width 0.3s ease;
}

.blog-card:hover .blog-read-more::after {
    width: 100%;
}

.blog-link-area {
    text-align: center;
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.position-card {
    padding: var(--spacing-md);
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.position-card:hover {
    border-color: var(--color-black);
    background-color: #f9f9f9;
}

.position-card h4 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
}

.position-card p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.recruit-link-area {
    text-align: center;
}

.coming-soon {
    margin-bottom: var(--spacing-md);
    color: #666;
    line-height: 1.8;
}

/* Service Card as Link */
a.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.service-card:hover {
    opacity: 1;
}

/* About At Zero1CHI Section */
.about-grid-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
    color: var(--color-black);
}

.about-grid-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.about-grid-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--color-black);
}

.about-grid-header h2 {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.about-grid-header::after {
    content: '';
    display: block;
    width: 80%;
    max-width: 600px;
    height: 1px;
    background-color: var(--color-black);
    margin: var(--spacing-md) auto 0;
}

.about-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.about-grid-item {
    border: 1px solid #333;
    padding: var(--spacing-md);
    background-color: var(--color-white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.about-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: var(--color-black);
    color: var(--color-white);
}

.about-grid-item h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-grid-item h3::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--color-black);
    border-radius: 50%;
    flex-shrink: 0;
}

.about-grid-item:hover h3::before {
    background-color: var(--color-white);
}

.about-grid-item p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
}

.about-grid-item:hover p {
    color: var(--color-white);
}

/* Responsive for About Grid */
@media (max-width: 768px) {
    .about-grid-container {
        grid-template-columns: 1fr;
    }
    
    .about-grid-header h2 {
        font-size: 1.8rem;
    }
}

/* PDF Modal */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.pdf-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    max-width: 1200px;
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
}

.pdf-modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
    z-index: 1001;
    background-color: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease;
}

.pdf-modal-close:hover {
    transform: rotate(90deg);
}

#pdf-frame {
    width: 100%;
    height: 100%;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* CEO Message Modal */
.message-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.message-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.message-modal-content {
    position: relative;
    width: 80vw;
    max-height: 85vh;
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    padding: var(--spacing-lg);
}

.message-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    font-weight: 700;
    color: var(--color-white);
    cursor: pointer;
    z-index: 1001;
    transition: transform 0.2s ease;
}

.message-modal-close:hover {
    transform: rotate(90deg);
}

.message-modal-header {
    margin-bottom: var(--spacing-md);
}

.message-modal-header h4 {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    letter-spacing: 0.1em;
}

.message-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
}

.message-modal-body {
    color: var(--color-white);
}

.message-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .message-modal-content {
        width: 95%;
        padding: var(--spacing-md);
    }
    
    .message-title {
        font-size: 1.8rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    backdrop-filter: blur(0px);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    z-index: 10001;
    position: relative;
}

.loading-logo {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s ease-in-out infinite;
}

.loading-rings {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-md);
}

.loading-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: expand-ring 3s ease-out infinite;
}

.loading-ring:nth-child(1) {
    animation-delay: 0s;
}

.loading-ring:nth-child(2) {
    animation-delay: 1s;
}

.loading-ring:nth-child(3) {
    animation-delay: 2s;
}

.loading-text {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.7);
    animation: fade 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes expand-ring {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 3px;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
        border-width: 1px;
    }
}

@keyframes fade {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .loading-logo {
        font-size: 2.5rem;
    }
    
    .loading-rings {
        width: 150px;
        height: 150px;
    }
    
    @keyframes expand-ring {
        0% {
            width: 0;
            height: 0;
            opacity: 1;
            border-width: 3px;
        }
        50% {
            opacity: 0.6;
        }
        100% {
            width: 150px;
            height: 150px;
            opacity: 0;
            border-width: 1px;
        }
    }
}
