/* グローバル設定 */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #ffffff;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* メインコンテンツエリアの最適化 */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.main-content p {
    margin-bottom: 1.5em;
    line-height: 1.9;
}

.main-content li {
    margin-bottom: 0.75em;
    line-height: 1.8;
}

/* ヘッダー */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.site-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-header p,
.site-header .tagline {
    font-size: 1.1rem;
    opacity: 0.9;
}

.header-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.header-banner h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.header-banner h1 i {
    font-size: 1.5rem;
}

.header-banner p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Site-wide Search */
.search-container,
.site-search-container {
    background: var(--bg-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-box input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--card-shadow);
    z-index: 1000;
}

.search-result-item {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-light);
}

.result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-title mark {
    background-color: #fef08a;
    padding: 0 2px;
}

.result-description {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.result-category {
    font-size: 0.75rem;
    color: var(--primary-color);
    background: rgba(37, 99, 235, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 0.25rem;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
}

/* ナビゲーション */
.main-nav {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    overflow: visible; /* ドロップダウンメニューが見切れないようにする */
}

/* ハンバーガーメニューボタン */
.menu-toggle {
    display: none; /* デフォルトは非表示 */
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    margin: 0.75rem auto;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    width: calc(100% - 1.5rem);
    max-width: 300px;
    font-weight: 600;
}

.menu-toggle:hover {
    background: var(--secondary-color);
}

.menu-toggle i {
    margin-right: 0.5rem;
}

/* デスクトップでは必ず非表示 */
@media (min-width: 769px) {
    .menu-toggle {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        overflow: visible !important; /* ドロップダウンが見切れないようにする */
    }
    
    .nav-menu.collapsed {
        display: flex !important;
        max-height: none; /* 制限を解除 */
        padding: 1rem 0;
        overflow: visible !important;
    }
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    max-height: none; /* ドロップダウン表示のため制限を解除 */
    overflow: visible; /* ドロップダウンが見切れないようにする */
    transition: all 0.3s ease;
}

.nav-menu.collapsed {
    max-height: 0;
    padding: 0;
    overflow: hidden;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
    font-size: 0.85rem;
    white-space: nowrap;
}

.nav-menu li a i {
    font-size: 0.8rem;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary-color);
    color: white;
}

/* ドロップダウンメニュー */
.nav-menu li.has-dropdown > a::after {
    content: '\f107'; /* Font Awesome down arrow */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.3rem;
    font-size: 0.8rem;
}

.nav-menu .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    border-radius: 6px;
    min-width: 200px;
    padding: 0.35rem 0;
    z-index: 9999;
    margin-top: 0.2rem;
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

/* ドロップダウンを開きやすくするための透明な領域 */
.nav-menu li.has-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -0.5rem; /* 親要素とドロップダウンの間に橋渡し */
    z-index: 9998;
}

.nav-menu li.has-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s; /* ホバー時は即座に表示 */
}

/* メニューから離れた時の遅延を追加 */
.nav-menu li.has-dropdown .dropdown-menu {
    transition: opacity 0.2s ease 0.15s, transform 0.2s ease 0.15s; /* 0.15秒の猶予 */
}

/* JavaScriptでの制御用 */
.nav-menu li.has-dropdown.hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 0.6rem 1rem;
    border-radius: 0;
    font-size: 0.8rem;
    width: 100%;
    display: block;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dropdown-menu li a.active {
    background: var(--primary-color);
    color: white;
}

/* ドロップダウンメニュー内でのホバー維持 */
.nav-menu li.has-dropdown:hover,
.nav-menu li.has-dropdown .dropdown-menu:hover {
    /* ホバー状態を維持 */
}

/* ページヘッダー */
.page-header {
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.page-header h1 i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ヒーローセクション */
.hero {
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--bg-light), white);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.hero h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 特徴グリッド */
.features {
    padding: 1.5rem 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -2px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ボタン */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-download {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-download:hover {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.btn-download i {
    margin-right: 0.5rem;
}

/* 参考資料セクション */
.references {
    padding: 2rem 0;
    background: var(--bg-light);
    border-radius: 12px;
    margin: 2rem 0;
}

.references h2,
.references h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.references h2 i,
.references h3 i {
    color: var(--primary-color);
}

.reference-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 2rem;
}

.reference-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--card-shadow);
}

.reference-item h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.reference-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.reference-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.reference-box h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.reference-box h4:first-child {
    margin-top: 0;
}

.reference-box ul {
    list-style: none;
    padding-left: 0;
}

.reference-box ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.reference-box ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.reference-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.reference-box a:hover {
    color: var(--secondary-color);
}

/* 最新情報セクション */
.latest-info {
    padding: 2rem 0;
}

.latest-info h2 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.latest-info h2 i {
    color: var(--primary-color);
}

.info-cards, .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -2px rgba(0, 0, 0, 0.15);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-card h5 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--secondary-color);
}

.info-card strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.info-card ul, .info-card ol {
    margin-left: 1.5rem;
}

.info-card li {
    margin: 0.75rem 0;
}

/* コンテンツセクション */
.content-section {
    margin: 2rem 0;
}

section {
    margin: 2rem 0;
}

section h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

section h3 i {
    color: var(--primary-color);
    font-size: 1.3rem;
}

section h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

section h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

section h4 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

section h5 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-top: 1.25rem;
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-color);
}

.subsection {
    margin: 2rem 0;
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.toc-section h3 {
    border: none;
    padding-bottom: 0;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* テーブル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    box-shadow: var(--card-shadow);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

thead {
    background: var(--primary-color);
    color: white;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
}

tbody tr:hover {
    background: var(--bg-light);
}

table strong {
    color: var(--secondary-color);
}

/* リスト */
ul, ol {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

li {
    margin: 0.5rem 0;
}

.skill-list {
    list-style: none;
    padding-left: 0;
}

.skill-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.skill-list li::before {
    position: absolute;
    left: 0;
}

/* 引用 */
blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg-light);
    border-radius: 0 8px 8px 0;
}

/* アラート */
.alert {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.alert h4, .alert h5 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.alert p {
    margin-bottom: 1rem;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert ul, .alert ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.alert ul:last-child, .alert ol:last-child {
    margin-bottom: 0;
}

.alert table {
    margin-top: 1rem;
    box-shadow: none;
}

.alert-info {
    background: #dbeafe;
    border-left: 4px solid var(--primary-color);
    color: #1e40af;
}

.alert-warning {
    background: #fef3c7;
    border-left: 4px solid var(--warning-color);
    color: #92400e;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid var(--success-color);
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    border-left: 4px solid var(--danger-color);
    color: #991b1b;
}

/* トラブルシューティング特有のスタイル */
.feature-grid .feature-card ul {
    text-align: left;
    margin-left: 1.5rem;
}

.feature-grid .feature-card h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 参考資料リストの改善 */
.reference-list h3 {
    grid-column: 1 / -1;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.reference-list h3:first-child {
    margin-top: 0;
}

.reference-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: 0.75rem;
    transition: all 0.3s ease;
}

.reference-item a:hover {
    color: var(--secondary-color);
    gap: 0.75rem;
}

/* セクション間のスペーシング改善 */
.content-section + .content-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* サブセクションのスペーシング */
.subsection-title + .info-card {
    margin-top: 1rem;
}

.info-card + .subsection-title {
    margin-top: 3rem;
}

/* トップへ戻るボタン */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

#backToTopBtn {
    display: none;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
}

#backToTopBtn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

#backToTopBtn.show {
    display: block;
}

/* ヘッダー・フッター */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

header p,
header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

nav {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    overflow: visible;
}

.main-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 0;
    max-height: none;
    overflow: visible;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 8px;
    margin: 0.75rem auto;
}

footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

footer p {
    margin: 0.5rem 0;
}

.site-footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.site-footer p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
}

.update-info {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .site-header h1,
    .header-banner h1,
    header h1 {
        font-size: 1.8rem;
    }
    
    .site-header p,
    .site-header .tagline,
    header p {
        font-size: 1rem;
    }

    .menu-toggle,
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: calc(100% - 1.5rem);
    }

    .nav-menu,
    .main-menu {
        flex-direction: column;
        align-items: stretch;
        max-height: none !important;
        padding: 0.5rem 0;
    }

    .nav-menu.collapsed,
    .main-menu.collapsed {
        display: none !important;
        max-height: 0;
        padding: 0;
    }

    .nav-menu li,
    .main-menu li {
        width: 100%;
    }

    .nav-menu li a,
    .main-menu li a {
        justify-content: flex-start;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    /* モバイルでのドロップダウン */
    .nav-menu .dropdown-menu,
    .main-menu .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-light);
        margin: 0;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    
    .nav-menu li.has-dropdown.open .dropdown-menu,
    .main-menu li.has-dropdown.open .dropdown-menu {
        display: block;
    }
    
    .nav-menu li.has-dropdown:hover .dropdown-menu,
    .main-menu li.has-dropdown:hover .dropdown-menu {
        display: none; /* モバイルではhoverを無効化 */
    }
    
    .dropdown-menu li a {
        padding-left: 2.5rem;
        font-size: 0.9rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .feature-grid,
    .reference-list,
    .info-cards {
        grid-template-columns: 1fr;
    }

    .section-title,
    section h3 {
        font-size: 1.5rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
    }

    #backToTopBtn {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.2rem;
    }

    /* テーブルのレスポンシブ対応 */
    table {
        font-size: 0.9rem;
    }

    th, td {
        padding: 0.75rem;
    }

    /* アラートボックスのレスポンシブ */
    .alert {
        padding: 1rem;
    }

    /* 情報カードのレスポンシブ */
    .info-card {
        padding: 1.5rem;
    }
}

/* 関連ページセクション */
.references {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.references h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.references h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.related-pages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.related-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.related-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.related-link:hover::before {
    width: 100%;
    opacity: 0.1;
}

.related-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.related-link i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.related-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

/* ========================================
   コンテンツ見やすさの改善
   ======================================== */

/* 見出しの改善 */
.main-content h1,
.content-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--primary-color);
}

.main-content h2,
.section-title,
article h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--primary-color);
    line-height: 1.4;
}

.main-content h3,
.subsection-title,
article h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.main-content h4,
article h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

/* 段落とリストの改善 */
.main-content p,
article p {
    margin-bottom: 1.5em;
    line-height: 1.9;
    color: var(--text-dark);
}

.main-content ul,
.main-content ol,
article ul,
article ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.main-content li,
article li {
    margin-bottom: 0.75em;
    line-height: 1.8;
}

.main-content ul li::marker {
    color: var(--primary-color);
}

/* 強調テキスト */
.main-content strong,
article strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* コード・引用の改善 */
.main-content code,
article code {
    background-color: #f1f5f9;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: #e11d48;
    font-family: 'Courier New', monospace;
}

.main-content pre,
article pre {
    background-color: #1e293b;
    color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.main-content blockquote,
article blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

/* カード・ボックスの改善 */
.info-card,
.feature-card,
.term-card {
    background: white;
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.info-card:hover,
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* アラートボックスの改善 */
.alert {
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    line-height: 1.7;
}

.alert-info {
    background-color: #dbeafe;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.alert-warning {
    background-color: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

.alert-success {
    background-color: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.alert-danger {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

/* テーブルの改善 */
.main-content table,
article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.main-content th,
article th {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.main-content td,
article td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    line-height: 1.7;
}

.main-content tr:last-child td,
article tr:last-child td {
    border-bottom: none;
}

.main-content tr:hover,
article tr:hover {
    background-color: #f8fafc;
}

/* 画像の改善 */
.main-content img,
article img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* セクション間の余白 */
.main-content section,
article section {
    margin-bottom: 3rem;
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.content-section:last-child {
    border-bottom: none;
}

/* 印刷用スタイル */
@media print {
    /* 不要な要素を非表示 */
    .main-nav,
    nav,
    .back-to-top,
    .site-footer,
    footer,
    .mobile-menu-toggle,
    .menu-toggle,
    button,
    .no-print {
        display: none !important;
    }

    /* 基本設定 */
    body {
        font-size: 11pt;
        line-height: 1.5;
        color: #000;
        background: white;
    }

    /* ヘッダー */
    .header-banner,
    header,
    .site-header {
        background: none !important;
        color: black !important;
        border-bottom: 2px solid black;
        padding: 1rem 0;
    }

    /* メインコンテンツ */
    main {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    /* ページ区切り制御 */
    h1, h2, h3 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    /* リンク */
    a {
        color: #000;
        text-decoration: none;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* 背景色を白に統一 */
    * {
        background: white !important;
        color: black !important;
    }

    /* テーブル */
    table {
        border: 1px solid #000;
        page-break-inside: avoid;
    }

    table th {
        background: #e0e0e0 !important;
        color: #000 !important;
        border: 1px solid #000;
    }

    table td {
        border: 1px solid #000;
    }

    /* 画像 */
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }

    /* ページ番号 */
    @page {
        margin: 2cm;
        @bottom-center {
            content: "ページ " counter(page);
        }
    }

    /* セクション区切り */
    section {
        page-break-inside: avoid;
    }
}

/* ========================================
   daily-work.html 専用スタイル
   ======================================== */

/* 目次グリッド */
.toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 500;
}

.toc-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.toc-item i {
    font-size: 1.5rem;
}

/* タイムラインコンテナ */
.timeline-container {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 75px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
}

.timeline-item:last-child::before {
    display: none;
}

.time-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    height: fit-content;
}

.time-badge i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-time {
    font-weight: 600;
    color: #2563eb;
    font-size: 1.1rem;
    text-align: right;
    padding-right: 1rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
}

.timeline-content h3,
.timeline-content h5 {
    color: #1e40af;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.timeline-content ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.7rem;
}

.timeline-content ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.timeline-content ul ul li::before {
    content: '◆';
    font-size: 0.6rem;
}

/* 週間スケジュール */
.week-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.day-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.day-header {
    padding: 1rem;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.day-header i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.day-header h5 {
    display: inline;
    font-size: 1.2rem;
    margin: 0;
}

.day-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #1e40af;
}

.day-card h4 {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.day-card ul {
    list-style: none;
    padding-left: 0;
}

.day-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
}

.day-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.day-card ul ul {
    margin-top: 0.25rem;
    margin-left: 0.75rem;
}

/* 勤務形態グリッド */
.workstyle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.workstyle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workstyle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.workstyle-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.workstyle-header i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.workstyle-header h3 {
    font-size: 1.5rem;
    margin: 0;
}

.workstyle-content {
    padding: 1.5rem;
}

.workstyle-content h4 {
    color: #1e40af;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workstyle-content h4:first-child {
    margin-top: 0;
}

.workstyle-content p {
    color: #4b5563;
    margin-bottom: 1rem;
}

.workstyle-content ul {
    list-style: none;
    padding-left: 0;
}

.workstyle-content ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: #374151;
}

.workstyle-content ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.7rem;
}

/* 月間業務 */
.monthly-tasks {
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.task-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.task-card:hover {
    transform: translateY(-5px);
}

.task-header {
    padding: 1rem;
    color: white;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.task-header i {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.task-header h5 {
    display: inline;
    font-size: 1.3rem;
    margin: 0;
}

.task-card ul {
    list-style: none;
    padding-left: 0;
}

.task-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.task-card ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.week-section {
    margin-bottom: 2rem;
}

.week-section h3 {
    color: #1e40af;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3b82f6;
}

.task-list {
    display: grid;
    gap: 1rem;
}

.task-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3b82f6;
}

.task-item h4 {
    color: #2563eb;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.task-item ul {
    list-style: none;
    padding-left: 0;
}

.task-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.task-item ul li::before {
    content: '◉';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.8rem;
}

.task-item ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.task-item ul ul li::before {
    content: '◦';
}

/* 年間タイムライン */
.yearly-timeline {
    margin: 2rem 0;
}

.year-period {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.year-period h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #3b82f6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.year-period h3 i {
    color: #3b82f6;
}

.period-content h4 {
    color: #2563eb;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.period-content ul {
    list-style: none;
    padding-left: 0;
}

.period-content ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.period-content ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-size: 0.8rem;
}

.period-content ul ul {
    margin-top: 0.5rem;
    margin-left: 1rem;
}

.period-content ul ul li::before {
    content: '◆';
    font-size: 0.6rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 6px;
}

.highlight-box p {
    margin: 0;
    color: #92400e;
}

/* work-pattern-section */
.work-pattern-section {
    margin: 2rem 0;
}

/* note */
.note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ========================================
   planner.html 専用スタイル
   ======================================== */

/* 組織構造図 */
.organization-structure {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.org-level {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0.5rem 0;
}

.org-box {
    padding: 1.5rem;
    border-radius: 12px;
    color: white;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.org-box:hover {
    transform: scale(1.05);
}

.org-box i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.org-box h5 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.org-box p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.org-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

.org-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 800px;
}

/* 役割カテゴリ */
.role-category {
    margin: 3rem 0;
}

.task-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.task-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-icon i {
    font-size: 1.5rem;
    color: white;
}

.task-content h5 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

/* スキルグリッド */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.skill-category {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill-header {
    padding: 1.5rem;
    color: white;
    text-align: center;
}

.skill-header i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.skill-header h4 {
    font-size: 1.3rem;
    margin: 0;
}

/* 関係性グリッド */
.relationship-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.relationship-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.relationship-card:hover {
    transform: translateY(-5px);
}

.relationship-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.relationship-icon i {
    font-size: 1.8rem;
    color: white;
}

.relationship-card h4 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.relationship-card ul {
    list-style: none;
    padding-left: 0;
}

.relationship-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.relationship-card ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* キャリアパス */
.career-path {
    margin: 2rem 0;
}

.career-stage {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.career-stage:hover {
    transform: translateY(-5px);
}

.career-stage.highlight {
    border: 3px solid var(--primary-color);
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.stage-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.stage-content {
    flex: 1;
}

.stage-content h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.stage-details p {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.stage-details ul {
    list-style: none;
    padding-left: 0;
}

.stage-details ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.stage-details ul li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.career-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: bold;
}

/* 課題リスト */
.challenge-list {
    margin: 2rem 0;
}

.challenge-item {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.challenge-header {
    padding: 1.5rem;
    background: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.challenge-header i {
    font-size: 1.8rem;
}

.challenge-header h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.challenge-content {
    padding: 2rem;
}

.challenge-content p {
    margin-bottom: 1rem;
}

.challenge-content ul {
    list-style: none;
    padding-left: 0;
}

.challenge-content ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.challenge-content ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--danger-color);
}

.challenge-content ul li i.fas {
    margin-right: 0.5rem;
    color: var(--success-color);
}

/* ケーススタディ */
.case-study {
    margin: 3rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-header {
    padding: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.case-header i {
    font-size: 2rem;
}

.case-header h4 {
    margin: 0;
    font-size: 1.3rem;
}

.case-content {
    padding: 2rem;
}

.case-content h5 {
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-content h5:first-child {
    margin-top: 0;
}

.case-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.case-content ul {
    margin-bottom: 1rem;
}

/* レスポンシブ対応 - planner.html */
@media (max-width: 768px) {
    .timeline-item {
        grid-template-columns: 100px 1fr;
        gap: 1rem;
    }

    .timeline-item::before {
        left: 50px;
    }

    .timeline-time {
        font-size: 0.9rem;
    }

    .week-schedule,
    .workstyle-grid,
    .toc-grid,
    .skills-grid,
    .relationship-grid,
    .monthly-tasks {
        grid-template-columns: 1fr;
    }

    .org-boxes-grid {
        grid-template-columns: 1fr;
    }

    .career-stage {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stage-details ul {
        text-align: left;
    }
}
