/* ===========================
   AI出版サポートコース LP CSS
   =========================== */

:root {
    --clr-bg: #0a0e1a;
    --clr-surface: #111827;
    --clr-surface2: #1a2235;
    --clr-accent: #6366f1;
    --clr-accent2: #818cf8;
    --clr-highlight: #f59e0b;
    --clr-green: #10b981;
    --clr-blue: #3b82f6;
    --clr-red: #ef4444;
    --clr-text: #f1f5f9;
    --clr-muted: #94a3b8;
    --clr-border: rgba(255, 255, 255, 0.08);
    --radius: 16px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.25);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== UTILS ===== */
.container {
    width: min(1080px, 92%);
    margin-inline: auto;
}

.highlight {
    background: linear-gradient(90deg, #6366f1, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.85em 2em;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.btn--primary {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: #fff;
    box-shadow: 0 4px 24px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.6);
}

.btn--outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--clr-text);
    background: transparent;
}

.btn--outline:hover {
    border-color: var(--clr-accent2);
    color: var(--clr-accent2);
}

.btn--large {
    font-size: 1.15rem;
    padding: 1em 2.6em;
}

/* ===== SECTIONS ===== */
.section {
    padding: 64px 0;
}

.section--dark {
    background: var(--clr-surface);
}

.section--accent {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.section__title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1.35;
}

.section__sub {
    text-align: center;
    color: var(--clr-muted);
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 70svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0 60px;
    background: radial-gradient(ellipse at 60% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, #0a0e1a 0%, #0f1624 100%);
}

.hero--with-image {
    min-height: auto;
    padding: 0 0 48px;
    flex-direction: column;
    background: linear-gradient(180deg, #0a0e1a 0%, #0f1624 100%);
}

.hero__image-wrap {
    width: 100%;
    line-height: 0;
}

.hero__image {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== PRIVILEGE BOX ===== */
.privilege-box {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.04));
    border: 2px solid var(--clr-highlight);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
    max-width: 700px;
    margin: 1.5rem auto;
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.12);
}

.privilege-box__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    margin-bottom: -0.25rem;
}

.privilege-box__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

.privilege-box__text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.privilege-box__deadline {
    color: var(--clr-highlight);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 0.5rem;
}

.privilege-note {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    max-width: 700px;
    margin: 0.75rem auto 0;
    font-size: 0.88rem;
    color: var(--clr-muted);
    line-height: 1.7;
    text-align: center;
}

.privilege-note p:first-child {
    color: var(--clr-text);
    margin-bottom: 0.3rem;
}

/* ===== GUARANTEE BOX ===== */
.guarantee-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-sm);
    padding: 1.2rem 1.5rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.guarantee-box__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.guarantee-box__title {
    font-size: 1rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.25rem;
}

.guarantee-box__text {
    font-size: 0.88rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

.hero__bg-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
    top: -100px;
    right: -150px;
    pointer-events: none;
    animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes glow-pulse {

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

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    max-width: 720px;
}

.hero__badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.5);
    color: var(--clr-accent2);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35em 1em;
    border-radius: 999px;
    letter-spacing: 0.05em;
    animation: fade-up 0.6s ease both;
}

.hero__title {
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    animation: fade-up 0.7s 0.1s ease both;
}

.hero__sub {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--clr-muted);
    line-height: 1.8;
    animation: fade-up 0.7s 0.2s ease both;
}

.hero__cta {
    animation: fade-up 0.7s 0.3s ease both;
    font-size: 1.15rem;
    margin-top: 0.5rem;
}

.hero__countdown {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    color: var(--clr-highlight);
    text-align: center;
    animation: fade-up 0.7s 0.25s ease both;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--clr-muted);
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

@keyframes bounce {

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

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

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* ===== PAIN LIST ===== */
.pain-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin-top: 2.5rem;
}

.pain-list__item {
    background: var(--clr-surface2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform var(--transition);
}

.pain-list__item:hover {
    transform: translateY(-3px);
}

.pain-list__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.pain-list__item p {
    font-size: 0.95rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

/* ===== SOLUTION GRID ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.solution-card {
    background: var(--clr-surface2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 3px solid var(--clr-accent);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.35);
}

.solution-card__num {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.solution-card:nth-child(1) {
    border-top-color: #10b981;
}

.solution-card:nth-child(1) .solution-card__num {
    color: rgba(16, 185, 129, 0.4);
}

.solution-card:nth-child(2) {
    border-top-color: #3b82f6;
}

.solution-card:nth-child(2) .solution-card__num {
    color: rgba(59, 130, 246, 0.4);
}

.solution-card:nth-child(3) {
    border-top-color: #f59e0b;
}

.solution-card:nth-child(3) .solution-card__num {
    color: rgba(245, 158, 11, 0.4);
}

.solution-card:nth-child(4) {
    border-top-color: #ef4444;
}

.solution-card:nth-child(4) .solution-card__num {
    color: rgba(239, 68, 68, 0.4);
}

.solution-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.solution-card p {
    font-size: 0.88rem;
    color: var(--clr-muted);
}

/* ===== CAMPAIGN GRID ===== */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.campaign-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.campaign-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.campaign-card--highlight {
    border-color: var(--clr-highlight);
    box-shadow: 0 0 0 2px var(--clr-highlight), 0 0 60px rgba(245, 158, 11, 0.15);
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.04));
    transform: scale(1.03);
}

.campaign-card--highlight:hover {
    transform: scale(1.05) translateY(-4px);
}

.campaign-card__label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-highlight);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3em 1.2em;
    border-radius: 999px;
    white-space: nowrap;
}

.campaign-card__num {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--clr-accent2);
    margin-bottom: 0.75rem;
}

.campaign-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.campaign-card p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.campaign-comparison {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 680px;
    margin-inline: auto;
}

/* ===== PLANS GRID ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
    margin-top: 2.5rem;
}

.plans-grid--two {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 720px;
    margin-inline: auto;
    margin-top: 2.5rem;
}

.plans-deadline {
    text-align: center;
    color: var(--clr-highlight);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 2rem;
}

.plan-card__price-old {
    font-size: 0.9rem;
    color: var(--clr-muted);
    margin-bottom: -0.5rem;
}

.plan-card__price-old s {
    color: var(--clr-red);
}

.plan-card {
    background: var(--clr-surface2);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    min-height: 420px;
    align-items: center;
}

.plan-card:hover {
    transform: translateY(-4px);
}

.plan-card--featured {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 2px var(--clr-accent), var(--shadow-glow);
    transform: scale(1.02);
    background: linear-gradient(145deg, #1a1f35, #111827);
}

.plan-card--featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.plan-card__recommend {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3em 1.2em;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-card__recommend--sub {
    background: var(--clr-highlight);
}

.plan-card__badge {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3em 1em;
    border-radius: 999px;
    display: inline-block;
    align-self: flex-start;
}

.plan-card__badge--green {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.plan-card__badge--blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.plan-card__badge--red {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.plan-card__price {
    font-family: 'Inter', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.1em;
}

.plan-card__yen {
    font-size: 1.4rem;
}

.plan-card__cycle {
    font-size: 0.9rem;
    color: var(--clr-muted);
    font-weight: 400;
    margin-left: 0.3em;
}

.plan-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--clr-muted);
    flex: 1;
}

.plan-card__features li {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.plan-card__note {
    font-size: 0.78rem;
    color: var(--clr-muted);
    line-height: 1.6;
    text-align: center;
    margin-top: -0.25rem;
}

.plan-card__note strong {
    color: var(--clr-highlight);
    font-size: 1.05em;
}

/* ===== FLOW ===== */
.flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.flow__step {
    background: var(--clr-surface2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid var(--clr-accent2);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    transition: transform var(--transition), border-color var(--transition);
}

.flow__step:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.4);
}

.flow__step-num {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--clr-accent2);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flow__step-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.flow__step h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flow__step p {
    font-size: 0.85rem;
    color: var(--clr-muted);
}

.flow__arrow {
    font-size: 1.5rem;
    color: var(--clr-accent);
    flex-shrink: 0;
}

/* ===== MONITOR BOX ===== */
.monitor-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 760px;
    margin-inline: auto;
}

.monitor-box__icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.monitor-box__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.monitor-box__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.8;
}

.monitor-box__text strong {
    color: #fff;
}

/* ===== SCHEDULE GRID ===== */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 700px;
    margin-inline: auto;
}

.schedule-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform var(--transition);
}

.schedule-card:hover {
    transform: translateY(-2px);
}

.schedule-card--coming {
    opacity: 0.6;
}

.schedule-card__month {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-accent2);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(139, 92, 246, 0.3);
}

.schedule-card__dates {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.schedule-card__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.schedule-card__date {
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-text);
    min-width: 5.5em;
}

.schedule-card__label {
    font-size: 0.8rem;
    padding: 0.15em 0.6em;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--clr-muted);
}

.schedule-card__label--new {
    background: rgba(245, 158, 11, 0.2);
    color: var(--clr-highlight);
    font-weight: 700;
}

.schedule-card__tbd {
    color: var(--clr-muted);
    font-size: 0.9rem;
}

.schedule-notes {
    max-width: 700px;
    margin: 1rem auto 0;
    font-size: 0.85rem;
    color: var(--clr-muted);
    line-height: 1.6;
    text-align: center;
}

.schedule-notes p {
    margin-bottom: 0.2rem;
}

/* ===== SCHEDULE SINGLE (current month) ===== */
.schedule-single {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px;
    margin: 2rem auto;
}

.schedule-single__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-single__row:last-child {
    border-bottom: none;
}

.schedule-single__date {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--clr-text);
}

/* ===== APPLY GUARANTEE REMINDER ===== */
.apply__guarantee {
    color: #10b981;
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

/* monitor comparison table */
.monitor-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.2rem 0;
    font-size: 0.95rem;
}

.monitor-table th {
    text-align: left;
    padding: 0.6em 0.8em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--clr-accent2);
    font-weight: 700;
    font-size: 0.85rem;
}

.monitor-table td {
    padding: 0.6em 0.8em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

.monitor-table s {
    color: var(--clr-muted);
}

.monitor-box__deadline {
    color: var(--clr-highlight);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ===== APPLY ===== */
#apply .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.apply__note {
    font-size: 0.85rem;
    color: var(--clr-muted);
}

/* ===== FOOTER ===== */
.footer {
    background: #060a14;
    padding: 2.5rem 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
}

.footer__brand {
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-accent2);
    margin-bottom: 0.5rem;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--clr-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
    .section {
        padding: 48px 0;
    }

    .hero {
        min-height: 60svh;
        padding: 60px 0 40px;
    }

    .hero--with-image {
        min-height: auto;
        padding: 0 0 24px;
    }

    .flow__arrow {
        transform: rotate(90deg);
    }

    .flow {
        flex-direction: column;
    }

    .monitor-box {
        flex-direction: column;
        text-align: center;
    }

    .privilege-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .privilege-note {
        padding: 1.2rem;
    }

    .privilege-note br {
        display: none;
    }
}