
:root {
    --color-bg-main: #0c0c0c;
    --color-bg-secondary: #141414;
    --color-text-primary: #ffffff;
    --color-text-secondary: #aaaaaa;
    --color-accent: #73ba2b;
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    background-color: var(--color-bg-main);
    color: var(--color-text-primary);
    overflow-x: hidden;
    line-height: 1.8;
}

/* --- 3D Canvas Container --- */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* 背景を少し暗くしてコンテンツを見やすくするオーバーレイ */
    background: radial-gradient(circle at center, transparent 0%, var(--color-bg-main) 90%);
}

/* --- Typography & Utilities --- */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.3;
}
.accent-text {
    color: var(--color-accent);
}
.en-title {
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
}
.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 4rem;
    text-align: center;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(12, 12, 12, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.logo img {
    height: 40px;
    width: auto;
}
.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav a {
    font-weight: 700;
    font-size: 0.9rem;
    position: relative;
}
.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}
.nav a:hover {
    color: var(--color-accent);
}
.nav a:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    padding-bottom: 4rem;
}
.hero-content {
    max-width: 800px;
}
.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
}
.hero-lead {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: #fff;
    font-weight: 700;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid var(--color-accent);
}
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #fff;
    z-index: -1;
    transition: width 0.3s ease;
}
.btn:hover {
    color: var(--color-accent);
}
.btn:hover::before {
    width: 100%;
}

/* --- Sections Common --- */
section {
    padding: 8rem 0;
}

/* --- Mission Section --- */
.mission {
    background-color: var(--color-bg-secondary);
    position: relative;
}
.mission-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.mission-text {
    flex: 1;
}
.mission-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}
.mission-visual {
    flex: 1;
    height: 400px;
    background: linear-gradient(45deg, var(--color-bg-main), rgba(115, 186, 43, 0.15));
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(115, 186, 43, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}
.mission-visual::after {
    content: 'Medical DX Core';
    color: var(--color-accent);
    font-family: var(--font-en);
    opacity: 0.5;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
}

/* --- Services Section --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.service-card {
    background-color: var(--color-bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(115, 186, 43, 0.1);
    border-color: var(--color-accent);
}
.service-img-wrapper {
    height: 220px;
    background-color: #222;
    position: relative;
    overflow: hidden;
}
.browser-mockup {
    width: 100%;
    height: 100%;
    background: #333;
    display: flex;
    flex-direction: column;
}
.browser-bar {
    height: 24px;
    background: #444;
    display: flex;
    align-items: center;
    padding-left: 10px;
    gap: 5px;
}
.browser-dot { width: 8px; height: 8px; border-radius: 50%; background: #666; }
.browser-content {
    flex: 1;
    position: relative;
}
.mockup-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255,255,255,0.7);
    font-weight: bold;
    font-family: var(--font-en);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.oksr-bg { background: linear-gradient(to bottom right, #00bcd4, #009688); }
.deep-bg { background: linear-gradient(to bottom right, #3f51b5, #2196f3); }
.edu-bg { background: linear-gradient(to bottom right, #9c27b0, #673ab7); }

.service-info {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    flex: 1;
}
.service-link {
    font-weight: 700;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.service-link.disabled {
    color: var(--color-text-secondary);
    cursor: default;
}
.service-link:not(.disabled)::after {
    content: '→';
    transition: transform 0.3s ease;
}
.service-link:not(.disabled):hover::after {
    transform: translateX(5px);
}

/* --- Contact Section --- */
.contact {
    text-align: center;
    background: linear-gradient(180deg, var(--color-bg-main) 0%, #1a1a1a 100%);
}

/* --- Company Section --- */
.company {
    background-color: var(--color-bg-secondary);
    padding-bottom: 6rem;
}
.company-info-dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}
.company-info-dl dt,
.company-info-dl dd {
    padding: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.company-info-dl dt {
    width: 30%;
    font-weight: 700;
    color: var(--color-accent);
}
.company-info-dl dd {
    width: 70%;
    color: var(--color-text-secondary);
}
.company-info-dl dd ul {
    list-style: none;
}

/* --- Footer --- */
.footer {
    padding: 2rem;
    text-align: center;
    background: #050505;
    color: #555;
    font-size: 0.8rem;
    font-family: var(--font-en);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header { padding: 1rem; }
    .nav { display: none; }
    .hero-title { font-size: 2.8rem; }
    section { padding: 5rem 0; }
    .mission-content { flex-direction: column; gap: 2rem; }
    .mission-visual { width: 100%; height: 250px; }
    .company-info-dl dt,
    .company-info-dl dd { width: 100%; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);}
    .company-info-dl dt { padding-top: 1.2rem; color: var(--color-text-primary); font-size: 0.9rem; opacity: 0.7;}
    .company-info-dl { border-top: none; }
}