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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #F7F7F7;
}

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

/* Header */
.header {
    background-color: #F7F7F7;
    padding: 20px 0;
    border-bottom: 1px solid #D7C9A3;
}

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

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 24px;
    font-weight: 500;
    color: #1B5E20;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: #F7F7F7;
    padding: 60px 0;
}

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

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

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.hero-image {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: #1B5E20;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 500;
}

/* Services Section */
.services {
    background-color: #F7F7F7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D7C9A3;
}

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

.service-card h3 {
    font-size: 1.3rem;
    color: #1B5E20;
    margin-bottom: 15px;
    font-weight: 500;
}

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

/* Trails Section */
.trails {
    background-color: white;
}

.trails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.trail-card {
    background-color: #F7F7F7;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D7C9A3;
}

.trail-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.trail-card h3 {
    font-size: 1.3rem;
    color: #1B5E20;
    padding: 20px 20px 10px;
    font-weight: 500;
}

.trail-card p {
    color: #555;
    padding: 0 20px 20px;
    line-height: 1.6;
}

/* Equipment Section */
.equipment {
    background-color: #F7F7F7;
}

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

.equipment-text h3 {
    font-size: 1.8rem;
    color: #1B5E20;
    margin-bottom: 20px;
    font-weight: 500;
}

.equipment-text p {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.equipment-text ul {
    list-style: none;
}

.equipment-text li {
    color: #555;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.equipment-text li::before {
    content: "▸";
    color: #1B5E20;
    position: absolute;
    left: 0;
}

.equipment-image {
    text-align: center;
}

.equipment-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Beginner Section */
.beginner {
    background-color: white;
}

.beginner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.guide-item {
    background-color: #F7F7F7;
    padding: 30px 25px;
    border-radius: 8px;
    border-left: 4px solid #1B5E20;
}

.guide-item h4 {
    font-size: 1.2rem;
    color: #1B5E20;
    margin-bottom: 12px;
    font-weight: 500;
}

.guide-item p {
    color: #555;
    line-height: 1.6;
}

/* Products Section */
.products {
    background-color: #F7F7F7;
}

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

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D7C9A3;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1B5E20;
    margin: 10px 20px;
}

.product-card h3 {
    font-size: 1.3rem;
    color: #1B5E20;
    padding: 20px 20px 10px;
    font-weight: 500;
}

.product-card p {
    color: #555;
    padding: 0 20px 20px;
    line-height: 1.6;
}

.product-btn {
    background-color: #1B5E20;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    margin: 0 20px 20px;
    font-family: 'Noto Sans JP', sans-serif;
}

.product-btn:hover {
    background-color: #2E7D32;
}

/* Guides Section */
.guides {
    background-color: white;
}

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

.guides-text h3 {
    font-size: 1.8rem;
    color: #1B5E20;
    margin-bottom: 20px;
    font-weight: 500;
}

.guides-text p {
    color: #555;
    line-height: 1.6;
}

.guides-image {
    text-align: center;
}

.guides-img {
    width: 100%;
    max-width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* Contacts Section */
.contacts {
    background-color: #F7F7F7;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #D7C9A3;
}

.contact-item h4 {
    font-size: 1.3rem;
    color: #1B5E20;
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background-color: #222222;
    color: #F7F7F7;
    padding: 50px 0 20px;
}

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

.footer-brand {
    text-align: left;
}

.footer .brand-name {
    color: #D7C9A3;
}

.footer-description {
    margin-top: 15px;
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links-section h4,
.footer-contact h4 {
    color: #D7C9A3;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-links a {
    color: #F7F7F7;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #D7C9A3;
}

.footer-contact p {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact p:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.close:hover {
    color: #222;
}

.modal h2 {
    color: #1B5E20;
    margin-bottom: 30px;
    font-family: 'Noto Serif JP', serif;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #222;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D7C9A3;
    border-radius: 4px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1B5E20;
}

.submit-btn {
    background-color: #1B5E20;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #2E7D32;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #222222;
    color: #F7F7F7;
    padding: 25px;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #1B5E20;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
}

.cookie-text h3 {
    color: #D7C9A3;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-link {
    color: #D7C9A3;
    text-decoration: underline;
    font-size: 0.85rem;
    margin-left: 10px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-btn.accept {
    background-color: #1B5E20;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #2E7D32;
}

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

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

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

.cookie-btn.customize:hover {
    background-color: #F7F7F7;
    color: #222222;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-modal-header h3 {
    color: #1B5E20;
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

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

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

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

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h4 {
    color: #1B5E20;
    margin: 0;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-category input[type="checkbox"] {
    transform: scale(1.2);
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .equipment-content,
    .guides-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 30px 20px;
    }
    
    .cookie-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}