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

body {
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

.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);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
}

.logo-icon {
    flex-shrink: 0;
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #C41E3A;
    letter-spacing: -1px;
}

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

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 60px 0;
}

.main-content h1 {
    font-size: 36px;
    color: #2c1810;
    text-align: center;
    margin-bottom: 50px;
}

/* About Page Specific Styles */
.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 28px;
    color: #C41E3A;
    margin-bottom: 30px;
    border-bottom: 2px solid #C41E3A;
    padding-bottom: 10px;
}

.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.content-block:nth-child(even) {
    direction: rtl;
}

.content-block:nth-child(even) * {
    direction: ltr;
}

.text-content {
    font-size: 16px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 20px;
    color: #444;
}

.text-content ul {
    list-style: none;
    margin-top: 20px;
}

.text-content li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 20px;
}

.text-content li::before {
    content: "●";
    color: #C41E3A;
    position: absolute;
    left: 0;
}

.text-content strong {
    color: #C41E3A;
    font-weight: 600;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Policy Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.policy-content p {
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #2c1810;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 2;
}

.footer-brand .logo-section {
    margin-bottom: 20px;
}

.footer-brand .brand-name {
    color: #fff;
}

.footer-brand p {
    color: #ccc;
    font-size: 16px;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.links-column h4 {
    color: #C41E3A;
    font-size: 18px;
    margin-bottom: 20px;
}

.links-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.links-column li {
    margin-bottom: 0;
}

.links-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-column a:hover {
    color: #C41E3A;
}

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

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

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 24, 16, 0.95);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
}

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

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

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

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

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

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

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

.cookie-btn.reject:hover {
    background: #666;
}

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

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

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

.cookie-link:hover {
    color: #fff;
}

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

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #333;
}

.cookie-modal-content h3 {
    color: #C41E3A;
    margin-bottom: 20px;
    font-size: 20px;
}

.cookie-categories {
    margin-bottom: 25px;
}

.cookie-category {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
}

.cookie-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cookie-label input[type="checkbox"] {
    margin-top: 2px;
}

.cookie-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.cookie-name {
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.cookie-desc {
    font-size: 14px;
    color: #666;
    display: block;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cookie-modal-buttons .cookie-btn {
    width: auto;
    min-width: 120px;
}

/* SVG Illustrations */
.svg-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

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

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    font-size: 20px;
    color: #C41E3A;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-section p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .content-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-block:nth-child(even) {
        direction: ltr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        justify-content: flex-start;
    }
    
    .links-column ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .main-content h1 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .about-section {
        margin-bottom: 40px;
    }
    
    .about-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .image-container {
        height: 250px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text h3 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .policy-section h2 {
        font-size: 18px;
    }
    
    .cookie-modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
    
    .links-column ul {
        flex-direction: column;
        gap: 8px;
    }
}