/* Auxiliary Pages Styles */

/* Header Navigation */
.page-nav {
    margin-left: auto;
}

.page-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.page-nav a:hover {
    background: var(--sakura-mist);
    color: var(--indigo-accent);
}

.header .logo-container {
    justify-content: space-between;
    width: 100%;
}

.header .logo-container > * {
    display: flex;
    align-items: center;
}

.header .brand-name a {
    text-decoration: none;
    color: inherit;
}

.header .brand-name a:hover {
    color: var(--indigo-accent);
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--sakura-mist) 0%, #fff 100%);
    padding: var(--spacing-xxl) 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--ink-black) 0%, var(--indigo-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

.policy-intro {
    background: var(--sakura-mist);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.policy-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #eee;
}

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

.policy-section h3 {
    color: var(--ink-black);
    margin-bottom: var(--spacing-md);
    font-size: 1.3rem;
}

.policy-section p {
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.policy-section ul {
    margin-bottom: var(--spacing-md);
}

.policy-section li {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.contact-details {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius);
    margin-top: var(--spacing-md);
}

.contact-details p {
    margin-bottom: var(--spacing-xs);
}

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

/* Page Sections */
.page-section {
    padding: var(--spacing-xxl) 0;
}

.page-section.alt-bg {
    background: var(--sakura-mist);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

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

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

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-text h2 {
    margin-bottom: var(--spacing-md);
}

.content-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

/* About page image styles */
.about-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.content-text ul {
    list-style: none;
    margin-left: 0;
}

.content-text li {
    position: relative;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.content-text li:before {
    content: "・";
    color: var(--indigo-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.content-image .placeholder-image {
    min-height: 300px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #fff 100%);
}

.illustration {
    width: 100%;
    height: auto;
    max-width: 350px;
    border-radius: var(--radius);
}

/* Company Details */
.company-details {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.detail-item {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
}

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

.detail-item strong {
    color: var(--ink-black);
    display: inline-block;
    min-width: 100px;
}

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

.policy-notice {
    background: var(--sakura-mist);
    padding: var(--spacing-xl);
    border-radius: var(--radius);
    margin: var(--spacing-xxl) 0;
}

.policy-notice p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header .logo-container {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .page-nav {
        margin-left: 0;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .policy-content {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .page-hero h1 {
        font-size: 1.8rem;
    }

    .content-text h2 {
        font-size: 1.6rem;
    }
}