/*
 * 運営会社ページ (page-company.php) 専用スタイル
 */

/* -------------------------------------------
 * 基本レイアウト・共通パーツ
 * ------------------------------------------- */
 .company-page-main {
    background-color: #fff;
}

/* ▼▼▼ 変更/追記 ▼▼▼ ページ内コンテンツの共通コンテナ */
.page-container,
.company-page-content .container,
.company-profile-wrapper .container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-page-content {
    background-color: #fff;
    padding: 80px 0; /* ▼▼▼ 変更 ▼▼▼ セクション間の余白として */
    position: relative;
    z-index: 10;
}

/* ▼▼▼ 削除 ▼▼▼ .company-sectionのmargin-bottomはセクションラッパーで制御するため不要に */
/* .company-section { ... } */


/* ▼▼▼ 変更/追記 ▼▼▼ 共通セクションタイトル */
.section-title {
    margin-bottom: 40px;
    font-weight: normal;
}
.greeting-title { /* GREETINGのみ中央寄せ */
    text-align: center;
}
.section-title-left { /* PROFILEとACCESSは左寄せ */
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.section-title .en {
    display: block;
    font-size: 3rem;
    font-weight: 400;
    font-style: normal;
    font-family: acier-bat-noir, sans-serif;
    color: var(--primary-blue);
    letter-spacing: 0.1em;
    line-height: 1;
}
.section-title .jp {
    display: block;
    font-size: 23px;
    color: #333;
    font-weight: 700;
}


/* -------------------------------------------
 * ヒーロービュー
 * ------------------------------------------- */
.company-hero {
    height: 350px;
    background-image: url('https://asibimo.com/wp-content/uploads/2025/08/グループ-49.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.company-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}
.company-hero-title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    position: relative;
    z-index: 5;
}


/* -------------------------------------------
 * パンくずリスト
 * ------------------------------------------- */
.breadcrumbs-container { /* ▼▼▼ 変更 ▼▼▼ */
    background-color: #fff;
    padding-top: 20px;
}
.breadcrumbs {
    font-size: 14px;
    color: #888;
}
.breadcrumbs a {
    color: #00b8d4;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* -------------------------------------------
 * GREETING ご挨拶
 * ------------------------------------------- */
.greeting-wrapper { /* ▼▼▼ 変更/追記 ▼▼▼ */
    padding-top: 40px; /* パンくずリストからの余白 */
}
.greeting-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.greeting-character {
    flex-shrink: 0;
    text-align: center;
}
.greeting-character-img {
    width: 280px;
    height: 300px;
    display: block;
    margin: 0 auto;
}
.greeting-character-name {
    margin-top: 10px;
    font-weight: bold;
    color: #00838f;
}
.greeting-text p {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 25px 0;
}
.greeting-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.char-button {
    display: inline-block;
    padding: 10px 45px;
    border: 1px solid #00b8d4;
    border-radius: 50px;
    background-color: #fff;
    color: #00b8d4;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}
.char-button span {
    font-size: 13px;
    font-weight: normal;
}
.char-button:hover {
    background-color: #00b8d4;
    color: #fff;
}


/* -------------------------------------------
 * PROFILE プロフィール
 * ------------------------------------------- */
.company-profile-wrapper {
    /* background-color: #f0f8ff; */
    background-color: #F0F7F8;
    padding: 80px 0 100px 0;
}

/* .company-profile-wrapper:last-child {
    margin-bottom: 0;
} */

.profile-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.profile-table th, .profile-table td {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
    vertical-align: top;
}
.profile-table tr:last-child th,
.profile-table tr:last-child td {
    border-bottom: none;
}
.profile-table th {
    background-color: #FAFAFA;
    font-weight: bold;
    width: 25%;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    vertical-align: middle;
}
.profile-table td {
    line-height: 1.7;
}
.profile-table a {
    color: #00b8d4;
}


/* -------------------------------------------
 * ACCESS アクセス
 * ------------------------------------------- */
.access-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 8px;
}
.access-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------------------------
 * レスポンシブ対応 (タブレット・スマホ)
 * ------------------------------------------- */
@media (max-width: 768px) {
    .company-page-content {
        padding: 40px 0;
    }
    .greeting-wrapper {
        padding-top: 40px;
    }

    .greeting-content {
        flex-direction: column;
        gap: 20px;
    }

    .greeting-character-img {
        width: 150px;
        height: 161px;
    }

    .section-title-left {
        gap: 10px; /* スマホでは少し間隔を詰める */
    }

    .company-profile-wrapper { /* ▼▼▼ 変更/追記 ▼▼▼ */
        padding: 40px 0;
    }
    .profile-table { /* ▼▼▼ 変更/追記 ▼▼▼ */
        border-radius: 0;
    }
    .profile-table th, .profile-table td {
        display: block;
        width: 100%;
        border-bottom: none;
        padding: 10px 20px; /* ▼▼▼ 変更/追記 ▼▼▼ */
    }
    .profile-table th {
        padding-top: 20px;
        background-color: transparent;
        border-top: 1px solid #e0e0e0;
        text-align: left;   /* スマホ表示では左寄せに戻す */
        border-right: none; /* スマホ表示では縦の罫線を非表示にする */
    }
    .profile-table tr:first-child th {
        border-top: none;
    }
    .profile-table td {
        padding-bottom: 20px;
    }

    .section-title .en { font-size: 2rem; } /* ▼▼▼ 変更/追記 ▼▼▼ */
    .section-title .jp { font-size: 14px; }
    .company-hero { height: 280px; }
    .company-hero-title { font-size: 32px; }
}