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

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #FFFFFF;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, #FFFFFF 0%, #F7FAFC 100%);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(45, 55, 72, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    filter: drop-shadow(0 4px 8px rgba(45, 55, 72, 0.15));
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: #2D3748;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="80" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.5;
}

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

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-button {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
}

.cta-button.large {
    padding: 20px 40px;
    font-size: 18px;
}

.placeholder-image {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E0 100%);
    border: 2px dashed #A0AEC0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    font-weight: 500;
    min-height: 300px;
}

.placeholder-image.small {
    min-height: 200px;
}

.placeholder-image span {
    text-align: center;
    font-size: 16px;
}

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

.fukubukuro-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.budget-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #2D3748;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #E53E3E, #22543D);
    border-radius: 2px;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #F7FAFC;
}

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

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(45, 55, 72, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 55, 72, 0.15);
}

.feature-icon {
    background: linear-gradient(135deg, #FED7D7 0%, #FBB6CE 100%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2D3748;
}

.feature-card p {
    font-size: 16px;
    color: #4A5568;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
    background: white;
}

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

.step {
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #22543D 0%, #2F855A 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #2D3748;
}

.step p {
    font-size: 16px;
    color: #4A5568;
    line-height: 1.6;
}

/* Product Comparison */
.product-comparison {
    padding: 80px 0;
    background-color: #F7FAFC;
}

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

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(45, 55, 72, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 55, 72, 0.15);
}

.product-card .placeholder-image {
    margin: 0;
    border-radius: 0;
    border: none;
    min-height: 180px;
}

.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    padding: 20px 24px 8px;
    color: #2D3748;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #E53E3E;
    padding: 0 24px;
}

.original-price {
    font-size: 16px;
    color: #A0AEC0;
    text-decoration: line-through;
    font-weight: 400;
}

.savings {
    color: #22543D;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 24px 16px;
}

.contact-btn {
    background: linear-gradient(135deg, #22543D 0%, #2F855A 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: calc(100% - 48px);
    margin: 0 24px 24px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 84, 61, 0.3);
}

.contact-btn.special {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
}

.contact-btn.special:hover {
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.contact-btn.premium {
    background: linear-gradient(135deg, #2D3748 0%, #4A5568 100%);
}

.contact-btn.premium:hover {
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.3);
}

.contact-btn.traditional {
    background: linear-gradient(135deg, #744210 0%, #8B5A2B 100%);
}

.contact-btn.traditional:hover {
    box-shadow: 0 4px 12px rgba(116, 66, 16, 0.3);
}

/* Fukubukuro Section */
.fukubukuro {
    padding: 80px 0;
    background: white;
}

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

.fukubukuro-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2D3748;
}

.fukubukuro-text p {
    font-size: 18px;
    color: #4A5568;
    margin-bottom: 32px;
    line-height: 1.7;
}

.fukubukuro-features {
    list-style: none;
}

.fukubukuro-features li {
    padding: 12px 0;
    padding-left: 32px;
    position: relative;
    font-size: 16px;
    color: #2D3748;
}

.fukubukuro-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22543D;
    font-weight: 700;
    font-size: 18px;
}

/* Budget Tools */
.budget-tools {
    padding: 80px 0;
    background-color: #F7FAFC;
}

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

.budget-text h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2D3748;
}

.budget-text > p {
    font-size: 18px;
    color: #4A5568;
    margin-bottom: 32px;
    line-height: 1.7;
}

.budget-features {
    display: grid;
    gap: 24px;
}

.budget-feature {
    padding: 24px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #E53E3E;
}

.budget-feature strong {
    color: #2D3748;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.budget-feature p {
    color: #4A5568;
    font-size: 16px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #F7FAFC;
    padding: 32px;
    border-radius: 16px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 24px;
    font-size: 60px;
    color: #E53E3E;
    font-weight: bold;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #2D3748;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: #22543D;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #22543D 0%, #2F855A 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* Contacts */
.contacts {
    padding: 80px 0;
    background-color: #F7FAFC;
}

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

.contact-item {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(45, 55, 72, 0.08);
}

.contact-icon {
    background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E0 100%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.contact-item h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #2D3748;
}

.contact-item p {
    font-size: 16px;
    color: #4A5568;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #2D3748;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand .logo-section {
    margin-bottom: 16px;
}

.footer-brand .brand-name {
    color: white;
    font-size: 20px;
}

.footer-brand p {
    color: #A0AEC0;
    font-size: 14px;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-column a {
    display: block;
    color: #A0AEC0;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #E53E3E;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #A0AEC0;
    font-size: 14px;
}

/* Centered Content */
.centered-content {
    text-align: center;
}

.centered-content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.centered-content .features-grid,
.centered-content .steps-grid,
.centered-content .products-grid,
.centered-content .testimonials-grid {
    justify-content: center;
}

.centered-content .fukubukuro-content,
.centered-content .budget-content {
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-content,
    .fukubukuro-content,
    .budget-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features-grid,
    .steps-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .header-content {
        justify-content: flex-start;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.98);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(0);
    transition: all 0.3s ease;
    border-top: 3px solid #E53E3E;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn.accept {
    background: #22543D;
    color: white;
}

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

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

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

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

.cookie-btn.customize:hover {
    background: #4A5568;
    color: white;
}

.cookie-link {
    color: #A0AEC0;
    text-decoration: underline;
    font-size: 14px;
    margin-left: 8px;
}

.cookie-link:hover {
    color: #E53E3E;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.cookie-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1002;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    padding: 24px 32px 16px;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2D3748;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #A0AEC0;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #E53E3E;
}

.cookie-modal-body {
    padding: 24px 32px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: #F7FAFC;
    border-radius: 12px;
    border-left: 4px solid #E53E3E;
}

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

.cookie-category-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2D3748;
    margin: 0;
}

.cookie-category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #22543D;
}

.cookie-category p {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    padding: 16px 32px 32px;
    text-align: center;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 100px;
    }
    
    .cookie-link {
        margin-left: 0;
        margin-top: 8px;
    }
    
    .hero-photo {
        height: 250px;
    }
    
    .fukubukuro-photo,
    .budget-photo {
        height: 200px;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
}