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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #fefefe;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fefefe;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-section a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    display: block;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #1e3a8a;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.back-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #f1f5f9;
}

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

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 16px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.page-header p {
    font-size: 18px;
    color: #6b7280;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 24px;
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 20px;
}

/* Features List (About Page) */
.features-list {
    display: grid;
    gap: 40px;
}

.feature-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #1e3a8a;
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.feature-item p {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Company Info */
.company-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    display: grid;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

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

.label {
    font-weight: 600;
    color: #1e3a8a;
    min-width: 80px;
    flex-shrink: 0;
}

.value {
    color: #4b5563;
    line-height: 1.6;
}

/* Empty Content (for placeholder pages) */
.empty-content {
    background: #f8fafc;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed #d1d5db;
}

.empty-content p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.empty-content p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: #fefefe;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-logo .brand-name {
    color: #fefefe;
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-nav a.active {
    color: #fefefe;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #3730a3;
}

.footer-bottom p {
    color: #cbd5e1;
    font-size: 14px;
}

/* Policy Lists */
.policy-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.policy-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.policy-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #1e3a8a;
    font-weight: 700;
}

/* Contact Info in policies */
.contact-info {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #1e3a8a;
}

.contact-info p {
    margin-bottom: 8px;
}

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

/* About page specific styles */
.mission-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
}

.mission-image img,
.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

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

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.value-icon {
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 16px;
}

.value-item p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
}

.team-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

    .header-content {
        padding: 16px 0;
        flex-direction: row;
        gap: 20px;
    }

    .brand-name {
        font-size: 20px;
    }

    .main-content {
        padding: 30px 0 60px;
    }

    .page-header {
        margin-bottom: 40px;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 16px;
    }

    .content-section {
        margin-bottom: 40px;
    }

    .content-section h2 {
        font-size: 24px;
    }

    .company-info {
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        gap: 8px;
    }

    .label {
        min-width: auto;
    }

    .empty-content {
        padding: 40px 20px;
    }

    .mission-section,
    .team-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}