/* About Page Styles - 橋坂情報技術研究所について */

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

#wpadminbar { 
    display: none !important; 
}

html { 
    margin-top: 0 !important; 
}

body.page-id-about { 
    font-family: "Helvetica Neue", Arial, sans-serif; 
    line-height: 1.6; 
    overflow-x: hidden;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* ヘッダースペース */
.page-id-about .header-spacer {
    height: 80px;
    background: rgba(0, 0, 0, 0.9);
}

/* ヒーローセクション */
.about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 0;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23tech-grid)"/></svg>');
    opacity: 0.4;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: white;
}

.about-hero p {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 2rem;
}

/* コンテナ */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* セクション */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-section:nth-child(even) {
    background: #f8f9fa;
}

.about-section h2 {
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
    text-align: center;
    font-weight: 600;
}

.about-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 2px;
}

/* 会社情報テーブル */
.company-info-table {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border-radius: 15px;
    overflow: hidden;
}

.company-info-table th,
.company-info-table td {
    padding: 25px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.company-info-table th {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    font-weight: 600;
    width: 220px;
    font-size: 1.1rem;
}

.company-info-table td {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* グリッドレイアウト */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

/* サービスカード */
.service-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.service-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* ヘッダー固定表示 */
.page-id-about .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(15px) !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 1rem 2rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .about-hero {
        padding: 80px 0;
    }
    
    .about-hero h1 {
        font-size: 2.8rem;
    }
    
    .about-hero p {
        font-size: 1.2rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .about-section h2 {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-info-table th {
        width: 140px;
        font-size: 1rem;
        padding: 20px;
    }
    
    .company-info-table td {
        padding: 20px;
        font-size: 1rem;
    }
    
    .service-item {
        padding: 2rem;
    }
}