/* editorial.css */

/* .page-wrapper overrides or isolates from index.html's scroller */
.page-wrapper {
    padding-top: 100px;
    background-color: #fdfbf7; /* 温かみのあるアイボリー */
    color: #2d2b27; /* 深みのあるチャコール */
    position: relative;
    z-index: 50; /* index.cssの背景レイヤー(-10〜1)よりも確実に前面に出す */
    width: 100%;
}

.editorial-header {
    padding: 8rem 5vw 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px; /* 全体のバランスを保つ最大幅 */
    margin: 0 auto;
}

.editorial-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 6rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    color: #1a1917;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.editorial-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* アシンメトリーな雑誌レイアウト */
.editorial-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 6rem;
    padding: 6rem 5vw 4rem; /* 上下の余白を大幅に増やして圧迫感を解消 */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.editorial-grid.reverse {
    grid-template-columns: 7fr 5fr;
}

.editorial-image-wrapper {
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(45, 43, 39, 0.15); /* 柔らかい影 */
    border: 1px solid rgba(45, 43, 39, 0.05);
    align-self: start; /* グリッドの高さに引きずられないように */
    background: transparent;
    line-height: 0; /* 画像の下のフォント用隙間を完全に消す */
    font-size: 0;
    display: flex; /* flexで包み込む */
    flex-direction: column;
}

.editorial-image {
    display: block;
    width: 100%;
    height: auto !important;
    max-height: 85vh; /* 縦長画像への配慮 */
    object-fit: cover; /* 隙間を作らず枠を埋める */
    opacity: 1 !important;
    position: relative;
    z-index: 2;
    filter: brightness(1.05) saturate(1.1);
    transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.editorial-image-wrapper:hover .editorial-image {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center; /* 垂直方向の中央揃えを保証 */
}

.editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.editorial-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 2.5rem;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.editorial-body {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    line-height: 2.2;
    letter-spacing: 0.08em;
    color: #433f3a;
    font-weight: 400;
    /* 本文は読みやすさを重視して左寄せに戻す */
    text-align: left;
    max-width: 700px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
}

/* ヘッダーの導入文（リード）のみシンメトリーな美しさを優先して中央寄せ */
.editorial-header .editorial-body {
    text-align: center;
}

/* 雑誌の引き書き（Pull Quote）みたいな強調表現 */
.editorial-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    border-left: 2px solid var(--primary);
    padding-left: 2rem;
    margin: 3.5rem 0;
    line-height: 1.8;
    color: #2d2b27;
    text-shadow: none;
}

/* フルスクリーン写真のブレイク用 */
.editorial-full-image {
    width: 100%;
    height: 45vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin: 2rem 0 0; /* 下のマージンを0に */
    background-color: #2d2b27; /* 隙間対策としてフッターと同じ色を予備で設定 */
    mix-blend-mode: normal;
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
}

/* 細いディバイダー（左寄せレイアウト用） */
.editorial-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(45, 43, 39, 0.1), transparent);
    margin: 4rem 0 2rem 5vw;
    max-width: 1000px;
}

@media (max-width: 992px) {
    .editorial-grid, .editorial-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* -------------------------------------
 * Professional Path Section
 * ------------------------------------- */
.path-section {
    padding: 3rem 5vw 6rem; /* 下パディングを6remに復活 */
    background: #f7f3e9;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.path-section .editorial-header {
    align-items: center;
    text-align: center;
}

.path-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto 0; /* 2remから4remへ戻してゆとりを持たせる */
}

.path-step {
    position: relative;
    padding: 3rem 2rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.path-step:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(45, 43, 39, 0.1),
        0 0 25px rgba(255, 176, 32, 0.25),
        0 0 50px rgba(255, 176, 32, 0.1);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #f1ebd8;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-weight: 900;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.step-desc {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5c574f;
}

.financial-highlight {
    display: inline-block;
    padding: 0.1em 0.3em;
    background: #fff5db;
    color: #9d6f1a;
    font-weight: 700;
    border-radius: 2px;
    font-size: 1.1em;
}

/* クリックで表示される詳細エリア */
.hidden-financial-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 176, 32, 0.2);
    border-radius: 8px;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hidden-financial-details.active {
    max-height: 300px;
    opacity: 1;
    margin-top: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(157, 111, 26, 0.08);
}

.financial-detail-inner {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #2d2b27;
}

.path-step.clickable {
    cursor: pointer;
}

.path-step.clickable:hover {
    border-color: var(--primary);
}

.step-click-hint {
    display: block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.7;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .path-grid {
        grid-template-columns: 1fr;
    }
}

/* -------------------------------------
 * FAQ Section
 * ------------------------------------- */
.faq-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #1a1917;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
    transition: transform 0.4s ease;
}

.faq-item:hover .faq-question {
    color: var(--primary);
}

.faq-item:hover .faq-question::after {
    transform: rotate(45deg);
    opacity: 1;
}

.faq-answer {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5c574f;
    
    /* 初期状態：隠して下に配置 */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.faq-item.is-open .faq-answer {
    /* 開いた時の挙動 */
    opacity: 1;
    max-height: 500px; /* 十分な高さを確保 */
    transform: translateY(0);
    margin-top: 1rem;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
    opacity: 1;
}
    font-size: 0.95rem;
    line-height: 1.8;
    color: #5c574f;
}

/* -------------------------------------
 * Utility: Buttons for Landing Page (Dawn Crystal Style)
 * ------------------------------------- */
.btn-primary {
    background: linear-gradient(135deg, rgba(255,176,32,0.95), rgba(255,105,180,0.85)) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(157, 111, 26, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 176, 32, 0.6), 0 0 60px rgba(255, 105, 180, 0.3) !important;
    filter: brightness(1.2);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); /* じわっとさせる */
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #2d2b27 !important;
    border: 1px solid rgba(45, 43, 39, 0.25) !important; /* 存在感のある輪郭 */
    box-shadow: 
        0 4px 15px rgba(45, 43, 39, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.3); /* 内側にわずかな光の筋 */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-secondary:hover {
    animation: crystal-reveal 0.8s forwards cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #1a1917 !important;
}

@keyframes crystal-reveal {
    0% {
        border-color: rgba(45, 43, 39, 0.25);
        box-shadow: 0 4px 15px rgba(45, 43, 39, 0.05);
        transform: translateY(0);
    }
    30% {
        /* 第一段階：ゴールドに発光 */
        border-color: var(--primary);
        box-shadow: 0 0 20px rgba(255, 176, 32, 0.6);
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.6);
    }
    100% {
        /* 第二段階：全体が浮き上がりじわっと発光 */
        border-color: var(--primary);
        box-shadow: 
            0 0 45px rgba(255, 255, 255, 0.8),
            0 0 25px rgba(255, 176, 32, 0.3),
            0 15px 35px rgba(45, 43, 39, 0.12);
        transform: translateY(-6px);
        background: rgba(255, 255, 255, 0.95);
    }
}

.btn-primary.large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* -------------------------------------
 * Footer & Nav Tweaks for Dawn Tone
 * ------------------------------------- */
.footer {
    background: #f7f3e9;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 2rem 2rem; /* さらに縮小 */
}

.footer p {
    color: #6b645b;
}

/* Sub-page Navigation adjustment for light bg */
.glass-nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

/* Header Main CTA Button (High Contrast for Dawn Tone) */
.nav-cta {
    padding: 0.6rem 1.4rem !important;
    background: linear-gradient(135deg, #FFB020, #e69a00) !important;
    border: none !important;
    border-radius: 50px;
    font-size: 0.85rem !important;
    font-weight: 600;
    color: #ffffff !important; /* 視認性向上のため白に変更 */
    box-shadow: 0 4px 15px rgba(255, 176, 32, 0.3);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
    white-space: nowrap;
}

.nav-cta:hover {
    background: linear-gradient(135deg, #FFC14D, #FFB020) !important;
    box-shadow: 0 8px 25px rgba(255, 176, 32, 0.5);
    transform: translateY(-2px);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .nav-cta {
        padding: 0.4rem 1rem !important;
        font-size: 0.75rem !important;
    }
}
/* -------------------------------------
 * PDF Preview Modal (Glassmorphism)
 * ------------------------------------- */
.pdf-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none; /* 初期状態は非表示 */
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pdf-modal.active {
    display: flex;
    opacity: 1;
}

.pdf-modal-background {
    position: absolute;
    inset: 0;
    background: rgba(5, 8, 20, 0.4);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.pdf-modal-container {
    position: relative;
    width: 95%;
    max-width: 1100px;
    height: 90lvh; /* dvh/lvhの安定性を考慮 */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 10;
    display: flex;
    flex-direction: column;
    animation: modal-up 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modal-up {
    from { transform: translateY(40px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.pdf-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0,0,0,0.1);
    color: #2d2b27;
    font-size: 1.5rem;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pdf-modal-close:hover {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 176, 32, 0.6);
    transform: rotate(90deg);
}

.pdf-modal-content {
    flex: 1;
    width: 100%;
    height: 100%;
    background: #444; /* PDFの背景色に近いダークグレー */
    overflow: hidden;
}

#pdf-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .pdf-modal {
        padding: 0; /* スマホでは画面いっぱいに */
    }
    .pdf-modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    /* スマホはJS側でバイパスするが、念のためCSSでも最適化しておく */
}

.footer {
    margin-top: -1px; /* 画像エリアとの微細な隙間（黒い帯）を物理的に埋める */
}

/* -------------------------------------
 * PARTNERS SECTION (Left-Aligned Layout)
 * ------------------------------------- */
.partners-list {
    display: flex;
    flex-direction: column;
    gap: 8rem;
    max-width: 1000px;
    margin-left: 5vw; /* 左寄せを徹底 */
    margin-right: auto;
    padding: 4rem 0;
}

.partner-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

/* アイコン｜名前｜キャッチコピー の水平ライン */
.partner-header {
    display: flex;
    flex-direction: row; /* 確実に横並び */
    align-items: center; /* 垂直方向中央 */
    gap: 2rem;
    width: 100%;
}

.partner-logo-column {
    flex-shrink: 0;
}

.partner-title-wrap {
    display: flex;
    flex-direction: column; /* 名前とコピーを上下に */
    justify-content: center;
    gap: 0.5rem;
}

.partner-name-label {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.4rem); /* フォントを大きく強調 */
    color: #1a1917;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 0.05em;
}

/* 以前のコロン装飾を削除 */
.partner-name-label::after {
    display: none;
}

.partner-catchphrase {
    font-family: var(--font-body); /* あえて本文フォントにして品格を出す */
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.1em;
}

/* 詳細テキスト（初期は隠しておき、ホバーでシュッと出す） */
.partner-detail-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 2.2;
    color: #433f3a;
    max-width: 100%;
    
    /* 初期状態：隠す */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(15px); /* 少し下から出す */
    transition: 
        max-height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        opacity 0.6s ease,
        transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
        margin 0.6s ease;
    margin-top: 0;
    padding-left: 0;
}

/* 表示・非表示の切り替えクラス */
.partner-row.is-active .partner-detail-text {
    max-height: 1000px; /* 十分な高さを確保 */
    opacity: 1;
    transform: translateY(0);
    margin-top: 2rem; /* 出現時に余白を作る */
}

/* 行全体にホバー可能なことを示す設定 */
.partner-row {
    display: flex;
    flex-direction: column;
    gap: 0; /* 本文が隠れている時は間隔を詰めたいので0に */
    align-items: flex-start;
    cursor: pointer;
    padding: 1.5rem;
    margin-left: -1.5rem; /* パディング分を相殺して左端を揃える */
    border-radius: 12px;
    transition: background-color 0.4s ease;
}

.partner-row:hover {
    background-color: rgba(255, 255, 255, 0.6); /* わずかに背景を浮かせてフォーカス感を出す */
}

.logo-placeholder {
    width: 160px; /* サイズを少し調整して横並びのバランスを向上 */
    height: 160px;
    background: #f7f3e9;
    border: 1px solid rgba(45, 43, 39, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(45, 43, 39, 0.05);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.partner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05) sepia(5%);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s ease;
}

.logo-placeholder:active, .partner-row.is-active .logo-placeholder {
    border-color: var(--primary);
    box-shadow: 0 15px 45px rgba(255, 176, 32, 0.15);
    transform: translateY(-5px) scale(1.02);
}

.partner-row.is-active .partner-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.1) sepia(0%);
}

@media (max-width: 992px) {
    .partners-list {
        gap: 5rem;
    }
    .partner-header {
        flex-direction: row; /* 横並び（アイコン ｜ テキスト）を維持 */
        align-items: center;
        gap: 1.2rem;
    }
    .partner-title-wrap {
        flex-direction: column; /* 名前とコピーは上下2段に固定 */
        gap: 0.2rem;
        flex-grow: 1;
    }
    .partner-name-label {
        font-size: 1.4rem; /* モバイルでも強調 */
    }
    .partner-catchphrase {
        font-size: 0.9rem;
    }
    .logo-placeholder {
        width: 80px;
        height: 80px;
    }
    .partner-detail-text {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .partner-header {
        gap: 1rem;
    }
    .partner-name-label {
        font-size: 1.2rem;
    }
    .partner-catchphrase {
        font-size: 0.85rem;
    }
    .logo-placeholder {
        width: 60px;
        height: 60px;
    }
}

/* -------------------------------------
 * MVV (Mission, Vision, Value) Section
 * ------------------------------------- */
.mvv-block-section {
    padding: 6rem 5vw;
    background: #f7f3e9; /* Professional Pathと同じベージュ背景 */
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mvv-block-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 800px; /* 縦並びのため幅を絞る */
    margin: 0 auto;
}

.mvv-block {
    position: relative;
    padding: 4rem 2rem 3rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.mvv-block:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(45, 43, 39, 0.1),
        0 0 25px rgba(255, 176, 32, 0.25);
}

.mvv-label-bg {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #f1ebd8;
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    font-weight: 900;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.mvv-block-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #1a1917;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.mvv-block-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.mvv-block-text {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: #2d2b27;
    padding-left: 1.2rem;
    border-left: 2px solid var(--primary);
}

@media (max-width: 992px) {
    .mvv-block-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .mvv-block {
        padding: 3rem 2rem;
    }
}

/* -------------------------------------
 * Lecture Guide Section (New Page Styles)
 * ------------------------------------- */
.lecture-page {
    background-color: #fdfbf7;
}

.lecture-intro {
    padding: 6rem 5vw 3rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lecture-dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 0 5vw 6rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Step Sidebar */
.lecture-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.step-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px; /* カプセル型の丸いデザインに変更 */
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
}

.playback-icon {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 176, 32, 0.1);
    border-radius: 50%; /* アイコン自体も円形に */
    opacity: 0.6;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--primary);
}

.step-btn.active .playback-icon {
    opacity: 1;
    transform: scale(1);
}

.step-btn.active.paused .playback-icon {
    color: #999;
}

.step-btn.active.playing {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 176, 32, 0.25);
}

.step-btn.active.playing .playback-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    opacity: 1;
}

.step-btn:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    background: #fffdf5;
}

.step-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(255, 176, 32, 0.25);
}

.step-btn.active .step-num-small {
    color: rgba(255, 255, 255, 0.9);
}

.step-btn.active.playing .step-num-small {
    color: rgba(255, 255, 255, 0.9);
}

.step-btn.active.paused {
    background: #fffdf5;
    border-color: var(--primary);
}

.step-btn.active.paused .step-btn-title {
    color: var(--primary);
    font-weight: 700;
}

.step-btn.active .step-btn-title {
    color: #ffffff;
}

.step-num-small {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.8;
    min-width: 2ch;
}

.step-btn-title {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #433f3a;
    line-height: 1.3;
}

/* Main Display */
.lecture-main-display {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.video-container-premium {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.video-container-premium iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.instruction-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
}

.instruction-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #1a1917;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.instruction-title::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--primary);
}

.instruction-body {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 2.2;
    color: #433f3a;
}

.instruction-body p {
    margin-bottom: 1.5rem;
}

.pro-tip {
    margin-top: 2.5rem;
    padding: 1.5rem 2rem;
    background: #fffdf5;
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
}

.partner-catchphrase {
    display: block;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.partner-name-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 400;
    color: #1a1917;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.pro-tip-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* Guide Entry Banner (for Product page) */
.guide-banner {
    margin: 6rem auto;
    padding: 6rem;
    background: linear-gradient(135deg, #1a1917 0%, #2d2b27 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    max-width: 1200px;
}

/* Partner Page Editorial Links (Refined) */
.partner-link-editorial {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem; /* キャッチコピーのすぐ下に配置するため調整 */
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: 500;
    position: relative;
    transition: all 0.4s ease;
}

.partner-link-editorial::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px; /* 初期値は短め */
    height: 1px;
    background-color: var(--primary);
    transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.partner-link-editorial:hover {
    letter-spacing: 0.15em; /* 文字間がふわっと広がる */
    opacity: 0.8;
}

.partner-link-editorial:hover::after {
    width: 100%; /* ホバーでラインが端まで伸びる */
}

.partner-link-editorial svg, .partner-link-editorial i {
    width: 14px;
    height: 14px;
    transition: transform 0.4s ease;
}

.partner-link-editorial:hover svg, .partner-link-editorial:hover i {
    transform: translateX(3px);
}

.guide-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 176, 32, 0.15), transparent 70%);
}

.guide-banner-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}

.guide-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.4;
    margin-bottom: 2.5rem;
    position: relative;
}

@media (max-width: 992px) {
    .lecture-dashboard {
        grid-template-columns: 1fr;
    }
    .lecture-nav {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem 1rem 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        
        /* スクロールガイド */
        mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    }
    .lecture-nav::-webkit-scrollbar {
        display: none;
    }
    .step-btn {
        flex-shrink: 0;
        min-width: 200px;
    }
    .guide-banner {
        padding: 4rem 2rem;
    }
}

/* Founder's Story Section Styles */
.story-section {
    padding: 8rem 0;
    background: #fff;
    overflow: hidden;
}

.story-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.story-header {
    margin-bottom: 5rem;
    text-align: center;
}

.story-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: #1a1917;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.story-hero-image {
    width: 100%;
    height: auto;
    margin-bottom: 4rem;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.story-content {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 2.2;
    color: #333;
}

.story-lead {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1917;
    margin-bottom: 3rem;
    line-height: 1.8;
}

.story-body p {
    margin-bottom: 2.5rem;
}

.story-quote-block {
    margin: 6rem 0;
    padding: 4rem;
    background: #fdfaf3;
    border-left: 2px solid var(--primary);
    position: relative;
}

.story-pullquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #1a1917;
    line-height: 1.4;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.story-cite {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #1a1917;
    text-align: right;
}

.story-cite span {
    font-size: 0.85rem;
    color: var(--primary);
    margin-right: 0.5rem;
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .story-title {
        font-size: 2.2rem;
    }
    .story-pullquote {
        font-size: 1.6rem;
    }
    .story-quote-block {
        padding: 2.5rem;
    }
}
