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

/* =========================================================================
   1. Core Variables & Reset
   ========================================================================= */
* { box-sizing: border-box; }
: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: 'Figtree', sans-serif;
    --font-ja-mincho: 'Noto Serif JP', serif;
    /* Clean corporate mincho feel */
    --font-ja-sans: 'Figtree', 'Zen Kaku Gothic New', sans-serif;

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

    /* LP Specific */
    --lp-navy: #1A2F4C;
    --lp-blue: #2563eb;
}

@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: clip;
    -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(1.8rem, 4vw, 3rem);
    /* 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 */
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px;
        height: 80vh !important; /* Slightly shorter on mobile for better focus */
    }
    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        line-height: 1.3 !important;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    .section {
        padding: 80px 0 !important; /* Tighter padding on mobile */
    }
}

/* 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: 160px; /* Reduced from 200px for better fit in cards */
}

.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: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    color: var(--text-color); /* Default to navy */
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease, color 0.4s ease;
}

/* Specific class for dark heroes where transparent white header is needed */
header.transparent-header {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

header.transparent-header:not(.scrolled) .menu-btn {
    color: #fff;
}

header.transparent-header:not(.scrolled) .header-nav a {
    color: #fff;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px 5%;
    color: var(--text-color) !important;
    text-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.8;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* Default Logo Visibility */
.logo-light {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

.logo-dark {
    opacity: 1;
    visibility: visible;
}

/* Transparent Header: Show Light Logo, Hide Dark Logo */
header.transparent-header:not(.scrolled) .logo-light {
    position: relative;
    opacity: 1;
    visibility: visible;
}

header.transparent-header:not(.scrolled) .logo-dark {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

/* Scrolled or Default Header: Show Dark Logo, Hide Light Logo */
header.scrolled .logo-light,
header:not(.transparent-header) .logo-light {
    position: absolute;
    opacity: 0;
    visibility: hidden;
}

header.scrolled .logo-dark,
header:not(.transparent-header) .logo-dark {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.hero-link:hover {
    padding-left: 10px;
    border-bottom-color: #fff !important;
}

/* =========================================================================
   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%);
    pointer-events: none; /* Prevent interference when hidden */
    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;
}

.menu-btn {
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 10px 5px;
    position: relative;
    z-index: 1001;
    transition: opacity 0.3s ease;
    display: block; /* Visible by default on mobile */
}

.menu-btn:hover {
    opacity: 0.7;
}

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

/* 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;
    }

    /* Header mobile adjustments */
    header {
        padding: 15px 5% !important;
    }

    .logo img {
        height: 32px !important; /* Slightly smaller on mobile */
    }

    .menu-btn {
        padding: 15px 10px !important; /* Even larger hit area on SP */
    }
}

/* 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: inherit; /* Follow header color */
        text-decoration: none;
        font-family: var(--font-ja-sans);
        font-size: 0.8rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        transition: opacity 0.3s ease;
    }

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

    /* 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;
}

@media (max-width: 767px) {
    #mainHeader {
        padding: 15px 5%;
    }
}

/* ── 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;
    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;
    }

    /* Article SP Fix */
    .blog-layout {
        padding: 0 15px !important;
        overflow: hidden;
    }
    .blog-main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .single-post {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .content-format {
        font-size: 1rem;
        line-height: 1.8;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    .content-format img {
        max-width: 100% !important;
        height: auto !important;
        border-radius: 8px;
    }
    .content-format table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 20px 0;
    }
    .content-format * {
        max-width: 100%;
        box-sizing: border-box;
    }

    .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);
}

/* =========================================================================
   Single Article Layout
   ========================================================================= */
.article-page {
    background: #f4f6f9;
    padding: 140px 5% 100px;
    overflow-x: clip;
}

body.single-template #mainHeader,
body.single #mainHeader {
    background-color: rgba(244, 246, 249, 0.98) !important;
    border-bottom: 1px solid rgba(26, 47, 76, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--text-color) !important;
    text-shadow: none !important;
}

body.single-template #mainHeader .menu-btn,
body.single #mainHeader .menu-btn,
body.single-template #mainHeader .header-nav a,
body.single #mainHeader .header-nav a {
    color: var(--text-color) !important;
    text-shadow: none !important;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 920px);
    gap: clamp(28px, 4vw, 72px);
    justify-content: center;
    align-items: start;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
}

.article-main.single-post {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.article-header {
    position: static !important;
    top: auto !important;
    display: block !important;
    width: 100%;
    padding: 0;
    background: transparent;
    margin-bottom: 36px;
}

.article-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    white-space: nowrap;
    color: var(--accent-color);
    font-family: var(--font-en-sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.article-eyebrow::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--accent-color);
    box-shadow: 0 0 0 8px rgba(43, 82, 146, 0.08);
}

.article-main .post-title {
    position: static !important;
    top: auto !important;
    color: var(--text-color);
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: 0.03em;
    margin-bottom: 18px;
}

.article-main .post-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(26, 47, 76, 0.5);
    font-family: var(--font-en-sans);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.article-hero-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 0 52px;
    box-shadow: 0 24px 80px rgba(26, 47, 76, 0.12);
    background: #e8edf5;
}

.article-hero-image img {
    display: block;
    width: 100%;
    height: auto;
}

.article-content {
    color: rgba(26, 47, 76, 0.82);
    font-family: var(--font-ja-mincho);
    font-size: 1.02rem;
    line-height: 2.18;
    word-break: normal;
    overflow-wrap: anywhere;
}

.article-content h2 {
    position: relative;
    color: var(--text-color);
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    font-weight: 800;
    line-height: 1.65;
    margin: 76px 0 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(26, 47, 76, 0.12);
}

.article-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 120px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 999px;
}

.article-content h3 {
    color: var(--text-color);
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.18rem, 1.6vw, 1.45rem);
    font-weight: 800;
    line-height: 1.7;
    margin: 52px 0 18px;
}

.article-content p {
    margin-bottom: 28px;
    opacity: 1;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.article-content figure {
    margin: 44px 0;
}

.article-content ul,
.article-content ol {
    margin: 24px 0 34px 1.4em;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    margin: 42px 0;
    padding: 26px 30px;
    border-left: 4px solid var(--accent-color);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(26, 47, 76, 0.75);
}

.article-sidebar {
    min-width: 0;
    align-self: start;
}

.article-side-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(26, 47, 76, 0.06);
    box-shadow: 0 18px 60px rgba(26, 47, 76, 0.06);
    padding: 28px;
    margin-bottom: 26px;
}

.article-toc-card {
    position: sticky;
    top: 120px;
    z-index: 2;
}

.article-side-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-color);
    font-family: var(--font-ja-mincho);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}

.article-side-title::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 5px;
    background: var(--accent-color);
    box-shadow: 0 0 0 8px rgba(43, 82, 146, 0.08);
}

.article-toc-list,
.article-pickup-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.article-toc-list li {
    margin-bottom: 14px;
}

.article-toc-list a {
    display: block;
    color: rgba(26, 47, 76, 0.72);
    font-family: var(--font-ja-mincho);
    font-size: 0.9rem;
    line-height: 1.75;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.article-toc-list a:hover {
    color: var(--text-color);
    transform: translateX(3px);
}

.article-toc-level-3 {
    padding-left: 16px;
}

.article-toc-level-3 a {
    font-size: 0.84rem;
    opacity: 0.8;
}

.article-side-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--text-color);
    font-family: var(--font-ja-mincho);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 36px rgba(26, 47, 76, 0.08);
}

.article-side-cta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--text-color);
    color: #fff;
}

.article-pickup-list li {
    margin-bottom: 18px;
}

.article-pickup-list a {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.article-pickup-thumb {
    display: block;
    width: 82px;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    background: #e8edf5;
}

.article-pickup-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-pickup-cat {
    display: block;
    color: var(--text-color);
    font-family: var(--font-en-sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.article-pickup-title {
    display: block;
    color: rgba(26, 47, 76, 0.74);
    font-family: var(--font-ja-mincho);
    font-size: 0.82rem;
    line-height: 1.65;
}

.article-back-wrap {
    margin-top: 64px;
    padding-top: 42px;
    border-top: 1px solid rgba(26, 47, 76, 0.1);
    text-align: center;
}

@media (max-width: 1100px) {
    .article-page {
        padding: 120px 20px 80px;
    }

    .article-shell {
        display: block;
        max-width: 760px;
        margin: 0 auto;
        padding: 0;
    }

    .article-sidebar {
        display: none;
    }

    .article-main.single-post {
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    .article-main .post-title {
        font-size: clamp(1.38rem, 6vw, 1.75rem);
        line-height: 1.62;
        margin-bottom: 34px;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

    .article-content {
        font-size: 0.98rem;
        line-height: 2;
        width: 100%;
    }

    .article-content h2 {
        margin-top: 56px;
    }
}

@media (max-width: 600px) {
    .article-page {
        padding: 104px 16px 64px;
    }

    .article-header {
        margin-bottom: 28px;
    }

    .article-eyebrow,
    .article-main .post-meta {
        display: none;
    }

    .article-hero-image {
        margin-bottom: 40px;
        border-radius: 10px;
    }

    .article-content h2 {
        font-size: 1.34rem;
        margin: 48px 0 24px;
    }

    .article-content h3 {
        font-size: 1.12rem;
        margin-top: 38px;
    }
}

/* =========================================================================
   4. Footer
   ========================================================================= */
footer {
    background-color: var(--bg-navy);
    color: #ffffff;
    padding: 40px 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: 12vh; /* Consistent top for stacking */
    height: 580px; /* Fixed height for aligned bottoms */
    min-height: 580px;
    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, perfectly aligned tops ── */
.sticky-card:nth-child(1) {
    z-index: 10;
    width: 100%;
    background-color: rgba(26, 47, 76, 1);
}

.sticky-card:nth-child(2) {
    z-index: 11;
    width: 95%;
    background-color: rgba(30, 54, 86, 1);
}

.sticky-card:nth-child(3) {
    z-index: 12;
    z-index: 12;
    width: 90%;
    background-color: rgba(34, 60, 96, 1);
}

.sticky-card:nth-child(4) {
    top: 12vh;
    z-index: 13;
    width: 85%;
    background-color: rgba(38, 66, 106, 1);
}

.sticky-card:nth-child(5) {
    top: 12vh;
    z-index: 14;
    width: 80%;
    background-color: rgba(42, 72, 116, 1);
    border-radius: 0 0 40px 0;
}

/* ── Mobile (Compact Overlap) ── */
@media (max-width: 767px) {
    .sticky-card {
        min-height: auto;
        padding-bottom: 15px;
        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 {
        min-height: auto;
        height: auto; /* Changed from 520px to auto for better mobile fit */
        border-radius: 0 0 30px 0;
    }

    .sticky-card-body {
        padding: 30px 30px 20px; /* Reduced from 40px to 20px bottom padding */
    }

    .sticky-card-text p {
        font-size: 0.95rem;
        line-height: 1.7;
        margin-bottom: 25px;
    }

    .sticky-card:nth-child(1),
    .sticky-card:nth-child(2),
    .sticky-card:nth-child(3),
    .sticky-card:nth-child(4),
    .sticky-card:nth-child(5) {
        width: 100%;
        border-radius: 0 0 30px 30px;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 767px) {
    .inner,
    .container,
    .container-large {
        padding: 0 8%;
    }
    
    .lany-grid {
        grid-template-columns: 1fr;
    }

    .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;
}

.logo {
    display: flex !important;
    align-items: center;
    position: relative;
    height: 40px;
    width: auto;
}

.logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.4s ease;
}

.logo-dark {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* Default Logic: .transparent-header on Dark Background (Home Hero) */
#mainHeader.transparent-header .logo-light {
    opacity: 1;
}
#mainHeader.transparent-header .logo-dark {
    opacity: 0;
}

/* Scrolled state or Forced solid (Dark logo visible) */
#mainHeader.scrolled .logo-light,
#mainHeader:not(.transparent-header) .logo-light {
    opacity: 0;
}
#mainHeader.scrolled .logo-dark,
#mainHeader:not(.transparent-header) .logo-dark {
    opacity: 1;
}

/* Subpages with white background but .transparent-header by default */
body:not(.home) #mainHeader.transparent-header:not(.scrolled) .logo-light {
    opacity: 0;
}
body:not(.home) #mainHeader.transparent-header:not(.scrolled) .logo-dark {
    opacity: 1;
}

.logo img {
    height: 40px;
    display: block;
}
.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;
    }
}

.lp-sec {
    padding: 80px 5%;
    background-color: #ffffff;
}

@media (max-width: 768px) {
    .lp-sec {
        padding: 50px 8%; /* Increased from 5% to 8% to prevent cramped text */
    }
}

.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;
}

/* Pricing Tables */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

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

.price-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.price-card--popular {
    border: 2px solid #3b82f6; /* Accent blue */
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.1);
}

.price-card__badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #3b82f6;
    color: #fff;
    padding: 4px 15px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    z-index: 2;
}

.price-card__label {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 4px;
    color: #475569;
    margin-bottom: 15px;
    align-self: flex-start;
}

.price-card__title {
    font-family: var(--font-ja-sans);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.price-card__desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 25px;
    line-height: 1.6;
}

.price-card__price {
    font-family: var(--font-ja-sans);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 35px;
    color: #0f172a;
    display: flex;
    align-items: baseline;
}

.price-card__price span {
    font-size: 1rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 5px;
}

.price-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: grid;
    gap: 15px;
}

.price-card__feature {
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.price-card__feature::before {
    content: "✓";
    color: #3b82f6;
    font-weight: 700;
    flex-shrink: 0;
}

.price-card__cta {
    margin-top: auto;
    width: 100%;
    background: #3b82f6;
    color: #fff;
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.price-card__cta:hover {
    background: #2563eb;
}

.price-card--outline .price-card__cta {
    background: #f8fafc;
    color: #1e293b;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.price-card--outline .price-card__cta:hover {
    background: #f1f5f9;
}

.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) */
/* Revised CTA Buttons */
.btn-cta-white {
    display: inline-block;
    background: #fff;
    color: #FF9500;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #FF9500;
    transition: 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-cta-white:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.btn-cta-orange {
    display: inline-block;
    background: #FF9500;
    color: #fff !important;
    padding: 20px 40px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #FF9500;
    transition: 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(255,149,0,0.2);
}
.btn-cta-orange:hover {
    background: #e68600;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255,149,0,0.3);
}

.footer-cta-revised {
    padding: 100px 5%;
    background: #1A2F4C;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-cta-revised .inner {
    max-width: 800px;
    margin: 0 auto;
}
.footer-cta-revised .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.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 */
    }
}

/* =========================================================================
   20. Service Page Layout Redesign (Karitoru-kun Style)
   ========================================================================= */

/* Highlight Marker */
.marker-line {
    background: linear-gradient(transparent 60%, rgba(43, 82, 146, 0.15) 60%);
    display: inline-block;
}

/* Hero Catchphrase Box */
.lp-catch-box {
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 20px 60px;
    margin: 40px auto 20px;
    display: inline-block;
}

.lp-catch-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--text-color);
    margin: 0;
    line-height: 1.2;
}

.lp-catch-box .accent-text {
    color: var(--highlight);
    font-size: 1.2em;
}

/* Hero Metrics Boxes */
.hero-metrics {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    max-width: 600px;
}

.metric-box {
    background: var(--bg-navy);
    color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.metric-box__icon {
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.metric-box__icon svg {
    width: 20px;
    height: 20px;
    color: var(--bg-navy);
}

.metric-box__val {
    font-size: 1.4rem;
    font-weight: 900;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-box__label {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.9;
}

/* Hero Content Wrapper */
.lp-hero__content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.lp-hero__main-row {
    display: flex;
    width: 100%;
    gap: 40px;
    align-items: center;
}

.lp-hero__text {
    flex: 1.2;
    text-align: left;
}

.lp-hero__visual {
    flex: 1;
    position: relative;
    height: 350px;
}

/* Floating Elements in Visual Area */
.floating-circle {
    position: absolute;
    background: var(--bg-navy);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Trouble Bubbles */
.trouble-bubble-container {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    height: 400px;
}

.trouble-bubble {
    position: absolute;
    background: #f8fafc;
    border-radius: 40px;
    padding: 25px 35px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    width: 300px;
    z-index: 10;
    line-height: 1.6;
}

.trouble-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 15px 15px 0;
    border-style: solid;
    border-color: #f8fafc transparent transparent transparent;
}

.bubble-center-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 180px;
    font-weight: 900;
    color: var(--highlight);
    opacity: 0.08;
    z-index: 0;
    user-select: none;
}

/* Relation Diagram Section */
.service-about {
    text-align: center;
    padding: var(--section-padding);
}

.service-about__title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.service-about__sub {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 40px;
    opacity: 0.8;
}

.relation-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid rgba(26, 47, 76, 0.08);
    border-radius: 40px;
    padding: 50px 60px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.diagram-node {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram-node__visual {
    width: 160px;
    height: 160px;
    background: #f1f5f9;
    border-radius: 50%;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.diagram-node__label {
    background: #f1f5f9;
    font-weight: 700;
    padding: 8px 25px;
    border-radius: 20px;
    display: inline-block;
    font-size: 0.85rem;
}

.diagram-arrow-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.arrow-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 900;
    font-size: 0.9rem;
    color: var(--highlight);
}

.arrow-line {
    flex: 1;
    height: 2px;
    border-top: 2px dashed var(--highlight);
    position: relative;
}

.arrow-line--to::after {
    content: '▶';
    position: absolute;
    right: -10px;
    top: -9px;
    font-size: 14px;
}

.arrow-line--from::after {
    content: '◀';
    position: absolute;
    left: -10px;
    top: -9px;
    font-size: 14px;
}

/* Numbered Strength Layout */
.strength-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.strength-row {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.strength-row__num {
    width: 100px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.strength-row__num span {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--highlight);
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en-serif);
    font-style: italic;
    font-size: 2rem;
}

.strength-row__header {
    width: 250px;
    background: rgba(26, 47, 76, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-weight: 700;
    text-align: center;
    font-size: 1rem;
    line-height: 1.5;
}

.strength-row__body {
    flex: 1;
    padding: 30px;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Scope Cards New */
.scope-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.scope-feature-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
}

.scope-feature-card__icon {
    height: 80px;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.scope-feature-card h3 {
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.scope-feature-card p {
    font-size: 0.9rem;
    text-align: left;
    color: #475569;
    line-height: 1.8;
}

/* Director Section */
.director-intro {
    background: #f1f5f9;
    padding: var(--section-padding);
    text-align: center;
}

.director-scroll-area {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 40px 0;
    scrollbar-width: none;
    snap-type: x mandatory;
}

.director-scroll-area::-webkit-scrollbar { display: none; }

.director-card-new {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    padding: 40px;
    width: 380px;
    flex-shrink: 0;
    snap-align: center;
    text-align: left;
}

.director-card-new__photo {
    width: 120px;
    height: 120px;
    background: var(--bg-navy);
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
}

.director-card-new h4 {
    color: var(--highlight);
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.director-card-new h4::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--highlight);
    opacity: 0.2;
}

.director-card-new p {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Sticky Flow Footer style link */
.floating-cta-lite {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
    width: 280px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta-lite:hover { transform: translateY(-5px); }

.floating-cta-lite__top {
    background: #f1f5f9;
    padding: 8px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
}

.floating-cta-lite__banner {
    background: var(--bg-navy);
    color: #ffffff;
    padding: 10px;
    text-align: center;
    font-weight: 900;
    font-size: 1rem;
}

.floating-cta-lite__main {
    padding: 15px;
    text-align: center;
    font-weight: 900;
    font-size: 0.95rem;
    color: var(--highlight);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .lp-hero__main-row { flex-direction: column; text-align: center; }
    .lp-hero__text { text-align: center; }
    .lp-hero__visual { display: none; }
    .hero-metrics { margin: 30px auto 0; flex-direction: column; }
    
    .lp-catch-box { padding: 15px 25px !important; margin: 20px auto 10px !important; border-radius: 20px !important; }
    .lp-catch-box h2 { font-size: 1.6rem !important; line-height: 1.4 !important; }
    .service-about__title span.marker-line { font-size: 1.5rem !important; line-height: 1.6 !important; padding: 0 5px; }

    .trouble-bubble-container { height: auto !important; display: flex !important; flex-direction: column !important; align-items: center !important; gap: 20px !important; margin-top: 40px !important; }
    .trouble-bubble { position: relative !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: 90% !important; max-width: 320px !important; margin: 0 auto !important; }
    .bubble-center-mark { display: none !important; }

    .price-card__badge { right: 50% !important; transform: translateX(50%) !important; }
    .price-card { margin-top: 20px; text-align: center; align-items: center; }
    .price-card__label { align-self: center !important; }
    
    .relation-diagram { flex-direction: column; padding: 30px 15px !important; gap: 20px; border-radius: 20px !important; }
    .diagram-arrow-group { transform: none !important; margin: 20px 0 !important; gap: 20px !important; align-items: center !important;  }
    
    .arrow-line--to::after { content: '▼' !important; right: 50% !important; top: 10px !important; transform: translateX(50%) !important; }
    .arrow-line--from::after { content: '▲' !important; left: 50% !important; top: -20px !important; transform: translateX(-50%) !important; }
    .arrow-line { height: 30px !important; width: 2px !important; border-top: none !important; border-left: 2px dashed var(--highlight) !important; margin: 10px auto !important; }
    
    .strength-row { flex-direction: column; }
    .strength-row__num { width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .strength-row__header { width: 100%; }
    .director-card-new { width: 100% !important; max-width: 320px !important; padding: 25px; margin: 0 auto !important; }
    
    .fixed-mobile-cta { right: 15px !important; bottom: 15px !important; }
    .fixed-mobile-cta .btn-cv-orange { padding: 12px 20px !important; font-size: 0.8rem !important; }
}

.fixed-mobile-cta {
    position: fixed; 
    right: 30px; 
    bottom: 30px; 
    z-index: 100;
}
.fixed-mobile-cta .btn-cv-orange {
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
}
/* =========================================================================
   LP-style Service Pages (Revised Design)
   ========================================================================= */

.rev-hero {
    background-color: var(--lp-navy);
    color: #fff;
    padding: 160px 5% 100px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.rev-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 991px) {
    .rev-hero {
        padding: 100px 20px 40px;
        text-align: center;
        border-radius: 0 0 20px 20px;
    }
    .rev-hero__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.rev-hero__content h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 30px;
    font-family: var(--font-ja-sans);
}

.rev-hero__content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 40px;
}

.rev-hero__visual img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-revised {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: var(--lp-navy);
    padding: 20px 48px;
    border-radius: 100px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-revised:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

.lp-sec-rev {
    padding: 120px 5%;
}

@media (max-width: 768px) {
    .lp-sec-rev { padding: 60px 20px; }
}

.sec-title-rev {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 80px;
    color: var(--lp-navy);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .sec-title-rev { font-size: 1.8rem; margin-bottom: 40px; }
}

.val-grid-rev {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (max-width: 640px) {
    .val-grid-rev { grid-template-columns: 1fr; }
}

.val-card-rev {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(26, 47, 76, 0.06);
    border: 1px solid rgba(26, 47, 76, 0.04);
    transition: transform 0.4s ease;
}

@media (max-width: 768px) {
    .val-card-rev { border-radius: 16px; }
    .val-card-rev__img { height: 140px !important; }
    .val-card-rev__body { padding: 20px !important; }
    .val-card-rev__title { font-size: 1rem !important; }
}

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

.val-card-rev__img {
    height: 220px;
    overflow: hidden;
}

.val-card-rev__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.val-card-rev__body {
    padding: 35px;
}

.val-card-rev__num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--lp-blue);
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    display: block;
}

.val-card-rev__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--lp-navy);
    line-height: 1.5;
}

.prob-bubble-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.prob-bubble {
    background: #fff;
    border: 1.5px solid var(--lp-navy);
    padding: 18px 32px;
    border-radius: 100px;
    font-weight: 700;
    color: var(--lp-navy);
    font-size: 0.95rem;
    position: relative;
}

@media (max-width: 768px) {
    .prob-bubble { padding: 14px 24px; font-size: 0.85rem; }
}

.prob-bubble::after {
    content: '?';
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--lp-navy);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.comp-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 60px;
    border-radius: 24px;
}

.comp-table-rev {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
}

.comp-table-rev th, .comp-table-rev td {
    padding: 24px;
    border-bottom: 1px solid #f0f4f8;
    text-align: center;
    font-size: 1rem;
}

.comp-table-rev th {
    background: #f8fafc;
    color: var(--lp-navy);
    font-weight: 800;
}

.comp-table-rev .sp-column {
    background: rgba(26, 47, 76, 0.02);
    border-left: 2px solid var(--lp-navy);
    border-right: 2px solid var(--lp-navy);
}

.comp-table-rev .sp-column.head {
    background: var(--lp-navy);
    color: #fff;
}

.metrics-bar {
    background: var(--lp-navy);
    padding: 60px 5%;
    color: #fff;
    margin: 100px 0;
}

.metrics-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

.metric-label { font-size: 0.8rem; opacity: 0.6; margin-bottom: 8px; }
.metric-val { font-size: 1.8rem; font-weight: 900; }

.flow-grid-rev {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

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

@media (max-width: 480px) {
    .flow-grid-rev { grid-template-columns: 1fr; }
}

.step-card-rev {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card-rev:hover {
    border-color: var(--lp-navy);
    transform: translateY(-5px);
}

.step-num-rev {
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(26, 47, 76, 0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.step-card-rev h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--lp-navy);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-card-rev p {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.7;
}

.closing-cta-rev {
    background: var(--lp-navy);
    padding: 100px 5%;
    text-align: center;
    color: #fff;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}

/* Mobile Menu Button Visibility */
header.transparent-header .menu-btn {
    color: #fff !important;
}
header.scrolled .menu-btn {
    color: var(--text-color) !important;
}
header:not(.transparent-header):not(.scrolled) .menu-btn {
    color: var(--text-color);
}

/* =========================================================================
   Service LP Design System (Premium Styles)
   ========================================================================= */
:root {
    --lp-navy: #1A2F4C;
    --lp-blue: #2B5292;
    --lp-bg-light: #F8FAFC;
}

.sc-title { text-align: center; font-size: 2.2rem; font-weight: 900; color: var(--lp-navy); margin-bottom: 60px; letter-spacing: 0.05em; position: relative; padding-top: 20px; font-family: var(--font-ja-sans); }
.sc-title::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(90deg, var(--lp-blue), #00a0e9); border-radius: 4px; }
.sc-subtitle { text-align: center; font-size: 1rem; color: var(--lp-blue); font-weight: 700; letter-spacing: 0.1em; margin-bottom: 10px; font-family: var(--font-ja-sans); }

/* Pain Points Section */
.pain-section { background-color: #f8fafc; padding: 100px 5%; }
.pain-header-bubble { background: #fff; color: var(--lp-navy); border: 2px solid var(--lp-navy); border-radius: 40px; padding: 20px 40px; display: inline-block; font-weight: 800; font-size: 1.5rem; margin-bottom: 40px; position: relative; font-family: var(--font-ja-sans); }
.pain-header-bubble::after { content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%); border-top: 15px solid var(--lp-navy); border-left: 15px solid transparent; border-right: 15px solid transparent; }
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
@media(max-width:768px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.03); display: flex; align-items: center; gap: 15px; font-weight: 700; color: var(--lp-navy); font-family: var(--font-ja-sans); }
.pain-card .icon { color: #00a0e9; font-size: 1.5rem; }

/* Features Section (ZigZag) */
.feature-section { padding: 120px 5%; background: #fff; }
.feature-row { display: flex; align-items: center; justify-content: space-between; max-width: 1000px; margin: 0 auto 80px; gap: 60px; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
@media(max-width:768px) { .feature-row, .feature-row:nth-child(even) { flex-direction: column; text-align: center; gap: 30px; } }
.feat-img { flex: 1; text-align: center; }
.feat-img img { width: 100%; max-width: 400px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 40px rgba(26,47,76,0.1); }
.feat-content { flex: 1; }
.feat-badge { display: inline-block; background: linear-gradient(135deg, var(--lp-blue), #00a0e9); color: #fff; font-size: 1rem; font-weight: 900; padding: 8px 16px; border-radius: 20px; margin-bottom: 20px; font-family: var(--font-en-sans); }
.feat-title { font-size: 1.6rem; font-weight: 900; color: var(--lp-navy); line-height: 1.4; margin-bottom: 20px; font-family: var(--font-ja-sans); }
.feat-desc { font-size: 1rem; line-height: 1.8; opacity: 0.8; color: var(--lp-navy); font-family: var(--font-ja-sans); }

/* Flow Section */
.flow-section { padding: 100px 5%; background: #fff; }
.flow-timeline { max-width: 600px; margin: 0 auto; position: relative; }
.flow-timeline::before { content: ''; position: absolute; top: 20px; bottom: 20px; left: 28px; width: 4px; background: var(--lp-navy); border-radius: 2px; }
.flow-step { position: relative; padding-left: 80px; margin-bottom: 40px; }
.flow-circle { position: absolute; left: 0; top: 0; width: 60px; height: 60px; background: #fff; border: 4px solid var(--lp-navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem; color: var(--lp-navy); z-index: 2; font-family: var(--font-en-sans); }
.flow-title { font-size: 1.3rem; font-weight: 800; color: var(--lp-navy); margin-bottom: 10px; padding-top: 15px; font-family: var(--font-ja-sans); }
.flow-desc { font-size: 0.95rem; line-height: 1.6; opacity: 0.8; background: #f8fafc; padding: 20px; border-radius: 8px; font-family: var(--font-ja-sans); }

/* Comparison/Pricing Table */
.comp-section { background: #f8fafc; padding: 100px 5%; }
.comp-table { width: 100%; max-width: 1000px; margin: 0 auto; border-collapse: separate; border-spacing: 0; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-radius: 16px; overflow: hidden; font-family: var(--font-ja-sans); }
.comp-table th, .comp-table td { padding: 20px; text-align: center; border-bottom: 1px solid #eee; border-right: 1px solid #eee; }
.comp-table th:last-child, .comp-table td:last-child { border-right: none; }
.comp-table .head-item { background: #f0f4f8; font-weight: 800; color: var(--lp-navy); }
.comp-table .head, .comp-table .head-strat { background: linear-gradient(135deg, var(--lp-navy), var(--lp-blue)); color: #fff; font-size: 1.2rem; font-weight: 900; }
.comp-table .col-strat, .comp-table .sp-column { background: rgba(14,95,217,0.03); font-weight: 800; color: var(--lp-navy); }
.maru { color: #00a0e9; font-weight: 900; font-size: 1.2rem; }

/* FAQ Section */
.faq-section { background: #f8fafc; padding: 100px 5%; }
.faq-box { max-width: 800px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); margin-bottom: 20px; font-family: var(--font-ja-sans); }
.faq-box-q { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.q-badge { width: 40px; height: 40px; background: var(--lp-navy); color: #fff; font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; font-family: var(--font-en-sans); }
.q-text { font-size: 1.1rem; font-weight: 800; color: var(--lp-navy); margin-top: 8px; }
.faq-box-a { display: flex; gap: 20px; align-items: flex-start; padding-top: 20px; border-top: 1px dashed #ddd; }
.a-badge { width: 40px; height: 40px; background: #00a0e9; color: #fff; font-weight: 900; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; border-radius: 8px; flex-shrink: 0; font-family: var(--font-en-sans); }
.a-text { font-size: 0.95rem; line-height: 1.7; opacity: 0.8; margin-top: 8px; }

/* LP CTA Button */
.btn-revised {
    display: inline-flex; align-items: center; background: #fff; color: var(--lp-navy); padding: 20px 48px; border-radius: 100px; font-weight: 800; text-decoration: none; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); font-family: var(--font-ja-sans);
}
.btn-revised:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); background: #f8fafc; color: var(--lp-navy); }

/* Hero Base for LP */
.rev-hero { padding: 160px 5% 100px; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; font-family: var(--font-ja-sans); }
.rev-hero__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 991px) {
    .rev-hero { padding: 100px 20px 40px !important; text-align: center; }
    .rev-hero__inner { grid-template-columns: 1fr !important; gap: 30px !important; }
}
