@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ - 最適化版
    Version: 2.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ==============================================
   用語集システム統合CSS - 最適化版
   ============================================== */

/* ==============================================
   1. 共通レイアウト（2カラム）
   ============================================== */

/* 用語詳細ページ、用語集TOPページ、頭文字別アーカイブページ */
.single-glossary-posts .l-content .l-container,
#body_wrap.page-template-page-glossary .l-content > .l-container,
#body_wrap.tax-glossary-tag .l-content > .l-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.single-glossary-posts .l-content .l-main,
#body_wrap.page-template-page-glossary .l-main,
#body_wrap.tax-glossary-tag .l-main {
    flex: 1;
    max-width: 800px;
}

.single-glossary-posts .l-content .l-sidebar,
#body_wrap.page-template-page-glossary .l-sidebar,
#body_wrap.tax-glossary-tag .l-sidebar {
    flex: 0 0 300px;
    width: 300px;
}

/* 用語集TOPページ専用設定 */
#body_wrap.page-template-page-glossary .l-content > .l-container {
    display: flex !important;
}

#body_wrap.page-template-page-glossary #content {
    max-width: 1200px !important;
    margin: 1em auto;
    padding: 0 20px;
}

/* 頭文字別アーカイブページ専用設定 */
#body_wrap.tax-glossary-tag .l-content > .l-container {
    display: flex !important;
}

#body_wrap.tax-glossary-tag .l-main {
    flex: 1 1 auto;
    float: none;
    min-width: 0;
}

#body_wrap.tax-glossary-tag .l-sidebar {
    float: none;
}

/* ==============================================
   2. 共通コンテンツスタイル
   ============================================== */

/* タイトル系 */
.glossary-title,
.archive-title {
    color: #2E86AB;
    border-bottom: 3px solid #2E86AB;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

.archive-title {
    margin-bottom: 30px;
}

/* 戻るリンク */
.back-link {
    display: inline-block;
    color: #2E86AB;
    text-decoration: none;
    margin-bottom: 20px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #F18F01;
    text-decoration: none;
}

/* 用語詳細ページ専用 */
.glossary-detail {
    line-height: 1.8;
}

.glossary-reading {
    background: #f8f9fa;
    padding: 12px 18px;
    border-left: 4px solid #2E86AB;
    margin-bottom: 25px;
    font-size: 16px;
    border-radius: 4px;
}

.glossary-reading strong {
    color: #2E86AB;
    margin-right: 8px;
}

.glossary-content {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

.glossary-content p {
    margin-bottom: 1em;
}

.glossary-archive {
    margin-bottom: 40px;
}

/* ==============================================
   3. よくチェックされているキーワード
   ============================================== */

.popular-keywords-section {
    background: #fafbfc;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-left: 3px solid #2E86AB;
}

.popular-keywords-section h2 {
    color: #495057;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    padding: 0;
}

.popular-keywords-section .keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.popular-keywords-section .keyword-tag {
    width: 120px;
    height: auto;
    min-height: 36px;
    padding: 8px 12px;
    background: #ffffff;
    color: #495057;
    border: 1px solid #dee2e6;
    border-radius: 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.popular-keywords-section .keyword-tag:hover {
    background: #f8f9fa;
    color: #2E86AB;
    border-color: #2E86AB;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(46, 134, 171, 0.1);
}

.popular-keywords-section .keyword-tag:nth-child(n+6) {
    display: none;
}

/* ==============================================
   4. 用語集セクション
   ============================================== */

.glossary-section {
    margin-bottom: 40px;
}

.glossary-section h3 {
    color: #2E86AB;
    border-bottom: 2px solid #2E86AB;
    padding-bottom: 8px;
    margin-bottom: 20px;
    font-size: 20px;
}

.glossary-section p strong {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.glossary-section h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.glossary-section h3 a:hover {
    color: #2E86AB; /* サイトのアクセントカラーに合わせて調整 */
    text-decoration: underline;
}

/* ==============================================
   5. 共通テーブルスタイル
   ============================================== */

.glossary-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.glossary-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    table-layout: fixed;
}

.glossary-table th {
    background: #2E86AB;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.glossary-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 14px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.glossary-table tr:hover {
    background: #f8f9fa;
}

/* 列幅設定 */
.glossary-table .col-no {
    width: 60px;
    text-align: center;
}

.glossary-table .col-category {
    width: 80px;
    text-align: center;
}

.glossary-table .col-term {
    width: 110px;
}

.glossary-table .col-brief {
    width: auto;
    min-width: 200px;
}

/* 用語名リンク */
.term-link {
    font-weight: 600;
    color: #2E86AB;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.3;
}

.term-link:hover {
    color: #F18F01;
    text-decoration: underline;
}

/* ==============================================
   6. 関連記事・キーワード（用語詳細ページ用）
   ============================================== */

.single-glossary-posts .related-articles,
.single-glossary-posts .related-keywords {
    margin-top: 40px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.single-glossary-posts .related-articles:first-of-type {
    border-top: none;
    padding-top: 0;
}

.single-glossary-posts .related-articles h3,
.single-glossary-posts .related-keywords h3 {
    color: #2E86AB;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 2px solid #2E86AB;
    padding-bottom: 8px;
}

/* 関連記事グリッド */
.single-glossary-posts .related-posts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.single-glossary-posts .related-post-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.single-glossary-posts .related-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.single-glossary-posts .related-post-item h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-glossary-posts .related-post-item h4 a {
    color: #2E86AB;
    text-decoration: none;
    font-weight: 600;
}

.single-glossary-posts .related-post-item h4 a:hover {
    color: #F18F01;
    text-decoration: underline;
}

.single-glossary-posts .post-date {
    color: #666;
    font-size: 14px;
    margin: 0 0 8px 0;
}

.single-glossary-posts .post-excerpt {
    color: #555;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* キーワードタグ */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.keyword-tag {
    background: #2E86AB;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.keyword-tag:hover {
    background: #F18F01;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

/* ==============================================
   7. 共通コンポーネント - ページネーション統合版
   ============================================== */

/* メッセージ表示 */
.no-posts-message {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.no-terms-message {
    text-align: center;
    padding: 12px;
    margin: 15px 0;
    border-radius: 4px;
    border-left: 3px solid #e9ecef;
}

.no-terms-message p {
    color: #aaa;
    font-size: 13px;
    font-weight: normal;
    opacity: 0.7;
    font-style: italic;
    margin: 0;
    text-align: center;
}

.no-posts-message p {
    margin-bottom: 15px;
    color: #666;
}

.back-to-glossary {
    color: #2E86AB;
    text-decoration: none;
    font-weight: 600;
}

.back-to-glossary:hover {
    color: #F18F01;
    text-decoration: underline;
}

/* ページネーション - モダンフラットデザイン */
.pagination-wrapper {
    margin: 40px 0;
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.pagination-nav {
    display: inline-block;
}

/* ページネーション要素の親コンテナ */
.pagination-nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

/* 個別のページネーション要素 */
.pagination-nav a.page-numbers,
.pagination-nav span.page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 12px !important;
    background: #ffffff !important;
    color: #495057 !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    position: relative;
}

/* ホバー効果 */
.pagination-nav a.page-numbers:hover {
    background: #f8f9fa !important;
    color: #2E86AB !important;
    border-color: #2E86AB !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(46, 134, 171, 0.15) !important;
}

.pagination-nav a.page-numbers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pagination-nav a.page-numbers:hover::before {
    opacity: 1;
}

/* アクティブページ（現在のページ） */
.pagination-nav span.page-numbers.current {
    background: #2E86AB !important;
    color: #ffffff !important;
    border-color: #2E86AB !important;
    font-weight: 600 !important;
    box-shadow: 0 3px 6px rgba(46, 134, 171, 0.25) !important;
    cursor: default !important;
}

.pagination-nav .current::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

/* 前後ナビボタンの改善 */
.pagination-nav a.page-numbers.prev,
.pagination-nav a.page-numbers.next {
    padding: 0 16px !important;
    font-weight: 500 !important;
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
}

.pagination-nav a.page-numbers.prev:hover,
.pagination-nav a.page-numbers.next:hover {
    background: #2E86AB !important;
    color: #ffffff !important;
    border-color: #2E86AB !important;
}

/* 省略記号 */
.pagination-nav span.page-numbers.dots {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #6c757d !important;
    cursor: default !important;
    font-weight: 600 !important;
    pointer-events: none !important;
}

.pagination-nav span.page-numbers.dots:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

/* フォーカス状態（アクセシビリティ対応 - より洗練されたデザイン） */
.pagination-nav a.page-numbers:focus {
    outline: none !important;
    background: #f8f9fa !important;
    color: #2E86AB !important;
    border-color: #2E86AB !important;
    box-shadow: 0 0 0 3px rgba(46, 134, 171, 0.3) !important;
}

/* アクティブ状態 */
.pagination-nav a.page-numbers:active {
    transform: translateY(0) !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* ==============================================
   8. サイドバー統合CSS
   ============================================== */

.sidebar-widget {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.widget-title {
    color: #2E86AB;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2E86AB;
    position: relative;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #F18F01;
}

/* 資金調達コラムメニュー */
.funding-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.funding-menu a {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
    border-left: 3px solid transparent;
    position: relative;
}

.funding-menu a:hover {
    background: #e9ecef;
    transform: translateX(3px);
    border-left-color: #2E86AB;
}

.funding-menu small {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    margin-top: 2px;
}

.funding-menu a.current {
    background: #2E86AB;
    color: white;
    font-weight: bold;
    border-left-color: #F18F01;
}

/* 関連お役立ちコラム */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.tag-grid p.tag {
    background: #e9ecef;
    color: #495057;
    padding: 8px 10px;
    border-radius: 15px;
    font-size: 11px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1.2;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    word-break: break-all;
    margin: 0;
}

.tag-grid p.tag a {
    background: inherit;
    color: inherit;
    text-decoration: none;
    padding: 0;
    border-radius: 0;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.tag-grid p.tag:hover {
    background: #F18F01;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.tag-grid p.tag:hover a {
    color: white;
}

/* 資金調達コラムリンク */
.category-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.category-links a {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    line-height: 1.3;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-links a:hover {
    background: #F18F01;
    color: white;
    text-decoration: none;
    border-color: #F18F01;
}

.category-links .sub {
    font-size: 12px;
    opacity: 0.8;
    display: block;
    margin-top: 2px;
}

/* 用語集ナビゲーション */
.glossary-nav {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #2E86AB;
}

.glossary-nav h3 {
    color: #2E86AB;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.glossary-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.glossary-nav-list .nav-item {
    padding: 10px 12px;
    background: white;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.glossary-nav-list .nav-item:hover {
    background: #2E86AB;
    color: white;
    text-decoration: none;
    border-color: #2E86AB;
}

.glossary-nav-list .nav-item.current {
    background: #2E86AB;
    color: white;
    border-color: #2E86AB;
    font-weight: 600;
}

/* ==============================================
   9. タグ表示統一CSS
   ============================================== */

.c-tagList,
.post-tags.it-tag.c-tagList {
    margin: 8px 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    list-style: none;
}

.post-tags.it-tag.c-tagList::before {
    display: none;
}

.c-tagList__item {
    background: #2E86AB;
    color: white;
    border: 1px solid #2E86AB;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.3;
}

.c-tagList__item:hover {
    background: #F18F01;
    border-color: #F18F01;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* ==============================================
   10. WordPressメニュー統合サブメニュー
   ============================================== */

.financing-nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
}

.financing-nav-menu li {
    position: relative;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.financing-nav-menu a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.financing-nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    padding: 0;
    min-width: 270px;
    list-style: none;
    margin: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block;
}

.financing-nav-menu .sub-menu li {
    margin: 0;
}

.financing-nav-menu .sub-menu li + li {
    border-top: 1px solid #f5f5f5;
}

.financing-nav-menu .sub-menu a {
    display: block !important;
	width: 100%;
    padding:  18px 16px 0 16px; /* 縮小 */;
    color: #333;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
    line-height: 1.0;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    width: 260px;
    box-sizing: border-box;
    margin: 0;
    font-weight: 400;
}

.financing-nav-menu .sub-menu a:hover {
    color: #2E86AB;
}

.financing-nav-menu .sub-menu a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    max-width: calc(100% - 32px);
    height: 2px;
    background: #F18F01;
    transform: translateY(-0.8em); /* フォントサイズに相対的な単位 */
	transform-origin: left;
    transition: width 0.3s ease;
}

.financing-nav-menu .sub-menu a:hover::after {
    width: calc(100% - 32px);
}

.financing-nav-menu > li.current-menu-item > a::after,
.financing-nav-menu > li.current-menu-parent > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    height: 3px;
    background: #F18F01;
    border-radius: 2px;
}

.financing-nav-menu > li > a:hover {
    background: rgba(46, 134, 171, 0.1);
    color: #2E86AB;
}

.financing-nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mainmenu-box li a {
    min-height: 0;
}

/* 親メニューサブメニュー調整 */
.financing-nav-menu > li.current-menu-item .sub-menu a::after {
    display: block;
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    max-width: calc(100% - 32px);
    height: 2px;
    background: #F18F01;
    transform-origin: left;
    transition: width 0.3s ease;
}

.financing-nav-menu > li.current-menu-item .sub-menu a:hover::after {
    width: calc(100% - 32px);
}

/* ==============================================
   11. 関連コラムセクション（頭文字別用）
   ============================================== */

.related-columns-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.related-columns-section h2 {
    color: #2E86AB;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2E86AB;
}

.manual-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.manual-column-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.manual-column-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.column-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column-link:hover {
    text-decoration: none;
    color: inherit;
}

.column-thumbnail {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.column-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-content {
    padding: 15px;
}

.column-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #2E86AB;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.column-date {
    color: #999;
}

.column-category {
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
}

.no-columns-message {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    color: #666;
    font-style: italic;
    border: 1px solid #e9ecef;
}

/* ==============================================
   12. 頭文字ナビゲーション
   ============================================== */

.letter-navigation-section {
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.letter-navigation-section h2 {
    color: #2E86AB;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2E86AB;
}

.letter-nav-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.letter-nav-grid a {
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
}

.letter-nav-link {
    padding: 12px 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.letter-nav-link:hover {
    background: #2E86AB;
    color: white;
    text-decoration: none;
    border-color: #2E86AB;
}

.letter-nav-link.current {
    background: #2E86AB;
    color: white;
    border-color: #2E86AB;
    font-weight: 600;
}

/* ==============================================
   13. 記事本文の可読性向上（スマートフォン専用）
   ============================================== */

@media (max-width: 959px) {
    /* 一般記事本文の改善 */
    .entry-content {
        font-size: 16px;
        line-height: 1.8;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .entry-content p {
        margin-bottom: 1.2em;
    }
    
    /* 用語集TOPページの基本コンテンツ */
    .page-template-page-glossary .page-content {
        font-size: 16px;
        line-height: 1.8;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .page-template-page-glossary .page-content p {
        margin-bottom: 1.2em;
    }
    
    /* テーブル内概要テキストの改善 */
    .glossary-table .col-brief {
        font-size: 13px;
        line-height: 1.6;
        padding: 12px 8px;
    }
}

/* ==============================================
   14. レスポンシブ対応（統合版）
   ============================================== */

/* 画面幅対応改善 */
@media (max-width: 1200px) {
    .single-glossary-posts .l-content .l-container,
    #body_wrap.page-template-page-glossary .l-content > .l-container,
    #body_wrap.tax-glossary-tag .l-content > .l-container {
        gap: 30px;
    }
    
    .single-glossary-posts .l-content .l-sidebar,
    #body_wrap.page-template-page-glossary .l-sidebar,
    #body_wrap.tax-glossary-tag .l-sidebar {
        flex: 0 0 250px;
        width: 250px;
    }
}

@media (max-width: 1024px) {
    .single-glossary-posts .l-content .l-container,
    #body_wrap.page-template-page-glossary .l-content > .l-container,
    #body_wrap.tax-glossary-tag .l-content > .l-container {
        gap: 20px;
    }
    
    .single-glossary-posts .l-content .l-sidebar,
    #body_wrap.page-template-page-glossary .l-sidebar,
    #body_wrap.tax-glossary-tag .l-sidebar {
        flex: 0 0 200px;
        width: 200px;
    }
    
    /* テーブル列幅の調整 */
    .page-template-page-glossary .all-terms-section .glossary-table .col-no {
        width: 40px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-category {
        width: 60px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-term {
        width: 100px;
    }
}

@media (max-width: 900px) {
    #body_wrap.page-template-page-glossary #content,
    #body_wrap.tax-glossary-tag #content {
        padding: 0 15px;
    }
    
    /* さらなる列幅調整 */
    .page-template-page-glossary .all-terms-section .glossary-table .col-no {
        width: 35px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-category {
        width: 50px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-term {
        width: 80px;
    }
    
    .letter-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* タブレット（769px〜1024px）- よくチェックされているキーワード専用 */
@media (min-width: 769px) and (max-width: 1024px) {
    .popular-keywords-section {
        padding: 14px 18px;
    }
    
    .popular-keywords-section h2 {
        font-size: 14px;
    }
    
    .popular-keywords-section .keyword-tags {
        gap: 6px;
    }
    
    .popular-keywords-section .keyword-tag {
        width: 105px;
        min-height: 34px;
        font-size: 13px;
        padding: 7px 10px;
        line-height: 1.25;
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }
    
    /* 関連お役立ちコラム - タブレット調整 */
    .sidebar-widget.related-materials .tag-grid p.tag {
        font-size: 12px;
        padding: 10px 14px;
        min-height: 42px;
    }
}

/* タブレット（768px以下） */
@media (max-width: 768px) {
    /* 2カラムレイアウトをスタック */
    .single-glossary-posts .l-content .l-container,
    #body_wrap.tax-glossary-tag .l-content > .l-container,
    #body_wrap.page-template-page-glossary .l-content > .l-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }
    
    .single-glossary-posts .l-content .l-sidebar,
    #body_wrap.tax-glossary-tag .l-sidebar,
    #body_wrap.page-template-page-glossary .l-sidebar {
        flex: none;
        width: 100%;
    }
    
    #body_wrap.tax-glossary-tag .l-sidebar {
        order: 2;
    }
    
    #body_wrap.tax-glossary-tag .l-main {
        width: 100%;
        order: 1;
        max-width: none;
    }
    
    /* タイトル調整 */
    .glossary-title,
    .archive-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* テーブル基本調整 */
    .glossary-table {
        font-size: 12px;
    }
    
    .glossary-table th,
    .glossary-table td {
        padding: 8px 4px;
    }
    
    /* 関連記事グリッド調整 */
    .single-glossary-posts .related-posts-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .single-glossary-posts .related-post-item {
        padding: 12px;
    }
    
    .single-glossary-posts .related-post-item h4 {
        font-size: 13px;
    }
    
    .single-glossary-posts .post-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    /* よくチェックされているキーワード調整 */
    .popular-keywords-section {
        margin-bottom: 20px;
        padding: 12px 15px;
        border-left-width: 2px;
    }
    
    .popular-keywords-section h2 {
        font-size: 13px;
        margin-bottom: 8px;
        color: #6c757d;
    }
    
    .popular-keywords-section .keyword-tags {
        gap: 5px;
    }
    
    .popular-keywords-section .keyword-tag {
        width: 95px;
        min-height: 32px;
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 14px;
        line-height: 1.2;
        text-size-adjust: 100%;
        -webkit-text-size-adjust: 100%;
    }
    
    .popular-keywords-section .keyword-tag:active {
        background: #e9ecef;
        transform: scale(0.98);
    }
    
    /* 用語集テーブル列幅調整 - ALL用語一覧 */
    .page-template-page-glossary .all-terms-section .glossary-table .col-no {
        width: 40px;
        min-width: 40px;
        text-align: center;
        padding: 13px 2px;
        font-size: 13px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-category {
        width: 60px;
        min-width: 60px;
        text-align: center;
        padding: 15px 2px;
        font-size: 13px;
        word-break: break-word;
        line-height: 1.2;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-term {
        width: 90px;
        min-width: 90px;
        padding: 15px 6px;
        font-size: 13px;
        line-height: 1.2;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-brief {
        width: auto;
        padding: 13px 4px;
        font-size: 14px;
        line-height: 1.3;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 用語集テーブル列幅調整 - 頭文字別セクション */
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-no {
        width: 50px;
        min-width: 50px;
        text-align: center;
        padding: 13px 2px;
        font-size: 13px;
    }
    
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-term {
        width: 100px;
        min-width: 100px;
        padding: 15px 6px;
        font-size: 13px;
        line-height: 1.3;
    }
    
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-brief {
        width: auto;
        padding: 13px 4px;
        font-size: 14px;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* 頭文字別アーカイブページ調整 */
    .tax-glossary-tag .glossary-table .col-no {
        width: 50px;
        min-width: 50px;
        text-align: center;
        padding: 13px 2px;
        font-size: 13px;
    }

    .tax-glossary-tag .glossary-table .col-term {
        width: 100px;
        min-width: 100px;
        padding: 15px 6px;
        font-size: 13px;
        line-height: 1.3;
    }
    
    .tax-glossary-tag .glossary-table .col-brief {
        width: auto;
        padding: 13px 4px;
        font-size: 14px;
        line-height: 1.4;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* テーブルヘッダー調整 */
    .glossary-table th {
		text-align: center;
        padding: 8px 2px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        word-break: break-word;
    }
	
	.glossary-table th.col-term {
		text-align: left;
	}
    
    /* 用語名リンク調整 */
    .term-link {
        font-weight: 600;
        color: #2E86AB;
        text-decoration: none;
        line-height: 1.2;
        word-break: break-word;
        display: block;
    }
    
    .term-link:hover {
        text-decoration: underline;
        color: #F18F01;
    }
    
    /* テーブルラッパー調整 */
    .glossary-table-wrapper {
        overflow-x: visible;
        margin-bottom: 20px;
    }
    
    /* サイドバー調整 */
    .sidebar-widget {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .widget-title {
        font-size: 15px;
    }
    
    .tag-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .tag-grid p.tag {
        font-size: 10px;
        padding: 6px 8px;
        min-height: 28px;
    }
    
    .funding-menu a,
    .glossary-nav-list .nav-item {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .funding-menu small {
        font-size: 10px;
    }
    
    /* タグ表示調整 */
    .c-tagList__item {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .c-tagList,
    .keyword-tags {
        gap: 4px;
    }
    
    /* 関連セクション調整 */
    .single-glossary-posts .related-articles,
    .single-glossary-posts .related-keywords {
        padding: 20px 15px;
    }
    
    .keyword-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    /* 「登録されていません」メッセージ調整 */
    .no-terms-message p {
        font-size: 12px;
    }
    
    .no-terms-message {
        padding: 10px;
        margin: 10px 0;
    }
    
    /* 関連コラム調整 */
    .manual-columns-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .column-content {
        padding: 12px;
    }
    
    .column-title {
        font-size: 13px;
    }
    
    .column-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    
    .letter-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .letter-nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    /* 関連お役立ちコラム モバイル表示改善 */
    .sidebar-widget.related-materials {
        padding: 18px;
    }
    
    .sidebar-widget.related-materials .widget-title {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .sidebar-widget.related-materials .tag-grid {
        gap: 10px;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag {
        font-size: 14px;
        padding: 8px 14px;
        min-height: 40px;
        line-height: 1.3;
        border-radius: 8px;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag a {
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
        font-weight: 500;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag:focus,
    .sidebar-widget.related-materials .tag-grid p.tag a:focus {
        outline: 2px solid #2E86AB;
        outline-offset: 2px;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag,
    .sidebar-widget.related-materials .tag-grid p.tag a {
        -webkit-tap-highlight-color: rgba(241, 143, 1, 0.2);
    }
	
		/* ページネーション調整 */
	.pagination-wrapper {
		margin: 30px 0;
	}

	.pagination-nav {
		gap: 6px !important;
	}

	.pagination-nav a.page-numbers,
	.pagination-nav span.page-numbers {
		min-width: 40px !important;
		height: 40px !important;
		padding: 0 10px !important;
		font-size: 13px !important;
		border-radius: 6px !important;
	}

	.pagination-nav a.page-numbers.prev,
	.pagination-nav a.page-numbers.next {
		padding: 0 12px !important;
		font-size: 12px !important;
	}
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
    /* 本文余白調整 */
    .entry-content,
    .page-template-page-glossary .page-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .glossary-table .col-brief {
        padding: 6px 6px;
    }
    
    /* 関連記事グリッド - 1カラム */
    .single-glossary-posts .related-posts-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .single-glossary-posts .related-post-item {
        padding: 12px;
    }
    
    .single-glossary-posts .related-post-item h4 {
        font-size: 14px;
        -webkit-line-clamp: none;
        display: block;
    }
    
    .single-glossary-posts .post-excerpt {
        font-size: 13px;
        -webkit-line-clamp: none;
        display: block;
    }
    
    /* さらに小さなスマホでのテーブル調整 - ALL用語一覧 */
    .page-template-page-glossary .all-terms-section .glossary-table .col-no {
        width: 25px;
        padding: 10px 2px;
        font-size: 12px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-category {
        width: 50px;
        padding: 12px 2px;
        font-size: 12px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-term {
        width: 50px;
        padding: 11px 2px;
        font-size: 14px;
    }
    
    .page-template-page-glossary .all-terms-section .glossary-table .col-brief {
        padding: 12px 3px;
        font-size: 14px;
    }
    
    /* さらに小さなスマホでのテーブル調整 - 頭文字別セクション */
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-no {
        width: 40px;
        padding: 10px 1px;
        font-size: 13px;
    }
    
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-term {
        width: 70px;
        padding: 12px 2px;
        font-size: 14px;
    }
    
    .page-template-page-glossary .glossary-section:not(.all-terms-section) .glossary-table .col-brief {
        padding: 12px 3px;
        font-size: 14px;
    }
    
    /* 頭文字別アーカイブページ - 480px調整 */
    .tax-glossary-tag .glossary-table .col-no {
        width: 40px;
        padding: 10px 1px;
        font-size: 13px;
    }
    
    .tax-glossary-tag .glossary-table .col-term {
        width: 70px;
        padding: 12px 2px;
        font-size: 14px;
    }
    
    .tax-glossary-tag .glossary-table .col-brief {
        padding: 12px 3px;
        font-size: 14px;
    }
    
    .tax-glossary-tag .glossary-table th,
    .tax-glossary-tag .glossary-table td {
        padding: 6px 3px;
        font-size: 11px;
    }
    
    .glossary-table th {
        padding: 6px 1px;
        font-size: 10px;
    }
    
    /* サイドバー - さらなる調整 */
    .sidebar-widget {
        padding: 12px;
    }
    
    .tag-grid p.tag {
        font-size: 9px;
        padding: 5px 6px;
        min-height: 24px;
    }
    
    .funding-menu a,
    .glossary-nav-list .nav-item {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    /* ページネーション調整 */
    .page-numbers {
        gap: 5px;
    }
    
    .page-numbers a,
    .page-numbers span {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    /* 関連コラム - 1カラム */
    .manual-columns-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .related-columns-section {
        margin: 30px 0;
        padding: 20px 0;
    }
    
    .related-columns-section h2,
    .letter-navigation-section h2 {
        font-size: 18px;
    }
    
    .column-thumbnail {
        height: 120px;
    }
    
    .column-title {
        font-size: 14px;
        -webkit-line-clamp: none;
        display: block;
    }
    
    .column-excerpt {
        font-size: 13px;
        -webkit-line-clamp: none;
        display: block;
    }
    
    .letter-nav-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .letter-nav-link {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .letter-navigation-section {
        margin: 30px 0;
        padding: 20px 0;
    }
    
    /* 関連お役立ちコラム - 超小型スマホ調整 */
    .sidebar-widget.related-materials {
        padding: 16px;
    }
    
    .sidebar-widget.related-materials .widget-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .sidebar-widget.related-materials .tag-grid p.tag {
        font-size: 13px;
        padding: 10px 16px;
        min-height: 42px;
    }
	
		/* ページネーション調整 */
	.pagination-wrapper {
		margin: 25px 0;
	}

	.pagination-nav {
		gap: 4px !important;
	}

	.pagination-nav a.page-numbers,
	.pagination-nav span.page-numbers {
		min-width: 36px !important;
		height: 36px !important;
		padding: 0 8px !important;
		font-size: 12px !important;
		border-radius: 6px !important;
	}

	.pagination-nav a.page-numbers.prev,
	.pagination-nav a.page-numbers.next {
		padding: 0 10px !important;
		font-size: 11px !important;
	}
}

/* iPhone SE対応（375px以下） */
@media (max-width: 375px) {
	.pagination-nav {
		gap: 4px !important;
	}

	.pagination-nav a.page-numbers,
	.pagination-nav span.page-numbers {
		min-width: 32px !important;
		height: 28px !important;
		font-size: 11px !important;
		padding: 0 4px !important;
	}

	.pagination-nav a.page-numbers.prev,
	.pagination-nav a.page-numbers.next {
		padding: 0 4px !important;
		font-size: 10px !important;
	}
}

/* 幅に応じたタググリッド調整 */
@media (min-width: 350px) {
    .tag-grid {
        grid-template-columns: repeat(3, 1fr);
    }