/* リセットとベース */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #333;
    color: #fff;
    border: none;
}

.primary-btn:hover {
    background-color: #555;
}

.outline-btn {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.outline-btn:hover {
    background-color: #333;
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #333;
    margin: 15px auto 0;
}

/* ヘッダー */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 500;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
}

.icon-link {
    margin-left: 15px;
    font-size: 18px;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #333;
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #fff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}



.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* 商品カード */
.featured-products {
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    overflow: hidden;
    padding-top: 100%; /* 正方形にする */
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    z-index: 1;
}

.product-tag.new {
    background-color: #4CAF50;
    color: #fff;
}

.product-tag.sale {
    background-color: #f44336;
    color: #fff;
}

.product-tag.limited {
    background-color: #9C27B0;
    color: #fff;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn:hover {
    background-color: #f8f8f8;
}

.wishlist-btn.active i {
    color: #f44336;
    font-weight: 900;
}

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart-btn {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: rgba(255,255,255,0.9);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

 .add-to-cart-btn:hover {
    background-color: #333;
    color: #fff;
}

.add-to-cart-btn {
    background-color: rgba(51,51,51,0.9);
    color: #fff;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.product-price {
    display: flex;
    align-items: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
    font-size: 14px;
}

.current-price {
    font-weight: 700;
    font-size: 16px;
    color: #333;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* カテゴリーセクション */
.categories {
    padding: 60px 0;
    background-color: #fff;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.category-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
}

.category-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.category-info p {
    font-size: 14px;
    opacity: 0.8;
}

/* 特集セクション */
.special-feature {
    background-image: url('../images/special-feature-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    position: relative;
}

.special-feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.feature-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    padding: 0 20px;
}

.feature-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 16px;
    margin-bottom: 25px;
}

/* 最新ニュース */
.latest-news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.news-date {
    display: block;
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.news-info p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover:after {
    margin-left: 8px;
}

/* ニュースレター */
.newsletter {
    background-color: #f0f0f0;
    padding: 60px 0;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.newsletter-form button {
    border-radius: 0 4px 4px 0;
}

/* フッター */
.footer {
    background-color: #333;
    color: #fff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: #fff;
    margin-top: 10px;
}

.footer-column p {
    margin-bottom: 20px;
    font-size: 14px;
    color: #ccc;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #fff;
    color: #333;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    color: #ccc;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

.contact-info li i {
    margin-right: 10px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.payment-methods {
    display: flex;
    align-items: center;
}

.payment-methods span {
    margin-right: 10px;
    font-size: 14px;
}

.payment-methods img {
    height: 24px;
    margin-right: 8px;
}

.copyright {
    font-size: 14px;
    color: #aaa;
}

/* クイックビューモーダル */
.quick-view-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1100;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    max-width: 900px;
    width: 90%;
    border-radius: 8px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    padding: 20px;
}

.product-quick-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.product-image-gallery {
    height: 400px;
}

.product-image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-details h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-description {
    margin: 20px 0;
    font-size: 14px;
    color: #555;
}

.variant-group {
    margin-bottom: 15px;
}

.variant-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
}

.variant-btn {
    padding: 8px 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.variant-btn:hover, .variant-btn.active {
    background-color: #333;
    border-color: #333;
    color: #fff;
}

.color-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn.active {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #333;
}

.product-quantity {
    margin: 20px 0;
}

.quantity-selector {
    display: flex;
    align-items: center;
    max-width: 120px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    cursor: pointer;
}

.qty-input {
    width: 40px;
    height: 30px;
    text-align: center;
    border: 1px solid #ddd;
    border-left: none;
    border-right: none;
}

.product-actions-modal {
    display: flex;
    margin-top: 20px;
}

.product-actions-modal button {
    margin-right: 10px;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-quick-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 4px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .payment-methods {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .hero h2 {
        font-size: 32px;
    }
}

/* ==========================================
   マイページ専用スタイル
   style.css の最後に追加してください
   ========================================== */

/* マイページ基本レイアウト */
.account-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 80px);
    padding: 2rem 0;
}

.account-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    color: white;
}

.account-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.account-avatar-large {
    position: relative;
    font-size: 4rem;
    color: rgba(255,255,255,0.9);
}

.avatar-decoration {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ff6b6b;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
}

.account-header-info h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.account-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* アラート */
.alert-container {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b6d7a8;
    color: #155724;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f1aeb5;
    color: #721c24;
}

/* メインコンテナ */
.account-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

/* サイドバー */
.account-sidebar {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: fit-content;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.account-user {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.account-avatar {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.account-name h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.member-since {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* ナビゲーション */
.account-nav ul {
    list-style: none;
    padding: 0;
}

.account-nav li {
    margin-bottom: 0.5rem;
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: #666;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.account-nav a:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateX(5px);
}

.account-nav a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-decoration {
    position: absolute;
    right: 1rem;
    width: 4px;
    height: 20px;
    background: #667eea;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-nav a.active .nav-decoration {
    opacity: 1;
}

.nav-divider {
    height: 1px;
    background: #e9ecef;
    margin: 1rem 0;
}

.logout-link {
    color: #dc3545 !important;
}

.logout-link:hover {
    background: #fff5f5 !important;
    color: #dc3545 !important;
}

/* メインコンテンツ */
.account-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ダッシュボード */
.dashboard-welcome {
    margin-bottom: 2rem;
}

.welcome-card {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    border-radius: 15px;
    padding: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.welcome-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.welcome-content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* 統計カード */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
}

.stat-icon {
    font-size: 2rem;
}

.stat-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.stat-info p {
    color: #666;
    margin: 0;
}

/* ダッシュボードカード */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card.highlight {
    border: 2px solid #ff6b6b;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.card-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-header h3 {
    margin: 0;
    color: #333;
}

.card-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.card-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    color: white;
}

/* 最近の注文 */
.recent-orders {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    font-size: 1.3rem;
}

.section-header p {
    color: #666;
    margin-top: 0.5rem;
}

/* テーブル */
.orders-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.orders-table.modern {
    width: 100%;
    border-collapse: collapse;
}

.orders-table.modern thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.orders-table.modern th,
.orders-table.modern td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.orders-table.modern th {
    font-weight: 600;
    font-size: 0.95rem;
}

.orders-table.modern tbody tr:hover {
    background: #f8f9fa;
}

.order-number {
    font-family: monospace;
    background: #e9ecef;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.price {
    font-weight: 600;
    color: #333;
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.shipped {
    background: #d4edda;
    color: #155724;
}

.order-status.delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status.canceled {
    background: #f8d7da;
    color: #721c24;
}

.detail-btn {
    background: #6c757d;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.detail-btn:hover {
    background: #5a6268;
    color: white;
}

/* 空状態 */
.no-orders, .no-wishlist {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.no-orders-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-orders h4, .no-wishlist h4 {
    color: #333;
    margin-bottom: 1rem;
}

.no-orders p, .no-wishlist p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.view-all {
    text-align: center;
    margin-top: 1.5rem;
}

/* フォーム関連 */
.form-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
}

.modern-form {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 1rem;
}

.toggle-password:hover {
    color: #333;
}

.field-help {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.required {
    color: #dc3545;
}

.optional {
    color: #6c757d;
    font-weight: 400;
    font-size: 0.9rem;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* パスワード強度 */
.password-strength {
    margin-top: 0.5rem;
}

.strength-meter {
    width: 100%;
    height: 4px;
    background: #e1e1e1;
    border-radius: 2px;
    margin-bottom: 0.25rem;
}

.strength-meter-fill {
    height: 100%;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 0%;
}

.strength-meter-fill[data-strength="1"] {
    width: 25%;
    background: #dc3545;
}

.strength-meter-fill[data-strength="2"] {
    width: 50%;
    background: #ffc107;
}

.strength-meter-fill[data-strength="3"] {
    width: 75%;
    background: #17a2b8;
}

.strength-meter-fill[data-strength="4"] {
    width: 100%;
    background: #28a745;
}

.strength-text {
    font-size: 0.85rem;
    color: #666;
}

.password-match {
    margin-top: 0.5rem;
    color: #28a745;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* セキュリティ通知 */
.security-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
}

.notice-icon {
    font-size: 2rem;
    color: #667eea;
}

.notice-content h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.notice-content ul {
    margin: 0;
    padding-left: 1rem;
}

.notice-content li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

/* お気に入りグリッド */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.wishlist-product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.wishlist-product-card:hover {
    transform: translateY(-5px);
}

.wishlist-product-card .product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.wishlist-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-product-card:hover .product-image img {
    transform: scale(1.05);
}

.remove-wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-wishlist-btn:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.wishlist-product-card .product-info {
    padding: 1rem;
}

.wishlist-product-card .product-info h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.wishlist-product-card .product-info h3 a {
    color: #333;
    text-decoration: none;
}

.wishlist-product-card .product-info h3 a:hover {
    color: #667eea;
}

.wishlist-product-card .product-price {
    margin-bottom: 0.5rem;
}

.wishlist-product-card .old-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.wishlist-product-card .current-price {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.wishlist-product-card .product-stock {
    margin-bottom: 1rem;
}

.in-stock {
    color: #28a745;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.out-of-stock {
    color: #dc3545;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.wishlist-product-card .product-actions {
    padding: 0 1rem 1rem;
}

.wishlist-product-card .btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.secondary-btn {
    background: #6c757d;
    color: white;
}

.secondary-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ユーティリティクラス */
.text-blue { color: #007bff; }
.text-pink { color: #e91e63; }
.text-yellow { color: #ffc107; }
.text-green { color: #28a745; }

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .account-container {
        grid-template-columns: 250px 1fr;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .wishlist-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        order: 2;
    }
    
    .account-content {
        order: 1;
    }
    
    .account-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .welcome-card {
        flex-direction: column;
        text-align: center;
    }
    
    .orders-table-container {
        overflow-x: auto;
    }
    
    .orders-table.modern {
        min-width: 600px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr;
    }
    
    .security-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .notice-icon {
        align-self: center;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   マイページスタイル終了
   ========================================== */

/* モバイルメニューボタンの基本スタイル */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* レスポンシブ - 768px以下でハンバーガーボタンを表示 */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* モバイルメニューの基本スタイル */
.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: #fff;
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
}

/* アクティブ状態 */
.mobile-menu.active {
    display: block !important;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   スマホ版マイページ対応CSS修正
   =========================================== */

@media (max-width: 768px) {
    
    /* メインコンテナ */
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0 auto;
        box-sizing: border-box;
    }
    
    /* マイページ全体 */
    .account-container {
        display: block !important;
        max-width: 100%;
        padding: 15px;
        margin: 0;
        box-sizing: border-box;
    }
    
    /* サイドバーをモバイル対応 */
    .account-sidebar {
        width: 100% !important;
        margin-bottom: 20px;
        position: relative !important;
    }
    
    /* メインコンテンツ */
    .account-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0;
    }
    
    /* ヘッダー部分 */
    .account-header {
        padding: 20px 15px;
        text-align: center;
        box-sizing: border-box;
    }
    
    .account-header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .page-title {
        font-size: 1.5rem !important;
        margin-bottom: 10px;
        word-break: break-word;
        text-align: center;
    }
    
    .account-subtitle {
        font-size: 0.9rem;
        text-align: center;
        word-break: break-word;
    }
    
    /* 統計カード */
    .dashboard-stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
        margin: 20px 0;
    }
    
    .stat-card {
        padding: 15px 10px;
        text-align: center;
        border-radius: 8px;
        box-sizing: border-box;
    }
    
    /* ダッシュボードカード */
    .dashboard-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 15px;
        margin: 20px 0;
    }
    
    .dashboard-card {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* テーブル対応 */
    .orders-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .orders-table {
        min-width: 500px;
        font-size: 0.8rem;
    }
    
    /* フォーム */
    .form-container {
        max-width: 100%;
        padding: 0;
    }
    
    .account-form {
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 1rem;
        box-sizing: border-box;
    }
    
    .form-row {
        display: block !important;
    }
    
    .form-row .form-group {
        width: 100% !important;
        margin-right: 0 !important;
    }
    
    /* ボタン */
    .btn {
        width: 100%;
        padding: 15px;
        font-size: 1rem;
        border-radius: 8px;
        text-align: center;
        box-sizing: border-box;
        margin-bottom: 10px;
    }
    
    /* お気に入りグリッド */
    .wishlist-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 15px;
    }
    
    .wishlist-product-card {
        width: 100% !important;
        box-sizing: border-box;
    }
    
    /* 横スクロール防止 */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* 画像の調整 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* テキストの改行対応 */
    .text-break,
    .order-number,
    .account-name h3 {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

/* より小さな画面対応 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .page-title {
        font-size: 1.3rem !important;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr !important;
    }
    
    .wishlist-grid {
        grid-template-columns: 1fr !important;
    }
    
    .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
}

/* 支払い方法アイコンの統一スタイル */
.payment-methods, .payment-methods-icons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.payment-methods span, .payment-methods-icons span {
    margin-right: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.payment-methods i, .payment-methods-icons i {
    font-size: 1.8rem;
    margin: 0 3px;
    transition: transform 0.2s ease;
}

.payment-methods i:hover, .payment-methods-icons i:hover {
    transform: scale(1.1);
}

/* カート用の支払いアイコン */
.cart-summary .payment-methods-icons {
    justify-content: center;
    margin-top: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.cart-summary .payment-methods-icons span {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
    font-size: 13px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .payment-methods, .payment-methods-icons {
        justify-content: center;
    }
    
    .payment-methods i, .payment-methods-icons i {
        font-size: 1.5rem;
        margin: 0 2px;
    }
}



.hero-content {
    max-width: 600px;
    padding: 0 20px;
    z-index: 2;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

/* === カテゴリー表示用CSS === */

/* index.php カテゴリーセクション */
.categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-info {
    padding: 20px;
}

.category-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #333;
}

.category-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-count {
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.view-more-categories {
    text-align: center;
    margin-top: 40px;
}

/* products.php カテゴリーヘッダー */
.category-header {
    margin-bottom: 40px;
}

.category-hero {
    position: relative;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.category-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-hero-image .category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

.category-hero-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    opacity: 0.7;
}

.category-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    color: white;
    text-align: center;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.category-hero-content .category-description {
    font-size: 1.1rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    color: white;
}

.category-stats {
    margin-top: 20px;
}

.category-stats .product-count {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .category-image {
        height: 150px;
    }
    
    .category-hero {
        height: 200px;
    }
    
    .category-hero-content {
        padding: 30px 20px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-hero-content .category-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .categories {
        padding: 40px 0;
    }
    
    .category-hero {
        height: 180px;
    }
    
    .category-hero-content {
        padding: 20px 15px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
}

/* ヒーローセクション（統一版） */
.hero {
    /* 背景画像の設定 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* パララックス効果 */
    
    /* レイアウト */
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* テキスト設定 */
    color: #fff;
    text-align: center;
    position: relative;
    
    /* フォールバック背景色 */
    background-color: #667eea;
}

/* 背景画像が読み込まれない場合のフォールバック */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 300px;
        background-attachment: scroll; /* モバイルでは固定背景を無効 */
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 250px;
        padding: 80px 15px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* ヒーロー背景画像 強制修正 - style.cssの一番最後に追加 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('images/hero-bg.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 60vh !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    text-align: center !important;
    position: relative !important;
}

/* 背景画像が読み込めない場合のフォールバック */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: -2;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 600px !important;
    padding: 0 20px !important;
}

.hero h2 {
    font-size: 3rem !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
    color: white !important;
}

.hero p {
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    color: white !important;
}

/* 案3: ../ を使った相対パス */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('../images/hero-bg.jpg') !important;
}