/* =========================================
   TWOSTONE AIvita - Global Stylesheet
   ========================================= */

:root {
    --color-primary: #1E3A6F;
    --color-primary-light: #2C4F8C;
    --color-primary-dark: #15295A;
    --color-accent: #C9A451;
    --color-accent-dark: #A98937;
    --color-accent-light: #D9BB6E;
    --color-gold: #C9A451;
    --color-bg: #FFFFFF;
    --color-bg-section: #F5F7FB;
    --color-bg-dark: #0F1F3D;
    --color-text: #1A1A1A;
    --color-text-light: #5A6478;
    --color-text-inverse: #FFFFFF;
    --color-border: #E4E8F0;
    --color-success: #10B981;

    --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    --font-en: "Inter", "Helvetica Neue", Arial, sans-serif;

    --container-max: 1200px;
    --header-height: 80px;

    --shadow-sm: 0 2px 8px rgba(10, 25, 41, 0.06);
    --shadow-md: 0 8px 24px rgba(10, 25, 41, 0.08);
    --shadow-lg: 0 16px 48px rgba(10, 25, 41, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    line-height: 1.75;
    font-size: 16px;
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--color-accent);
}

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

/* =========================================
     Header
     ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #FFFFFF;
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    max-width: 100vw;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-wrap: nowrap;
    min-width: 0;
    overflow: visible;
}

.site-logo {
    min-width: 0;
    flex-shrink: 1;
}

.site-logo-text {
    min-width: 0;
}

.menu-toggle {
    flex-shrink: 0;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--color-primary);
    line-height: 1;
}

.site-logo img {
    height: 48px;
    width: auto;
    display: block;
    background: #FFFFFF;
    mix-blend-mode: multiply;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-logo-text .ko {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-light);
    letter-spacing: 0.18em;
}

.site-logo-text .en {
    font-family: var(--font-en);
    font-size: 19px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.08em;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-main>a,
.nav-item-dropdown>a {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
}

.nav-main>a:hover,
.nav-item-dropdown>a:hover {
    color: var(--color-accent);
}

.nav-main .nav-cta {
    background: var(--color-primary);
    color: var(--color-text-inverse);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
}

.nav-main .nav-cta:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Dropdown menu */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-item-dropdown>a {
    padding: 28px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-item-dropdown>a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    margin-left: 2px;
    transition: transform 0.2s;
}

.nav-item-dropdown:hover>a::after,
.nav-item-dropdown:focus-within>a::after {
    transform: rotate(225deg) translate(-2px, -2px);
}

.nav-item-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 100;
    border-radius: var(--radius-md);
    margin-top: -8px;
    border-top: 3px solid var(--color-accent);
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-item-dropdown .dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    letter-spacing: 0.02em;
    transition: all 0.15s ease;
}

.nav-item-dropdown .dropdown-menu a:hover {
    background: var(--color-bg-section);
    color: var(--color-accent);
    padding-left: 22px;
}

/* Japanese line-break optimization (prevents orphan characters) */
.section-head p,
.service-card p,
.phase-card p,
.callout p,
.feature-text p,
.philosophy-card p,
.hero-desc,
.tri-x-card p,
.page-header .lead {
    text-wrap: pretty;
    word-break: auto-phrase;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    margin: 5px 0;
    transition: 0.3s;
}

/* =========================================
     Hero
     ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: var(--header-height);
    padding-bottom: 40px;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    color: var(--color-text-inverse);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner {
    display: block;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 680px;
    position: relative;
}

/* === Background video FX === */
.hero-fx-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background: var(--color-primary-dark);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-fx-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg,
            rgba(11, 21, 41, 0.88) 0%,
            rgba(11, 21, 41, 0.72) 38%,
            rgba(11, 21, 41, 0.35) 62%,
            rgba(11, 21, 41, 0.10) 85%,
            rgba(11, 21, 41, 0.00) 100%);
}

/* fade the bottom edge into the next section */
.hero-fx-bg::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(11, 21, 41, 0) 0%, rgba(11, 21, 41, 0.9) 100%);
    pointer-events: none;
}

/* --- light beam flow animation --- */
@keyframes fx-flow {
    0% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -1800;
        opacity: 0;
    }
}

@keyframes fx-flow-fast {
    0% {
        stroke-dashoffset: 0;
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    85% {
        opacity: 1;
    }

    100% {
        stroke-dashoffset: -1400;
        opacity: 0;
    }
}

.fx-beam {
    stroke-dasharray: 14 1800;
    stroke-dashoffset: 0;
    animation: fx-flow 5.5s linear infinite;
    filter: drop-shadow(0 0 4px rgba(242, 198, 106, 0.6));
}

.fx-beam-1 {
    animation-delay: 0s;
}

.fx-beam-2 {
    animation-delay: 0.7s;
}

.fx-beam-3 {
    animation-delay: 1.4s;
}

.fx-beam-4 {
    animation-delay: 2.1s;
}

.fx-beam-5 {
    animation-delay: 0.4s;
}

.fx-beam-6 {
    animation-delay: 1.1s;
}

.fx-beam-7 {
    animation-delay: 1.8s;
}

.fx-beam-fast-1,
.fx-beam-fast-2,
.fx-beam-fast-3,
.fx-beam-fast-4 {
    stroke-dasharray: 8 1400;
    animation: fx-flow-fast 3.2s linear infinite;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.55));
}

.fx-beam-fast-1 {
    animation-delay: 0.2s;
}

.fx-beam-fast-2 {
    animation-delay: 1.0s;
}

.fx-beam-fast-3 {
    animation-delay: 1.8s;
}

.fx-beam-fast-4 {
    animation-delay: 2.5s;
}

/* --- core animations --- */
@keyframes fx-pulse-a {

    0%,
    100% {
        scale: 1;
        opacity: 0.85;
    }

    50% {
        scale: 1.12;
        opacity: 0.45;
    }
}

@keyframes fx-pulse-b {

    0%,
    100% {
        scale: 1;
        opacity: 1;
    }

    50% {
        scale: 1.18;
        opacity: 0.6;
    }
}

@keyframes fx-nucleus {

    0%,
    100% {
        scale: 1;
    }

    50% {
        scale: 1.25;
    }
}

@keyframes fx-halo {

    0%,
    100% {
        scale: 1;
        opacity: 0.95;
    }

    50% {
        scale: 1.08;
        opacity: 0.75;
    }
}

@keyframes fx-rotate {
    to {
        rotate: 360deg;
    }
}

@keyframes fx-rotate-rev {
    to {
        rotate: -360deg;
    }
}

.fx-core-halo,
.fx-core-halo-2,
.fx-core-pulse-a,
.fx-core-pulse-b,
.fx-core-nucleus,
.fx-core-rays,
.fx-core-ring,
.fx-core-ring-rev {
    transform-box: fill-box;
    transform-origin: center;
}

.fx-core-halo {
    animation: fx-halo 6s ease-in-out infinite;
}

.fx-core-halo-2 {
    animation: fx-halo 4.5s ease-in-out infinite;
    animation-delay: -1s;
}

.fx-core-pulse-a {
    animation: fx-pulse-a 3.4s ease-in-out infinite;
}

.fx-core-pulse-b {
    animation: fx-pulse-b 2.4s ease-in-out infinite;
}

.fx-core-nucleus {
    animation: fx-nucleus 2s ease-in-out infinite;
}

.fx-core-rays {
    animation: fx-rotate 40s linear infinite;
    transform-origin: 1200px 320px;
}

.fx-core-ring {
    animation: fx-rotate 60s linear infinite;
    transform-origin: 1200px 320px;
}

.fx-core-ring-rev {
    animation: fx-rotate-rev 75s linear infinite;
    transform-origin: 1200px 320px;
}

/* --- particle twinkles --- */
@keyframes fx-twinkle {

    0%,
    100% {
        opacity: var(--p-base, 0.4);
    }

    50% {
        opacity: 0.05;
    }
}

.fx-particle {
    animation: fx-twinkle 4s ease-in-out infinite;
}

.fx-p1 {
    animation-duration: 3.8s;
    animation-delay: 0s;
}

.fx-p2 {
    animation-duration: 4.6s;
    animation-delay: 0.5s;
}

.fx-p3 {
    animation-duration: 5.2s;
    animation-delay: 1.1s;
}

.fx-p4 {
    animation-duration: 4.2s;
    animation-delay: 1.7s;
}

.fx-p5 {
    animation-duration: 5.8s;
    animation-delay: 2.3s;
}

/* --- spark emission from core (radial outward shoots) --- */
@keyframes fx-spark-1 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: -260px -180px;
        opacity: 0;
    }
}

@keyframes fx-spark-2 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: 220px -150px;
        opacity: 0;
    }
}

@keyframes fx-spark-3 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: -200px 200px;
        opacity: 0;
    }
}

@keyframes fx-spark-4 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: 240px 180px;
        opacity: 0;
    }
}

@keyframes fx-spark-5 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: -300px 60px;
        opacity: 0;
    }
}

@keyframes fx-spark-6 {
    0% {
        translate: 0 0;
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        translate: 280px 40px;
        opacity: 0;
    }
}

.fx-spark {
    transform-box: fill-box;
}

.fx-sp1 {
    animation: fx-spark-1 4.5s ease-out infinite;
    animation-delay: 0s;
}

.fx-sp2 {
    animation: fx-spark-2 4.5s ease-out infinite;
    animation-delay: 0.7s;
}

.fx-sp3 {
    animation: fx-spark-3 4.5s ease-out infinite;
    animation-delay: 1.4s;
}

.fx-sp4 {
    animation: fx-spark-4 4.5s ease-out infinite;
    animation-delay: 2.1s;
}

.fx-sp5 {
    animation: fx-spark-5 4.5s ease-out infinite;
    animation-delay: 2.8s;
}

.fx-sp6 {
    animation: fx-spark-6 4.5s ease-out infinite;
    animation-delay: 3.5s;
}

@media (prefers-reduced-motion: reduce) {

    .fx-beam,
    .fx-beam-fast-1,
    .fx-beam-fast-2,
    .fx-beam-fast-3,
    .fx-beam-fast-4,
    .fx-core-halo,
    .fx-core-halo-2,
    .fx-core-pulse-a,
    .fx-core-pulse-b,
    .fx-core-nucleus,
    .fx-core-rays,
    .fx-core-ring,
    .fx-core-ring-rev,
    .fx-particle,
    .fx-spark {
        animation: none;
    }
}

@keyframes float-up {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-ring {
    0% {
        scale: 0.85;
        opacity: 0.9;
    }

    50% {
        scale: 1.05;
        opacity: 0.35;
    }

    100% {
        scale: 0.85;
        opacity: 0.9;
    }
}

@keyframes rotate-slow {
    from {
        rotate: 0deg;
    }

    to {
        rotate: 360deg;
    }
}

@keyframes rotate-reverse {
    from {
        rotate: 360deg;
    }

    to {
        rotate: 0deg;
    }
}

@keyframes orbit-dot {
    0% {
        transform: rotate(0deg) translateX(140px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(140px) rotate(-360deg);
    }
}

@keyframes data-flow {
    0% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke-dashoffset: -40;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-meta {
    animation: float-up 0.8s ease 0.1s both;
}

.hero-title {
    animation: float-up 0.9s ease 0.25s both;
}

.hero-desc {
    animation: float-up 0.9s ease 0.45s both;
}

.hero-actions {
    animation: float-up 0.9s ease 0.6s both;
}

.hero-fx-bg {
    animation: float-up 1.4s ease 0.35s both;
}

.hero-title .shimmer {
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-light) 25%, #FFFFFF 50%, var(--color-accent-light) 75%, var(--color-accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4.5s ease-in-out infinite;
    display: inline-block;
    white-space: nowrap;
}

.kv-ring {
    transform-origin: center;
    transform-box: fill-box;
}

.kv-ring-1 {
    animation: rotate-slow 30s linear infinite;
    transform-origin: 280px 280px;
}

.kv-ring-2 {
    animation: rotate-reverse 45s linear infinite;
    transform-origin: 280px 280px;
}

.kv-pulse {
    animation: pulse-ring 3s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

.kv-node {
    animation: blink 2.4s ease-in-out infinite;
}

.kv-node-2 {
    animation-delay: 0.4s;
}

.kv-node-3 {
    animation-delay: 0.8s;
}

.kv-node-4 {
    animation-delay: 1.2s;
}

.kv-node-5 {
    animation-delay: 1.6s;
}

.kv-node-6 {
    animation-delay: 2.0s;
}

.kv-flow {
    stroke-dasharray: 6 8;
    animation: data-flow 1.6s linear infinite;
}

@keyframes particle-float {

    0%,
    100% {
        translate: 0 0;
        opacity: 0.3;
    }

    25% {
        translate: 4px -8px;
        opacity: 0.7;
    }

    50% {
        translate: -4px -4px;
        opacity: 1;
    }

    75% {
        translate: 2px -12px;
        opacity: 0.5;
    }
}

@keyframes sparkle {

    0%,
    100% {
        scale: 0.6;
        opacity: 0.2;
    }

    50% {
        scale: 1.1;
        opacity: 1;
    }
}

@keyframes orbit-pulse {

    0%,
    100% {
        stroke-opacity: 0.3;
    }

    50% {
        stroke-opacity: 0.8;
    }
}

.kv-particle {
    transform-origin: center;
    transform-box: fill-box;
    animation: particle-float 5s ease-in-out infinite;
}

.kv-particle-2 {
    animation-delay: 0.8s;
    animation-duration: 6s;
}

.kv-particle-3 {
    animation-delay: 1.6s;
    animation-duration: 7s;
}

.kv-particle-4 {
    animation-delay: 2.4s;
    animation-duration: 5.5s;
}

.kv-particle-5 {
    animation-delay: 0.3s;
    animation-duration: 6.5s;
}

.kv-sparkle {
    transform-origin: center;
    transform-box: fill-box;
    animation: sparkle 2.5s ease-in-out infinite;
}

.kv-sparkle-2 {
    animation-delay: 0.5s;
}

.kv-sparkle-3 {
    animation-delay: 1s;
}

.kv-sparkle-4 {
    animation-delay: 1.5s;
}

.kv-mesh {
    animation: orbit-pulse 3s ease-in-out infinite;
}

.kv-ring-3 {
    animation: rotate-slow 60s linear infinite;
    transform-origin: 280px 280px;
}

/* Operation & Enablement illustration animations */
@keyframes draw-line {
    0% {
        stroke-dashoffset: 800;
    }

    60%,
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes star-spin {

    0%,
    100% {
        rotate: 0deg;
        scale: 1;
    }

    50% {
        rotate: 180deg;
        scale: 1.1;
    }
}

@keyframes badge-bounce {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -3px;
    }
}

@keyframes milestone-pop {

    0%,
    100% {
        scale: 1;
    }

    50% {
        scale: 1.15;
    }
}

@keyframes beam-pulse {

    0%,
    100% {
        stroke-opacity: 0.3;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-opacity: 0.9;
    }

    100% {
        stroke-dashoffset: -18;
    }
}

.op-growth-line {
    stroke-dasharray: 800;
    animation: draw-line 4s ease-out both;
}

.op-area {
    animation: draw-line 4.2s ease-out both;
}

.op-star {
    transform-origin: center;
    transform-box: fill-box;
    animation: star-spin 8s ease-in-out infinite;
}

.op-badge {
    transform-origin: center;
    transform-box: fill-box;
    animation: badge-bounce 3s ease-in-out infinite;
}

.op-badge-2 {
    animation-delay: 0.6s;
}

.op-milestone {
    transform-origin: center;
    transform-box: fill-box;
    animation: milestone-pop 3s ease-in-out infinite;
}

.op-milestone-2 {
    animation-delay: 0.6s;
}

.op-milestone-3 {
    animation-delay: 1.2s;
}

.op-milestone-4 {
    animation-delay: 1.8s;
}

.op-beam {
    stroke-dasharray: 6 6;
    animation: beam-pulse 2.5s linear infinite;
}

.op-aivita-figure {
    transform-origin: center;
    transform-box: fill-box;
    animation: particle-float 4s ease-in-out infinite;
}

.op-aivita-figure-2 {
    animation-delay: 0.5s;
}

.op-aivita-figure-3 {
    animation-delay: 1s;
}

.op-aivita-figure-4 {
    animation-delay: 1.5s;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 18% 28%, rgba(201, 164, 81, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 82% 70%, rgba(44, 79, 140, 0.35) 0%, transparent 55%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 80%);
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: clamp(20px, 4vw, 64px);
    padding-right: 24px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 24px;
    border-left: 2px solid var(--color-accent);
    padding-left: 16px;
}

.hero-title {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: 0.005em;
}

.hero-title span.accent {
    color: var(--color-accent);
}

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

.hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.6);
}

.hero-meta .dot {
    color: var(--color-accent);
}

.hero-desc {
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.85;
    max-width: 600px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =========================================
     Buttons
     ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--color-primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--color-accent);
    color: #fff;
}

/* =========================================
     Section
     ========================================= */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--color-bg-section);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section-head {
    margin-bottom: 72px;
    text-align: center;
}

.section-head .eyebrow {
    font-family: var(--font-en);
    font-size: clamp(28px, 4vw, 52px);
    letter-spacing: 0.04em;
    color: var(--color-primary);
    margin-bottom: 24px;
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}

.section-head h2 {
    font-size: clamp(22px, 2.8vw, 34px);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5;
    color: var(--color-primary);
}

.section-head p {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--color-text-light);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-head .eyebrow {
    color: var(--color-accent);
}

/* =========================================
     Services Grid
     ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card .card-illust {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.service-card .card-illust svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

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

.service-card.no-illust {
    padding: 40px 32px;
}

/* Service card with centered top icon (no full illust) */
.service-card.icon-top {
    padding: 40px 28px 32px;
    text-align: center;
}

.service-card.icon-top .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    box-shadow: 0 4px 16px rgba(30, 58, 111, 0.18);
}

.service-card.icon-top .icon svg {
    width: 40px;
    height: 40px;
}

.service-card.icon-top h3 {
    text-align: center;
    margin-bottom: 14px;
}

.service-card.icon-top p {
    text-align: left;
    margin-bottom: 16px;
}

.service-card.icon-top .kpi-row {
    justify-content: center;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

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

.service-card .icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-section);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-accent);
}

.service-card .icon svg {
    width: 28px;
    height: 28px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-card p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.service-card .link {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card .link::after {
    content: "→";
    transition: transform 0.2s;
}

.service-card:hover .link::after {
    transform: translateX(4px);
}

/* =========================================
     Feature
     ========================================= */
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature.reverse .feature-text {
    order: 2;
}

.feature-text h3 {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: 0.02em;
}

.feature-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 15px;
}

.feature-text ul {
    list-style: none;
    margin: 24px 0;
}

.feature-text ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 15px;
}

.feature-text ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 14px;
    height: 2px;
    background: var(--color-accent);
}

.feature-visual {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: var(--radius-lg);
    min-height: 360px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-visual svg {
    width: 100%;
    height: auto;
    max-width: 360px;
}

/* =========================================
     Logo cloud
     ========================================= */
.logo-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}

.logo-cloud .logo-tile {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-light);
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.logo-cloud .logo-tile:hover {
    border-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

/* =========================================
     Stats
     ========================================= */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat {
    text-align: center;
    padding: 32px 16px;
}

.stat .num {
    font-family: var(--font-en);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: var(--color-accent);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
}

.stat .label {
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

/* Card-styled stats (boxed) */
.stats.stats-cards {
    gap: 20px;
}

.stats.stats-cards .stat {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 36px 24px 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stats.stats-cards .stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--color-primary);
}

.stats.stats-cards .stat::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(201, 164, 81, 0.04), transparent 40%);
    pointer-events: none;
}

.stats.stats-cards .stat .num {
    font-size: clamp(26px, 3.2vw, 36px);
    letter-spacing: 0.03em;
}

.stats.stats-cards .stat .label {
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 500;
}

/* =========================================
     3X Grid (CX / AX / BX)
     ========================================= */
.tri-x-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tri-x-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
}

.tri-x-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--color-accent);
}

.tri-x-card .label {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.tri-x-card .label-en {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.tri-x-card h3 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.tri-x-card p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.tri-x-card .kpi-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tri-x-card .kpi {
    font-family: var(--font-en);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    background: var(--color-bg-section);
    color: var(--color-primary);
    border-radius: 2px;
}

/* =========================================
     Differentiator (NOT ONLY / WE ARE)
     ========================================= */
.not-only-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: center;
}

.not-only-col h4 {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.25em;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-light);
    text-transform: uppercase;
}

.not-only-col ul {
    list-style: none;
}

.not-only-col li {
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--color-bg-section);
    border-radius: var(--radius-sm);
    color: var(--color-text-light);
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-color: rgba(0, 0, 0, 0.3);
}

.not-only-col.we-are h4 {
    color: var(--color-accent);
}

.not-only-col.we-are li {
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-left: 3px solid var(--color-accent);
}

.not-only-divider {
    font-family: var(--font-en);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-accent);
}

/* =========================================
     Phase card with illustration
     ========================================= */
.phase-card .phase-illust {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.phase-card .phase-illust svg {
    width: 30px;
    height: 30px;
}

/* =========================================
     Philosophy illustration
     ========================================= */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    background: rgba(201, 164, 81, 0.08);
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.philosophy-card .ph-illust {
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 5px rgba(201, 164, 81, 0.15);
    overflow: hidden;
}

.philosophy-card .ph-illust img,
.philosophy-card .ph-illust svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    color: var(--color-primary);
    fill: var(--color-primary);
}

.philosophy-card .ph-illust:has(img[alt="経営者"]) {
    padding: 14px;
}

.philosophy-card .ph-illust img[alt="経営者"] {
    transform: scale(1.05);
}

.philosophy-card h3 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
}

.philosophy-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================
     Integrated Platform Diagram (v3 — color coded + wrapped platform)
     ========================================= */
.platform-diagram {
    background: linear-gradient(135deg, rgba(30, 58, 111, 0.04), rgba(201, 164, 81, 0.04));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    display: grid;
    grid-template-columns: 1.15fr 0.55fr 1.25fr 0.55fr 1.3fr 1fr;
    gap: 10px;
    align-items: stretch;
    font-size: 13px;
}

.platform-diagram .pd-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.platform-diagram .pd-label {
    font-family: var(--font-en);
    font-size: 10px;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 0;
    border-bottom: 1px solid rgba(201, 164, 81, 0.3);
    flex-shrink: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Generic block */
.platform-diagram .pd-block {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    box-shadow: 0 1px 3px rgba(10, 25, 41, 0.04);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-diagram .pd-block .pd-sub {
    font-size: 10.5px;
    color: var(--color-text-light);
    line-height: 1.55;
}

.platform-diagram .pd-block ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.platform-diagram .pd-block li {
    font-size: 11px;
    color: var(--color-text-light);
    padding: 3px 0;
    line-height: 1.55;
}

.platform-diagram .pd-block li .hash {
    display: block;
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-top: 1px;
}

/* Title tag (rectangle around title text) */
.platform-diagram .pd-title-tag {
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    align-self: flex-start;
}

/* INPUT block color variants */
.platform-diagram .pd-block.input-people {
    border-top: 3px solid #4285F4;
    background: linear-gradient(180deg, rgba(66, 133, 244, 0.06) 0%, #fff 60%);
}

.platform-diagram .pd-block.input-business {
    border-top: 3px solid #C9A451;
    background: linear-gradient(180deg, rgba(201, 164, 81, 0.07) 0%, #fff 60%);
}

.platform-diagram .pd-block.input-unstructured {
    border-top: 3px solid #7B2CBF;
    background: linear-gradient(180deg, rgba(123, 44, 191, 0.06) 0%, #fff 60%);
}

.platform-diagram .pd-title-tag.tag-people {
    background: #4285F4;
}

.platform-diagram .pd-title-tag.tag-business {
    background: #C9A451;
}

.platform-diagram .pd-title-tag.tag-unstructured {
    background: #7B2CBF;
}

.platform-diagram .pd-title-tag.tag-platform {
    background: var(--color-primary);
}

.platform-diagram .pd-title-tag.tag-mkt {
    background: #4285F4;
}

.platform-diagram .pd-title-tag.tag-biz {
    background: var(--color-accent);
    color: var(--color-primary);
}

/* Platform wrapper (outer container that visually unifies the 3 inner blocks) */
.platform-diagram .pd-platform-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 12px 12px;
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(30, 58, 111, 0.06), rgba(201, 164, 81, 0.05));
    position: relative;
}

.platform-diagram .pd-platform-wrap::before {
    content: 'ALL-IN-ONE';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-en);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
}

.platform-diagram .pd-platform-wrap>.pd-block {
    flex: 1;
    background: #fff;
    border: 1px solid rgba(30, 58, 111, 0.15);
    padding: 10px 12px;
}

/* AI transition column */
.platform-diagram .pd-transition {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    position: relative;
}

.platform-diagram .pd-ai {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30, 58, 111, 0.18), 0 0 0 5px rgba(201, 164, 81, 0.18);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    overflow: hidden;
}

.platform-diagram .pd-ai img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
}

.platform-diagram .pd-ai-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
}

.platform-diagram .pd-ai-sub {
    font-size: 10px;
    color: var(--color-text-light);
    line-height: 1.5;
    max-width: 110px;
}

/* Arrow lines through transition */
.platform-diagram .pd-transition::before,
.platform-diagram .pd-transition::after {
    content: '';
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), var(--color-accent), transparent);
    top: 50%;
    z-index: 1;
}

.platform-diagram .pd-transition::before {
    left: -8px;
    right: 50%;
    margin-right: 44px;
}

.platform-diagram .pd-transition::after {
    right: -8px;
    left: 50%;
    margin-left: 44px;
}

.platform-diagram .pd-transition .pd-arrow-tip {
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    color: var(--color-accent);
    font-size: 14px;
    font-weight: 800;
    z-index: 1;
}

/* Action block colored backgrounds */
.platform-diagram .pd-block.action.mkt {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.1), rgba(66, 133, 244, 0.02));
    border: 1px solid rgba(66, 133, 244, 0.25);
    border-left: 3px solid #4285F4;
}

.platform-diagram .pd-block.action.biz {
    background: linear-gradient(135deg, rgba(201, 164, 81, 0.14), rgba(201, 164, 81, 0.03));
    border: 1px solid rgba(201, 164, 81, 0.3);
    border-left: 3px solid var(--color-accent);
}

/* Effects block (dark) */
.platform-diagram .pd-block.effect {
    background: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.platform-diagram .pd-block.effect.mkt {
    background: linear-gradient(135deg, var(--color-primary), #2C4F8C);
    border-left: 3px solid #8AB4FF;
}

.platform-diagram .pd-block.effect.biz {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-left: 3px solid var(--color-accent);
}

.platform-diagram .pd-block.effect li {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 11.5px;
    padding: 4px 0;
}

/* Outcome line below (deprecated) */
.platform-diagram-outcome {
    display: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .platform-diagram {
        grid-template-columns: 1fr 0.5fr 1fr 0.5fr 1fr 0.9fr;
        padding: 20px 14px;
        gap: 8px;
    }

    .platform-diagram .pd-ai {
        width: 60px;
        height: 60px;
    }

    .platform-diagram .pd-block {
        padding: 10px 12px;
    }

    .platform-diagram .pd-block li {
        font-size: 10.5px;
    }

    .platform-diagram .pd-title-tag {
        font-size: 10px;
        padding: 3px 8px;
    }
}

/* =========================================
     Brand logos
     ========================================= */
.brand-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

/* Touchpoint category illustrations (marketing-partner Platforms section) */
.touchpoint-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.touchpoint {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 132px;
    transition: all 0.2s ease;
    text-align: center;
}

.touchpoint:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.touchpoint-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
}

.touchpoint-icon svg {
    width: 100%;
    height: 100%;
}

.touchpoint-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
    line-height: 1.4;
    display: block;
    text-align: center;
}

.touchpoint-sub {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0;
    line-height: 1.3;
}

@media (max-width: 900px) {
    .touchpoint-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .touchpoint-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .touchpoint {
        padding: 18px 10px 14px;
        min-height: 110px;
    }

    .touchpoint-icon {
        width: 44px;
        height: 44px;
    }

    .touchpoint-label {
        font-size: 12px;
    }
}

.brand-logos .blogo {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 100px;
    transition: all 0.2s ease;
    text-align: center;
}

.brand-logos .blogo:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.brand-logos .blogo img {
    height: 36px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: none;
}

.brand-logos .blogo .blogo-mark {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #fff;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 18px;
}

.brand-logos .blogo .blogo-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

.brand-logos .blogo .blogo-sub {
    font-size: 10px;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

/* =========================================
     Process
     ========================================= */
.process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 16px;
    counter-reset: step;
    position: relative;
}

.process-step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    position: relative;
    counter-increment: step;
}

.process-step::before {
    content: "0"counter(step);
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 14px;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* =========================================
     Comparison table
     ========================================= */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    font-size: 13px;
}

.compare-table th,
.compare-table td {
    padding: 14px 12px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    vertical-align: middle;
}

.compare-table th:last-child,
.compare-table td:last-child {
    border-right: 0;
}

.compare-table thead th {
    background: var(--color-bg-section);
    font-weight: 700;
    color: var(--color-text-light);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.compare-table thead th.us {
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
}

.compare-table tbody th {
    text-align: left;
    background: var(--color-bg-section);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 13px;
}

.compare-table tbody td.us {
    background: rgba(201, 164, 81, 0.08);
    font-weight: 700;
    color: var(--color-primary);
}

.compare-table .mark-x {
    color: #C1C7D2;
    font-size: 16px;
}

.compare-table .mark-tri {
    color: var(--color-text-light);
    font-size: 16px;
}

.compare-table .mark-o {
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
}

.compare-table .mark-circle {
    color: var(--color-accent);
    font-size: 18px;
    font-weight: 800;
}

/* =========================================
     Phase / Engagement Flow
     ========================================= */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    position: relative;
}

.phase-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    position: relative;
}

.phase-card .ph-num {
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

.phase-card .ph-en {
    font-family: var(--font-en);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-text-light);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.phase-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}

.phase-card p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 14px;
}

.phase-card .deliv {
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    padding-top: 14px;
    border-top: 1px dashed var(--color-border);
}

.phase-card .deliv strong {
    display: block;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    margin-bottom: 4px;
    font-weight: 800;
}

/* =========================================
     Page Header
     ========================================= */
.page-header {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    padding: calc(var(--header-height) + 80px) 0 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 70% 50%, rgba(0, 180, 216, 0.15), transparent 60%);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .eyebrow {
    font-family: var(--font-en);
    font-size: 13px;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

.page-header h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.page-header .lead {
    margin-top: 24px;
    font-size: 16px;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.85);
}

/* breadcrumb */
.breadcrumb {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--color-text-light);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb .sep {
    margin: 0 10px;
}

/* =========================================
     Article / Long-form
     ========================================= */
.article-body {
    max-width: 820px;
    margin: 0 auto;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 56px 0 20px;
    padding-left: 16px;
    border-left: 4px solid var(--color-accent);
    line-height: 1.5;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 36px 0 16px;
    color: var(--color-primary);
}

.article-body p {
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--color-text);
}

.article-body ul,
.article-body ol {
    margin: 16px 0 24px 24px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body strong {
    color: var(--color-primary);
    font-weight: 700;
}

.article-body blockquote {
    border-left: 4px solid var(--color-gold);
    padding: 16px 24px;
    background: var(--color-bg-section);
    margin: 24px 0;
    font-style: italic;
    color: var(--color-text-light);
}

.article-body .callout {
    background: var(--color-bg-section);
    border-left: 4px solid var(--color-accent);
    padding: 24px 28px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 32px 0;
}

.article-body .callout h4 {
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}

/* =========================================
     News list
     ========================================= */
.news-list {
    border-top: 1px solid var(--color-border);
}

.news-item {
    display: grid;
    grid-template-columns: 140px 120px 1fr auto;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
    transition: background 0.2s;
}

.news-item:hover {
    background: var(--color-bg-section);
}

.news-date {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--color-text-light);
    letter-spacing: 0.05em;
}

.news-category {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.1em;
    font-weight: 700;
    padding: 5px 12px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 2px;
    text-align: center;
}

.news-category.cat-corporate {
    background: var(--color-primary);
}

.news-category.cat-service {
    background: var(--color-accent);
}

.news-category.cat-pr {
    background: var(--color-gold);
}

.news-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.news-link {
    font-family: var(--font-en);
    font-size: 13px;
    color: var(--color-accent);
}

/* =========================================
     Forms
     ========================================= */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #E63946;
    margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-jp);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

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

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}

.checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
}

.checkbox-wrap input[type="checkbox"] {
    margin-top: 4px;
}

/* =========================================
     Table
     ========================================= */
.info-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.info-table th,
.info-table td {
    padding: 20px 28px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    vertical-align: top;
}

.info-table th {
    background: var(--color-bg-section);
    width: 220px;
    font-weight: 600;
    color: var(--color-primary);
}

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

/* =========================================
     FAQ (AIO friendly)
     ========================================= */
.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-md);
}

.faq-item>summary {
    list-style: none;
    padding: 22px 28px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 15.5px;
    line-height: 1.65;
    transition: background 0.15s ease;
}

.faq-item>summary::-webkit-details-marker {
    display: none;
}

.faq-item>summary:hover {
    background: var(--color-bg-section);
}

.faq-item>summary::before {
    content: "Q";
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 14px;
}

.faq-item>summary::after {
    content: "+";
    margin-left: auto;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.faq-item[open]>summary::after {
    transform: rotate(45deg);
}

.faq-item .faq-body {
    padding: 0 28px 24px 74px;
    font-size: 14.5px;
    line-height: 1.95;
    color: var(--color-text);
}

.faq-item .faq-body strong {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq-item>summary {
        padding: 18px 20px;
        gap: 12px;
        font-size: 14px;
    }

    .faq-item>summary::before {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .faq-item .faq-body {
        padding: 0 20px 20px 58px;
        font-size: 13px;
    }
}

/* =========================================
     CTA section
     ========================================= */
.cta {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 180, 216, 0.2), transparent 60%);
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin-bottom: 16px;
    font-weight: 700;
}

.cta p {
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================================
     Footer
     ========================================= */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 32px;
    font-size: 13px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 56px;
}

.footer-brand .footer-logo {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h5 {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom .legal {
    display: flex;
    gap: 24px;
}

.footer-bottom .copyright {
    font-family: var(--font-en);
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* =========================================
     Utilities
     ========================================= */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-24 {
    margin-top: 24px;
}

.mt-48 {
    margin-top: 48px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-48 {
    margin-bottom: 48px;
}

/* =========================================
     Responsive
     ========================================= */
@media (max-width: 900px) {
    .nav-main {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 32px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-150%);
        transition: transform 0.3s;
    }

    .nav-main.open {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .feature,
    .feature.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature.reverse .feature-text {
        order: 0;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 0;
    }

    .news-item .news-link {
        display: none;
    }

    .info-table th {
        width: 130px;
        padding: 16px;
    }

    .info-table td {
        padding: 16px;
    }

    .section {
        padding: 64px 0;
    }
}

@media (max-width: 900px) {

    /* Keep tri-x and phase grids horizontal (compressed) instead of stacking */
    .tri-x-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .phase-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .not-only-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .not-only-divider {
        transform: rotate(90deg);
    }

    .compare-table {
        font-size: 12px;
    }

    .compare-table th,
    .compare-table td {
        padding: 10px 6px;
    }

    .hero-content {
        max-width: 100%;
    }

    /* On tablet/mobile, push overlay darker across more width for readability */
    .hero-fx-overlay {
        background: linear-gradient(90deg,
                rgba(11, 21, 41, 0.94) 0%,
                rgba(11, 21, 41, 0.82) 50%,
                rgba(11, 21, 41, 0.55) 100%);
    }

    /* Platform diagram: maintain horizontal layout, parent wrap provides scroll if needed */
}

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

    .hero {
        min-height: 70vh;
    }

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

    .site-logo img {
        height: 36px;
    }

    .site-logo-text .en {
        font-size: 13px;
    }

    .site-logo-text .ko {
        font-size: 9px;
    }
}

/* =========================================
     Enhanced Mobile Optimization
     ========================================= */

/* Tablet & small laptop (≤ 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 72px;
    }

    .container {
        padding: 0 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section-head {
        margin-bottom: 56px;
    }

    .feature-visual {
        min-height: 320px !important;
    }

    .feature-visual svg {
        max-width: 100%;
        height: auto;
    }

    .platform-diagram {
        font-size: 12px;
        padding: 18px 12px;
    }

    .tri-x-grid {
        grid-template-columns: 1fr 1fr;
    }

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

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

/* Tablet portrait & mobile landscape (≤ 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .section-head .eyebrow {
        font-size: clamp(22px, 7vw, 30px);
        margin-bottom: 16px;
        letter-spacing: 0.02em;
    }

    .section-head h2 {
        font-size: clamp(18px, 5vw, 24px);
        line-height: 1.55;
    }

    .section-head p {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.85;
    }

    /* Hero on mobile */
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 32px);
        padding-bottom: 56px;
    }

    .hero-meta {
        font-size: 10px;
        gap: 8px;
    }

    .hero-title {
        font-size: clamp(19px, 5.6vw, 28px);
        line-height: 1.55;
        margin-bottom: 20px;
    }

    .hero-title .shimmer {
        white-space: normal;
    }

    .hero-desc {
        font-size: 13px;
        max-width: 100%;
        line-height: 1.9;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
        padding: 14px 24px;
    }

    /* on small screens, reduce overall motion intensity */
    .fx-beam {
        animation-duration: 7s;
        filter: none;
    }

    .fx-beam-fast-1,
    .fx-beam-fast-2,
    .fx-beam-fast-3,
    .fx-beam-fast-4 {
        filter: none;
    }

    /* Page header */
    .page-header {
        padding: calc(var(--header-height) + 48px) 0 56px;
    }

    .page-header h1 {
        font-size: clamp(22px, 6.5vw, 32px);
        line-height: 1.5;
    }

    .page-header .lead {
        font-size: 14px;
        line-height: 1.9;
        margin-top: 16px;
    }

    /* Mobile navigation - hamburger menu */
    .nav-main {
        padding: 24px 20px 32px;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    }

    .nav-main>a,
    .nav-item-dropdown>a {
        padding: 14px 0;
        font-size: 15px;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-main .nav-cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Disable dropdown hover on mobile - just show all items */
    .nav-item-dropdown {
        display: block;
        width: 100%;
    }

    .nav-item-dropdown>a::after {
        display: none;
    }

    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: transparent;
        padding: 0 0 8px 16px;
        margin: 0;
        border-top: 0;
    }

    .nav-item-dropdown .dropdown-menu a {
        padding: 10px 0;
        font-size: 13px;
        min-height: 40px;
        border-bottom: 0;
        color: var(--color-text-light);
    }

    /* Tri-X grid: keep 3 cols horizontal on mobile, equal width, no overflow */
    .tri-x-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .tri-x-card {
        padding: 14px 8px;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .tri-x-card .label {
        font-size: 18px;
    }

    .tri-x-card .label-en {
        font-size: 8px;
        letter-spacing: 0.08em;
        margin-bottom: 6px;
    }

    .tri-x-card h3 {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    .tri-x-card p {
        font-size: 10px;
        line-height: 1.55;
        margin-bottom: 8px;
    }

    .tri-x-card .kpi-row {
        gap: 3px;
    }

    .tri-x-card .kpi {
        font-size: 8.5px;
        padding: 2px 5px;
    }

    /* Services grid: stack vertically (user requested) */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card.icon-top {
        padding: 32px 24px 28px;
    }

    .service-card.icon-top .icon {
        width: 64px;
        height: 64px;
        margin-bottom: 18px;
    }

    .service-card.icon-top .icon svg {
        width: 32px;
        height: 32px;
    }

    /* Process steps: keep horizontal compressed (auto-fit) */
    .process {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px;
    }

    .process-step {
        padding: 14px 12px;
    }

    .process-step h4 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .process-step p {
        font-size: 10.5px;
        line-height: 1.55;
    }

    .process-step::before {
        font-size: 11px;
        margin-bottom: 6px;
    }

    /* Phase cards (Concept 01-04, Engagement 01-04): keep 4 cols equal width, no overflow */
    .phase-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .phase-card {
        padding: 12px 6px;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .phase-card .ph-num {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .phase-card .ph-en {
        font-size: 8px;
        letter-spacing: 0.06em;
        margin-bottom: 4px;
    }

    .phase-card h4 {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .phase-card p {
        font-size: 9.5px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .phase-card .phase-illust {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
    }

    .phase-card .phase-illust svg {
        width: 18px;
        height: 18px;
    }

    .phase-card .deliv {
        padding-top: 6px;
        font-size: 8.5px;
    }

    .phase-card .deliv strong {
        font-size: 8px;
    }

    /* Stats / cards: 2x2 (already on tablet); for very small can stack */
    .stats,
    .stats.stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat {
        padding: 20px 12px;
    }

    .stats.stats-cards .stat {
        padding: 22px 14px 18px;
    }

    .stats.stats-cards .stat .num {
        font-size: clamp(20px, 6vw, 28px);
    }

    .stats.stats-cards .stat .label {
        font-size: 10.5px;
        line-height: 1.6;
    }

    /* Philosophy cards: keep 4 cols equal width, no overflow */
    .philosophy-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }

    .philosophy-card {
        padding: 14px 6px;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .philosophy-card .ph-illust {
        width: 48px;
        height: 48px;
        padding: 8px;
        margin: 0 auto 10px;
    }

    .philosophy-card h3 {
        font-size: 10.5px;
        line-height: 1.4;
        margin-bottom: 5px;
    }

    .philosophy-card p {
        font-size: 9px;
        line-height: 1.5;
    }

    /* Feature (side-by-side becomes stacked) */
    .feature,
    .feature.reverse {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature.reverse .feature-text {
        order: 0;
    }

    .feature-text h3 {
        font-size: clamp(20px, 5vw, 26px);
        line-height: 1.55;
    }

    .feature-text p {
        font-size: 14px;
    }

    .feature-text ul li {
        font-size: 14px;
    }

    .feature-visual {
        min-height: 280px !important;
        padding: 20px !important;
    }

    /* Logo cloud / brand-logos */
    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-logos .blogo {
        min-height: 84px;
        padding: 14px 12px;
    }

    .brand-logos .blogo img {
        height: 28px;
    }

    .brand-logos .blogo .blogo-name {
        font-size: 11px;
    }

    .brand-logos .blogo .blogo-sub {
        font-size: 9px;
    }

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

    /* Forms */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px;
        /* prevents zoom on iOS */
        padding: 12px 14px;
    }

    /* Tables - horizontal scroll */
    .info-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .info-table th {
        width: auto;
        min-width: 110px;
        padding: 14px 16px;
        font-size: 13px;
    }

    .info-table td {
        padding: 14px 16px;
        font-size: 13px;
        white-space: normal;
    }

    /* CTA */
    .cta {
        padding: 56px 0;
    }

    .cta h2 {
        font-size: clamp(20px, 5.5vw, 26px);
    }

    .cta p {
        font-size: 14px;
        padding: 0 8px;
    }

    /* News list */
    .news-item {
        padding: 18px 0;
    }

    .news-date {
        font-size: 12px;
    }

    .news-category {
        font-size: 10px;
        padding: 4px 10px;
    }

    .news-title {
        font-size: 13.5px;
        line-height: 1.65;
    }

    /* Footer */
    .site-footer {
        padding: 56px 0 24px;
    }

    .footer-grid {
        gap: 28px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom .legal {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    /* Article body */
    .article-body h2 {
        font-size: 20px;
        margin: 40px 0 16px;
    }

    .article-body h3 {
        font-size: 16px;
        margin: 28px 0 12px;
    }

    .article-body p {
        font-size: 14px;
    }

    .article-body li {
        font-size: 14px;
    }

    .article-body .callout {
        padding: 18px 20px;
    }

    /* Platform diagram - keep horizontal layout with horizontal scroll on mobile */
    .platform-diagram-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px 12px;
        scrollbar-width: thin;
        scrollbar-color: var(--color-accent) transparent;
    }

    .platform-diagram-wrap::-webkit-scrollbar {
        height: 6px;
    }

    .platform-diagram-wrap::-webkit-scrollbar-track {
        background: var(--color-border);
        border-radius: 3px;
    }

    .platform-diagram-wrap::-webkit-scrollbar-thumb {
        background: var(--color-accent);
        border-radius: 3px;
    }

    .platform-diagram {
        grid-template-columns: 240px 100px 240px 100px 260px 200px;
        gap: 8px;
        padding: 18px 14px;
        width: max-content;
        min-width: 100%;
    }

    .platform-diagram .pd-label {
        font-size: 10px;
        min-height: 28px;
        padding: 4px 0;
        letter-spacing: 0.15em;
    }

    .platform-diagram .pd-block {
        padding: 10px 12px;
    }

    .platform-diagram .pd-block .pd-title {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .platform-diagram .pd-block li {
        font-size: 11px;
        padding: 2px 0;
    }

    .platform-diagram .pd-block .pd-sub {
        font-size: 10.5px;
        line-height: 1.5;
    }

    .platform-diagram .pd-block li .hash {
        font-size: 9.5px;
    }

    .platform-diagram .pd-transition {
        flex-direction: column;
        padding: 4px 0;
        gap: 6px;
    }

    .platform-diagram .pd-transition::before,
    .platform-diagram .pd-transition::after,
    .platform-diagram .pd-arrow-tip {
        display: none;
    }

    .platform-diagram .pd-ai {
        width: 44px;
        height: 44px;
    }

    .platform-diagram .pd-ai img {
        width: 80%;
        height: 80%;
    }

    .platform-diagram .pd-ai-label {
        text-align: center;
        font-size: 10px;
        line-height: 1.4;
    }

    .platform-diagram .pd-ai-sub {
        text-align: center;
        max-width: 90px;
        font-size: 9px;
        line-height: 1.45;
    }

    .platform-diagram .pd-title-tag {
        font-size: 9.5px;
        padding: 3px 7px;
    }

    .platform-diagram .pd-platform-wrap {
        padding: 12px 8px;
    }

    .platform-diagram .pd-platform-wrap::before {
        font-size: 8px;
        padding: 2px 7px;
    }

    /* Hint for horizontal scroll */
    .platform-diagram-wrap::after {
        content: "← スワイプして全体を見る →";
        display: block;
        text-align: center;
        font-size: 10px;
        color: var(--color-text-light);
        padding-top: 8px;
        position: sticky;
        left: 0;
    }

    /* Compare table on mobile */
    .compare-table {
        font-size: 10.5px;
    }

    .compare-table th,
    .compare-table td {
        padding: 7px 4px;
    }

    /* Markdown viewer */
    .md-wrap {
        padding: 32px 20px;
        border-radius: 8px;
    }

    .md-wrap h1 {
        font-size: 22px;
    }

    .md-wrap h2 {
        font-size: 18px;
    }

    .md-wrap h3 {
        font-size: 15px;
    }

    .md-wrap p,
    .md-wrap li {
        font-size: 14px;
    }

    /* SVG illustrations - ensure they don't overflow */
    .feature-visual svg,
    .card-illust svg {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .section {
        padding: 44px 0;
    }

    .hero-title {
        font-size: clamp(17px, 5.6vw, 22px);
        line-height: 1.6;
    }

    .hero-desc {
        font-size: 12.5px;
    }

    .section-head .eyebrow {
        font-size: clamp(18px, 6.5vw, 24px);
    }

    .section-head h2 {
        font-size: clamp(16px, 4.8vw, 20px);
    }

    .brand-logos {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .brand-logos .blogo {
        min-height: 76px;
        padding: 12px 10px;
    }

    .brand-logos .blogo img {
        height: 24px;
    }

    .page-header h1 {
        font-size: clamp(20px, 6vw, 26px);
    }

    .feature-visual {
        min-height: 240px !important;
    }

    .btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    .nav-main {
        padding: 20px 16px 24px;
    }
}

/* Reduce animation on prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tap target minimum size for accessibility */
@media (pointer: coarse) {

    a,
    button,
    .btn,
    .nav-cta,
    input[type="checkbox"],
    input[type="radio"] {
        min-height: 44px;
    }

    .nav-main a,
    .nav-item-dropdown a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

.grecaptcha-badge {
    display: none !important;
}
