/* ==========================================
   BLUE GRID Design System v1.0
   Design Tokens
   ========================================== */

:root {
    /* 1. Colors */
    /* Background */
    --bg-0: #070C18;
    --bg-1: #060A14;
    
    /* Surface (Cards) */
    --surface-1: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.06);
    
    /* Border */
    --border-regular: rgba(64, 224, 255, 0.22);
    --border-strong: rgba(64, 224, 255, 0.42);
    
    /* Accent (Cyan) */
    --accent: rgba(64, 224, 255, 0.95);
    --accent-soft: rgba(64, 224, 255, 0.55);
    
    /* Text */
    --text-primary: rgba(240, 246, 255, 0.92);
    --text-secondary: rgba(200, 216, 245, 0.78);
    --text-tertiary: rgba(160, 178, 214, 0.62);
    
    /* Legacy aliases (for compatibility with existing code) */
    --navy-900: #070B18;
    --navy-800: #0B1226;
    --cyan-500: var(--accent);
    --cyan-300: var(--accent-soft);
    --ink: var(--text-primary);
    --white: var(--text-primary);
    --off-white: var(--text-secondary);
    --card-bg: var(--surface-1);
    --border: var(--border-regular);
    --radius: var(--radius-card);
    --gap: var(--card-gap);
    
    /* 2. Typography */
    --font-jp: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    --font-serif-jp: 'Noto Serif JP', serif;
    --font-en: 'Inter', system-ui, sans-serif;
    
    /* Font Sizes */
    --display: 56px;
    --h1: 44px;
    --h2: 36px;
    --h3: 22px;
    --body: 16px;
    --small: 14px;
    --caption: 12px;
    
    /* Font Weights */
    --weight-regular: 400;
    --weight-semibold: 600;
    --weight-bold: 700;
    
    /* Line Heights */
    --lh-tight: 1.15;
    --lh-normal: 1.55;
    
    /* 3. Spacing */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-24: 24px;
    --space-32: 32px;
    --space-48: 48px;
    --space-64: 64px;
    --space-96: 96px;
    
    /* 4. Layout */
    --container-max: 1120px;
    --section-padding-y: 64px;
    --section-padding-y-mobile: 40px;
    --card-gap: 20px;
    
    /* 5. Border Radius */
    --radius-card: 18px;
    --radius-button: 14px;
    --radius-pill: 999px;
    
    /* 6. Effects */
    --shadow-default: inset 0 0 0 1px rgba(64, 224, 255, 0.08);
    --glow-hover: 0 0 18px rgba(64, 224, 255, 0.10);
    --focus-ring: 0 0 0 3px rgba(64, 224, 255, 0.30);
    
    /* 7. Transitions */
    --transition-fast: 160ms ease;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    background: var(--bg-0);
    color: var(--text-primary);
    line-height: var(--lh-normal);
    font-size: var(--body);
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    color: var(--cyan-500);
    letter-spacing: 4px;
    margin-bottom: 32px;
    animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    border: 3px solid rgba(69, 217, 255, 0.1);
    border-top-color: var(--cyan-500);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--navy-800);
}

::-webkit-scrollbar-thumb {
    background: var(--cyan-500);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan-300);
}

/* Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(69, 217, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(69, 217, 255, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

#nodeCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Typography */
h1 {
    font-family: var(--font-serif-jp);
    font-weight: 500;
    line-height: var(--lh-tight);
    letter-spacing: 0.01em;
    font-size: var(--h1);
    color: var(--text-primary);
}

h2 {
    font-family: var(--font-jp);
    font-weight: var(--weight-bold);
    line-height: var(--lh-tight);
    font-size: var(--h2);
    color: var(--text-primary);
}

h3 {
    font-family: var(--font-jp);
    font-weight: var(--weight-semibold);
    line-height: var(--lh-tight);
    font-size: var(--h3);
    color: var(--text-primary);
}

h4, h5, h6 {
    font-family: var(--font-jp);
    font-weight: var(--weight-semibold);
    line-height: var(--lh-tight);
}

.lead {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-secondary);
    font-family: var(--font-jp);
    line-height: var(--lh-normal);
}

.note {
    font-size: var(--small);
    color: var(--text-tertiary);
    font-family: var(--font-jp);
}

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

.section {
    position: relative;
    padding: var(--section-padding-y) 0;
    z-index: 2;
}

/* Legacy section-title (backward compatibility) */
.section-title {
    text-align: center;
    margin-bottom: var(--space-64);
    color: var(--text-primary);
    font-family: var(--font-jp);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.03em;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-12) auto 0;
    border-radius: 2px;
}

.subsection-title {
    margin: var(--space-48) 0 var(--space-24);
    color: var(--accent-soft);
}

.section-intro {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-64);
    color: var(--text-secondary);
}

.prcc-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9em;
    margin-left: var(--space-12);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.prcc-link:hover {
    opacity: 1;
}

.prcc-link-text {
    text-align: center;
    margin-top: var(--space-24);
    font-size: var(--small);
}

.prcc-external-link {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-fast);
    border-bottom: 1px solid var(--border-regular);
    padding-bottom: 2px;
}

.prcc-external-link:hover {
    color: rgba(64, 224, 255, 1);
    border-bottom-color: var(--border-strong);
}

.section--navy {
    background: var(--navy-800);
}

.value-flow-subtitle {
    text-align: center;
    margin: 12px auto 40px;
    color: rgba(230, 238, 255, 0.85);
    font-size: 18px;
    letter-spacing: 0.2em;
}

.mission-statement {
    max-width: 1000px;
    margin: 0 auto 64px;
}

.mission-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--cyan-500);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.mission-text {
    font-family: var(--font-jp);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ink);
    letter-spacing: 0.02em;
    margin: 0;
}

@media (max-width: 768px) {
    .mission-text {
        font-size: 24px;
    }
}

.section-next {
    text-align: center;
    margin-top: 48px;
    padding: 24px;
    background: rgba(69, 217, 255, 0.05);
    border-radius: 8px;
    color: var(--cyan-300);
    font-family: var(--font-jp);
    font-size: 16px;
    font-weight: 500;
}

/* Button Group (CTA) */
.cta-buttons {
    display: flex;
    gap: var(--space-16);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-32);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
    backdrop-filter: none;
}

.nav::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 11, 24, 0.55), rgba(7, 11, 24, 0.25));
    pointer-events: none;
    opacity: 0.35;
    transition: opacity 0.4s ease;
    z-index: -1;
    backdrop-filter: blur(16px);
}

.nav.scrolled {
    background: rgba(11, 18, 38, 0.6);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px var(--shadow);
}

.nav.scrolled::before {
    opacity: 0.6;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-en);
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.1em;
    text-decoration: none;
}

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

.nav-link {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--cyan-300);
}

.nav-cta {
    background: var(--accent);
    color: var(--bg-0);
    padding: 8px 20px;
    border-radius: var(--radius-button);
    font-weight: 600;
    border: 1px solid var(--accent);
    transition: var(--transition-fast);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: rgba(64, 224, 255, 1);
    box-shadow: var(--glow-hover);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cyan-500);
    border-radius: 3px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons (Legacy - kept for backward compatibility) */
.btn-tertiary {
    background: transparent;
    color: var(--text-primary);
    border: none;
    padding: 10px 0;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.btn-tertiary:hover {
    color: var(--cyan-500);
    text-decoration: underline;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Cards */
.card {
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

/* Card styles moved to Design System Components section (line 2110+) */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--gap);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.card-title {
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-jp);
    font-weight: 700;
}

.card-description {
    opacity: 0.9;
    line-height: 1.7;
}

.card-list {
    list-style: none;
    padding: 0;
}

.card-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--cyan-500);
}

.card-link {
    color: var(--cyan-500);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 16px;
    transition: var(--transition);
}

.text-link {
    color: var(--cyan-500);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.text-link::after {
    content: '→';
    font-size: 90%;
}

.text-link:hover {
    color: var(--cyan-300);
    transform: translateX(2px);
}

.card-link:hover {
    color: var(--cyan-300);
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background:
        linear-gradient(180deg, rgba(7, 11, 24, 0.35) 0%, rgba(7, 11, 24, 0.55) 50%, rgba(7, 11, 24, 0.65) 100%),
        url('assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(7, 11, 24, 0.45) 0%,
        rgba(7, 11, 24, 0.55) 50%,
        rgba(7, 11, 24, 0.62) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
    opacity: 0.02;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gap);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
    margin-left: -80px;
}

.hero-title {
    margin-bottom: 24px;
    color: var(--white);
    font-family: var(--font-serif-jp);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--cyan-300);
    font-family: var(--font-en);
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.mobile-br {
    display: none;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1.5s ease-out;
    margin-bottom: 40px;
}

/* Orbit diagram - rotate+translate method (browser-safe) */
.orbit {
    --size: 420px;
    --r: calc(var(--size) / 2 - 10px);
    --dot: 14px;
    --gap: 16px;
    position: relative;
    width: var(--size);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.orbit .ring {
    position: absolute;
    inset: 0;
    border: 1.4px solid rgba(69, 217, 255, 0.35);
    border-radius: 9999px;
}

.orbit .center {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-en);
    letter-spacing: 0.08em;
    font-size: 18px;
    font-weight: 500;
    color: rgba(69, 217, 255, 0.85);
}

.orbit .center-text {
    position: absolute;
    z-index: 2;
    font-weight: 700;
    font-size: 28px;
    color: var(--off-white);
}

.orbit .center-image {
    width: 70%;
    height: auto;
    opacity: 0.5;
    z-index: 1;
}

/* Key: rotate + translateY (no sin/cos) */
.orbit .point {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(calc(-1 * var(--r)));
}

/* Node dot */
.orbit .dot {
    position: absolute;
    left: 0;
    top: 0;
    width: var(--dot);
    height: var(--dot);
    border-radius: 9999px;
    transform: translate(-50%, -50%);
    background: rgba(69, 217, 255, 0.85);
}

/* Label: push outward, counter-rotate to keep horizontal */
.orbit .label {
    position: absolute;
    left: 0;
    top: 0;
    transform:
        translate(-50%, -50%)
        translateY(calc(-1 * (var(--dot)/2 + var(--gap))))
        rotate(calc(-1 * var(--a)));
    white-space: nowrap;
    font-family: var(--font-jp);
    font-size: 16px;
    letter-spacing: 0.02em;
    color: rgba(230, 238, 255, 0.9);
}

/* Individual label adjustments */
.orbit .point-top .label {
    transform:
        translate(-50%, -50%)
        translateY(calc(-1 * (var(--dot)/2 + var(--gap) + 15px)))
        rotate(calc(-1 * var(--a)));
}

.orbit .point-left .label,
.orbit .point-right .label {
    transform:
        translate(-50%, -50%)
        translateY(calc(-1 * (var(--dot)/2 + var(--gap) + 40px)))
        rotate(calc(-1 * var(--a)));
}

@media (max-width: 768px) {
    .orbit {
        --size: 360px;
    }
    .orbit .label {
        font-size: 14px;
    }
    .orbit .point-top .label {
        transform:
            translate(-50%, -50%)
            translateY(calc(-1 * (var(--dot)/2 + var(--gap)) - 8px))
            rotate(calc(-1 * var(--a)));
    }
    .orbit .point-left .label,
    .orbit .point-right .label {
        transform:
            translate(-50%, -50%)
            translateY(calc(-1 * (var(--dot)/2 + var(--gap) + 8px)))
            rotate(calc(-1 * var(--a)));
    }
    .orbit .center {
        font-size: 16px;
    }
    .hero-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .orbit {
        --size: 260px;
    }
    .orbit .label {
        font-size: 13px;
    }
    .orbit .point-top .label {
        transform:
            translate(-50%, -50%)
            translateY(calc(-1 * (var(--dot)/2 + var(--gap)) - 8px))
            rotate(calc(-1 * var(--a)));
    }
    .orbit .point-left .label,
    .orbit .point-right .label {
        transform:
            translate(-50%, -50%)
            translateY(calc(-1 * (var(--dot)/2 + var(--gap) + 6px)))
            rotate(calc(-1 * var(--a)));
    }
    .orbit .center {
        font-size: 14px;
    }
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(69, 217, 255, 0.3));
}

.hero-svg-fallback {
    display: none;
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(69, 217, 255, 0.3));
}

.hero-svg-fallback .pulse-node {
    animation: pulse-svg 3s ease-in-out infinite;
}

@keyframes pulse-svg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Value Flow Section */
.value-flow {
    padding: 80px 0;
    background: rgba(7, 11, 24, 0.5);
}

.prcc-network-bar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px 32px;
    margin-top: 48px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.network-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.network-label {
    font-family: var(--font-jp);
    font-weight: 700;
    font-size: 18px;
    color: var(--cyan-500);
    letter-spacing: 0.04em;
}

.prcc-network-link {
    color: var(--cyan-400);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    transition: all 0.2s ease;
}

.prcc-network-link:hover {
    color: var(--cyan-300);
    text-decoration-color: var(--cyan-300);
}

.network-description {
    font-family: var(--font-jp);
    font-size: 14px;
    color: var(--off-white);
}

.flow-cards {
    --flow-gap: 32px;
    --flow-arrow-size: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--flow-gap);
    position: relative;
    align-items: stretch;
}

.flow-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
}

.flow-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--glow-hover);
}

.flow-number {
    font-family: var(--font-en);
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(69, 217, 255, 1), rgba(69, 217, 255, 0.55));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.flow-title {
    font-family: var(--font-jp);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.flow-description {
    font-family: var(--font-jp);
    font-size: 15px;
    color: var(--off-white);
    line-height: 1.8;
}

.flow-arrow {
    position: absolute;
    top: 50%;
    left: calc(100% + (var(--flow-gap) - var(--flow-arrow-size)) / 2);
    transform: translateY(-50%);
    width: var(--flow-arrow-size);
    height: var(--flow-arrow-size);
    display: grid;
    place-items: center;
    font-size: 28px;
    color: var(--cyan-500);
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.flow-card:last-child .flow-arrow {
    display: none;
}

/* Timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--gap);
}

.timeline-item {
    position: relative;
}

.timeline-badge {
    background: linear-gradient(135deg, rgba(69, 217, 255, 1), rgba(69, 217, 255, 0.65));
    color: var(--navy-900);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--font-en);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--card-gap);
    width: 100%;
}

a.card-interactive.project-card {
    display: flex;
    flex-direction: column;
    /* card-interactiveのスタイルを継承（hover動作も含む） */
    height: 100%;
    width: 100%;
    /* card-interactiveを上書きしない */
}

.project-card .project-image {
    height: 240px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(7, 11, 24, 0.45), rgba(7, 11, 24, 0.05));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-card);
    width: 100%;
}

.project-card .project-image .badge {
    position: absolute;
    top: 12px;
    right: 12px;
}

.project-card--mechaland .project-image {
    background:
        linear-gradient(135deg, rgba(7, 11, 24, 0.58), rgba(7, 11, 24, 0.12)),
        url('assets/images/mechaland.png');
    background-size: cover;
    background-position: center center;
}

.project-card--oshino .project-image {
    background:
        linear-gradient(135deg, rgba(5, 9, 18, 0.72), rgba(5, 9, 18, 0.18)),
        url('assets/images/oshino-cultural-resort.jpg');
    background-size: cover;
    background-position: 60% center;
}

.project-card--disabled {
    cursor: default;
    pointer-events: none;
    position: relative;
}

.project-card--disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    border-radius: inherit;
    pointer-events: none;
}

/* Removed .projects .container override - use default container width */

.project-content {
    padding: var(--space-24) 0 0;
}

.project-title {
    color: var(--text-primary);
    margin-bottom: var(--space-12);
    font-family: var(--font-jp);
    font-weight: var(--weight-bold);
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.comparison-grid .highlight {
    border-color: var(--cyan-500);
    background: rgba(69, 217, 255, 0.05);
}

/* Ecosystem */
.ecosystem-image {
    margin: 48px 0;
    text-align: center;
}

.ecosystem-image img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(69, 217, 255, 0.2));
}

.ecosystem-svg-fallback {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 0 auto;
    display: block;
}

/* Company Snapshot */
.company-snapshot {
    margin: 64px 0;
}

.snapshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.snapshot-item {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.snapshot-item h4 {
    color: var(--cyan-300);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.snapshot-value {
    color: var(--white);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0;
}

.snapshot-value-en {
    color: var(--off-white);
    font-size: 14px;
    font-family: var(--font-en);
    margin-top: 8px;
}

/* Leadership */
.leadership {
    margin: 64px 0;
}

.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-top: 32px;
}

.leader-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition-fast);
}

.leader-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-3px);
    box-shadow: var(--glow-hover);
}

.leader-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(69, 217, 255, 0.1), rgba(149, 247, 184, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}

.leader-info {
    text-align: center;
}

.leader-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.leader-title {
    font-size: 16px;
    color: var(--cyan-300);
    margin-bottom: 24px;
    font-weight: 600;
}

.leader-details {
    text-align: left;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
}

.leader-details p {
    margin: 12px 0;
    line-height: 1.8;
    font-size: 14px;
}

.leader-details strong {
    color: var(--cyan-300);
    font-weight: 600;
}

/* Partners */
.partners {
    margin: 64px 0;
}

.partner-logos {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.partner-item {
    background: none;
    border: none;
    padding: 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    transition: color 0.2s ease;
    text-align: left;
    min-width: 220px;
}

.partner-item:hover {
    color: var(--cyan-300);
}

.prcc-link {
    color: var(--cyan-500);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.prcc-link:hover {
    color: var(--cyan-300);
    border-bottom-color: var(--cyan-300);
}

/* Insights */
.insights-categories {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.category-tab {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border);
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-jp);
    font-size: 14px;
    font-weight: 500;
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, rgba(69, 217, 255, 1), rgba(69, 217, 255, 0.7));
    color: var(--navy-900);
    border-color: transparent;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--card-gap);
}

.insight-card {
    /* card-interactiveのスタイルを継承（hover動作も含む） */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* card-interactiveを上書きしない */
}

.insight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* 画像のscale効果を削除（カード全体の浮き動作と統一） */

.insight-content {
    padding: var(--space-24);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.insight-card .text-link {
    margin-top: auto;
}

/* Contact Form */
.contact {
    position: relative;
    background:
        linear-gradient(180deg, rgba(5, 9, 18, 0.6) 0%, rgba(5, 9, 18, 0.55) 60%, rgba(5, 9, 18, 0.5) 100%),
        radial-gradient(circle at 18% 12%, rgba(69, 217, 255, 0.15), transparent 30%),
        radial-gradient(circle at 82% 18%, rgba(111, 227, 255, 0.1), transparent 34%),
        url('assets/images/contact-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    padding-bottom: 160px;
    perspective: 1px;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(7, 11, 24, 0.5) 0%, 
        rgba(7, 11, 24, 0.45) 100%);
    z-index: 1;
}

.contact::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,%3Csvg viewBox=\"0 0 200 200\" xmlns=\"http://www.w3.org/2000/svg\"%3E%3Cfilter id=\"noiseFilterContact\"%3E%3CfeTurbulence type=\"fractalNoise\" baseFrequency=\"0.9\" numOctaves=\"3\" stitchTiles=\"stitch\"/%3E%3C/filter%3E%3Crect width=\"100%25\" height=\"100%25\" filter=\"url(%23noiseFilterContact)\"/%3E%3C/svg%3E');
    opacity: 0.02;
    z-index: 1;
    pointer-events: none;
}

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

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
    font-size: 18px;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    transition: transform 0.1s ease-out;
    will-change: transform;
    position: relative;
    z-index: 10;
}

.contact-form {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--cyan-300);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
    font-family: var(--font-jp);
    font-size: 16px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--cyan-500);
    box-shadow: var(--focus-ring);
}

.form-control option {
    background: var(--navy-800);
    color: var(--ink);
}

textarea.form-control {
    resize: vertical;
}

.form-group label .optional {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 0.875rem;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background: var(--navy-800);
    padding: 64px 0 24px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    margin-bottom: 48px;
}

.footer-section h4 {
    color: var(--cyan-500);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.footer-tagline {
    color: var(--off-white);
    opacity: 0.9;
    line-height: 1.7;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: var(--ink);
    text-decoration: none;
    margin: 8px 0;
    opacity: 0.8;
    transition: var(--transition);
    font-size: 14px;
}

.footer-section a:hover {
    color: var(--cyan-300);
    opacity: 1;
    transform: translateX(4px);
}

.footer-link-disabled {
    display: block;
    color: var(--ink);
    margin: 8px 0;
    opacity: 0.4;
    font-size: 14px;
    cursor: default;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 40px 0 32px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 24px;
}

.footer-copyright {
    opacity: 0.6;
    font-size: 13px;
}

.footer-network {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.footer-prcc-link {
    color: var(--cyan-400);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--cyan-500);
    padding-bottom: 2px;
}

.footer-prcc-link:hover {
    color: var(--cyan-300);
    border-bottom-color: var(--cyan-300);
}

.footer-network-info {
    color: var(--off-white);
    opacity: 0.7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(64, 224, 255, 0);
    }
    50% {
        box-shadow: var(--glow-hover);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 48px;
    }
    .hero {
        padding-top: 64px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
        gap: 28px 24px;
    }
    .flow-cards {
        grid-template-columns: 1fr;
        --flow-gap: 32px;
        --flow-arrow-size: 28px;
    }
    .flow-arrow {
        top: calc(100% + (var(--flow-gap) - var(--flow-arrow-size)) / 2);
        left: 50%;
        transform: translate(-50%, 0) rotate(90deg);
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(7, 11, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 24px;
        gap: 24px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        display: flex;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        gap: 32px;
    }
    
    .value-flow {
        padding: 60px 0;
    }
    
    .flow-cards {
        --flow-gap: 24px;
        --flow-arrow-size: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 34px;
    }
    .hero {
        padding-top: 100px;
    }
    .mobile-br {
        display: inline;
    }
    .flow-card {
        padding: 32px 24px;
    }
    .hero-container {
        gap: 24px;
    }
}

/* Project Pages Common Styles */
.project-hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.project-status {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 15px;
}

.project-status--oshino {
    background: linear-gradient(135deg, rgba(255, 200, 87, 0.95), rgba(255, 200, 87, 0.72));
    color: #031425;
    border: 1px solid rgba(255, 200, 87, 0.6);
}

.project-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.accent-heading {
    color: var(--cyan-300);
    margin-bottom: 24px;
}

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

.cta-lead {
    margin-bottom: 32px;
    font-size: 18px;
}

.project-layers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.layer-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.layer-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.spec-item {
    background: rgba(69, 217, 255, 0.05);
    border-left: 2px solid var(--cyan-500);
    padding: 24px;
    border-radius: 8px;
}

.spec-label {
    color: var(--cyan-300);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.spec-value {
    font-size: 20px;
    font-weight: 700;
}

/* Oshino Building Hub */
.building-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 48px 0;
}

.building-hub-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
}

.building-hub-title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.building-hub-title h3 {
    color: var(--cyan-300);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.building-hub-title p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.building-hub-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.building-hub-card li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(69, 217, 255, 0.1);
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

.building-hub-card li:last-child {
    border-bottom: none;
}

.hub-icon {
    display: inline-block;
    background: rgba(69, 217, 255, 0.1);
    color: var(--cyan-300);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 8px;
}

.revenue-row {
    background: rgba(69, 217, 255, 0.05);
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid var(--cyan-500);
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Cycle Model Integrated */
.cycle-integrated {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.cycle-svg {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0;
    min-height: 600px;
}

.cycle-items-integrated {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.cycle-item-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    /* クリック不可: hoverなし */
}

.cycle-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.cycle-item-card h4 {
    color: var(--cyan-300);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0;
}

.cycle-item-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 8px 0 0 0;
    opacity: 0.6;
}

/* Responsive for Cycle Model */
@media (max-width: 768px) {
    .cycle-integrated {
        padding: 0;
        margin: -40px auto -20px;
        overflow: hidden;
        max-width: 100%;
    }
    
    .cycle-svg {
        height: auto;
        min-height: 650px;
        margin: 0 auto;
        transform: scale(1.4);
        transform-origin: center;
        max-width: 100%;
    }
    
    .cycle-items-integrated {
        grid-template-columns: 1fr;
        gap: 6px;
        margin-top: -25px;
        margin-bottom: 20px;
    }
    
    .cycle-item-card {
        padding: 10px 12px;
    }
    
    .cycle-icon {
        font-size: 26px;
        margin-bottom: 3px;
    }
    
    .cycle-svg line {
        display: none;
    }
}

/* Utility Classes for Common Inline Styles */
.mt-24 {
    margin-top: 24px;
}

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

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

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

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

.text-left {
    text-align: left;
}

.cyan-heading {
    color: var(--cyan-300);
    margin-bottom: 16px;
}

.large-text {
    font-size: 18px;
    line-height: 1.8;
}

/* ==========================================
   BLUE GRID Design System Components
   ========================================== */

/* 1. Section Header (統一見出し) */
.section-header {
    text-align: center;
    margin-bottom: var(--space-48);
}

.section-header.left {
    text-align: left;
}

.section-header h2 {
    margin-bottom: var(--space-16);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 52px;
    height: 3px;
    background: var(--accent);
    margin: var(--space-12) auto 0;
}

.section-header.left h2::after {
    margin-left: 0;
}

.section-header .lead {
    max-width: 680px;
    margin: 0 auto;
}

.section-header.left .lead {
    margin: 0;
}

/* 2. Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-32);
    border-radius: var(--radius-button);
    font-family: var(--font-jp);
    font-size: var(--body);
    font-weight: var(--weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    gap: var(--space-8);
}

.btn:focus-visible {
    box-shadow: var(--focus-ring);
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-0);
}

.btn-primary:hover {
    background: rgba(64, 224, 255, 1);
    transform: translateY(-2px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 0 0 4px rgba(64, 224, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border-regular);
}

.btn-secondary:hover {
    border-color: var(--border-strong);
    box-shadow: var(--glow-hover);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 0 0 4px rgba(64, 224, 255, 0.15);
}

/* Text Link (統一リンク) */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    color: var(--accent);
    text-decoration: none;
    font-size: var(--body);
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
}

.text-link:hover {
    color: rgba(64, 224, 255, 1);
    gap: var(--space-12);
}

.text-link:active {
    transform: translateX(1px);
    opacity: 0.8;
}

.text-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.text-link::after {
    content: '→';
}

/* 3. Cards */
/* Interactive Card (クリック可能) */
.card-interactive {
    display: block;
    background: var(--surface-1);
    border: 2px solid var(--border-regular);
    border-radius: var(--radius-card);
    padding: var(--space-24);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-default), 0 0 8px rgba(64, 224, 255, 0.12);
}

.card-interactive:hover {
    border-color: var(--border-strong);
    box-shadow: 0 0 16px rgba(64, 224, 255, 0.24);
    transform: translateY(-6px);
}

.card-interactive:active {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(64, 224, 255, 0.28);
}

.card-interactive:focus-visible {
    box-shadow: var(--focus-ring);
}

/* Static Panel (情報枠・クリック不可) */
.card-static {
    background: var(--surface-1);
    border: 1px solid rgba(64, 224, 255, 0.08);
    border-radius: var(--radius-card);
    padding: var(--space-24);
    cursor: default;
    /* hoverなし・動きなし */
}
}

/* Card with Image */
.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-card);
    margin-bottom: var(--space-16);
}

.card-title {
    font-size: var(--h3);
    font-weight: var(--weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-12);
}

.card-text {
    font-size: var(--body);
    color: var(--text-secondary);
    line-height: var(--lh-normal);
    margin-bottom: var(--space-16);
    /* 最大2行まで */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 4. Chip (カテゴリ) */
.chip {
    display: inline-flex;
    align-items: center;
    padding: var(--space-8) var(--space-16);
    background: var(--surface-2);
    border: 1px solid var(--border-regular);
    border-radius: var(--radius-pill);
    font-size: var(--small);
    font-weight: var(--weight-semibold);
    color: var(--accent-soft);
    margin-bottom: var(--space-12);
}

/* 5. Status Badge (確定/交渉中) */
.badge {
    position: absolute;
    top: 80px;
    right: var(--space-16);
    padding: var(--space-8) var(--space-16);
    background: rgba(64, 224, 255, 0.15);
    border: 1px solid var(--border-regular);
    border-radius: var(--radius-pill);
    font-size: var(--caption);
    font-weight: var(--weight-semibold);
    color: var(--accent);
    backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
    .badge {
        top: 70px;
    }
}

/* 6. Grid Layout (カード配置) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--card-gap);
}

.card-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--card-gap);
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--card-gap);
}

@media (max-width: 968px) {
    .card-grid-2,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* 7. Focus States (アクセシビリティ) */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
    box-shadow: var(--focus-ring);
}

/* 8. Mobile Responsive (Design System) */
@media (max-width: 768px) {
    :root {
        --section-padding-y: 40px;
        --display: 44px;
        --h1: 36px;
        --h2: 28px;
        --h3: 20px;
    }

    .section-header h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .card-grid-2,
    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-12) !important;
    }

    .hero-cta .btn {
        width: 100%;
    }
}
