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

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Source Han Sans JP', sans-serif;
    line-height: 1.6;
    color: #2D4A6B;
    background-color: #F5F3F0;
}

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

/* Header */
.header {
    background-color: rgba(245, 243, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    border-bottom: 1px solid rgba(201, 168, 118, 0.2);
}

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

.logo {
    width: 60px;
    height: 60px;
}

.brand-name h1 a {
    font-size: 24px;
    font-weight: 700;
    color: #2D4A6B;
    text-decoration: none;
    transition: color 0.3s ease;
}

.brand-name h1 a:hover {
    color: #C9A876;
}

.brand-name p {
    font-size: 14px;
    color: #C9A876;
    font-weight: 300;
    margin-top: 4px;
}

/* Main Content */
.main-content {
    min-height: 70vh;
    padding: 80px 0;
}

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

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #2D4A6B;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    color: #5A6B7D;
}

.content-section {
    max-width: 800px;
    margin: 0 auto 40px;
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(201, 168, 118, 0.2);
}

.content-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2D4A6B;
    margin-bottom: 20px;
    border-bottom: 2px solid #C9A876;
    padding-bottom: 10px;
}

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

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

/* About Us specific styles */
.content-with-image {
    display: flex;
    gap: 30px;
    align-items: center;
}

.content-text {
    flex: 1;
}

.content-image {
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(45, 74, 107, 0.1);
}

.wellness-team {
    display: flex;
    gap: 30px;
    align-items: center;
}

.team-illustration {
    flex-shrink: 0;
}

.team-text {
    flex: 1;
}

.sustainability-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.sustainability-illustration {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background-color: #2D4A6B;
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

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

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

.footer-logo .logo {
    width: 50px;
    height: 50px;
}

.footer-logo span {
    font-size: 18px;
    font-weight: 500;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #C9A876;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .content-with-image {
        flex-direction: column;
        text-align: center;
    }
    
    .content-image {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .wellness-team {
        flex-direction: column;
        text-align: center;
    }
    
    .sustainability-content {
        flex-direction: column;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .content-section {
        padding: 30px 20px;
        margin: 0 auto 30px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 30px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .brand-name h1 a {
        font-size: 20px;
    }
    
    .content-section {
        padding: 20px 15px;
    }
    
    .footer-links {
        gap: 15px;
    }
    
    .footer-nav {
        gap: 25px;
    }
    
    .footer-nav-section {
        gap: 10px;
    }
}

/* Modal Styles for Auxiliary Pages */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #5A6B7D;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close:hover,
.close:focus {
    color: #2D4A6B;
    background-color: rgba(201, 168, 118, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #2D4A6B;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(201, 168, 118, 0.3);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C9A876;
    box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.1);
}

.submit-button {
    background: linear-gradient(135deg, #C9A876 0%, #E8D4A0 100%);
    color: #2D4A6B;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-family: 'Noto Sans JP', sans-serif;
}

.submit-button:hover {
    background: linear-gradient(135deg, #E8D4A0 0%, #C9A876 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 118, 0.4);
}