/* =====================================================
   VARIABLES (Inherited from common but defined for clarity)
===================================================== */
:root {
    --primary-red: #d7211e;
    --dark-red: #cc0000;
    --accent-red: #d3232a;
    --primary-blue: #01b4ee;
    --dark-blue: #00aded;
    --light-blue: #00a2e8;
    --text-black: #000;
    --text-gray: #555;
    --font-base: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Meiryo", sans-serif;
}

/* =====================================================
   DETAIL PAGE BASE 
===================================================== */
html {
    overflow-x: hidden;
    /* 防止するための基本設定 */
}

/* メインラッパー（横スクロール防止、svgの切り抜き） */
.detail-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 5rem;
    min-height: 100vh;
}

/* =====================================================
   GLOBAL/COMMON
===================================================== */
body.detail-page,
body.index-page {
    /* 背景グラデーションは dp2026-common.css の body::before で最適化されているため重複削除（スクロールパフォーマンス向上） */
    color: #333;
    line-height: 1.6;
}

.detail-wrapper {
    position: relative;
    min-height: 100vh;
    padding-top: 100px;
    /* ヘッダーの高さ分下げる */
    padding-bottom: 150px;
    /* フッター上の余白 */
    width: 100%;
}

/* =====================================================
   HERO & BACKGROUND TEXT
===================================================== */
.detail-bg-text-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
    /* opacity: 0.15; */
}

.detail-bg-text-svg {
    width: 80%;
    max-width: 360px;
    height: auto;
    object-fit: contain;
}

/* =====================================================
   CONTENT INNER
===================================================== */
.detail-inner {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    /* bg-textより上 */
    padding-top: 4rem;
}

/* =====================================================
   BREADCRUMB
===================================================== */
#pankuzu_wrap {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.pankuzu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.05em;
}

.pankuzu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: opacity 0.2s;
}

.pankuzu a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.pankuzu_mark {
    margin: 0 0.25rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.icon_current {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    margin-right: 0.5rem;
    font-weight: bold;
    color: #fff;
    font-size: 0.75rem;
}

.pankuzu_class_current {
    color: #fff;
}

/* 最初の2つの span 要素を非表示 */
.pankuzuR>span:nth-child(-n+2) {
    display: none;
}

/* 特定のクラスがついている場合は4つ目まで非表示 */
.layout-left.links-page .pankuzuR>span:nth-child(-n+4) {
    display: none;
}

@media (max-width: 800px) {
    #pankuzu_wrap {
        padding-left: 1rem;
        margin-bottom: 1.5rem;
    }

    .pankuzu {
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .icon_current {
        padding: 2px 6px;
        font-size: 0.7rem;
        margin-right: 0.3rem;
    }

    .pankuzu_mark {
        margin: 0 0.15rem;
    }
}

/* 左上タイトル「仕事の役割」 */
.detail-hero-title {
    color: #fff;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.detail-hero-title .ja {
    display: block;
    letter-spacing: 0.1em;
    line-height: 1.2;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15); */
    font-size: 3rem;
    color: #0000009c;
}

.detail-hero-title .en {
    display: block;
    font-size: 1.275rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #0000009c;
    margin-top: 0.7rem;
}

/* 右上の人物写真（カードの上に重ねる） */
.detail-person {
    position: absolute;
    right: 0;
    top: -4rem;
    width: 40%;
    max-width: 500px;
    z-index: 10;
    pointer-events: none;
    /* 下のテキストを選択可能にする */
    filter: drop-shadow(-5px 5px 10px rgba(0, 0, 0, 0.2));
}

.detail-person img {
    width: 100%;
    height: auto;
    display: block;
}

/* =====================================================
   WHITE CARD (メインコンテンツ領域)
===================================================== */
.detail-white-card {
    background: #fff;
    border-radius: 40px;
    padding: 5rem 4rem 6rem;
    position: relative;
    z-index: 5;
    /* ヒーロー画像の背面 */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    margin: 0 1rem;
}

/* 大見出し */
.card-header {
    width: 55%;
}

.card-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--primary-blue);
    line-height: 1.4;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.card-header .meta {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 4rem;
}

/* セクション行レイアウト */
.card-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.card-section:last-of-type {
    margin-bottom: 0;
}

/* テキストエリア（左）と画像エリア（右）の比率 */
.section-left {
    width: 55%;
    flex-shrink: 0;
    /* 右側のヒーロー画像と重ならないためのwidth制限 */
}

.section-right {
    width: 45%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* セクション見出しと本文 */
.section-left h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
    width: 100%;
}

.section-left p {
    font-size: 1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 1.25rem;
    text-align: justify;
}

.section-left p:last-child {
    margin-bottom: 0;
}

/* セクション内右側画像（2枚目、3枚目） */
.section-right img {
    width: calc(100% + 6rem);
    /* 枠外にはみ出る幅 */
    max-width: none;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-right: -6rem;
    /* 白いカードのパディング（4rem）＋2rem枠外へはみ出す */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* 立体感 */
}

.shortMovie2025 {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.shortMovie2025 h2 {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.shortMovie2025 iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    display: block;
    border-radius: 12px;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
/* タブレット〜小型PC */
@media (max-width: 1200px) {
    .detail-white-card {
        padding: 4rem 3rem 5rem;
    }

    .card-header {
        width: 100%;
    }

    .section-left {
        width: 60%;
    }

    .section-right {
        width: 40%;
    }

    .detail-person {
        width: 40%;
    }

    .section-right img {
        width: calc(100% + 4.5rem);
        margin-right: -4.5rem;
        /* タブレット版パディング（3rem）＋1.5rem枠外へ */
    }
}

/* モバイル */
@media (max-width: 800px) {
    .detail-bg-text-svg {
        width: 70%;
    }

    .detail-inner {
        padding-top: 2rem;
    }

    .detail-hero-title {
        padding-left: 1rem;
        margin-bottom: 2rem;
    }

    .detail-hero-title .ja {
        font-size: 1.5rem;
    }

    .detail-hero-title .en {
        font-size: 1rem;
    }

    .detail-white-card {
        padding: 2.5rem 1.5rem 4rem;
        border-radius: 24px;
    }

    .card-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-left,
    .section-right {
        width: 100%;
    }

    .section-right img {
        /* width: calc(100% + 3rem); */
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
        border-radius: 0;
        box-shadow: none;
    }

    /* モバイルでは人物画像をカードの右上に重ねて配置 */
    .detail-person {
        position: absolute;
        width: 40%;
        max-width: 170px;
        right: 1.5rem;
        top: -6rem !important;
        z-index: 10;
        pointer-events: none;
    }

    /* 白カード内に見えないfloat要素を作り、テキストをこれに沿ってなだらかに折り返させる */
    .detail-white-card {
        padding: 1.5rem 1rem 3rem;
        border-radius: 24px;
        display: block;
    }

    .detail-white-card::before {
        content: "";
        float: right;
        width: 26%;
        /* 人物画像の幅の目安 */
        height: 200px;
        /* 人物画像が入り込む高さの目安 */
        shape-outside: margin-box;
        margin-left: 1rem;
    }

    .card-header h2,
    .card-header .meta,
    .card-section.section-1 .section-left {
        width: auto;
        padding-right: 0;
    }

    .layout-left.qa-page .card-header h2 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .card-header h2 br {
        display: none;
    }

    .card-section.section-1 {
        margin-top: 1rem;
        display: block;
        /* floatを回り込ませるためにblockにする */
    }

    .card-section .section-left h3 {
        font-weight: 600;
    }
}

/* =====================================================
   INTERVIEW INDEX PAGE SPECIFIC (interview_index.html)
===================================================== */
/* インデックスタイトルエリア */
.index-title-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 5rem;
    position: relative;
    z-index: 5;
}

.index-title-en {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #0000009c;
    letter-spacing: 0.05em;
    line-height: 1;
}

.index-title-ja {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: #0000009c;
    background: transparent;
    border: none;
    letter-spacing: 0.1em;
}

/* インタビューカードコンテナ */
.index-cards-container {
    display: flex;
    flex-direction: column;
    gap: 7rem;
    /* カード間のマージンをさらに広げて画像被りを防ぐ */
    margin-bottom: 8rem;
    position: relative;
    z-index: 5;
}

/* 共通カードスタイル */
.index-card {
    background: #fff;
    border-radius: 30px;
    display: flex;
    align-items: stretch;
    /* 子要素の高さを揃える */
    min-height: 220px;
    /* 高さを少し低めに設定 */
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 620px;
    /* デザインに合わせた幅の上限 */
    margin: 0 auto;
}

/* 左画像・右テキスト */
.card-img-left {
    flex-direction: row;
}

/* 左テキスト・右画像 */
.card-img-right {
    flex-direction: row;
}

/* カードコンテンツ部分 */
.index-card .card-content {
    flex: 1;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

/* 右画像・左テキストの場合のパディング調整 */
.card-img-right .card-content {
    padding-left: 5rem;
}

.card-heading {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    color: var(--primary-red);
    /* デフォルトは赤(上段・3段目用)。青は後で上書き */
    line-height: 1.5;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.card-img-right .card-heading {
    color: var(--primary-blue);
    /* 2段目・4段目は青見出し */
}

.index-card .card-meta {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 2rem;
}

/* カード画像部分（適度なサイズにし、はみ出させる） */
.index-card .card-img-wrapper {
    width: 20%;
    /* 幅を少し狭めて画像をテキストに寄せる */
    position: relative;
    z-index: 20;
    display: flex;
    align-items: flex-end;
    /* 画像を下揃えに */
}

.index-person-img {
    position: absolute;
    bottom: 0;
    height: 370px;
    /* 固定幅にすることで、画面幅が変わっても大きさを一定に保つ */
    max-width: none;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(-5px 5px 15px rgba(0, 0, 0, 0.2));
    z-index: 10;
}

/* 左画像の場合 */
.card-img-left .index-person-img {
    left: -40px;
    /* カード左端から40pxだけ飛び出させる */
}

/* 右画像の場合 */
.card-img-right .index-person-img {
    right: -40px;
    /* カード右端から40pxだけ飛び出させる */
}

/* =====================================================
   矢印型ボタン (先輩の声はコチラ)
===================================================== */
.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform, filter;
}

/* 右向き矢印（左画像用） */
.btn-arrow-right {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    margin-left: -5rem;
    /* 画像（カード左端）から伸びるように見せる */
    width: calc(100% + 5rem);
    /* max-width: 380px; */
    /* padding-left: 6rem; */
    /* マージンでずらした分、テキストの中央配置を補正 */
    background: var(--primary-red);
    /* 赤色 */
}

/* 左向き矢印（右画像用） */
.btn-arrow-left {
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 20px 100%, 0 50%);
    margin-right: -5rem;
    /* 画像（カード右端）から伸びるように見せる */
    width: calc(100% + 5rem);
    /* max-width: 380px; */
    /* padding-right: 6rem; */
    background: var(--primary-blue);
    /* 青色 */
}

.btn-arrow:hover {
    transform: translateY(-2px);
    /* 左右配置が混ざるのでY軸移動に変更 */
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   OUR WORKS SECTION (私たちの仕事)
===================================================== */
.our-works-section {
    position: relative;
    z-index: 5;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.our-works-card {
    background: #fff;
    border-radius: 30px;
    padding: 4rem 5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.our-works-title {
    font-size: 2rem;
    color: #333;
    font-weight: 900;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.our-works-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

/* 作業リンク型の矢印ボタン */
.btn-work-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2rem 1rem 3rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    /* 左右が尖ったヘキサゴン */
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 20px 100%, 0 50%);
    /* 左が赤、右が青の50%ずつの背景 */
    background: linear-gradient(90deg, var(--primary-red) 0%, var(--primary-red) 50%, var(--primary-blue) 50%, var(--primary-blue) 100%);
    width: 100%;
    max-width: 600px;
    transition: transform 0.3s ease, filter 0.3s ease;
    will-change: transform, filter;
}

.btn-work-link:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-work-link .bracket {
    font-weight: 900;
    margin-right: 1rem;
}

/* =====================================================
   INDEX RESPONSIVE
===================================================== */
@media (max-width: 1200px) {
    .index-card {
        width: 65%;
    }

    .our-works-card {
        width: 80%;
        padding: 3rem;
    }

    .index-card .card-content {
        padding: 2rem;
    }

    .index-person-img {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .index-title-area {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 3rem;
    }

    .index-cards-container {
        gap: 4rem;
    }

    .index-card {
        min-height: 140px;
        width: 90%;
        padding-top: 0;
    }

    .index-card .card-img-wrapper {
        width: 25%;
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .index-person-img {
        position: absolute;
        height: 230px;
        max-width: none;
        bottom: 0px;
    }

    .card-img-left .index-person-img {
        left: 6px !important;
        right: auto !important;
    }

    .card-img-right .index-person-img {
        right: 6px !important;
        left: auto !important;
    }

    .index-card .card-content {
        padding: 1.5rem 1rem;
        align-items: flex-start;
        text-align: left;
        justify-content: center;
    }

    .card-img-left .card-content {
        padding-left: 0;
        padding-right: 2rem;
    }

    .card-img-right .card-content {
        padding-left: 2rem;
        padding-right: 0;
    }

    .card-heading {
        font-size: 1.05rem;
        margin-bottom: 0.5rem;
    }

    .card-heading br {
        display: none;
    }

    .index-card .card-meta {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .btn-arrow-right,
    .btn-arrow-left {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
        width: calc(100% + 3rem);
    }

    .btn-arrow-right {
        margin-left: -3rem;
        margin-right: 0;
        clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    }

    .btn-arrow-left {
        margin-right: -3rem;
        margin-left: 0;
        clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%);
    }

    .our-works-card {
        padding: 24px 10px;
    }

    .our-works-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        font-weight: 700;
    }

    .btn-work-link {
        font-size: 0.95rem;
        padding: 1rem 0.8rem;
        clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%);
        flex-direction: column;
        font-weight: normal;
    }

    .btn-work-link .bracket {
        font-weight: 600;
        margin-right: 0;
    }
}

@media (max-width: 450px) {

    span.kaigyo,
    .index-card .card-meta span.kaigyo {
        display: block;
    }

    .index-card .card-img-wrapper {
        width: 35%;
    }

    .index-person-img {
        height: auto;
        width: 100%;
    }
}

@media (max-width: 320px) {
    .index-card .card-img-wrapper {
        width: 25%;
    }
}

/* =====================================================
   LAYOUT LEFT MODIFIER (写真左側配置)
===================================================== */
.layout-left .detail-hero-title {
    padding-left: 0;
    padding-right: 2rem;
    text-align: right;
}

.layout-left.qa-page .detail-hero-title {
    text-align: center;
    padding-right: 0;
}

.layout-left .detail-person {
    right: auto;
    left: 0;
    filter: drop-shadow(5px 5px 10px rgba(0, 0, 0, 0.2));
    /* 影の方向を反転（右下へ）短く調整 */
}

/* ヘッダーの幅を絞って右寄せ（写真との被り回避） */
.layout-left .card-header {
    width: 65%;
    /* 左レイアウトはテキストが右によるため広めにとる */
    margin-left: auto;
}

.layout-left .card-section {
    flex-direction: row-reverse;
}

.layout-left .section-right {
    justify-content: flex-start;
}

.layout-left .section-right img {
    margin-right: 0;
    margin-left: -6rem;
}

/* RED THEME FOR TEXT */
.theme-red .card-header h2,
.theme-red .section-left h3 {
    color: var(--primary-red);
}

.theme-red .section-left h3 {
    border-bottom-color: var(--primary-red);
}

.theme-red .card-header .meta {
    border-left: none;
    /* 画像では無いように見えるため削除 */
    padding-left: 0;
}

/* CYAN THEME FOR TEXT */
.theme-cyan .card-header h2,
.theme-cyan .section-left h3 {
    color: var(--primary-blue);
}

.theme-cyan .section-left h3 {
    border-bottom-color: var(--primary-blue);
}

.theme-cyan .card-header .meta {
    border-left: none;
    padding-left: 0;
}

/* RESPONSIVE OVERRIDES FOR LAYOUT LEFT */
@media (max-width: 1024px) {
    .layout-left .section-right img {
        margin-right: 0;
        margin-left: -4.5rem;
    }

    .layout-left .card-header {
        width: 100%;
    }

    .card-header h2 br {
        display: none;
    }
}

@media (max-width: 800px) {
    .layout-left .detail-hero-title {
        padding-right: 1rem;
        padding-left: 0;
    }

    .layout-left .detail-person {
        right: auto;
        left: 1.5rem;
    }

    .layout-left .detail-white-card::before {
        float: left;
        margin-right: 1rem;
        margin-left: 0;
    }

    .layout-left.qa-page .detail-white-card::before {
        display: none;
    }

    .layout-left .card-section {
        flex-direction: column;
        /* モバイルでは縦長なので元に戻す */
    }

    .layout-left .section-right img {
        margin-left: 0;
        margin-right: 0;
    }

    .layout-left .card-header {
        width: auto;
        margin-left: 0;
    }
}

/* Q&A specific overrides */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.qa-item h3 {
    position: relative;
    padding-left: 2rem;
    color: var(--primary-red);
    border-bottom: 2px solid #eee;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.qa-item h3::before {
    content: "Q";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.qa-item .answer {
    position: relative;
    padding-left: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

.qa-item .answer::before {
    content: "A";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #999;
}

.qa-item h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

/* No person image on this page, adjust card margin */
.qa-page .detail-white-card {
    margin-top: 2rem;
}

/* Hide right column to make full width */
.qa-page .section-left {
    width: 100%;
}

.qa-page .section-right {
    display: none;
}

@media (max-width: 700px) {
    .detail-person {
        width: 35%;
        right: -1.5rem;
        top: -2rem !important;
    }

    .layout-left .detail-person {
        left: -1.5rem;
    }
}

@media (max-width: 415px) {
    .layout-left .detail-person {
        width: 35%;
        top: -2rem !important;
    }
}


/* 追記　関連リンク */

.layout-left.links-page .detail-hero-title {
    text-align: center;
    padding-right: 0;
}

/* Main Split Title Bar */
.layout-left.links-page .links-main-title {
    width: 100%;
    background: linear-gradient(90deg, var(--primary-red) 50%, var(--primary-blue) 50%);
    color: #fff;
    padding: 1rem 0;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 0.5em;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Section Container */
.layout-left.links-page .card-section {
    display: flex;
    gap: 2rem;
    margin-bottom: 0;
}

.layout-left.links-page .section-full {
    width: 100%;
}

/* Headings within themed sections */
.layout-left.links-page .theme-red h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    letter-spacing: 0.05em;
}

.layout-left.links-page .theme-blue h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
    letter-spacing: 0.05em;
}

.layout-left.links-page .theme-red h3 {
    background-color: var(--primary-red);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.layout-left.links-page .theme-blue h3 {
    background-color: var(--primary-blue);
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Link List */
.layout-left.links-page .links-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 3rem;
}

.layout-left.links-page .links-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    font-weight: 500;
}

.layout-left.links-page .links-list li::before {
    content: "●";
    position: absolute;
    left: 0.1rem;
    font-size: 1.5rem;
    top: -0.4rem;
}

.layout-left.links-page .theme-red .links-list li::before {
    color: var(--primary-red);
}

.layout-left.links-page .theme-blue .links-list li::before {
    color: var(--primary-blue);
}

.layout-left.links-page .links-list li a {
    color: inherit;
    transition: opacity 0.2s;
}

.layout-left.links-page .links-list li a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* Container adjust for white card */
.layout-left.links-page .detail-white-card {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 800px) {
    .layout-left.links-page .detail-white-card::before {
        display: none;
    }

    .layout-left.links-page .links-main-title {
        font-size: 1.5rem;
        letter-spacing: 0.3em;
    }

    .layout-left.links-page .theme-red h2,
    .layout-left.links-page .theme-blue h2 {
        font-size: 1.4rem;
    }

    .layout-left.links-page .theme-red h3,
    .layout-left.links-page .theme-blue h3 {
        font-size: 1.1rem;
    }

    .layout-left.links-page .links-list li {
        font-size: 1rem;
    }
}