:root {
    /* Colors */
    --color-primary: #0f172a;
    /* Tech Navy */
    --color-primary-light: #1e293b;
    --color-accent: #0ea5e9;
    /* Sky Blue */
    --color-accent-dark: #0284c7;
    --color-text: #334155;
    --color-text-light: #64748b;
    --color-bg-light: #f1f5f9;
    --color-white: #ffffff;
    --color-border: #e2e8f0;

    /* Typography (Fluid Sizing) */
    --font-base: 'Noto Sans JP', sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;

    /* Animation */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   TATEURI HOMEPAGE バナー（販売後に削除）
   ========================================================================== */
.tateuri-banner-section {
    background: var(--color-bg-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 1.25rem 0;
}

.tateuri-banner-section .container {
    display: flex;
    justify-content: center;
}

.tateuri-banner-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.02);
}

.tateuri-banner-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

.tateuri-banner-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    letter-spacing: 0.03em;
}

.tateuri-banner-img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.tateuri-banner-link:hover .tateuri-banner-img {
    opacity: 1;
}

.tateuri-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
}

.tateuri-banner-cta i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.tateuri-banner-link:hover .tateuri-banner-cta i {
    transform: translateX(3px);
}

/* モバイル時は縦並び */
@media (max-width: 600px) {
    .tateuri-banner-section {
        padding: 1rem 0;
    }

    .tateuri-banner-link {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .tateuri-banner-label {
        font-size: 0.75rem;
    }

    .tateuri-banner-img {
        max-height: 32px;
    }

    .tateuri-banner-cta {
        font-size: 0.8rem;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-white);
    font-feature-settings: "palt";
    overflow-x: hidden;
    margin: 0;
    font-size: clamp(14px, 1vw + 10px, 16px);
    /* Fluid body text */
}

body.menu-open {
    overflow: hidden;
}

/* Lock scroll on mobile menu */

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--color-accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    /* Dynamic resizing */
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

@media(min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-primary);
    color: white;
}

.section-padding {
    padding: 8rem 0;
}

/* Header Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 50;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.logo-accent {
    color: var(--color-accent);
    font-weight: 900;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* PC Navigation (Default Hidden on Mobile) */
.main-navigation {
    display: none;
    /* Hide on mobile by default */
}

/* Hamburger Toggle (Visible on Mobile) */
.menu-toggle {
    display: block;
    /* Show on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 2000;
    margin-left: auto;
}

/* PC Styles (min-width: 900px) */
@media (min-width: 900px) {
    .menu-toggle {
        display: none !important;
        /* Hide hamburger on PC */
    }

    .main-navigation {
        display: block !important;
        /* Show PC nav */
    }

    .nav-links {
        display: flex;
        gap: 2.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
        align-items: center;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--color-primary);
        font-weight: 600;
        font-size: 0.95rem;
        letter-spacing: 0.05em;
        position: relative;
        padding: 0.5rem 0;
        transition: color 0.3s;
    }

    .nav-links a:hover {
        color: var(--color-accent);
    }

    /* Underline Animation */
    .nav-links a:not(.btn-nav)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-accent);
        transition: width 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    .nav-links a:not(.btn-nav)::hover::after {
        width: 100%;
    }

    /* Contact Button in Nav */
    .btn-nav {
        background: var(--color-primary);
        color: white !important;
        padding: 0.8rem 1.8rem !important;
        border-radius: 2px;
        transition: all 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
    }

    .btn-nav:hover {
        background: var(--color-accent);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    }
}

/* Hamburger Icon Style */
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 3px;
    position: absolute;
    transition: transform .15s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 3px;
    position: absolute;
    transition: transform .15s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Active Menu State */
body.menu-open .hamburger-inner {
    transform: rotate(45deg);
    background-color: white;
}

body.menu-open .hamburger-inner::before {
    top: 0;
    opacity: 0;
}

body.menu-open .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    background-color: white;
}

/* Fullscreen Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s;
}

.mobile-menu-bg {
    position: absolute;
    inset: 0;
    background-color: var(--color-primary);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s 0.2s;
}

/* Open State */
body.menu-open .mobile-menu-overlay {
    pointer-events: auto;
    opacity: 1;
}

body.menu-open .mobile-menu-bg {
    transform: translateX(0);
}

body.menu-open .mobile-menu-content {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s calc(0.1s * var(--i));
}

body.menu-open .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    color: white;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    text-decoration: none;
    display: block;
    line-height: 1;
    position: relative;
}

.mobile-nav a span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    font-weight: 400;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.mobile-menu-footer {
    margin-top: 3rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Hero Section (Safe Area & Contrast) */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    padding: 100px 0;
    box-sizing: border-box;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
    background-image: url('https://images.unsplash.com/photo-1481026469463-66327c86e544?q=80&w=2608&auto=format&fit=crop');
    animation: bgZoom 20s infinite alternate;
}

@keyframes bgZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 0;
    width: 100%;
}

.hero-pre-title {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .block {
    display: block;
}

.hero-title .text-accent {
    color: var(--color-accent);
}

.hero-desc {
    max-width: 600px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
    color: #f1f5f9;
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons High Contrast */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--color-accent);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    border-radius: 2px;
    transition: var(--transition);
}

.btn:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    font-weight: 700;
    border-radius: 2px;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
    background: white;
    color: var(--color-primary) !important;
}

/* News Ticker */
.news-ticker-wrap {
    background: var(--color-primary);
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 0;
}

.ticker-label {
    background: var(--color-accent);
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    margin-right: 1.5rem;
}

.ticker-content a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.ticker-content a:hover {
    color: var(--color-accent);
}

.ticker-link {
    margin-left: auto;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.1em;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media(max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    display: block;
}

.exp-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-accent);
    color: white;
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.exp-badge .num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

/* Numbers Section */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.number-item .count {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-accent);
    font-family: var(--font-display);
}

.number-item .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Services Section (Immersive Design) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    height: 500px;
    /* Taller for impact */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    isolation: isolate;
    background: #0f172a;
    /* Fallback */
}

/* Background Image styling via child div */
.feature-card .card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -2;
}

.feature-card:hover .card-image {
    transform: scale(1.1);
}

/* Dark Gradient Overlay */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: -1;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    background: linear-gradient(to top, rgba(14, 165, 233, 0.9) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.2) 100%);
    /* Add accent color on hover */
}

/* Content Styling */
.feature-card .card-content {
    padding: 2.5rem;
    width: 100%;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-card:hover .card-content {
    transform: translateY(0);
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0;
    /* Hidden initially */
    transform: translateY(10px);
    transition: all 0.4s 0.1s;
}

.feature-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.feature-card .card-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
}

.feature-card .card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.feature-card:hover .card-link i {
    transform: translateX(5px);
}

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-item {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    font-family: var(--font-display);
}


.exp-badge .num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
}

.exp-badge .text {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

/* Numbers Section */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.number-item .count {
    font-size: 4rem;
    font-weight: 900;
    color: var(--color-accent);
    font-family: var(--font-display);
}

.number-item .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

/* Services Section (Immersive Design) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    position: relative;
    height: 500px;
    /* Taller for impact */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    /* Text at bottom */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    isolation: isolate;
    background: #0f172a;
    /* Fallback */
}

/* Background Image styling via child div */
.feature-card .card-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: -2;
}

.feature-card:hover .card-image {
    transform: scale(1.1);
}

/* Dark Gradient Overlay */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.1) 100%);
    z-index: -1;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    background: linear-gradient(to top, rgba(14, 165, 233, 0.9) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(15, 23, 42, 0.2) 100%);
    /* Add accent color on hover */
}

/* Content Styling */
.feature-card .card-content {
    padding: 2.5rem;
    width: 100%;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.feature-card:hover .card-content {
    transform: translateY(0);
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0;
    /* Hidden initially */
    transform: translateY(10px);
    transition: all 0.4s 0.1s;
}

.feature-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

.feature-card .card-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
}

.feature-card .card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.feature-card:hover .card-link i {
    transform: translateX(5px);
}

/* Flow Steps */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.step-item {
    background: white;
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
    font-family: var(--font-display);
}

.step-item h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Corporate Data Table Fix */
table {
    width: 100%;
    table-layout: fixed;
}

/* Ensure table uses full width */
th {
    white-space: nowrap;
    width: 30%;
    color: var(--color-primary);
    background: #f8fafc;
    padding: 2rem 2rem 2rem 2.5rem;
    /* Add generous padding */
    text-align: left;
    vertical-align: middle;
}

/* Prevent wrap on headers */
td {
    padding: 2rem;
    color: var(--color-text);
}

/* Recruit */
.section-recruit {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.recruit-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=2084&auto=format&fit=crop') center/cover;
    z-index: 0;
}

/* Stronger Overlay for Readability */
.section-recruit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
    /* Dark overlay */
}

.recruit-text,
.recruit-btn {
    position: relative;
    z-index: 2;
}

/* Bring content above overlay */
.recruit-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 2rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.section-recruit p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.btn-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 0.1em;
    transition: var(--transition);
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
}

.btn-circle:hover {
    transform: scale(1.1);
    background: white;
    color: var(--color-primary);
}

/* FAQ */
.faq-item {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 1rem;
}

.faq-item summary {
    padding: 1.5rem 0;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    font-size: 1.1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s;
    color: var(--color-accent);
}

.faq-item[open] summary i {
    transform: translateY(-50%) rotate(45deg);
}

.faq-content {
    padding-bottom: 1.5rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Contact CTA */
.section-cta {
    padding: 6rem 0;
    background: var(--color-primary);
    color: white;
    text-align: center;
}

.section-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.btn-cta.tel {
    background: white;
    color: var(--color-primary);
}

.btn-cta.mail {
    background: var(--color-accent);
    color: white;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer (Balanced & Accessible) */
.site-footer {
    background: #0b1120;
    color: #e2e8f0;
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-info h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-info p {
    color: #cbd5e1;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-menu h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 0.8rem;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 1rem;
}

.footer-menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    /* Mobile Footer Refinement (2-Column Grid) */
    .site-footer {
        text-align: left;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columns on mobile */
        gap: 2rem;
        text-align: left;
    }

    .footer-info {
        grid-column: 1 / -1;
        margin-bottom: 2rem;
    }

    /* Full width info */
    .footer-menu h4 {
        display: block;
        border-left: 3px solid var(--color-accent);
        padding-left: 0.8rem;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 1rem;
    }

    .copyright {
        text-align: left;
        padding: 2rem;
        color: #94a3b8;
        font-size: 0.75rem;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-date,
    .news-category {
        width: auto;
        margin-right: 0.5rem;
        display: inline-block;
    }

    .ceo-message-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Force Hero Visibility Overrides */
.page-header h1,
.page-header p,
.hero-title,
.hero-pre-title,
.hero-desc,
.post-header h1,
.post-header .post-meta,
.archive-header h1,
.archive-header .archive-description {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.page-header,
.archive-header,
.post-header {
    position: relative;
    z-index: 1;
}

.page-header::before,
.archive-header::before,
.post-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    /* Fallback overlay */
    z-index: -1;
}

/* Company Info Section Grid */
.company-info-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
}

.company-info-title {
    position: sticky;
    top: 120px;
}

.company-info-table table {
    width: 100%;
    border-collapse: collapse;
    border-top: 1px solid #cbd5e1;
}

.company-info-table tr {
    border-bottom: 1px solid #cbd5e1;
}

.company-info-table th {
    padding: 1.5rem 2rem;
    text-align: left;
    font-weight: 700;
    width: 140px;
    background: transparent;
    color: var(--color-primary);
    vertical-align: top;
    white-space: nowrap;
}

.company-info-table td {
    padding: 1.5rem 2rem;
    color: var(--color-text);
    line-height: 1.8;
}

/* Mobile Layout */
@media (max-width: 900px) {
    .company-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .company-info-title {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }

    .company-info-table th {
        display: block;
        width: 100%;
        padding: 1.5rem 1rem 0.5rem;
        background: #f1f5f9;
        border-radius: 4px 4px 0 0;
    }

    .company-info-table td {
        display: block;
        padding: 0.5rem 1rem 1.5rem;
    }

    .company-info-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
    }
}

/* ==========================================================================
   個別記事ページ（モバイル対応）
   ========================================================================== */
.entry-content {
    text-align: left;
}

.entry-content p,
.entry-content li,
.entry-content blockquote {
    text-align: left;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    text-wrap: balance;
}

/* モバイル時の余白調整 */
@media (max-width: 767px) {
    .post-header .container {
        padding: 0 1.5rem;
    }

    article .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .entry-content {
        font-size: 1rem;
        line-height: 1.9;
    }

    .entry-content p {
        margin-bottom: 1.5rem;
    }

    .entry-title {
        font-size: 1.5rem !important;
        line-height: 1.5 !important;
        text-wrap: balance;
    }

    .post-navigation .flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
    }
}