/* 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: #2C1810;
    background-color: #FEFEFE;
}

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

/* Header */
.header {
    background-color: #FEFEFE;
    padding: 20px 0;
    border-bottom: 1px solid #E8E8E8;
}

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

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

.logo {
    display: block;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 500;
    color: #2C1810;
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #FAF9F7 0%, #F5F3F0 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 48px;
    font-weight: 700;
    color: #2C1810;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #5A4A3A;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-image {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #E8E8E8;
}

.placeholder-text {
    color: #888;
    font-size: 14px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    color: #2C1810;
    text-align: center;
    margin-bottom: 60px;
}

/* About Studio */
.about-studio {
    background-color: #FAF9F7;
}

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

.centered-section .container > * {
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #5A4A3A;
}

.about-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #E8E8E8;
    align-items: center;
    justify-content: center;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: #FEFEFE;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
    text-align: center;
}

.service-icon {
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 16px;
}

.service-description {
    font-size: 14px;
    line-height: 1.6;
    color: #5A4A3A;
}

/* Products */
.products {
    background-color: #FAF9F7;
}

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

.product-card {
    background-color: #FEFEFE;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
}

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

.product-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    background-color: #E8E8E8;
    justify-content: center;
}

.product-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2C1810;
    margin: 20px 20px 10px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: #D4AF37;
    margin: 0 20px 10px;
}

.product-description {
    font-size: 14px;
    line-height: 1.6;
    color: #5A4A3A;
    margin: 0 20px 20px;
}

.product-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px 24px;
    background-color: #2C1810;
    color: #FEFEFE;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #1A0F0A;
}

/* Masterclasses */
.masterclass-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.masterclass-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 20px;
}

.masterclass-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #5A4A3A;
    margin-bottom: 40px;
}

.masterclass-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.masterclass-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #E8E8E8;
    align-items: center;
    justify-content: center;
}

/* Commissions */
.commissions {
    background-color: #FAF9F7;
}

.commission-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.commission-card {
    background-color: #FEFEFE;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
}

.commission-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 16px;
}

.commission-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #5A4A3A;
}

/* Marketplace */
.marketplace-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.marketplace-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #5A4A3A;
}

.marketplace-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.marketplace-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    background-color: #E8E8E8;
    align-items: center;
    justify-content: center;
}

/* Testimonials */
.testimonials {
    background-color: #FAF9F7;
}

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

.testimonial-card {
    background-color: #FEFEFE;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.08);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #5A4A3A;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 14px;
    color: #2C1810;
    font-weight: 600;
    text-align: right;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.contact-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2C1810;
    margin-bottom: 16px;
}

.contact-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #5A4A3A;
}

.contact-item a {
    color: #2C1810;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #2C1810;
    color: #FEFEFE;
    padding: 40px 0 20px;
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.footer-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 500;
    color: #FEFEFE;
}

.footer-description {
    color: #B0A090;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 8px;
    column-gap: 20px;
    gap: 12px;
}

.footer-links a {
    color: #B0A090;
    text-decoration: none;
    font-size: 14px;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #4A3A2A;
    padding-top: 20px;
}

.footer-bottom p {
    color: #B0A090;
    font-size: 12px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    background-color: rgba(44, 24, 16, 0.98);
    backdrop-filter: blur(10px);
    color: #FEFEFE;
    padding: 24px;
    z-index: 1000;
    border-radius: 12px;
    margin: 0 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(120%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-text a {
    color: #D4AF37;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-btn-primary {
    background-color: #D4AF37;
    color: #2C1810;
}

.cookie-btn-primary:hover {
    background-color: #B8941F;
}

.cookie-btn-secondary {
    background-color: transparent;
    color: #FEFEFE;
    border: 1px solid #FEFEFE;
}

.cookie-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-policy-link {
    text-align: center;
    margin-top: 12px;
}

.cookie-policy-link a {
    color: #D4AF37;
    text-decoration: underline;
    font-size: 13px;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background-color: #FEFEFE;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
    border-bottom: 1px solid #E8E8E8;
    margin-bottom: 24px;
}

.cookie-modal-header h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #2C1810;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #888;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #2C1810;
}

.cookie-modal-body {
    padding: 0 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F0F0F0;
}

.cookie-category:last-child {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2C1810;
    margin: 0;
}

.cookie-status {
    font-size: 12px;
    color: #888;
    background-color: #F0F0F0;
    padding: 4px 8px;
    border-radius: 4px;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #D4AF37;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

.cookie-category p {
    font-size: 14px;
    color: #5A4A3A;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 24px;
    border-top: 1px solid #E8E8E8;
    margin-top: 24px;
}

.cookie-modal-footer .cookie-btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    .marketplace-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .cookie-buttons {
        justify-content: center;
    }

    .cookie-banner {
        bottom: 10px;
        margin: 0 10px;
        padding: 20px;
    }

    .cookie-modal-content {
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-card,
    .commission-card,
    .testimonial-card {
        padding: 20px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}