/* 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;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    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;
}

.header-contact .phone {
    color: #2C5530;
    font-weight: 500;
    font-size: 16px;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #E8F5E8 0%, #FDF8F0 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero h1 {
    font-size: 48px;
    font-weight: 600;
    color: #2C5530;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: linear-gradient(135deg, #7BC67B, #5CB85C);
    color: white;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(123, 198, 123, 0.3);
}

.cta-button:hover {
    box-shadow: 0 6px 20px rgba(123, 198, 123, 0.4);
}

/* Hero Image */
.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Section Images */
.section-image-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* Product Images */
.product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* About Images */
.about-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Services Overview */
.services-overview {
    padding: 60px 0;
    background-color: white;
    text-align: center;
}

.services-overview h2 {
    font-size: 36px;
    color: #2C5530;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #E8F5E8;
}

.service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    color: #2C5530;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Section Styles */
.pet-matching,
.care-services,
.online-consultation,
.about-brief {
    padding: 80px 0;
    text-align: center;
}

.pet-matching {
    background-color: #FDF8F0;
}

.care-services {
    background-color: white;
}

.online-consultation {
    background-color: #E8F5E8;
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.section-content.reverse {
    direction: rtl;
}

.section-content.reverse > * {
    direction: ltr;
}

.section-text h2 {
    font-size: 36px;
    color: #2C5530;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
}

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

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: #666;
    text-align: left;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #7BC67B;
    font-weight: bold;
}

.service-types {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.service-type h4 {
    color: #2C5530;
    font-size: 18px;
    margin-bottom: 8px;
    text-align: left;
}

.service-type p {
    color: #888;
    font-size: 14px;
    margin-bottom: 0;
    text-align: left;
}

.consultation-benefits {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon {
    font-size: 24px;
}

.benefit span {
    color: #666;
    font-size: 14px;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.products h2 {
    font-size: 36px;
    color: #2C5530;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #E8F5E8;
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
}

.product-image .image-placeholder {
    height: 100%;
    border-radius: 0;
    border: none;
    background: linear-gradient(135deg, #FFE4E8, #E8F5E8);
    font-size: 14px;
    color: #7BC67B;
}

.product-card h3 {
    font-size: 20px;
    color: #2C5530;
    margin: 20px 20px 10px;
    font-weight: 600;
}

.product-card p {
    color: #666;
    margin: 0 20px 20px;
    line-height: 1.6;
    font-size: 14px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #2C5530;
    margin: 0 20px 15px;
    text-align: center;
}

.product-button {
    background: linear-gradient(135deg, #FF9999, #FF7777);
    color: white;
    border: none;
    padding: 12px 20px;
    margin: 0 20px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    width: calc(100% - 40px);
}

.product-button:hover {
    background: linear-gradient(135deg, #FF7777, #FF5555);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #E8F5E8;
    text-align: center;
}

.benefits h2 {
    font-size: 36px;
    color: #2C5530;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(123, 198, 123, 0.1);
}

.benefit-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.benefit-card .benefit-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.benefit-card h3 {
    font-size: 20px;
    color: #2C5530;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* About Brief Section */
.about-brief {
    background-color: #FDF8F0;
}

.about-brief .section-content {
    text-align: left;
}

.about-brief .section-text h2 {
    text-align: left;
}

.about-brief .section-text p {
    text-align: left;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #FDF8F0;
}

.contact h2 {
    font-size: 36px;
    color: #2C5530;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 32px;
    background: #E8F5E8;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 18px;
    color: #2C5530;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    margin-bottom: 4px;
}

.contact-hours {
    font-size: 14px;
    color: #888;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E8F5E8;
}

.contact-form h3 {
    font-size: 22px;
    color: #2C5530;
    margin-bottom: 20px;
    font-weight: 600;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E8F5E8;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #7BC67B;
}

.submit-button {
    background: linear-gradient(135deg, #7BC67B, #5CB85C);
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background: linear-gradient(135deg, #5CB85C, #4CAF4C);
}

/* 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;
}

.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;
}

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

.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);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.modal form {
    padding: 30px;
}

/* Link Button */
.link-button {
    display: inline-block;
    color: #7BC67B;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #7BC67B;
    padding: 10px 20px;
    border-radius: 8px;
}

.link-button:hover {
    background-color: #7BC67B;
    color: white;
}

/* Custom SVG Illustrations */
.consultation-svg,
.about-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Image Placeholder */
.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;
}

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

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .services-grid,
    .products-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .consultation-benefits {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal form {
        padding: 20px;
    }
    
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
}