/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #2d5a2d 0%, #4a7c4a 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #90c695;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
main {
    margin-top: 110px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 80px 0;
    display: flex;
    align-items: center;
    min-height: 70vh;
}

.hero-content {
    flex: 1;
    padding: 0 40px;
}

.hero h1 {
    font-size: 3rem;
    color: #2d5a2d;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c4a 0%, #5d8f5d 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 74, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 74, 0.4);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: fadeInRight 1s ease-out 0.9s both;
}

/* Section Styles */
section {
    padding: 80px 0;
    scroll-margin-top: 130px;
    position: relative;
    z-index: 1;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2d5a2d;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #4a7c4a 0%, #5d8f5d 100%);
    border-radius: 2px;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8f5e8;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #2d5a2d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Company Section */
.company {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.company-info {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.info-item dt {
    font-weight: 600;
    color: #2d5a2d;
    width: 120px;
    flex-shrink: 0;
}

.info-item dd {
    color: #666;
    margin-left: 1rem;
}

/* Store Section */
.store {
    background: white;
}

.store-card {
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 100%);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid #e8f5e8;
}

.store-card h3 {
    color: #2d5a2d;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #4a7c4a;
}

.store-description {
    margin-bottom: 2rem;
}

.store-description p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.store-details, .business-hours, .medical-info, .services-info, .payment-info, .insurance-info, .legal-info {
    margin-bottom: 2rem;
}

.store-details h4, .business-hours h4, .medical-info h4, .services-info h4, .payment-info h4, .insurance-info h4, .legal-info h4 {
    color: #2d5a2d;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-left: 4px solid #4a7c4a;
    padding-left: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    padding: 0.5rem 0;
}

.detail-item dt {
    font-weight: 600;
    color: #2d5a2d;
    width: 180px;
    flex-shrink: 0;
}

.detail-item dd {
    color: #666;
    margin-left: 1rem;
    line-height: 1.6;
}

.business-hours table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.business-hours table td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.business-hours table td:first-child {
    font-weight: 600;
    color: #2d5a2d;
    width: 100px;
}

.services-info ul, .insurance-info ul {
    list-style: none;
    padding-left: 0;
}

.services-info li, .insurance-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}

.services-info li::before, .insurance-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a7c4a;
    font-weight: bold;
}

.pdf-link {
    text-align: center;
    margin-top: 2rem;
}

.pdf-button {
    display: inline-block;
    background: linear-gradient(135deg, #4a7c4a 0%, #5d8f5d 100%);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 124, 74, 0.3);
}

.pdf-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 74, 0.4);
}

/* News Section */
.news {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: white;
    margin-bottom: 1.5rem;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-3px);
}

.news-date {
    color: #4a7c4a;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.news-title {
    color: #2d5a2d;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.news-content {
    color: #666;
    line-height: 1.8;
}

/* Recruit Section */
.recruit {
    background: white;
}

.recruit-content {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #f8fdf8 0%, #f0f8f0 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.recruit-content p {
    font-size: 1.2rem;
    color: #666;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item, .contact-hours {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item h3, .contact-hours h4 {
    color: #2d5a2d;
    margin-bottom: 1rem;
}

.contact-item p, .contact-hours p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2d5a2d 0%, #4a7c4a 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #2d5a2d;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content, .hero-image {
        flex: none;
        width: 100%;
    }

    .hero-content {
        padding: 0;
        margin-bottom: 2rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-item {
        flex-direction: column;
    }

    .info-item dt {
        width: auto;
        margin-bottom: 0.5rem;
    }

    .info-item dd {
        margin-left: 0;
    }

    .detail-item {
        flex-direction: column;
    }

    .detail-item dt {
        width: auto;
        margin-bottom: 0.5rem;
    }

    .detail-item dd {
        margin-left: 0;
    }

    .store-card {
        padding: 2rem;
    }

    .company-info {
        padding: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-nav ul {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .store-card {
        padding: 1.5rem;
    }

    .company-info {
        padding: 1.5rem;
    }

    .contact-item, .contact-hours {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for news */
.loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4a7c4a;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}