@charset "UTF-8";

/* ================================
   Project 009: BtoB Manufacturing / Healthcare
   Design System
   ================================ */

:root {
    /* Colors - Chic & Professional (Referencing sample.html) */

    /* Primary: Chic Black (Sumiguro) */
    --color-primary: #2c2c2c;
    --color-primary-light: #525252;
    --color-cta-bg: #404040;
    /* Lighter than footer/primary */

    /* Accent: Chic Gold */
    --color-accent: #bfa57d;
    --color-accent-light: #e6dac3;
    --color-accent-hover: #a38a65;

    /* Neutral Scale */
    --color-white: #ffffff;
    --color-bg: #f4f4f2;
    /* Chic Gray (Greige) */
    --color-surface: #ffffff;
    --color-border: #e5e5e5;

    /* Text Colors */
    --color-text-main: #2c2c2c;
    --color-text-sub: #6b7280;
    --color-text-light: #9ca3af;

    /* Typography */
    --font-jp: "Noto Sans JP", sans-serif;
    --font-en: "Inter", sans-serif;

    /* Spacing (Refined) */
    --sp-section: 100px;
    --sp-block: 80px;
    --sp-header-mb: 50px;
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px;

    /* Shadows - Sharp & Professional */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    /* Border Radius - Small for precision */
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
}

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

body {
    font-family: var(--font-jp);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.8;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ================================
   Utility Classes
   ================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.container-narrow {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

.section {
    padding: var(--sp-section) 0;
}

/* Distinct CTA Section (100% Width) */
.cta-section {
    background-color: var(--color-cta-bg);
    color: white;
    padding: 80px 0;
    margin-top: 100px;
    width: 100%;
}

.cta-section h2,
.cta-section p {
    color: white;
}

.cta-section .btn-primary {
    background-color: var(--color-accent);
    color: white;
    border: none;
}

.cta-section .btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Header & Section Spacing Standards */
.section-header {
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
}

/* ================================
   Mobile Menu Toggle (Default)
   ================================ */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
    padding: 8px;
    z-index: 1001;
}

/* ================================
   Mobile Menu & Responsive (Project009)
   ================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
    }

    /* Project009: 白背景のドロップダウンメニュー */
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-white);
        padding: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, box-shadow 0.4s ease;
        z-index: 900;
    }

    .nav.active {
        max-height: 80vh;
        overflow-y: auto;
        box-shadow: var(--shadow-lg);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 18px 30px;
        font-size: 1rem;
        color: var(--color-text-main);
    }

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

    .nav-link:hover {
        background: var(--color-bg);
        color: var(--color-accent);
    }

    .header-cta {
        display: none;
    }

    /* All Grids to 1 Column - インラインスタイル含め強制上書き */
    .features-grid-full,
    .grid-3-col,
    .grid-2-col,
    .nav-grid,
    .split-section,
    .footer-grid,
    .tech-grid,
    .info-table-grid,
    .download-grid,
    [style*="grid-template-columns"] {
        display: block !important;
    }

    .features-grid-full>*,
    .grid-3-col>*,
    .grid-2-col>*,
    .nav-grid>*,
    .download-grid>*,
    [style*="grid-template-columns"]>* {
        margin-bottom: 30px;
    }

    .split-section {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .split-left,
    .split-right {
        width: 100% !important;
        flex: none !important;
    }

    /* フッター1カラム */
    .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px !important;
    }

    /* Images Full Width - すべての画像を100%幅に */
    .tech-block-img,
    .case-img,
    .feature-img-box,
    .split-section img,
    .tech-img,
    .content-img,
    .feature-card img {
        width: 100% !important;
        height: auto !important;
    }

    img:not([class*="icon"]):not([class*="logo"]):not(.fa) {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Hero Responsive */
    .hero-title-large {
        font-size: 2rem;
    }

    .hero-btn-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Adjust Spacing for Mobile */
    :root {
        --sp-section: 60px;
        --sp-block: 40px;
    }
}

/* ================================
   Utilities & Specific fixes
   ================================ */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Company Message Specific - Reduce Gap */
.message-section .split-section {
    gap: 30px;
}

/* Typography Enhancements */
.catchphrase-large {
    font-size: 2.8rem;
    /* Increased as per request */
    font-weight: 700;
    line-height: 1.4;
    margin: 80px 0;
    /* Luxurious spacing for catchphrase area */
}

/* Footer Separation */
.footer-separation {
    margin-bottom: 60px;
}

/* Spacing Utilities */
.mb-huge {
    margin-bottom: 100px;
}

.pt-large {
    padding-top: 80px;
}

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

/* Buttons - High Contrast, CTO focus */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-en);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: 0.02em;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
}

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

.btn-outline:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* Header */
.header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
    padding-bottom: 4px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

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

.header-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding-top: var(--header-height);
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    /* Abstract grid/tech pattern overlay would go here */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-tagline {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================================
   Hero Section (Slideshow Updated)
   ================================ */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    background-color: var(--color-primary);
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideshow 24s infinite;
}

.hero-slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-slide:nth-child(2) {
    animation-delay: 8s;
}

.hero-slide:nth-child(3) {
    animation-delay: 16s;
}

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

    4% {
        opacity: 1;
    }

    33.33% {
        opacity: 1;
    }

    37.33% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    z-index: 2;
}

.hero-content-center {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 20px;
    display: block;
    text-transform: uppercase;
}

.hero-title-large {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    font-family: var(--font-jp);
}

.hero-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: var(--color-white);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ================================
   Nav Grid Section (4 Col)
   ================================ */
.nav-grid-section {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.nav-grid-item {
    background: var(--color-white);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    border-right: 1px solid var(--color-bg);
    transition: all 0.3s ease;
    height: 300px;
}

.nav-grid-item:last-child {
    border-right: none;
}

.nav-grid-item:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.nav-grid-icon {
    font-size: 2.5rem;
    color: var(--color-text-main);
    transition: color 0.3s ease;
    margin-bottom: 15px;
}

.nav-grid-item:hover .nav-grid-icon {
    color: var(--color-accent);
}

.nav-grid-title {
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-grid-subtitle {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nav-grid-item:hover .nav-grid-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

/* ================================
   Full Width Features (Grid)
   ================================ */
.features-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
}

.feature-card-full {
    background: var(--color-white);
    border-right: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card-full:last-child {
    border-right: none;
}

.feature-card-full:hover {
    background: var(--color-bg);
}

.feature-img-box {
    height: 350px;
    overflow: hidden;
}

.feature-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.feature-card-full:hover .feature-img-box img {
    transform: scale(1.05);
}

.feature-content-box {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.feature-desc {
    font-size: 1rem;
    color: var(--color-text-sub);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.1em;
}

.feature-card-full:hover .feature-link {
    color: var(--color-accent);
}

/* ================================
   Asymmetric Layout (News & Pickup)
   ================================ */
.split-section {
    display: flex;
    gap: 60px;
}

.split-left {
    flex: 3;
}

.split-right {
    flex: 2;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: baseline;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.3s ease;
}

.news-item:hover {
    background: var(--color-bg);
    padding-left: 10px;
    padding-right: 10px;
}

.news-date {
    font-family: var(--font-en);
    font-weight: 600;
    color: var(--color-accent);
    width: 120px;
    flex-shrink: 0;
}

.news-cat {
    font-size: 0.7rem;
    padding: 2px 8px;
    border: 1px solid var(--color-border);
    color: var(--color-text-light);
    margin-right: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-title {
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.pickup-box {
    background: var(--color-bg);
    padding: 40px;
    height: 100%;
}

.pickup-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pickup-item {
    background: var(--color-white);
    padding: 20px;
    border-left: 3px solid var(--color-accent);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.pickup-item:hover {
    transform: translateX(5px);
}

/* ================================
   Strip Banner (CTA)
   ================================ */
.strip-banner {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0;
}

.strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.strip-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.strip-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* ================================
   Page Header (Subpages)
   ================================ */
.page-header {
    height: 40vh;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    margin-top: var(--header-height);
}

.section-header {
    text-align: center;
    margin-bottom: var(--sp-header-mb);
    /* Increased spacing */
}

/* CEO Image Fix */
.ceo-image {
    max-width: 400px;
    /* Constrain width */
    margin: 0 auto;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-subtitle {
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
}

/* ================================
   Tabs
   ================================ */
.tab-nav {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 40px;
}

.tab-btn {
    padding: 15px 30px;
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--color-text-light);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-accent);
}

.tab-btn:hover:not(.active) {
    color: var(--color-text-main);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ================================
   Breadcrumbs
   ================================ */
.breadcrumbs {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 15px 0;
}

.breadcrumb-list {
    display: flex;
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.breadcrumb-list li+li::before {
    content: "/";
    margin: 0 10px;
}

/* ================================
   Responsive
   ================================ */
@media (max-width: 900px) {
    .nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-full {
        grid-template-columns: 1fr;
    }

    .feature-card-full {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }

    .feature-img-box {
        height: 250px;
    }

    .split-section {
        flex-direction: column;
    }

    .hero-title-large {
        font-size: 2.8rem;
    }
}


/* Footer */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-heading {
    color: var(--color-white);
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 1rem;
}

.content-block {
    margin-bottom: var(--sp-block);
}

.footer-links li {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.875rem;
    padding-top: 30px;
    border-top: 1px solid var(--color-primary-light);
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-visual {
        justify-content: center;
    }

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

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

    .hero-title {
        font-size: 2.5rem;
    }
}