/* Auxiliary Pages Styles */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #1F2937;
    background-color: #F5F2E8;
}

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

/* Color Variables */
:root {
    --hinoki-beige: #F5F2E8;
    --indigo-blue: #3B4F6B;
    --sumi-charcoal: #1F2937;
    --cedar-green: #2D4A3E;
    --accent-warm: #D4A574;
    --border-light: #E5E7EB;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.header-brand a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--sumi-charcoal);
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--indigo-blue);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--cedar-green);
    color: white;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--sumi-charcoal);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--indigo-blue);
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* Content Sections */
.content-section {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--sumi-charcoal);
    margin-bottom: 2rem;
    font-weight: 600;
    border-left: 4px solid var(--cedar-green);
    padding-left: 1rem;
}

.content-section h3 {
    font-size: 1.4rem;
    color: var(--sumi-charcoal);
    margin-bottom: 1rem;
    font-weight: 600;
}

.content-section p {
    color: var(--indigo-blue);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-text p {
    margin-bottom: 1.5rem;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-item {
    background: var(--hinoki-beige);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--cedar-green);
}

.mission-item h3 {
    color: var(--cedar-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.mission-item p {
    color: var(--indigo-blue);
    line-height: 1.7;
}

/* Company Information */
.company-info {
    background: var(--hinoki-beige);
    padding: 2rem;
    border-radius: 8px;
}

.info-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

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

.info-label {
    font-weight: 600;
    color: var(--sumi-charcoal);
}

.info-value {
    color: var(--indigo-blue);
    line-height: 1.6;
}

/* Empty Content (for placeholder pages) */
.empty-content {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--hinoki-beige);
    border-radius: 8px;
    border: 2px dashed var(--border-light);
}

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

/* Image Placeholders */
.content-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--sumi-charcoal);
    color: var(--hinoki-beige);
    padding: 4rem 0 1rem;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--hinoki-beige);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-description {
    color: #9CA3AF;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

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

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

.footer-links a:hover {
    color: var(--accent-warm);
}

.footer-contact {
    color: #D1D5DB;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* Policy Content Styles */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h3 {
    color: var(--cedar-green);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-section p {
    color: var(--indigo-blue);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Expertise Grid for About Page */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    text-align: center;
    background: var(--hinoki-beige);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--cedar-green);
}

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

.expertise-item h4 {
    color: var(--sumi-charcoal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--indigo-blue);
    line-height: 1.6;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        align-items: center;
    }
}