/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(30, 58, 138, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3a8a;
    text-decoration: none;
    font-family: 'Yu Mincho', serif;
}

.brand-name a {
    color: inherit;
    text-decoration: none;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #dc2626;
    font-weight: 500;
}

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.centered-content .intro-grid,
.centered-content .categories-grid,
.centered-content .products-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-family: 'Yu Mincho', serif;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.15);
}

/* Section styles */
.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-family: 'Yu Mincho', serif;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 700px;
}

/* Platform Introduction */
.platform-intro {
    padding: 80px 0;
    background: white;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.intro-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.1);
    border: 1px solid rgba(30, 58, 138, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(30, 58, 138, 0.15);
}

.intro-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: #dc2626;
}

.intro-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.intro-card p {
    color: #666;
    line-height: 1.6;
}

/* Craft Categories */
.craft-categories {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.02);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.category-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(30, 58, 138, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: #1e3a8a;
}

.category-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.category-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background: white;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.product-artisan {
    font-size: 0.95rem;
    color: #dc2626;
    margin-bottom: 10px;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 15px;
}

.product-btn {
    width: 100%;
    background: #dc2626;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-btn:hover {
    background: #b91c1c;
}

/* Content sections */
.for-artisans, .for-businesses {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.02);
}

.for-businesses {
    background: white;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.content-with-illustration {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-family: 'Yu Mincho', serif;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
    line-height: 1.5;
}

.feature-list li::before {
    content: "●";
    color: #dc2626;
    position: absolute;
    left: 0;
}

.illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Workshop Tours */
.workshop-tours {
    padding: 80px 0;
    background: rgba(220, 38, 38, 0.02);
}

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

.workshop-feature {
    text-align: center;
    padding: 25px;
}

.workshop-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: #dc2626;
}

.workshop-feature h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.workshop-feature p {
    color: #666;
}

/* Trust & Security */
.trust-security {
    padding: 80px 0;
    background: white;
}

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

.trust-item {
    text-align: center;
    padding: 25px;
}

.trust-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    color: #1e3a8a;
}

.trust-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 10px;
}

.trust-item p {
    color: #666;
    line-height: 1.5;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: rgba(30, 58, 138, 0.05);
}

.contact .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(30, 58, 138, 0.1);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: #dc2626;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.contact-details p {
    color: #666;
    line-height: 1.5;
}

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

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

.footer-logo .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .brand-name {
    color: white;
    font-size: 1.5rem;
}

.footer-logo .brand-tagline {
    color: #dc2626;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #dc2626;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
}

.close:hover {
    color: #dc2626;
}

.modal-content h3 {
    color: #1e3a8a;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3a8a;
}

.submit-btn {
    width: 100%;
    background: #dc2626;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background: #b91c1c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .content-with-illustration {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .intro-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}