/* Additional styles for auxiliary pages */

/* Page Header */
.page-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #E5E5E5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.page-header .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-header .logo {
    flex-shrink: 0;
}

.page-header .brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #1E3A5F;
    margin: 0;
    text-decoration: none;
}

.page-header .brand-name:hover {
    color: #2A4A6B;
}

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

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: #1E3A5F;
    text-align: center;
    margin-bottom: 3rem;
}

.content-block {
    background-color: #FFFFFF;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #E8E6E3;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-block h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: #1E3A5F;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #F5F3F0;
    padding-bottom: 0.5rem;
}

.content-block h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    color: #1E3A5F;
    margin: 2rem 0 1rem;
}

.content-block p {
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.2rem;
    text-align: left;
}

.content-block ul,
.content-block ol {
    margin: 1rem 0 1rem 2rem;
    color: #333;
}

.content-block li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.empty-content {
    background-color: #F9F8F7;
    padding: 4rem;
    border-radius: 12px;
    border: 2px dashed #D9D9D9;
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* About Us specific styles */
.team-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: #F9F8F7;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.team-member h4 {
    font-family: 'Noto Serif JP', serif;
    color: #1E3A5F;
    margin-bottom: 0.5rem;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
}

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

.content-with-image.reverse {
    grid-template-columns: 1fr 2fr;
}

.content-with-image.reverse .content-text {
    order: 2;
}

.content-with-image.reverse .content-image {
    order: 1;
}

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

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

.image-placeholder {
    width: 100%;
    height: 250px;
    background-color: #D9D9D9;
    border: 2px dashed #A0A0A0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1rem;
}

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

.service-item {
    background-color: #F9F8F7;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E8E6E3;
    text-align: center;
}

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

.service-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    color: #1E3A5F;
    margin-bottom: 1rem;
}

.service-item p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

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

.team-member {
    background-color: #F9F8F7;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #E8E6E3;
    text-align: center;
}

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

.team-member h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    color: #1E3A5F;
    margin-bottom: 1rem;
}

.team-member p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Content images */
.content-img {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Footer for auxiliary pages */
.page-footer {
    background-color: #1E3A5F;
    color: #F5F3F0;
    padding: 2rem 0;
    margin-top: 4rem;
}

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

.page-footer .footer-section h4 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #F5F3F0;
}

.page-footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.page-footer .footer-logo span {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #F5F3F0;
}

.page-footer .footer-logo span:hover {
    color: #E8E6E3;
}

.page-footer .footer-description {
    color: #A8A8A8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-footer .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.page-footer .footer-links a {
    color: #F5F3F0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.page-footer .footer-links a:hover {
    color: #E8E6E3;
}

.page-footer .footer-contact p {
    color: #A8A8A8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.page-footer .footer-bottom {
    font-size: 0.9rem;
    color: #A8A8A8;
    margin-top: 1rem;
    border-top: 1px solid #2A4A6B;
    padding-top: 1rem;
    text-align: center;
}

/* Responsive adjustments for auxiliary pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-block {
        padding: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .content-with-image,
    .content-with-image.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-with-image.reverse .content-text,
    .content-with-image.reverse .content-image {
        order: unset;
    }
    
    .services-grid,
    .team-grid,
    .team-info {
        grid-template-columns: 1fr;
    }
    
    .page-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .page-footer .footer-section {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .content-block {
        padding: 1.5rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .empty-content {
        padding: 2rem;
    }
    
    .image-placeholder {
        height: 200px;
    }
}