:root {
    --primary-color: #4a90e2;
    --secondary-color: #7b68ee;
    --accent-color: #ff6b6b;
    --success-color: #4ecdc4;
    --warning-color: #ffa726;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --warm-gradient: linear-gradient(135deg, #fff0f1 0%, #f8f2ff 100%);
    --trust-gradient: linear-gradient(135deg, #e6f7ff 0%, #f3f0ff 100%);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.07);
    --shadow-medium: 0 12px 40px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.section {
    padding: 100px 0;
}

.section-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    line-height: 1.4;
    color: var(--text-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo img {
    height: 35px;
    transition: transform 0.3s ease;
}
.logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact-button {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.nav-contact-button:hover {
    background: var(--secondary-color);
    color: white;
}
.nav-contact-button:hover::after {
    width: 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero-section {
    background: var(--warm-gradient);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--primary-color);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    border: 2px solid transparent;
}

.cta-button.primary {
    background: var(--primary-color);
    color: white;
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

.cta-button.secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Problem Section */
.problem-section {
    background: var(--bg-light);
}

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

.problem-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.problem-card i {
    font-size: 28px;
    color: var(--accent-color);
    margin-top: 5px;
}

.problem-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.section-conclusion {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: var(--bg-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    border-left: 5px solid var(--primary-color);
}

/* AdSense Placeholder */
.ad-placeholder-section {
    padding: 50px 0;
    background: var(--bg-light);
}
.ad-box {
    width: 100%;
    max-width: 728px;
    height: 90px;
    margin: 0 auto;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border-radius: 10px;
}

/* Features Section */
.features-section {
    background: var(--trust-gradient);
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-card .card-icon i {
    font-size: 28px;
    color: white;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border-top: 4px solid var(--success-color);
    text-align: center;
}

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

.benefit-card .card-icon i {
    font-size: 40px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.benefit-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

/* Use Cases Section */
.use-cases-section {
    background: var(--bg-light);
}

.use-cases-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 25px;
}

.use-case-item {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.use-case-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-medium);
}

.use-case-item .icon {
    width: 60px;
    height: 60px;
    background: var(--warning-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.use-case-item .icon i {
    font-size: 24px;
    color: white;
}

.use-case-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 100px;
    color: rgba(255, 255, 255, 0.1);
    transform: rotate(-15deg);
}

.testimonials-section .section-title,
.testimonials-section .section-intro {
    color: white;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-color);
}

.testimonial-text {
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 700;
    text-align: right;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.pricing-badge {
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.pricing-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.pricing-price small {
    font-size: 1rem; 
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    display: inline-block;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: var(--success-color);
    font-size: 18px;
}

.trial-badge {
    background: var(--accent-color);
    color: white;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 30px;
}

.options-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.options-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.options-list {
    list-style: none;
    text-align: left;
}

.options-list li {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 15px 0;
}

.options-list li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.options-list i {
    font-size: 20px;
    color: var(--secondary-color);
}

/* Final CTA Section */
.final-cta-section {
    background: var(--warm-gradient);
    text-align: center;
}

.urgency-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.special-offer {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--accent-color);
    display: inline-block;
}

.special-offer h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.google-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Footer */
.site-footer {
    background: var(--text-primary);
    color: white;
    padding: 80px 0 40px;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 20px;
    color: white;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.1);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.is-active .hamburger {
        transform: rotate(45deg);
    }
    .menu-toggle.is-active .hamburger::before {
        transform: rotate(90deg);
        top: 0;
    }
    .menu-toggle.is-active .hamburger::after {
        transform: rotate(90deg);
        bottom: 0;
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 350px;
    }

    .problem-grid, .benefits-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Book Feature Section */
.book-feature-section {
    background: var(--bg-light);
}

.book-showcase {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.book-showcase-image {
    flex: 0 0 35%;
    max-width: 35%;
}

.book-showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.book-showcase-image img:hover {
    transform: scale(1.05);
}

.book-showcase-info {
    flex: 1;
}

.book-showcase .book-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.book-showcase .book-title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.book-showcase .book-author {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.book-showcase .book-description {
    margin-bottom: 2rem;
}

.book-showcase .book-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.book-showcase .book-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 8px;
}

.book-showcase .book-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments for the book showcase */
@media (max-width: 768px) {
    .book-showcase {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .book-showcase-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px; /* Adjust for mobile */
    }
    
    .book-showcase .book-actions {
        justify-content: center;
    }
}
