/* ===================================
   株式会社U コーポレートサイト CSS
   思想: クリーン・論理的・余白重視 + 洗練されたビジュアル
   =================================== */

/* ============ Keyframe Animations ============ */
@keyframes slideRightToLeft {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

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

@keyframes fadeInChar {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

:root {
    /* Colors - 洗練されたカラーパレット */
    --color-primary: #0a0a0a;
    --color-secondary: #3a3a3a;
    --color-accent: #0066ff;
    --color-accent-light: #4d94ff;
    --color-accent-dark: #0052cc;
    --color-text: #1a1a1a;
    --color-text-light: #5a5a5a;
    --color-text-lighter: #8a8a8a;
    --color-bg: #ffffff;
    --color-bg-light: #fafbfc;
    --color-bg-dark: #f5f6f7;
    --color-border: #e5e7eb;
    --color-border-light: #f0f1f3;
    
    /* Gradient Colors */
    --gradient-hero: linear-gradient(135deg, #f8f9fa 0%, #e8eef4 50%, #dae3ed 100%);
    --gradient-accent: linear-gradient(135deg, #0066ff 0%, #0052cc 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 100%);
    
    /* Typography */
    --font-ja: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-en: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing - 論理的な間隔システム */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 10rem;
    
    /* Layout */
    --container-width: 1200px;
    --container-narrow: 900px;
    
    /* Animation */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-ja);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: 3.75rem;
    font-weight: 700;
}
h2 { 
    font-size: 2.75rem;
    font-weight: 600;
}
h3 { 
    font-size: 1.875rem;
    font-weight: 600;
}
h4 { 
    font-size: 1.375rem;
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
    line-height: 1.9;
    letter-spacing: 0.01em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section-header {
    max-width: var(--container-narrow);
    margin: 0 auto var(--space-xl);
    text-align: center;
}

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    font-size: 0.813rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: 8px;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    line-height: 1.9;
}

/* ============ Header Navigation ============ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 1000;
    transition: var(--transition);
    opacity: 1;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-sm) 0;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
    transition: var(--transition-fast);
}

.logo-image {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
    background: transparent;
    mix-blend-mode: normal;
}

.logo:hover .logo-image {
    opacity: 0.7;
    transform: scale(1.05);
}

/* ============ Hero Section ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding-top: 80px;
    background: #ffffff;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
}

.hero-content {
    text-align: left;
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

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

.hero-text p {
    font-size: 8rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    font-family: 'Noto Serif JP', serif;
}

.hero-text p span {
    display: inline-block;
    opacity: 0;
    animation: fadeInChar 0.8s ease-out forwards;
}

.hero-text p:nth-child(1) span:nth-child(1) { animation-delay: 0.5s; }
.hero-text p:nth-child(1) span:nth-child(2) { animation-delay: 0.8s; }
.hero-text p:nth-child(1) span:nth-child(3) { animation-delay: 1.1s; }

.hero-text p:nth-child(2) span:nth-child(1) { animation-delay: 1.5s; }
.hero-text p:nth-child(2) span:nth-child(2) { animation-delay: 1.8s; }
.hero-text p:nth-child(2) span:nth-child(3) { animation-delay: 2.1s; }

.hero-text p:nth-child(3) span:nth-child(1) { animation-delay: 2.5s; }
.hero-text p:nth-child(3) span:nth-child(2) { animation-delay: 2.8s; }
.hero-text p:nth-child(3) span:nth-child(3) { animation-delay: 3.1s; }
.hero-text p:nth-child(3) span:nth-child(4) { animation-delay: 3.4s; }

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


/* ============ Message Section ============ */
.message-section {
    background-color: #000000;
    color: #ffffff;
    padding: var(--space-xxl) 0;
    position: relative;
}

.message-content {
    max-width: 900px;
    text-align: left;
}

.message-content p {
    font-size: 1.5rem;
    line-height: 2;
    margin-bottom: var(--space-xl);
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-emphasis {
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg) !important;
    color: #ffffff !important;
}

.message-tagline {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: var(--space-xl) !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
}

/* ============ Button Styles ============ */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.063rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

/* ============ Philosophy Section ============ */
.philosophy {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.philosophy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
    z-index: 2;
}

.philosophy::after {
    content: 'about U';
    position: absolute;
    top: var(--space-xxl);
    left: 0;
    font-size: 25rem;
    font-weight: 900;
    color: #000000;
    opacity: 0.1;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    animation: slideRightToLeft 30s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.philosophy .section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.philosophy .section-label {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.philosophy .section-label::after {
    display: none;
}

.philosophy .section-title {
    font-size: 1.223rem;
    text-align: left;
    margin-bottom: 0;
}

.philosophy-content {
    max-width: var(--container-narrow);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.philosophy-statement {
    margin-bottom: var(--space-xl);
    text-align: left;
}

.philosophy-statement .lead {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--color-primary);
    letter-spacing: -0.01em;
}

.philosophy-statement p {
    font-size: 1.188rem;
    color: var(--color-text-light);
    line-height: 1.9;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.philosophy-item {
    padding: var(--space-lg);
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border-left: 4px solid var(--color-accent);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.philosophy-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.philosophy-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-left-width: 6px;
}

.philosophy-item:hover::before {
    opacity: 1;
}

.philosophy-item h3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
    position: relative;
}

.philosophy-item p {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--color-text);
}

.philosophy-essence {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    margin-top: var(--space-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.philosophy-essence::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--color-accent);
    opacity: 0.1;
    line-height: 1;
}

.philosophy-essence blockquote {
    font-size: 1.625rem;
    font-weight: 600;
    line-height: 1.7;
    color: var(--color-primary);
    font-style: normal;
    letter-spacing: -0.01em;
    position: relative;
}

/* ============ Service Section ============ */
.service {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
    z-index: 2;
}

.service::after {
    content: 'Service';
    position: absolute;
    top: var(--space-xxl);
    left: 0;
    font-size: 25rem;
    font-weight: 900;
    color: #000000;
    opacity: 0.1;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    animation: slideRightToLeft 35s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.service .section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--space-xl) 0;
}

.service .section-label {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.service .section-label::after {
    display: none;
}

.service .section-title {
    font-size: 1.223rem;
    text-align: left;
    margin-bottom: 0;
}

.service .section-description {
    display: none;
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.service-flow {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-phase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    padding: var(--space-xl);
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    min-height: 133px;
}

.service-phase::before {
    display: none;
}

.service-phase:hover,
.service-phase.active {
    background: #000000;
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-phase:last-child {
    margin-bottom: 0;
}

.phase-number {
    display: none;
}

.phase-content {
    text-align: center;
    width: 100%;
    transition: var(--transition);
}

.phase-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-phase:hover .phase-content h3,
.service-phase.active .phase-content h3 {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.phase-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0;
}

.service-phase:hover .phase-content p,
.service-phase.active .phase-content p {
    color: #ffffff;
    opacity: 1;
    max-height: 500px;
    margin-top: var(--space-md);
}

.phase-plus {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    transform: none;
    width: 21px;
    height: 21px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.833rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: var(--transition);
}

.phase-plus::before {
    content: '+';
}

.service-phase:hover .phase-plus,
.service-phase.active .phase-plus {
    border-color: #ffffff;
    color: #ffffff;
    transform: rotate(45deg);
}
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--color-text);
}

/* ============ Why U Section ============ */
.why-u {
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.why-u::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
    z-index: 2;
}

.why-u::after {
    content: 'Why U';
    position: absolute;
    top: var(--space-xxl);
    left: 0;
    font-size: 25rem;
    font-weight: 900;
    color: #000000;
    opacity: 0.1;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    animation: slideRightToLeft 32s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.why-u .section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.why-u .section-label {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.why-u .section-label::after {
    display: none;
}

.why-u .section-title {
    font-size: 1.223rem;
    text-align: left;
    margin-bottom: 0;
}

.why-u-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.comparison {
    margin-bottom: var(--space-xxl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.comparison-item {
    margin-bottom: var(--space-lg);
    padding: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
}

.comparison-item h3 {
    font-size: 0.938rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    text-align: left;
    position: relative;
    padding-bottom: 0;
}

.comparison-item h3::after {
    display: none;
}

.comparison-card {
    padding: var(--space-xl);
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s ease;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.comparison-card:hover,
.comparison-card.active {
    background: #000000;
    border-color: #000000;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.comparison-text {
    text-align: center;
    transition: var(--transition);
    opacity: 1;
}

.comparison-card:hover .comparison-text,
.comparison-card.active .comparison-text {
    opacity: 0;
    position: absolute;
}

.comparison-text-hover {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - var(--space-xl));
    opacity: 0;
    transition: var(--transition);
}

.comparison-card:hover .comparison-text-hover,
.comparison-card.active .comparison-text-hover {
    opacity: 1;
    position: static;
    transform: none;
}

.comparison-text .label,
.comparison-text-hover .label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-text);
    transition: var(--transition);
}

.comparison-card:hover .comparison-text-hover .label,
.comparison-card.active .comparison-text-hover .label {
    color: #ffffff;
}

.comparison-text .description,
.comparison-text-hover .description {
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0;
    transition: var(--transition);
}

.comparison-card:hover .comparison-text-hover .description,
.comparison-card.active .comparison-text-hover .description {
    color: rgba(255, 255, 255, 0.85);
}

.comparison-arrow {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.comparison-arrow::after {
    content: '→';
    font-size: 1rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.comparison-card:hover .comparison-arrow,
.comparison-card.active .comparison-arrow {
    border-color: #ffffff;
}

.comparison-card:hover .comparison-arrow::after,
.comparison-card.active .comparison-arrow::after {
    color: #ffffff;
}

.comparison-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.comparison-detail p {
    padding: var(--space-lg);
    border-radius: 12px;
    line-height: 1.9;
    transition: var(--transition);
    position: relative;
}

.comparison-others {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border: 2px solid #e5e5e5;
}

.comparison-u {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f7ff 100%);
    border: 2px solid var(--color-accent-light);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.comparison-u:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.label {
    display: block;
    font-size: 0.813rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.comparison-item.positioning {
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.comparison-item.positioning h3 {
    text-align: center;
    padding-bottom: var(--space-md);
}

.comparison-item.positioning h3::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000000;
    border-radius: 3px;
}

.positioning-statement {
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.positioning-statement p {
    font-size: 1.223rem;
    line-height: 1.9;
    margin-bottom: var(--space-md);
}

.positioning-statement .emphasis {
    font-size: 1.223rem;
    font-weight: 400;
    color: var(--color-text);
    margin-top: var(--space-lg);
    line-height: 1.9;
    letter-spacing: 0;
}

/* ============ Our Works Section ============ */
.our-works {
    background: #000000;
    position: relative;
    overflow: hidden;
}

.our-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 2;
}

.our-works::after {
    content: 'Our Works';
    position: absolute;
    top: var(--space-xxl);
    left: 0;
    font-size: 25rem;
    font-weight: 900;
    color: #ffffff;
    opacity: 0.05;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    animation: slideRightToLeft 32s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.our-works .section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.our-works .section-label {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.our-works .section-label::after {
    display: none;
}

.our-works .section-title {
    font-size: 1.223rem;
    text-align: left;
    margin-bottom: 0;
    color: #ffffff;
}

.works-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.work-item {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    cursor: pointer;
}

.work-item:hover {
    transform: translateY(-4px);
}

.work-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: var(--space-md);
}

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

.work-item:hover .work-image img {
    transform: scale(1.05);
}

.work-info {
    padding: 0;
}

.work-client {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.work-type {
    font-size: 0.938rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
}

.works-note {
    text-align: center;
    padding: var(--space-md);
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

.works-note p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

/* ============ Belief Section ============ */
.belief {
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.belief::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
    z-index: 2;
}

.belief::after {
    content: 'Belief';
    position: absolute;
    top: var(--space-xxl);
    left: 0;
    font-size: 25rem;
    font-weight: 900;
    color: #000000;
    opacity: 0.1;
    white-space: nowrap;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    animation: slideRightToLeft 28s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.belief .section-header {
    text-align: left;
    max-width: 100%;
    margin: 0 0 var(--space-xl) 0;
    position: relative;
    z-index: 1;
}

.belief .section-label {
    font-size: 2.5rem;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.belief .section-label::after {
    display: none;
}

.belief .section-title {
    font-size: 1.223rem;
    text-align: left;
    margin-bottom: 0;
}

.belief-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.value-item {
    text-align: left;
    padding: 0;
    background: none;
    border-radius: 0;
    transition: var(--transition);
    box-shadow: none;
}

.value-item:hover {
    transform: none;
    box-shadow: none;
}

.value-number {
    display: none;
}

.value-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-text);
}

.value-item p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.8;
    margin: 0;
}

/* ============ Contact Section ============ */
.contact {
    background: linear-gradient(180deg, #fafbfc 0%, #f5f6f7 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-lead {
    font-size: 1.313rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-top: var(--space-md);
}

.contact-form-wrapper {
    background: white;
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.938rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--color-primary);
}

.required {
    color: #ff3b30;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    font-family: var(--font-ja);
    border: 2px solid var(--color-border);
    border-radius: 8px;
    transition: var(--transition-fast);
    background-color: var(--color-bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

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

.form-checkbox {
    flex-direction: row;
    align-items: center;
    margin-bottom: var(--space-md);
}

.form-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: var(--space-xs);
    cursor: pointer;
}

.form-checkbox span {
    font-size: 0.875rem;
    color: var(--color-text);
}

.form-checkbox a {
    color: var(--color-accent);
    text-decoration: underline;
}

.form-checkbox a:hover {
    color: var(--color-accent-dark);
}

.form-submit {
    text-align: center;
    margin-top: var(--space-md);
}

.form-note {
    font-size: 0.583rem;
    color: var(--color-text-light);
    margin-top: var(--space-md);
    line-height: 1.7;
}

/* ============ Contact Button Section ============ */
.contact-button-section {
    padding: var(--space-xxl) 0;
    background-color: var(--color-bg);
    text-align: center;
}

.btn-contact-gray {
    background-color: #e5e7eb;
    color: var(--color-text);
    border: none;
    transition: var(--transition);
    max-width: 600px;
    width: 100%;
    display: inline-block;
}

.btn-contact-gray:hover {
    background-color: #d1d5db;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============ Contact Page ============ */
.contact-page-section {
    padding: calc(var(--space-xxl) + 80px) 0 var(--space-xxl);
    background: linear-gradient(180deg, #fafbfc 0%, #f5f6f7 100%);
    position: relative;
}

.contact-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.contact-page-section .contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-page-section .contact-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-page-section .section-title {
    font-size: 1.667rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.contact-page-section .contact-lead {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text);
    margin-top: var(--space-md);
}

/* ============ Footer ============ */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: white;
    padding: var(--space-md) 0 var(--space-sm);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 82, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    text-align: center;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.938rem;
    font-family: var(--font-en);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-sm);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ============ Privacy Policy Page ============ */
.privacy-policy-section {
    padding: calc(var(--space-xxl) + 80px) 0 var(--space-xxl);
    background-color: var(--color-bg);
}

.privacy-policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-policy-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--color-primary);
}

.privacy-intro {
    font-size: 1.063rem;
    line-height: 1.9;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-accent);
    border-radius: 8px;
}

.privacy-section {
    margin-bottom: var(--space-xl);
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-border);
}

.privacy-section p {
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: var(--space-md);
    color: var(--color-text);
}

.privacy-section ul {
    margin: var(--space-md) 0 var(--space-md) var(--space-lg);
    list-style-type: disc;
}

.privacy-section li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.contact-info {
    padding: var(--space-lg);
    background-color: var(--color-bg-light);
    border-radius: 8px;
    margin-top: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-xs);
}

.contact-info strong {
    font-weight: 600;
    color: var(--color-primary);
}

.privacy-footer {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    text-align: right;
    color: var(--color-text-light);
}

.privacy-footer p {
    font-size: 0.938rem;
    margin-bottom: var(--space-xs);
}

.back-link {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ============ Responsive Design ============ */
@media (max-width: 1024px) {
    :root {
        --space-xl: 4rem;
        --space-xxl: 6rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .philosophy .section-label {
        font-size: 2rem;
    }
    
    .philosophy .section-title {
        font-size: 1.111rem;
    }
    
    .service .section-label {
        font-size: 2rem;
    }
    
    .service .section-title {
        font-size: 1.111rem;
    }
    
    .why-u .section-label {
        font-size: 2rem;
    }
    
    .why-u .section-title {
        font-size: 1.111rem;
    }
    
    .our-works .section-label {
        font-size: 2rem;
    }
    
    .our-works .section-title {
        font-size: 1.111rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .belief .section-label {
        font-size: 2rem;
    }
    
    .belief .section-title {
        font-size: 1.111rem;
    }
    
    .positioning-statement p,
    .positioning-statement .emphasis {
        font-size: 1.111rem;
    }
    
    .message-content p {
        font-size: 1.25rem;
    }
    
    .message-emphasis {
        font-size: 1.5rem !important;
    }
    
    .message-tagline {
        font-size: 1.75rem !important;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-xxl: 4rem;
    }
    
    /* Hero */
    .hero {
        min-height: 90vh;
        padding-top: 100px;
    }
    
    .hero-text p {
        font-size: 6rem;
    }
    
    /* Background animations - reduce size for mobile */
    .philosophy::after,
    .service::after,
    .why-u::after,
    .our-works::after,
    .belief::after {
        font-size: 12rem;
        opacity: 0.08;
        animation-duration: 20s;
    }
    
    /* Typography */
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.625rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Message Section */
    .message-content p {
        font-size: 1.125rem;
        margin-bottom: var(--space-lg);
    }
    
    .message-emphasis {
        font-size: 1.375rem !important;
    }
    
    .message-tagline {
        font-size: 1.5rem !important;
    }
    
    /* Philosophy */
    .philosophy .section-label {
        font-size: 1.75rem;
    }
    
    .philosophy .section-title {
        font-size: 1rem;
    }
    
    .service .section-label {
        font-size: 1.75rem;
    }
    
    .service .section-title {
        font-size: 1rem;
    }
    
    .why-u .section-label {
        font-size: 1.75rem;
    }
    
    .why-u .section-title {
        font-size: 1rem;
    }
    
    .belief .section-label {
        font-size: 1.75rem;
    }
    
    .belief .section-title {
        font-size: 1rem;
    }
    
    .our-works .section-label {
        font-size: 1.75rem;
    }
    
    .our-works .section-title {
        font-size: 1rem;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
    }
    
    /* Our Works - Full width images on mobile */
    .our-works .works-content {
        max-width: 100%;
    }
    
    .our-works .works-grid {
        padding: 0;
    }
    
    .our-works .work-image {
        border-radius: 0;
        margin-left: calc(-1 * var(--space-md));
        margin-right: calc(-1 * var(--space-md));
        width: calc(100% + 2 * var(--space-md));
    }
    
    .positioning-statement p,
    .positioning-statement .emphasis {
        font-size: 1rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    /* Service */
    .service-phase {
        padding: var(--space-lg);
        min-height: 107px;
    }
    
    .phase-content h3 {
        font-size: 1rem;
    }
    
    .phase-content p {
        font-size: 0.938rem;
    }
    
    .phase-plus {
        width: 19px;
        height: 19px;
        font-size: 0.75rem;
        bottom: var(--space-xs);
        right: var(--space-xs);
    }
    
    /* Why U */
    .comparison-detail {
        grid-template-columns: 1fr;
    }
    
    .comparison-card {
        min-height: 150px;
    }
    
    .comparison-text .label,
    .comparison-text-hover .label {
        font-size: 0.938rem;
    }
    
    .comparison-text .description,
    .comparison-text-hover .description {
        font-size: 0.875rem;
    }
    
    .comparison-arrow {
        width: 20px;
        height: 20px;
    }
    
    .comparison-arrow::after {
        font-size: 0.875rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .logo {
        height: 64px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 0;
        height: 0;
        padding-bottom: 177.78%;
        padding-top: 80px;
        position: relative;
    }
    
    .hero .container {
        padding: 0 var(--space-sm);
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        align-items: center;
    }
    
    .hero-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hero-text p {
        font-size: 4rem;
    }
    
    /* Background animations - further reduce for small mobile */
    .philosophy::after,
    .service::after,
    .why-u::after,
    .our-works::after,
    .belief::after {
        font-size: 8rem;
        opacity: 0.08;
        animation-duration: 15s;
    }
    
    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .message-content p {
        font-size: 1rem;
        margin-bottom: var(--space-md);
    }
    
    .message-emphasis {
        font-size: 1.25rem !important;
    }
    
    .message-tagline {
        font-size: 1.375rem !important;
    }
    
    .philosophy .section-label {
        font-size: 1.5rem;
    }
    
    .philosophy .section-title {
        font-size: 0.889rem;
    }
    
    .service .section-label {
        font-size: 1.5rem;
    }
    
    .service .section-title {
        font-size: 0.889rem;
    }
    
    .why-u .section-label {
        font-size: 1.5rem;
    }
    
    .why-u .section-title {
        font-size: 0.889rem;
    }
    
    .belief .section-label {
        font-size: 1.5rem;
    }
    
    .belief .section-title {
        font-size: 0.889rem;
    }
    
    .our-works .section-label {
        font-size: 1.5rem;
    }
    
    .our-works .section-title {
        font-size: 0.889rem;
    }
    
    /* Our Works - Full width images on small mobile */
    .our-works .work-image {
        margin-left: calc(-1 * var(--space-sm));
        margin-right: calc(-1 * var(--space-sm));
        width: calc(100% + 2 * var(--space-sm));
    }
    
    .positioning-statement p,
    .positioning-statement .emphasis {
        font-size: 0.889rem;
    }
    
    .phase-content h3 {
        font-size: 0.833rem;
    }
    
    .phase-content p {
        font-size: 0.875rem;
    }
    
    .phase-plus {
        width: 17px;
        height: 17px;
        font-size: 0.667rem;
        bottom: var(--space-xs);
        right: var(--space-xs);
    }
    
    .logo {
        height: 56px;
    }
    
    .footer-logo-image {
        height: 36px;
    }
}

/* ============ Accessibility ============ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ============ Scroll Reveal Animation ============ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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