* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    transition: all 0.3s;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: inline-block;
    height: 30px;
}

.logo img {
    height: 30px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-menu a:hover {
    color: #c9302c;
}

/* Page Hero */
.page-hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 5%;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.lang-btn {
    padding: 10px 30px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.lang-btn:hover {
    background: #f0f0f0;
}

.lang-btn.active {
    background: #c9302c;
    color: white;
    border-color: #c9302c;
}

/* Content Sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #1a1a1a;
    font-weight: 300;
    padding-bottom: 15px;
    border-bottom: 2px solid #c9302c;
}

/* President Section */
.president-section {
    margin-bottom: 80px;
}

.president-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.president-text {
    flex: 1;
}

.president-text p {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 25px;
    color: #333;
}

.president-info {
    flex: 0 0 300px;
    text-align: center;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.president-info img {
    width: 200px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}

.president-info .name {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Company Info Table */
.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.company-table td {
    padding: 20px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
}

.company-table td:first-child {
    width: 200px;
    background: #f8f8f8;
    font-weight: 600;
}

.company-table td:last-child {
    line-height: 1.8;
}

/* English Content */
#EN h2 {
    border-bottom-color: #2c5aa0;
}

#EN p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 0;
}

/* Footer Main Content */
.footer-main {
    padding: 60px 5% 50px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-logo-section {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.footer-logo-section img {
    height: 35px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-logo-section p {
    color: #999;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 14px;
    margin-bottom: 25px;
    color: #c9302c;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.footer-column a:hover {
    color: white;
}

.footer-column a span {
    color: #c9302c;
    margin-right: 8px;
}

.footer-column a:hover span {
    transform: translateX(3px);
    transition: transform 0.3s;
}

/* Footer Bottom */
.footer-bottom {
    background: #0f0f0f;
    padding: 25px 5%;
}

.footer-bottom-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.group-logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.group-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s;
}

.group-logo-wrapper {
    background: white;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
}

.group-logo-link:hover .group-logo-wrapper {
    transform: scale(1.05);
}

.group-logo {
    height: 24px;
    width: auto;
    display: block;
}

.copyright-text {
    color: #666;
    font-size: 13px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .president-content {
        flex-direction: column;
    }

    .president-info {
        flex: 1;
        max-width: 400px;
        margin: 0 auto;
    }

    .company-table td:first-child {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 20px;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    h2 {
        font-size: 28px;
    }

    .company-table {
        display: block;
        overflow-x: auto;
    }

    .company-table td {
        padding: 15px;
        font-size: 14px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column a {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 60px 20px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .main-content {
        padding: 60px 20px;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .president-text p {
        font-size: 14px;
    }

    .company-table td {
        padding: 12px;
        font-size: 13px;
    }

    .company-table td:first-child {
        width: 100px;
        font-size: 12px;
    }

    .footer-logo-section img {
        height: 28px;
    }

    .footer-logo-section p {
        font-size: 13px;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 20px;
    }
}