* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Header */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 80px;
    height: 80px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: #2d8659;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #2d8659;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d8659;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url('https://images.unsplash.com/photo-1450778869180-41d0601e046e?w=1600') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
}

.hero-content {
    z-index: 1;
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.4;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: #2d8659;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.4);
}

.cta-button:hover {
    background: #236b45;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.5);
}

/* Sections */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: #2d8659;
    font-weight: 700;
}

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

/* Pets Section */
.pets-section {
    background: #f8fbfc;
}

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

.pet-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.pet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(45, 134, 89, 0.2);
}

.pet-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.pet-info {
    padding: 20px;
    text-align: center;
}

.pet-info h3 {
    color: #2d8659;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

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

/* Payment Section */
.payment-section {
    background: white;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.payment-item {
    text-align: center;
    padding: 30px;
    background: #f8fbfc;
    border-radius: 15px;
    min-width: 200px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.payment-item:hover {
    transform: translateY(-5px);
    border-color: #2d8659;
    box-shadow: 0 8px 20px rgba(45, 134, 89, 0.15);
}

.payment-item p {
    font-weight: 700;
    color: #2d8659;
    font-size: 18px;
    margin-bottom: 8px;
}

.payment-item span {
    font-size: 13px;
    color: #666;
}

.payment-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.payment-link {
    display: inline-block;
    padding: 15px 45px;
    background: linear-gradient(135deg, #2d8659 0%, #3fa76d 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(45, 134, 89, 0.3);
}

.payment-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 134, 89, 0.4);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #e8f5ed 0%, #d4ede0 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-header {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.phone-icon {
    width: 60px;
    height: 60px;
}

.contact-card h3 {
    color: #2d8659;
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 700;
}

.line-qr-box {
    margin: 25px 0;
    display: flex;
    justify-content: center;
}

.line-qr-box img {
    max-width: 280px;
    width: 100%;
    border: 3px solid #06c755;
    border-radius: 15px;
    padding: 15px;
    background: white;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    border: 3px dashed #06c755;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f9f4;
}

.qr-placeholder p {
    color: #06c755;
    font-weight: 600;
    margin: 5px 0;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

.email-info {
    font-size: 16px;
    margin: 25px 0;
}

.email-info a {
    color: #2d8659;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
}

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

.contact-note {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
}

/* Company Section */
.company-section {
    background: white;
}

.company-info-box {
    max-width: 900px;
    margin: 0 auto;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-radius: 15px;
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.info-table th {
    background: linear-gradient(135deg, #2d8659 0%, #3fa76d 100%);
    color: white;
    font-weight: 600;
    width: 30%;
    font-size: 15px;
}

.info-table td {
    color: #333;
    font-size: 15px;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

.en-name {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.info-table a {
    color: #2d8659;
    text-decoration: none;
    font-weight: 600;
}

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

/* Footer */
footer {
    background: #1d3557;
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 8px 0;
    font-size: 14px;
}

footer a {
    color: #a8dadc;
    text-decoration: none;
    font-weight: 500;
}

footer a:hover {
    text-decoration: underline;
}

/* Shop Page Styles */
.shop-page {
    background: linear-gradient(180deg, #e8f5f0 0%, #f0f9f5 50%, #ffffff 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
}

.shop-main {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.shop-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background: #f0f0f0;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-button.active {
    background: #2d8659;
    color: white;
}

.tab-button:hover {
    background: #3fa76d;
    color: white;
}

.shop-title {
    text-align: center;
    font-size: 42px;
    color: #2d8659;
    margin-bottom: 30px;
    font-weight: 700;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-tag {
    padding: 10px 25px;
    border: 2px solid #2d8659;
    border-radius: 25px;
    background: white;
    color: #2d8659;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-tag:hover {
    background: #2d8659;
    color: white;
}

.pets-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.pet-shop-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.pet-shop-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(45, 134, 89, 0.2);
}

.pet-shop-card.sold-out {
    opacity: 0.7;
}

.pet-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(45, 134, 89, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.sold-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    z-index: 10;
}

.pet-shop-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pet-shop-info {
    padding: 15px;
    text-align: center;
}

.pet-shop-info h3 {
    color: #2d8659;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pet-detail {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.pet-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.pet-price span {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn.active {
    background: #2d8659;
    color: white;
    border-color: #2d8659;
}

.page-btn:hover {
    background: #3fa76d;
    color: white;
    border-color: #3fa76d;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.reservation-box {
    background: linear-gradient(135deg, #e8f5ed 0%, #d4ede0 100%);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.reservation-box h3 {
    color: #2d8659;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 700;
}

.reservation-box p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 14px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    display: block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    color: white;
}

.line-btn {
    background: #06c755;
}

.line-btn:hover {
    background: #05b04b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.4);
}

.wechat-btn {
    background: #09b83e;
}

.wechat-btn:hover {
    background: #08a537;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(9, 184, 62, 0.4);
}

/* Company Page Styles */
.company-page {
    background: #f8fbfc;
    min-height: 100vh;
    padding: 60px 0;
}

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

.page-title {
    text-align: center;
    font-size: 48px;
    color: #2d8659;
    margin-bottom: 60px;
    font-weight: 700;
    letter-spacing: 3px;
}

.philosophy-section,
.info-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.section-heading {
    font-size: 32px;
    color: #2d8659;
    margin-bottom: 35px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.heading-bar {
    width: 5px;
    height: 40px;
    background: #2d8659;
    border-radius: 3px;
}

.philosophy-content p {
    color: #333;
    line-height: 2;
    margin-bottom: 25px;
    font-size: 15px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding: 25px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    background: linear-gradient(135deg, #2d8659 0%, #3fa76d 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.info-value {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.info-value p {
    color: #333;
    font-size: 15px;
    line-height: 1.8;
}

.en-text {
    color: #666;
    font-size: 14px;
}

/* Contact Page Styles */
.contact-page {
    background: #f8fbfc;
    min-height: 100vh;
    padding: 60px 0;
}

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

.contact-page-title {
    text-align: center;
    font-size: 48px;
    color: #2d8659;
    margin-bottom: 60px;
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-info-section h2 {
    font-size: 24px;
    color: #2d8659;
    margin-bottom: 30px;
    font-weight: 700;
}

.address-box {
    margin-bottom: 40px;
}

.address-box h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.address-box p {
    color: #333;
    line-height: 1.8;
    font-size: 15px;
}

.contact-details h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-details p {
    color: #333;
    line-height: 2;
    font-size: 15px;
}

.contact-details a {
    color: #2d8659;
    text-decoration: none;
    font-weight: 600;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-form-section h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2d8659;
    background: white;
    box-shadow: 0 0 0 3px rgba(45, 134, 89, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    padding: 15px 40px;
    background: #2d8659;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    align-self: center;
}

.submit-btn:hover {
    background: #236b45;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(45, 134, 89, 0.4);
}

/* Footer Links Section */
.footer-links {
    background: white;
    border-top: 1px solid #e0e0e0;
    padding: 50px 0 30px;
}

.footer-links-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-column h3 {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

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

.footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #2d8659;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #2d8659;
    color: white;
    transform: translateY(-3px);
}

/* QR Code Modal */
.qr-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.qr-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.qr-close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.qr-close:hover {
    color: #333;
}

.qr-modal-content h2 {
    color: #2d8659;
    font-size: 26px;
    margin-bottom: 30px;
    font-weight: 700;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.qr-code-container img {
    max-width: 300px;
    width: 100%;
    border: 3px solid #2d8659;
    border-radius: 15px;
    padding: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.qr-modal-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 15px 20px;
    }

    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        height: 500px;
    }

    .hero h2 {
        font-size: 32px;
    }

    section {
        padding: 50px 0;
    }

    section h2 {
        font-size: 28px;
    }

    .payment-methods {
        gap: 20px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .info-table th,
    .info-table td {
        padding: 15px;
        font-size: 14px;
    }

    .info-table th {
        width: 35%;
    }

    .shop-container {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }

    .pets-shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .shop-tabs {
        gap: 10px;
    }

    .tab-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .filter-tags {
        gap: 8px;
    }

    .filter-tag {
        padding: 8px 18px;
        font-size: 13px;
    }

    .philosophy-section,
    .info-section {
        padding: 30px 20px;
    }

    .info-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-label {
        padding: 12px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 40px;
    }

    .page-title,
    .contact-page-title {
        font-size: 36px;
    }

    .footer-links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}