
/*
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*/

body {
    /* font-family: 'Helvetica Neue', Arial, sans-serif; */
    overflow: hidden;
    /* background: linear-gradient(135deg, #f5e6d3 0%, #e8d5c4 100%); */
    background: url(../images/fixed_pages/history_bg_rep.jpg) repeat center #e6d8c4;
}

/* ヘッダー固定 */
/* .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #d2401e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.company-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.nav {
    margin-left: auto;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #d2401e;
} */

/* メインコンテンツエリア */
.main-container {
    position: fixed;
    top: 105px;
    bottom: 60px;
    left: 0;
    right: 0;
    overflow-x: auto;
    overflow-y: hidden;
}

/* スクロールバーのスタイル */
.main-container::-webkit-scrollbar {
    height: 8px;
}

.main-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.main-container::-webkit-scrollbar-thumb {
    background: #d2401e;
    border-radius: 4px;
}

.timeline-wrapper {
    height: 100%;
    width: 19380px; /* 十分な幅を確保 */
    position: relative;
    /* padding: 40px 0; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* タイムライン */
.timeline-line {
    position: absolute;
    top: 50%;
    left: 100px;
    right: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d2401e 0%, #ff6b47 100%);
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(210, 64, 30, 0.3);
}

/* タイムラインポイント */
.timeline-point {
    position: absolute;
    top: 50%;
    width: 80px;
    height: 80px;
    background: #d2401e;
    border: 6px solid white;
    border-radius: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 20px rgba(210, 64, 30, 0.4);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-point:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(210, 64, 30, 0.6);
}

.timeline-point.highlight {
    background: #ff4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(210, 64, 30, 0.4); }
    50% { box-shadow: 0 6px 40px rgba(255, 68, 68, 0.8); }
}

/* 年号表示 */
.year-label {
    position: absolute;
    top: calc(50% + 60px);
    transform: translateX(-50%);
    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.era-label {
    position: absolute;
    top: calc(50% + 100px);
    transform: translateX(-50%);
    font-size: 14px;
    color: #666;
}

.content-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* コンテンツブロック */
.content-block {
    position: relative;
    /* top: calc(50% - 180px);
    width: 300px;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transform: translateX(-150px);
    transition: all 0.3s ease;
    opacity: 0.95; */
}

/* .content-block:hover {
    transform: translateX(-150px) translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    opacity: 1;
} */

/* .content-block.below {
    top: calc(50% + 60px);
} */

/* .content-title {
    font-size: 14px;
    font-weight: bold;
    color: #d2401e;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 5px;
}

.content-text {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
} */

/* サイドタイトル */
.side-title {
    width: 100%;
    max-width: 150px;
    height: auto;
}

/* フッター固定 */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #d2401e;
    border-block-start: 10px solid #621400;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    z-index: 1000;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .content-wrapper {
        height: 100%;
    }
    
    .content-block {
        height: 100%;
    }

    .content-block img {
        height: 100%;
        width: auto;
    }

    .content-block.his-main {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .content-block.his-main img {
        width: 100vw;
        height: auto;
    }
    
    
    /* .content-block:hover {
        transform: translateX(-125px) translateY(-10px);
    } */
}