:root {
    --color-primary: #0B1220;
    --color-secondary: #111827;
    --color-accent: #EF4444;
    --color-bg: #F9FAFB;
    --color-text: #0B1220;
    --color-white: #ffffff;
    --color-gray-light: #f3f4f6;
    --color-gray-dark: #374151;

    --font-base: 'Noto Sans JP', sans-serif;
    --spacing-container: 2rem;
    --border-radius-sm: 4px;
    --border-radius-lg: 8px;
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

body {
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: block;
    /* Removes bottom spacing */
}

/* Utilities */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded {
    border-radius: var(--border-radius-lg);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.w-100 {
    width: 100%;
}

/* Typography & Links */
h1,
h2,
h3,
h4,
.btn {
    font-weight: 700;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1100px;
    /* Slightly wider for modern screens */
    margin: 0 auto;
    padding: 0 1.5rem;
    /* Standard mobile padding */
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.text-accent-bold {
    color: var(--color-accent);
    font-weight: 900;
}

.text-white {
    color: var(--color-white);
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-xl {
    font-size: 1.25rem;
    font-weight: 700;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

/* Form Group - Clean & Sharp */
.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--color-secondary);
    margin-bottom: 0.4rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.bg-dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.bg-gray {
    background-color: var(--color-gray-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    opacity: 0.95;
}

.btn-accent {
    background-color: var(--color-accent);
}

.btn-primary {
    background-color: var(--color-accent);
    font-size: 1.25rem;
    padding: 1.2rem 2rem;
    width: 100%;
    max-width: 400px;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
    max-width: none;
}

/* Animations */
@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.heartbeat {
    animation: pulse-red 2s infinite;
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.8rem;
    /* Mobile optimize */
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 0;
}

/* Nav */
.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    z-index: 1000;
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Ensure container padding applies */
}

.nav-logo {
    font-weight: 900;
    font-size: 1rem;
    /* Adjust for mobile */
    color: var(--color-primary);
}

/* FV */
.fv-section {
    padding: 6rem 0 3rem;
    /* Mobile */
    background: var(--color-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.fv-container {
    display: flex;
    flex-direction: column-reverse;
    /* Image on top on mobile? No, commonly text first or image first. Reverse usually means Image top in DOM order but here it's Bottom in DOM? Let's check HTML. 
     HTML: .fv-content first, .fv-image second.
     Mobile (column-reverse): Image Top, Content Bottom.
     Wait, standard mobile conversion is often Content first.
     Let's keep column-reverse (Image Top) for visual impact if image is good.
    */
    gap: 2rem;
}

.fv-sub {
    font-size: 0.8rem;
    opacity: 0.9;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 0.8rem;
}

.fv-title {
    font-size: 2rem;
    /* Mobile */
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.fv-tagline {
    display: block;
    font-size: 1rem;
    margin-top: 0.8rem;
    font-weight: 500;
}

.fv-lead {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.fv-points {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 2rem;
}

.fv-points li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.fv-points li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.fv-image {
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
    /* Limit image size on mobile */
}

/* Empathy & Standard Columns */
.columns {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.column-text,
.column-img {
    flex: 1;
    min-width: 0;
    /* Flexbox overflow fix */
}

.column-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    /* Add shadow to all content images */
}

.check-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 1rem;
}

.check-list li::before {
    content: "!";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    background: var(--color-gray-dark);
    color: white;
    font-size: 12px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-weight: bold;
}

/* Definition */
.definition-grid {
    display: grid;
    grid-template-columns: 1fr;
    /* Mobile 1 col */
    gap: 1rem;
    margin-top: 3rem;
}

.def-item {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    position: relative;
    background: rgba(255, 255, 255, 0.05);
}

.def-item .num {
    position: absolute;
    top: -15px;
    left: 10px;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
}

/* Solution */
.deliverables-box {
    background: white;
    border: 2px solid var(--color-primary);
    padding: 1.5rem;
    /* Reduced for mobile */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.deliverables-box h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    width: auto;
    display: table;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
}

.check-list-red li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.check-list-red li::before {
    content: "✔";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Program */
.program-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.program-card {
    background: white;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.3s;
}

.program-card .p-head {
    background: var(--color-primary);
    color: white;
    padding: 0.8rem 1rem;
    font-weight: 700;
}

.program-card .p-body {
    padding: 1.5rem;
}

.program-card h4 {
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.timetable {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
}

.tt-box {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tt-day h4 {
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    margin-bottom: 1rem;
}

.tt-day ul li {
    display: flex;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.tt-day ul li span {
    font-weight: 700;
    width: 50px;
    flex-shrink: 0;
}

/* Pricing */
.pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.p-card {
    background: white;
    padding: 2rem;
    border: 3px solid var(--color-primary);
    /* Thick border for all */
    text-align: center;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: var(--shadow-card);
}

.p-card.recommended {
    background: white;
    /* No special bg for recommended anymore, or keep subtle? User said "Member emphasis is none". So keep uniform. */
    /* border is handled by p-card now */
    border-color: var(--color-accent);
    /* Optional: maybe keep member accent color? Or user said "Everyone thick frame". Let's make all Primary color or specific clarity. Let's try 3px solid var(--color-primary) for all. */
}

.p-card .badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
}

/* FAQ & Target */
.check-list-white li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.check-list-white li::before {
    content: "✔";
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.faq-question {
    padding: 1.2rem 1rem;
    /* Better clickable area */
    border-bottom: 1px solid #e5e7eb;
}

/* Form */
.form-container-box {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    /* Premium Shadow */
    border-top: 5px solid var(--color-accent);
}

.signup-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    background: #fff;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    /* Subtle depth */
}

input:focus,
textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 18, 32, 0.1);
    outline: none;
}

/* Desktop Grid Layout for Form */
@media (min-width: 768px) {
    .signup-form {
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 0.5rem;
    }

    /* Full width items */
    .form-group:has(textarea),
    .form-group:has(.radio-group),
    .form-group:has(.checkbox-label),
    .form-privacy,
    .form-submit,
    .form-group.full-width {
        grid-column: 1 / -1;
    }

    /* If :has is not supported (safeguard), hardcode specific children logic if needed, 
       but standard modern browsers support :has. 
       Alternative: targeting specific IDs if structure allows. 
       Let's stick to :has or utility classes. I'll stick to a robust simpler grid or utilities.
       Actually, to be safe without modifying HTML classes too much, I'll rely on order or just keep it simple.
       Let's assume Name/Company/Email/Tel are first 4.
    */

    /* Specific overrides if :has isn't reliable enough for this context (it is in 2026, but let's be safe) */
    .signup-form>.form-group:nth-child(5),
    /* Ticket */
    .signup-form>.form-group:nth-child(6),
    /* Receipt */
    .signup-form>.form-group:nth-child(7),
    /* Message */
    .form-privacy,
    .form-submit {
        grid-column: 1 / -1;
    }
}

/* Footer */
.footer {
    background: var(--color-secondary);
    color: white;
    padding: 3rem 0;
    font-size: 0.85rem;
}

/* Bottom Sticky CTA */
.bottom-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #ddd;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0.8rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.bottom-sticky.visible {
    transform: translateY(0);
}

.bs-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    padding: 0 1rem;
}

.bs-info {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.bs-date {
    font-size: 0.9rem;
}

.bs-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    width: auto;
    margin: 0;
}

body {
    padding-bottom: 80px;
}


/* --- Desktop Responsive --- */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .fv-section {
        padding: 8rem 0 6rem;
    }

    .fv-container {
        flex-direction: row;
        align-items: center;
    }

    .fv-image {
        max-width: 100%;
        /* Reset max-width restriction for desktop flex layout */
        margin: 0;
    }

    .columns {
        flex-direction: row;
        align-items: center;
        /* Center align image and text vertically */
    }

    .reverse-mobile {
        flex-direction: row;
    }

    .definition-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tt-box {
        flex-direction: row;
    }

    .tt-day {
        flex: 1;
    }

    .pricing-cards {
        flex-direction: row;
        align-items: flex-end;
    }

    .p-card {
        flex: 1;
    }

    .form-container-box {
        padding: 3rem;
        max-width: 700px;
        margin: 0 auto;
    }

    .nav-logo {
        font-size: 1.2rem;
    }
}