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

:root {
    --ink-black: #1a1a1a;
    --sakura-mist: #f5f1f0;
    --indigo-accent: #4f46e5;
    --light-gray: #f8f8f8;
    --medium-gray: #666;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --radius: 8px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Shippori Mincho', serif;
    line-height: 1.3;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

h2 {
    font-size: 2.2rem;
    font-weight: 500;
}

h3 {
    font-size: 1.8rem;
    font-weight: 500;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--sakura-mist) 0%, #fff 100%);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid #eee;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name h1 {
    font-size: 1.8rem;
    margin-bottom: 4px;
    color: var(--ink-black);
}

.tagline {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 300;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--sakura-mist) 0%, #fff 100%);
    padding: var(--spacing-xxl) 0;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    min-height: 500px;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--ink-black) 0%, var(--indigo-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
}

.cta-button, .product-btn, .service-btn, .submit-btn {
    background: var(--indigo-accent);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.cta-button:hover, .product-btn:hover, .service-btn:hover, .submit-btn:hover {
    background: #3730a3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Image Styles */
.hero-img, .collection-img, .product-img, .service-img, .article-img, .sustainability-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
}

.hero-img {
    min-height: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.collection-img {
    height: 200px;
    margin-bottom: var(--spacing-sm);
}

.product-img {
    height: 180px;
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius);
    object-fit: cover;
}

.product-img svg {
    width: 100%;
    height: 100%;
    border-radius: var(--radius);
}

.service-img, .sustainability-img {
    height: 300px;
}

.article-img {
    height: 200px;
}

/* Featured Collections */
.featured-collections {
    padding: var(--spacing-xxl) 0;
    background: #fff;
}

.centered-section {
    text-align: center;
}

.centered-section h3 {
    text-align: center;
}

.featured-collections h3 {
    margin-bottom: var(--spacing-xl);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.collection-card {
    background: var(--sakura-mist);
    border-radius: var(--radius);
    padding: var(--spacing-md);
    text-align: center;
}

.collection-card .placeholder-image {
    margin-bottom: var(--spacing-sm);
}

.collection-card h4 {
    margin-bottom: var(--spacing-xs);
}

.collection-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Products Section */
.products {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
}

.products h3 {
    margin-bottom: var(--spacing-xl);
}

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

.product-card {
    background: white;
    border-radius: var(--radius);
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.product-card h4 {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
}

.product-card p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--indigo-accent);
    margin-bottom: var(--spacing-sm);
}

/* Styling Service */
.styling-service {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.service-text ul {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.service-text li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: var(--spacing-md);
}

.service-text li:before {
    content: "・";
    color: var(--indigo-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Editorial Section */
.editorial {
    padding: var(--spacing-xxl) 0;
    background: var(--sakura-mist);
}

.editorial h3 {
    margin-bottom: var(--spacing-xl);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-lg);
}

.article-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-card .placeholder-image {
    min-height: 200px;
    border-radius: 0;
}

.article-content {
    padding: var(--spacing-md);
}

.article-category {
    color: var(--indigo-accent);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content h4 {
    margin: var(--spacing-xs) 0;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Sustainability */
.sustainability {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.features {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--spacing-xs);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.feature span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* O2O Experience */
.o2o-experience {
    padding: var(--spacing-xxl) 0;
    background: var(--light-gray);
}

.o2o-experience h3 {
    margin-bottom: var(--spacing-xl);
}

.o2o-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.o2o-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.o2o-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.o2o-card h4 {
    margin-bottom: var(--spacing-xs);
}

.o2o-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Contacts */
.contacts {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.contacts h3 {
    margin-bottom: var(--spacing-xl);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: var(--spacing-xs);
}

.contact-details h4 {
    margin-bottom: var(--spacing-xs);
}

.contact-details p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--ink-black);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-md);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-logo svg circle,
.footer-logo svg path {
    stroke: white;
    fill: white;
}

.footer-logo svg path:nth-child(3) {
    fill: var(--indigo-accent);
}

.footer-logo svg circle:last-child {
    fill: var(--sakura-mist);
}

.footer-brand-text h4 {
    color: white;
    margin-bottom: 4px;
    font-size: 1.2rem;
}

.footer-brand-text span {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-nav a {
    color: var(--indigo-accent);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    transition: color 0.2s ease;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #8b5cf6;
    text-decoration: underline;
}

.footer-contact .contact-info p {
    color: #ccc;
    margin-bottom: var(--spacing-xs);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 0.85rem;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-content {
        gap: var(--spacing-md);
    }
}

/* 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);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: var(--medium-gray);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--ink-black);
}

.order-form {
    margin-top: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--indigo-accent);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--ink-black);
    color: white;
    padding: var(--spacing-md);
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
}

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

.cookie-text a {
    color: var(--indigo-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-shrink: 0;
}

.cookie-btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    border: none;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: var(--indigo-accent);
    color: white;
}

.cookie-btn.accept:hover {
    background: #3730a3;
}

.cookie-btn.decline {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

.cookie-btn.decline:hover {
    background: #333;
}

.cookie-btn.settings {
    background: transparent;
    color: var(--indigo-accent);
    border: 1px solid var(--indigo-accent);
}

.cookie-btn.settings:hover {
    background: var(--indigo-accent);
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-content {
    max-width: 600px;
}

.cookie-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.cookie-categories {
    margin: var(--spacing-lg) 0;
}

.cookie-category {
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    border: 1px solid #eee;
    border-radius: var(--radius);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.category-header h4 {
    margin: 0;
    font-size: 1rem;
}

.cookie-category p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-settings-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
    margin-top: var(--spacing-lg);
}

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

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-lg);
        min-height: auto;
    }

    .hero-text h2 {
        font-size: 2.2rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .sustainability-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .features {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .collections-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .o2o-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

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

@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.8rem;
    }

    .o2o-features {
        grid-template-columns: 1fr;
    }

    .logo-container {
        gap: var(--spacing-sm);
    }

    .brand-name h1 {
        font-size: 1.4rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }
}