/* ========================================
   about.css - 会社概要ページ専用スタイル
   style.cssと併用
======================================== */

/* ========================================
   ページヘッダー
======================================== */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    100% { transform: translateY(-100px) translateX(-100px); }
}

.page-title {
    font-size: 3rem;
    font-weight: 900;
    margin: 20px 0;
    position: relative;
    z-index: 2;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* ========================================
   会社情報セクション
======================================== */
.company-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 0 auto;
}

.company-table-wrapper {
    margin: 40px 0;
    overflow-x: auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: white;
}

.company-table th,
.company-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.company-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    width: 180px;
    border-right: 1px solid #eee;
}

.company-table td {
    color: #666;
    line-height: 1.6;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

/* 代表メッセージ */
.message-box {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.message-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.message-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.ceo-sign {
    text-align: right;
    font-weight: 600;
    margin-top: 30px;
    font-size: 1.1rem;
}

/* ========================================
   企業理念セクション
======================================== */
.philosophy-section {
    padding: 80px 0;
    background: white;
}

.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.philosophy-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.philosophy-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.philosophy-text {
    color: #666;
    line-height: 1.7;
}

/* ========================================
   沿革セクション
======================================== */
.history-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 50px auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 40px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 40px;
    text-align: left;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -47px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -47px;
}

.timeline-date {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.timeline-text h3 {
    color: #333;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-text p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   アクセス情報セクション
======================================== */
.access-section {
    padding: 80px 0;
    background: white;
}

.access-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
    align-items: start;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.access-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.access-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.access-list li {
    display: flex;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.access-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.access-text {
    color: #666;
    line-height: 1.6;
}

.access-text strong {
    color: #333;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

/* ========================================
   CTAセクション
======================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #06C755, #05B94A);
    color: white;
    padding: 18px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(6, 199, 85, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(6, 199, 85, 0.4);
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .info-card {
        padding: 30px;
        border-radius: 15px;
    }
    
    .company-table th,
    .company-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .company-table th {
        width: 120px;
    }
    
    .message-box {
        padding: 30px;
        margin-top: 40px;
    }
    
    .philosophy-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .philosophy-card {
        padding: 30px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding-left: 50px;
        text-align: left;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -47px;
    }
    
    .access-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}