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

:root {
    --primary-color: #d97757;
    --secondary-color: #c46b4f;
    --accent-color: #e8a87c;
    --text-dark: #3d2817;
    --text-light: #8b6f47;
    --bg-light: #faf7f3;
    --bg-white: #ffffff;
    --bg-warm: #fff8f0;
    --border-color: #e8d5c4;
    --shadow: 0 3px 15px rgba(217, 119, 87, 0.15);
    --shadow-hover: 0 8px 25px rgba(217, 119, 87, 0.25);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', 'MS PGothic', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-warm);
}

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

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #fff8f0 0%, #faf7f3 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo a {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fff8f0 0%, #f5ede0 50%, #faf7f3 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    border: 5px solid var(--bg-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-small {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
}

/* Section Styles */
.section-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.15rem;
}

.section-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 2;
    font-size: 1.1rem;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* About Preview Section */
.about-preview-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.section-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

/* Categories Section */
.categories-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #faf7f3 0%, #fff8f0 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.category-card {
    background-color: var(--bg-white);
    padding: 0;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-icon {
    font-size: 3.5rem;
    margin: 1.5rem 0 1rem;
}

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: var(--text-light);
    padding: 0 1.5rem 2rem;
}

/* Products Section */
.products-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--bg-warm);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    background-color: var(--bg-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

.product-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #faf7f3 0%, #fff8f0 100%);
}

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

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: bold;
}

.feature-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, #fff8f0 0%, #faf7f3 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: bold;
}

.cta-description {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-warm);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff8f0 0%, #f5ede0 100%);
    text-align: center;
    border-bottom: 3px solid var(--border-color);
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: bold;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* About Content */
.about-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.content-section {
    max-width: 850px;
    margin: 0 auto 3rem;
}

.content-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.content-section p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Shop Content */
.shop-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.shop-filters {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #faf7f3 0%, #fff8f0 100%);
    border-radius: 15px;
    border: 2px solid var(--border-color);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.filter-select {
    padding: 0.7rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    background-color: white;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* FAQs */
.faqs-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.faqs-list {
    max-width: 950px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, #fff8f0 0%, #faf7f3 100%);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(217, 119, 87, 0.05);
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    flex: 1;
    font-weight: 600;
}

.faq-toggle {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
}

.faqs-footer {
    text-align: center;
    margin-top: 4rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.faqs-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

/* Contact */
.contact-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2.5rem;
    font-size: 2rem;
    font-weight: bold;
}

.info-item {
    margin-bottom: 2.5rem;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    line-height: 2;
    font-size: 1.05rem;
}

.info-item a {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    padding: 0.2rem 0;
}

.info-item a:hover {
    text-decoration: underline;
    color: var(--secondary-color) !important;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, #fff8f0 0%, #faf7f3 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.form-group label {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.required {
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 87, 0.1);
}

.success-message,
.error-message {
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.success-message {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 2px solid #81c784;
}

.error-message {
    background-color: #ffebee;
    color: #c62828;
    border: 2px solid #ef5350;
}

/* Policy Pages */
.policy-content {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.policy-section {
    max-width: 950px;
    margin: 0 auto 3rem;
}

.policy-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.policy-section p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.policy-section ul {
    margin-left: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.policy-section li {
    margin-bottom: 0.8rem;
    line-height: 2;
    font-size: 1.05rem;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-updated {
    font-size: 0.95rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 3rem;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #3d2817 0%, #2c1f12 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: bold;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 2;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.8rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-menu a:hover {
    color: var(--accent-color);
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-section .container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin-bottom: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 1.3rem;
        display: block;
        padding: 0.8rem 0;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}
