/*
Theme Name: Live Chat Directory Theme v2
Description: ライブチャットプロフィール一覧テーマ（v2）
Version: 2.1
Author: InfinityDesign
*/

/* ===================================
   全体設定
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
    background: linear-gradient(135deg, #fff5f7 0%, #ffe8f0 50%, #fff0f6 100%);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ===================================
   ナビゲーションメニュー（ハンバーガー対応）
   =================================== */
.lcd-nav-top {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    margin: -24px -16px 32px;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #ff6b9d, #c850c0, #ff6b9d) 1;
}

.lcd-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.lcd-nav-logo a {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.lcd-nav-logo a:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* ハンバーガーメニューボタン */
.lcd-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.lcd-hamburger span {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.lcd-hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.lcd-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.lcd-hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* メニュー */
.lcd-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
}

.lcd-nav-menu li {
    display: inline-block;
}

.lcd-nav-menu a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 24px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid transparent;
}

.lcd-nav-menu a:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    border-color: transparent;
}

.lcd-nav-menu .nav-icon {
    font-size: 18px;
    display: inline-block;
}

/* レスポンシブ: ハンバーガーメニュー */
@media (max-width: 768px) {
    .lcd-hamburger {
        display: flex;
    }
    
    .lcd-nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 24px 0;
        box-shadow: -4px 0 20px rgba(255, 107, 157, 0.2);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
    }
    
    .lcd-nav-menu.active {
        right: 0;
    }
    
    .lcd-nav-menu li {
        display: block;
        width: 100%;
    }
    
    .lcd-nav-menu a {
        width: 100%;
        padding: 16px 32px;
        border-radius: 0;
        justify-content: flex-start;
        font-size: 16px;
        border-left: 4px solid transparent;
    }
    
    .lcd-nav-menu a:hover {
        transform: translateX(8px);
        border-left-color: #ff6b9d;
        box-shadow: none;
    }
    
    .lcd-nav-logo a {
        font-size: 18px;
    }
}

/* ===================================
   ヘッダー
   =================================== */
.lcd-header {
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 240, 246, 0.8) 100%);
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
    border: 2px solid rgba(255, 192, 224, 0.3);
    position: relative;
    overflow: hidden;
}

.lcd-header::before {
    content: '✨';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    animation: sparkle 2s infinite;
}

.lcd-header::after {
    content: '💕';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 32px;
    animation: heartbeat 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

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

.lcd-header h1 {
    font-size: 36px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(255, 107, 157, 0.1);
    font-weight: 800;
}

.lcd-header p {
    font-size: 17px;
    color: #666;
    font-weight: 500;
}

/* ===================================
   グリッドレイアウト
   =================================== */
.lcd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.lcd-card {
    display: block;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.12);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid rgba(255, 192, 224, 0.2);
}

.lcd-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.25);
    border-color: #ffc0e0;
}

.lcd-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    transition: filter 0.3s ease;
}

.lcd-card:hover img {
    filter: blur(6px);
    -webkit-filter: blur(6px);
}

.lcd-oneword {
    padding: 16px;
    font-size: 14px;
    color: #333;
    text-align: center;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff 0%, #fffbfc 100%);
    font-weight: 500;
}

/* ===================================
   SEOコンテンツエリア
   =================================== */
.lcd-seo-content {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    margin: 70px 0;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.15);
    position: relative;
    border: 2px solid rgba(255, 192, 224, 0.3);
}

.lcd-seo-content::before {
    content: '🌸 ✨ 🌸';
    display: block;
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.lcd-seo-header {
    text-align: center;
    margin-bottom: 50px;
}

.lcd-seo-header h2 {
    font-size: 32px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    font-weight: 800;
}

.lcd-seo-header p {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
}

.lcd-seo-article {
    background: linear-gradient(135deg, #fff 0%, #fffbfc 100%);
    border-radius: 20px;
    padding: 36px;
    margin-bottom: 36px;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.1);
    border-left: 6px solid #ff6b9d;
    border-bottom: 3px dotted #ffc0e0;
    transition: all 0.3s ease;
}

.lcd-seo-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.lcd-seo-article h3 {
    font-size: 24px;
    color: #ff6b9d;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.lcd-seo-article h3 .emoji {
    font-size: 30px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.lcd-seo-article h4 {
    font-size: 19px;
    color: #c850c0;
    margin: 28px 0 16px;
    padding-left: 20px;
    border-left: 4px solid #ffc0e0;
    font-weight: 600;
}

.lcd-seo-article p {
    font-size: 16px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 18px;
}

.lcd-seo-article ul, .lcd-seo-article ol {
    margin: 20px 0;
    padding-left: 32px;
}

.lcd-seo-article li {
    margin-bottom: 12px;
    line-height: 1.9;
    color: #444;
}

.lcd-seo-article strong {
    color: #ff6b9d;
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(255, 192, 224, 0.3) 60%);
}

/* FAQ用スタイル */
.faq-list {
    margin: 0;
    padding: 0;
}
.faq-list dt {
    font-size: 17px;
    font-weight: 700;
    color: #ff6b9d;
    margin: 0 0 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff0f6 0%, #ffe8f0 100%);
    border-radius: 12px;
    border-left: 5px solid #ff6b9d;
}
.faq-list dt:before {
    content: 'Q. ';
    font-weight: 800;
}
.faq-list dd {
    margin: 0 0 24px 0;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    line-height: 1.9;
    box-shadow: inset 0 2px 5px rgba(255, 192, 224, 0.1);
}
.faq-list dd:before {
    content: 'A. ';
    font-weight: 700;
    color: #c850c0;
}

/* 比較表 */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.12);
}

.comparison-table thead {
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
}

.comparison-table th {
    padding: 18px 14px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.comparison-table td {
    padding: 16px 14px;
    border-bottom: 1px solid #ffc0e0;
    font-size: 14px;
}

.comparison-table tbody tr:hover {
    background: #fff5f7;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* レスポンシブ対応（比較表） */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 13px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
    
    .lcd-seo-article {
        padding: 24px;
    }
    
    .lcd-seo-content {
        padding: 32px 20px;
    }
}

/* ===================================
   ライブチャットサイト別セクション
   =================================== */
.lcd-site-section {
    margin: 70px 0;
}

.lcd-site-section h2 {
    font-size: 28px;
    color: #ff6b9d;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 700;
}

.lcd-site-section h2 .emoji {
    font-size: 36px;
}

.lcd-site-section p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.8;
}

/* ===================================
   ブログ記事一覧ページ
   =================================== */
.lcd-blog-page {
    max-width: 1200px;
    margin: 0 auto;
}

.lcd-blog-header {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 50px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
}

.lcd-blog-header h1 {
    font-size: 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    font-weight: 800;
}

.lcd-blog-header p {
    font-size: 17px;
    color: #666;
}

.lcd-blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 36px;
    margin-bottom: 70px;
}

.lcd-blog-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.12);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 192, 224, 0.2);
}

.lcd-blog-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.25);
    border-color: #ffc0e0;
}

.lcd-blog-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffc0e0 0%, #ff6b9d 100%);
}

.lcd-blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lcd-blog-item:hover .lcd-blog-thumbnail img {
    transform: scale(1.1);
}

.lcd-blog-content {
    padding: 28px;
}

.lcd-blog-title {
    font-size: 21px;
    margin-bottom: 16px;
    font-weight: 700;
}

.lcd-blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lcd-blog-title a:hover {
    color: #ff6b9d;
}

.lcd-blog-meta {
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.lcd-blog-category {
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
}

.lcd-blog-excerpt {
    font-size: 15px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 18px;
}

.lcd-blog-readmore {
    display: inline-block;
    color: #ff6b9d;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.lcd-blog-readmore:hover {
    color: #c850c0;
    transform: translateX(5px);
}

.lcd-no-posts {
    text-align: center;
    padding: 70px 20px;
    color: #999;
    font-size: 17px;
}

/* ページネーション */
.lcd-pagination {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 30px;
}

.lcd-pagination .page-numbers {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background: white;
    color: #ff6b9d;
    text-decoration: none;
    border-radius: 10px;
    border: 2px solid #ffc0e0;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lcd-pagination .page-numbers:hover,
.lcd-pagination .page-numbers.current {
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* ===================================
   個別記事ページ
   =================================== */
.lcd-single-post {
    max-width: 850px;
    margin: 0 auto;
}

.lcd-single-header {
    text-align: center;
    margin-bottom: 50px;
    background: white;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.15);
}

.lcd-single-title {
    font-size: 34px;
    color: #ff6b9d;
    margin-bottom: 24px;
    line-height: 1.5;
    font-weight: 800;
}

.lcd-single-meta {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #999;
    flex-wrap: wrap;
}

.lcd-single-featured {
    width: 100%;
    max-height: 450px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.2);
}

.lcd-single-featured img {
    width: 100%;
    height: auto;
    display: block;
}

.lcd-single-tags {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid #ffc0e0;
}

.lcd-single-tags strong {
    color: #ff6b9d;
    margin-right: 10px;
    font-weight: 700;
}

.lcd-single-tags a {
    display: inline-block;
    background: #fff0f6;
    color: #ff6b9d;
    padding: 7px 16px;
    margin: 5px;
    border-radius: 18px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lcd-single-tags a:hover {
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
    transform: translateY(-2px);
}

.lcd-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 50px;
}

.lcd-post-navigation a {
    flex: 1;
    padding: 24px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.12);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 192, 224, 0.2);
}

.lcd-post-navigation a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.25);
    color: #ff6b9d;
    border-color: #ffc0e0;
}

.lcd-back-to-blog {
    text-align: center;
    margin: 50px 0;
}

.lcd-back-to-blog a {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #ff6b9d 0%, #c850c0 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.35);
    transition: all 0.3s ease;
}

.lcd-back-to-blog a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.45);
}

/* ===================================
   フッター
   =================================== */
.lcd-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    border-top: 3px solid;
    border-image: linear-gradient(90deg, transparent, #ffc0e0, transparent) 1;
    color: #999;
    font-size: 14px;
}

/* ===================================
   レスポンシブ対応
   =================================== */
@media (max-width: 768px) {
    .lcd-header {
        padding: 40px 20px;
    }
    
    .lcd-header h1 {
        font-size: 28px;
    }
    
    .lcd-blog-list {
        grid-template-columns: 1fr;
    }
    
    .lcd-single-title {
        font-size: 26px;
    }
    
    .lcd-post-navigation {
        flex-direction: column;
    }
    
    .lcd-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .lcd-seo-header h2 {
        font-size: 26px;
    }
}
