@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* =========================================================================
   1. Core Variables & Reset
   ========================================================================= */
:root {
    --bg-navy: #1A2F4C;
    --bg-dark: #F4F6F9;
    --text-color: #1A2F4C;
    --text-light: rgba(255, 255, 255, 0.7);
    --bg-color: #ffffff;
    --accent-color: #2B5292;
    --accent-cyan: #FF5A5F;
    --highlight: #2B5292;
    /* Subtle highlight for dark navy bg */

    /* Fluid Typography Variables */
    --font-en-serif: 'Marcellus', serif;
    --font-en-sans: 'Inter', sans-serif;
    --font-ja-mincho: 'Zen Kaku Gothic New', serif;
    /* Clean corporate mincho feel */
    --font-ja-sans: 'Zen Kaku Gothic New', sans-serif;

    /* Container */
    --container-max: 1200px;
    --container-large: 1600px;
    --section-padding: clamp(80px, 15vw, 200px);
}

@media (min-width: 768px) {
    :root {
        --section-padding: 180px 5%;
        /* Increased for more dramatic spacing */
    }
}

.font-calligraphy {
    font-family: 'Yuji Syuku', serif;
}

html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

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

.bg-dark {
    background-color: var(--bg-navy);
    color: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-en-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise Overlay Removed for cleaner look */

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-weight: 400;
}

.section-headline {
    font-family: var(--font-en-sans);
    font-size: clamp(2.2rem, 5vw, 4rem);
    /* UX-focused: readable, not overwhelming */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-color);
    pointer-events: none;
}

.section-headline.light {
    color: var(--text-color);
    /* Updated for sections with dark backgrounds */
}

.ja-lead {
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    letter-spacing: 0.05em;
    line-height: 2.2;
}

.ja-text {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    letter-spacing: 0.05em;
    line-height: 2.0;
}

.en-caption {
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    display: block;
}

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

.container-large {
    max-width: var(--container-large);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
    padding-top: calc(var(--section-padding) + 60px);
    /* Compensate for negative margin */
    border-radius: 60px 60px 0 0;
    /* The user requested curved overlapping sections */
    margin-top: -60px;
    position: relative;
    background-color: var(--bg-color);
    /* Important for overlap masking */
}

/* Ensure the hero doesn't get the negative margin/radius */
.hero-section {
    border-radius: 0;
    margin-top: 0;
    padding-top: 180px;
    /* Keep standard top spacing */
}

/* Base Buttons - Sharp Corporate Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 36px;
    color: var(--bg-color);
    background-color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    /* Magnetic / Liquid look */
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    min-width: 200px;
}

.btn.light {
    color: var(--accent-color);
    background-color: transparent;
    border-color: var(--accent-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 0;
}

.btn.light::before {
    background-color: var(--text-color);
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn.light span {
    color: var(--accent-color);
}

.btn:hover {
    color: var(--text-light);
    border-color: transparent;
}

.btn.light:hover {
    color: #ffffff !important;
}

.btn.light:hover span {
    color: #ffffff;
}

.btn:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.btn span.arrow {
    display: inline-block;
    transition: transform 0.4s ease;
}

.btn:hover span.arrow {
    transform: translateX(5px);
}

/* GSAP Utilities */
.reveal-mask {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.reveal-mask span {
    display: inline-block;
    transform: translateY(110%);
}

/* =========================================================================
   2. Header Base
   ========================================================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    color: var(--text-color);
    background-color: rgba(255, 255, 255, 0.85);
    /* Glassmorphism base */
    backdrop-filter: blur(12px);
    /* Glassmorphism blur */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

header.hide {
    transform: translateY(-100%);
}

.logo {
    font-family: var(--font-en-serif);
    font-size: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.menu-btn {
    font-family: var(--font-en-sans);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
}

/* =========================================================================
   3. Full Screen Overlay Menu
   ========================================================================= */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    /* Fully opaque — always readable */
    z-index: 998;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    transform: translateY(-100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .menu-overlay {
        display: none;
    }
}

.menu-overlay.is-active {
    transform: translateY(0);
    pointer-events: auto;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.menu-nav a {
    font-family: var(--font-en-serif);
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--text-color);
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* Menu item reveal animation */
.menu-nav li {
    overflow: hidden;
}

.menu-nav a .menu-text {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-overlay.is-active .menu-nav a .menu-text {
    transform: translateY(0);
}

/* Stagger transition delay for menu items */
.menu-nav li:nth-child(1) a .menu-text {
    transition-delay: 0.1s;
}

.menu-nav li:nth-child(2) a .menu-text {
    transition-delay: 0.15s;
}

.menu-nav li:nth-child(3) a .menu-text {
    transition-delay: 0.2s;
}

.menu-nav li:nth-child(4) a .menu-text {
    transition-delay: 0.25s;
}

.menu-nav li:nth-child(5) a .menu-text {
    transition-delay: 0.3s;
}

.menu-nav li:nth-child(6) a .menu-text {
    transition-delay: 0.35s;
}

/* Menu hover effect */
.menu-nav a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.menu-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-close-btn {
    position: absolute;
    top: 30px;
    right: 5%;
    font-family: var(--font-en-sans);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    z-index: 1002;
    /* Above overlay */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    color: var(--text-color) !important;
}

.menu-overlay.is-active~.menu-close-btn {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0.3s;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .menu-btn {
    opacity: 0;
    pointer-events: none;
}

/* Responsive: hide dropdown on small screens */
@media (max-width: 767px) {
    .header-dropdown {
        display: none !important;
    }

    .sticky-card {
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .sticky-card-header {
        padding: 20px 24px 16px;
    }

    .sticky-card-body {
        padding: 24px;
    }

    .service-toc-item {
        padding: 12px 16px;
        font-size: 0.75rem;
    }
}

/* Desktop Header Nav (visible on >= 768px) */
.header-nav {
    display: none;
}

@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }

    .header-nav {
        display: flex;
        gap: 30px;
        list-style: none;
        align-items: center;
    }

    .header-nav a {
        color: var(--text-color);
        text-decoration: none;
        font-family: var(--font-en-sans);
        font-size: 0.85rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: opacity 0.3s ease;
    }

    .header-nav a:hover {
        opacity: 0.6;
    }

    /* Dropdown wrapper */
    .nav-item-dropdown {
        position: relative;
    }

    .nav-item-dropdown>a {
        cursor: pointer;
    }

    .header-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
        padding: 16px 0;
        min-width: 240px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
        z-index: 1000;
    }

    .nav-item-dropdown:hover .header-dropdown {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .header-dropdown a {
        display: block;
        padding: 10px 24px;
        font-size: 0.85rem !important;
        font-weight: 400 !important;
        text-transform: none !important;
        letter-spacing: 0.02em !important;
        color: var(--text-color) !important;
        white-space: nowrap;
        transition: background-color 0.2s ease, padding-left 0.2s ease;
    }

    .header-dropdown a:hover {
        background-color: #f7f7f8;
        padding-left: 28px;
        opacity: 1 !important;
    }

    .header-dropdown .dropdown-label {
        display: block;
        padding: 6px 24px 10px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        color: rgba(0, 0, 0, 0.35);
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        margin-bottom: 6px;
    }
}

/* =========================================================================
   4. Page Header (Subpages) — Premium Style
   ========================================================================= */
.page-header {
    padding: 240px 5% 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-family: var(--font-en-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    color: var(--text-color);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.page-header p {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    margin-top: 15px;
    color: var(--text-color);
    opacity: 0.6;
}

/* ── Utility Classes ── */
.bg-gray {
    background-color: #f8fafc;
}

.max-w-narrow {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pt-l {
    padding-top: 80px;
}

.pb-xl {
    padding-bottom: 120px;
}

.mt-xl {
    margin-top: 80px;
}

.mb-xl {
    margin-bottom: 80px;
}

.center {
    text-align: center;
}

/* =========================================================================
   4a. Blog / Column Cards
   ========================================================================= */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.blog-card img,
.blog-card .blog-card-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #f0f0f5 0%, #e8e8ee 100%);
}

.blog-card .blog-card-body,
.blog-card .card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card .blog-card-category,
.blog-card .card-category {
    font-family: var(--font-en-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
}

.blog-card .blog-card-title,
.blog-card h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--text-color);
}

.blog-card .blog-card-date,
.blog-card time {
    font-family: var(--font-en-sans);
    font-size: 0.75rem;
    opacity: 0.35;
    margin-top: auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* =========================================================================
   4b-2. Case Study Cards
   ========================================================================= */
.case-card-archive {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.case-card-archive:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.case-card-archive img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f0f0f5;
}

.case-card-archive .case-body,
.case-card-archive .card-body {
    padding: 28px;
}

.case-card-archive h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 10px;
}

.case-card-archive p {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.6;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* =========================================================================
   4c. Single Post / Article
   ========================================================================= */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0 80px;
}

@media (max-width: 767px) {
    .single-post {
        padding: 30px 20px 60px;
    }
}

.single-post .post-header {
    margin-bottom: 40px;
}

.single-post .post-category {
    font-family: var(--font-en-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 16px;
}

.single-post h1,
.single-post .post-title {
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
}

.single-post .post-meta,
.single-post time {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    opacity: 0.4;
}

.single-post .post-thumbnail {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
}

.single-post .post-content {
    font-family: var(--font-ja-mincho);
    font-size: 0.95rem;
    line-height: 2;
}

.single-post .post-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.single-post .post-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 36px 0 16px;
}

.single-post .post-content p {
    margin-bottom: 24px;
    opacity: 0.75;
}

.single-post .post-content ul,
.single-post .post-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}

.single-post .post-content li {
    margin-bottom: 8px;
    opacity: 0.75;
}

.single-post .post-content blockquote {
    border-left: 3px solid rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    margin: 32px 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    opacity: 0.7;
}

/* =========================================================================
   4d. Contact Form
   ========================================================================= */
.contact-form {
    max-width: 680px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.form-group .required {
    font-size: 0.7rem;
    color: #ef4444;
    margin-left: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.form-submit,
.contact-form button[type="submit"],
.contact-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #1A2F4C;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.form-submit:hover,
.contact-form button[type="submit"]:hover,
.contact-form input[type="submit"]:hover {
    background: #333;
    transform: translateY(-2px);
}

/* =========================================================================
   4e. FAQ Accordion
   ========================================================================= */
.faq-section .faq-item,
.faq-list-page .faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px 0;
}

.faq-section .faq-item:first-child,
.faq-list-page .faq-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.faq-question,
.faq-toggle {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    color: var(--text-color);
    padding: 0;
}

.faq-badge {
    width: 28px;
    height: 28px;
    background: #1A2F4C;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-sans);
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-answer {
    padding: 14px 0 0 44px;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    line-height: 1.9;
    opacity: 0.6;
}

/* =========================================================================
   4f. Recruit / Open Positions
   ========================================================================= */
.position-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.position-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 36px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.position-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.position-card .position-type {
    font-family: var(--font-en-sans);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.35);
    margin-bottom: 10px;
}

.position-card h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.position-card p {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.6;
    margin-bottom: 20px;
}

.position-card .position-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.position-card .position-tag {
    font-size: 0.7rem;
    padding: 4px 12px;
    background: #f0f0f5;
    border-radius: 100px;
    font-family: var(--font-ja-mincho);
}

/* =========================================================================
   4g. Legal / Info Pages
   ========================================================================= */
.legal-content,
.info-content {
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    line-height: 2;
    padding: 60px 0;
}

.legal-content h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 40px 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 28px 0 12px;
}

.legal-content p {
    margin-bottom: 20px;
    opacity: 0.7;
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 6px;
    opacity: 0.7;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
}

.legal-content th,
.legal-content td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

.legal-content th {
    background: #f8fafc;
    font-weight: 700;
    width: 30%;
}

/* =========================================================================
   4h. Download / Resource Cards
   ========================================================================= */
.resource-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    gap: 0;
    transition: box-shadow 0.3s, transform 0.3s;
}

.resource-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.resource-card .resource-thumb {
    width: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f0f5, #e8e8ee);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.resource-card .resource-body {
    padding: 32px;
    flex: 1;
}

.resource-card h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.resource-card p {
    font-size: 0.88rem;
    line-height: 1.7;
    opacity: 0.6;
    margin-bottom: 20px;
}

.resource-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Company Info Table (about page) ── */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.company-table th,
.company-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
}

.company-table th {
    background: #f8fafc;
    font-weight: 700;
    width: 200px;
}

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

    .case-grid {
        grid-template-columns: 1fr;
    }

    .position-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        flex-direction: column;
    }

    .resource-card .resource-thumb {
        width: 100%;
        height: 160px;
    }

    .company-table th {
        width: 120px;
        font-size: 0.8rem;
    }

    .company-table td {
        font-size: 0.85rem;
    }

    .page-header {
        padding: 160px 5% 60px;
    }
}

/* =========================================================================
   5. About Page — Vision / Values / Company Info
   ========================================================================= */
.vision-section {
    padding: var(--section-padding);
    background: var(--bg-color);
}

.vision-text {
    font-family: var(--font-ja-mincho);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0;
}

.vision-ja {
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    text-align: center;
    opacity: 0.7;
    line-height: 1.9;
}

.values-section {
    padding: var(--section-padding);
    background: #1A2F4C;
    color: #fff;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.value-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: border-color 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767px) {
    .value-card {
        padding: 30px 20px;
        text-align: center;
    }
}

.value-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
}

.value-num {
    font-family: var(--font-en-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.3;
    margin-bottom: 20px;
    display: block;
}

.value-title {
    font-family: var(--font-en-sans);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.company-info-section {
    padding: var(--section-padding);
    background: var(--bg-color);
}

@media (max-width: 767px) {
    .company-info-section {
        padding: 80px 5%;
        text-align: center;
    }
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 800px;
    margin: 0 auto;
}

.info-table th,
.info-table td {
    padding: 22px 28px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    line-height: 1.8;
    vertical-align: top;
}

.info-table th {
    font-family: var(--font-en-sans);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    width: 200px;
    opacity: 0.5;
}

/* =========================================================================
   6. Blog / Column Page — Cards, Layout, Sidebar
   ========================================================================= */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.blog-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f0f5, #e8e8ee);
}

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

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

.blog-content {
    padding: 24px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.blog-date {
    font-family: var(--font-en-sans);
    font-size: 0.72rem;
    opacity: 0.35;
    letter-spacing: 0.03em;
}

.blog-cat {
    font-family: var(--font-en-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    background: #f0f0f5;
    border-radius: 100px;
    opacity: 0.6;
}

.blog-title {
    font-family: var(--font-ja-mincho);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.archive-content {
    padding: 80px 0;
}

/* Sidebar */
.sidebar-area {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.widget-title {
    font-family: var(--font-en-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.search-form {
    display: flex;
    gap: 0;
}

.search-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-family: var(--font-ja-mincho);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-field:focus {
    border-color: var(--text-color);
}

.search-submit {
    padding: 12px 20px;
    background: var(--bg-navy, #1A2F4C);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    font-family: var(--font-ja-mincho);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #333;
}

.popular-posts {
    list-style: none;
    padding: 0;
}

.popular-posts li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.popular-posts a {
    font-family: var(--font-ja-mincho);
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.popular-posts a:hover {
    opacity: 1;
}

/* Pagination */
.pagination-wrap {
    margin-top: 60px;
}

.pagination {
    list-style: none;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.page-numbers.current {
    background: #1A2F4C;
    color: #fff;
    border-color: #1A2F4C;
}

.page-numbers:hover:not(.current) {
    border-color: #1A2F4C;
}

.next.page-numbers,
.prev.page-numbers {
    width: auto;
    padding: 0 16px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* =========================================================================
   7. News Page — List Items
   ========================================================================= */
.news-section {
    padding: var(--section-padding);
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.news-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.news-item:hover {
    opacity: 0.6;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.news-date {
    font-family: var(--font-en-sans);
    font-size: 0.78rem;
    opacity: 0.35;
}

.news-category {
    font-family: var(--font-en-sans);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 12px;
    background: #f0f0f5;
    border-radius: 100px;
}

.news-title {
    font-family: var(--font-ja-mincho);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.6;
}

/* =========================================================================
   8. Recruit Page — Message, Jobs
   ========================================================================= */
.message-section {
    padding: var(--section-padding);
    background: var(--bg-color);
}

.jobs-section {
    padding: var(--section-padding);
    background: #1A2F4C;
    color: #fff;
}

.job-card {
    display: flex;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s;
    gap: 20px;
}

@media (max-width: 767px) {
    .job-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 0;
    }
}

.job-card:hover {
    opacity: 0.6;
}

.job-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.05rem;
    font-weight: 700;
    flex: 1;
}

.job-meta {
    font-family: var(--font-en-sans);
    font-size: 0.72rem;
    opacity: 0.4;
    letter-spacing: 0.08em;
    margin-right: 30px;
}

.job-arrow {
    font-size: 1.2rem;
    opacity: 0.4;
    transition: transform 0.3s;
}

.job-card:hover .job-arrow {
    transform: translateX(4px);
}

/* =========================================================================
   9. Contact — Form Section
   ========================================================================= */
.form-section {
    padding: var(--section-padding);
    background: var(--bg-color);
}

.form-container {
    max-width: 680px;
    margin: 0 auto;
}

.form-label {
    display: block;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

.form-control:focus {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form-control::placeholder {
    opacity: 0.3;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.submit-btn-container {
    margin-top: 40px;
}

/* =========================================================================
   10. FAQ / Info Pages — Content Format
   ========================================================================= */
.page-title {
    font-family: var(--font-en-sans);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.page-subtitle {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    opacity: 0.6;
    margin-top: 15px;
}

.page-content {
    padding: 0;
}

.content-format {
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    line-height: 2;
}

.content-format h2 {
    font-family: var(--font-ja-mincho);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.content-format h2:first-child {
    margin-top: 0;
}

.content-format h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    font-weight: 700;
    margin: 24px 0 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-left: 3px solid var(--text-color);
    border-radius: 0 8px 8px 0;
}

.content-format p {
    margin-bottom: 20px;
    opacity: 0.75;
    padding: 0 4px;
}

.content-format ul,
.content-format ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.content-format li {
    margin-bottom: 6px;
    opacity: 0.75;
}

.content-format table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px;
}

.content-format th,
.content-format td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.9rem;
}

.content-format th {
    background: #f8fafc;
    font-weight: 700;
    width: 30%;
}

/* ── Single Post ── */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .single-post {
        padding: 0 20px;
    }
}

.single-post h1 {
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
}

.single-post .post-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 40px;
}

.single-post .featured-image {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
}

.single-post .featured-image img {
    width: 100%;
    height: auto;
}

.single-post .entry-content {
    font-family: var(--font-ja-mincho);
    font-size: 0.95rem;
    line-height: 2;
}

.single-post .entry-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.single-post .entry-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 36px 0 16px;
}

.single-post .entry-content p {
    margin-bottom: 24px;
    opacity: 0.75;
}

.single-post .entry-content blockquote {
    border-left: 3px solid rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    margin: 32px 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    opacity: 0.7;
}

/* ── Case Study Cards ── */
.case-card-archive {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.case-card-archive:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.case-card-archive a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-card-archive img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-card-archive .case-body {
    padding: 24px;
}

.case-card-archive h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 8px;
}

.case-card-archive p {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.6;
}

/* ── Subpage Responsive (Extended) ── */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
    }

    .sidebar-area {
        position: static;
    }

    .value-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: 8px;
    }

    .job-card {
        flex-wrap: wrap;
        gap: 8px;
    }

    .info-table th {
        width: 130px;
        font-size: 0.75rem;
    }

    .page-header {
        padding: 160px 5% 60px;
    }
}

/* =========================================================================
   4b. Service TOC (Anchor Navigation)
   ========================================================================= */
.service-toc {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
}

.service-toc-item {
    display: inline-block;
    padding: 16px 24px;
    font-family: var(--font-ja-mincho);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-color);
    opacity: 0.5;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.service-toc-item:hover,
.service-toc-item.active {
    opacity: 1;
    border-bottom-color: var(--text-color);
}

/* =========================================================================
   4. Footer
   ========================================================================= */
footer {
    background-color: var(--bg-navy);
    color: #ffffff;
    padding: 100px 5% 40px;
    position: relative;
    z-index: 1;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 100px;
}

.footer-cta-title {
    font-family: var(--font-en-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 40px;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-logo {
    font-family: var(--font-en-serif);
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.footer-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-en-sans);
    font-size: 0.9rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.copyright {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    opacity: 0.4;
    margin-top: 20px;
}

/* =========================================================================
   Top Page Specific Expansions (News, Column, Recruit)
   ========================================================================= */
.news-list-home {
    max-width: 900px;
    margin: 0 auto;
}

.news-item-home {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: var(--text-color);
    transition: padding-left 0.3s ease, background-color 0.3s ease;
}

.news-item-home:hover {
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.02);
}

@media (min-width: 768px) {
    .news-item-home {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
}

.news-meta {
    min-width: 150px;
    margin-bottom: 10px;
}

.news-date {
    font-family: var(--font-en-sans);
    font-size: 0.9rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 5px;
}

.news-category {
    display: inline-block;
    font-family: var(--font-en-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    color: var(--text-color);
}

.news-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* =========================================================================
   Case Study Full-Width (Phase 16)
   ========================================================================= */
.case-study-full {
    width: 100%;
    background-color: var(--text-color);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.case-item {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.case-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.case-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.case-item:hover .case-image-container img {
    transform: scale(1);
}

.case-item-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 5%;
}

.case-item-num {
    display: block;
    font-family: var(--font-en-sans);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    opacity: 0.7;
}

.case-item-title {
    font-family: var(--font-en-sans);
    font-size: clamp(3rem, 8vw, 8rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 30px;
}

.case-item-cat {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

/* =========================================================================
   Bento Grid / Column (Renamed from Insights)
   ========================================================================= */
.column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Pure border-based grid */
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.column-card {
    padding: 60px 40px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.column-card:nth-child(3n) {
    border-right: none;
}

.column-card:hover {
    background-color: #f5f5f7;
}

.column-more {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-top: 20px;
    display: block;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.column-card:hover .column-more {
    opacity: 1;
}


.bento-box:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(0, 0, 0, 0.05);
    /* Darker gray on hover for white base */
    border-color: rgba(0, 0, 0, 0.1);
}

.bento-box:hover::before {
    opacity: 1;
}

.bento-box.bg-navy {
    background: var(--text-color);
    /* Subtle gray instead of hard navy */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-box.bg-navy:hover {
    background: rgba(0, 0, 0, 0.05);
}

.bento-box.bg-gray {
    background: transparent;
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-wide {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-content {
    position: relative;
    z-index: 1;
}

.bento-tag {
    font-size: 0.70rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 14px;
    border-radius: 4px;
    /* Sharper tag */
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    margin-bottom: auto;
    align-self: flex-start;
    color: var(--text-color);
}

.bento-tag.light {
    background: rgba(255, 255, 255, 0.15);
}

.bento-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.5rem;
    font-weight: 500;
    /* Pulled back from 700 to look more elegant */
    margin-bottom: 15px;
    margin-top: 25px;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.bento-title.light {
    color: var(--text-color);
}

.bento-desc {
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
    line-height: 1.6;
}

.bento-desc.light {
    opacity: 0.9;
}

/* =========================================================================
   Sticky Service Cards — Cascading Staircase Layout (Phase 31)
   ========================================================================= */

/* Container: ensure cards can overlap properly */
.service-stack {
    position: relative;
}

.sticky-card {
    position: sticky;
    top: 0;
    min-height: 85vh;
    background-color: rgba(26, 47, 76, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 0 0 40px 0;
    /* Rounded bottom-right for cascading reveal */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: box-shadow 0.5s ease;
    margin-left: 0;
    /* Always anchored to the left */
}

/* ── Cascading width: each card gets narrower on the RIGHT ── */
.sticky-card:nth-child(1) {
    top: 0;
    z-index: 10;
    width: 100%;
    background-color: rgba(26, 47, 76, 0.92);
    border-radius: 0;
}

.sticky-card:nth-child(2) {
    top: 60px;
    z-index: 11;
    width: 92%;
    background-color: rgba(26, 47, 76, 0.88);
}

.sticky-card:nth-child(3) {
    top: 120px;
    z-index: 12;
    width: 84%;
    background-color: rgba(26, 47, 76, 0.84);
}

.sticky-card:nth-child(4) {
    top: 180px;
    z-index: 13;
    width: 76%;
    background-color: rgba(26, 47, 76, 0.80);
}

.sticky-card:nth-child(5) {
    top: 240px;
    z-index: 14;
    width: 68%;
    background-color: rgba(26, 47, 76, 0.76);
    border-radius: 0 0 40px 0;
}

/* ── Mobile (Compact Overlap) ── */
@media (max-width: 767px) {
    .sticky-card {
        min-height: auto;
        padding-bottom: 60px;
        border-radius: 0 0 24px 24px !important;
    }

    .sticky-card:nth-child(1) {
        width: 100%;
        border-radius: 0 !important;
    }

    .sticky-card:nth-child(2) {
        top: 25px;
        width: 95%;
    }

    .sticky-card:nth-child(3) {
        top: 50px;
        width: 90%;
    }

    .sticky-card:nth-child(4) {
        top: 75px;
        width: 85%;
    }

    .sticky-card:nth-child(5) {
        top: 100px;
        width: 80%;
    }
}

.sticky-card:last-child {
    margin-bottom: 0;
}

header#mainHeader.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header#mainHeader.hide {
    transform: translateY(-100%);
}

header#mainHeader.scrolled .logo,
header#mainHeader.scrolled .header-nav a,
header#mainHeader.scrolled .menu-btn {
    color: var(--text-color) !important;
}

/* Fix for Top Page (Navy Hero): Header text should be white before scrolling */
body.home header#mainHeader:not(.scrolled) .logo,
body.home header#mainHeader:not(.scrolled) .header-nav>a,
body.home header#mainHeader:not(.scrolled) .nav-item-dropdown>a,
body.home header#mainHeader:not(.scrolled) .menu-btn {
    color: #ffffff !important;
}

/* Ensure the Dropdown items stay dark even on Top page before scroll */
body.home header#mainHeader:not(.scrolled) .header-dropdown a {
    color: var(--text-color) !important;
}

/* ── Card Header: Left-aligned with large number ── */
.sticky-card-header {
    padding: 50px 60px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.sticky-card-num {
    font-size: 3rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.15);
    font-family: var(--font-en-sans);
    letter-spacing: -0.02em;
    line-height: 1;
}

.sticky-card-title {
    font-size: 1.4rem;
    font-family: var(--font-ja-mincho);
    font-weight: 600;
    margin: 0;
    color: #ffffff;
    letter-spacing: 0.05em;
}

/* ── Card Body: Left-aligned text, not centered ── */
.sticky-card-body {
    padding: 50px 60px 60px;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.sticky-card-text {
    width: 100%;
    max-width: 700px;
    text-align: left;
}

.sticky-card-text p {
    font-size: 1.05rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* ── View More Button ── */
.sticky-card-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 36px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.sticky-card-btn:hover {
    background: #ffffff;
    color: var(--bg-navy, #1A2F4C) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.sticky-card-btn .arrow {
    margin-left: 14px;
    transition: transform 0.4s ease;
}

.sticky-card-btn:hover .arrow {
    transform: translateX(6px);
}


@media (max-width: 991px) {
    .sticky-card-body {
        padding: 40px 30px;
    }

    .sticky-card-header {
        padding: 30px 30px 20px;
    }

    .sticky-card-num {
        font-size: 2rem;
    }

    .sticky-card-title {
        font-size: 1.1rem;
    }

    /* Reduce cascading intensity on tablets */
    .sticky-card:nth-child(2) {
        width: 95%;
    }

    .sticky-card:nth-child(3) {
        width: 90%;
    }

    .sticky-card:nth-child(4) {
        width: 85%;
    }

    .sticky-card:nth-child(5) {
        width: 80%;
    }
}



@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-large,
    .bento-wide {
        grid-column: span 2;
    }
}

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

    .bento-large,
    .bento-medium,
    .bento-small,
    .bento-wide {
        grid-column: span 1;
        grid-row: auto;
    }
}

/* =========================================================================
   Column Grid / Insights (Premium Dark Mode)
   ========================================================================= */
.column-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 900px) {
    .column-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

.column-card {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    background: transparent;
}

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

.column-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.column-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

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

.column-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.column-category {
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 4px;
}

.column-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-color);
}

.recruit-banner {
    position: relative;
    width: 100%;
    padding: 120px 5%;
    border-radius: 8px;
    /* Sharp corner */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    margin: 100px 0;
    /* Soft dark overlay instead of heavy shadow */
}

.recruit-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.8s ease;
    z-index: 0;
}

.recruit-banner:hover .recruit-banner-bg {
    transform: scale(1.1);
    opacity: 0.4;
}

.recruit-banner-content {
    position: relative;
    z-index: 1;
}

.recruit-banner-title {
    font-family: var(--font-en-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 10px;
}

/* =========================================================================
   Forms (Contact & Document)
   ========================================================================= */
.form-section {
    padding: var(--section-padding);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
}

.form-group {
    margin-bottom: 40px;
    position: relative;
    text-align: left;
}

.form-label {
    display: block;
    font-family: var(--font-ja-mincho);
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    color: var(--text-color);
    transition: border-color 0.4s ease;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--text-color);
}

.form-control::placeholder {
    color: rgba(0, 0, 0, 0.3);
    font-size: 1rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn-container {
    text-align: center;
    margin-top: 60px;
}

@media (max-width: 767px) {
    .form-container {
        padding: 40px 20px;
    }
}

/* =========================================================================
   8. Premium Service Subpage Components
   ========================================================================= */

/* Hero Section */
.lp-hero {
    position: relative;
    width: 100%;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 5% 60px;
    background: linear-gradient(180deg, #F4F6F9 0%, #1A2F4C 100%);
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.lp-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.lp-hero>* {
    position: relative;
    z-index: 1;
}

.lp-hero .label {
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 25px;
    display: inline-block;
}

.lp-hero h1 {
    font-family: var(--font-ja-mincho);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    line-height: 1.2;
}

.lp-hero .catch {
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.lp-hero .btn.light,
#hero .btn.light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.lp-hero .btn.light span,
#hero .btn.light span {
    color: #ffffff !important;
}

.lp-hero .btn.light:hover,
#hero .btn.light:hover {
    background-color: #ffffff !important;
    color: var(--text-color) !important;
}

.lp-hero .btn.light:hover span,
#hero .btn.light:hover span {
    color: var(--text-color) !important;
}

.lp-hero .sub {
    font-size: 1.05rem;
    line-height: 2;
    opacity: 0.7;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Stats Bar */
.stats-bar {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 5%;
}

.stats-inner {
    max-width: var(--container-large);
    margin: 0 auto;
}

.stats-label {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 30px;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (min-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

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

.stat-metric {
    font-family: var(--font-en-sans);
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.stat-before {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.stat-arrow {
    color: var(--text-color);
    margin: 8px 0;
    font-size: 0.8rem;
}

.stat-after {
    font-size: 2rem;
    font-family: var(--font-en-sans);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.stat-change {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
}

.stats-note {
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 30px;
}

/* =========================================================================
   Hub Cards — Service Overview Page (service.html)
   ========================================================================= */
.hub-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hub-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.hub-content {
    flex: 1;
}

.hub-num {
    font-family: var(--font-en-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(0, 0, 0, 0.25);
    margin-bottom: 6px;
}

.hub-title {
    font-family: var(--font-ja-mincho);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.hub-desc {
    font-family: var(--font-ja-mincho);
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(0, 0, 0, 0.55);
    margin-bottom: 14px;
}

.hub-visual {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-visual-box {
    width: 48px;
    height: 48px;
    border: 1.5px solid rgba(26, 47, 76, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.hub-card:hover .hub-visual-box {
    border-color: rgba(26, 47, 76, 0.5);
    background: rgba(26, 47, 76, 0.04);
}

.hub-visual-box svg {
    width: 22px;
    height: 22px;
    stroke: var(--text-color);
    opacity: 0.5;
}

.hub-card .btn {
    font-size: 0.75rem;
    padding: 8px 20px;
}

@media (max-width: 767px) {
    .hub-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    .hub-visual {
        width: 48px;
        height: 48px;
    }
}

/* Sections */
.lp-sec {
    padding: 60px 5%;
    background-color: #ffffff;
}

.lp-sec.bg-gray {
    background-color: #f8fafc;
}

.lp-sec .inner {
    max-width: var(--container-large);
    margin: 0 auto;
}

.sec-label {
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    text-align: center;
}

.sec-title {
    font-family: var(--font-ja-mincho);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

/* Benefit Grid */
.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 900px) {
    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

.benefit-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.benefit-num {
    font-family: var(--font-en-sans);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
}

/* Linear Features (Alternating Layout) */
.feature-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-visual {
    flex: 1;
    min-width: 300px;
    height: 350px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.fv-num {
    position: absolute;
    top: 30px;
    left: 40px;
    font-family: var(--font-en-serif);
    font-size: 4rem;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
}

.fv-icon {
    font-size: 5rem;
    z-index: 1;
}

.feature-text {
    flex: 1;
    min-width: 300px;
}

.feature-label {
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
}

.feature-text h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
}

.feature-text p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #444;
}

/* Process Timeline */
.process-list {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.process-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 60px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-color);
    z-index: 2;
}

.process-content h3 {
    font-family: var(--font-ja-mincho);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.process-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

/* Service Check List */
.svc-list {
    max-width: 800px;
    margin: 0 auto 50px auto;
    background: #f8fafc;
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.svc-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.svc-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.svc-item:first-child {
    padding-top: 0;
}

.svc-check {
    color: var(--text-color);
    font-weight: 700;
    margin-right: 15px;
    font-size: 1.2rem;
}

.svc-price {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    padding: 30px;
    background: #ffffff;
    border: 2px solid var(--text-color);
    border-radius: 12px;
}

/* FAQ Items */
.faq-item {
    max-width: 800px;
    margin: 0 auto 30px auto;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 30px 40px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.faq-q {
    font-family: var(--font-ja-mincho);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.faq-q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--text-color);
    color: #ffffff;
    border-radius: 50%;
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-a {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    padding-left: 43px;
}

/* Closing CTA */
.closing-cta {
    background: var(--bg-navy);
    color: #ffffff;
    padding: 120px 5%;
    text-align: center;
}

.closing-cta h2 {
    font-family: var(--font-ja-mincho);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    letter-spacing: 0.05em;
    color: #ffffff !important;
}

.closing-cta p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ── Force ALL buttons white inside the dark CTA ── */
.closing-cta .btn {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.closing-cta .btn span {
    color: #ffffff !important;
}

.closing-cta .btn.light {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    background-color: transparent !important;
}

.closing-cta .btn.light span {
    color: #ffffff !important;
}

.closing-cta .btn:hover {
    background-color: #ffffff !important;
    color: var(--bg-navy, #1A2F4C) !important;
    border-color: #ffffff !important;
}

.closing-cta .btn:hover span {
    color: var(--bg-navy, #1A2F4C) !important;
}

.closing-cta .btn::before {
    background-color: #ffffff !important;
}

/* CSS Diagrams Extracted for Dynamic Usage */
.diag-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.diag-circle {
    width: 120px;
    height: 120px;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    position: absolute;
    animation: rotateSlow 20s linear infinite;
}

.diag-core {
    width: 40px;
    height: 40px;
    background: var(--text-color);
    border-radius: 8px;
    z-index: 2;
    transform: rotate(45deg);
}

.diag-orbit {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--text-color);
    border-radius: 50%;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ────────────────────────────────────────────────────────────
 * CV Optimized Orange Button (With Floating Balloon)
 * ──────────────────────────────────────────────────────────── */
.cv-button-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.cv-balloon {
    position: absolute;
    top: -45px;
    background: #ffffff;
    color: #1A2F4C;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    animation: floatBaloon 2s ease-in-out infinite;
    z-index: 2;
    border: 2px solid #1A2F4C;
}

.cv-balloon::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    z-index: 2;
}

.cv-balloon::before {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #1A2F4C transparent transparent transparent;
    z-index: 1;
}

@keyframes floatBaloon {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Redesigned Premium CTA Button (Coral Accent) */
.btn-cv-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background: #1A2F4C;
    color: #ffffff !important;
    text-decoration: none;
    font-family: var(--font-ja-sans);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    min-width: 280px;
}

.btn-cv-orange::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.btn-cv-orange:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.btn-cv-orange:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-cv-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shineLight 3.5s infinite;
}

@keyframes shineLight {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-cv-orange:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 90, 95, 0.5);
    color: #ffffff !important;
}

.btn-cv-orange span.arrow {
    margin-left: 10px;
    transition: transform 0.3s;
}

.btn-cv-orange:hover span.arrow {
    transform: translateX(5px);
}

/* ────────────────────────────────────────────────────────────
 * In-house Business Highlight Card (about.html)
 * ──────────────────────────────────────────────────────────── */
.inhouse-biz-wrapper {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.inhouse-biz-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-decoration: none;
    color: inherit;
}

.inhouse-biz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.inhouse-biz-img {
    width: 100%;
    height: 250px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.inhouse-biz-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.inhouse-biz-card:hover .inhouse-biz-img img {
    transform: scale(1.05);
}

.inhouse-biz-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.inhouse-biz-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1A2F4C;
    background: rgba(26, 47, 76, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    align-self: flex-start;
}

.inhouse-biz-title {
    font-family: var(--font-en-sans);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1A2F4C;
}

.inhouse-biz-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .inhouse-biz-card {
        flex-direction: row;
        align-items: stretch;
    }

    .inhouse-biz-img {
        width: 40%;
        height: auto;
    }

    .inhouse-biz-content {
        width: 60%;
        padding: 50px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

.inhouse-biz-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    /* Other existing properties remain */
}

/* ────────────────────────────────────────────────────────────
 * Ultra-Premium Embedded Contact Form (.cta-form-card)
 * ──────────────────────────────────────────────────────────── */
.cta-form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 680px;
    margin: 0 auto;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: left;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.cta-form-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at top right, rgba(255, 90, 95, 0.1) 0%, transparent 40%),
        radial-gradient(circle at bottom left, rgba(43, 82, 146, 0.2) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.cta-form-card>* {
    position: relative;
    z-index: 1;
}

.cta-form-card h3 {
    text-align: center;
    font-family: var(--font-en-sans);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.cta-form-group {
    margin-bottom: 28px;
}

.cta-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

.cta-form-group label span.req {
    color: #FF5A5F;
    margin-left: 6px;
    font-size: 1.1em;
}

.cta-form-input,
.cta-form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    font-family: inherit;
    font-size: 1rem;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cta-form-input::placeholder,
.cta-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.cta-form-input:focus,
.cta-form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.05), inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cta-form-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: #ffffff;
    color: var(--bg-navy);
    border: none;
    border-radius: 50px;
    padding: 20px 24px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.cta-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
    color: var(--bg-navy);
}

/* ────────────────────────────────────────────────────────────
 * Premium Service Diagram Components (Phase 51)
 * ──────────────────────────────────────────────────────────── */

/* 1. Recruitment Funnel (RPO) */
.premium-funnel {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.funnel-layer {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.funnel-layer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.funnel-layer:hover {
    transform: scale(1.02);
}

.funnel-top {
    width: 100%;
    background: #f8fafc;
    border: 2px solid rgba(0, 21, 41, 0.1);
    color: var(--text-color);
}

.funnel-mid {
    width: 80%;
    background: rgba(0, 21, 41, 0.05);
    border: 2px solid rgba(0, 21, 41, 0.15);
    color: var(--text-color);
}

.funnel-bottom {
    width: 60%;
    background: var(--text-color);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 21, 41, 0.2);
}

.funnel-arrow {
    color: rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    margin: 4px 0;
}

/* 2. A/B Test Cycle (Creative) */
.ab-test-container {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ab-node {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: absolute;
    z-index: 2;
}

.ab-root {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 45px;
    background: #1a1a1a;
    color: #ffffff;
}

.ab-branch-lines {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 40px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
    border-right: 2px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    z-index: 1;
}

.ab-branch-lines::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.ab-var-a {
    top: 105px;
    left: calc(50% - 130px);
    width: 120px;
    height: 70px;
    background: #ffffff;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #666;
}

.ab-var-b {
    top: 105px;
    left: calc(50% + 10px);
    width: 120px;
    height: 70px;
    background: #ffffff;
    border: 2px solid var(--text-color);
    color: var(--text-color);
    box-shadow: 0 8px 25px rgba(0, 21, 41, 0.15);
}

.ab-winner-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--text-color);
    color: #fff;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: bold;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 0.5s;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3. CRM Strategy (LINE) */
.crm-container {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
}

.crm-brand-core {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--text-color) 0%, #2A4060 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0, 21, 41, 0.2);
    position: relative;
}

.crm-brand-core::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(0, 21, 41, 0.1);
    border-radius: 50%;
    animation: pulseRing 3s infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.crm-paths {
    flex: 1;
    height: 100%;
    position: relative;
    margin-left: -20px;
}

.crm-path-line {
    position: absolute;
    left: 0;
    width: 100%;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.crm-path-line.hot {
    top: 20%;
    border-color: rgba(0, 21, 41, 0.3);
}

.crm-path-line.warm {
    top: 50%;
}

.crm-path-line.cold {
    top: 80%;
}

.crm-segment {
    position: absolute;
    right: 0;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.crm-segment.hot {
    top: 20%;
    border: 2px solid var(--text-color);
    color: var(--text-color);
}

.crm-segment.warm {
    top: 50%;
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #555;
}

.crm-segment.cold {
    top: 80%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #888;
    background: #f8fafc;
}

/* =========================================================================
   Service Page UI Components (Phase 56)
   ========================================================================= */

/* Orbital Pain Points */
.pain-orbit-section {
    position: relative;
    padding: 120px 5%;
    background: #f8fafc;
    overflow: hidden;
}

.pain-orbit-wrap {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pain-orbit-center {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 320px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.pain-orbit-cg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    animation: slowRotate 60s linear infinite;
}

.pain-orbit-item {
    position: absolute;
    z-index: 20;
    background: #fff;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 47, 76, 0.1);
    max-width: 280px;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-color);
    animation: float 6s ease-in-out infinite;
}

.pain-orbit-item.pos-1 {
    top: 5%;
    left: 0%;
    animation-delay: 0s;
}

.pain-orbit-item.pos-2 {
    top: 15%;
    right: 0%;
    animation-delay: 1s;
}

.pain-orbit-item.pos-3 {
    bottom: 20%;
    left: -5%;
    animation-delay: 2s;
}

.pain-orbit-item.pos-4 {
    bottom: 10%;
    right: -5%;
    animation-delay: 3s;
}

.pain-orbit-item.pos-5 {
    top: 40%;
    left: -15%;
    animation-delay: 1.5s;
}

.pain-orbit-item.pos-6 {
    top: 50%;
    right: -15%;
    animation-delay: 2.5s;
}

@keyframes slowRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Industry Check Grid */
.industry-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
    margin-top: 50px;
}

.industry-check-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-check-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.industry-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-color);
}

/* Responsive Overrides */
@media (max-width: 900px) {
    .pain-orbit-section {
        padding: 80px 5%;
    }

    .pain-orbit-wrap {
        height: 500px;
        /* Consolidate height for mobile */
        max-width: 100%;
        overflow: visible;
    }

    .pain-orbit-center {
        width: 180px;
        height: 180px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    }

    .pain-orbit-center h2 {
        font-size: 1.1rem !important;
    }

    .pain-orbit-cg {
        width: 300px;
        height: 300px;
        opacity: 0.5;
        display: block;
        /* Ensure it stays visible */
    }

    .pain-orbit-item {
        padding: 12px 15px;
        font-size: 0.75rem;
        max-width: 160px;
        border-radius: 8px;
    }

    /* Tighter radius for mobile items to prevent horizontal overflow */
    .pain-orbit-item.pos-1 {
        top: 2%;
        left: 5%;
    }

    .pain-orbit-item.pos-2 {
        top: 5%;
        right: 5%;
    }

    .pain-orbit-item.pos-3 {
        bottom: 15%;
        left: 0%;
    }

    .pain-orbit-item.pos-4 {
        bottom: 8%;
        right: 0%;
    }

    .pain-orbit-item.pos-5 {
        top: 40%;
        left: -2%;
    }

    .pain-orbit-item.pos-6 {
        top: 45%;
        right: -2%;
    }

    .industry-grid-new {
        grid-template-columns: 1fr;
        /* Stack on narrow mobile if needed, but flex/grid auto handles usually */
    }
}

@media (max-width: 480px) {
    .pain-orbit-wrap {
        height: 450px;
    }

    .pain-orbit-center {
        width: 160px;
        height: 160px;
    }

    .pain-orbit-item {
        max-width: 140px;
        padding: 10px;
    }

    .pain-orbit-item.pos-5,
    .pain-orbit-item.pos-6 {
        display: none;
        /* Hide 5th and 6th items on very small screens to avoid clutter */
    }
}