/* 再生アイコンの揺れるアニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ブランドカラー定義 */
:root {
    --brand-primary: #12d7db;
    --brand-secondary: #0fb8c0;
    --brand-accent: #ff6b6b;
    --brand-info: #4a90e2;
    --brand-warning: #ffc107;
    --brand-dark: #2c3e50;
    --brand-light: #f8f9fa;
}

/* リキッドグラス効果のベース */
.liquid-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 18px;
}

/* グラデーション背景 */
.gradient-bg {
    background: linear-gradient(135deg, 
        rgba(18, 215, 219, 0.1) 0%, 
        rgba(15, 184, 192, 0.1) 50%, 
        rgba(255, 107, 107, 0.1) 100%);
}

/* カスタムホームページのスタイル */
.custom-home-page {
    font-family: inherit;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
    font-size: 14px;
}

/* 企業ロゴアニメーション用キャプション */
.auto-marquee__list li {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auto-marquee__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.auto-marquee__caption {
    display: block;
    font-size: 12px;
    color: #333;
    margin-bottom: 6px;
    line-height: 1.2;
    white-space: nowrap;
    text-align: center;
}

/* インタビュー一覧 タグ */
.interview-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.interview-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 10px;
}

.interview-article-tag-item {
    margin: 0;
}

.interview-article-tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.7;
    color: #0d5e63 !important;
    background: #eaf9fa;
    border: 1px solid #b9e6e9;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.interview-article-tag:visited {
    color: #0d5e63 !important;
    background: #eaf9fa;
    border-color: #b9e6e9;
}

.interview-article-tag:hover {
    color: #09494d;
    background: #dcf4f6;
    border-color: #b9e6e9;
}

.interview-article-tag:active,
.interview-article-tag:focus {
    color: #073c3f !important;
    background: #d2eef1;
    border-color: #a9dde0;
    outline: none;
    box-shadow: 0 0 0 2px rgba(18, 215, 219, 0.15);
}

.custom-home-page * {
    box-sizing: border-box;
}

.custom-home-page a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.custom-home-page a:hover {
    color: #12d7db;
}

.custom-home-page ul, ol {
    list-style: none;
}

.custom-home-page button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.custom-home-page img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
}

/* メインコンテンツ */
.main-content {
    padding: 20px 0;
    min-height: calc(100vh - 200px);
    display: flex;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.main-area {
    flex: 1;
    max-width: 840px;
    width: 100%;
    order: 1;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
    order: 2;
}

/* サイドバー 特集ナビ（1列） */
.sidebar-feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.sidebar-feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #eef2f4;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 0%, #fcfdfd 100%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    color: #333;
}

.sidebar-feature-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-color: #d8eef0;
}

.sidebar-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
}

.sidebar-feature-label {
    font-size: 14px;
    font-weight: 600;
}

.sidebar-feature-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-feature-sub {
    font-size: 11px;
    color: #8795a1;
}

.sidebar-feature-count {
    margin-left: auto;
    font-size: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    border: none;
    border-radius: 999px;
    padding: 2px 8px;
    font-weight: 700;
}

/* ポップアップモーダル */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px 20px 60px 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 1000px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    margin: auto;
    display: flex;
    flex-direction: column;
}

/* 速度測定モーダル専用のサイズ調整 */
#speedTestModal .modal-content {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    overscroll-behavior: contain;
    position: relative;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.modal-close i {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

/* ボタンホバーエフェクト */
.diagnosis-button:hover .button-hover-effect,
.speed-test-button:hover .button-hover-effect {
    opacity: 1;
}

.diagnosis-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(18, 215, 219, 0.4);
}

.speed-test-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.4);
}

/* 診断フォームのオプションカードホバーエフェクト */
.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-color: var(--brand-primary) !important;
}

.option-card {
    transition: all 0.15s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .buttons-container {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    
    .modal-overlay {
        padding: 10px 10px 40px 10px;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 0;
        overflow-y: auto;
    }
    
    .diagnosis-button,
    .speed-test-button {
        padding: 24px 20px !important;
    }
    
    .diagnosis-button h3,
    .speed-test-button h3 {
        font-size: 20px !important;
    }
    
    .diagnosis-button p,
    .speed-test-button p {
        font-size: 14px !important;
    }
    
    .diagnosis-button .button-icon,
    .speed-test-button .button-icon {
        width: 60px !important;
        height: 60px !important;
    }
    
    .diagnosis-button .button-icon i,
    .speed-test-button .button-icon i {
        font-size: 24px !important;
    }
    
    /* セクションタイトルのタブレット表示対応 */
    .section-title-container h2 {
        font-size: 28px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .section-title-container h2 i {
        font-size: 24px !important;
    }
    
    .section-title-container p {
        font-size: 15px !important;
    }
    
    /* 診断フォームのタブレット表示対応 */
    .diagnosis-header {
        flex-direction: column !important;
        text-align: center !important;
        gap: 18px !important;
    }
    
    .diagnosis-icon {
        margin: 0 auto !important;
    }
    
    .diagnosis-title-area {
        text-align: center !important;
    }
    
    .diagnosis-title-area h2 {
        font-size: 26px !important;
    }
    
    .diagnosis-title-area p {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .diagnosis-speed-buttons-section {
        padding: 24px 20px !important;
    }
    
    .modal-overlay {
        padding: 5px 5px 40px 5px;
        align-items: flex-end;
    }
    
    .modal-content {
        max-width: 98vw;
        max-height: 95vh;
    }
    
    .diagnosis-button,
    .speed-test-button {
        padding: 20px 16px !important;
    }
    
    .diagnosis-button h3,
    .speed-test-button h3 {
        font-size: 18px !important;
    }
    
    .diagnosis-button p,
    .speed-test-button p {
        font-size: 13px !important;
    }
    
    /* セクションタイトルのスマホ表示対応 */
    .section-title-container h2 {
        font-size: 24px !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .section-title-container h2 i {
        font-size: 28px !important;
    }
    
    .section-title-container .title-text {
        white-space: normal !important;
    }
    
    .section-title-container .title-text::after {
        content: "\A";
        white-space: pre;
    }
    
    /* 診断結果のスマホ表示改善 */
    .diagnosis-result-simple {
        padding: 16px !important;
    }
    
    .diagnosis-result-simple h3 {
        font-size: 22px !important;
        margin-bottom: 8px !important;
    }
    
    .diagnosis-result-simple p {
        font-size: 14px !important;
        margin-bottom: 16px !important;
    }
    
    .diagnosis-result-simple .features {
        flex-direction: row !important;
        gap: 6px !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .diagnosis-result-simple .features span {
        font-size: 12px !important;
        padding: 4px 8px !important;
        width: fit-content !important;
    }
    
    /* 診断結果全体のスマホ表示改善 */
    .diagnosis-form > div {
        padding: 20px !important;
    }
    
    .diagnosis-form h3 {
        font-size: 20px !important;
        margin-bottom: 12px !important;
    }
    
    .diagnosis-form p {
        font-size: 14px !important;
        margin-bottom: 20px !important;
    }
    
    .diagnosis-form button {
        padding: 12px 20px !important;
        font-size: 14px !important;
    }
    
    /* 診断フォームのスマホ表示改善 */
    .form-options {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .option-card {
        padding: 12px !important;
    }
    
    .option-card h4 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    .option-card p {
        font-size: 11px !important;
        margin: 0 !important;
    }
    
    .option-icon {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 6px !important;
    }
    
    .option-icon i {
        font-size: 14px !important;
    }
    
    /* 設問のタイトルも小さく */
    .form-step h3 {
        font-size: 18px !important;
        margin-bottom: 16px !important;
    }
    
    /* プログレスバーも小さく */
    .progress-container {
        margin-bottom: 8px !important;
    }
    
    .progress-text {
        font-size: 12px !important;
        margin-top: 2px !important;
    }
    
    /* プログレスバー自体も小さく */
    .progress-bar {
        height: 6px !important;
    }
    
    .section-title-container p {
        font-size: 14px !important;
    }
    
    /* ポップアップ内のアイコンとタイトルの幅調整 */
    .diagnosis-header,
    .speed-test-header {
        flex-direction: row !important;
        text-align: left !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin-bottom: 16px !important;
        padding-top: 8px !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .diagnosis-icon,
    .speed-test-icon {
        margin: 0 !important;
        flex-shrink: 0 !important;
        padding: 8px !important;
    }
    
    .diagnosis-icon i,
    .speed-test-icon i {
        font-size: 20px !important;
    }
    
    .diagnosis-title-area,
    .speed-test-title-area {
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important;
    }
    
    .diagnosis-title-area h2,
    .speed-test-title-area h2 {
        font-size: 18px !important;
        margin-bottom: 4px !important;
    }
    
    .diagnosis-title-area p,
    .speed-test-title-area p {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
    
    /* 診断フォームのコンテナを広げる */
    .diagnosis-form {
        padding: 12px !important;
        margin-top: 0 !important;
        min-height: 50vh !important;
        max-height: 85vh !important;
    }
    
    /* プログレスバーを調整 */
    .progress-container {
        margin-bottom: 8px !important;
    }
    
    /* フォームステップの余白を調整 */
    .form-step h3 {
        font-size: 16px !important;
        margin-bottom: 8px !important;
    }
    
    .form-options {
        gap: 8px !important;
    }
    
    .option-card {
        padding: 10px !important;
    }
    
    .option-icon {
        width: 36px !important;
        height: 36px !important;
        margin-bottom: 6px !important;
    }
    
    .option-icon i {
        font-size: 14px !important;
    }
    
    .option-text h4 {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }
    
    .option-text p {
        font-size: 11px !important;
    }
    
}

/* 速度測定ツールセクション */
.speed-test-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 18px;
    padding: 0;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    position: relative;
}

.speed-test-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.speed-test-container {
    position: relative;
    z-index: 2;
    padding: 32px;
}

.speed-test-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

/* ヘルプボタンのスタイル - ガラス系デザイン */
.speed-help-btn {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.speed-help-btn:hover {
    background: rgba(18, 215, 219, 0.4);
    border-color: rgba(18, 215, 219, 0.6);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 215, 219, 0.4);
}

.speed-guide-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.speed-help-btn i {
    font-size: 14px;
}

.help-text {
    white-space: nowrap;
}

.speed-test-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.speed-test-title-area {
    flex: 1;
}

.speed-test-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.speed-test-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.speed-test-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.speed-test-info {
    margin-bottom: 20px;
}

.speed-test-description {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(102, 126, 234, 0.05);
    padding: 10px 14px;
    border-radius: 8px;
    color: #555;
    margin: 0;
    font-size: 13px;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

.speed-test-description i {
    color: #667eea;
    font-size: 16px;
    flex-shrink: 0;
}

.speed-test-widget {
    margin-bottom: 24px;
}

.speed-test-iframe-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.speed-test-alternatives {
    margin-top: 20px;
}

.alternatives-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

.speed-test-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.speed-test-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(18, 215, 219, 0.3);
}

.speed-test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18, 215, 219, 0.4);
    color: #fff !important;
}

.speed-test-guide {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.guide-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    text-align: center;
}

.speed-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.speed-guide-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.15s ease;
}

.speed-guide-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.guide-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.guide-text strong {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.guide-text span {
    font-size: 13px;
    color: #666;
}

/* メイン注目記事セクション */
.main-featured-section {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.main-featured-article {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.main-featured-article .article-image {
    position: relative;
    height: 350px;
    max-width: 100%;
    overflow: hidden;
}

.main-featured-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.85;
    transition: opacity 0.3s ease;
    max-width: 100%;
}

.main-featured-article:hover .article-image img {
    opacity: 0.95;
}

.article-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
    padding: 24px;
    z-index: 2;
}

.article-category {
    display: inline-block;
    background: #12d7db;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.article-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    color: #fff;
}

.article-excerpt {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 12px;
    color: #fff;
}

.article-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    opacity: 0.8;
    color: #fff;
}

/* サブ記事エリア */
.featured-sub {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sub-featured-article {
    display: flex;
    gap: 12px;
    background: #fff;
    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;
}

.sub-featured-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.sub-featured-article .article-image {
    width: 120px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
}

.sub-featured-article .article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.article-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sub-featured-article .article-category {
    background: #f0f0f0;
    color: #666;
    font-size: 10px;
    padding: 2px 8px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.sub-featured-article .article-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    color: #333;
}

.sub-featured-article .article-excerpt {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.sub-featured-article .article-meta {
    font-size: 10px;
    color: #999;
    opacity: 1;
}

/* インタビュー特集セクション */
.interview-section {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 32px;
    color: #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.interview-section .section-header {
    position: relative;
    z-index: 2;
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.interview-section .section-title {
    color: #333 !important;
}

.interview-section .section-title i {
    color: var(--brand-primary) !important;
}

.section-subtitle {
    font-size: 16px;
    color: #666;
}

.interview-content {
    position: relative;
    z-index: 2;
}


/* 読まれている記事セクション */
.popular-articles-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.popular-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.popular-article-card {
    background: #fff;
    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 #f0f0f0;
}

.popular-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.popular-article-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.popular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popular-article-content {
    padding: 12px;
}

.popular-article-category {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    margin-bottom: 6px;
}

.popular-article-title {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    color: #000 !important;
}

.popular-article-title a {
    color: #000 !important;
    text-decoration: none !important;
}

.popular-article-title a:hover {
    color: #12d7db !important;
}

.popular-article-content h3.popular-article-title {
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
}

.popular-article-content h3.popular-article-title a {
    color: #000 !important;
    text-decoration: none !important;
}

.popular-article-content h3.popular-article-title a:hover {
    color: #12d7db !important;
}

/* より具体的なセレクタでh3タグの既存スタイルを上書き */
.popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title {
    color: #000 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    border: none !important;
    background: none !important;
}

.popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a {
    color: #000 !important;
    text-decoration: none !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a:hover {
    color: #12d7db !important;
}

/* 最強のセレクタでh3タグの色を強制上書き */
.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title,
.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title *,
.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a,
.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a:visited,
.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a:link {
    color: #000000 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    border: none !important;
    background: none !important;
}

.custom-home-page .popular-articles-section .popular-article-card .popular-article-content h3.popular-article-title a:hover {
    color: #12d7db !important;
}

/* セクションタイトル共通のスタイル調整 */
.custom-home-page .section-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

.custom-home-page .section-title i {
    margin-right: 8px;
}

/* 読まれている記事セクション専用のアイコン色 */
.popular-articles-section .section-title i {
    color: var(--brand-primary) !important;
}

/* 最新記事セクション専用のアイコン色 */
.latest-articles-section .section-title i {
    color: var(--brand-primary) !important;
}

/* 調査レポートセクション専用のアイコン色 */
.research-section .section-title i {
    color: var(--brand-primary) !important;
}

.popular-article-excerpt {
    font-size: 11px;
    color: #5a6c7d !important;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-article-meta {
    font-size: 10px;
    color: #7f8c8d !important;
}

/* 企業ロゴアニメーション - 新しいauto-marquee */
.auto-marquee {
    --gap: 40px;
    --item-h: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(18, 215, 219, 0.08), rgba(102, 126, 234, 0.05));
    border: 1px solid rgba(18, 215, 219, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin: 32px 0;
    box-shadow: 0 4px 16px rgba(18, 215, 219, 0.1);
    --fade: 36px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--fade), #000 calc(100% - var(--fade)), transparent);
}

.auto-marquee__track {
    display: flex;
    width: max-content;
    gap: var(--gap);
    will-change: transform;
}

.auto-marquee__list {
    display: flex;
    gap: var(--gap);
    list-style: none;
    margin: 0;
    padding: 0;
}

.auto-marquee__list > li {
    flex: 0 0 auto;
}

.auto-marquee__list img {
    height: var(--item-h);
    width: auto;
    display: block;
    object-fit: contain;
	border-radius: 10px;
}

/* アニメーション（距離・時間はJSから注入） */
@keyframes am-left {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--distance))); }
}

@keyframes am-right {
    from { transform: translateX(calc(-1 * var(--distance))); }
    to { transform: translateX(0); }
}

.auto-marquee.is-running .auto-marquee__track {
    animation: am-left var(--duration) linear infinite;
}

.auto-marquee.is-right .auto-marquee__track {
    animation-name: am-right;
}

/* reduce-motion の人には "超低速" で僅かに動かす（完全停止を回避） */
@media (prefers-reduced-motion: reduce) {
    .auto-marquee.is-running .auto-marquee__track {
        animation-duration: calc(var(--duration) * 4); /* 4倍ゆっくり */
    }
}


/* 調査レポートセクション */
.research-section {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.research-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.research-section .section-title {
    color: #333 !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    text-align: center !important;
}

.research-section .section-title i {
    color: #28a745 !important;
    margin-right: 8px;
}

.research-section .section-subtitle {
    color: #666 !important;
    text-align: center !important;
    margin-bottom: 24px !important;
    font-size: 16px !important;
}

.research-content {
    margin-top: 24px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.research-article.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    position: relative;
    overflow: visible;
}

.research-article.featured .research-article-image {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.research-article.featured .research-article-image img {
    border-radius: 8px;
}

.research-article.featured .research-article-title {
    font-size: 22px;
}

.research-article.featured .research-article-title a {
    color: #fff;
}

.research-article.featured .research-article-content {
    padding: 28px;
}

.research-article.featured .research-article-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

.research-article.featured .research-article-meta {
    color: rgba(255, 255, 255, 0.8);
}

.research-article {
    position: relative;
    background: #fff;
    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;
}

.research-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.research-article-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.research-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.research-article-content {
    padding: 20px;
}

.research-article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
}

.research-article-title a {
    color: inherit;
    text-decoration: none;
}

.research-article-title a:hover {
    color: #12d7db;
}

.research-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-article-meta {
    font-size: 12px;
    color: #999;
}

.research-buttons {
    margin-top: 24px;
    text-align: center;
}

.research-image {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.research-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.research-article.featured:hover .research-image img {
    transform: scale(1.05);
}

.research-text {
    padding: 20px;
    position: relative;
    z-index: 2;
}

.research-category {
    display: inline-block;
    background: #e9ecef;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
}

.research-article.featured .research-category {
    background: rgba(255,255,255,0.25);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* YouTubeセクション */
.youtube-section {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.youtube-section .section-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}

.youtube-section .section-title i {
    margin-right: 10px;
    color: #ff4b4b;
}

.youtube-section .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
}

.youtube-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.youtube-card {
    display: block;
    border-radius: 16px;
    border: 1px solid #eef2f4;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.youtube-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 75, 75, 0.5);
}

.youtube-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.youtube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.youtube-card:hover .youtube-thumb img {
    transform: scale(1.03);
}

.youtube-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: clamp(28px, 5vw, 48px);
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.youtube-channel-link {
    margin-top: 28px;
    text-align: center;
}

.youtube-channel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #ff4b4b 0%, #ff6b6b 100%);
    box-shadow: 0 14px 32px rgba(255, 75, 75, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.youtube-channel-button:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(255, 75, 75, 0.45);
}

.research-text h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #333;
}

.research-article.featured .research-text h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 16px;
}

.research-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-article.featured .research-excerpt {
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.research-stats {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #999;
}

.research-article.featured .research-stats {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* カテゴリー別記事セクション */
.category-articles {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.articles-list {
    margin-top: 24px;
}

/* 最新記事グリッドセクション */
.latest-articles-grid {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.category-checkboxes label {
    user-select: none;
}

.category-checkboxes label:hover {
    border-color: var(--brand-primary);
    background: rgba(18, 215, 219, 0.05);
}

.category-checkboxes input[type="checkbox"]:checked + span {
    color: var(--brand-primary);
    font-weight: 600;
}

.category-checkbox:checked ~ span {
    color: var(--brand-primary);
    font-weight: 600;
}

.category-checkboxes label:has(input:checked) {
    border-color: var(--brand-primary);
    background: rgba(18, 215, 219, 0.1);
}

#latest-search-input:focus {
    border-color: var(--brand-primary);
    outline: none;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.grid-article-card {
    background: #fff;
    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 #f0f0f0;
}

.grid-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.grid-article-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.grid-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.no-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
}

.grid-article-content {
    padding: 16px;
}

.grid-article-category {
    display: inline-block;
    background: #12d7db;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 8px;
}

.grid-article-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
}

/* カテゴリタブ */
.category-tabs {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.tab-button {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #495057;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.tab-button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
}

.tab-button.active {
    background: #12d7db;
    color: #fff;
    border-color: #12d7db;
}

.grid-article-title a {
    color: #333 !important;
    text-decoration: none;
}

.grid-article-title a:hover {
    color: #12d7db !important;
}

.grid-article-excerpt {
    color: #666 !important;
}

.grid-article-meta {
    color: #999 !important;
}

/* インタビュー記事 */
.interview-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.interview-article.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    position: relative;
    overflow: visible;
}

.interview-article.featured .interview-article-image {
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.interview-article.featured .interview-article-image img {
    border-radius: 8px;
}

.interview-article.featured .interview-article-title {
    font-size: 22px;
}

.interview-article.featured .interview-article-title a {
    color: #fff;
}

.interview-article.featured .interview-article-content {
    padding: 28px;
}

.interview-article.featured .interview-article-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

.interview-article.featured .interview-article-meta {
    color: rgba(255, 255, 255, 0.8);
}

.interview-article {
    position: relative;
}

.interview-article {
    background: #fff;
    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;
}

.interview-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.interview-article-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.interview-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.interview-article-content {
    padding: 20px;
}

.interview-article-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #333;
}

.interview-article-title a {
    color: inherit;
    text-decoration: none;
}

.interview-article-title a:hover {
    color: #12d7db;
}

.interview-article-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.interview-article-meta {
    font-size: 12px;
    color: #999;
}

/* インタビューセクションのボタン */
.interview-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* 調査レポートボタン */
.research-buttons {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.research-buttons .more-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(18, 215, 219, 0.2);
}

.research-buttons .more-button:hover {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #0ea5a8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 215, 219, 0.3);
    color: #fff !important;
}

.contact-button, .more-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
    width: 100%;
    height: 44px;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.contact-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
}

.more-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
}

/* インタビューセクション内のボタンのスタイルを明示的に指定 */
.interview-section .contact-button,
.interview-section .more-button {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff !important;
}

/* 最新記事セクションのボタン色とスペース */
.latest-more {
    margin-top: 28px;
}

.latest-more .more-button {
    background: #fff;
    color: var(--brand-primary);
    border: 1px solid #e9ecef;
}

.latest-more .more-button:hover {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
}

.contact-button:hover, .more-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 215, 219, 0.3);
    color: #fff !important;
}



.sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.widget-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: #12d7db;
}

/* 人気記事ランキング */
.ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 人気記事ランキングのスタイル */
.ranking-item {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.15s ease;
}

.ranking-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.ranking-item:last-child {
    margin-bottom: 0;
}

.ranking-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.ranking-item:nth-child(1) .ranking-number {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.ranking-item:nth-child(2) .ranking-number {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #333;
}

.ranking-item:nth-child(3) .ranking-number {
    background: linear-gradient(135deg, #cd7f32 0%, #daa520 100%);
    color: #fff;
}

.ranking-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.ranking-thumb {
    width: 100%;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.ranking-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.no-thumb {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.ranking-text {
    flex: 1;
    min-width: 0;
}

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

.ranking-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ranking-title a:hover {
    color: var(--brand-primary);
}

.ranking-meta {
    font-size: 12px;
    color: #666;
    margin: 0;
}

/* カテゴリーリスト */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(18, 215, 219, 0.1);
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-list-item:last-child {
    margin-bottom: 0;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    text-decoration: none;
    flex: 1;
    font-weight: 500;
    transition: all 0.15s ease;
}

.category-link:hover {
    color: var(--brand-primary);
}

.category-link i {
    color: var(--brand-primary);
    font-size: 14px;
    transition: all 0.15s ease;
}

.category-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(18, 215, 219, 0.15);
    border-color: rgba(18, 215, 219, 0.3);
    background: linear-gradient(135deg, rgba(18, 215, 219, 0.1) 0%, rgba(15, 184, 192, 0.1) 100%);
}

.category-link:hover i {
    transform: scale(1.1);
    color: var(--brand-secondary);
}

.category-count {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(18, 215, 219, 0.3);
    transition: all 0.15s ease;
}

.category-list-item:hover .category-count {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(18, 215, 219, 0.4);
}

/* サービスタグ */
.service-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    transition: all 0.15s ease;
}

.service-tag:hover {
    background: #12d7db;
    color: #fff;
}

/* 監修者一覧 */
.supervisors-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

.supervisors-scroll {
    display: flex;
    gap: 16px;
    min-width: max-content;
}

.supervisor-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    min-width: 150px;
    flex-shrink: 0;
}

.supervisor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #12d7db;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 12px;
}

.supervisor-info h4 {
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
}

.supervisor-info span {
    font-size: 12px;
    color: #666;
}

/* About Us */
.about-widget {
    background: linear-gradient(135deg, #12d7db 0%, #0fb8c0 100%);
    color: #fff;
}

.about-widget .widget-title {
    color: #fff;
}

.about-content {
    color: #fff;
}

.about-mission {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

.about-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.9;
}

/* よく見られるワード（タグ）のスタイル */
.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(18, 215, 219, 0.3);
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(18, 215, 219, 0.4);
    box-shadow: 0 2px 8px rgba(18, 215, 219, 0.1);
}

.tag-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(18, 215, 219, 0.3);
    background: rgba(18, 215, 219, 0.6);
    color: #fff !important;
}

.tag-count {
    background: rgba(255, 255, 255, 0.4);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    color: #333;
}

.about-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.15s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.3);
    color: #fff !important;
}

/* スマホおすすめランキングセクション（スクロール対応） */
.smartphone-ranking-section {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.smartphone-ranking-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.ranking-navigation {
    display: flex;
    gap: 8px;
}

.ranking-scroll-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

/* 横スクロールの透かしヒント */
.ranking-scroll-container .scroll-watermark {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    pointer-events: none;
    font-size: 12px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 999px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: opacity 300ms ease, visibility 300ms ease;
    z-index: 3;
    white-space: nowrap;
    max-width: calc(100% - 16px);
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 480px) {
    .ranking-scroll-container .scroll-watermark {
        bottom: 6px;
        padding: 5px 8px;
        font-size: 11px;
    }
}

/* パルスは視認性に影響するため削除 */

.ranking-scroll-container .scroll-watermark.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.ranking-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
    margin: 0; /* ナビゲーションボタンを削除したのでマージンを0に */
}

.ranking-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.ranking-cards {
    display: flex;
    gap: 20px;
    min-width: max-content;
}

.ranking-card {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.15s ease;
    position: relative;
}

.ranking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.ranking-card .ranking-number {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(18, 215, 219, 0.3);
}

.ranking-card .ranking-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.ranking-card .ranking-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.ranking-card .no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 32px;
}

.ranking-card .ranking-content {
    padding: 20px;
}

.ranking-card .ranking-category {
    display: inline-block;
    background: var(--brand-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ranking-card .ranking-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
}

.ranking-card .ranking-title a {
    color: inherit;
    text-decoration: none;
}

.ranking-card .ranking-title a:hover {
    color: var(--brand-primary);
}

.ranking-card .ranking-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ranking-card .ranking-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-shadow: 0 4px 16px rgba(18, 215, 219, 0.4);
    z-index: 10;
    font-size: 18px;
}

.nav-button:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(18, 215, 219, 0.6);
}

.nav-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .speed-test-container {
        padding: 12px;
    }
    
    .speed-test-header {
        gap: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .speed-test-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        padding: 12px;
    }
    
    .speed-test-title {
        font-size: 20px;
    }
    
    .speed-test-subtitle {
        font-size: 13px;
    }
    
    .speed-help-btn {
        padding: 8px 16px !important;
        font-size: 12px !important;
        margin-left: 0 !important;
    }
    
    .speed-test-content {
        padding: 12px;
    }
    
    .speed-test-info {
        margin-bottom: 16px !important;
    }
    
    .speed-test-description {
        padding: 12px 16px !important;
        gap: 8px !important;
    }
    
    .speed-test-description div:first-child {
        width: 32px !important;
        height: 32px !important;
    }
    
    .speed-test-description div:first-child i {
        font-size: 14px !important;
    }
    
    .speed-test-description p {
        font-size: 13px !important;
    }
    
    .speed-test-iframe-container {
        padding: 4px !important;
    }
    
    .speed-test-iframe-container iframe {
        height: 300px !important;
    }
    
    .speed-test-guide {
        margin-top: 16px !important;
        padding: 12px !important;
    }
    
    .guide-title {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .speed-guide-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .speed-guide-item {
        padding: 12px !important;
    }
    
    .guide-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
    
    .guide-text h4 {
        font-size: 13px !important;
    }
    
    .guide-text p {
        font-size: 11px !important;
    }
    
    .speed-recommendations {
        margin-top: 16px !important;
        padding: 12px !important;
    }
    
    .speed-recommendations h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    .speed-recommendations p {
        font-size: 12px !important;
        padding: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .recommendations-grid {
        gap: 8px !important;
    }
    
    .recommendation-card {
        padding: 12px !important;
    }
    
    .card-image {
        width: 100% !important;
        height: 60px !important;
        font-size: 18px !important;
    }
    
    .card-image i {
        font-size: 18px !important;
    }
    
    .card-category {
        font-size: 8px !important;
        padding: 1px 4px !important;
    }
    
    .recommendation-card h4 {
        font-size: 13px !important;
    }
    
    .recommendation-card p {
        font-size: 10px !important;
    }
    
    .main-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 16px;
    }
    
    .main-area {
        order: 1;
        max-width: 100%;
    }
    
    .sidebar {
        width: 100%;
        order: 2; /* サイドバーをメインコンテンツの下に */
    }
    
    .container {
        flex-direction: column;
        gap: 16px;
    }
    
    .featured-section {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .main-featured-article .article-image {
        height: 200px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-tabs {
        flex-wrap: wrap;
    }
    
    .interview-section,
    .research-section,
    .category-articles {
        padding: 20px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .logos-track {
        animation-duration: 20s;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .main-featured-article .article-image {
        height: 250px;
    }
    
    .sub-featured-article .article-image {
        height: 80px;
        width: 100px;
    }
    
    .popular-article-image {
        height: 130px;
    }
    
    .category-tabs {
        justify-content: center;
        gap: 6px;
    }
    
    .tab-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .interview-articles {
        grid-template-columns: 1fr;
    }
    
    .interview-article.featured {
        display: block;
    }
    
    .interview-article.featured .interview-article-image {
        aspect-ratio: 16 / 9;
    }
    
    .interview-article.featured .interview-article-title {
        font-size: 18px;
    }
    
    .interview-article-content {
        padding: 16px;
    }
    
    .interview-article-title {
        font-size: 15px;
    }
    
    .interview-article-excerpt {
        font-size: 13px;
    }
    
    .interview-buttons {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 12px;
    }
    
    .contact-button, .more-button {
        height: 40px;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .ranking-scroll-wrapper {
        margin: 0; /* スマホでもナビゲーションボタンを削除したのでマージンを0に */
    }
    
    .popular-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .popular-article-content {
        padding: 12px;
    }
    
    .popular-article-title {
        font-size: 12px;
    }
    
    .popular-article-excerpt {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .speed-test-container {
        padding: 16px;
    }
    
    .speed-test-header {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .speed-test-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .speed-test-title {
        font-size: 20px;
    }
    
    .speed-test-subtitle {
        font-size: 13px;
    }
    
    .speed-test-content {
        padding: 16px;
    }
    
    .speed-test-description {
        font-size: 12px;
        padding: 8px 12px;
        gap: 8px;
    }
    
    .speed-test-description i {
        font-size: 14px;
    }
    
    .speed-test-buttons {
        grid-template-columns: 1fr;
    }
    
    .speed-test-iframe-container iframe {
        height: 350px !important;
    }
    
    /* 速度測定モーダルのスマートフォン対応 */
    #speedTestModal .modal-content {
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .guide-title {
        font-size: 16px;
    }
    
    .speed-guide-item {
        padding: 12px;
    }
    
    .guide-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .guide-text strong {
        font-size: 13px;
    }
    
    .guide-text span {
        font-size: 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .featured-section {
        padding: 12px;
    }
    
    .interview-section,
    .research-section,
    .category-articles,
    .popular-articles-section {
        padding: 16px;
    }
    
    .popular-articles-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .popular-article-content {
        padding: 10px;
    }
    
    .popular-article-title {
        font-size: 11px;
    }
    
    .popular-article-excerpt {
        font-size: 9px;
    }
    
    .supervisors-scroll {
        gap: 12px;
    }
    
    .supervisor-item {
        min-width: 120px;
    }
    
    .articles-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .article-card-content {
        padding: 12px;
    }
    
    .article-card-title {
        font-size: 13px;
    }
    
    .article-card-excerpt {
        font-size: 11px;
    }
}

/* 記事リストのアイキャッチ画像を1280px × 720px（16:9）の比率に変更 - v1.3 */
.interview-article-image,
.research-article-image,
.grid-article-image,
.ranking-thumb,
.popular-article-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.interview-article-image img,
.research-article-image img,
.grid-article-image img,
.ranking-thumb img,
.popular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* インタビュー記事の画像コンテナ */
.interview-article-image {
    border-radius: 12px;
}

/* 調査レポート記事の画像コンテナ */
.research-article-image {
    border-radius: 12px;
}

/* グリッド記事カードの画像コンテナ */
.grid-article-image {
    border-radius: 8px;
}

/* ランキング記事のサムネイルコンテナ */
.ranking-thumb {
    border-radius: 8px;
    flex-shrink: 0;
}

/* 人気記事の画像コンテナ */
.popular-article-image {
    border-radius: 8px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .interview-article-image,
    .research-article-image,
    .grid-article-image,
    .ranking-thumb,
    .popular-article-image {
        aspect-ratio: 16 / 9;
    }
    
    .results-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 24px;
    }
    
    .youtube-channel-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .youtube-section {
        padding: 20px;
    }
    
    .youtube-channel-button {
        padding: 12px 16px;
        font-size: 13px;
    }
}

