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

body {
    font-family: 'Noto Sans CJK JP', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px 0;
}

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

.logo {
    flex-shrink: 0;
}

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

.brand-name {
    font-size: 32px;
    font-weight: 700;
    color: #8B4513;
    margin: 0;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 14px;
    color: #D2691E;
    margin: 0;
    font-weight: 400;
}

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

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 20px;
    color: #2F4F4F;
    opacity: 0.8;
}

.content-placeholder {
    background-color: white;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    text-align: center;
    margin: 40px 0;
}

.content-placeholder p {
    font-size: 18px;
    color: #666;
    font-style: italic;
}

/* Policy Content */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    background-color: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.policy-section h2 {
    font-size: 24px;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #F4A460;
    padding-bottom: 8px;
}

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

.policy-section p:last-child {
    margin-bottom: 0;
}

.contact-details {
    background-color: #F8F8F8;
    padding: 20px;
    border-radius: 6px;
    margin-top: 15px;
}

.contact-details p {
    margin-bottom: 8px;
    font-size: 15px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.policy-footer {
    text-align: center;
    padding: 30px;
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-top: 30px;
}

.policy-footer p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

/* About Page Styles */
.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.intro-text h2 {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.intro-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #2F4F4F;
    margin-bottom: 15px;
}

.intro-image img,
.story-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.mission-section {
    text-align: center;
    background-color: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.mission-content h2 {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.mission-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #2F4F4F;
    max-width: 700px;
    margin: 0 auto;
}

.mission-icon {
    margin-bottom: 30px;
}

.values-section {
    background-color: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-bottom: 60px;
}

.values-section h2 {
    font-size: 28px;
    color: #8B4513;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

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

.value-item {
    text-align: center;
}

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

.value-item h3 {
    font-size: 20px;
    color: #8B4513;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #2F4F4F;
}

.story-section {
    background-color: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

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

.story-text h2 {
    font-size: 28px;
    color: #8B4513;
    margin-bottom: 20px;
    font-weight: 600;
}

.story-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #2F4F4F;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: #2F4F4F;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-brand {
    font-size: 20px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

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

.footer-links a:hover {
    color: #D2691E;
    text-decoration: underline;
}

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

.footer-bottom p {
    font-size: 14px;
    color: #B0C4C4;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(47, 79, 79, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
}

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

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #F4A460;
}

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

.cookie-link {
    color: #D2691E;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 10px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

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

.cookie-btn.accept {
    background-color: #D2691E;
    color: white;
}

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

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

.cookie-btn.reject:hover {
    background-color: #F4A460;
    color: #2F4F4F;
}

.cookie-btn.customize {
    background-color: #8B4513;
    color: white;
}

.cookie-btn.customize:hover {
    background-color: #A0522D;
}

.cookie-customization {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #4A6B6B;
}

.cookie-customization h4 {
    color: #F4A460;
    margin-bottom: 15px;
    font-size: 16px;
}

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.cookie-option {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 6px;
}

.cookie-option label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #F4A460;
}

.cookie-option p {
    font-size: 12px;
    color: #B0C4C4;
    margin: 0;
}

.cookie-option input[type="checkbox"] {
    margin-right: 8px;
}

.cookie-custom-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .content-placeholder {
        padding: 40px 20px;
    }
    
    .about-intro,
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .policy-section {
        padding: 20px;
    }
    
    .mission-section,
    .values-section,
    .story-section {
        padding: 30px 20px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .cookie-options {
        grid-template-columns: 1fr;
    }
}