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

body { font-family: 'Open Sans', 'Noto Sans Jp', sans-serif; }


header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e5e7eb;
}

.container {
    max-width: 1200px;
    margin:0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-icons {
    display: flex;
    align-items: center;
    gap: 8px;

}

.logo {
    height: 50px;
}

.logo-name {
    height: 50px;
}

/* Desktop Navigation */
.nav-links {
    display: none; /* Hidden by default on mobile */
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #666666;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: #ff6666;
    transform: scale(1.15);
}




/* ========== Search Engine ========== */
            .ultimate-search {
                position: relative;
                display: flex;
                align-items: center;
            }
            .ultimate-icon {
                cursor: pointer;
                padding: 12px;
                border-radius: 50%;
                transition: all 0.3s;
            }
            .ultimate-icon:hover {
                transform: scale(1.15);
            }
            .ultimate-icon:hover .search-svg {
                stroke: #ff6666;
            }
            #ultimateInput {
                position: absolute;
                right: 0;
                width: 70px;
                height: 56px;
                padding: 0 60px 0 20px;
                border: 3px solid #DC143C;
                border-radius: 99px;
                font-size: 1.1rem;
                background: white;
                outline: none;
                opacity: 0;
                visibility: hidden;
                transition: all 0.45s cubic-bezier(0.23, 1, 0.32, 1);
                box-shadow: 0 8px 30px rgba(220, 20, 60, 0.15);
                font-family: 'Noto Sans JP', sans-serif;
            }
            #ultimateInput.active {
                width: 420px;
                opacity: 1;
                visibility: visible;
            }
            @media (max-width: 640px) {
                #ultimateInput.active {
                    width: calc(100vw - 40px);
                }
            }
            .ultimate-results {
                position: absolute;
                top: 70px;
                right: 0;
                width: 460px;
                max-height: 78vh;
                overflow: auto;
                background: white;
                border-radius: 18px;
                box-shadow: 0 25px 60px rgba(0, 0, 0, 0.22);
                opacity: 0;
                visibility: hidden;
                transform: translateY(-15px);
                transition: all 0.4s ease;
                z-index: 99999;
                border: 1px solid #fce8e8;
            }
            .ultimate-results.active {
                opacity: 1;
                visibility: visible;
                transform: none;
            }
            .result-item {
                padding: 1.2rem 1.6rem;
                border-bottom: 1px solid #faeaea;
                transition: all 0.2s;
            }
            .result-item:hover {
                background: #fff8f8;
            }
            .result-item a {
                font-weight: 700;
                color: #DC143C;
                text-decoration: none;
                font-size: 1.15rem;
                display: block;
            }
            .result-item p {
                margin: 0.5rem 0 0;
                color: #444;
                font-size: 1rem;
                line-height: 1.55;
            }
            .result-item mark {
                background: #ffebec;
                color: #DC143C;
                padding: 1px 5px;
                border-radius: 4px;
                font-weight: 600;
            }
            .suggestion {
                padding: 1rem 1.6rem;
                color: #888;
                font-style: italic;
                text-align: center;
            }

            


/* Mobile Menu Button */
.mobile-menu-btn {
    display: block; /* Visible by default on mobile */
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: right 0.35 ease;
    padding: 2rem;
    z-index: 100;
}

.mobile-sidebar.open {right: 0;}

.overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s;
    z-index: 99;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav {
    margin-top: 3rem;
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;;
}

.mobile-nav a:hover {
    color: #ff6666;
}

.ultimateInput-mobilePlaceholder {
    border: 2px solid #666666;
    padding: 4px;
}


/* Show desktop nav on larger screens */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}


                    /* ========== Hero Section ========== linear-gradient(135deg, #fff0f2 0%, #fff8f0 65%, #fff 100%); */
                    .hero {
                        min-height: 100vh;
                        background: linear-gradient(135deg, #fff0f2 0%, #fff8f0 65%, #fff 100%);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        text-align: center;
                        padding: 0 20px;
                        position: relative;
                        margin-bottom: 60px;
                    }
                    .hero-content {
                        max-width: 900px;
                    }
                    .hero h1 {
                        font-size: 5.8rem;
                        font-weight: 700;
                        line-height: 1.1;
                        margin-bottom: 28px;
                        color: #1a1a1a;
                    }
                    .hero h1 span.withLine {
                        font-size: 3.5rem;
                        
                    }
                    .hero h1 span.redLine {
                        color: #ff6666;
                        
                    }
                    .hero p {
                        font-size: 1.55rem;
                        color: #444;
                        margin-bottom: 60px;
                        line-height: 1.6;
                    }
                    .hero p span {
                        margin-right: 20px;
                    }

                    /* Pill navigation in the center */
                    .hero-nav {
                        display: flex;
                        gap: 24px;
                        flex-wrap: wrap;
                        justify-content: center;
                    }
                    .hero-nav a {
                        display: inline-block;
                        padding: 14px 36px;
                        background: rgba(255, 255, 255, 0.85);
                        backdrop-filter: blur(12px);
                        border: 2px solid transparent;
                        border-radius: 50px;
                        font-size: 1.25rem;
                        font-weight: 600;
                        color: #333;
                        text-decoration: none;
                        transition: all 0.35s ease;
                        box-shadow: 0 8px 25px rgba(220, 20, 60, 0.15);
                    }
                    .hero-nav a:hover {
                        background: white;
                        color: #DC143C;
                        border-color: #DC143C;
                        transform: translateY(-6px);
                        box-shadow: 0 16px 48px rgba(220, 20, 60, 0.25);
                    }

                    @media (max-width: 768px) {
                        .hero h1 { font-size: 4rem ; }
                        .hero h1 span.withLine { font-size: 2.4rem;}
                        .hero p { font-size: 1.35rem; }
                        .hero-nav { gap: 16px; }
                        .hero-nav a { padding: 12 28px; font-size: 1.1rem;}

                    }


/* ===== Sections ===== */
.home-sections {
    
    margin-bottom: 60px;
}

.home-section-1 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    background: rgba(166, 199, 245, 0.15); /* Light transparent */
    backdrop-filter: blur(12px);           /* The frosted magic */
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 50px 60px;
    border-radius: 20px;
}
.home-sections-with-photo {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: nowrap;
}
.home-section-paragraph {
    flex: 1;
    min-width: 200px;
}
.home-section1-photo {
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(137, 140, 252, 0.25);
    width: 100%;
    max-width: 350px;
    transition: transform 0.6s;

}
.home-section-paragraph h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}
.home-section-paragraph p span {
    display: block;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .home-sections-with-photo {
        flex-wrap: wrap;
    }
}



.home-section-2 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    padding: 50px 60px;
    margin-top: 60px;
    margin-bottom: 60px;
}
.home-section-3 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    background: rgba(246, 206, 185, 0.15); /* Light transparent */
    backdrop-filter: blur(12px);           /* The frosted magic */
    border: 1px solid rgba(246, 144, 144, 0.25);
    padding: 50px 60px;
    border-radius: 20px;
}
.home-section-4 {
    width: 80%;
    max-width: 900px;
    margin: auto;
    padding: 50px 60px;
    margin-top: 60px;
    margin-bottom: 60px;
}

/* ========== Main Alphabet Cards ========== */

                        .section-5 {
                            padding: 120px 20px;
                            background: linear-gradient(135deg, #fff0f2, #f8f9fa);
                            overflow: hidden;
                        }
                        .main-alphabet-cards-row {
                            position: relative;
                            max-width: 1300px;
                            margin: 0 auto;
                        }

                        .main-alphabet-cards {
                            display: flex;
                            align-items: center;
                            gap: 30px;
                            width: 100%;
                            padding: 1rem 2rem;
                        }
                        .main-alphabet-cards::-webkit-scrollbar { display: none;}

                        .main-alphabet {
                            min-width: 420px;
                            background: rgba(241, 180, 114, 0.21);
                            border-radius: 28px;
                            overflow: hidden;
                            scroll-snap-align: center;
                            position: relative;
                            box-shadow: 0 25px 50px rgba(83, 82, 81, 0.25);
                            transition: all 0.5s ease;
                        }

                        .main-alphabet:hover {
                            transform: translateY(-12px);
                        }

                        .alpabet-image {max-width: 150px; padding: 0 20px 0 20px;}

                        .main-alphabet h3 {
                            font-size: 1.5rem;
                            color: #666;
                            padding: 20px;
                        }
                        .main-alphabet p { padding: 20px;}
                        .main-examples {padding: 0 40px 20px 40px ;}
                        .main-examples h5 {margin-bottom: 10px;}

                        /* Arrows */
                        .main-al-arrow {
                            position: absolute;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 60px;
                            height: 60px;
                            background-color: white;
                            border: none;
                            border-radius: 50%;
                            font-size: 2rem;
                            color: #DC143C;
                            cursor: pointer;
                            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
                            z-index: 999;
                            transition: all 0.3s;
                        }
                        .main-al-arrow:hover {
                            background: #DC143C;
                            color: white;
                            transform: translateY(-50%) scale(1.1);
                        }
                        .main-left-arrow {left: -30px;}
                        .main-right-arrow {right: -30px}

                        @media (max-width: 768px) {
                            .main-al-arrow { width: 50px; height: 50px; font-size: 1.5rem;}
                            .main-left-arrow { left: 10px;}
                            .main-right-arrow { right: 10px;}
                        }

    
                        