/* LED知識ハブページ群専用スタイル led-knowledge.css */

/* ===== 基本セクションスタイル ===== */
.led-hub-page {
    padding: 8rem 0 6rem;
    background-color: var(--dark-overlay);
    position: relative;
}

/* ビデオ背景 */
.led-video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.led-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsla(220, 70%, 20%, 0.7) 0%, hsla(180, 70%, 10%, 0.6) 100%);
    mix-blend-mode: color-dodge;
}

.led-video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* コンテンツラッパー */
.led-content-wrapper {
    position: relative;
    z-index: 1;
}

/* ページ導入部分 */
.led-intro-section {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.led-intro-section h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.led-intro-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* セクションタイトル共通スタイル */
.led-section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    font-weight: 300;
    color: var(--accent-light);
    letter-spacing: 0.03em;
}

.led-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    transition: width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.led-section-title:hover::after {
    width: 100%;
}

.led-section {
    margin-bottom: 5rem;
}

/* ===== カテゴリカードグリッド ===== */
.led-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.led-category-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.2);
}

.led-category-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.led-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.led-category-card:hover .led-category-image img {
    transform: scale(1.05);
}

.led-category-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.led-category-content h3 {
    margin-bottom: 1rem;
    color: var(--accent-light);
    font-size: 1.5rem;
    font-weight: 300;
}

.led-category-content p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

.led-category-content .button {
    align-self: flex-start;
    margin-top: auto;
}

/* ===== 導入事例スライダー ===== */
.led-case-studies {
    margin-bottom: 4rem;
}

.led-case-study-slider {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.led-case-cards {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.led-case-cards::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.led-case-card {
    min-width: 300px;
    max-width: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    flex: 0 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.2);
}

.led-case-image {
    height: 200px;
    overflow: hidden;
}

.led-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.led-case-card:hover .led-case-image img {
    transform: scale(1.05);
}

.led-case-content {
    padding: 1.5rem;
}

.led-case-content h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-light);
    font-weight: 300;
    font-size: 1.3rem;
}

.led-case-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.led-case-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.led-case-meta .industry {
    background-color: rgba(0, 229, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: var(--accent-color);
}

/* ===== トレンド記事グリッド ===== */
.led-article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.led-article-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.2);
}

.led-article-image {
    height: 180px;
    overflow: hidden;
}

.led-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.led-article-card:hover .led-article-image img {
    transform: scale(1.05);
}

.led-article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.led-article-content h4 {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.4;
    font-weight: 300;
    font-size: 1.2rem;
}

.led-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: auto;
}

.led-article-meta .category {
    color: var(--accent-color);
}

/* ===== CTA セクション ===== */
.led-cta-section {
    background-color: rgba(0, 229, 255, 0.05);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
    background-image: linear-gradient(135deg, rgba(14, 14, 82, 0.8) 0%, rgba(0, 0, 0, 0.8) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-cta-section h2 {
    margin-bottom: 1.5rem;
    color: var(--accent-light);
    font-size: 2.2rem;
    font-weight: 300;
}

.led-cta-section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.led-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== コンテンツブロック ===== */
.led-content-block {
    margin-bottom: 3rem;
    background-color: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.led-content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

.led-content-block h2 {
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 300;
}

.led-content-block h3 {
    color: var(--text-light);
    margin: 1.5rem 0 1rem;
    font-size: 1.4rem;
    font-weight: 300;
}

.led-content-block p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.led-content-block ul, .led-content-block ol {
    margin: 0 0 1.5rem 1.5rem;
}

.led-content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* 2カラムレイアウト */
.led-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* テーブルスタイル */
.led-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

.led-table th, .led-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-table th {
    background-color: rgba(0, 229, 255, 0.1);
    color: var(--accent-light);
    font-weight: 400;
}

.led-table tr {
    background-color: rgba(255, 255, 255, 0.02);
    transition: background-color 0.2s ease;
}

.led-table tr:hover {
    background-color: rgba(0, 229, 255, 0.05);
}

/* スペックリスト */
.led-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.led-spec-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    flex: 1 0 200px;
    display: flex;
    flex-direction: column;
}

.led-spec-name {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.led-spec-value {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 300;
}

/* FAQ アコーディオン */
.led-faq-list {
    margin-bottom: 2rem;
}

.led-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.led-faq-question {
    padding: 1rem 0;
    font-size: 1.2rem;
    color: var(--accent-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.led-faq-question:hover {
    color: var(--accent-color);
}

.led-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.led-faq-question.active::after {
    transform: rotate(45deg);
}

.led-faq-answer {
    padding: 0 0 1.5rem;
    display: none;
    line-height: 1.7;
}

.led-faq-answer.active {
    display: block;
}

/* インデックスバー（用語集用） */
.led-index-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    justify-content: center;
}

.led-index-item {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.led-index-item:hover, .led-index-item.active {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* 用語アイテム */
.led-glossary-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.led-glossary-term {
    font-size: 1.3rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

/* 画像拡大表示 */
.led-zoomable-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.led-zoomable-image:hover {
    transform: scale(1.02);
}

/* ユーティリティクラス */
.led-text-center {
    text-align: center;
}

.led-text-accent {
    color: var(--accent-color);
}

.led-text-highlight {
    background-color: rgba(0, 229, 255, 0.1);
    padding: 0.2em 0.5em;
    border-radius: 4px;
}

.led-mb-1 {
    margin-bottom: 1rem;
}

.led-mb-2 {
    margin-bottom: 2rem;
}

.led-mb-3 {
    margin-bottom: 3rem;
}

.led-mt-1 {
    margin-top: 1rem;
}

.led-mt-2 {
    margin-top: 2rem;
}

.led-mt-3 {
    margin-top: 3rem;
}

/* レスポンシブデザイン */
@media (max-width: 1200px) {
    .led-intro-section h1 {
        font-size: 2.8rem;
    }
    
    .led-section-title {
        font-size: 2rem;
    }
    
    .led-cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 992px) {
    .led-two-columns {
        grid-template-columns: 1fr;
    }
    
    .led-intro-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .led-hub-page {
        padding: 6rem 0 4rem;
    }
    
    .led-category-grid, 
    .led-article-grid {
        grid-template-columns: 1fr;
    }
    
    .led-case-card {
        min-width: 260px;
    }
    
    .led-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .led-intro-section h1 {
        font-size: 2.2rem;
    }
    
    .led-section-title {
        font-size: 1.8rem;
    }
    
    .led-content-block {
        padding: 1.5rem;
    }
    
    .led-spec-item {
        flex: 0 0 100%;
    }
}