/* メタアーキテクトページ専用スタイル - アカデミックな雰囲気 */
.meta-architect-page {
    background: #d0d4d9;
    min-height: calc(100vh - 120px);
    padding: 80px 0;
}

.meta-architect-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    background: #e3e6ea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-header {
    text-align: center;
    padding: 80px 60px;
    border-bottom: 1px solid #c5cad0;
}

.profile-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #1557b0;
    margin-bottom: 20px;
    line-height: 1.3;
}

.profile-subtitle {
    font-size: 18px;
    color: #3d4752;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.profile-section {
    margin: 80px 0;
    padding: 0 60px;
}

.section-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1557b0;
    margin-bottom: 36px;
    letter-spacing: 0.05em;
    line-height: 1.4;
    border-bottom: 3px solid #1557b0;
    padding-bottom: 16px;
}

.profile-section p {
    line-height: 1.9;
    margin-bottom: 24px;
    color: #1a202c;
    font-size: 16px;
    font-weight: 400;
}

.profile-section p:last-child {
    margin-bottom: 0;
}

.tech-stack-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #4a5563;
    letter-spacing: 0.05em;
    margin-top: 20px;
    margin-bottom: 8px;
    display: block;
}

.tech-stack {
    font-size: 14px;
    color: #1557b0;
    font-weight: 500;
    line-height: 1.8;
}

.divider {
    height: 1px;
    background: #bec3c9;
    margin: 80px 60px;
}

/* プロジェクト一覧のグリッド */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
    margin-top: 48px;
    padding: 0 60px;
}

.project-card {
    background: #eceef1;
    padding: 40px;
    border: 1px solid #bec3c9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-card:hover {
    border-color: #1557b0;
    box-shadow: 0 4px 16px rgba(21, 87, 176, 0.18);
    transform: translateY(-2px);
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #1557b0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.project-card p {
    line-height: 1.8;
    color: #3d4752;
    margin-bottom: 16px;
    font-size: 15px;
}

/* アカデミックな雰囲気の引用 */
.academic-quote {
    background: #d8e4f0;
    border-left: 4px solid #1557b0;
    padding: 32px 40px;
    margin: 40px 0;
    font-style: italic;
    font-size: 18px;
    color: #1a202c;
    border-radius: 4px;
    line-height: 1.8;
}

/* 強調テキスト */
.highlight-text {
    color: #1557b0;
    font-weight: 600;
}

/* 設計原則リスト */
.principles-list {
    margin-top: 32px;
    padding-left: 0;
    list-style: none;
}

.principles-list li {
    padding: 16px 0;
    border-bottom: 1px solid #d5d9dd;
    font-size: 16px;
    line-height: 1.8;
    color: #1a202c;
    position: relative;
    padding-left: 32px;
}

.principles-list li:last-child {
    border-bottom: none;
}

.principles-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #1557b0;
    font-weight: 600;
}

/* メタアーキテクトページ専用ヘッダースタイル - オプション1: グレー */
.meta-architect-page ~ footer,
body:has(.meta-architect-page) .page-header {
    background-color: #c5cad0;
    border-bottom: 1px solid #a8adb3;
}

body:has(.meta-architect-page) .page-header .fretboard-nav {
    background-color: transparent;
}

body:has(.meta-architect-page) .logo a {
    color: #1557b0;
}

body:has(.meta-architect-page) .logo a:hover {
    color: #2e78d4;
}

body:has(.meta-architect-page) .fretboard-nav a {
    color: #1557b0;
}

body:has(.meta-architect-page) .fretboard-nav a:hover {
    background-color: rgba(21, 87, 176, 0.1);
    color: #2e78d4;
}

body:has(.meta-architect-page) .fretboard-nav a.active {
    background-color: rgba(21, 87, 176, 0.15);
    color: #1557b0;
}

body:has(.meta-architect-page) .fretboard-nav li {
    border-right: 2px solid #a8adb3;
}

body:has(.meta-architect-page) .fretboard-nav li:first-child {
    border-left: 2px solid #a8adb3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .meta-architect-page {
        padding: 40px 0;
    }

    .meta-architect-container {
        padding: 0 20px;
    }

    .profile-header {
        padding: 40px 20px;
    }

    .profile-title {
        font-size: 28px;
    }

    .profile-subtitle {
        font-size: 16px;
    }

    .section-heading {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .profile-section {
        margin: 48px 0;
        padding: 0 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 20px;
    }

    .project-card {
        padding: 24px;
    }

    .divider {
        margin: 48px 20px;
    }
}
