/* U-SIN JAPAN — サイト固有スタイル（Bootstrap / 外部CDN の後に読み込む） */

:root {
    --primary-dark: #0a192f;
    --accent-blue: #007bff;
    --accent-cyan: #0dcaf0;
    --text-gray: #8892b0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

h1, h2, h3, h4, h5, .font-montserrat {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Hero（画像パスは css/ からの相対） */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)),
        url('../image/Hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 25px;
}

/* Stats */
.stats-bar {
    background: var(--accent-blue);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
}

/* スライダー */
.logo-slider {
    overflow: hidden;
    padding: 45px 0;
    background: white;
    white-space: nowrap;
    border-bottom: 1px solid #eee;
}

.logo-track {
    display: inline-block;
    animation: scroll 40s linear infinite;
}

.logo-track span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 60px;
    color: #ddd;
    letter-spacing: 2px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Solutions */
.solution-card {
    border: 1px solid #eee;
    padding: 50px 30px;
    background: #fff;
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-cyan);
}

.solution-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    display: block;
}

/* Case Studies (Image BOX) */
.case-grid-item {
    position: relative;
    height: 400px;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: 0.5s;
    margin-bottom: 20px;
}

.case-grid-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: 0.8s;
}

.case-grid-item:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.95) 15%, rgba(10, 25, 47, 0.2) 100%);
    z-index: 2;
}

.case-content {
    position: relative;
    z-index: 3;
}

.case-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.case-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.case-desc {
    font-size: 0.85rem;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
    line-height: 1.6;
}

.case-grid-item:hover .case-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Detail Cards */
.detail-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    height: 100%;
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.detail-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--accent-cyan);
    background-color: #f8fbff;
}

.detail-tag {
    font-size: 0.65rem;
    font-weight: bold;
    color: #fff;
    background: var(--accent-cyan);
    padding: 2px 10px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Project List Table */
.project-table-section {
    padding: 100px 0;
    background-color: #fcfdfe;
}

.table-custom {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
}

.table-custom thead th {
    background: var(--primary-dark);
    color: white;
    padding: 20px;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.table-custom tbody tr {
    background: white;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.table-custom tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.table-custom td {
    padding: 20px;
    vertical-align: middle;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.table-custom td:first-child {
    border-left: 1px solid #eee;
    font-weight: bold;
    color: var(--accent-blue);
    width: 100px;
}

.table-custom td:last-child {
    border-right: 1px solid #eee;
    color: #666;
    font-style: italic;
}

.industry-label {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: #e9ecef;
    color: #495057;
    font-weight: bold;
    margin-right: 10px;
}

/* Company / Access / Footer */
.company-section {
    background: var(--primary-dark);
    color: white;
    padding: 100px 0;
    position: relative;
}

.profile-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-left: 4px solid var(--accent-cyan);
}

.profile-row {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.profile-label {
    width: 30%;
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.profile-value {
    width: 70%;
    font-size: 0.95rem;
}

#access {
    background: #fff;
    padding: 100px 0;
}

.access-wrapper {
    border: 1px solid #eee;
    background: #fff;
    overflow: hidden;
}

.access-info-box {
    padding: 50px 48px 52px;
    border-left: 5px solid var(--accent-cyan);
}

.access-visual-box {
    background: #0a192f;
    min-height: 280px;
    display: flex;
    flex-direction: column;
}

.access-visual-frame {
    margin: 0;
    flex: 1 1 auto;
    min-height: 380px;
    position: relative;
}

.access-visual-img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.access-visual-box:hover .access-visual-img {
    filter: grayscale(0%);
}

@media (max-width: 991.98px) {
    .access-visual-frame {
        min-height: 260px;
    }

    .access-visual-img {
        min-height: 260px;
    }
}

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

footer {
    background: #000;
    color: white;
    padding: 80px 0 30px;
}
