/* ============================================================
   Standella - Operational Data Infrastructure
   v2 stylesheet (Top page · background + HTML text overlay)
============================================================ */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

/* ---------- Tokens ---------- */
:root {
    --bg: #FFFFFF;
    --surface: #F7F9FC;
    --surface-2: #F2F4F8;

    --navy: #0F2956;
    --navy-deep: #081832;
    --ink: #1A2640;
    --muted: #6B7689;
    --muted-soft: #9AA3B2;

    --line: #E5E9F0;
    --line-soft: #EEF1F6;
    --line-strong: #C9D1DE;

    --font-en: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    --font-jp: 'Noto Sans JP', -apple-system, 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', sans-serif;

    --container: 1200px;
    --container-wide: 1320px;
}

/* ---------- Base ---------- */
body {
    font-family: var(--font-jp);
    font-weight: 400;
    line-height: 1.8;
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

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

::selection {
    background: var(--navy);
    color: #fff;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------- Atoms ---------- */
.eyebrow {
    font-family: var(--font-en);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-block;
    position: relative;
    padding-left: 32px;
}

.eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background: var(--navy);
}

.heading-jp {
    font-family: var(--font-jp);
    font-weight: 500;
    line-height: 1.45;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.heading-en {
    font-family: var(--font-en);
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.body-text {
    font-family: var(--font-jp);
    font-size: 1rem;
    line-height: 2;
    color: var(--ink);
    font-weight: 400;
}

.muted-text {
    color: var(--muted);
}

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 32px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 88px;
    width: auto;
}

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

.nav a {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink);
}

.nav a:hover {
    color: var(--navy);
}

.header-cta {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--ink);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
    color: var(--navy);
    border-color: var(--navy);
}

.menu-toggle {
    display: none;
    width: 24px;
    height: 24px;
    position: relative;
}

.menu-toggle span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 8px;
}

.menu-toggle span:nth-child(2) {
    top: 16px;
}

.menu-toggle.is-open span:nth-child(1) {
    top: 12px;
    transform: rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    top: 12px;
    transform: rotate(-45deg);
}

/* ============================================================
   Layout primitives — Banner / Split / Strip
   ============================================================ */

/* ---------- Banner (full-width background + text overlay) ---------- */
.banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    /* Desktop aspect — slightly taller than the image keeps text readable */
    aspect-ratio: 16 / 8;
    min-height: 560px;
}

.banner-bg,
.banner-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.banner-bg::after {
    /* white veil for legibility — fades right-to-transparent */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.45) 35%,
            rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

.banner-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    height: 100%;
    padding: 88px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.banner--bottom .banner-inner {
    justify-content: flex-end;
    padding-bottom: 96px;
}

.banner-title {
    font-size: clamp(2rem, 5.5vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.banner-sub {
    font-family: var(--font-jp);
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    line-height: 2;
    color: var(--ink);
    max-width: 36ch;
    font-weight: 400;
}

/* ---------- Split section (text | image, 50/50) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
    max-width: var(--container-wide);
    margin: 0 auto;
}

.split-text {
    padding: 96px 64px 96px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}

.split-image {
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.split-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.split--reverse .split-text {
    grid-column: 2;
    grid-row: 1;
    padding: 96px 32px 96px 64px;
}

.split--reverse .split-image {
    grid-column: 1;
    grid-row: 1;
}

.split-title {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 2.4vw, 2.125rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.split-body {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: var(--ink);
    font-weight: 400;
}

.split-foot {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 2;
}

/* Diagram-style splits (Technology, Network Effect): subtle bg */
.split--diagram .split-image {
    background: var(--surface);
}

.split--diagram .split-image img {
    object-fit: contain;
    padding: 48px;
}

/* ---------- Strip section (text above, full-width image below) ---------- */
.strip-section {
    padding: 144px 0 0;
}

.strip-head {
    max-width: var(--container);
    margin: 0 auto 64px;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: end;
}

.strip-head .eyebrow {
    margin-bottom: 28px;
}

.strip-title {
    font-family: var(--font-jp);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.strip-body {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2;
    color: var(--ink);
    max-width: 44ch;
}

.strip-figure {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

.strip-figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1556 / 312;
    /* match source */
    object-fit: cover;
}

.strip-labels {
    max-width: var(--container);
    margin: 32px auto 0;
    padding: 0 32px 144px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    text-align: center;
}

.strip-labels span {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.strip-labels small {
    display: block;
    font-family: var(--font-jp);
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0;
}

/* ============================================================
   Section-specific
   ============================================================ */

/* Future intro */
.future-intro {
    padding: 144px 0 96px;
    text-align: center;
    background: var(--surface);
    border-top: 1px solid var(--line);
}

.future-intro .eyebrow {
    margin-bottom: 28px;
}

.future-intro h2 {
    font-family: var(--font-jp);
    font-size: clamp(1.75rem, 3.4vw, 2.625rem);
    font-weight: 500;
    line-height: 1.45;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.future-intro-sub {
    margin-top: 32px;
    font-family: var(--font-jp);
    font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
    line-height: 2;
    color: var(--ink);
    font-weight: 400;
}

/* Future items: 3-column (text / people / diagram-with-caption) */
.future-items {
    background: var(--surface);
    padding-bottom: 144px;
}

.future-item {
    display: grid;
    grid-template-columns: 1.15fr 1.4fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 88px 32px;
    border-top: 1px solid var(--line);
}

.future-item:last-child {
    border-bottom: 1px solid var(--line);
}

/* Left column: text block */
.future-item-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.future-item-num {
    font-family: var(--font-en);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 4px;
}

.future-item-title {
    font-family: var(--font-jp);
    font-size: clamp(1rem, 1.3vw, 1.1875rem);
    font-weight: 500;
    line-height: 1.65;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.future-item-body {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    line-height: 2.05;
    color: var(--ink);
    font-weight: 400;
    margin: 0;
}

.future-item-message {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 1.85;
    color: var(--navy);
    font-weight: 500;
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
}

/* Center column: people photo */
.future-item-people img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right column: caption + diagram */
.future-item-outcome {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.future-item-caption {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--navy);
    font-weight: 500;
}

.future-item-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

/* Section spacing for split sections (technology, products, network effect) */
.section--split {
    padding: 144px 0;
}

.section--split.section--surface {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* Internal link */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
    border-bottom: 1px solid var(--navy);
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
    margin-top: 8px;
    align-self: flex-start;
}

.text-link::after {
    content: "→";
    font-weight: 400;
    transition: transform 0.2s ease;
}

.text-link:hover {
    opacity: 0.65;
}

.text-link:hover::after {
    transform: translateX(2px);
}

/* Mission/Vision pair on the Vision banner */
.banner-mission-vision {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.mv-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.mv-label {
    font-family: var(--font-en);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--navy);
    min-width: 64px;
}

.mv-value {
    font-family: var(--font-jp);
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    font-weight: 500;
    color: var(--navy);
    line-height: 1.6;
}

/* ============================================================
   Documentary strip — full-width band of daily-work photos
   ============================================================ */
.documentary {
    background: var(--bg);
    padding: 0;
    overflow: hidden;
}

.documentary-figure {
    width: 100%;
    max-width: 100%;
    margin: 0;
    line-height: 0;
}

.documentary-figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 943 / 156;
    object-fit: cover;
}

@media (max-width: 720px) {
    .documentary-figure img {
        aspect-ratio: 943 / 200;
        /* slightly taller on mobile so photos remain readable */
    }
}

/* ============================================================
   Company / News / Footer (reuse)
   ============================================================ */
.company {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    padding: 120px 0;
}

.company-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 96px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.company-title {
    font-family: var(--font-en);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.005em;
    margin-top: 24px;
}

.company-links {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.company-links li {
    border-bottom: 1px solid var(--line);
}

.company-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--font-en);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.005em;
}

.company-links a::after {
    content: "→";
    font-weight: 400;
    color: var(--muted-soft);
    transition: transform 0.3s ease, color 0.2s ease;
}

.company-links a:hover::after {
    color: var(--navy);
    transform: translateX(4px);
}

.company-links li:nth-child(odd) a {
    padding-right: 32px;
}

.company-links li:nth-child(even) a {
    padding-left: 32px;
    padding-right: 0;
}

.company-links li:nth-child(even) {
    border-left: 1px solid var(--line);
}

.news {
    padding: 120px 0;
}

.news .container {
    max-width: 1100px;
}

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

.news-list {
    list-style: none;
    border-top: 1px solid var(--line);
}

.news-item {
    border-bottom: 1px solid var(--line);
}

.news-link {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 48px;
    padding: 28px 0;
    align-items: baseline;
}

.news-date {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.news-title {
    font-family: var(--font-jp);
    font-size: 1rem;
    color: var(--ink);
    line-height: 1.7;
    font-weight: 400;
}

.news-link:hover .news-title {
    color: var(--navy);
}

.footer {
    border-top: 1px solid var(--line);
    padding: 64px 0 48px;
    background: var(--bg);
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.footer-co {
    font-family: var(--font-en);
    font-size: 0.875rem;
    color: var(--navy);
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-address,
.footer-email {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    color: var(--muted);
    line-height: 1.8;
}

.footer-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

.footer-nav a:hover {
    color: var(--navy);
}

.footer-bottom {
    max-width: var(--container);
    margin: 64px auto 0;
    padding: 24px 32px 0;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-copy {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--muted-soft);
    letter-spacing: 0.02em;
}

/* ---------- Reveal (subtle fade-in) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {

    /* Banner */
    .banner {
        aspect-ratio: auto;
        min-height: 560px;
        height: auto;
    }

    .banner-bg::after {
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.92) 0%,
                rgba(255, 255, 255, 0.78) 35%,
                rgba(255, 255, 255, 0.55) 70%,
                rgba(255, 255, 255, 0.35) 100%);
    }

    .banner-inner {
        padding: 56px 24px;
        justify-content: flex-start;
        gap: 24px;
        min-height: 560px;
    }

    .banner--bottom .banner-inner {
        justify-content: flex-start;
        padding-top: 56px;
        padding-bottom: 56px;
    }

    /* Split → stacked */
    .split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .split-text {
        padding: 72px 24px 48px;
    }

    .split-image {
        min-height: 0;
        aspect-ratio: 16 / 11;
    }

    .split--reverse .split-text {
        grid-column: 1;
        grid-row: 2;
        padding: 56px 24px 72px;
    }

    .split--reverse .split-image {
        grid-column: 1;
        grid-row: 1;
    }

    .split--diagram .split-image {
        aspect-ratio: 16 / 11;
        padding: 32px;
    }

    .split--diagram .split-image img {
        padding: 0;
    }

    /* Section spacing */
    .section--split {
        padding: 0;
    }

    .section--split.section--surface {
        background: var(--surface);
    }

    .future-intro {
        padding: 96px 0 56px;
    }

    .future-intro-sub {
        margin-top: 24px;
    }

    .future-items {
        padding-bottom: 96px;
    }

    /* Future items become single column on tablet/mobile */
    .future-item {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 72px 24px;
    }

    .future-item-text {
        gap: 16px;
    }

    .future-item-body br {
        display: none;
    }

    .future-item-people img {
        max-width: 100%;
    }

    /* Strip */
    .strip-section {
        padding: 96px 0 0;
    }

    .strip-head {
        grid-template-columns: 1fr;
        gap: 16px;
        align-items: start;
        margin-bottom: 48px;
    }

    .strip-labels {
        grid-template-columns: repeat(5, 1fr);
        gap: 8px;
        padding-bottom: 96px;
    }

    .strip-labels span {
        font-size: 0.6875rem;
    }

    .strip-labels small {
        font-size: 0.625rem;
    }

    /* Company */
    .company-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .company-links {
        grid-template-columns: 1fr;
    }

    .company-links li:nth-child(even) {
        border-left: none;
    }

    .company-links li:nth-child(odd) a,
    .company-links li:nth-child(even) a {
        padding-left: 0;
        padding-right: 0;
    }

    /* News & Footer */
    .news-link {
        grid-template-columns: 100px 1fr;
        gap: 24px;
    }

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

@media (max-width: 720px) {
    .container {
        padding: 0 24px;
    }

    .header-inner {
        padding: 0 24px;
        height: 88px;
    }

    .header-logo img {
        height: 60px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        padding: 16px 24px 24px;
        align-items: stretch;
    }

    .nav.is-open {
        display: flex;
    }

    .nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line-soft);
        font-size: 0.9375rem;
    }

    .nav a:last-of-type {
        border-bottom: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .banner {
        aspect-ratio: auto;
        min-height: 480px;
    }

    .banner-inner {
        min-height: 480px;
    }

    .strip-labels {
        gap: 4px;
    }

    .strip-labels span {
        font-size: 0.625rem;
        letter-spacing: 0;
    }

    .strip-labels small {
        font-size: 0.5625rem;
    }

    .eyebrow {
        padding-left: 0;
    }

    .eyebrow::before {
        display: none;
    }
}

/* ============================================================
   Sub-page styles (about / recruit)
   ============================================================ */

/* ---------- Subpage hero (lighter than .banner) ---------- */
.subpage-hero {
    position: relative;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 120px 0 96px;
    overflow: hidden;
    isolation: isolate;
}

.subpage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 30%, rgba(15, 41, 86, 0.06), transparent 60%),
                radial-gradient(ellipse at 80% 70%, rgba(91, 155, 213, 0.05), transparent 60%);
    z-index: 0;
}

.subpage-hero .container {
    position: relative;
    z-index: 1;
}

.subpage-hero .eyebrow {
    margin-bottom: 28px;
}

.subpage-hero-title {
    font-family: var(--font-jp);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin-bottom: 28px;
}

.subpage-hero-lead {
    font-family: var(--font-jp);
    font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
    line-height: 2;
    color: var(--ink);
    max-width: 60ch;
    font-weight: 400;
}

.subpage-hero-emphasis {
    font-family: var(--font-jp);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.9;
    margin-top: 24px;
}

.subpage-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

/* ---------- Sub-page sticky nav ---------- */
.page-nav {
    position: sticky;
    top: 120px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

.page-nav-inner {
    display: flex;
    gap: 36px;
    padding: 18px 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.page-nav-inner::-webkit-scrollbar {
    display: none;
}

.page-nav-link {
    font-family: var(--font-en);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted);
    white-space: nowrap;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.page-nav-link:hover,
.page-nav-link.active {
    color: var(--navy);
    border-color: var(--navy);
}

/* ---------- Section blocks ---------- */
.sec {
    padding: 120px 0;
}

.sec--alt {
    background: var(--surface);
}

.sec--dark {
    background: var(--navy-deep);
    color: #fff;
}

.sec--dark .sec-title,
.sec--dark .sec-label,
.sec--dark p {
    color: #fff;
}

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

.sec-head--center {
    text-align: center;
}

.sec-label {
    font-family: var(--font-en);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--navy);
    display: inline-block;
    margin-bottom: 16px;
}

.sec--dark .sec-label {
    color: rgba(255, 255, 255, 0.72);
}

.sec-title {
    font-family: var(--font-jp);
    font-size: clamp(1.625rem, 3.2vw, 2.5rem);
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy);
    letter-spacing: -0.005em;
    margin-bottom: 24px;
}

.sec-line {
    width: 40px;
    height: 2px;
    background: var(--navy);
    margin: 0 0 32px;
}

.sec-head--center .sec-line {
    margin-left: auto;
    margin-right: auto;
}

.sec--dark .sec-line {
    background: #fff;
}

.sec-lead {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: var(--ink);
    max-width: 720px;
}

.sec--dark .sec-lead {
    color: rgba(255, 255, 255, 0.85);
}

.sub-title {
    font-family: var(--font-jp);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    letter-spacing: -0.003em;
}

.sec-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 80px 0;
}

/* ---------- Value items (numbered list, About) ---------- */
.value-list {
    display: grid;
    gap: 24px;
    margin-top: 40px;
}

.value-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

.value-item:last-child {
    border-bottom: 1px solid var(--line);
}

.value-num {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    line-height: 1;
}

.value-item-title {
    font-family: var(--font-jp);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
    letter-spacing: -0.003em;
}

.value-item-text {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 1.95;
    color: var(--ink);
}

/* ---------- MVV cards ---------- */
.mvv-grid {
    display: grid;
    gap: 32px;
}

.mvv-block {
    padding: 48px 0;
    border-top: 1px solid var(--line);
}

.mvv-block:last-child {
    border-bottom: 1px solid var(--line);
}

.mvv-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 16px;
}

.mvv-catch {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 2.8vw, 2.125rem);
    font-weight: 500;
    line-height: 1.5;
    color: var(--navy);
    letter-spacing: -0.005em;
    margin-bottom: 24px;
}

.mvv-text {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: var(--ink);
    max-width: 760px;
}

/* ---------- Info list (会社情報 table) ---------- */
.info-list {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 0;
    column-gap: 32px;
    border-top: 1px solid var(--line);
}

.info-list dt,
.info-list dd {
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    margin: 0;
    line-height: 1.9;
    font-size: 0.9375rem;
}

.info-list dt {
    font-family: var(--font-jp);
    font-weight: 600;
    color: var(--navy);
}

.info-list dd {
    color: var(--ink);
    font-weight: 400;
}

/* ---------- Profile (CEO) ---------- */
.profile {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 40px;
}

.profile-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-jp);
    font-size: 1.625rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 8px;
}

.profile-title {
    font-family: var(--font-en);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
}

.profile-bio p {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: var(--ink);
    margin-bottom: 24px;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

/* ---------- Closing CTA ---------- */
.closing-cta {
    background: var(--navy-deep);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.closing-cta-title {
    font-family: var(--font-jp);
    font-size: clamp(1.75rem, 3.5vw, 2.625rem);
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    letter-spacing: -0.005em;
    margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--navy-deep);
    border-color: var(--navy-deep);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

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

.btn-outline-light:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn--lg {
    padding: 20px 40px;
    font-size: 1rem;
}

/* ============================================================
   Recruit-specific patterns
   ============================================================ */

/* ---------- Two-column (text + figure) ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 40px;
}

.two-col-figure {
    background: var(--surface);
    padding: 40px;
    border-radius: 4px;
}

.two-col-figure svg {
    width: 100%;
    height: auto;
    display: block;
}

.figure-caption {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 20px;
    text-align: center;
}

.two-col p {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: var(--ink);
    margin-bottom: 16px;
}

.two-col p:last-child {
    margin-bottom: 0;
}

.kw {
    color: var(--navy);
    font-weight: 600;
}

/* ---------- Why-now grid (3 cards) ---------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.why-card {
    padding: 40px 32px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.why-card:hover {
    border-color: var(--navy);
    transform: translateY(-2px);
}

.why-num {
    font-family: var(--font-en);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-soft);
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.why-icon {
    margin-bottom: 20px;
}

.why-name {
    font-family: var(--font-jp);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.why-text {
    font-family: var(--font-jp);
    font-size: 0.875rem;
    line-height: 1.95;
    color: var(--ink);
}

/* ---------- Industry grid (4 cards) ---------- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.ind-card {
    position: relative;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.25s ease;
}

.ind-card:hover {
    border-color: var(--navy);
}

.ind-card.dim {
    opacity: 0.6;
}

.ind-badge {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    margin-bottom: 20px;
}

.badge-now {
    background: var(--navy);
    color: #fff;
}

.badge-next {
    background: var(--line);
    color: var(--muted);
}

.ind-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.ind-name {
    font-family: var(--font-jp);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.ind-desc {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    line-height: 1.85;
    color: var(--ink);
}

/* ---------- Mission/Vision dark cards ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 56px;
}

.mv-card {
    padding: 56px 48px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mv-label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.24em;
    color: rgba(91, 155, 213, 0.9);
    margin-bottom: 24px;
}

.mv-heading {
    font-family: var(--font-jp);
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.005em;
}

.mv-body {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 2.05;
    color: rgba(255, 255, 255, 0.78);
}

/* ---------- Tag list ---------- */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid var(--line);
    font-family: var(--font-jp);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--navy);
}

.tag svg {
    flex-shrink: 0;
}

.tag.on {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.tag.dim {
    color: var(--muted-soft);
    border-color: var(--line-soft);
}

/* ---------- Startup grid (4 dots) ---------- */
.startup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.startup-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--line);
}

.startup-item .s-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    background: var(--navy);
    border-radius: 50%;
}

.startup-item p {
    font-family: var(--font-jp);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
}

/* ---------- Role cards ---------- */
.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.role-card {
    padding: 48px 40px;
    background: #fff;
    border: 1px solid var(--line);
    transition: border-color 0.25s ease;
}

.role-card:hover {
    border-color: var(--navy);
}

.role-pos {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--muted);
    margin-bottom: 16px;
}

.role-title {
    font-family: var(--font-jp);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.005em;
}

.role-sub {
    font-family: var(--font-jp);
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.role-divider {
    width: 32px;
    height: 1px;
    background: var(--line-strong);
    margin-bottom: 24px;
}

.role-body {
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    line-height: 1.95;
    color: var(--ink);
}

/* ---------- Dev flow ---------- */
.dev-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 40px 0 16px;
}

.dev-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.dev-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-jp);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
}

.dev-circle.final {
    background: var(--navy);
    color: #fff;
}

.dev-step-en {
    font-family: var(--font-en);
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.08em;
}

.dev-arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ---------- Work styles grid ---------- */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.work-item {
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    text-align: center;
}

.work-en {
    font-family: var(--font-en);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.work-ja {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ---------- Office photos ---------- */
.office-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.office-grid figure {
    margin: 0;
}

.office-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.office-grid figcaption {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
}

/* ---------- Process steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.proc-step {
    padding: 32px 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-align: left;
}

.proc-num {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 16px;
}

.proc-title {
    font-family: var(--font-jp);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
}

.proc-desc {
    font-family: var(--font-jp);
    font-size: 0.875rem;
    line-height: 1.85;
    color: var(--ink);
}

.proc-note {
    font-family: var(--font-jp);
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 32px;
    text-align: center;
}

/* ---------- Final CTA ---------- */
.final-cta {
    background: var(--navy-deep);
    color: #fff;
    padding: 120px 0;
    text-align: center;
}

.final-cta-title {
    font-family: var(--font-jp);
    font-size: clamp(1.875rem, 3.8vw, 2.75rem);
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    letter-spacing: -0.005em;
    margin-bottom: 32px;
}

.final-cta-body {
    font-family: var(--font-jp);
    font-size: 1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 48px;
}

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

/* ---------- Responsive (sub-pages) ---------- */
@media (max-width: 960px) {
    .two-col {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

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

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

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

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

    .profile-image {
        max-width: 320px;
    }

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

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

@media (max-width: 720px) {
    .subpage-hero {
        padding: 72px 0 56px;
    }

    .sec {
        padding: 72px 0;
    }

    .sec-divider {
        margin: 56px 0;
    }

    .page-nav {
        top: 88px;
    }

    .why-grid,
    .industry-grid,
    .startup-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .info-list {
        grid-template-columns: 1fr;
        column-gap: 0;
    }

    .info-list dt {
        padding: 16px 0 4px;
        border-bottom: none;
    }

    .info-list dd {
        padding: 0 0 16px;
    }

    .mv-card {
        padding: 36px 28px;
    }

    .role-card {
        padding: 32px 24px;
    }

    .dev-flow {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .closing-cta,
    .final-cta {
        padding: 80px 0;
    }

    .final-cta-btns {
        flex-direction: column;
    }
}
