/* ========================================
   会社情報ページ専用スタイル
======================================== */

/* 企業理念 */
.philosophy {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.philosophy-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.philosophy-main {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.5;
}

.philosophy-description {
    font-size: 17px;
    color: var(--text-light);
    line-height: 2.2;
}

.philosophy-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.value-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

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

/* 代表メッセージ */
.message {
    padding: var(--section-padding);
    background: white;
}

.message-content {
    max-width: 760px;
    margin: 0 auto;
}

.message-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

.message-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 40px;
}

.message-signature {
    text-align: right;
}

.signature-title {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

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

/* 会社概要 */
.overview {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.overview-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.overview-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-color);
}

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

.overview-label {
    padding: 25px 30px;
    background: var(--bg-light);
    font-weight: 700;
    color: var(--text-color);
    font-size: 16px;
    display: flex;
    align-items: center;
}

.overview-value {
    padding: 25px 30px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* 沿革 */
.history {
    padding: var(--section-padding);
    background: white;
}

.history-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 50px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--bg-light);
}

.timeline-year {
    position: absolute;
    left: -40px;
    top: 0;
    width: 80px;
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content {
    background: white;
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.timeline-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* アクセス */
.access {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.access-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 50px;
}

.access-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 30px;
}

.access-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.access-item {
    display: flex;
    gap: 20px;
    align-items: start;
}

.access-item i {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-top: 5px;
}

.access-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.access-map {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 15px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--text-light);
}

.map-placeholder i {
    font-size: 80px;
    color: var(--primary-color);
    opacity: 0.3;
}

.map-placeholder p {
    font-size: 18px;
    font-weight: 500;
}

/* レスポンシブ */
@media (max-width: 992px) {
    .philosophy-values {
        grid-template-columns: 1fr;
    }
    
    .overview-row {
        grid-template-columns: 1fr;
    }
    
    .overview-label {
        border-bottom: 1px solid var(--border-color);
    }
    
    .access-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .philosophy-title {
        font-size: 28px;
    }
    
    .philosophy-description {
        font-size: 15px;
    }
    
    .message-title {
        font-size: 22px;
    }
    
    .message-description {
        font-size: 15px;
    }
    
    .history-timeline {
        padding-left: 30px;
    }
    
    .timeline-year {
        left: -35px;
        width: 70px;
        font-size: 16px;
        padding: 3px 8px;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .access-map {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .philosophy-title {
        font-size: 24px;
    }
    
    .value-item {
        padding: 30px 20px;
    }
    
    .timeline-item::before {
        left: -7px;
    }
    
    .timeline-year {
        position: static;
        margin-bottom: 15px;
        width: auto;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
}
