/* company.css */

/* ▼ ヒーローヘッダー */
.company-hero {
    height: 20vh;
    background: url('../img/company-bg.jpg') center/cover no-repeat;
    position: relative;
}
.company-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.company-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
}
.company-hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}
.company-hero-content p {
    font-size: 1.2rem;
}

/* ▼ セクションタイトル */
.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 6px solid #004aad;
    color: #004aad;
}

/* ▼ 会社入口写真カード */
.company-photo-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    text-align: center;
}
.CompanyEntrance-img {
    width: 100%;
    border-radius: 10px;
}

/* ▼ Google Map カード */
.map-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.company-map {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

/* ▼ 会社概要テーブル（前に作ったもの） */
.company-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none; 
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}
.company-table th {
    width: 25%;
    background: #f3f6ff;
    color: #003a8c;
    font-weight: 700;
    padding: 18px 16px;
    border-bottom: 1px solid #e5e8ef;
    vertical-align: top;
}
.company-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e5e8ef;
    line-height: 1.8;
}
.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* ▼ スマホ対応 */
@media (max-width: 768px) {
    .company-table th {
        width: 100%;
        display: block;
        border-bottom: none;
        padding-bottom: 6px;
    }
    .company-table td {
        display: block;
        padding-top: 0;
        border-bottom: 1px solid #e5e8ef;
    }
}
