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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans CJK JP', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #F5F5DC;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

.logo-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.brand-name a {
    color: #1a1a1a;
    text-decoration: none;
}

.brand-name a:hover {
    color: #9BC53D;
    transition: color 0.3s ease;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

/* About Sections */
.about-section {
    margin-bottom: 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-section h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    border-left: 4px solid #9BC53D;
    padding-left: 15px;
}

.about-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

/* Content Placeholder */
.content-placeholder {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 2px dashed #e0e0e0;
}

.content-placeholder p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.content-placeholder p:last-child {
    margin-bottom: 0;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 30px;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    border-left: 4px solid #9BC53D;
    padding-left: 15px;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

/* About Page Enhancements */
.about-section.centered {
    text-align: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 200px;
    background-color: #e8e8e8;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    color: #666;
    font-size: 14px;
    border-radius: 8px;
}

.about-illustration {
    margin: 20px auto;
    display: block;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    color: #F5F5DC;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F5F5DC;
}

.cookie-banner-text {
    margin-bottom: 20px;
}

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

.cookie-banner-text a {
    color: #9BC53D;
    text-decoration: none;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.cookie-btn.accept {
    background-color: #9BC53D;
    color: #1a1a1a;
}

.cookie-btn.accept:hover {
    background-color: #8AB23D;
}

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

.cookie-btn.decline:hover {
    background-color: #F5F5DC;
    color: #1a1a1a;
}

.cookie-btn.customize {
    background-color: transparent;
    color: #9BC53D;
    border: 1px solid #9BC53D;
}

.cookie-btn.customize:hover {
    background-color: #9BC53D;
    color: #1a1a1a;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.cookie-settings-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

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

.close-settings:hover {
    color: #1a1a1a;
}

.cookie-settings-body {
    padding: 30px;
}

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

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

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

.cookie-category h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

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

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

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

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

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

input:checked + .toggle-slider {
    background-color: #9BC53D;
}

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

input:disabled + .toggle-slider {
    background-color: #9BC53D;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-settings-footer {
    padding: 25px 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.cookie-policy-link {
    color: #9BC53D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #F5F5DC;
    padding: 40px 0 20px;
    margin-top: auto;
}

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

.footer-brand {
    max-width: 300px;
}
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

    
    .cookie-banner-buttons {
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: auto;
    }
    
    .cookie-settings-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-settings-header,
    .cookie-settings-body,
    .cookie-settings-footer {
        padding: 20px;
    }
    
    .cookie-settings-footer {
        flex-direction: column;
        align-items: stretch;
    }
.footer-brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #F5F5DC;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
}

.footer-links-section h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F5F5DC;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #F5F5DC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin: 0 0 8px 0;
}

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

.copyright {
    font-size: 14px;
    color: #999;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .about-section {
        padding: 20px;
    padding: 25px;
    
    .about-section h3 {
        font-size: 20px;
    }
    
    .content-placeholder {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .brand-name {
    border-top: 2px solid #9BC53D;
}