* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2E7D32;
    --light-green: #4CAF50;
    --dark-green: #1B5E20;
    --accent-green: #66BB6A;
    --light-bg: #F1F8E9;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding: 80px 20px 40px;
}

.hero .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    animation: fadeInLeft 1s ease-out;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.2;
    white-space: nowrap;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    text-align: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border-color: var(--primary-green);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 3rem;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-green);
}

.bg-light {
    background: var(--light-bg);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.service-card h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

/* Company Info */
.company-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.company-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.company-card table {
    width: 100%;
    border-collapse: collapse;
}

.company-card td {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.company-card td:first-child {
    font-weight: 600;
    color: var(--primary-green);
    width: 150px;
}

/* Store Info */
.store-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.store-card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 0.5rem;
}

.store-photo {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.store-photo img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.store-description {
    grid-column: 1 / -1;
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    line-height: 1.8;
}

.store-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.store-basic-info h4, .store-hours h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.store-basic-info table, .store-hours table {
    width: 100%;
    border-collapse: collapse;
}

.store-basic-info td, .store-hours td {
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.store-basic-info td:first-child, .store-hours td:first-child {
    font-weight: 600;
    color: var(--primary-green);
    width: 100px;
}

.store-legal-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--accent-green);
}

.store-legal-info h4 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--light-bg);
    border-left: 5px solid var(--primary-green);
    border-radius: var(--border-radius);
}

.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.legal-card--full {
    grid-column: 1 / -1;
}

.legal-card--full ul {
    column-count: 2;
    column-gap: 2rem;
}

.legal-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.legal-card h5 {
    color: var(--white);
    background: var(--primary-green);
    margin: -1.2rem -1.2rem 1rem;
    padding: 0.65rem 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.legal-card table {
    width: 100%;
    border-collapse: collapse;
}

.legal-card td {
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    vertical-align: top;
    line-height: 1.6;
}

.legal-card td:first-child {
    font-weight: 600;
    color: var(--primary-green);
    width: 110px;
    white-space: nowrap;
}

.legal-card ul {
    list-style: none;
}

.legal-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    line-height: 1.6;
}

.legal-card li:last-child {
    border-bottom: none;
}

.legal-card li:before {
    content: "✓ ";
    color: var(--primary-green);
    font-weight: bold;
}

.legal-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.pdf-download {
    text-align: center;
    margin-top: 2rem;
}

/* News */
.news-container {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
}

.news-date {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.news-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.news-content {
    color: var(--text-light);
    line-height: 1.6;
}

/* Recruit */
.recruit-content {
    text-align: center;
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.recruit-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Contact */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h3 {
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-card table {
    width: 100%;
    border-collapse: collapse;
}

.contact-card td {
    padding: 0.8rem;
    border-bottom: 1px solid #eee;
}

.contact-card td:first-child {
    font-weight: 600;
    color: var(--primary-green);
    width: 120px;
}

/* Footer */
footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-info {
    text-align: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .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: 100px 0 40px;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .store-details {
        grid-template-columns: 1fr;
    }

    .legal-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-card, .company-card, .contact-card {
        padding: 1rem;
    }

    .legal-card {
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for news */
.loading {
    text-align: center;
    color: var(--primary-green);
    font-size: 1.1rem;
    padding: 2rem;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

/* Fade in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}