@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    /* Color Palette */
    --color-teal: #2EC4B6;
    --color-teal-light: #E8F8F6;
    /* Thin teal from reference */
    --color-teal-hover: #25a094;
    --color-black: #222222;
    --color-gray: #777777;
    --color-white: #FFFFFF;

    /* Layout */
    --header-height: 80px;
    --container-width: 1000px;

    /* Spacing */
    --spacing-section: 120px;
}

/* Bubble Effect Container */
#bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.scroll-bubble {
    position: absolute;
    border-radius: 50%;
    /* Realistic soap bubble gradient */
    background:
        radial-gradient(ellipse at 25% 25%, rgba(255, 255, 255, 0.9) 0%, transparent 30%),
        radial-gradient(ellipse at 75% 75%, rgba(255, 255, 255, 0.3) 0%, transparent 20%),
        radial-gradient(ellipse at 50% 50%, rgba(46, 196, 182, 0.15) 0%, rgba(100, 200, 255, 0.1) 50%, transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    animation: bubbleFloat 3s ease-out forwards;
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.4),
        inset -5px -5px 15px rgba(46, 196, 182, 0.2),
        0 0 5px rgba(255, 255, 255, 0.3);
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }

    20% {
        transform: translateY(-50px) scale(1);
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) scale(0.8);
        opacity: 0;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header + margin */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #fafafa;
}

/* ----------------
   HEADER
---------------- */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.header-container {
    width: 90%;
    max-width: 1200px;
    /* Wider for header */
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}

.logo-en {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 0.05em;
}

.sub-logo {
    font-size: 10px;
    color: var(--color-gray);
    font-weight: 700;
}

/* PC Nav */
.global-nav {
    display: none;
}

@media (min-width: 900px) {
    .global-nav {
        display: block;
    }

    .nav-list {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    .nav-link {
        font-weight: 700;
        font-size: 14px;
        color: var(--color-black);
    }

    .nav-link:hover {
        color: var(--color-teal);
    }

    .btn-header-cta {
        background: var(--color-teal);
        color: var(--color-white);
        padding: 10px 24px;
        border-radius: 50px;
        font-weight: 700;
        font-size: 14px;
        transition: transform 0.2s;
    }

    .btn-header-cta:hover {
        transform: translateY(-2px);
    }
}

/* Mobile Nav Styles */
.menu-trigger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

@media (min-width: 900px) {
    .menu-trigger {
        display: none;
    }
}

.menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: 0.3s;
}

.menu-trigger span:nth-of-type(1) {
    top: 0;
}

.menu-trigger span:nth-of-type(2) {
    top: 9px;
}

.menu-trigger span:nth-of-type(3) {
    bottom: 0;
}

.menu-trigger.active span:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-of-type(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: 0.4s cubic-bezier(0.2, 1, 0.2, 1);
    padding-top: 100px;
}

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

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 30px;
}

.mobile-nav-list a {
    font-weight: 700;
    font-size: 18px;
    display: block;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mobile-cta {
    color: var(--color-teal) !important;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.mobile-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


/* ----------------
   HERO SECTION
---------------- */
.hero-section {
    position: relative;
    padding: 60px 0 100px;
    overflow: hidden;
    /* Ensure content stacks properly on mobile */
}

.hero-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 600px;
}

@media (min-width: 900px) {
    .hero-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}

/* Left Content */
.hero-content {
    position: relative;
    z-index: 10;
    /* Above bathtub */
    margin-bottom: 40px;
}

@media (min-width: 900px) {
    .hero-content {
        flex: 0 0 45%;
        margin-bottom: 0;
    }
}

/* Ensure text is above diagonal copy */
.hero-sub,
.hero-title,
.hero-catch,
.hero-btns {
    position: relative;
    z-index: 3;
}

.hero-sub {
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 10px;
    font-size: 14px;
}

@media (min-width: 768px) {
    .hero-sub {
        font-size: 16px;
    }
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    /* Blend mode or text-shadow can help legibility if needed, but we are moving the copy away */
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 72px;
    }
}

.hero-catch {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-gray);
}

.hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (min-width: 600px) {
    .hero-btns {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary {
    background: var(--color-teal);
    color: white;
    box-shadow: 0 8px 20px rgba(46, 196, 182, 0.3);
}

.btn-primary:hover {
    background: var(--color-teal-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--color-teal-light);
}

/* Right Visual */
/* Right Visual */
.hero-visual {
    display: none;
    /* Hide on mobile to avoid overlap */
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 20px;
}

@media (min-width: 900px) {
    .hero-visual {
        display: block;
        /* Show on desktop */
        flex: 1;
        height: 600px;
        margin-top: 0;
    }
}

/* Left side bathtub image */
/* Left side bathtub image */
.hero-bathtub-left {
    display: block;
    /* Show on mobile too */
    position: absolute;
    bottom: 80px;
    right: auto;
    left: 60%;
    /* More to the right */
    z-index: 5;
}

.bathtub-left-img {
    max-width: 360px;
    /* Bigger on mobile (1.5x) */
    height: auto;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.15));
}

@media (min-width: 900px) {
    .hero-bathtub-left {
        display: block;
        position: absolute;
        bottom: 0px;
        left: 320px;
        z-index: auto;
        /* Allow children to break out of stack */
    }

    .bathtub-left-img {
        max-width: 350px;
        /* Bigger on desktop */
        height: auto;
        filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.15));
        position: relative;
        /* Enable z-index */
        z-index: 5;
        /* Keep bathtub behind hero visual (10) */
    }

    /* Character near bathtub - running girl */
    .hero-char-1 {
        display: block;
        /* Show on desktop */
        position: absolute;
        bottom: 100px;
        left: 350px;
        max-width: 140px;
        /* Slightly larger */
        height: auto;
        z-index: 20;
        /* Go ABOVE hero visual (10) */
        animation: runFreely 12s ease-in-out infinite alternate;
    }

    /* Character near bathtub - dancing girl (now running) */
    .hero-char-2 {
        display: block;
        /* Show on desktop */
        position: absolute;
        bottom: 80px;
        left: 300px;
        max-width: 140px;
        /* Slightly larger */
        height: auto;
        z-index: 20;
        /* Go ABOVE hero visual (10) */
        animation: runFreelyRev 15s ease-in-out 1s infinite alternate;
    }
}

.hero-char-1,
.hero-char-2 {
    display: none;
    /* Hide on mobile */
}

/* Running loop animation - run left and disappear, reappear from right */
/* Running freely animation - move around casually */
@keyframes runFreely {
    0% {
        transform: translate(0, 0) scaleX(1);
    }

    25% {
        transform: translate(100px, -30px) scaleX(1);
    }

    50% {
        transform: translate(200px, 20px) scaleX(1);
    }

    75% {
        transform: translate(50px, -10px) scaleX(1);
    }

    100% {
        transform: translate(0, 0) scaleX(1);
    }
}

@keyframes runFreelyRev {
    0% {
        transform: translate(0, 0) scaleX(-1);
    }

    25% {
        transform: translate(-80px, 40px) scaleX(-1);
    }

    50% {
        transform: translate(-150px, -20px) scaleX(-1);
    }

    75% {
        transform: translate(-40px, 10px) scaleX(-1);
    }

    100% {
        transform: translate(0, 0) scaleX(-1);
    }
}



/* Background Blob */
.hero-blob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: var(--color-teal-light);
    border-radius: 50%;
    z-index: 1;
}

@media (min-width: 900px) {
    .hero-blob {
        left: 60%;
        /* Shift right on PC */
        width: 120%;
        height: 120%;
    }
}

/* Hero Illustration Image */
.hero-illustration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 400px;
    width: 90%;
    height: auto;
    z-index: 10;
}

@media (min-width: 900px) {
    .hero-illustration {
        left: 60%;
        max-width: 500px;
    }
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }

    70% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}

/* Fly In Animation - Right to Left, Small to Big */
@keyframes flyIn {
    0% {
        opacity: 0;
        transform: translate(100%, -50%) scale(0.3);
    }

    70% {
        opacity: 1;
        transform: translate(-55%, -50%) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.fly-in {
    animation: flyIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    filter: drop-shadow(8px 8px 12px rgba(0, 0, 0, 0.2));
}

/* Shadow oval under persons */
.hero-shadow-oval {
    position: absolute;
    bottom: 12%;
    /* Raised to touch feet */
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 50px;
    background: rgba(46, 196, 182, 0.5);
    /* Solid visible color */
    border-radius: 50%;
    z-index: 5;
    opacity: 0;
    animation: shadowAppear 0.3s ease-out 0.9s forwards;
}

@media (min-width: 900px) {
    .hero-shadow-oval {
        left: 60%;
        bottom: 10%;
        /* Touch feet on desktop */
        width: 350px;
        height: 50px;
    }
}

@keyframes shadowAppear {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.5);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

/* Water splash effects - teardrop shape */
.splash {
    position: absolute;
    z-index: 15;
    opacity: 0;
    /* Removed CSS shapes and gradients, now handling IMG tags */
}

.splash-1 {
    bottom: 35%;
    left: 20%;
    /* Adjusted for Left Person */
    width: 60px;
    /* Size for single drop */
    height: auto;
    animation: splashAppear 0.8s ease-out 1s forwards;
}

/* Robust positioning relative to center */
.splash-2 {
    top: 50%;
    left: 50%;
    bottom: auto;
    /* Reset */
    margin-left: 170px;
    /* Adjusted */
    margin-top: -40px;
    /* Moved UP significantly */
    width: 140px;
    height: auto;
    animation: splashAppear 0.8s ease-out 1.15s forwards;
}

.splash-3 {
    top: 50%;
    left: 50%;
    bottom: auto;
    /* Reset */
    margin-left: -210px;
    /* Moved slightly right */
    margin-top: 50px;
    /* Moved UP */
    width: 90px;
    height: auto;
    animation: splashAppear 0.8s ease-out 1.3s forwards;
    transform: rotate(15deg);
}

@media (min-width: 900px) {

    /* PC adjustments if needed, but center-relative should be stable */
    .splash-2 {
        margin-left: 210px;
    }

    .splash-3 {
        margin-left: -250px;
    }
}

@keyframes splashAppear {
    0% {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }

    50% {
        opacity: 1;
        transform: scale(1.3) translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Character */
.char-circle-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%);
    /* Slightly lower */
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media (min-width: 900px) {
    .char-circle-placeholder {
        width: 320px;
        height: 320px;
        left: 60%;
    }
}

.char-face {
    font-size: 80px;
    font-weight: 900;
    color: var(--color-black);
}

/* Diagonal Copy - Repositioned with Slide Animation */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px) rotate(-8deg) scale(0.9);
    }

    60% {
        opacity: 1;
        transform: translateX(-20px) rotate(-4deg) scale(1.05);
    }

    80% {
        transform: translateX(10px) rotate(-7deg) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(-6deg) scale(1);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        text-shadow:
            2px 2px 0 rgba(46, 196, 182, 0.3),
            4px 4px 20px rgba(46, 196, 182, 0.2);
    }

    50% {
        text-shadow:
            3px 3px 0 rgba(46, 196, 182, 0.4),
            6px 6px 30px rgba(46, 196, 182, 0.3);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
        opacity: 0;
    }

    100% {
        width: 100%;
        opacity: 0.8;
    }
}

.diagonal-copy-wrap {
    position: absolute;
    /* Repositioned to avoid overlap - moved higher and more to the right */
    top: -100px;
    right: -160px;
    transform: rotate(-6deg);
    z-index: 10;
    width: auto;
    text-align: left;
    pointer-events: none;
    /* Animation */
    animation: slideInFromRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@media (max-width: 900px) {
    .diagonal-copy-wrap {
        /* Hide on mobile/tablet to avoid clutter */
        display: none;
    }
}

@media (min-width: 900px) and (max-width: 1200px) {
    .diagonal-copy-wrap {
        top: -80px;
        right: -100px;
    }
}

.diagonal-text {
    font-size: 36px;
    font-weight: 900;
    color: var(--color-teal);
    line-height: 1.3;
    white-space: nowrap;
    /* Enhanced styling for impact */
    text-shadow:
        2px 2px 0 rgba(46, 196, 182, 0.3),
        4px 4px 20px rgba(46, 196, 182, 0.2);
    animation: pulseGlow 2s ease-in-out infinite;
    animation-delay: 1s;
    /* Letter styling for energy */
    letter-spacing: 0.02em;
}

@media (min-width: 900px) {
    .diagonal-text {
        font-size: 52px;
    }
}

@media (min-width: 1200px) {
    .diagonal-text {
        font-size: 58px;
    }
}

.diagonal-line {
    height: 5px;
    background: linear-gradient(90deg, var(--color-teal), rgba(46, 196, 182, 0.4));
    margin-top: 8px;
    border-radius: 3px;
    animation: lineExpand 0.6s ease-out forwards;
    animation-delay: 1s;
    width: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background: var(--color-teal);
}

/* ----------------
   SECTIONS COMMON
---------------- */
.section-container {
    padding: 80px 0;
}

@media (min-width: 900px) {
    .section-container {
        padding: 120px 0;
    }
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 60px;
    color: var(--color-black);
}

/* ----------------
   ABOUT
---------------- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bubble-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.bubble {
    background: var(--color-white);
    border: 2px solid var(--color-teal-light);
    padding: 20px 30px;
    border-radius: 40px;
    font-weight: 700;
    align-self: flex-start;
    /* Left align */
    position: relative;
    max-width: 90%;
}

.bubble::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 30px;
    width: 20px;
    height: 20px;
    background: inherit;
    border-bottom: 2px solid var(--color-teal-light);
    border-right: 2px solid var(--color-teal-light);
    transform: rotate(45deg);
}

.central-card {
    background: var(--color-teal);
    color: white;
    padding: 40px;
    border-radius: 50%;
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(46, 196, 182, 0.4);
    transform: rotate(-5deg);
}

.central-text {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.central-text .highlight {
    font-size: 32px;
    font-weight: 900;
    display: block;
    margin-top: 5px;
}

.about-footer-text {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    margin: 40px 0 60px;
    line-height: 1.6;
}

/* Overview Cards */
.overview-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 600px) {
    .overview-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ov-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.ov-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 10px;
    display: block;
}

.ov-value {
    font-size: 18px;
    font-weight: 700;
}

.price-free {
    font-size: 24px;
    color: var(--color-teal);
}

/* ----------------
   FEATURES
---------------- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 600px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.panel-char {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 40px;
    opacity: 0.8;
    z-index: 10;
    /* Ensure icon is above */
}

.panel-img {
    width: 100%;
    height: 180px;
    /* Fixed height for Panel 01 & 03 */
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    border: 2px solid #333;
    display: block;
}

.panel-02 .panel-img {
    height: auto;
    /* Allow Panel 02 to be taller/natural height */
    max-height: 300px;
    object-fit: contain;
    background-color: #fff9f0;
    /* Optional: background for transparent badge */
}

.f-num {
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 60px;
    font-weight: 900;
    color: var(--color-teal-light);
    line-height: 1;
    z-index: 0;
}

.feature-card h3 {
    position: relative;
    z-index: 1;
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.feature-card p {
    position: relative;
    z-index: 1;
    color: var(--color-gray);
    font-size: 15px;
}

/* ----------------
   VOICES
---------------- */
.voices-grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .voices-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.voice-card {
    background: var(--color-teal-light);
    padding: 30px;
    border-radius: 20px;
    position: relative;
}

.voice-icon {
    width: 60px;
    /* Slightly larger */
    height: 60px;
    background: white;
    color: var(--color-teal);
    border-radius: 50%;
    display: block;
    /* Changed from flex */
    margin-bottom: 15px;
    object-fit: cover;
    /* For img tag */
    border: 2px solid white;
    /* Add border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.voice-name {
    font-weight: 700;
    margin-bottom: 10px;
}

.voice-comment {
    font-size: 15px;
    line-height: 1.6;
}

/* ----------------
   FAQ
---------------- */
.faq-section-teal {
    background: linear-gradient(135deg, #2EC4B6 0%, #1BA3A3 100%);
    background: linear-gradient(135deg, #2EC4B6 0%, #1BA3A3 100%);
    padding: 80px 0 300px;
    /* Increased padding to accommodate larger overlap */
    position: relative;
    z-index: 5;
}

.faq-section-teal .section-title {
    color: white;
}

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

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.faq-q {
    padding: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    transition: background-color 0.2s;
}

.faq-q:hover {
    background-color: #f9f9f9;
}

.q-mark {
    color: var(--color-teal);
    font-size: 20px;
    margin-right: 15px;
}

.q-text {
    flex: 1;
}

.toggle-icon {
    font-size: 24px;
    color: var(--color-teal);
    transition: transform 0.3s;
}

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

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--color-teal-light);
}

.a-inner {
    padding: 24px;
    display: flex;
    align-items: flex-start;
}

.a-mark {
    color: var(--color-teal);
    font-weight: 900;
    margin-right: 15px;
    margin-top: -2px;
}

/* ----------------
   JOIN
---------------- */
.join-section {
    background-color: var(--color-teal);
    color: white;
    padding: 100px 0;
}

.join-title {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.3;
}

.join-sub {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-white {
    background: white;
    color: var(--color-teal);
    padding: 20px 60px;
    font-size: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ----------------
   FOOTER
---------------- */
.global-footer {
    padding: 40px 0;
    background: #f5f5f5;
    font-size: 14px;
    color: var(--color-gray);
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icons {
    font-size: 20px;
    display: flex;
    gap: 15px;
}

.privacy-text {
    margin-bottom: 10px;
    font-size: 12px;
}

/* ----------------
   ANIMATIONS
---------------- */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

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

.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: 0.6s cubic-bezier(0.2, 1, 0.2, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ----------------
   MANGA-STYLE FEATURES SECTION
---------------- */
.manga-features-section {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
}

.manga-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4FD1C5 0%, #38B2AC 50%, #2EC4B6 100%);
    z-index: 0;
}

.manga-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.manga-section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.manga-section-sub {
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
    margin-bottom: 60px;
}

/* Manga Panels Container */
.manga-panels {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    min-height: 800px;
}

@media (max-width: 900px) {
    .manga-panels {
        grid-template-columns: repeat(2, 1fr);
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .manga-panels {
        grid-template-columns: 1fr;
    }
}

/* Individual Panel */
.manga-panel {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        8px 8px 0 rgba(0, 0, 0, 0.15),
        0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 3px solid #222;
}

.manga-panel:hover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow:
        12px 12px 0 rgba(0, 0, 0, 0.2),
        0 15px 50px rgba(0, 0, 0, 0.15);
}

/* Panel positioning - Manga-like scattered layout */
.panel-01 {
    transform: rotate(-2deg);
}

@media (min-width: 900px) {
    .panel-01 .panel-inner {
        text-align: right;
    }
}

.panel-02 {
    transform: rotate(1deg);
    margin-top: 30px;
}

.panel-03 {
    transform: rotate(-1deg);
}

.panel-04 {
    transform: rotate(2deg);
    margin-top: -20px;
}

.panel-05 {
    transform: rotate(-1.5deg);
    margin-top: 20px;
}

.panel-06 {
    transform: rotate(1deg);
}

/* Panel Number */
.panel-number {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 50px;
    height: 50px;
    background: #FF6B9D;
    color: white;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 12px 0;
    z-index: 10;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

/* Panel Content */
.panel-content {
    padding: 50px 25px 25px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-inner h3 {
    font-size: 20px;
    font-weight: 900;
    color: #222;
    margin-bottom: 12px;
    line-height: 1.4;
}

.panel-inner p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.panel-char {
    font-size: 48px;
    text-align: right;
    margin-top: 15px;
}

/* Manga Characters */
.manga-character {
    position: absolute;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: gentleSway 4s ease-in-out infinite;
}

@keyframes gentleSway {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(8px) rotate(2deg);
    }
}

.char-left {
    left: -60px;
    top: 100px;
    /* Moved higher */
}

.char-right {
    right: -60px;
    bottom: 50px;
    /* Moved lower */
}

@media (max-width: 900px) {

    .char-left,
    .char-right {
        display: none;
    }
}

.char-body {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 36px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #222;
}

.char-photo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.15));
}

/* Speech Bubbles */
.speech-bubble {
    background: white;
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #222;
}

.speech-bubble::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #222;
    z-index: -1;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid white;
}

.bubble-left,
.char-bubble.bubble-left {
    background: #FFE066;
}

.speech-bubble.bubble-left::after,
.char-bubble.bubble-left::after {
    border-top-color: #FFE066;
}

.bubble-right,
.char-bubble.bubble-right {
    background: #FF8FA3;
    color: white;
}

.speech-bubble.bubble-right::after,
.char-bubble.bubble-right::after {
    border-top-color: #FF8FA3;
}

/* Add new styles for About Hero Section */
.about-hero-section {
    position: relative;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fill full section */
    background: #F0FDFD;
    /* Very light teal to match/blend with white below */
    z-index: 0;
}

.about-hero-container {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
    padding: 80px 0 0;
    /* Remove bottom padding to let chars touch bottom */
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-english-sub {
    position: absolute;
    top: 60px;
    /* Adjusted down */
    right: 80px;
    /* Adjusted left */
    font-size: 24px;
    /* Increased */
    font-weight: 900;
    color: #2EC4B6;
    letter-spacing: 0.1em;
    opacity: 0.8;
    /* Slightly transparent but bolder */
    transform: rotate(-5deg);
    /* Diagonal */
    border-bottom: 4px solid #AAE6DE;
    /* Underline (lighter teal) */
    padding-bottom: 5px;
    z-index: 15;
}

.about-diagonal-title {
    font-size: 64px;
    font-weight: 900;
    color: #2EC4B6;
    /* Changed to Green/Teal */
    line-height: 1.2;
    transform: rotate(-6deg) skewX(-6deg);
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
    /* Added shadow for visibility */
    z-index: 20;
    position: relative;
    margin: 0;
    margin-bottom: 80px;
    /* Lift text up */
    width: 100%;
    /* Full width */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Slide-in Bounce Animation */
/* Soft Slide-in Animation */
@keyframes slideInBounceLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px) rotate(-6deg) skewX(-6deg);
    }

    100% {
        opacity: 1;
        transform: translateX(0) rotate(-6deg) skewX(-6deg);
    }
}

.slide-in-bounce {
    opacity: 0;
    transform: translateX(-50px) rotate(-6deg) skewX(-6deg);
    animation: slideInBounceLeft 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-play-state: paused;
}

.slide-in-bounce.play {
    animation-play-state: running;
}

.about-diagonal-title .line1 {
    display: block;
    margin-right: auto;
    /* Push to left */
    margin-left: 20px;
    /* Safety margin */
    font-size: 56px;
    margin-bottom: 10px;
}

.about-diagonal-title .line2 {
    display: block;
    margin-left: auto;
    /* Push to right */
    margin-right: 20px;
    /* Safety margin */
    font-size: 90px;
}


/* About Characters */
.about-char {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Circle Background (Ring) - Make circles smaller relative to images for "pop out" */
.about-char::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 10px solid #2EC4B6;
    border-radius: 50%;
    z-index: -1;
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(46, 196, 182, 0.15);
}

.about-char-left {
    left: 2%;
    /* Move further left */
    top: 80px;
    /* Moved down from 20px to fix bubble cutoff */
    bottom: auto;
    animation: gentleBob 3s ease-in-out infinite;
}

.about-char-left::before {
    width: 220px;
    /* Smaller circle */
    height: 220px;
    top: 50%;
}

.about-char-left .about-char-img {
    width: 320px;
    position: relative;
    z-index: 2;
    margin-bottom: -40px;
    top: -15px;
    /* Clip bottom portion to stay within circle */
    clip-path: inset(0 0 28% 0 round 0 0 50% 50%);
}

.about-char-right {
    right: -5%;
    bottom: -220px;
    /* Lower significantly to avoid text overlap */
    top: auto;
    animation: gentleBob 3.5s ease-in-out infinite 0.5s;
    z-index: 25;
}

.about-char-right::before {
    width: 320px;
    /* Reduce circle size (was 420px) */
    height: 320px;
    border-width: 15px;
    top: 50%;
}

.about-char-right .char-right-wrapper {
    width: 550px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    /* Mask is applied to the UPRIGHT wrapper */
    /* Linear gradient ensures visibility of head/hands (top 58%) */
    /* Increased radius to 115px to show more of character */
    -webkit-mask-image:
        linear-gradient(to bottom, black 0%, black 58%, transparent 58%),
        radial-gradient(circle at 50% 60%, black 115px, transparent 118px);
    mask-image:
        linear-gradient(to bottom, black 0%, black 58%, transparent 58%),
        radial-gradient(circle at 50% 60%, black 115px, transparent 118px);
    -webkit-mask-composite: source-over;
    mask-composite: add;
}

.about-char-right .about-char-img {
    width: 100%;
    /* Image rotates INSIDE the upright masked container */
    transform: rotate(5deg);
    display: block;
}

/* Adjust bubble positions for new sizes */
.char-bubble-left {
    top: -40px;
    right: -60px;
}

.char-bubble-right {
    top: -20px;
    left: 0;
}


/* No large circle for top character (likely the owl) */
.about-char-top::before {
    display: none;
}

.about-char-img {
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
}

.char-img-left {
    width: 200px;
    /* Adjust size for kicking girl */
}

.char-img-right {
    width: 180px;
    /* Adjust size for jumping boy */
}

.char-circle {
    display: none;
}

.char-top-circle {
    width: 60px;
    height: 60px;
    font-size: 20px;
    display: flex;
    /* Re-enable for top circle if needed, or remove completely if not used */
    justify-content: center;
    align-items: center;
    background: white;
    border-radius: 50%;
}

.char-bubble {
    background: white;
    padding: 10px 20px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    border: 2px solid #222;
    opacity: 0;
    transform: scale(0);
}

.char-bubble.animate {
    animation: bubblePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubblePop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    70% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.char-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid white;
}

.char-bubble::before {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #222;
    z-index: -1;
}

.char-bubble-left {
    background: #FFE066;
}

.char-bubble-left::after {
    border-top-color: #FFE066;
}

.char-bubble-right {
    background: #FF8FA3;
    color: white;
}

.char-bubble-right::after {
    border-top-color: #FF8FA3;
}

/* Mobile Overlap Fix for About Section */
@media (max-width: 900px) {
    .about-hero-container {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        /* Increased to clear header */
        padding-bottom: 0px;
        height: auto;
        min-height: auto;
    }

    .about-hero-section {
        height: auto;
        min-height: 800px;
        /* Ensure overall section height */
    }

    /* Adjust Title */
    .about-diagonal-title {
        margin-bottom: 10px;
        margin-top: 40px;
        transform: rotate(-4deg);
        position: relative;
        z-index: 20;
        /* Ensure on top */
    }

    .about-diagonal-title .line1 {
        font-size: 28px;
        margin-left: 0;
        text-align: center;
    }

    .about-diagonal-title .line2 {
        font-size: 50px;
        margin-right: 0;
        text-align: center;
    }

    .about-english-sub {
        top: 20px;
        right: 15px;
        font-size: 14px;
    }

    /* Hide Top Character (Dog Face) */
    .about-char-top {
        display: none !important;
    }

    /* Left Character: Move to Left & Adjust Bubble */
    .about-char-left {
        display: block;
        position: absolute;
        top: 70px;
        left: 20px;
        /* Align left */
        transform: scale(0.585);
        /* Slight scale up from 0.4 */
        transform-origin: left top;
        /* Pivot from left */
        z-index: 10;
        pointer-events: none;
        opacity: 0.9;
        margin-top: 0;
    }

    .about-char-left .char-bubble {
        font-size: 28px;
        /* Larger font (scaled down by char scale) */
        padding: 15px 30px;
        top: -50px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        min-width: auto;
        width: max-content;
        border: 3px solid #222;
        padding: 10px 20px;
        opacity: 0;
    }

    .about-char-left .char-bubble.animate {
        animation: fadeInBubbleMobile 0.6s ease-out forwards;
    }

    .about-char-left .char-bubble::before {
        border-top-width: 16px;
        border-left-width: 14px;
        border-right-width: 14px;
        bottom: -16px;
    }

    .about-char-left::before {
        top: 55%;
    }

    .about-char-left .about-char-img {
        top: -30px;
    }

    /* Right Character: PC Style Crop (Masked) */
    .about-char-right::before {
        top: 65%;
    }

    .about-char-right {
        position: relative !important;
        right: auto;
        bottom: auto;
        left: auto;
        top: 0;
        margin-top: 40px;
        /* Space from title */
        transform: none;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        animation: none;
        z-index: 10;
    }

    .about-char-right .char-right-wrapper {
        width: 340px;
        /* Wider to include hands */
        height: 340px;
        /* Ensure height */
        margin-top: -30px;
        /* Pull up slightly */
        display: flex;
        justify-content: center;
        align-items: center;

        /* PC-style Masking for Mobile */
        /* Shape: "Silo" (Rect Top + Circle Bottom) to keep hands but clip feet */
        /* Wrapper 340px, Ring 260px (Border 8px -> Inner 244px -> Radius 122px) */
        /* Center mask at 50% to align with Ring Center */
        /* Radius 121px to fit strictly inside 122px Inner Radius */
        -webkit-mask-image:
            linear-gradient(to bottom, black 0%, black 42%, transparent 42%),
            radial-gradient(circle at 50% 42%, black 121px, transparent 122px);
        mask-image:
            linear-gradient(to bottom, black 0%, black 42%, transparent 42%),
            radial-gradient(circle at 50% 42%, black 121px, transparent 122px);
        -webkit-mask-composite: source-over;
        mask-composite: add;
    }

    /* Ensure image fits wrapper */
    .about-char-right .about-char-img {
        width: 100%;
        transform: rotate(0deg);
        /* No rotation for stability */
    }

    .about-char-right::before {
        width: 260px;
        height: 260px;
        border-width: 8px;
        top: 50%;
        /* Center relative to flex container */
        left: 50%;
        transform: translate(-50%, -50%);
        /* Start centered */
        margin-top: -15px;
        /* Fine tune to match mask center */
    }
}

/* About Description Area */
.about-description-area {
    background: white;
    padding: 60px 0 0;
}

.about-desc-content {
    max-width: 800px;
    margin: 0 auto 10px;
    text-align: center;
}

.about-lead {
    font-size: 18px;
    line-height: 2;
    margin-bottom: 40px;
}

.about-lead strong {
    color: var(--color-teal);
}

.about-lead .highlight {
    background: linear-gradient(transparent 60%, #FFE066 60%);
    padding: 0 4px;
}

.about-features-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-feature-item {
    text-align: center;
}

.about-feature-item .feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: var(--color-teal);
}

.about-feature-item .feature-icon svg {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 6px rgba(46, 196, 182, 0.2));
}

.char-body {
    font-size: 48px;
    margin-top: 10px;
}

.char-body-img {
    max-width: 132px;
    height: auto;
    margin-top: 10px;
}

.about-feature-item .feature-label {
    font-size: 14px;
    font-weight: 700;
    color: #555;
}

/* ----------------
   DOTTED TEXT SECTION (Monblan Style)
---------------- */
.dotted-text-section {
    background: #F5F8F8;
    padding: 80px 0 0 0;
    position: relative;
}

.dotted-section-container {
    position: relative;
}

.dotted-section-image {
    position: absolute;
    left: 3%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

.section-person-img {
    height: 400px;
    width: auto;
    object-fit: contain;
}

.dotted-text-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 1024px) {
    .section-person-img {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .dotted-section-container {
        flex-direction: column;
    }

    .dotted-section-image {
        display: none;
    }
}

.dotted-text-line {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #333;
    text-align: left;
    margin: 0;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .dotted-text-line {
        font-size: 16px;
        padding: 15px 0;
    }

    .dotted-text-block {
        padding: 0 20px;
    }
}

.dotted-line {
    width: 100%;
    height: 2px;
    background-image: radial-gradient(circle, #C5D0D0 2px, transparent 2px);
    background-size: 14px 2px;
    background-repeat: repeat-x;
}

/* ----------------
   HERO COPY SECTION (Monblan Style) - Dynamic Layout
---------------- */
.hero-copy-section {
    background: #F5F8F8;
    /* Match the gray background above */
    padding: 0 0 80px;
    margin-top: -20px;
    position: relative;
    overflow: visible;
    min-height: 350px;
}

/* Dotted lines background */
.hero-dotted-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}

.dotted-line-hero {
    width: 100%;
    height: 2px;
    background-image: radial-gradient(circle, #C5D0D0 2px, transparent 2px);
    background-size: 14px 2px;
    background-repeat: repeat-x;
    margin: 35px 0;
}

.hero-copy-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-copy-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: left;
}

.hero-copy-text .dotted-line {
    width: 100%;
    margin: 10px 0;
    position: relative;
    z-index: 1;
}

/* Large Dynamic Text */
.copy-line {
    font-size: 72px;
    font-weight: 900;
    color: #2EC4B6;
    font-style: italic;
    line-height: 1.3;
    margin: 10px 0;
    transform: rotate(-4deg);
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 15;
    white-space: nowrap;
    text-align: left;
    opacity: 0;
    transform: translateY(30px) rotate(-4deg);
}

.hero-copy-text.visible .copy-line {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-4deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(-4deg);
    }
}

.copy-line.line-1 {
    animation-delay: 0.2s;
}

.copy-line.line-2 {
    animation-delay: 0.4s;
}

@media (max-width: 1200px) {
    .copy-line {
        font-size: 52px;
    }
}

@media (max-width: 1024px) {
    .copy-line {
        font-size: 42px;
    }

    .copy-line.line-2 {
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .hero-copy-section {
        min-height: auto;
        padding: 20px 0 60px;
    }

    .hero-copy-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-copy-text {
        max-width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .copy-line {
        font-size: 32px;
        transform: rotate(-3deg);
        white-space: normal;
        line-height: 1.4;
    }

    .copy-line.line-2 {
        margin-left: 0;
    }
}

/* Image overlapping text - positioned on right */
.hero-copy-image {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 1;
    display: flex;
    align-items: flex-end;
    gap: 0;
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%);
    }
}

.person-img {
    height: 420px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.person-left {
    margin-right: -80px;
    z-index: 1;
    position: relative;
    left: -600px;
}

.person-right {
    z-index: 2;
}

@media (max-width: 1024px) {
    .person-img {
        height: 350px;
    }

    .hero-copy-image {
        right: 2%;
    }
}

@media (max-width: 768px) {
    .hero-copy-image {
        position: relative;
        right: 30px;
        top: auto;
        transform: none;
        text-align: right;
        margin-top: 30px;
    }

    .person-img {
        height: 280px;
    }

    .person-left {
        left: auto;
        margin-right: -40px;
    }

    .speech-bubble-pink {
        left: 50%;
        right: auto;
        transform: translateX(-50%) !important;
        top: -70px;
        white-space: nowrap;
        width: auto;
        max-width: none;
        text-align: center;
        font-size: 13px;
        padding: 8px 16px;
        opacity: 1 !important;
        visibility: visible !important;
        animation: none !important;
        z-index: 100;
        margin-left: -5px;
        /* Slight optical adjustment if needed */
    }

    .speech-bubble-pink::before,
    .speech-bubble-pink::after {
        right: 50%;
        top: 100%;
        left: auto;
        transform: translateX(50%);
        border-right: 12px solid transparent;
        border-left: 12px solid transparent;
        border-top: 16px solid #333;
        border-bottom: none;
    }

    .speech-bubble-pink::after {
        border-top: 14px solid #FF6B9D;
        margin-top: -3px;
    }
}



/* Extended Delays */
.delay-5 {
    animation-delay: 1.0s;
}

.delay-6 {
    animation-delay: 1.2s;
}

/* Speech bubble - positioned next to face */
.speech-bubble-pink {
    position: absolute;
    top: 0%;
    left: 270px;
    background: #FF6B9D;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    border: 2px solid #333;
    z-index: 11;
    opacity: 0;
    transform: translateY(20px);
}

.speech-bubble-pink.visible {
    animation: fadeInBubble 0.6s ease-out 0.5s forwards;
}

@keyframes fadeInBubble {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tail border (black) */
.speech-bubble-pink::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 16px solid #333;
}

/* Tail fill (pink) */
.speech-bubble-pink::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 14px solid #FF6B9D;
}

@media (max-width: 1024px) {
    .speech-bubble-pink {
        left: -80px;
        font-size: 13px;
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    .speech-bubble-pink {
        display: none;
    }
}

/* ----------------
   PROFILE / ABOUT ME SECTION
---------------- */
.profile-section {
    overflow: visible;
    position: relative;
    z-index: 10;
    margin-top: -220px;
}

.profile-top-area {
    background: transparent;
    padding: 0;
    position: relative;
    overflow: visible;
}

.profile-owl-img {
    width: 320px;
    max-width: 45%;
    height: auto;
    display: block;
    position: absolute;
    right: 15%;
    /* Moved left towards the center as requested */
    top: -160px;
    /* Adjusted to sit on the curve */
    z-index: 15;
    transform: rotate(0deg);
    /* Upright */
}

.profile-content-area {
    background: #FFFFFF;
    padding: 80px 0 80px;
    position: relative;
    z-index: 3;
    border-top-left-radius: 50% 120px;
    /* Steeper curve */
    border-top-right-radius: 50% 120px;
    /* Steeper curve */
    margin-top: -100px;
    /* deeply overlap */
}

/* .profile-heading-img is replaced by .profile-secret-header */
.profile-secret-header {
    position: relative;
    max-width: 500px;
    margin: 0 auto 60px;
    padding-top: 40px;
    /* Space for the owl head if needed */
}

.profile-secret-box {
    border: 3px solid #222;
    background: #fff;
    padding: 20px 40px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.profile-secret-title {
    margin: 0;
    line-height: 1.2;
}

.profile-secret-title .en {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #FF6B9D;
    /* Pink accent */
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.profile-secret-title .ja-main {
    font-size: 42px;
    font-weight: 900;
    color: #222;
    letter-spacing: 0.1em;
    margin-right: 10px;
}

.profile-secret-title .ja-sub {
    font-size: 24px;
    font-weight: 700;
    color: #222;
}

.profile-secret-img {
    position: absolute;
    width: 140px;
    /* Adjust size based on image ratio */
    height: auto;
    top: -50px;
    /* Perch on top */
    right: -30px;
    /* Perch on right corner or wherever appropriate */
    z-index: 2;
    /* Optional: if image has transparency, this is fine. If it needs to mask line, might need background */
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
    /* Align top */
}

.profile-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #222;
    text-align: center;
}

.profile-photo-wrap {
    flex-shrink: 0;
    margin-bottom: 10px;
}

.profile-photo {
    width: 240px;
    /* Slightly smaller for 2 columns */
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.profile-photo-placeholder {
    width: 200px;
    height: 200px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 80px;
    color: #ccc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-text-wrap {
    flex: 1;
    width: 100%;
}

.profile-intro {
    font-size: 16px;
    /* Slightly smaller for density */
    font-weight: 500;
    color: #333;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .profile-top-area {
        min-height: 200px;
        padding: 40px 0 0;
    }

    .profile-owl-img {
        max-width: 100%;
    }

    .profile-content-area {
        padding: 40px 20px 60px;
    }

    .profile-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .profile-layout {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        gap: 50px;
    }

    .profile-member {
        max-width: 400px;
        /* Limit width on mobile */
        margin: 0 auto;
    }

    .profile-photo {
        width: 200px;
    }

    .profile-intro {
        font-size: 16px;
        text-align: left;
        /* Keep left aligned for readability */
    }
}

/* ----------------
   PICKUP ARTICLES SECTION
---------------- */
.pickup-section {
    overflow: hidden;
    background: #FFFFFF;
    /* Changed to white as per reference seems white */
}

.pickup-top-area {
    background: #FFFFFF;
    /* Changed to white */
    padding: 60px 0 20px;
}

.pickup-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.pickup-header-text {
    text-align: left;
    margin-bottom: 20px;
}

.pickup-main-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    color: #222;
    margin-bottom: 10px;
    text-align: left;
}

.pickup-main-title .line {
    border-bottom: 4px solid #222;
    display: inline-block;
    padding-bottom: 2px;
}

.pickup-sub-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #222;
}

.pickup-sub-title .orange {
    color: #FF9F1C;
    /* Orange color */
}

.pickup-header-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.pickup-header-text {
    text-align: left;
    margin-bottom: 20px;
}

.pickup-main-title {
    font-size: 40px;
    font-weight: 900;
    line-height: 1.3;
    color: #222;
    margin-bottom: 10px;
    text-align: left;
}

.pickup-main-title .line {
    border-bottom: 4px solid #222;
    display: inline-block;
    padding-bottom: 2px;
}

.pickup-sub-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #222;
}

.pickup-sub-title .orange {
    color: #FF9F1C;
    /* Orange color */
}

.pickup-person-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -20px;
    /* Reduced overlap (was -50px) to move image up relative to cards */
    z-index: 50;
}

.pickup-speech-bubble {
    background: #5B7CF7;
    /* Blue/Purple color from reference */
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.pickup-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #5B7CF7;
}

.pickup-person-img {
    width: 180px;
    height: auto;
    object-fit: cover;
    object-position: top;
    max-height: 200px;
    clip-path: inset(0 0 40% 0);
    margin-bottom: -80px;
}

.pickup-content-area {
    background: #FFFFFF;
    padding: 60px 0 80px;
    overflow: visible;
    /* Allow popups to be visible */
}

.pickup-swiper {
    width: 100%;
    padding: 60px 0 60px;
    /* Space for shadow/hover and pagination */
    overflow: visible;
    /* optional: allows seeing sides */
}

.swiper-slide.pickup-card {
    width: 280px;
    /* Fixed width for carousel slide */
    height: 400px;
    /* Taller card */
    display: flex;
    flex-direction: column;
}

.swiper-slide.pickup-card {
    width: 280px;
    height: 480px;
    /* Taller */
    display: block;
    /* changed from flex column for image focus */
    position: relative;
    border-radius: 16px;
    overflow: visible;
    /* Show popup */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    transform: scale(1);
    /* Default scale */
}

/* Scale up the active slide */
.swiper-slide-active.pickup-card {
    transform: scale(1.1);
    z-index: 10;
    /* Ensure it's on top */
}

.card-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.pickup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.pickup-label {
    background: #222;
    color: white;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-block;
    margin: 20px 0 0 20px;
    border-radius: 4px;
}

.card-popup {
    position: absolute;
    top: -70px;
    /* Moved down further to avoid overlap */
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 20px 40px;
    border-radius: 60px;
    /* Large rounded pill shape */
    font-size: 18px;
    font-weight: 900;
    color: #FF9F1C;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
    z-index: 20;
    white-space: nowrap;
    border: 3px solid #000;
    /* Comic style black border */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    pointer-events: none;
}

/* Show popup ONLY when slide is active (center) */
.swiper-slide-active .card-popup {
    opacity: 1;
    visibility: visible;
}



/* Remove unused text styles for cards */
.pickup-card-content,
.pickup-label,
.pickup-cat,
.pickup-title,
.pickup-desc {
    display: none;
}

/* Main tail (Black border) */
.card-popup::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 40px 15px 0;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
    z-index: 1;
    background: transparent;
    /* Ensure no background conflict */
}

.card-popup::before {
    content: '';
    position: absolute;
    bottom: -33px;
    /* Inner white part of tail */
    left: 50%;
    transform: translateX(-50%);
    border-width: 36px 12px 0;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    z-index: 2;
}

@keyframes floatPopup {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.pickup-cat {
    font-size: 12px;
    color: #2EC4B6;
    font-weight: 700;
    margin-bottom: 8px;
}



.pickup-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {

    /* .pickup-grid is no longer used, Swiper handles it */
    .pickup-content-area {
        padding: 80px 0 60px;
    }

    .swiper-slide.pickup-card {
        width: 260px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .pickup-person-img {
        width: 140px;
    }
}

/* ----------------
   ARTICLE PAGE STYLES
---------------- */

.article-page {
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.8;
}

/* Article Hero */
.article-hero {
    padding: 120px 0 60px;
    /* Space for fixed header */
    background: #f9f9f9;
    text-align: center;
}

.article-hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
}

.article-cat {
    background: #2EC4B6;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
}

.article-date {
    color: #888;
}

.article-main-title {
    font-size: 32px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 40px;
}

.article-eyecatch img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Article Body */
.article-body {
    padding: 60px 0 100px;
}

.article-container {
    max-width: 720px;
    /* Readable width */
    margin: 0 auto;
}

.article-content p {
    margin-bottom: 2em;
    font-size: 16px;
}

.lead-text {
    font-weight: 700;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 900;
    border-left: 6px solid #FF6B9D;
    padding-left: 15px;
    margin: 60px 0 30px;
    line-height: 1.4;
}

.article-highlight-box {
    background: #FFF7DA;
    /* Light yellow */
    border: 2px solid #FF9F1C;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    font-size: 16px;
    text-align: center;
    color: #555;
}

.article-highlight-box strong {
    display: block;
    color: #FF9F1C;
    font-size: 18px;
    margin-bottom: 10px;
}

.article-cta {
    margin-top: 80px;
    text-align: center;
    background: #f0f8ff;
    padding: 60px 20px;
    border-radius: 12px;
}

/* ----------------
   PICKUP SIDE TEXT & ANIMATION
---------------- */

.pickup-container-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    position: relative;
    /* Context for z-index */
}

.pickup-side-text {
    text-align: left;
    margin-bottom: 80px;
    padding: 20px 0;
    padding-left: 0;
    /* More left-aligned */
}

/* Person images on right side of pickup section */
.pickup-persons {
    position: absolute;
    right: -60px;
    /* Move further right */
    top: -160px;
    /* Move further up to avoid overlap */
    z-index: 10;
    pointer-events: none;
    transform: scale(0.9);
    transform-origin: top right;
}

/* Container for the composite visual */
.pickup-visual-large {
    position: relative;
    width: 600px;
    /* Keep size but ensure it fits */
    height: 500px;
    /* Create a large canvas for standardizing layout */
}

/* Sachi (Left/Back) */
.visual-char-sachi {
    position: absolute;
    bottom: 0;
    left: 80px;
    /* Move closer to Risa */
    width: 320px;
    /* Large size */
    opacity: 1;
    z-index: 2;
    transform: rotate(-5deg);
    /* Base tilt */
    transform-origin: bottom center;
}

/* Risa (Right/Front) */
.visual-char-risa {
    position: absolute;
    bottom: -20px;
    right: 50px;
    width: 300px;
    z-index: 3;
    transform-origin: bottom center;
}

/* Waving/Swaying Animations */
@keyframes waveSachi {

    0%,
    100% {
        transform: rotate(-7deg);
    }

    50% {
        transform: rotate(-3deg);
    }
}

@keyframes waveRisa {

    0%,
    100% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }
}

.visual-char-sachi.start-wave {
    animation: waveSachi 2s ease-in-out infinite;
}

.visual-char-risa.start-wave {
    animation: waveRisa 2.2s ease-in-out infinite;
    /* Slightly different timing for natural feel */
}

/* Speech Bubble (Blue, Monbran Style) */
.visual-bubble-large {
    position: absolute;
    top: 60px;
    left: 30%;
    /* Position near characters heads */
    background: #5465FF;
    /* Vivid Blue */
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    z-index: 20;
    box-shadow: 0 4px 10px rgba(84, 101, 255, 0.3);
    white-space: nowrap;
}

.visual-bubble-large::after {
    /* Tail */
    content: '';
    position: absolute;
    bottom: -8px;
    right: 40px;
    border-width: 12px 10px 0;
    border-style: solid;
    border-color: #5465FF transparent;
    transform: rotate(-10deg);
}


@media (max-width: 1100px) {
    .pickup-persons {
        right: -200px;
        /* Pull back on smaller desktops */
        transform: scale(0.8);
        transform-origin: bottom right;
    }
}

@media (max-width: 900px) {
    .pickup-persons {
        display: none;
        /* Hide on mobile/tablet vertical layouts for now */
    }
}

.pst-small {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.pst-highlight {
    font-size: 60px;
    /* Large impact */
    font-weight: 900;
    color: #333;
    line-height: 1.1;
    background: linear-gradient(transparent 65%, #FF9F1C 65%);
    /* Underline */
    display: inline-block;
    margin: 10px 0;
}

.pickup-side-text .side-text-line {
    display: none;
}

.pickup-swiper {
    /* Ensure swiper doesn't encroach too much if possible, but overflow visible is needed */
    flex-grow: 1;
    max-width: 800px;
    position: relative;
    z-index: 0;
    /* Force below the text (z-index: 100) */
}

@media (max-width: 900px) {
    .pickup-container-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .pickup-side-text {
        text-align: center;
        padding-top: 0;
        margin-bottom: 80px;
    }
}

/* Elastic Popup Animation - Exaggerated */
@keyframes popupElastic {
    0% {
        transform: translateX(-50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        /* Big over-shoot */
        opacity: 1;
    }

    75% {
        transform: translateX(-50%) scale(0.95);
    }

    100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
}

/* Override existing active popup styles for animation */
.swiper-slide-active .card-popup {
    animation: popupElastic 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    visibility: visible;
}

/* Ensure text appears after bubble with clear delay */
.card-popup {
    color: transparent !important;
    transition: color 0.1s linear 0.5s;
    /* Ensure centering is enforced */
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    /* Reset any potential margins */
}

.swiper-slide-active .card-popup {
    color: #FF5D8F !important;
    /* Pink as requested */
}

@keyframes fadeInBubbleMobile {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Manga Style Text Design */
.manga-style-heading {
    text-align: center;
    margin-bottom: 40px;
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.manga-style-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5px;
    font-family: 'Montserrat', sans-serif;
}

.manga-style-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    line-height: 1.4;
}

.manga-style-title {
    font-size: 32px;
    font-weight: 900;
    border-bottom: 4px solid #333;
    padding-bottom: 2px;
    display: inline-block;
    text-shadow:
        3px 3px 0 #fff, -3px -3px 0 #fff,
        -3px 3px 0 #fff, 3px -3px 0 #fff,
        3px 0px 0 #fff, 0px 3px 0 #fff,
        -3px 0px 0 #fff, 0px -3px 0 #fff;
}

.manga-style-particle {
    font-size: 18px;
    font-weight: 700;
}

.manga-style-quote {
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0;
}

.manga-style-pill {
    background-color: var(--color-teal, #2EC4B6);
    color: #fff;
    font-weight: 900;
    font-size: 18px;
    padding: 8px 20px;
    border-radius: 50px;
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 5px;
}

.manga-style-pill::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20%;
    border-width: 8px 6px 0;
    border-style: solid;
    border-color: var(--color-teal, #2EC4B6) transparent;
    display: block;
    width: 0;
    transform: skewX(-10deg);
}

.manga-style-highlight {
    font-size: 28px;
    font-weight: 900;
    border-bottom: 4px solid #333;
    padding-bottom: 2px;
}

@media (max-width: 768px) {
    .manga-style-title {
        font-size: 24px;
        border-bottom-width: 3px;
    }

    .manga-style-highlight {
        font-size: 20px;
        border-bottom-width: 3px;
    }

    .manga-style-pill {
        font-size: 14px;
        padding: 6px 16px;
    }

    .manga-style-quote {
        font-size: 14px;
    }
}

/* Blue Flame Animation - Enhanced "Mera Mera" */
.blue-flame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46, 229, 255, 0.3) 0%, rgba(0, 100, 255, 0.1) 40%, transparent 70%);
    filter: blur(15px);
    z-index: 0;
    pointer-events: none;
    animation: blueFlameFlicker 2s infinite linear alternate, blueFlamePulse 0.15s infinite alternate;
    opacity: 0.15;
    mix-blend-mode: screen;
}

/* Desktop: Hide mobile flame */
.blue-flame.mobile-only {
    display: none;
}

@media (max-width: 768px) {

    /* Mobile: Hide desktop flame (in text) */
    .hero-copy-text .blue-flame {
        display: none;
    }

    /* Mobile: Show and position mobile flame (between people) */
    .blue-flame.mobile-only {
        display: block;
        width: 150px;
        height: 150px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.4;
        /* Slightly visible between people */
        z-index: 10;
        /* Behind people? No, usually z-index logic applies relative to parent context. 
                        People are in .hero-copy-image. Flame is also there. 
                        We want flame BEHIND people probably? Or front?
                        "Between" usually means visually. If it's "burning between them", maybe slightly overlapping?
                        Let's put it at z-index 1 or 0 inside hero-copy-image.
                        People images have z-index 1 and 2.
                        So flame at z-index 0 will be behind them.
                      */
        z-index: 0;
    }

    .hero-copy-image {
        position: relative;
        justify-content: center;
        /* Center people so flame (50%) works */
    }
}

.blue-flame::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(200, 255, 255, 0.8) 0%, transparent 60%);
    filter: blur(10px);
    animation: blueFlameInner 1.5s infinite ease-in-out alternate;
}

@keyframes blueFlameFlicker {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.7;
    }

    25% {
        transform: translate(-51%, -52%) scale(1.05) rotate(2deg);
        opacity: 0.8;
    }

    50% {
        transform: translate(-49%, -48%) scale(0.95) rotate(-2deg);
        opacity: 0.6;
    }

    75% {
        transform: translate(-52%, -49%) scale(1.02) rotate(1deg);
        opacity: 0.75;
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.7;
    }
}

@keyframes blueFlamePulse {
    0% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.9;
    }
}

@keyframes blueFlameInner {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@media (max-width: 768px) {
    .blue-flame {
        width: 200px;
        height: 200px;
    }
}

/* Member Section Redesign (Monbran Style) */
/* Nuclear Fix: Renamed classes to bypass cache/conflicts */
.member-grid-final {
    display: flex !important;
    flex-direction: row !important;
    /* Force row layout */
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1000px;
    margin: 60px auto 0;
    flex-wrap: nowrap !important;
    /* Never wrap */
}

.member-card-final {
    flex: 1;
    /* Share space */
    width: 50%;
    /* Baseline width */
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-grid-new,
.member-card-new {
    display: none;
}

/* Disable old classes just in case */
/* Re-enable member-img-box since it was looking orphaned/disabled in previous view */
.member-img-box {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 30px;
}

.member-podium {
    position: absolute;
    bottom: -5px;
    /* Move down */
    width: 240px;
    height: 60px;
    background: #2EC4B6;
    /* Teal/Green */
    border-radius: 50%;
    z-index: 1;
    opacity: 0.8;
}

.member-img-body {
    position: relative;
    z-index: 2;
    max-height: 300px;
    width: auto;
    max-width: 100%;
    /* Ensure it fits in box */
    object-fit: contain;
}

/* Flip Risa's image (first member) */
.member-card-final:first-child .member-img-body {
    transform: scaleX(-1);
}

.member-img-body {
    transition: transform 0.6s ease-in-out;
}

/* Spin Animation Rules (Class-based for scroll trigger) */
.member-card-final.animate-spin .member-img-body {
    animation: spin3D 1s ease-in-out forwards;
}

.member-card-final.animate-spin:first-child .member-img-body {
    animation: spin3DReverse 1s ease-in-out forwards;
}

@keyframes spin3D {
    0% {
        transform: rotateY(0);
    }

    100% {
        transform: rotateY(360deg);
    }
}

@keyframes spin3DReverse {
    0% {
        transform: scaleX(-1) rotateY(0);
    }

    100% {
        transform: scaleX(-1) rotateY(360deg);
    }
}

.member-info-box {
    width: 100%;
    /* Ensure full width */
    max-width: 400px;
    /* Increased slightly */
}

.member-name-jp {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 5px;
    color: #222;
    line-height: 1.2;
}

.member-name-en {
    font-family: "Outfit", sans-serif;
    /* Using Outfit if available, or sans-serif */
    font-size: 20px;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.member-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    text-align: center;
    /* Centered as requested */
    text-wrap: pretty;
    /* Modern way to prevent orphans */
}

/* Green highlight modifier */
.pst-highlight.green {
    background: linear-gradient(transparent 65%, #2EC4B6 65%) !important;
    /* Teal underline */
}

@media (max-width: 768px) {
    .member-grid-final {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 20px;
    }

    .member-name-jp {
        font-size: 32px;
    }

    /* Smaller podiums on mobile to prevent overlap */
    .member-podium {
        width: 140px;
        height: 40px;
    }

    .member-img-box {
        max-width: 160px;
    }

    .member-img-body {
        max-height: 180px;
    }
}

/* =========================================
   Join Page Styles
   ========================================= */
.join-main {
    padding-top: 100px;
    /* Clear fixed header */
    padding-bottom: 80px;
    background-color: #f9f9f9;
    min-height: 80vh;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #333;
}

.form-intro {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    color: #666;
}

.join-form {
    width: 100%;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.badge-required {
    display: inline-block;
    background: #FF5D8F;
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fdfdfd;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: #2EC4B6;
    outline: none;
    background: #fff;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.col-half {
    width: 50%;
}

.form-actions {
    margin-top: 50px;
    text-align: center;
}

.btn-submit {
    min-width: 300px;
    padding: 20px 40px;
    font-size: 20px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 40px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .col-half {
        width: 100%;
    }

    .btn-submit {
        width: 100%;
    }
}