/* ===================================
   Company Page Specific Styles
   =================================== */

/* Page Header */
.page-header {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/tokyo-aerial.jpg') center/cover no-repeat;
    z-index: -1;
}

/* 画像の上にグラデーションオーバーレイ */
.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.75) 0%, rgba(124, 58, 237, 0.65) 50%, rgba(236, 72, 153, 0.7) 100%);
    z-index: 1;
}

/* テキストの可読性を高める追加レイヤー */
.page-header-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 2;
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.page-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.page-title {
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 900;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Company Overview Section */
.company-overview {
    padding: 100px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

.section-header-left {
    margin-bottom: 40px;
}

.section-header-left .section-label {
    text-align: left;
}

.section-header-left .section-title {
    font-size: 36px;
    text-align: left;
}

.company-table {
    padding: 0;
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 32px 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background: rgba(37, 99, 235, 0.02);
}

.table-label {
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.table-label i {
    color: var(--primary-color);
    font-size: 18px;
    width: 20px;
}

.table-value {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.business-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Mission, Vision, Values Cards */
.overview-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.mission-card,
.vision-card,
.values-card {
    padding: 32px;
    transition: var(--transition-normal);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.mission-icon,
.vision-icon,
.values-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
}

/* 各カードに異なるグラデーションを適用 */
.mission-icon {
    background: var(--gradient-orange);
}

.vision-icon {
    background: var(--gradient-purple);
}

.values-icon {
    background: var(--gradient-green);
}

.mission-title,
.vision-title,
.values-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mission-text,
.vision-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.values-list li i {
    color: var(--primary-color);
    font-size: 14px;
}

/* Message Section */
.message-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.message-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.message-header {
    text-align: center;
    margin-bottom: 60px;
}

.message-content {
    padding: 60px;
}

.message-text {
    font-size: 16px;
    line-height: 2;
    color: var(--text-secondary);
}

.message-paragraph {
    margin-bottom: 28px;
}

.message-paragraph:last-of-type {
    margin-bottom: 40px;
}

.message-signature {
    text-align: right;
    padding-top: 40px;
    border-top: 2px solid var(--primary-color);
}

.signature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}





/* Responsive Design */
@media (max-width: 968px) {
    .page-header {
        padding: 140px 0 80px;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .overview-side {
        position: static;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px 28px;
    }
    
    .message-content {
        padding: 40px 32px;
    }
}

@media (max-width: 640px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .company-table {
        padding: 0;
    }
    
    .table-row {
        padding: 20px;
    }
    
    .table-label {
        font-size: 14px;
    }
    
    .table-value {
        font-size: 14px;
    }
    
    .message-content {
        padding: 32px 24px;
    }
    
    .message-text {
        font-size: 15px;
        line-height: 1.9;
    }
}

/* Active Navigation Link */
.nav-link.active {
    color: #ffffff;
    font-weight: 700;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffffff;
}

/* スクロール後は青に変更 */
.navbar.scrolled .nav-link.active {
    color: var(--primary-color);
}

.navbar.scrolled .nav-link.active::after {
    background: var(--gradient-blue);
}
