@charset "UTF-8";

/* =======================================================
   下層ページ共通スタイル (Page Header & Breadcrumb)
======================================================= */
.page-main {
    padding-top: 80px; /* ヘッダーの高さ分の余白 */
    background-color: #FAFAFA; /* 全体的に明るく清潔感のある背景 */
}

/* --- Page Header (背景画像 + オーバーレイスタイル) --- */
.page-header {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: none;
    background: #1a1a1a; /* 画像未設定時のフォールバック */
}

/* 背景画像を有効化 */
.page-header-bg {
    display: block;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1.05);
    transition: transform 6s ease;
}

/* 暗いオーバーレイ */
.page-header::after {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 5%;
}

/* 英語タイトル：小さめのカテゴリラベル（上部） */
.page-title-en {
    display: block;
    font-family: sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.45em;
    line-height: 1;
    margin-bottom: 16px;
    text-transform: uppercase;
    white-space: nowrap;
    /* 旧ウォーターマーク設定をリセット */
    position: static;
    right: auto;
    bottom: auto;
    pointer-events: auto;
}

/* 日本語タイトル：大きめ・白・明朝 */
.page-title-jp {
    display: block;
    font-family: var(--font-main);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #fff;
    margin-bottom: 0;
    position: static;
    z-index: auto;
    line-height: 1.3;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.page-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
}

/* --- Breadcrumb (パンくずリスト) --- */
.breadcrumb {
    padding: 20px 4%;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    font-size: 0.8rem;
    opacity: 0.5;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

/* --- レスポンシブ対応 (下層共通) --- */
@media screen and (max-width: 768px) {
    .page-header {
        height: 240px;
    }
    .page-header-content {
        padding: 0 6%;
    }
    .page-title-jp {
        font-size: 1.9rem;
        letter-spacing: 0.2em;
    }
    .page-title-en {
        font-size: 0.72rem;
        letter-spacing: 0.35em;
        margin-bottom: 12px;
    }
    .page-title {
        font-size: 2.8rem;
    }
}

/* =======================================================
   レイアウト上書き (PC表示時)
   ヘッダーと同じ左右10%の余白にし、最大幅の制限を解除
======================================================= */
@media screen and (min-width: 769px) {
    .page-main .container {
        max-width: none;
        padding: 0 10%;
    }
}