/* Base & Fonts for Minimalist Corporate Aesthetic */
:root {
    --bg-white: #ffffff;
    --bg-light-gray: #f9f9f9;
    --border-color: #e5e5e5;
    
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #999999;
    
    --accent-color: #000000;    /* Stark black for emphasis */
    --link-hover: #666666;
}

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
button { -webkit-tap-highlight-color: transparent; }

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

header {
    position: relative;
    z-index: 20;
}

main, footer {
    position: relative;
    z-index: 10;
}

/* Layout Utilities */
.container { max-width: 1040px; margin: 0 auto; padding: 0 5vw; }
.container-medium { max-width: 800px; margin: 0 auto; padding: 0 5vw; }
.container-narrow { max-width: 700px; margin: 0 auto; padding: 0 5vw; }

.section { padding: 10rem 0; position: relative; }
.bg-light-gray { background-color: var(--bg-light-gray); }

/* Typography */
.section-subtitle {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-header { margin-bottom: 5rem; text-align: left; }
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.muted-text { color: var(--text-tertiary); font-size: 0.9em; }

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--bg-white);
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 0; /* Sharp corners */
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button .arrow {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    background-color: var(--bg-white);
    color: var(--accent-color);
}

.cta-button:hover .arrow {
    transform: translateX(5px);
}

.cta-button.full-width { width: 100%; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 1rem 5vw;
    border-bottom: 1px solid var(--border-color);
}

.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--link-hover); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { width: 24px; height: 1px; background-color: var(--text-primary); transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

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

.hero-headline {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.hero-subline {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3.5rem;
}

/* Responsive Text Wrapping */
.pc-nowrap {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .pc-nowrap {
        white-space: normal;
    }
    .pc-break { display: none; }
}


/* Mission Statement */
.mission-wrapper { max-width: 720px; }
.mission-wrapper .section-title { font-size: 2.5rem; margin-bottom: 3rem; }
.mission-body p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.5rem; }


/* Group Synergy */
.synergy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.synergy-card {
    display: block;
    padding: 3rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    cursor: pointer;
    position: relative;
}

a.synergy-card::after {
    content: '↗';
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    background-color: var(--bg-white);
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.synergy-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08); /* 影を濃く */
}

a.synergy-card:hover {
    transform: translateY(-5px);
}

a.synergy-card:hover::after {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-white);
    transform: translate(3px, -3px);
}

.company-name { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.role-title { font-size: 0.95rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 1.5rem; }
.card-desc { color: var(--text-secondary); margin-bottom: 2rem; font-size: 1rem; line-height: 1.7; min-height: 80px; }

.tags { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.tag { font-size: 0.75rem; letter-spacing: 0.05em; border: 1px solid var(--border-color); padding: 0.4rem 0.8rem; color: var(--text-secondary); }


/* Our Edge & Proof */
.edge-list { border-top: 1px solid var(--border-color); }
.edge-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}
.edge-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-tertiary);
    line-height: 1;
    font-family: 'Inter', sans-serif;
}
.edge-content { flex: 1; }
.edge-content p { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.5rem; letter-spacing: -0.02em; }


/* Case Studies / Results */
.results-grid { display: flex; flex-direction: column; gap: 4rem; border-top: 1px solid var(--border-color); padding-top: 4rem; }
.result-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}
.result-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.result-title { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; }
.result-wrapper { display: flex; flex-direction: column; gap: 2.5rem; }
.result-content-block { flex: 1; }
.result-content-block h4 { color: var(--text-primary); font-size: 0.9rem; margin-bottom: 0.8rem; font-weight: 600; }
.result-content-block p { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.outcome-highlight {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    padding-left: 1rem;
}
.outcome-highlight::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
}


/* Founder Profile */
.profile-card { background: var(--bg-white); border: 1px solid var(--border-color); padding: 4rem; }
.profile-header { display: flex; align-items: flex-start; gap: 4rem; margin-bottom: 4rem; }
.profile-portrait { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex-shrink: 0; }
.profile-image { 
    width: 140px; height: 140px; 
    object-fit: cover; 
    border-radius: 0; 
    filter: grayscale(100%); 
} 
.profile-name { font-size: 1rem; font-weight: 600; text-align: center; line-height: 1.4; color: var(--text-primary); }
.profile-name span { font-size: 0.75rem; font-weight: 400; color: var(--text-secondary); letter-spacing: 0.05em; }
.profile-intro { font-size: 1.1rem; line-height: 1.8; color: var(--text-secondary); }

.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 5px; bottom: 0;
    width: 1px;
    background-color: var(--border-color);
}
.timeline-item { position: relative; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--border-color); outline: 4px solid var(--bg-white); }
.active-dot { background: var(--accent-color); }
.timeline-content h4 { margin-bottom: 0.8rem; font-size: 1.1rem; font-weight: 600; }
.timeline-content small { font-weight: 400; color: var(--text-tertiary); }
.text-dark { color: var(--accent-color); }

.profile-card .tags .tag { border-color: transparent; background-color: var(--bg-light-gray); }
.profile-card .tags .highlight-tag { background-color: var(--accent-color); color: var(--bg-white); }


/* Contact Form */
.contact-wrapper { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-wrapper .section-header { text-align: center; margin-bottom: 3rem; }
.contact-form { text-align: left; }
.form-row { display: flex; gap: 2rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group.half { flex: 1; margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 0.8rem; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
    border-radius: 0;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}
.contact-form .cta-button { margin-top: 1rem; }

/* Footer */
footer { padding: 4rem 0; background: var(--bg-white); border-top: 1px solid var(--border-color); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.02em; }
footer p { color: var(--text-tertiary); font-size: 0.85rem; }

/* Animations - Clean Fade Ins */
.fade-in { opacity: 0; transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in.visible { opacity: 1; }
.fade-in-up { opacity: 0; transform: translateY(30px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-in-up.visible { opacity: 1; transform: translateY(0); }


/* Responsive */
@media (max-width: 1024px) {
    .synergy-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-headline { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    /* Mobile App-like Padding Overrides */
    .section { padding: 5rem 0; }
    .section-header { margin-bottom: 3rem; }

    .hamburger { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: -100%; height: 100vh; width: 100%;
        background: var(--bg-white);
        flex-direction: column; align-items: center; justify-content: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1); gap: 2.5rem;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1.2rem; }
    
    .hero-headline { font-size: 2.5rem; }
    .hero-subline { font-size: 1.1rem; }
    .section-title { font-size: 2rem; }
    
    .form-row { flex-direction: column; gap: 1.5rem; }
    
    .result-card { grid-template-columns: 1fr; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-color); }
    .result-wrapper { flex-direction: column; gap: 2rem; }
    .result-card:last-child { border-bottom: none; }
    
    .edge-item { gap: 1.5rem; }
    .edge-number { font-size: 2.5rem; }
    .edge-content p { font-size: 1.2rem; }

    .profile-header { flex-direction: column; align-items: center; text-align: center; }
    
    .footer-content { flex-direction: column; gap: 1rem; text-align: center; }
}
