/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

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

/* ヘッダー */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #764ba2;
    margin-bottom: 5px;
}

.logo a {
    color: #764ba2;
    text-decoration: none;
}

.tagline {
    color: #666;
    font-size: 14px;
}

.breadcrumb {
    margin-top: 10px;
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #764ba2;
    text-decoration: none;
}

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

/* メインコンテンツ */
.main {
    padding: 40px 0;
}

/* ヒーローセクション */
.hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 60px 40px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 36px;
    color: #764ba2;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* 検索ボックス */
.search-box {
    display: flex;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #764ba2;
}

.search-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
}

/* フィルターセクション */
.filters {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.filters h3 {
    color: #764ba2;
    margin-bottom: 15px;
}

.filter-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group label {
    font-weight: 600;
    color: #555;
}

.filter-group select {
    padding: 8px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.filter-group select:focus {
    border-color: #764ba2;
}

/* 女優リストセクション */
.actress-list {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.actress-list h3 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 24px;
}

.count {
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

/* グリッドレイアウト */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

/* 女優カード */
.actress-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.actress-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.3);
}

.actress-card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.actress-card-body {
    padding: 20px;
}

.actress-card-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.actress-card-ruby {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.actress-card-stats {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.actress-card-stats span {
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 5px;
}

/* 女優詳細ページ */
.actress-detail {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-header {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.profile-image img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.profile-info {
    flex: 1;
}

.actress-name {
    font-size: 36px;
    color: #764ba2;
    margin-bottom: 10px;
}

.actress-ruby {
    font-size: 16px;
    color: #999;
    margin-bottom: 30px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

.stat-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table th,
.detail-table td {
    padding: 12px;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.detail-table th {
    width: 120px;
    font-weight: 600;
    color: #764ba2;
}

/* 作品セクション */
.works-section {
    margin-top: 40px;
}

.works-section h2 {
    color: #764ba2;
    margin-bottom: 20px;
    font-size: 28px;
}

.works-filter {
    margin-bottom: 20px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.work-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.3);
}

.work-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.work-body {
    padding: 15px;
}

.work-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.work-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.work-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.genre-tag {
    font-size: 11px;
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 5px;
    color: #666;
}

.work-actions {
    display: flex;
    gap: 10px;
}

.btn-sample,
.btn-purchase {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-sample {
    background: #e0e0e0;
    color: #333;
}

.btn-purchase {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-sample:hover,
.btn-purchase:hover {
    opacity: 0.9;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination button {
    padding: 10px 15px;
    border: 2px solid #764ba2;
    background: white;
    color: #764ba2;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.pagination button:hover,
.pagination button.active {
    background: #764ba2;
    color: white;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ローディング */
.loading {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* フッター */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
    color: #666;
}

.disclaimer {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
    line-height: 1.6;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 28px;
    }

    .search-box {
        flex-direction: column;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .profile-header {
        flex-direction: column;
    }

    .profile-image img {
        width: 100%;
        height: auto;
    }

    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-grid {
        grid-template-columns: 1fr;
    }
}
