/* ====================================
   Legacy Page Styles
   ==================================== */

/* Page Hero */
.legacy-page .page-hero {
    position: relative;
    height: 500px;
    margin-top: 70px;
    overflow: hidden;
}

.legacy-page .page-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(1.1);
    transform: scale(1.1);
}

.legacy-page .page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.legacy-page .page-hero__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.legacy-page .page-hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.legacy-page .page-hero__title .title-en {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.02em;
    text-shadow: 
        0 0 40px rgba(255, 255, 255, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.8);
}

.legacy-page .page-hero__title .title-jp {
    font-size: 20px;
    color: var(--pale-gray);
    letter-spacing: 0.4em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.legacy-page .page-hero__subtitle {
    margin-top: 25px;
    font-size: 18px;
    color: var(--off-white);
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Legacy Intro */
.legacy-intro {
    padding: 80px 0;
    background: var(--black);
    text-align: center;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.intro-lead {
    font-size: 20px;
    line-height: 2;
    color: var(--off-white);
    letter-spacing: 0.05em;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.section-title .title-en {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 10px;
}

.section-title .title-jp {
    font-size: 14px;
    color: var(--light-gray);
    letter-spacing: 0.2em;
}

/* Records Section */
.records-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--black) 0%, var(--dark-gray) 100%);
}

.records-timeline {
    position: relative;
    padding: 40px 0;
}

.records-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        transparent, 
        var(--medium-gray) 20%, 
        var(--medium-gray) 80%, 
        transparent
    );
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
    position: relative;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    color: var(--gray);
    text-align: right;
}

.timeline-item.highlight .timeline-year {
    color: var(--gold);
}

.timeline-content {
    grid-column: 3;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--medium-gray);
    position: relative;
    transition: all 0.3s;
}

.timeline-item:nth-child(even) .timeline-year {
    grid-column: 3;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 1;
    grid-row: 1;
}

.timeline-content::before {
    content: '◆';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--medium-gray);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -60px;
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, rgba(184, 148, 31, 0.1) 0%, transparent 100%);
    border-color: var(--gold);
}

.timeline-item.highlight .timeline-content::before {
    color: var(--gold);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-title {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    font-weight: 600;
}

.timeline-description {
    font-size: 15px;
    color: var(--pale-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.timeline-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--medium-gray);
    font-size: 13px;
    color: var(--light-gray);
}

/* Impact Section */
.impact-section {
    padding: 80px 0;
    background: var(--black);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.impact-card {
    text-align: center;
    padding: 50px 30px;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.impact-card:hover::before {
    transform: translateX(0);
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(184, 148, 31, 0.3);
}

.impact-icon {
    font-size: 48px;
    color: var(--medium-gray);
    margin-bottom: 30px;
    transition: all 0.3s;
}

.impact-card:hover .impact-icon {
    color: var(--gold);
    transform: scale(1.2) rotate(45deg);
}

.impact-title {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 600;
}

.impact-text {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.8;
}

/* Offspring Section */
.offspring-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-gray) 0%, var(--black) 100%);
}

.offspring-content {
    max-width: 900px;
    margin: 0 auto;
}

.offspring-intro {
    text-align: center;
    margin-bottom: 60px;
}

.offspring-intro p {
    font-size: 18px;
    color: var(--off-white);
    line-height: 2;
}

.offspring-list {
    display: grid;
    gap: 30px;
}

.offspring-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid var(--medium-gray);
    transition: all 0.3s;
}

.offspring-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--gold);
    transform: translateX(10px);
}

.offspring-year {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.offspring-name {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 10px;
}

.offspring-details {
    font-size: 14px;
    color: var(--light-gray);
    line-height: 1.8;
}

/* Awards Section */
.awards-section {
    padding: 80px 0;
    background: var(--black);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.award-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--dark-gray);
    border: 1px solid var(--medium-gray);
    position: relative;
    transition: all 0.3s;
}

.award-item.gold {
    background: linear-gradient(135deg, rgba(184, 148, 31, 0.1) 0%, var(--dark-gray) 100%);
    border-color: var(--gold);
}

.award-item::before {
    content: '★';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 30px;
    color: var(--medium-gray);
    background: var(--black);
    padding: 0 10px;
}

.award-item.gold::before {
    color: var(--gold);
}

.award-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.award-year {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gray);
    margin-bottom: 20px;
}

.award-item.gold .award-year {
    color: var(--gold-light);
}

.award-title {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 600;
}

.award-description {
    font-size: 13px;
    color: var(--light-gray);
}

/* Final Message */
.final-message {
    padding: 120px 0;
    background: linear-gradient(180deg, 
        var(--black) 0%, 
        rgba(184, 148, 31, 0.05) 50%, 
        var(--black) 100%
    );
    text-align: center;
}

.message-content {
    max-width: 800px;
    margin: 0 auto;
}

.message-quote {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    line-height: 2.5;
    color: var(--white);
    font-weight: 300;
    margin-bottom: 40px;
    position: relative;
}

.message-quote::before,
.message-quote::after {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: var(--gold);
    opacity: 0.3;
    position: absolute;
}

.message-quote::before {
    top: -30px;
    left: -60px;
}

.message-quote::after {
    bottom: -60px;
    right: -60px;
}

.message-caption {
    font-size: 14px;
    color: var(--light-gray);
    letter-spacing: 0.2em;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 30px;
    }
    
    .timeline-year {
        font-size: 36px;
    }
    
    .timeline-content {
        grid-column: 2 !important;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        grid-column: 1;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        grid-column: 2 !important;
        grid-row: 1;
    }
    
    .records-timeline::before {
        left: 50px;
    }
    
    .timeline-content::before {
        left: -45px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .legacy-page .page-hero {
        height: 350px;
    }
    
    .legacy-page .page-hero__title .title-en {
        font-size: 48px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .legacy-intro {
        padding: 50px 0;
    }
    
    .intro-lead {
        font-size: 16px;
        line-height: 1.8;
    }
    
    .section-title .title-en {
        font-size: 28px;
    }
    
    .records-section,
    .impact-section,
    .offspring-section,
    .awards-section {
        padding: 50px 0;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 50px;
    }
    
    .timeline-year {
        font-size: 28px;
        text-align: center !important;
        grid-column: 1 !important;
    }
    
    .timeline-content {
        padding: 25px;
        grid-column: 1 !important;
    }
    
    .records-timeline::before {
        display: none;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-title {
        font-size: 18px;
    }
    
    .timeline-description {
        font-size: 14px;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .impact-card {
        padding: 40px 20px;
    }
    
    .offspring-item {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .offspring-year {
        font-size: 20px;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .award-item {
        padding: 30px 20px;
    }
    
    .final-message {
        padding: 80px 0;
    }
    
    .message-quote {
        font-size: 18px;
        line-height: 2;
    }
    
    .message-quote::before,
    .message-quote::after {
        font-size: 40px;
    }
    
    .message-quote::before {
        top: -20px;
        left: -30px;
    }
    
    .message-quote::after {
        bottom: -40px;
        right: -30px;
    }
}

@media (max-width: 480px) {
    .legacy-page .page-hero__title .title-en {
        font-size: 36px;
    }
    
    .intro-lead br {
        display: none;
    }
    
    .timeline-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .stat-item {
        width: 100%;
        text-align: center;
    }
}
