/* ファンサイトバナー（ページ最上部） */
.nf3-fansite-banner {
    /* グラデーションはtheme-colors.phpで定義 */
    padding: 0.75rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nf3-fansite-banner-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.nf3-fansite-banner-content i {
    color: #ff6b6b;
    font-size: 1.1rem;
    animation: nf3-heartbeat 1.5s ease-in-out infinite;
}

@keyframes nf3-heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.nf3-fansite-banner-content a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nf3-fansite-banner-content a:hover {
    color: #ffd93d;
    border-bottom-color: #ffd93d;
}

/*
========================================
NF3 スタイルシート
配色: 製品イメージ準拠
========================================
*/

:root {
    --nf3-primary: #00BFA5;
    --nf3-secondary: #424242;
    --nf3-light-gray: #E0E0E0;
    --nf3-white: #FFFFFF;
    --nf3-text: #333333;
    --nf3-text-light: #666666;
    --nf3-bg-light: #F5F5F5;
    --nf3-border: #DDDDDD;
    --nf3-transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    color: var(--nf3-text);
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--nf3-white);
}

/* ===== ヘッダー ===== */
.nf3-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--nf3-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nf3-topbar {
    background: var(--nf3-secondary);
    color: var(--nf3-white);
    padding: 10px 0;
    font-size: 14px;
}

.nf3-contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.nf3-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nf3-contact-item i {
    color: var(--nf3-primary);
}

.nf3-lang-switcher .dropdown-toggle {
    color: var(--nf3-white);
    border-color: rgba(255,255,255,0.3);
    font-size: 14px;
}

.nf3-lang-switcher .dropdown-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.nf3-navbar {
    padding: 15px 0;
}

.nf3-logo {
    max-height: 50px;
    width: auto;
}

.navbar-brand-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--nf3-text) !important;
    text-decoration: none !important;
}

.navbar-brand-text:hover {
    color: var(--nf3-primary) !important;
}

.nf3-navbar .nav-link {
    color: var(--nf3-text);
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--nf3-transition);
    position: relative;
}

.nf3-navbar .nav-link:hover,
.nf3-navbar .nav-link.active {
    color: var(--nf3-primary);
}

.nf3-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: var(--nf3-primary);
}

/* ===== ヒーローセクション ===== */
.nf3-hero {
    /* グラデーションはtheme-colors.phpで定義 */
    color: var(--nf3-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.nf3-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.nf3-hero-content {
    position: relative;
    z-index: 1;
}

.nf3-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nf3-hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.nf3-btn {
    display: inline-block;
    padding: 12px 35px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--nf3-transition);
    border: 2px solid transparent;
}

.nf3-btn-primary {
    background: var(--nf3-primary);
    color: var(--nf3-white);
}

.nf3-btn-primary:hover {
    background: transparent;
    border-color: var(--nf3-white);
    color: var(--nf3-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nf3-btn-outline {
    background: transparent;
    border-color: var(--nf3-white);
    color: var(--nf3-white);
}

.nf3-btn-outline:hover {
    background: var(--nf3-white);
    color: var(--nf3-primary);
    transform: translateY(-2px);
}

/* ===== セクション ===== */
.nf3-section {
    padding: 80px 0;
}

.nf3-section-alt {
    background: var(--nf3-bg-light);
}

.nf3-section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--nf3-secondary);
    position: relative;
    display: inline-block;
}

.nf3-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--nf3-primary);
}

.nf3-section-subtitle {
    font-size: 18px;
    color: var(--nf3-text-light);
    margin-bottom: 50px;
}

/* ===== カード ===== */
.nf3-card {
    background: var(--nf3-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--nf3-transition);
    height: 100%;
    border: 1px solid var(--nf3-border);
}

.nf3-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nf3-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--nf3-primary), var(--nf3-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--nf3-white);
    font-size: 32px;
}

.nf3-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--nf3-secondary);
}

.nf3-card-text {
    color: var(--nf3-text-light);
    line-height: 1.8;
}

/* ===== 製品カード ===== */
.nf3-product-card {
    background: var(--nf3-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: var(--nf3-transition);
    height: 100%;
    border: 1px solid var(--nf3-border);
}

.nf3-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.nf3-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--nf3-bg-light);
}

.nf3-product-body {
    padding: 25px;
}

.nf3-product-category {
    font-size: 12px;
    color: var(--nf3-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.nf3-product-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--nf3-secondary);
}

.nf3-product-description {
    color: var(--nf3-text-light);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.nf3-product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nf3-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--nf3-transition);
}

.nf3-product-link:hover {
    color: var(--nf3-secondary);
    gap: 12px;
}

/* ===== ニュースカード ===== */
.nf3-news-card {
    background: var(--nf3-white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: var(--nf3-transition);
    border-left: 4px solid var(--nf3-primary);
    margin-bottom: 20px;
}

.nf3-news-card:hover {
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.nf3-news-date {
    font-size: 14px;
    color: var(--nf3-text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nf3-news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--nf3-secondary);
}

.nf3-news-excerpt {
    color: var(--nf3-text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== フッター ===== */
.nf3-footer {
    background: var(--nf3-secondary);
    color: var(--nf3-white);
    padding: 60px 0 0;
}

.nf3-footer-widget {
    margin-bottom: 30px;
}

.nf3-footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--nf3-white);
}

.nf3-footer-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--nf3-white);
    position: relative;
    padding-bottom: 10px;
}

.nf3-footer-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--nf3-primary);
}

.nf3-footer-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.nf3-footer-menu {
    list-style: none;
}

.nf3-footer-menu li {
    margin-bottom: 12px;
}

.nf3-footer-menu a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--nf3-transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nf3-footer-menu a::before {
    content: '▸';
    color: var(--nf3-primary);
}

.nf3-footer-menu a:hover {
    color: var(--nf3-white);
    padding-left: 5px;
}

.nf3-footer-contact {
    list-style: none;
}

.nf3-footer-contact li {
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

.nf3-footer-contact i {
    color: var(--nf3-primary);
    width: 20px;
    flex-shrink: 0;
    margin-top: 3px;
}

.nf3-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.nf3-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nf3-white);
    text-decoration: none;
    transition: var(--nf3-transition);
    font-size: 18px;
}

.nf3-social-link:hover {
    background: var(--nf3-primary);
    transform: translateY(-3px);
}

.nf3-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding: 25px 0;
}

.nf3-copyright {
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.nf3-footer-links {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    margin: 0;
}

.nf3-footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--nf3-transition);
}

.nf3-footer-links a:hover {
    color: var(--nf3-white);
}

/* ===== Back to Top ===== */
.nf3-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--nf3-primary);
    color: var(--nf3-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--nf3-transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nf3-back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.nf3-back-to-top:hover {
    background: var(--nf3-secondary);
    transform: translateY(-5px);
}

/* ===== フォーム ===== */
.nf3-form-group {
    margin-bottom: 25px;
}

.nf3-form-label {
    font-weight: 600;
    color: var(--nf3-secondary);
    margin-bottom: 10px;
    display: block;
}

.nf3-form-control {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--nf3-border);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--nf3-transition);
    font-family: inherit;
}

.nf3-form-control:focus {
    outline: none;
    border-color: var(--nf3-primary);
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

.nf3-form-control.error {
    border-color: #e74c3c;
}

.nf3-error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 8px;
}

.nf3-success-message {
    background: #27ae60;
    color: var(--nf3-white);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

/* ===== レスポンシブ ===== */
@media (max-width: 991px) {
    .nf3-hero-title {
        font-size: 36px;
    }
    
    .nf3-section-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .nf3-hero {
        padding: 80px 0 60px;
    }
    
    .nf3-hero-title {
        font-size: 28px;
    }
    
    .nf3-section {
        padding: 60px 0;
    }
    
    .nf3-section-title {
        font-size: 26px;
    }
    
    .nf3-contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .nf3-footer-links {
        flex-direction: column;
        gap: 15px;
        justify-content: flex-start;
        margin-top: 20px;
    }
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nf3-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ===== 画像最適化 ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nf3-lazy-load {
    opacity: 0;
    transition: opacity 0.3s;
}

.nf3-lazy-load.loaded {
    opacity: 1;
}

/* ===== ページヘッダー ===== */
.nf3-page-header {
    background: linear-gradient(135deg, var(--nf3-secondary) 0%, var(--nf3-primary) 100%);
    color: var(--nf3-white);
    padding: 60px 0 40px;
}

.nf3-page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item a {
    color: var(--nf3-white);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--nf3-white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* ===== コンテンツボックス ===== */
.nf3-content-box {
    background: var(--nf3-white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.nf3-content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--nf3-secondary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--nf3-primary);
}

/* ===== テーブル ===== */
.nf3-table {
    width: 100%;
    margin-bottom: 0;
}

.nf3-table th {
    background: var(--nf3-bg-light);
    font-weight: 600;
    color: var(--nf3-secondary);
    padding: 15px;
    width: 30%;
    border: 1px solid var(--nf3-border);
}

.nf3-table td {
    padding: 15px;
    border: 1px solid var(--nf3-border);
}

/* ===== サイドバー ===== */
.nf3-sidebar {
    background: var(--nf3-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.nf3-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--nf3-secondary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--nf3-primary);
}

.nf3-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nf3-category-list li {
    margin-bottom: 10px;
}

.nf3-category-list a {
    display: block;
    padding: 10px 15px;
    color: var(--nf3-text);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--nf3-transition);
}

.nf3-category-list a:hover,
.nf3-category-list a.active {
    background: var(--nf3-primary);
    color: var(--nf3-white);
}

.nf3-contact-info-box {
    font-size: 14px;
    line-height: 2;
}

.nf3-contact-info-box p {
    margin-bottom: 10px;
}

.nf3-contact-info-box i {
    color: var(--nf3-primary);
    width: 20px;
}

/* ===== チェックボックス ===== */
.nf3-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.nf3-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ===== レスポンシブ - ページ ===== */
@media (max-width: 991px) {
    .nf3-page-header {
        padding: 40px 0 30px;
    }
    
    .nf3-page-title {
        font-size: 28px;
    }
    
    .nf3-content-box {
        padding: 30px 20px;
    }
    
    .nf3-table th {
        width: 35%;
    }
}

@media (max-width: 767px) {
    .nf3-page-title {
        font-size: 24px;
    }
    
    .nf3-content-box {
        padding: 20px 15px;
    }
    
    .nf3-table {
        font-size: 14px;
    }
    
    .nf3-table th,
    .nf3-table td {
        padding: 10px;
    }
    
    .nf3-table th {
        width: 40%;
    }
}

/* FAQ Section */
.nf3-faq-container {
    max-width: 900px;
    margin: 2rem auto;
}

.nf3-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.nf3-faq-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.nf3-faq-question {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
    transition: background-color 0.3s ease;
}

.nf3-faq-question:hover {
    background: #e9ecef;
}

.nf3-faq-question i.fa-question-circle {
    color: #3498db;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.nf3-faq-question span {
    flex: 1;
    font-weight: 600;
    color: #2c3e50;
}

.nf3-faq-question .nf3-faq-icon {
    color: #6c757d;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nf3-faq-item.active .nf3-faq-icon {
    transform: rotate(180deg);
}

.nf3-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    color: #6c757d;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.nf3-faq-item.active .nf3-faq-answer {
    max-height: 1000px;
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* News List */
.nf3-news-list {
    max-width: 900px;
    margin: 0 auto;
}

.nf3-news-item {
    background: #fff;
    border-left: 4px solid #3498db;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nf3-news-item:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateX(5px);
}

.nf3-news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.nf3-news-date i {
    margin-right: 0.5rem;
    color: #3498db;
}

.nf3-news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.nf3-news-excerpt {
    color: #6c757d;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nf3-faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }
    
    .nf3-faq-answer {
        font-size: 0.9rem;
    }
    
    .nf3-news-item {
        padding: 1rem;
    }
    
    .nf3-news-title {
        font-size: 1.1rem;
    }
}

/* Cookie Consent Banner */
.nf3-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    animation: nf3SlideUp 0.5s ease;
}

@keyframes nf3SlideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.nf3-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nf3-cookie-text {
    color: #fff;
    margin: 0;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.nf3-cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.nf3-cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nf3-cookie-accept {
    background: #00BFA5;
    color: #fff;
}

.nf3-cookie-accept:hover {
    background: #00a389;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 191, 165, 0.3);
}

.nf3-cookie-decline {
    background: #6c757d;
    color: #fff;
}

.nf3-cookie-decline:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

@media (max-width: 768px) {
    .nf3-cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nf3-cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .nf3-cookie-btn {
        width: 100%;
    }
}

/* カテゴリー階層表示 */
.nf3-category-dropdown {
    margin-bottom: 1rem;
}

.nf3-category-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.nf3-category-select:hover,
.nf3-category-select:focus {
    border-color: #00BFA5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 191, 165, 0.1);
}

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

.nf3-category-list li {
    margin-bottom: 0.5rem;
}

.nf3-category-list a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nf3-category-list a:hover {
    background-color: #f8f9fa;
    border-left-color: #00BFA5;
    padding-left: 1.25rem;
}

.nf3-category-list a.active {
    background-color: #00BFA5;
    color: #fff;
    border-left-color: #008c7a;
    font-weight: 600;
}

/* サブカテゴリーリスト */
.nf3-category-sublist {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* 階層レベル別インデント */
.nf3-cat-level-0 > a {
    font-weight: 600;
    font-size: 1rem;
}

.nf3-cat-level-1 {
    padding-left: 1rem;
}

.nf3-cat-level-1 > a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
}

.nf3-cat-level-2 {
    padding-left: 2rem;
}

.nf3-cat-level-2 > a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    color: #666;
}

.nf3-cat-level-3 {
    padding-left: 3rem;
}

.nf3-cat-level-3 > a {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
    color: #777;
}

/* レスポンシブ */
@media (max-width: 991px) {
    .nf3-category-list {
        display: none;
    }
    
    .nf3-category-dropdown {
        display: block;
    }
}

@media (min-width: 992px) {
    .nf3-category-dropdown {
        display: none;
    }
}

/* ========================================
   スクレイピング対策CSS
   ======================================== */

/* テキスト選択制限（フォーム以外） */
body:not(input):not(textarea) {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 印刷時の透かし */
@media print {
    body::before {
        content: "© 新興製作所 - 無断転載禁止";
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        font-size: 5rem;
        opacity: 0.1;
        z-index: 9999;
        pointer-events: none;
    }
}

/* デバッグコンソール対策 */
body[data-protect="1"] {
    pointer-events: auto;
}

/* カテゴリー表示制御（Bootstrapクラスで制御するためメディアクエリ不要） */
.nf3-category-dropdown {
    width: 100%;
}

.nf3-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ファンサイトヘッダーリンクスタイル */
.nf3-header-fansite-link {
    display: inline-block;
}

.nf3-header-fansite-link a {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.6) !important;
}

.nf3-header-fansite-link a:hover {
    opacity: 1;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.nf3-header-fansite-link i {
    font-size: 0.8rem;
    color: #ff6b9d;
}

/* トップバーレスポンシブ調整 */
@media (max-width: 768px) {
    .nf3-topbar .row .col-md-6:first-child {
        order: 2;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .nf3-topbar .row .col-md-6:last-child {
        order: 1;
        text-align: center;
    }
    
    .nf3-header-fansite-link {
        margin-top: 0.5rem;
    }
}
