/* ===================================
   会社概要ページ - スタイルシート
   =================================== */

/* リセット・基本設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.company-page {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.8;
}

/* ===================================
   ページタイトルエリア
   =================================== */
.page-title-area {
    margin-bottom: 80px;
}

.page-title-en {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 8px;
}

.page-title-ja {
    font-size: 36px;
    font-weight: 700;
    color: #333;
}

/* ===================================
   セクション共通スタイル
   =================================== */
.company-section {
    margin-bottom: 100px;
}

.section-layout {
    display: flex;
    gap: 40px;
}

.section-left {
    flex: 0 0 30%;
}

.section-right {
    flex: 0 0 70%;
}

.section-heading-ja {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.section-heading-en {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

/* ===================================
   企業理念セクション
   =================================== */
.philosophy-item {
    margin-bottom: 40px;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.philosophy-description {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* ===================================
   会社概要セクション
   =================================== */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-row {
    display: flex;
    gap: 30px;
}

.info-label {
    flex: 0 0 120px;
    font-size: 16px;
    font-weight: 400;
    color: #333;
}

.info-value {
    flex: 1;
    font-size: 16px;
    color: #666;
}

/* ===================================
   ビジュアルセクション
   =================================== */
.visual-section {
    margin-bottom: 0;
}

.visual-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.visual-card {
    flex: 0 1 calc(33.333% - 20px);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

.card-label {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* ===================================
   レスポンシブデザイン - タブレット
   =================================== */
@media screen and (max-width: 768px) {
    .company-page {
        width: 90%;
        padding: 40px 0;
    }

    .page-title-area {
        margin-bottom: 60px;
    }

    .page-title-ja {
        font-size: 28px;
    }

    .company-section {
        margin-bottom: 80px;
    }

    .section-layout {
        flex-direction: column;
        gap: 30px;
    }

    .section-left,
    .section-right {
        flex: 1;
    }

    .section-heading-ja {
        font-size: 22px;
    }

    .visual-cards {
        gap: 20px;
    }

    .visual-card {
        flex: 0 1 calc(50% - 10px);
    }

    .info-row {
        gap: 20px;
    }

    .info-label {
        flex: 0 0;
    }
}

/* ===================================
   レスポンシブデザイン - スマートフォン
   =================================== */
@media screen and (max-width: 480px) {
    .company-page {
        width: 90%;
        padding: 30px 0;
    }

    .page-title-area {
        margin-bottom: 40px;
    }

    .page-title-en {
        font-size: 12px;
    }

    .page-title-ja {
        font-size: 24px;
    }

    .company-section {
        margin-bottom: 60px;
    }

    .section-layout {
        gap: 20px;
    }

    .section-heading-ja {
        font-size: 20px;
    }

    .section-heading-en {
        font-size: 14px;
    }

    .philosophy-item {
        margin-bottom: 30px;
    }

    .philosophy-title {
        font-size: 18px;
    }

    .philosophy-description {
        font-size: 14px;
    }

    .info-row {
        flex-direction: column;
        gap: 8px;
    }

    .info-label {
        font-weight: 700;
    }

    .info-value {
        font-size: 14px;
    }

    .visual-cards {
        gap: 20px;
    }

    .visual-card {
        flex: 0 1 100%;
    }

    .card-label {
        font-size: 14px;
    }
}