/* 会社概要ページ専用スタイル */

/* ページヘッダー */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.page-header .breadcrumb a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

.page-header .separator {
    opacity: 0.6;
}

.page-header .current {
    opacity: 1;
    font-weight: 700;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

/* 会社概要セクション */
.company-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.company-intro {
    max-width: 800px;
    margin: 0 auto 5rem;
    text-align: center;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-color);
}

/* 会社情報テーブル */
.company-info-table {
    max-width: 900px;
    margin: 0 auto 5rem;
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 1.5rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.info-table th {
    width: 30%;
    font-weight: 700;
    color: var(--text-color);
    background: var(--bg-light);
    vertical-align: top;
}

.info-table td {
    width: 70%;
    color: var(--text-light);
    line-height: 1.8;
}

.info-table td a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-table td a:hover {
    text-decoration: underline;
}

/* 沿革 */
.company-history {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.history-timeline {
    position: relative;
    padding-left: 2rem;
}

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

.history-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.history-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.history-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.history-content p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* アクセス */
.company-access {
    max-width: 1000px;
    margin: 0 auto;
}

.access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.access-info {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.access-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.address {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.access-list {
    list-style: none;
}

.access-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.access-list li svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
    color: var(--primary-color);
}

.access-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.access-map iframe {
    display: block;
}

/* CTAセクション */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .company-section {
        padding: 3rem 0;
    }

    .company-info-table {
        padding: 2rem 1.5rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 1rem 0;
    }

    .info-table th {
        padding-bottom: 0.5rem;
        background: transparent;
    }

    .info-table td {
        padding-top: 0.5rem;
    }

    .history-timeline {
        padding-left: 1.5rem;
    }

    .history-item {
        padding-left: 1.5rem;
    }

    .history-item::before {
        left: -1.5rem;
    }

    .access-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
