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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #FEFEFE;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background-color: #FEFEFE;
    padding: 1rem 0;
    border-bottom: 1px solid #F5E6D3;
}

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0;
}

.brand-name a {
    color: #2C2C2C;
    transition: color 0.3s ease;
}

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

/* Page Hero */
.page-hero {
    background-color: #F5E6D3;
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 2rem;
}

/* About Specific Styles */
.about-section {
    padding: 4rem 0;
    background-color: #FEFEFE;
}

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

.about-text h2 {
    color: #2C2C2C;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #666;
    line-height: 1.7;
}

.values-section {
    padding: 4rem 0;
    background-color: #F5E6D3;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.value-card {
    background-color: #FEFEFE;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.value-card h3 {
    color: #7CB342;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.story-section {
    padding: 4rem 0;
    background-color: #FEFEFE;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-text h2 {
    color: #2C2C2C;
    margin-bottom: 1.5rem;
}

.story-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Content Placeholder for Legal Pages */
.legal-content {
    padding: 4rem 0;
    background-color: #FEFEFE;
}

.legal-sections {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #F5E6D3;
}

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

.legal-section h2 {
    color: #2C2C2C;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.legal-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

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

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

.value-icon,
.expertise-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.expertise-section {
    padding: 4rem 0;
    background-color: #F5E6D3;
}

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

.expertise-card {
    background-color: #FEFEFE;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-4px);
}

.expertise-card h3 {
    color: #2C2C2C;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.expertise-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Image Placeholders */
.image-placeholder {
    background-color: #F5E6D3;
    border: 2px dashed #7CB342;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: #FEFEFE;
    padding: 3rem 0 1rem;
}

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

.footer-brand p {
    color: #ccc;
    margin: 0;
}

.footer-brand h3 a {
    color: #FEFEFE;
    transition: color 0.3s ease;
}

.footer-brand h3 a:hover {
    color: #7CB342;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    color: #FEFEFE;
    margin-bottom: 1rem;
}

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

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

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

.footer-column a:hover {
    color: #7CB342;
}

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

.footer-bottom p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-grid,
    .values-grid,
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .content-placeholder {
        padding: 2rem;
    }
}