/* /assets/css/pages/about-us.css */
/* =========================================================
   About Us Page Specific Styles
========================================================= */

/* Our Story & Philosophy Section Grid */
.about-us-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.about-us-text {
    line-height: 1.8;
}

.about-us-text p {
    margin-bottom: 1.5rem;
}
.about-us-text p:last-child {
    margin-bottom: 0;
}

.about-us-image img {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* Why Choose Us? Section Card Styles */
.grid-3-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.why-us-card {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: var(--color-white);
}

.why-us-card i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.why-us-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

.why-us-card p {
    line-height: 1.6;
}

/* Commitment to Safety Section List Styles */
.safety-commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.safety-commitment-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.safety-commitment-list li:first-child {
    padding-top: 0;
}
.safety-commitment-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.safety-commitment-list li i {
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-top: 0.25rem;
}

.safety-commitment-list li strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: var(--color-secondary);
}

.safety-commitment-list li p {
    line-height: 1.6;
}

/* Company Profile Table Styles (Mobile First) */
.profile-table {
    width: 100%;
    margin-top: 2rem;
    border: none;
    border-collapse: separate;
    border-spacing: 0 1rem; /* 各行の間にマージンを設定 */
}

.profile-table tr {
    display: block;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--color-white);
    padding: 1rem;
}

.profile-table th,
.profile-table td {
    display: block;
    width: 100%;
    border: none;
    padding: 0;
    text-align: left;
}

.profile-table th {
    padding-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
}

.profile-table td {
    line-height: 1.6;
}

.profile-table td strong {
    display: block;
    font-weight: 600;
    color: var(--color-secondary);
}
.profile-table td small {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 0.25rem;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .about-us-grid {
        flex-direction: row;
    }

    .about-us-text {
        flex: 1.2;
        padding-right: 3rem;
    }

    .about-us-image {
        flex: 0.8;
    }

    .grid-3-col {
        grid-template-columns: repeat(3, 1fr);
    }

    .profile-table {
        border-collapse: collapse; /* PCではcollapseに戻す */
        border-spacing: 0;
    }

    .profile-table tr {
        display: table-row; /* PCでは行として表示 */
        border: none;
        border-radius: 0;
        background-color: transparent;
        padding: 0;
    }
    
    .profile-table th,
    .profile-table td {
        display: table-cell; /* PCではセルとして表示 */
        padding: 1rem;
        width: auto;
        border-bottom: 1px solid #f0f0f0;
        vertical-align: middle;
    }

    .profile-table tr:last-child th,
    .profile-table tr:last-child td {
        border-bottom: none;
    }

    .profile-table th {
        width: 25%;
        font-size: 1rem;
        white-space: nowrap;
        background-color: #fcfcfc;
    }
}