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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #F8F6F0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Header */
.header {
    background-color: #F8F6F0;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E5;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C2C2C;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: #2C2C2C;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    background-color: #E5E5E5;
}

.nav-menu a.active {
    background-color: #4F46E5;
    color: #F8F6F0;
}

/* Main Content */
.main {
    flex: 1;
    padding: 80px 0;
}

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

.page-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #2C2C2C;
}

.page-header p {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
}

/* Content Blocks */
.content-block {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #E5E5E5;
}

.content-block h3 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #2C2C2C;
    border-bottom: 3px solid #FF6B35;
    padding-bottom: 12px;
}

.block-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* Content with Visual Layout */
.content-with-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content {
    order: 1;
}

.visual-content {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #E5E5E5;
}

.illustration {
    max-width: 100%;
    height: auto;
}

/* Alternate layout for even blocks */
.content-block:nth-child(even) .content-with-visual .text-content {
    order: 2;
}

.content-block:nth-child(even) .content-with-visual .visual-content {
    order: 1;
}

/* Contact Info Styling */
.contact-info {
    background: #F8F6F0;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #FF6B35;
    margin-top: 20px;
}

.contact-info p {
    margin: 0;
    line-height: 1.6;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 16px;
}

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

.info-item dt {
    font-weight: 600;
    color: #2C2C2C;
    min-width: 120px;
    margin-right: 20px;
}

.info-item dd {
    color: #666;
    flex: 1;
}

.info-item a {
    color: #4F46E5;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Empty Content */
.empty-content {
    text-align: center;
    padding: 60px 40px;
    color: #666;
}

.empty-content p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

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

/* Footer */
.footer {
    background-color: #2C2C2C;
    color: #F8F6F0;
    padding: 60px 0 30px;
    margin-top: auto;
}

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

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

.footer-logo .brand-name {
    color: #F8F6F0;
    font-size: 1.25rem;
}

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

.footer-nav a {
    color: #F8F6F0;
    text-decoration: none;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .content-block {
        padding: 24px;
    }
    
    .content-block h3 {
        font-size: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .info-item dt {
        min-width: auto;
        margin-right: 0;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .content-with-visual {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-block:nth-child(even) .content-with-visual .text-content,
    .content-block:nth-child(even) .content-with-visual .visual-content {
        order: initial;
    }
    
    .visual-content {
        order: 1 !important;
    }
    
    .text-content {
        order: 2 !important;
    }
}