/* Auxiliary Pages Styles */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    color: #666;
    font-size: 1.1rem;
}

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

.content-block {
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.content-block h2 {
    border-left: 4px solid #cc3333;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

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

.business-item {
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4169e1;
}

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

.company-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e5e5;
}

.info-item:last-child {
    border-bottom: none;
}

.empty-content {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

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

.about-text h2 {
    border-left: none;
    padding-left: 0;
}

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

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

.vision-text h2 {
    border-left: none;
    padding-left: 0;
}

.vision-image-photo {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.service-category {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

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

.service-category h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
}

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

.company-story h2,
.company-info h2 {
    border-left: none;
    padding-left: 0;
}

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

.company-story-image {
    width: 100%;
    max-width: 350px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-grid .info-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-bottom: none;
}

.info-grid .info-item strong {
    color: #666;
    font-weight: 500;
}

.info-grid .info-item span {
    color: #1a1a1a;
}

/* Content Block Lists */
.content-block ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

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

.content-block h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4169e1;
    font-size: 1.2rem;
}

.content-block a {
    color: #4169e1;
    text-decoration: none;
}

.content-block a:hover {
    text-decoration: underline;
}

/* Order Form Styles */
.order-form-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.order-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e5e5e5;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-size: 1.3rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.required {
    color: #cc3333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4169e1;
    box-shadow: 0 0 0 2px rgba(65, 105, 225, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
}

.contact-info {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    height: fit-content;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.contact-method:last-child {
    border-bottom: none;
}

.contact-method strong {
    display: block;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.contact-method span {
    color: #4169e1;
    font-weight: 500;
}

.contact-method p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
}

/* Form Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero,
    .vision-mission,
    .company-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-overview {
        grid-template-columns: 1fr;
    }
    
    .order-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
}