/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FAFAFA;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #E5E5E5;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-link {
    color: #2D5A3D;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.nav-link:hover {
    background-color: #F5F1EB;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2D5A3D;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #2D5A3D;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.phone-link:hover {
    background-color: #2D5A3D;
    color: white;
}

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

/* Page Header */
.page-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8E1D5 100%);
    margin-bottom: 3rem;
    border-radius: 12px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2D5A3D;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.content-section.alt {
    background-color: #F5F1EB;
    margin: 3rem -20px;
    padding: 3rem 20px;
    border-radius: 12px;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #2D5A3D;
    text-align: center;
    margin-bottom: 3rem;
}

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

.content-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.content-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 2rem;
    min-height: 250px;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-item {
    text-align: center;
    padding: 2rem;
}

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

.mission-item h3 {
    font-size: 1.25rem;
    color: #2D5A3D;
    margin-bottom: 1rem;
}

.mission-item p {
    color: #666;
    line-height: 1.6;
}

/* Company Information */
.company-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.info-group h3 {
    color: #2D5A3D;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #F5F1EB;
    padding-bottom: 0.5rem;
}

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

.info-list dt {
    color: #2D5A3D;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-list dd {
    color: #666;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #F5F1EB;
}

.info-list a {
    color: #2D5A3D;
    text-decoration: none;
}

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

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.content-placeholder {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.placeholder-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.content-placeholder h2 {
    color: #2D5A3D;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.content-placeholder p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.signature {
    font-style: italic;
    color: #2D5A3D;
    font-weight: 500;
    margin-top: 2rem;
}

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

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

.policy-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #E5E5E5;
}

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

.policy-section h2 {
    color: #2D5A3D;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.policy-section h3 {
    color: #2D5A3D;
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 500;
}

.policy-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-section li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.policy-section a {
    color: #2D5A3D;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.placeholder-note {
    background-color: #F5F1EB;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #2D5A3D;
}

.placeholder-note p {
    color: #333;
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background-color: #2D5A3D;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-brand .brand-name {
    color: white;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #B0C4B8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    margin-bottom: 1rem;
    color: white;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 0.5rem;
}

.link-group a {
    color: #B0C4B8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #3D5A4D;
    padding-top: 1rem;
    text-align: center;
    color: #B0C4B8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-header {
        padding: 2rem 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .content-grid,
    .company-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content,
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link,
    .phone-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .content-section.alt {
        margin: 2rem -15px;
        padding: 2rem 15px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .content-placeholder {
        padding: 2rem 1rem;
    }
    
    .mission-item {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
a:focus {
    outline: 2px solid #2D5A3D;
    outline-offset: 2px;
}