﻿.l-page {
    padding: 0;
}

/* =============================================
   会社情報
============================================= */
.section_content--company {
    padding: 0 0 50px;
}

.section_content--company .section_space {
    position: relative;
}

.section_content--company .section_space:before {
    content: "";
    position: absolute;
    top: 300px;
    right: 0;
    width: 100px;
    height: 137px;
    background: url("../images/company/company_info_bg_deco_sp.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 1;
}

.section_content--company .content_box {
    max-width: 600px;
    margin: 0 auto;
}

/* --- 会社情報リスト --- */
.company_info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border-bottom: 1px solid var(--main-color);
    font-family: var(--text-font);
    color: var(--main-color);
}

.company_info-item:first-child {
    border-top: 1px solid var(--main-color);
}

.company_info-item dt {
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 16px;
}

.company_info-item dd {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

@media (min-width: 768px) {

    .section_content--company {
        padding: 0 20px 100px;
    }

    .section_content--company .section_space {
        max-width: 100%;
    }

    .section_content--company .section_space:before {
        top: 70px;
        right: -200px;
        width: clamp(250px, 40vw, 587px);
        height: clamp(254px, 40.6vw, 595px);
        background: url("../images/company/company_info_bg_deco.png") center / contain no-repeat;
    }

    .section_content--company .content_box {
        max-width: 1200px;
        position: relative;
    }

    .company_info-item {
        padding: clamp(20px, 3vw, 40px) clamp(20px, 5vw, 70px);
        gap: clamp(20px, 10vw, 165px);
        flex-direction: row;
    }

    .company_info-item dt {
        width: 120px;
        padding-left: clamp(0px, 1.5vw, 20px);
    }

    .company_info-item dd {
        font-size: 16px;
    }

}

/* =============================================
   沿革
============================================= */
.section_content--history {
    padding: 30px 0 60px;
}

.section_content--history .section_space {
    position: relative;
}

.section_content--history .section_space:before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 125px;
    height: 96px;
    background: url("../images/company/history_bg_deco_sp.png") center / contain no-repeat;
    pointer-events: none;
}

.section_content--history .content_box {
    max-width: 600px;
    margin: 0 auto;
}

/* --- 沿革写真 --- */
.company_history-photos {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.company_history-photo {
    flex: 1;
    border-radius: 5px;
    overflow: hidden;
}

.company_history-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- タイムライン --- */
.company_history-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.company_history-item {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-family: var(--text-font);
    color: var(--main-color);
    line-height: 1.2;
}

.company_history-item dt {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 768px) {

    .section_content--history {
        padding: 100px 20px;
    }

    .section_content--history .section_space {
        max-width: 100%;
    }

    .section_content--history .section_space:before {
        top: 0;
        left: -220px;
        width: clamp(250px, 40vw, 587px);
        height: clamp(209px, 33.5vw, 491px);
        background: url("../images/company/history_bg_deco.png") center / contain no-repeat;
    }

    .section_content--history .content_box {
        max-width: 970px;
        position: relative;
    }

    /* --- 沿革写真 PC --- */
    .company_history-wrapper {
        display: flex;
        gap: clamp(30px, 5vw, 100px);
        align-items: center;
    }

    .company_history-photos {
        flex-direction: column;
        flex-shrink: 0;
        width: clamp(300px, 22vw, 340px);
        gap: 20px;
        margin-bottom: 0;
    }

    .company_history-photo {
        border-radius: 10px;
    }

    .company_history-photo img {
        height: auto;
    }

    /* --- タイムライン PC --- */
    .company_history-timeline {
        flex: 1;
    }

    .company_history-item {
        font-size: clamp(14px, 1.4vw, 16px);
        font-weight: 500;
        gap: clamp(20px, 3vw, 50px);
    }

}