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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #2F2F2F;
    background-color: #FFFFFF;
}

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

/* Colors */
:root {
    --primary-color: #2F2F2F;
    --secondary-color: #B19CD9;
    --accent-color: #FF5722;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --white: #FFFFFF;
}

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    line-height: 1.7;
    color: #666;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px 0;
}

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

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

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.back-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 0.9rem;
}

.back-link:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Page Header */
.page-header {
    background-color: var(--light-gray);
    padding: 80px 0 60px;
    text-align: center;
}

.page-title {
    color: var(--primary-color);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
}

/* Content Sections */
.mission,
.vision,
.values,
.company-info {
    padding: 80px 0;
}

.mission {
    background-color: var(--white);
}

.vision {
    background-color: var(--light-gray);
}

.values {
    background-color: var(--white);
}

.company-info {
    background-color: var(--light-gray);
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.block-title {
    color: var(--primary-color);
    margin-bottom: 32px;
    text-align: center;
}

.block-text {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-align: justify;
}

/* Mission Content */
.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.mission-visual {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

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

/* Vision Content */
.vision-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

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

/* Company Info */
.company-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: flex-start;
    text-align: left;
}

.company-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-item h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.detail-item p {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.6;
}

.company-visual {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.company-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.value-icon {
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.value-item h4 {
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.value-item p {
    font-size: 0.95rem;
}

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

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--medium-gray);
}

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

.policy-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.policy-section p {
    margin-bottom: 16px;
    text-align: justify;
    line-height: 1.8;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 0;
    text-align: left;
}

/* Main Content for Policy Pages */
.main-content {
    padding: 80px 0;
    background-color: var(--white);
}

.content-placeholder {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px;
    background-color: var(--light-gray);
    border-radius: 12px;
    text-align: center;
}

.content-placeholder p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

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

.footer-links {
    display: flex;
    gap: 60px;
    flex: 2;
    justify-content: flex-end;
}

.footer-brand .brand-name {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-brand p {
    color: #CCC;
    margin-top: 12px;
}

.footer-column h5 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #CCC;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-column ul li a:hover {
    color: var(--secondary-color);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .mission,
    .vision,
    .values,
    .main-content {
        padding: 60px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
        justify-content: center;
    }
    .mission-content,
    .vision-content,
    .company-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-content {
        direction: ltr;
    }
    
    
    .content-placeholder {
        padding: 40px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .block-text {
        text-align: left;
    }
    
    .value-item {
        padding: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .policy-section p {
        text-align: left;
    }
}