/* Auxiliary Pages CSS */

/* 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: #2C2C2C;
    background-color: #FFF8E7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

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

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

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

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

.logo {
    display: block;
}

.brand-name {
    font-size: 28px;
    font-weight: 500;
    color: #2C2C2C;
    font-family: 'Noto Serif JP', serif;
    text-decoration: none;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 60px 0;
    text-align: center;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2C2C2C;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 16px;
}

.last-updated {
    color: #666;
    font-size: 14px;
}

/* Content Sections */
.content-section {
    margin-bottom: 50px;
    text-align: left;
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2C2C2C;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #4169E1;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

/* About Page Specific Styles */
.mission-content,
.philosophy-content,
.team-content,
.innovation-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.mission-text,
.philosophy-text,
.team-text,
.innovation-text {
    flex: 1;
}

.mission-illustration,
.philosophy-illustration {
    flex: 0 0 200px;
}

.team-image,
.innovation-image {
    flex: 0 0 300px;
}

.philosophy-content {
    flex-direction: row-reverse;
}

.innovation-content {
    flex-direction: row-reverse;
}

/* Company Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-item {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
}

.info-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 12px;
    font-family: 'Noto Sans JP', sans-serif;
}

.info-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Content Placeholder */
.content-placeholder {
    margin-top: 40px;
}

.placeholder-box {
    background-color: #F8F9FA;
    border: 2px dashed #CCC;
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    color: #666;
}

.placeholder-box p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.placeholder-box p:last-child {
    margin-bottom: 0;
}

/* Contact Info Styling */
.contact-info {
    background-color: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 8px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Lists */
.content-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.content-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: #FFF8E7;
    padding: 60px 0 20px;
    margin-top: auto;
}

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

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

.footer-brand {
    font-size: 20px;
    font-weight: 500;
    font-family: 'Noto Serif JP', serif;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-nav a {
    color: #FFF8E7;
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #DC143C;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .mission-content,
    .philosophy-content,
    .team-content,
    .innovation-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .philosophy-content,
    .innovation-content {
        flex-direction: column;
    }
    
    .team-image,
    .innovation-image {
        flex: none;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
    }
    
    .placeholder-box {
        padding: 40px 20px;
    }
    
    .main-content {
        padding: 40px 0;
    }
    
    .page-header {
        margin-bottom: 40px;
    }
    
    .content-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .logo {
        width: 40px;
        height: 40px;
    }
}