/* =========================================================================
   Sub Page Common Styles
   ========================================================================= */

/* === Sub Page Hero === */
.sub-hero {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background-color: var(--text-main);
    /* Fallback */
    overflow: hidden;
}

.sub-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
}

.sub-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.sub-hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
}

.sub-hero__title {
    font-family: var(--font-logo);
    font-size: 40px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.sub-hero__sub {
    font-family: var(--font-heading-jp);
    font-size: 16px;
    font-weight: 300;
}


/* === Breadcrumbs === */
.breadcrumbs {
    padding: 20px 0;
    background-color: var(--bg-main);
    font-size: 12px;
    color: var(--text-sub);
}

.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumbs li::after {
    content: '>';
    margin-left: 8px;
    color: #ccc;
}

.breadcrumbs li:last-child::after {
    content: none;
}

.breadcrumbs a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* === Common Sub Page Layout === */
.sub-content {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .sub-hero {
        height: 300px;
    }

    .sub-hero__title {
        font-size: 32px;
    }
}