html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, p, ul {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

.jpjindex-container {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
    background: #1c1c1c;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 80px 24px;
    overflow: hidden;
}

.jpjindex-container::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(46, 195, 150, 0.1) 0%, transparent 65%);
    pointer-events: none;
}

.jpjindex {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.jpjindex-content {
    flex: 1 1 600px;
}

.jpjindex-content h1 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    margin-bottom: 28px;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -0.02em;
}

.jpjindex-content p {
    margin-bottom: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.jpjindex-content p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.jpjindex-img-container {
    flex: 0 0 280px;
    max-width: 280px;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.jpjindex-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .jpjindex-img-container {
        display: none;
    }

    .jpjindex-container {
        padding: 60px 20px;
    }

    .jpjindex {
        flex-direction: column;
    }

    .jpjindex-content h1 {
        font-size: 1.4rem;
    }
}
