/* Auxiliary Pages Styles */

.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 0;
}

.page-header {
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E7EB 100%);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #E5E7EB;
}

.page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E4057;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    font-weight: 300;
    font-style: italic;
}

.content-section {
    padding: 3rem 0;
}

.content-section:nth-child(odd) {
    background-color: #FEFEFE;
}

.content-section:nth-child(even) {
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E7EB 100%);
}

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

.content-block h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #2E4057;
    margin-bottom: 2rem;
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #C5282F 0%, #A21E27 100%);
    border-radius: 2px;
}

.content-block p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 1.5rem;
}

.content-block.centered {
    text-align: center;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

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

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

.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(46, 64, 87, 0.15);
}

.mission-content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.mission-illustration {
    display: flex;
    justify-content: center;
}

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

.store-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.store-feature {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.store-feature:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

.store-feature:nth-child(even) .store-text {
    order: -1;
}

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

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

.store-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2E4057;
    margin-bottom: 1rem;
}

.store-text p {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 0;
}

.info-grid.centered {
    text-align: center;
}

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

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(46, 64, 87, 0.1);
    border-left: 4px solid #C5282F;
}

.info-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E4057;
    margin-bottom: 0.75rem;
}

.info-card p {
    font-size: 1rem;
    color: #4B5563;
    margin-bottom: 0;
    line-height: 1.6;
}

.mission-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #E5E7EB 100%);
}

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

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(46, 64, 87, 0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

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

.value-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2E4057;
    margin-bottom: 1rem;
}

.value-item p {
    color: #4B5563;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
}

/* Legal Pages Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.last-updated {
    color: #6B7280;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E5E7EB;
}

.content-placeholder {
    background: #F8F9FA;
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 2px dashed #D1D5DB;
    text-align: center;
    margin-top: 2rem;
}

.content-placeholder h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    color: #2E4057;
    margin-bottom: 1rem;
}

.content-placeholder h2::after {
    display: none;
}

.content-placeholder p {
    color: #6B7280;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Legal Content Styles */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

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

.legal-section h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E4057;
    margin-bottom: 1.5rem;
    position: relative;
}

.legal-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #C5282F 0%, #A21E27 100%);
    border-radius: 1px;
}

.legal-section h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #2E4057;
    margin: 1.5rem 0 1rem 0;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding: 0;
}

.legal-section ul li {
    font-size: 1rem;
    line-height: 1.7;
    color: #4B5563;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #F8F9FA;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #C5282F;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #2E4057;
}

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

/* Responsive Design for Auxiliary Pages */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .content-block h2 {
        font-size: 1.75rem;
    }
    
    .info-grid,
    .values-grid,
    .store-features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content-grid,
    .mission-content-grid,
    .store-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .store-feature:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .store-feature:nth-child(even) .store-text {
        order: 0;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }
    
    .legal-section h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
    }
    
    .content-block p {
        font-size: 1rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
    
    .about-content-grid,
    .mission-content-grid {
        gap: 1.5rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}