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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #d32f2f;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

.nav-link:hover {
    color: #d32f2f;
}

/* Main Content */
main {
    margin-top: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-button {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #b71c1c;
}

/* Featured Collections */
.featured-collections {
    padding: 80px 0;
    background: #fff;
}

.featured-collections h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.collection-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.collection-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    position: relative;
}

.tops-placeholder {
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
}

.tops-placeholder::before {
    content: "トップス";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #666;
}

.bottoms-placeholder {
    background: linear-gradient(45deg, #e8f5e8, #c8e6c9);
}

.bottoms-placeholder::before {
    content: "ボトムス";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #2e7d32;
}

.accessories-placeholder {
    background: linear-gradient(45deg, #fff3e0, #ffe0b2);
}

.accessories-placeholder::before {
    content: "小物";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: #f57c00;
}

.collection-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.collection-card p {
    margin-bottom: 20px;
    color: #666;
}

.card-link {
    display: inline-block;
    color: #d32f2f;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #d32f2f;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: #d32f2f;
    color: white;
}

/* Brand Values */
.brand-values {
    padding: 80px 0;
    background: #f9f9f9;
}

.brand-values h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
}

.value-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #d32f2f;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #666;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 15px;
}

.add-to-cart, .view-product {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
    text-align: center;
}

.add-to-cart:hover, .view-product:hover {
    background: #b71c1c;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-button {
    background: #d32f2f;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-button:hover {
    background: #b71c1c;
}

/* Cart */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
    border-radius: 5px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #666;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h4 {
    margin-bottom: 5px;
    color: #333;
}

.cart-item-price {
    font-weight: bold;
    color: #d32f2f;
}

.cart-total {
    text-align: right;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 20px;
    color: #d32f2f;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

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

.footer-section ul li a:hover {
    color: #d32f2f;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        display: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .collections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Page-specific styles */
.page-header {
    background: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

.content-section {
    padding: 60px 0;
}

.content-section h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 2rem;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

/* Product Detail Page */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.product-detail-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f5f5f5, #e0e0e0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
}

.product-detail-info h1 {
    margin-bottom: 20px;
    color: #333;
}

.product-detail-info .price {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.size-chart {
    margin: 30px 0;
}

.size-chart h3 {
    margin-bottom: 15px;
    color: #333;
}

.size-chart table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.size-chart th,
.size-chart td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.size-chart th {
    background: #f9f9f9;
    font-weight: bold;
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-detail-image {
        height: 300px;
    }
}