/* Scroll Corporate Style */
:root {
    --color-bg: #f5f7fa;
    /* Light Blue Grey */
    --color-white: #ffffff;
    --color-primary: #004080;
    /* Corporate Blue */
    --color-secondary: #002040;
    /* Dark Navy */
    --color-accent: #00bfff;
    /* Cyan Accent */
    --color-text: #333333;
    --color-gray: #888888;

    --sidebar-width: 250px;
    --main-width: 500px;
    --font-en: 'Roboto', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-en), var(--font-jp);
    color: var(--color-text);
    background-color: #e0e5ec;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.layout-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* 1. Left Sidebar */
.sidebar {
    width: var(--sidebar-width);
    padding: 3rem;
    background-color: var(--color-secondary);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 0.7rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
}

.nav ul li {
    margin-bottom: 1.5rem;
}

.nav a {
    font-size: 1rem;
    letter-spacing: 0.1em;
    display: block;
    opacity: 0.6;
    position: relative;
    padding-left: 0;
    transition: 0.3s;
}

.nav a:hover,
.nav a.active {
    opacity: 1;
    color: var(--color-accent);
    padding-left: 10px;
}

.nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.sidebar-footer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
}

.lang-switch {
    display: block;
    margin-top: 1rem;
    color: #fff;
    opacity: 0.8;
}

/* 2. Main Content (Scroll) */
.main-content {
    flex: 1;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.scroll-frame {
    width: var(--main-width);
    height: 100%;
    background-color: #fff;
    overflow-y: auto;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-section {
    height: 350px;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://placehold.co/500x350/004080/002040/png?text=Abstract+Lines');
    background-size: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 2;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.btn-hero {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid #fff;
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.btn-hero:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.section {
    padding: 3rem 2rem;
    border-bottom: 1px solid #eee;
}

.section h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    color: var(--color-secondary);
    position: relative;
    padding-left: 15px;
}

.section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-accent);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    margin-bottom: 0;
}

.more-link {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 700;
}

.news-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.news-list time {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-right: 1rem;
}

.news-list .label {
    font-size: 0.7rem;
    background-color: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    color: #666;
}

.news-list p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.bg-light {
    background-color: #f9f9f9;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
}

.company-info dl {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.company-info dt {
    color: var(--color-gray);
    font-weight: 700;
}

.map-box {
    height: 200px;
    background-color: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

.footer-section {
    background-color: var(--color-secondary);
    color: #fff;
    text-align: center;
}

.footer-section h3 {
    color: #fff;
    border-color: #fff;
    display: inline-block;
    padding-left: 0;
    margin-bottom: 1rem;
}

.footer-section h3::before {
    display: none;
}

.footer-section p {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-contact {
    display: inline-block;
    background-color: var(--color-accent);
    color: #fff;
    padding: 1rem 3rem;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 3rem;
}

.btn-contact:hover {
    background-color: #008ecc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* 3. Right Sidebar */
.right-sidebar {
    width: var(--sidebar-width);
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.line-decor {
    position: absolute;
    top: 10%;
    right: 50%;
    width: 1px;
    height: 80%;
    background-color: #eee;
}

.vertical-text {
    writing-mode: vertical-lr;
    letter-spacing: 0.5em;
    font-size: 0.8rem;
    color: #ccc;
    font-weight: 700;
    transform: rotate(180deg);
}

/* Mobile Adjustment */
@media (max-width: 900px) {
    .layout-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        padding: 1rem;
        flex-direction: row;
        align-items: center;
    }

    .nav,
    .sidebar-footer {
        display: none;
    }

    .right-sidebar {
        display: none;
    }

    .main-content {
        height: auto;
        overflow: visible;
    }

    .scroll-frame {
        width: 100%;
        box-shadow: none;
        border: none;
        overflow: visible;
    }
}