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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #4A5568;
    background-color: #FEFEFE;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Header */
.header {
    background-color: #FEFEFE;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0;
}

.brand-name a {
    color: #2D3748;
    text-decoration: none;
}

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

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

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    border-radius: 12px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 400;
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 2rem;
    color: #2D3748;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E2E8F0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4A5568;
}

.text-content em {
    background-color: #F7FAFC;
    padding: 1rem;
    border-left: 4px solid #DC2626;
    display: block;
    font-style: normal;
    border-radius: 0 4px 4px 0;
    color: #718096;
}

/* Values Grid (for About page) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    text-align: center;
}

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

.value-item h3 {
    color: #DC2626;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: #718096;
    line-height: 1.6;
}

/* Content with Images */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.image-block {
    display: flex;
    justify-content: center;
}

.content-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Icon Text Block */
.icon-text-block {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
}

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

.icon-text-block p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

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

.footer-section a {
    color: #CBD5E0;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-section p {
    color: #CBD5E0;
    line-height: 1.6;
}

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

.footer-bottom p {
    color: #A0AEC0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .icon-text-block {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
}