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

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

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

/* Header */
.header {
    background-color: rgba(253, 248, 240, 0.95);
    padding: 15px 0;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(123, 198, 123, 0.1);
}

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

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

.logo {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #2C5530;
    letter-spacing: 0.5px;
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    color: #2C5530;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: #7BC67B;
}

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

.page-header {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #E8F5E8 0%, #FDF8F0 100%);
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 42px;
    color: #2C5530;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Content Sections */
.content-section {
    margin-bottom: 60px;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.content-section h2 {
    font-size: 32px;
    color: #2C5530;
    margin-bottom: 30px;
    font-weight: 600;
    border-bottom: 3px solid #E8F5E8;
    padding-bottom: 15px;
}

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

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

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

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, #FFE4E8, #E8F5E8);
    border: 2px dashed #7BC67B;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #7BC67B;
    font-weight: 500;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Services Overview */
.services-overview {
    display: grid;
    gap: 30px;
}

.service-item {
    padding: 25px;
    background: #F8FDF8;
    border-radius: 12px;
    border-left: 4px solid #7BC67B;
}

.service-item h3 {
    font-size: 20px;
    color: #2C5530;
    margin-bottom: 10px;
    font-weight: 600;
}

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

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

.value-card {
    background: #F8FDF8;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #E8F5E8;
}

.value-card:hover {
    box-shadow: 0 6px 25px rgba(123, 198, 123, 0.15);
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.value-card h3 {
    font-size: 18px;
    color: #2C5530;
    margin-bottom: 10px;
    font-weight: 600;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Policy Content */
.policy-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E8F5E8;
}

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

.policy-section h2 {
    font-size: 24px;
    color: #2C5530;
    margin-bottom: 20px;
    font-weight: 600;
}

.policy-section h3 {
    font-size: 20px;
    color: #2C5530;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.policy-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section ul li {
    color: #666;
    line-height: 1.7;
    margin-bottom: 8px;
}

.policy-section .contact-info {
    background: #F8FDF8;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #7BC67B;
    margin-top: 15px;
}

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

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

.policy-section a {
    color: #7BC67B;
    text-decoration: none;
}

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

/* SVG Illustrations */
.svg-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.svg-illustration svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 85, 48, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 10000;
    border-top: 3px solid #7BC67B;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}

.cookie-text p {
    font-size: 14px;
    color: #B8D8B8;
    margin: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #7BC67B;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: white;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #7BC67B;
    color: white;
}

.cookie-btn.accept:hover {
    background: #5CB85C;
}

.cookie-btn.necessary {
    background: transparent;
    color: #B8D8B8;
    border: 1px solid #B8D8B8;
}

.cookie-btn.necessary:hover {
    background: #B8D8B8;
    color: #2C5530;
}

.cookie-btn.settings {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.settings:hover {
    background: white;
    color: #2C5530;
}

.cookie-btn.reject {
    background: transparent;
    color: #FF9999;
    border: 1px solid #FF9999;
}

.cookie-btn.reject:hover {
    background: #FF9999;
    color: white;
}

.cookie-btn.customize {
    background: transparent;
    color: #7BC67B;
    border: 1px solid #7BC67B;
}

.cookie-btn.customize:hover {
    background: #7BC67B;
    color: white;
}

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.cookie-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #E8F5E8;
    background: #F8FDF8;
    border-radius: 16px 16px 0 0;
}

.cookie-modal-header h2 {
    font-size: 24px;
    color: #2C5530;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.cookie-close:hover {
    color: #2C5530;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8F5E8;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7BC67B;
}

.cookie-category-header label {
    color: #2C5530;
    font-size: 16px;
    cursor: pointer;
}

.cookie-category p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #E8F5E8;
    background: #F8FDF8;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
}
/* Footer */
.footer {
    background-color: #2C5530;
    color: white;
    padding: 50px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-brand .logo-section {
    margin-bottom: 20px;
}

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

.footer-brand p {
    color: #B8D8B8;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    grid-column: span 2;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

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

.footer-column ul li a {
    color: #B8D8B8;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    color: #B8D8B8;
    font-size: 14px;
    margin-bottom: 4px;
}

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

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

/* Cookie Settings Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
}

.cookie-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #E8F5E8;
    background: #F8FDF8;
    border-radius: 16px 16px 0 0;
}

.cookie-modal-header h2 {
    font-size: 24px;
    color: #2C5530;
    font-weight: 600;
    margin: 0;
}

.cookie-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.cookie-close:hover {
    color: #2C5530;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E8F5E8;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #7BC67B;
}

.cookie-category-header label {
    color: #2C5530;
    font-size: 16px;
    cursor: pointer;
}

.cookie-category p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin-left: 30px;
}

.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #E8F5E8;
    background: #F8FDF8;
    border-radius: 0 0 16px 16px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.cookie-modal-footer .cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .content-section {
        padding: 25px;
        margin-bottom: 40px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .policy-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .policy-section h2 {
        font-size: 20px;
    }
    
    .policy-section h3 {
        font-size: 18px;
    }
}