/* ==========================================
   BIOS - Bio-Digital Noir Design System
   ========================================== */

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

:root {
    --deep-void-black: #0a0a0a;
    --bio-neon-green: #00ff66;
    --bio-glow-green: #39ff14;
    --titanium-silver: #c0c0c0;
    --dark-gray: #1a1a1a;
    --medium-gray: #2a2a2a;
    --light-gray: #888;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--deep-void-black);
    color: var(--titanium-silver);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   Header / Navigation
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 255, 102, 0.1);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.header-logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.25em;
    color: var(--titanium-silver);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.header-logo:hover {
    color: var(--bio-neon-green);
    text-shadow: 0 0 20px var(--bio-glow-green);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--titanium-silver);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bio-neon-green);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--bio-glow-green);
}

.nav-link:hover,
.nav-link.active {
    color: var(--bio-neon-green);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--titanium-silver);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--bio-neon-green);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--bio-neon-green);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem;
    padding-top: 80px;
    background: var(--deep-void-black);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/index_hero_bg_1772268497622.png') center/cover no-repeat;
    animation: kenBurns 30s ease-out infinite alternate;
    z-index: 0;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.08) 0%, var(--deep-void-black) 80%);
    z-index: 1;
    animation: heroGlow 4s ease-in-out infinite;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

/* Ensure content is above background */
.hero>* {
    position: relative;
    z-index: 2;
}

@keyframes heroGlow {

    0%,
    100% {
        background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.08) 0%, var(--deep-void-black) 80%);
    }

    50% {
        background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.15) 0%, var(--deep-void-black) 80%);
    }
}

.logo-container {
    margin-bottom: 3rem;
    position: relative;
    animation: fadeInScale 1.5s ease-out;
}

/* Helix Circuit Logo */
.helix-logo {
    width: 200px;
    height: 200px;
    position: relative;
}

.helix-logo svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px var(--bio-neon-green)) drop-shadow(0 0 50px var(--bio-glow-green));
    animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {

    0%,
    100% {
        filter: drop-shadow(0 0 30px var(--bio-neon-green)) drop-shadow(0 0 50px var(--bio-glow-green));
    }

    50% {
        filter: drop-shadow(0 0 40px var(--bio-neon-green)) drop-shadow(0 0 70px var(--bio-glow-green));
    }
}

.helix-path {
    stroke: var(--bio-neon-green);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: drawHelix 3s ease-in-out infinite, pulseGlow 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px var(--bio-glow-green));
}

.circuit-path {
    stroke: var(--bio-neon-green);
    stroke-width: 2;
    fill: none;
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes drawHelix {

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

    50% {
        stroke-dashoffset: 100;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.8;
        filter: drop-shadow(0 0 5px var(--bio-glow-green));
    }

    50% {
        opacity: 1;
        filter: drop-shadow(0 0 15px var(--bio-glow-green));
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        stroke-width: 3;
    }

    50% {
        stroke-width: 4;
    }
}

.company-name {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    color: var(--titanium-silver);
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.tagline {
    font-size: 1.5rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-description {
    max-width: 800px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 2rem;
    color: var(--titanium-silver);
    animation: fadeInUp 1s ease-out 0.9s both;
}

/* ==========================================
   Page Hero (subpages)
   ========================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.06) 0%, var(--deep-void-black) 70%);
    position: relative;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: var(--bio-neon-green);
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out both;
    text-shadow: 0 0 30px rgba(0, 255, 102, 0.3);
}

.page-hero .page-subtitle {
    font-size: 1.2rem;
    color: var(--titanium-silver);
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* ==========================================
   Content Sections
   ========================================== */
.content-section {
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-number {
    font-size: 0.85rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.3em;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--bio-neon-green);
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--bio-neon-green), transparent);
}

/* ==========================================
   Grid Cards
   ========================================== */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.concept-card {
    background: var(--dark-gray);
    padding: 2.5rem;
    border: 1px solid var(--medium-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bio-neon-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.concept-card:hover {
    border-color: var(--bio-neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.3), 0 0 50px rgba(57, 255, 20, 0.2);
}

.concept-card:hover::before {
    transform: scaleX(1);
}

.concept-card h3 {
    font-size: 1.5rem;
    color: var(--bio-neon-green);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.concept-card p {
    color: var(--titanium-silver);
    line-height: 1.8;
}

/* ==========================================
   Vision / Content Blocks
   ========================================== */
.vision-content {
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--medium-gray) 100%);
    padding: 3rem;
    border-left: 4px solid var(--bio-neon-green);
    margin-top: 2rem;
}

.vision-content p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 1.5rem;
}

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

.vision-highlight {
    color: var(--bio-neon-green);
    font-weight: 700;
}

.sub-heading {
    font-size: 0.9rem !important;
    color: var(--bio-neon-green) !important;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem !important;
}

/* ==========================================
   Split Layout (Image + Text)
   ========================================== */
.content-split-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin: 4rem 0;
}

.content-split-layout .visual-side {
    flex: 0 0 45%;
}

.content-split-layout .visual-side.small {
    flex: 0 0 32%;
    /* 画像を小さく表示するための修飾子 */
}

.content-split-layout .text-side {
    flex: 1;
}

@media (max-width: 768px) {
    .content-split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .content-split-layout .visual-side {
        flex: none;
        width: 100%;
    }
}

/* ==========================================
   Table (Legal page)
   ========================================== */
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.legal-table tr {
    border-bottom: 1px solid var(--medium-gray);
    transition: background 0.3s ease;
}

.legal-table tr:hover {
    background: rgba(0, 255, 102, 0.03);
}

.legal-table th {
    text-align: left;
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
    color: var(--bio-neon-green);
    font-weight: 600;
    width: 200px;
    vertical-align: top;
    letter-spacing: 0.05em;
}

.legal-table td {
    padding: 1.5rem 1rem;
    font-size: 0.95rem;
    color: var(--titanium-silver);
    line-height: 1.8;
}

.legal-table td a {
    color: var(--bio-neon-green);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-table td a:hover {
    opacity: 0.7;
}

/* ==========================================
   Contact Form
   ========================================== */
.contact-form {
    margin: 2rem auto 0;
    max-width: 700px;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    color: var(--titanium-silver);
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--bio-neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 102, 0.15);
}

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

.form-group select option {
    background: var(--dark-gray);
    color: var(--titanium-silver);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bio-neon-green);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--titanium-silver);
    cursor: pointer;
}

.submit-btn {
    display: block;
    margin: 0 auto;
    padding: 1.2rem 3.5rem;
    background: transparent;
    border: 2px solid var(--bio-neon-green);
    color: var(--bio-neon-green);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bio-neon-green);
    transition: left 0.3s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--deep-void-black);
}

.submit-btn:hover::before {
    left: 0;
}

/* ==========================================
   Leadership Team
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--dark-gray);
    padding: 2.5rem;
    border: 1px solid var(--medium-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--bio-neon-green);
    box-shadow: 0 10px 30px rgba(0, 255, 102, 0.2);
    transform: translateY(-5px);
}

.team-photo {
    width: 200px;
    height: 200px;
    /* border-radius: 50%; */
    object-fit: cover;
    object-position: center 30%;
    margin-bottom: 1.5rem;
    border: 3px solid var(--medium-gray);
    transition: all 0.3s ease;
    filter: grayscale(30%);
}

.team-card:hover .team-photo {
    border-color: var(--bio-neon-green);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.3);
    filter: grayscale(0%);
}

.team-card .team-name {
    font-size: 1.4rem;
    color: var(--titanium-silver);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.team-card .team-role {
    font-size: 0.85rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    text-align: center;
    padding: 8rem 2rem;
    background: radial-gradient(ellipse at center, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: transparent;
    border: 2px solid var(--bio-neon-green);
    color: var(--bio-neon-green);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bio-neon-green);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    color: var(--deep-void-black);
}

.cta-button:hover::before {
    left: 0;
}

/* ==========================================
   Privacy Policy
   ========================================== */
.policy-content {
    background: var(--dark-gray);
    padding: 3rem;
    border: 1px solid var(--medium-gray);
    margin-top: 2rem;
}

.policy-content h3 {
    color: var(--bio-neon-green);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.policy-content p,
.policy-content li {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--titanium-silver);
    margin-bottom: 1rem;
}

.policy-content ul {
    list-style: none;
    padding-left: 1rem;
}

.policy-content ul li::before {
    content: '▸';
    color: var(--bio-neon-green);
    margin-right: 0.5rem;
}

/* ==========================================
   Footer
   ========================================== */
.site-footer {
    border-top: 1px solid var(--medium-gray);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--titanium-silver);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--bio-neon-green);
}

.footer-contact {
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--light-gray);
    letter-spacing: 0.1em;
}

.footer-tagline {
    font-size: 0.75rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.15em;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }

    .company-name {
        font-size: 3rem;
        letter-spacing: 0.2em;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .helix-logo {
        width: 150px;
        height: 150px;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

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

    .vision-content {
        padding: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .legal-table th {
        padding-bottom: 0;
        border-bottom: none;
    }

    .legal-table tr {
        padding: 0.5rem 0;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* ==========================================
   Profile Pages (Common Styles)
   ========================================== */
.profile-hero {
    padding: 10rem 2rem 5rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.profile-photo-wrap {
    flex-shrink: 0;
}

.profile-photo {
    width: 240px;
    height: 240px;
    object-fit: cover;
    object-position: center 30%;
    border: 3px solid var(--bio-neon-green);
    box-shadow: 0 0 30px rgba(0, 255, 102, 0.25);
    display: block;
}

.profile-header-info {
    padding-top: 1rem;
}

.profile-role {
    font-size: 0.85rem;
    color: var(--bio-neon-green);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.profile-name {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--titanium-silver);
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.profile-tagline {
    font-size: 1.1rem;
    color: var(--light-gray);
    line-height: 1.8;
    border-left: 3px solid var(--bio-neon-green);
    padding-left: 1.25rem;
}

.profile-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.profile-section {
    margin-bottom: 3rem;
}

.profile-section h3 {
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    color: var(--bio-neon-green);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--medium-gray);
}

.profile-section p {
    color: var(--titanium-silver);
    line-height: 1.9;
    margin-bottom: 1rem;
}

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

.career-list li {
    display: flex;
    gap: 1.5rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--titanium-silver);
    font-size: 0.95rem;
}

.career-list li .year {
    color: var(--bio-neon-green);
    min-width: 80px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bio-neon-green);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 3rem;
    transition: opacity 0.3s;
}

.back-link:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .profile-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 8rem;
        gap: 2rem;
    }

    .profile-tagline {
        border-left: none;
        border-top: 3px solid var(--bio-neon-green);
        padding-left: 0;
        padding-top: 1rem;
    }

    .profile-name {
        font-size: 2rem;
    }
}