/* KOTARO & KOTOKO's Recommendations - POPEYE風デザイン継承 */

/* 基本設定・リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-font: 'Futura', 'Avenir', 'Helvetica Neue', 'Arial', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --heading-font: 'Futura', 'Avenir', 'Helvetica Neue', 'Arial', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --primary-font-weight: 400;
    --heading-font-weight: 900;
    --primary-color: #212529;
    --accent-color: #17a2b8;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
    --dark-gray: #495057;
    --cream: #fff8f0;
    --beige: #fdf6e3;
    --soft-gold: #f5f5dc;
    --kotaro-color: #17a2b8;
    --kotoko-color: #e83e8c;
}

/* 暖色系グラデーション背景 */
body {
    font-family: var(--primary-font);
    font-weight: var(--primary-font-weight);
    line-height: 1.6;
    background: linear-gradient(135deg,
        #f8f9fa 0%,
        #fff8f0 25%,
        #fdf6e3 50%,
        #f5f5dc 75%,
        #e9ecef 100%) !important;
    color: var(--primary-color);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}


/* パーティクル背景 */
#particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(23, 162, 184, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0; 
    }
    50% { 
        transform: translateY(-20px) rotate(180deg); 
        opacity: 1; 
    }
}

/* スクロールアニメーション - 一時的に無効化 */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* デコレーションライン */
.decorative-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #17a2b8 50%, transparent 100%);
    margin: 2rem auto;
    position: relative;
}

.decorative-line::before,
.decorative-line::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #17a2b8;
    border-radius: 50%;
    top: -1px;
}

.decorative-line::before { left: -10px; }
.decorative-line::after { right: -10px; }

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(222, 226, 230, 0.5);
    position: relative;
    overflow: hidden;
}

.header h1 {
    font-family: var(--heading-font);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    line-height: 0.9;
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.back-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

/* レイアウト調整（タブナビゲーション削除） */

/* 検索セクション */
.search-section {
    padding: 2rem 0;
    background: var(--light-gray);
}

.search-controls {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    min-width: 300px;
    outline: none;
}

.search-box button {
    padding: 1rem 1.5rem;
    border: none;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-box button:hover {
    background: var(--primary-color);
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-controls select {
    padding: 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    background: white;
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
}

/* メインコンテンツ */
.main-content {
    padding: 4rem 0;
}

.recommendations-section {
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-description {
    font-size: 1.1rem;
    color: var(--medium-gray);
    max-width: 800px;
    margin: 0 auto;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* カードグリッド */
.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.recommendation-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.recommendation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 200px;
    background: linear-gradient(45deg, var(--light-gray), var(--beige));
    object-fit: cover;
    width: 100%;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-category {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.card-recommender {
    color: var(--kotaro-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(23, 162, 184, 0.1);
    border-radius: 15px;
    display: inline-block;
}

.card-description {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.card-location,
.card-price {
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.card-location::before {
    content: "📍 ";
}

.card-price::before {
    content: "💰 ";
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.card-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

/* フィルター結果表示 */
.search-results {
    padding: 2rem 0;
    text-align: center;
}

.results-count {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 1rem;
}

.no-results {
    padding: 4rem 0;
    text-align: center;
    color: var(--medium-gray);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* フッター */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .search-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box input {
        min-width: 250px;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header {
        padding: 3rem 0;
    }
    
    .search-box input {
        min-width: 200px;
        padding: 0.8rem 1rem;
    }
    
    .search-box button {
        padding: 0.8rem 1rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
}