/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header */
.header {
    background: white;
    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: 1rem 20px;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #007bff;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="60" r="3" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

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

.sale-text {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #feca57;
    font-weight: 700;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Payment Methods */
.payment-methods {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.payment-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.payment-item {
    flex: 1;
    max-width: 150px;
}

.payment-icon {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    color: white;
    transition: transform 0.3s;
}

.payment-icon:hover {
    transform: translateY(-2px);
}

.payment-icon.yahoo {
    background: #ff0033;
}

.payment-icon.paypay {
    background: #ff6b00;
}

.payment-icon.line {
    background: #00c300;
}

/* Coupon Section */
.coupon-section {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 3rem 0;
}

.coupon-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.coupon-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(79, 172, 254, 0.1) 10px,
        rgba(79, 172, 254, 0.1) 20px
    );
    animation: slide 3s linear infinite;
}

@keyframes slide {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.coupon-header {
    position: relative;
    z-index: 2;
}

.coupon-title {
    font-size: 2rem;
    color: #4facfe;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.coupon-subtitle {
    color: #666;
    margin-bottom: 2rem;
}

.coupon-content {
    position: relative;
    z-index: 2;
}

.coupon-discount {
    font-size: 3rem;
    font-weight: 900;
    color: #ff6b6b;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.coupon-btn {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

/* Ranking Section */
.ranking-section {
    background: white;
    padding: 3rem 0;
    text-align: center;
}

.section-header .section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.ranking-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.ranking-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 60,35 85,35 65,55 75,80 50,65 25,80 35,55 15,35 40,35" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    background-size: 50px 50px;
    animation: twinkle 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.ranking-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.ranking-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

/* Products Section */
.products-section {
    padding: 3rem 0;
}

.products-category {
    margin-bottom: 3rem;
}

.category-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid #4facfe;
}

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

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image::before {
    content: '商品画像';
    color: #999;
    font-size: 0.9rem;
}

.product-image.bag-item {
    background: linear-gradient(45deg, #ff9a9e, #fecfef);
}

.product-image.bag-item::before {
    content: 'バッグ';
    color: white;
    font-weight: bold;
}

.product-image.clothing-item {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.product-image.clothing-item::before {
    content: '洋服';
    color: white;
    font-weight: bold;
}

.product-image.shoes-item {
    background: linear-gradient(45deg, #fad0c4, #ffd1ff);
}

.product-image.shoes-item::before {
    content: 'シューズ';
    color: white;
    font-weight: bold;
}

.product-info {
    padding: 1.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff6b6b;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.discount {
    background: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

/* Coupon Back Section */
.coupon-back-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 4rem 0;
}

.coupon-back-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.coupon-back-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #feca57, #ff6b6b);
    border-radius: 50%;
    opacity: 0.1;
}

.coupon-back-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #4facfe;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.coupon-back-subtitle {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.coupon-back-btn {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(79, 172, 254, 0.3);
    position: relative;
    z-index: 2;
}

.coupon-back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
}

/* Category Sections */
.category-sections {
    background: white;
    padding: 3rem 0;
}

.category-section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

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

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.category-image.kids {
    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
}

.category-image.kids::before {
    content: 'キッズ・ベビー';
}

.category-image.womens {
    background: linear-gradient(45deg, #a8edea, #fed6e3);
}

.category-image.womens::before {
    content: 'ウィメンズ・レディース';
}

.category-card h4 {
    padding: 1rem;
    color: #333;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: #4facfe;
}

.footer-info h4 {
    margin-bottom: 1rem;
    color: #4facfe;
}

.footer-info p {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4facfe;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .payment-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .payment-item {
        max-width: 200px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .nav {
        display: none;
    }
    
    .coupon-discount {
        font-size: 2rem;
    }
    
    .ranking-title {
        font-size: 2rem;
    }