/* CSS for Company Page */

/* Hero Section / Header Space */
.company-header {
    background-color: #f5f8fa;
    padding: 120px 0 60px;
    text-align: left;
}

.company-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.company-page-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.company-page-title::before {
    content: "会社概要";
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
}

/* Company Info Table */
.company-info-section {
    padding: 60px 0;
    text-align: center;
}

.company-section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 60px;
    text-align: center;
    color: #333;
}

.company-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-top: 0.93px solid #333;
    /* Standardized width for desktop */
    text-align: left;
}

.company-row {
    display: flex;
    border-bottom: 0.93px solid #333;
    /* Standardized width for desktop */
    padding: 25px 0;
    align-items: flex-start;
}

.company-row:last-child {
    border-bottom: 0.93px solid #333;
    /* Standardized width for desktop */
}

.company-label {
    width: 240px;
    font-weight: bold;
    padding-left: 20px;
    flex-shrink: 0;
    color: #333;
    font-size: 16px;
}

.company-data {
    flex-grow: 1;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Base styles for Access Map Section (unchanged logic, just ensuring context) */
.access-section {
    padding: 0 0 80px;
    text-align: center;
}

.access-map-wrapper {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
}

.access-map-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.access-link {
    display: inline-block;
    margin-top: 15px;
    color: #666;
    text-decoration: none;
    font-size: 20px;
}

.access-link::after {
    content: " ↗";
}

.access-text {
    font-weight: bold;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .company-header {
        padding: 100px 0 40px;
    }

    /* Add horizontal margin to the table on mobile so borders don't touch edges */
    .company-table {
        margin: 0 20px;
        width: auto;
        border-top: 2px solid #333;
        /* 2px width for mobile */
    }

    .company-section-title {
        margin-bottom: 40px;
        font-size: 24px;
    }

    .company-row {
        flex-direction: column;
        padding: 20px 0;
        border-bottom: 2px solid #333;
        /* 2px width for mobile */
    }

    .company-row:last-child {
        border-bottom: 2px solid #333;
        /* 2px width for mobile */
    }

    .company-label {
        width: 100%;
        margin-bottom: 10px;
        padding-left: 0;
        font-size: 14px;
        color: #333;
    }

    .company-data {
        width: 100%;
        padding-left: 0;
        font-size: 14px;
    }
}