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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #FEF7ED;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', serif;
    color: #374151;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #4F46E5;
}

h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #4F46E5;
}

h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.5rem 0;
    color: #16A34A;
}

/* Header */
.page-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
    margin-bottom: 40px;
}

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

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

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #4F46E5;
    text-decoration: none;
    font-family: 'Noto Serif JP', serif;
}

.brand-name:hover {
    color: #3730A3;
}

.page-nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.page-nav a:hover {
    background-color: #F3F4F6;
    color: #4F46E5;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 40px 0 80px 0;
}

/* About Page Specific Styles */
.about-section {
    margin-bottom: 3rem;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

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

.business-item {
    background: #F9FAFB;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #16A34A;
}

.business-item h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
}

.company-info {
    margin-top: 2rem;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-table td {
    padding: 20px;
    border-bottom: 1px solid #E5E7EB;
}

.info-table td:first-child {
    background: #F9FAFB;
    font-weight: 600;
    color: #4F46E5;
    width: 200px;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Policy Pages */
.policy-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    min-height: 400px;
}

.placeholder-text {
    text-align: center;
    color: #6B7280;
    font-style: italic;
    font-size: 1.1rem;
    padding: 80px 20px;
    background: #F9FAFB;
    border-radius: 8px;
    border: 2px dashed #D1D5DB;
}

/* Policy Content Styles */
.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 {
    color: #4F46E5;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: left;
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section a {
    color: #16A34A;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-date {
    text-align: center;
    color: #6B7280;
    font-style: italic;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #E5E7EB;
}

/* Enhanced About Page Styles */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 2rem;
}

.about-hero-content h2 {
    color: #4F46E5;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

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

.business-item {
    background: #F9FAFB;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #16A34A;
    text-align: center;
}

.business-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.business-item h3 {
    color: #4F46E5;
    margin-bottom: 1rem;
    text-align: center;
}

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

.philosophy-text h2 {
    color: #4F46E5;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.philosophy-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.philosophy-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.brand-name-footer {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FEF7ED;
    font-family: 'Noto Serif JP', serif;
}

.footer-section h4 {
    color: #FEF7ED;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-section li {
    margin-bottom: 8px;
}

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

.footer-section a:hover {
    color: #FEF7ED;
}

.footer-bottom {
    border-top: 1px solid #4B5563;
    padding-top: 20px;
    text-align: center;
    color: #9CA3AF;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .about-section {
        padding: 30px 20px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .info-table td {
        padding: 15px;
    }
    
    .info-table td:first-child {
        width: auto;
    }
    
    .about-hero,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-brand {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 20px 15px;
    }
    
    .info-table {
        font-size: 0.9rem;
    }
    
    .info-table td {
        padding: 12px;
    }
}