/* ==========================================================================
   病院の歩み (History) Page — recruit-history.css
   ========================================================================== */

/* Hero */
.sakura-history-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    background: linear-gradient(135deg, #f8f6f3 0%, #eee8e0 100%);
    overflow: hidden;
    text-align: center;
    padding: 4rem 1.5rem 3rem;
}

.sakura-history-hero__bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.04);
    letter-spacing: 0.1em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}

.sakura-history-hero__content {
    position: relative;
    z-index: 1;
}

.sakura-history-hero__lead {
    font-size: 0.85rem;
    font-weight: 700;
    color: #8a6914;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.sakura-history-hero__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.75rem;
}

.sakura-history-hero__subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Breadcrumb */
.sakura-history-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 0;
}

.sakura-history-breadcrumb__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    font-size: 0.875rem;
    color: #999;
}

.sakura-history-breadcrumb__link {
    color: #8a6914;
    text-decoration: none;
}

.sakura-history-breadcrumb__link:hover {
    text-decoration: underline;
}

.sakura-history-breadcrumb__separator {
    margin: 0 0.5rem;
    color: #ccc;
}

.sakura-history-breadcrumb__current {
    color: #666;
}

/* Introduction */
.sakura-history-intro {
    padding: 3rem 1.5rem;
    background: #fff;
}

.sakura-history-intro__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.sakura-history-intro__text {
    font-size: 1rem;
    line-height: 2;
    color: #444;
    margin: 0;
}

/* Timeline */
.sakura-history-timeline {
    padding: 3rem 1.5rem 4rem;
    background: #f9f8f6;
}

.sakura-history-timeline__inner {
    max-width: 800px;
    margin: 0 auto;
}

.sakura-history-timeline__header {
    text-align: center;
    margin-bottom: 3rem;
}

.sakura-history-timeline__label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8a6914;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.sakura-history-timeline__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0.5rem 0 0;
}

/* Timeline Line */
.sakura-history-timeline__list {
    position: relative;
    padding-left: 2rem;
}

.sakura-history-timeline__list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #8a6914 0%, #d4a854 100%);
    border-radius: 2px;
}

/* Timeline Item */
.sakura-history-timeline__item {
    position: relative;
    padding: 0 0 2.5rem 2rem;
}

.sakura-history-timeline__item:last-child {
    padding-bottom: 0;
}

.sakura-history-timeline__item::before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0.3rem;
    width: 13px;
    height: 13px;
    background: #fff;
    border: 3px solid #8a6914;
    border-radius: 50%;
    transform: translateX(-5px);
    z-index: 1;
}

.sakura-history-timeline__item--current::before {
    background: #8a6914;
    box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.2);
}

/* Year */
.sakura-history-timeline__year {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.sakura-history-timeline__year-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8a6914;
    letter-spacing: 0.05em;
}

.sakura-history-timeline__year-era {
    font-size: 0.85rem;
    color: #999;
}

/* Content */
.sakura-history-timeline__event {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
}

.sakura-history-timeline__desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* CTA */
.sakura-history-cta {
    padding: 4rem 1.5rem;
    background: #fff;
    text-align: center;
}

.sakura-history-cta__inner {
    max-width: 600px;
    margin: 0 auto;
}

.sakura-history-cta__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.sakura-history-cta__text {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.8;
    margin: 0 0 2rem;
}

.sakura-history-cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .sakura-history-hero {
        min-height: 240px;
        padding: 3rem 1rem 2rem;
    }

    .sakura-history-hero__bg-text {
        font-size: 4.5rem;
    }

    .sakura-history-hero__title {
        font-size: 1.6rem;
    }

    .sakura-history-intro__br {
        display: none;
    }

    .sakura-history-timeline {
        padding: 2rem 1rem 3rem;
    }

    .sakura-history-timeline__list {
        padding-left: 1.5rem;
    }

    .sakura-history-timeline__item {
        padding-left: 1.5rem;
    }

    .sakura-history-timeline__year-num {
        font-size: 1.3rem;
    }

    .sakura-history-cta__title {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .sakura-history-hero__bg-text {
        font-size: 3rem;
    }

    .sakura-history-hero__title {
        font-size: 1.4rem;
    }

    .sakura-history-timeline__item {
        padding-left: 1rem;
    }

    .sakura-history-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}
