/* ============================================
   グローバルスタイル
   ============================================ */
:root {
    --primary-color: #0891b2;
    --primary-dark: #0e7490;
    --secondary-color: #f59e0b;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --text-dark: #000000;
    --text-light: #000000;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Times New Roman', '游ゴシック', 'Yu Gothic', 'YuGothic', sans-serif;
    color: #000000;
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* ============================================
   ヘッダー
   ============================================ */
.header {
    background: #000000;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .accent {
    color: #ffffff;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
    position: relative;
    height: 500px;
    background-image: url('https://page.gensparksite.com/v1/base64_upload/fb719b01821ca0453a7abd1680812fd7');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.hero-btn:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    border: 2px solid rgba(255, 255, 255, 1);
}

/* ============================================
   検索・フィルターセクション
   ============================================ */
.search-section {
    padding: 3rem 0;
    background-color: white;
}

.search-header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-filters {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.search-bar {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.search-bar input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.filter-item select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    background-color: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-reset:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
}

/* ============================================
   商品一覧
   ============================================ */
.products-section {
    padding: 3rem 0;
}

.products-stats {
    margin-bottom: 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.products-stats span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    width: 100%;
    height: 300px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-image-placeholder {
    font-size: 4rem;
    color: #ffffff;
    opacity: 0.3;
}

.product-info {
    padding: 1.5rem;
}

.product-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-type {
    background-color: #000000;
    color: #ffffff;
}

.badge-condition {
    background-color: #000000;
    color: #ffffff;
}

.badge-stock {
    background-color: #000000;
    color: #ffffff;
}

.badge-sold-out {
    background-color: #000000;
    color: #ffffff;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-brand {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000000;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-original {
    font-size: 1rem;
    color: #999999;
    text-decoration: line-through;
}

.price-sale {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc2626;
}

/* ============================================
   売り切れ商品のスタイル
   ============================================ */
.product-card.sold-out {
    opacity: 0.7;
    position: relative;
}

.product-card.sold-out .product-image {
    position: relative;
}

.sold-out-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Times New Roman', serif;
    letter-spacing: 0.1em;
    border: 2px solid #ffffff;
    z-index: 10;
}

.sold-out-price {
    color: #999999 !important;
}

.sold-out-notice {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    padding: 1rem;
    text-align: center;
    border-radius: 8px;
    color: #6b7280;
    font-weight: 600;
}

.sold-out-notice i {
    margin-right: 0.5rem;
}

.btn-view {
    padding: 0.5rem 1.5rem;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background-color: #333333;
}

/* ============================================
   ローディング・空状態
   ============================================ */
.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.5rem;
}

.loading-spinner i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-products i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-products p {
    font-size: 1.25rem;
}

/* ============================================
   モーダル
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 2% auto;
    padding: 0;
    border-radius: 12px;
    max-width: 800px;
    box-shadow: var(--shadow-xl);
    animation: slideDown 0.3s ease;
    position: relative;
}

.modal-large {
    max-width: 1000px;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--danger-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.modal-body h2 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================
   フォーム
   ============================================ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.btn-primary {
    padding: 0.75rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    padding: 0.75rem 2rem;
    background-color: var(--text-light);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--text-dark);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.order-summary {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.order-summary h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ============================================
   購入手続き - 配送に関する注意書き
   ============================================ */
.shipping-notice {
    background-color: #f9fafb;
    border: 1px solid #000000;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 4px;
}

.shipping-notice h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.25rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: 400;
}

.shipping-notice p {
    line-height: 1.8;
    color: #000000;
    margin-bottom: 0.5rem;
}

.shipping-warning {
    background-color: #ffffff;
    border-left: 3px solid #000000;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
}

.shipping-warning h4 {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.shipping-warning p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 0.5rem;
}

.shipping-warning .contact-info {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

.shipping-warning .contact-info a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
}

.shipping-warning .contact-info a:hover {
    opacity: 0.7;
}

/* ============================================
   銀行振込情報
   ============================================ */
.bank-transfer-info {
    background-color: #000000;
    color: #ffffff;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.bank-transfer-info h3 {
    font-family: 'Times New Roman', serif;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.bank-details {
    background-color: #ffffff;
    color: #000000;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    color: #666666;
    font-size: 0.9rem;
}

.bank-value {
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
    text-align: right;
}

.bank-notes {
    color: #ffffff;
}

.bank-notes p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.bank-notes i {
    margin-right: 0.5rem;
}

/* ============================================
   管理画面
   ============================================ */
.admin-section {
    padding: 3rem 0;
    min-height: calc(100vh - 80px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-dark);
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-filters .search-bar {
    flex: 1;
    margin-bottom: 0;
}

.admin-filters select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.table-container {
    background-color: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: var(--shadow-md);
}

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

.admin-table thead {
    background-color: var(--bg-light);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table tr:hover {
    background-color: var(--bg-light);
}

.table-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    padding: 0.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-edit {
    background-color: #dbeafe;
    color: #1e40af;
}

.btn-edit:hover {
    background-color: #3b82f6;
    color: white;
}

.btn-delete {
    background-color: #fee2e2;
    color: #991b1b;
}

.btn-delete:hover {
    background-color: #ef4444;
    color: white;
}

/* ============================================
   公開/非公開トグルボタン
   ============================================ */
.btn-toggle {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-toggle.published {
    background-color: #d1fae5;
    color: #065f46;
}

.btn-toggle.published:hover {
    background-color: #10b981;
    color: white;
}

.btn-toggle.unpublished {
    background-color: #fee2e2;
    color: #991b1b;
}

.btn-toggle.unpublished:hover {
    background-color: #ef4444;
    color: white;
}

.btn-detail {
    background-color: #e0e7ff;
    color: #4338ca;
}

.btn-detail:hover {
    background-color: #6366f1;
    color: white;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-available {
    background-color: #d1fae5;
    color: #065f46;
}

.status-low {
    background-color: #fef3c7;
    color: #92400e;
}

.status-out {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-ordering {
    background-color: #dbeafe;
    color: #1e40af;
}

/* ============================================
   分析カード
   ============================================ */
.analytics-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.analytics-card {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.card-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.card-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.analytics-charts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.chart-container {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.chart-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-section p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    color: #000000;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #e5e5e5;
    transform: scale(1.1);
}

.social-icon i {
    color: #000000;
}

/* ============================================
   管理者ログインアイコン
   ============================================ */
.admin-icon-btn {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.admin-icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
    transform: scale(1.15);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* ============================================
   管理者ログインモーダル
   ============================================ */
.modal-small {
    max-width: 400px;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.login-error {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    text-align: center;
}

/* ============================================
   レスポンシブデザイン
   ============================================ */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .search-header h2 {
        font-size: 1.75rem;
    }

    .filter-group {
        grid-template-columns: 1fr;
    }

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

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 1rem;
    }

    .admin-filters {
        flex-direction: column;
    }

    .table-container {
        overflow-x: scroll;
    }

    .analytics-cards {
        grid-template-columns: 1fr;
    }

    .analytics-charts {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 5% 10px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .hero {
        height: 350px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* ============================================
   プライバシーポリシーページ
   ============================================ */
.privacy-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: 'Times New Roman', serif;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.privacy-section h2 i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.privacy-section p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.privacy-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.privacy-list li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.privacy-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.contact-info {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    min-width: 100px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.contact-item span,
.contact-item a {
    color: var(--text-dark);
    flex: 1;
}

.contact-item a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Times New Roman', serif;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.btn-back:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-back i {
    margin-right: 0.5rem;
}

/* プライバシーポリシー - レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-content {
        padding: 2rem 1.5rem !important;
    }
    
    .privacy-section h2 {
        font-size: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .contact-item strong {
        min-width: auto;
    }
}

/* ============================================
   利用規約ページ
   ============================================ */
.terms-list {
    list-style: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.terms-list li {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.terms-list li:last-child {
    margin-bottom: 0;
}