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

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

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

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

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

.logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 2px;
}

.brand-name a {
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s;
}

.brand-name a:hover {
    color: #C41E3A;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F8F8F8 0%, #EEEEEE 100%);
    padding: 60px 0;
    border-bottom: 3px solid #C41E3A;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 36px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 15px;
    text-align: center;
}

.page-subtitle {
    font-size: 18px;
    color: #4A4A4A;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Sections - About Page */
.content-section {
    padding: 80px 0;
}

.content-section.alt {
    background: #F8F8F8;
}

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-block h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 28px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 25px;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: #C41E3A;
}

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

.content-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Legal Content - Policy Pages */
.legal-content {
    padding: 80px 0;
    min-height: 400px;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

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

.policy-section h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1A1A1A;
    margin-bottom: 15px;
    position: relative;
}

.policy-section h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #C41E3A;
}

.policy-section p {
    color: #4A4A4A;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 15px;
}

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

/* Content SVG Styles */
.content-svg {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1A1A1A;
    color: #FFFFFF;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    display: none;
}

.cookie-banner.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    flex: 1;
}

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

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

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

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

.cookie-btn.decline {
    background: #666;
    color: white;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: #1A1A1A;
    color: #CCCCCC;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-brand {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
}

.footer-description {
    color: #CCCCCC;
    line-height: 1.6;
    max-width: 400px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-column h4 {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-column ul li a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #C41E3A;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .content-block h2 {
        font-size: 24px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .legal-text {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 18px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .content-block h2 {
        font-size: 22px;
    }
    
    .container {
        padding: 0 15px;
    }
}