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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #4B4B4F;
    background-color: #FAFAF8;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Typography
======================================== */
h1 {
    font-size: 32px;
    line-height: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4B4B4F;
}

h2 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 600;
    color: #4B4B4F;
}

h3 {
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    color: #4B4B4F;
}

p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #6F6F74;
}

.small-text {
    font-size: 14px;
    line-height: 20px;
}

/* ========================================
   Layout & Container
======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

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

section {
    padding: 80px 0;
}

/* ========================================
   Buttons & CTAs
======================================== */
.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #FF8E8E 0%, #E67171 100%);
    color: #FFFFFF;
    text-decoration: none;
    border: none;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease-out;
    box-shadow: 0px 4px 12px rgba(255, 142, 142, 0.3);
}

.cta-button:hover {
    background: linear-gradient(135deg, #E67171 0%, #D65A5A 100%);
    transform: scale(1.03);
    box-shadow: 0px 8px 20px rgba(255, 142, 142, 0.4);
}

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

/* ========================================
   Hero Section
======================================== */
.hero-section {
    background: linear-gradient(135deg, #FAFAF8 0%, #F5F5F3 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-text {
    z-index: 2;
}

.hero-title {
    margin-bottom: 16px;
    background: linear-gradient(135deg, #4B4B4F 0%, #FF8E8E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #6F6F74;
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 26px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-note {
    font-size: 14px;
    color: #6F6F74;
    text-align: center;
}

.hero-image {
    position: relative;
}

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

/* ========================================
   Pain Section
======================================== */
.pain-section {
    background: #FFFFFF;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

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

.pain-item {
    text-align: center;
    padding: 24px;
    background: #FAFAF8;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.pain-item:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
}

.pain-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 16px;
}

.pain-text {
    font-weight: 500;
    color: #4B4B4F;
}

.pain-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Solution Section
======================================== */
.solution-section {
    background: linear-gradient(135deg, #FAFAF8 0%, #F0F8F5 100%);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.solution-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08);
}

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

.solution-icon .icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.solution-title {
    margin-bottom: 8px;
    color: #4B4B4F;
}

.solution-subtitle {
    color: #6F6F74;
    font-size: 14px;
}

.solution-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Benefit Section
======================================== */
.benefit-section {
    background: linear-gradient(135deg, #FF8E8E 0%, #FFB3B3 100%);
    color: #FFFFFF;
    text-align: center;
}

.benefit-highlight {
    margin-bottom: 32px;
}

.benefit-title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.benefit-number {
    font-size: 48px;
    font-weight: 700;
    color: #FFFFFF;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.benefit-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.benefit-description {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
    line-height: 26px;
}

/* ========================================
   Steps Section
======================================== */
.steps-section {
    background: #FFFFFF;
}

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

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF8E8E 0%, #E67171 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0px 4px 12px rgba(255, 142, 142, 0.3);
}

.step-title {
    margin-bottom: 8px;
    color: #4B4B4F;
}

.step-description {
    color: #6F6F74;
}

.steps-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials-section {
    background: linear-gradient(135deg, #FAFAF8 0%, #F5F5F3 100%);
}

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

.testimonial-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 20px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    margin-bottom: 16px;
    font-style: italic;
    color: #4B4B4F;
    line-height: 26px;
}

.testimonial-author {
    font-size: 14px;
    color: #6F6F74;
    text-align: right;
}

/* ========================================
   Security Section
======================================== */
.security-section {
    background: #FFFFFF;
}

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

.security-item {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #B3D9C1 0%, #A8D4B8 100%);
    border-radius: 16px;
    color: #FFFFFF;
}

.security-item h3 {
    color: #FFFFFF;
    font-size: 18px;
}

.security-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   Pricing Section
======================================== */
.pricing-section {
    background: linear-gradient(135deg, #FAFAF8 0%, #F0F8F5 100%);
}

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

.pricing-card {
    background: #FFFFFF;
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(135deg, #FF8E8E 0%, #FFB3B3 100%);
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0px 8px 24px rgba(255, 142, 142, 0.3);
}

.pricing-card.featured .plan-name,
.pricing-card.featured .plan-price,
.pricing-card.featured .plan-description {
    color: #FFFFFF;
}

.pricing-card:hover {
    transform: translateY(-4px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #4B4B4F;
}

.plan-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #4B4B4F;
}

.plan-period {
    font-size: 16px;
    font-weight: 400;
}

.plan-description {
    color: #6F6F74;
}

.pricing-description {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
    background: #FFFFFF;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #C8C8CB;
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #FF8E8E;
}

.faq-question h3 {
    font-size: 18px;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    font-weight: 300;
    color: #FF8E8E;
    transition: transform 0.3s ease;
}

.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: 200px;
    padding-bottom: 20px;
}

/* ========================================
   Footer CTA Section
======================================== */
.footer-cta-section {
    background: linear-gradient(135deg, #4B4B4F 0%, #6F6F74 100%);
    color: #FFFFFF;
    text-align: center;
}

.footer-cta-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.footer-cta-subtitle {
    font-size: 18px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: #4B4B4F;
    color: #FFFFFF;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-brand h3 {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 768px) {
    section {
        padding: 56px 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 34px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .benefit-title {
        font-size: 28px;
        line-height: 36px;
    }
    
    .benefit-number {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .cta-button.large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .benefit-title {
        font-size: 24px;
        line-height: 30px;
    }
    
    .benefit-number {
        font-size: 32px;
    }
    
    .footer-cta-title {
        font-size: 22px;
    }
    
    .footer-cta-subtitle {
        font-size: 16px;
    }
}

/* ========================================
   Animation Classes (for JavaScript)
======================================== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Utility Classes
======================================== */
.text-center {
    text-align: center;
}

.mb-16 {
    margin-bottom: 16px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-32 {
    margin-bottom: 32px;
}

.hidden {
    display: none;
}

