/*
Theme Name: LAGNET
Theme URI: https://lagnet.jp/
Author: LAGNET Development Team
Author URI: https://lagnet.jp/
Description: 魅力的な男性のためのプレミアムケア製品を提供するLAGNETの公式WordPressテーマ
Version: 1.0.0
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lagnet
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Base Variables - 公式サイトスタイル */
:root {
    --primary: #333;
    --secondary: #666;
    --accent: #e94560;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --border: #eee;
    --tag-bg: #ffebee;
    --success: #38b000;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* Header - シンプルでクリーン */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

/* ヘッダー固定に対応するためのボディパディング */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: 120px; /* ヘッダーとナビゲーションの高さ分のパディング */
}

/* フロントページでは余分なパディングを削除 */
body.home {
    padding-top: 70px; /* ヘッダーのみの高さ */
}

/* コラム詳細ページのパディング調整 */
body.single-column {
    padding-top: 70px; /* ヘッダーのみの高さ */
}

/* WordPress管理バーが表示されている場合の調整 */
body.admin-bar .header {
    top: 32px; /* デスクトップの管理バーの高さ */
}

@media (max-width: 782px) {
    body.admin-bar .header {
        top: 46px; /* モバイルの管理バーの高さ */
    }
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
}

.close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--primary);
}

/* Mobile menu button */
.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
    padding: 8px;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 98;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    display: block;
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: background-color 0.2s ease;
}

.mobile-menu a:hover {
    background-color: var(--bg-light);
    color: var(--accent);
}

/* Hero Section - 公式サイトのコンセプト */
.hero {
    background: linear-gradient(rgba(248, 248, 248, 0.85), rgba(255, 255, 255, 0.85)), url('assets/images/lagnet_top.jpg') center/cover;
    color: var(--text-dark);
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23e94560" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

/* Floating particles animation */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 15s infinite linear;
}

.particle:nth-child(2) { animation-delay: 2s; left: 20%; }
.particle:nth-child(3) { animation-delay: 4s; left: 40%; }
.particle:nth-child(4) { animation-delay: 6s; left: 60%; }
.particle:nth-child(5) { animation-delay: 8s; left: 80%; }

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

.hero-logo {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 1rem;
}

.hero-logo span {
    color: var(--accent);
}

.hero-concept {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-concept strong {
    color: var(--primary);
    font-weight: 600;
}

/* Hero product showcase */
.hero-products {
    position: relative;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-product-item {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    color: var(--accent);
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-product-item:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(233, 69, 96, 0.3);
}

.hero-product-item:nth-child(1) { animation-delay: 0s; }
.hero-product-item:nth-child(2) { animation-delay: 1s; }
.hero-product-item:nth-child(3) { animation-delay: 2s; }

.hero-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

/* Buttons - 公式サイトスタイル */
.button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.button:hover {
    background-color: #d63447;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

/* Navigation - シンプル */
.nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 16px;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: fixed;
    top: 70px; /* ヘッダーの下に配置 */
    left: 0;
    right: 0;
    z-index: 99;
}

/* ナビゲーション固定に対応するためのメインコンテンツマージン */
main.container {
    margin-top: 0; /* ボディのパディングで対応するため削除 */
}

.nav a {
    text-decoration: none;
    color: var(--primary);
    padding: 0 16px;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--accent);
}

/* Section Titles */
.section-title {
    font-size: 24px;
    text-align: center;
    margin: 40px 0 24px;
    padding: 0 16px;
    color: var(--primary);
    font-weight: 700;
}

.product-subtext {
    text-align: center;
    color: var(--secondary);
    margin-bottom: 32px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.6;
}

/* Product Images */
.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.product-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(233, 69, 96, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.product-card:hover .product-image::before {
    transform: translateX(100%);
}

.product-image-placeholder {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    animation: pulse 2s infinite;
    display: none;
}

/* Product icons for each category */
.product-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: bounce 2s infinite;
}

/* Product Cards - 公式サイトスタイル */
.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    margin: 16px auto;
    max-width: 600px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* PC specific layout for product cards */
@media (min-width: 1024px) {
    #products {
        padding: 0 20px;
    }
    
    .products-wrapper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        align-items: stretch;
    }
    
    .product-card {
        margin: 0;
        max-width: none;
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(233, 69, 96, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-header {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tag {
    display: inline-block;
    background-color: var(--tag-bg);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-title {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

.product-description {
    color: var(--secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
    min-height: 80px;
}

.product-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
    min-height: 120px;
}

.product-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 14px;
}

.product-features li::before {
    content: '✓';
    color: var(--success);
    margin-right: 8px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-section {
    background-color: var(--bg-light);
    padding: 20px 24px;
    text-align: center;
    margin-top: auto;
}

.price-label {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.price-amount {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
}

.price-note {
    font-size: 12px;
    color: var(--secondary);
    margin-bottom: 16px;
}

/* Gallery section for product showcase */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 24px 0;
    padding: 0 16px;
}

.gallery-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-item:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.gallery-item:hover::before {
    left: 100%;
}

/* Reviews Section */
.review-section {
    background-color: var(--bg-light);
    padding: 40px 0;
}

.review {
    background-color: var(--bg-white);
    padding: 20px;
    margin: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    margin-bottom: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent), #ff6b81);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.review-avatar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.review-meta {
    flex: 1;
}

.review-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--primary);
}

.review-stars {
    color: #ffb400;
    font-size: 14px;
}

.review-text {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.review-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.review-link i {
    margin-left: 4px;
}

.review-link:hover {
    color: #d63447;
    transform: translateX(5px);
}

/* FAQ Section */
.faq-section {
    padding: 40px 20px 80px;
}

.faq-item {
    background-color: var(--bg-white);
    margin: 16px 0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    color: var(--primary);
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-answer {
    padding: 20px;
    color: var(--secondary);
    line-height: 1.6;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    padding: 60px 20px;
    text-align: center;
}

.cta-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 600;
}

.cta-text {
    color: var(--secondary);
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 0 auto;
}

/* Concept Section - 公式サイトのメインメッセージ */
.concept-section {
    padding: 60px 20px;
    background-color: var(--bg-white);
    text-align: center;
}

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

.concept-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--secondary);
    max-width: 500px;
    margin: 0 auto 32px;
}

.concept-highlight {
    background: linear-gradient(135deg, var(--tag-bg) 0%, #fff 100%);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 16px;
    position: relative;
    overflow: hidden;
}

.concept-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(233, 69, 96, 0.05), transparent);
    animation: rotate 10s linear infinite;
    pointer-events: none;
}

.concept-highlight h3 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.concept-highlight p {
    color: var(--primary);
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Feature icons with animation */
.feature-icon {
    display: inline-block;
    font-size: 3rem;
    margin-bottom: 16px;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    border-radius: 50%;
    opacity: 0.2;
    animation: iconPulse 3s ease-in-out infinite;
}

/* Floating Footer - モバイル対応 */
.floating-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.footer-button {
    flex: 1;
    padding: 12px 8px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    border-radius: 8px;
    margin: 0 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: white;
}

.footer-button:hover {
    transform: translateY(-2px);
}

.footer-button-primary {
    background-color: var(--accent);
}

.footer-button-secondary {
    background-color: #1a1a2e;
}

.footer-button-tertiary {
    background-color: #4a6a8a;
}

.footer-button-text {
    display: block;
    font-size: 11px;
    opacity: 0.9;
    margin-top: 2px;
}

/* Interactive elements */
.interactive-bg {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero-logo {
        font-size: 2.5rem;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .cta-subtitle {
        font-size: 18px;
    }
    
    /* Show mobile menu button on small screens */
    .menu-button {
        display: block;
    }
    
    /* Hide desktop navigation on mobile */
    .nav {
        display: none;
    }
    
    /* Show mobile menu structure on mobile */
    .mobile-menu {
        display: block;
    }
    
    /* Adjust body padding for mobile */
    body {
        padding-top: 70px;
    }
    
    /* フロントページのモバイル調整 */
    body.home {
        padding-top: 70px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0);
    }
    50% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading State */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* WordPress Specific Styles */
.site-main {
    min-height: calc(100vh - 200px);
}

.entry-content img {
    max-width: 100%;
    height: auto;
}

.wp-block-button__link {
    background-color: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    background-color: #d63447;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

/* WordPress Navigation Menu */
.wp-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.wp-menu li {
    position: relative;
}

.wp-menu a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.wp-menu a:hover {
    color: var(--accent);
}

/* WordPress Widgets */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

/* WordPress Comments */
.comment-list {
    list-style: none;
}

.comment {
    margin-bottom: 20px;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.comment-author {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}

.comment-content {
    color: var(--secondary);
    line-height: 1.6;
}

/* WordPress Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    background-color: var(--bg-light);
    color: var(--primary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--accent);
    color: white;
}

/* Column Styles - コラム関連のスタイル */
.column-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.column-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 69, 96, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.section-subtitle {
    font-size: 18px;
    color: var(--secondary);
    margin-top: 10px;
}

.column-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Featured Column */
.featured-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.featured-column-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.featured-column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.column-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
}

.column-image-placeholder.large {
    height: 400px;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.featured-column-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.column-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.column-category {
    background: var(--tag-bg);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.column-category:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.featured-column-title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.featured-column-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-column-title a:hover {
    color: var(--accent);
}

.column-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.column-meta i {
    margin-right: 5px;
    color: var(--accent);
}

.column-excerpt {
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.column-read-more {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.column-read-more:hover {
    gap: 12px;
    color: #d63447;
}

/* Columns Grid */
.columns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Column Card */
.column-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.column-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.column-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.column-card:hover .column-card-image img {
    transform: scale(1.1);
}

.column-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.column-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.column-card:hover .column-hover-effect {
    opacity: 1;
}

.column-card-content {
    padding: 25px;
}

.column-card-title {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.column-card-title a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.column-card-title a:hover {
    color: var(--accent);
}

.column-card-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.column-card-excerpt {
    color: var(--secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.column-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.column-tag {
    color: var(--secondary);
    font-size: 12px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.column-tag:hover {
    color: var(--accent);
}

/* More Link */
.column-more-link {
    text-align: center;
    margin-top: 60px;
}

.button-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.button-outline:hover {
    background: var(--accent);
    color: white;
}

/* Archive Hero */
.archive-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    color: white;
    overflow: hidden;
}

.archive-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.archive-hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.archive-hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.column-categories-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.category-filter-item {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-filter-item:hover,
.category-filter-item.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 80px;
    opacity: 0.1;
    animation: floatRandom 20s infinite ease-in-out;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 20%;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 30%;
}

/* Column Archive */
.columns-archive-section {
    padding: 60px 0;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    cursor: pointer;
}

/* Featured Columns Slider */
.featured-columns-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.featured-columns-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.featured-column-slide {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.featured-slide-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.featured-slide-content {
    padding: 30px;
}

.featured-slide-title {
    font-size: 24px;
    margin: 20px 0;
}

.featured-slide-title a {
    color: var(--primary);
    text-decoration: none;
}

.featured-slide-title a:hover {
    color: var(--accent);
}

/* Popular Columns */
.popular-columns-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.popular-columns-list {
    max-width: 800px;
    margin: 0 auto;
}

.popular-column-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    margin-bottom: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.popular-column-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(10px);
}

.popular-rank {
    font-size: 28px;
    font-weight: bold;
    color: var(--accent);
    width: 40px;
    text-align: center;
}

.popular-column-content {
    flex: 1;
}

.popular-column-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.popular-column-title a {
    color: var(--primary);
    text-decoration: none;
}

.popular-column-title a:hover {
    color: var(--accent);
}

/* Tags Cloud */
.tags-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.tag-cloud-item {
    padding: 10px 20px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 25px;
    font-size: calc(14px * var(--size));
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.tag-cloud-item:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

.tag-count {
    font-size: 12px;
    opacity: 0.7;
}

/* Newsletter CTA */
.newsletter-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #d63447 100%);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
}

.newsletter-form .button {
    background: white;
    color: var(--accent);
    padding: 15px 30px;
}

.newsletter-form .button:hover {
    background: var(--bg-light);
}

/* Single Column Styles */
.single-column-main {
    width: 100%;
    overflow-x: hidden;
}

.column-hero {
    position: relative;
    background: #1a1a2e;
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.column-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.column-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.column-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 0;
}

.column-hero .column-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.column-title {
    font-size: 48px;
    margin: 20px 0 30px;
    line-height: 1.3;
    animation: fadeInUp 0.8s ease;
}

.column-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.column-author img {
    border-radius: 50%;
    border: 3px solid white;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
}

.column-date {
    font-size: 14px;
    opacity: 0.8;
}

.column-stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.column-stats i {
    margin-right: 5px;
}

/* Column Content */
.column-content-wrapper {
    padding: 80px 0;
    background: var(--bg-light);
}

.column-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    max-width: 100%;
    margin: 0 auto;
}

.column-main-content {
    background: white;
    padding: 80px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    width: 100%;
}

/* Table of Contents */
.table-of-contents {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent);
}

.toc-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.toc-list a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
}

.toc-list a:hover {
    color: var(--accent);
    padding-left: 10px;
}

/* Entry Content Styling */
.entry-content h2 {
    font-size: 36px;
    margin: 48px 0 24px;
    color: var(--primary);
    position: relative;
    padding-left: 20px;
    font-weight: 700;
}

.entry-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--accent);
}

.entry-content h3 {
    font-size: 28px;
    margin: 36px 0 20px;
    color: var(--primary);
    font-weight: 600;
}

.entry-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 18px;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0 20px 20px;
}

.entry-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.entry-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--secondary);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

/* Column Tags */
.column-tags {
    margin: 40px 0;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.tags-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Share Buttons */
.share-buttons {
    margin: 40px 0;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.share-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.share-buttons-list {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.share-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 20px;
}

.share-button.twitter {
    background: #1da1f2;
}

.share-button.facebook {
    background: #4267b2;
}

.share-button.line {
    background: #00c300;
}

.share-button.copy-link {
    background: var(--secondary);
    border: none;
    cursor: pointer;
}

.share-button:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 30px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
    margin: 40px 0;
}

.author-avatar img {
    border-radius: 50%;
}

.author-details {
    flex: 1;
}

.author-box .author-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.author-box .author-name a {
    color: var(--primary);
    text-decoration: none;
}

.author-bio {
    color: var(--secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    color: var(--secondary);
    font-size: 20px;
    transition: color 0.3s ease;
}

.author-social a:hover {
    color: var(--accent);
}

/* Column Sidebar */
.column-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.reading-progress {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 30px;
}

.progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.3s ease;
}

.quick-share {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.quick-share h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
}

.quick-share-buttons {
    display: flex;
    gap: 10px;
}

.quick-share-button {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.quick-share-button.twitter {
    background: #1da1f2;
}

.quick-share-button.facebook {
    background: #4267b2;
}

.quick-share-button.bookmark {
    background: var(--secondary);
}

.quick-share-button:hover {
    transform: translateY(-2px);
}

/* Sidebar Widget */
.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--primary);
}

.mini-product {
    margin-bottom: 15px;
}

.mini-product a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mini-product:hover a {
    transform: translateX(5px);
}

.mini-product img,
.product-thumb-placeholder {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.product-thumb-placeholder {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.mini-product-info h5 {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 5px;
}

.mini-product-info .price {
    color: var(--accent);
    font-weight: 600;
}

/* Related Columns */
.related-columns {
    padding: 80px 0;
    background: var(--bg-light);
}

/* Column Navigation */
.column-navigation {
    background: white;
    padding: 40px 0;
}

.column-navigation .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-link:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.nav-content {
    display: flex;
    flex-direction: column;
}

.nav-label {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
}

.nav-prev {
    justify-content: flex-start;
}

.nav-next {
    justify-content: flex-end;
    text-align: right;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 60px 0;
}

.button-small {
    padding: 10px 20px;
    font-size: 14px;
}

/* Animations */
@keyframes floatRandom {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-column {
        grid-template-columns: 1fr;
    }
    
    .column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar-sticky {
        position: static;
    }
}

/* Tablet styles */
@media (max-width: 1200px) {
    .column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .column-sidebar {
        display: none;
    }
    
    .column-main-content {
        max-width: 800px;
        margin: 0 auto;
        padding: 60px;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .archive-hero-title {
        font-size: 36px;
    }
    
    .columns-grid {
        grid-template-columns: 1fr;
    }
    
    .column-title {
        font-size: 32px;
    }
    
    .column-hero-content {
        padding: 60px 20px;
    }
    
    .column-hero-content .container {
        padding: 0 15px;
    }
    
    .column-main-content {
        padding: 30px 20px;
        max-width: 100%;
    }
    
    .entry-content p {
        font-size: 16px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .column-navigation .container {
        flex-direction: column;
    }
    
    .featured-columns-slider {
        grid-template-columns: 1fr;
    }
    
    /* Hero concept CTA mobile style */
    .mobile-break {
        display: none;
    }
    
    .hero-concept-cta .mobile-break {
        display: inline;
    }
    
    .hero-concept-cta .mobile-break::after {
        content: "\A";
        white-space: pre;
    }
}