/* Auxiliary Pages Styles */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500&display=swap');

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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 80px;
}

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

/* Typography */
h1 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 2rem;
    text-align: center;
}

h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.75rem;
    line-height: 1.3;
    font-weight: 500;
    color: #2D5016;
    margin: 3rem 0 1.5rem 0;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2D5016;
    margin: 2rem 0 1rem 0;
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2D5016;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #555;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E7EB;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #2D5016;
}

.back-link {
    color: #2D5016;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid #2D5016;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #2D5016;
    color: white;
}

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

/* About Sections */
.about-section {
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #E5E7EB;
}

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

.about-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    text-align: justify;
}

/* Policy Content */
.policy-content {
    background: #F9FAFB;
    padding: 3rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.placeholder-text {
    font-style: italic;
    color: #666;
    text-align: center;
    font-size: 1.1rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #A8C8D8;
}

/* Footer */
.footer {
    background-color: #2D5016;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section .brand .logo {
    width: 32px;
    height: 32px;
}

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

.footer-section .brand .brand-name {
    color: white;
    font-size: 1.1rem;
}

.footer-section p {
    margin-top: 1rem;
    color: #B8D4A8;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.link-column h4 {
    color: white;
    margin-bottom: 1rem;
}

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

.link-column ul li {
    margin-bottom: 0.5rem;
}

.link-column ul li a {
    color: #B8D4A8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-column ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: #B8D4A8;
    font-size: 0.875rem;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

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

.policy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #2D5016;
    text-align: center;
}

.policy-footer p {
    color: #2D5016;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* About Page Enhancements */
.about-hero {
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #F5F1E8 0%, #ffffff 100%);
    border-radius: 12px;
}

.about-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-hero-text h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-hero-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-hero-image {
    width: 100%;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
}

.about-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-visual {
    margin-bottom: 1rem;
}

.stat-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2D5016;
}

.stat-item p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0;
}

.about-content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    text-align: left;
}

.feature-highlights {
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

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

.about-image {
    text-align: center;
}

.about-image .placeholder-image {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mission-item {
    text-align: center;
    padding: 2rem;
    background: #F5F1E8;
    border-radius: 8px;
}

.mission-icon {
    margin-bottom: 1.5rem;
}

.mission-item h4 {
    margin-bottom: 1rem;
    color: #2D5016;
}

.mission-item p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .brand-name {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .policy-content {
        padding: 2rem;
    }
    
    .about-section p {
        text-align: left;
    }
    
    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-hero-text {
        text-align: center;
    }
    
    .about-content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 120px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .policy-content {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .placeholder-text {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .about-hero {
        margin-bottom: 2rem;
        padding: 2rem 0;
    }
    
    .about-hero-text h2 {
        font-size: 1.5rem;
    }
}