/* ==========================================================================
   COMPANY PAGE SPECIFIC STYLES
   ========================================================================== */

/* HISTORY SECTION
   ========================================================================== */
.history-section {
    margin-bottom: 120px;
}

/* TIMELINE
   ========================================================================== */
.timeline {
    position: relative;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
}

.timeline img {
    max-width: 100%;
    height: auto;
}

/*
.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 87%;
    background: var(--color-text-secondary);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    min-height: 60px;
}

.timeline-item.left {
    text-align: right;
}

.timeline-item.right {
    text-align: left;
}

.timeline-item.y1985 {
    top: -40px;
}

.timeline-item.y1998 {
    top: -98px;
}

.timeline-item.y2005 {
    top: -95px;
}

.timeline-item.y2006 {
    top: -190px;
}

.timeline-item.y2008 {
    top: -95px;
}

.timeline-item.y2011 {
    top: -155px;
}

.timeline-item.y2012 {
    top: -250px;
}

.timeline-item.y2013 {
    top: -330px;
}

.timeline-item.y2016 {
    top: -425px;
}

.timeline-item.y2017 {
    top: -340px;
}

.timeline-item.y2019 {
    top: -400px;
}

.timeline-item.y2024 {
    top: -470px;
}

.timeline-item.y2025 {
    top: -560px;
}

.timeline-content {
    position: absolute;
    width: 460px;
    padding: 10px;
}

.timeline-content.left {
    right: calc(50% + 70px);
    text-align: right;
}

.timeline-content.right {
    left: calc(50% + 70px);
    text-align: left;
}

.timeline-year {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-brand-number);
    font-style: italic;
    position: relative;
    display: inline-block;
    line-height: 1;
    font-family: 'adobe-garamond-pro-bold';
}

.timeline-year::after {
    content: '';
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 45px;
    height: 1px;
    background: var(--color-text-secondary);
}

.timeline-item.left .timeline-year::after {
    right: -74px;
}

.timeline-item.right .timeline-year::after {
    left: -74px;
}

.timeline-text {
    font-size: 14px;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.timeline-image {
    width: 250px;
    overflow: hidden;
}

.timeline-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.timeline-item.left .timeline-image {
    margin-left: auto;
}

.timeline-item.right .timeline-image {
    margin-right: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-brand-gold);
    border-radius: 50%;
    z-index: 2;
    margin-top: 20px;
}
*/
/* PLACEHOLDER IMAGES
   ========================================================================== */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--color-text-light);
    text-align: center;
}

.placeholder-image.lecithin {
    background: linear-gradient(45deg, #90EE90, #228B22);
    color: white;
}

.placeholder-image.eyeguard {
    background: linear-gradient(45deg, #4169E1, #191970);
    color: white;
}

.placeholder-image.complete {
    background: linear-gradient(45deg, #FFA500, #FF8C00);
    color: white;
}

.placeholder-image.melatrico {
    background: linear-gradient(45deg, #DC143C, #B22222);
    color: white;
}

.placeholder-image.tuprep {
    background: linear-gradient(45deg, #FF4500, #FF6347);
    color: white;
}

/* COMPANY INFO SECTION
   ========================================================================== */
.section-title.company-info-ttl {
    max-width: 800px;
}

.company-info-section {
    margin-bottom: 80px;
    margin-top: 120px;
}

.company-info-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;

}

.info-row {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

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

.info-label {
    padding: 0;
    width: 200px;
    color: #555;
}

.info-content {
    padding: 15px;
    flex: 1;
    color: var(--color-text-primary);

}

/* ナビゲーションスタイル */
#container__nav_section_ul {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    list-style: none;
    padding: 0;
    margin: 0;
}

#container__nav_section_ul li {
    position: relative;
    margin: 0;
    cursor: pointer;
    padding: 8px 0 8px 45px;
    background: transparent;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-left: 2px solid #ddd;
}

#container__nav_section_ul li a {
    color: #000;
    text-decoration: none;
}

#container__nav_section_ul li.active a {
    color: var(--color-brand-number);
    text-decoration: none;
}

#container__nav_section_ul li:before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: #000;
    transition: all 0.3s ease;
}

#container__nav_section_ul li:hover {
    color: #000;
    padding-left: 60px;
}

#container__nav_section_ul li.active {
    color: var(--color-brand-number);
    padding-left: 70px;
}

#container__nav_section_ul li:hover:not(.active) {
    color: #000;
}

#container__nav_section_ul li:hover:not(.active):before {
    width: 35px;
    /* 少し伸ばす */
}

#container__nav_section_ul li:hover::before {
    background: #000;
    width: 40px;
    height: 2px;
}

#container__nav_section_ul li.active:before {
    background: var(--color-brand-number);
    width: 50px;
    height: 2px;
}

a.related__link--special {
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

a.related__link--special:visited,
a.related__link--special:link {
    text-decoration: none;
    color: #000;
}

.related__link--special::after {
    content: '↗';
    font-size: var(--font-size-sm);
    transition: transform var(--transition-fast);
}

.related__link--special:hover::after {
    transform: translate(2px, -2px);
    color: var(--color-primary);
}

/* RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .section-title .en {

        margin-left: 10px;

    }

    .history-section {
        padding: 0 24px;
        margin-bottom: 80px;
    }

    .section-title {
        font-size: 1.6rem;
        font-weight: bold;
        color: var(--color-text-primary);
        margin-bottom: 0;
        text-align: left;
        max-width: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .timeline {
        position: relative;
        max-width: 100vw;
        margin: 0 auto;
    }

    .timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-year {
        margin-top: 10px;
        margin-right: 30px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 0;
    }

    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start;
    }

    .timeline-content {
        width: 45%;
        padding: 0 !important;
    }

    .timeline-content.left {
        right: 210px;
        text-align: right;
    }

    .timeline-content.right {
        left: 230px;
        text-align: left;
    }

    .timeline-dot {
        left: 50%;
        transform: translateX(-50%);
    }

    .timeline-year::after {
        content: '';
        position: absolute;
        top: 45%;
        transform: translateY(-50%);
        width: 40px;
        height: 1px;
        background: var(--color-text-secondary);
    }

    .timeline-item.left .timeline-year::after {
        right: -50px;
    }

    .timeline-item.right .timeline-year::after {
        left: -45px;
    }

    .timeline-image {
        width: 127px;
        margin: 15px 0 0 0;
    }

    .timeline-text {
        font-size: 11px;
        color: var(--color-text-primary);
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .company-info-section {
        margin-bottom: 0;
        margin-top: 40px;
        padding: 0 24px;
    }

    .company-info-table {
        max-width: 330px;
        margin: 0 auto;
        background: white;
    }

    .info-row {
        flex-direction: row;
    }

    .info-label {
        width: 100px;
        border-right: none;
        font-size: 11px;
    }

    .info-content {
        font-size: 11px;
    }

    #container__nav_section_ul {
        display: none;
    }

}