:root {
    --bg-main: #ffffff; 
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --accent-green: #059669;
    --accent-dark-green: #064e3b;
    --accent-blue: #2563eb;
    --accent-red: #ef4444;
    --accent-gray: #e2e8f0;
    --font-title: 'Phudu', cursive;
    --font-body: 'Roboto', sans-serif;
    --w-max: 1920px;
    --w-title: 1280px;
    --w-subtitle: 1080px;
    --w-text: 660px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-main);
    line-height: 1.8;
    overflow-x: hidden;
    padding-top: 45px;
}

.sp-sticky-header {
    position: fixed; top: 0; left: 0; width: 100%; height: 45px;
    background-color: #000; display: flex; align-items: center; justify-content: space-between;
    z-index: 99999; box-shadow: 0 2px 5px rgba(0,0,0,0.5); font-family: Arial, sans-serif;
}
.left-group { display: flex; align-items: center; height: 100%; }
.sp-back-to-k14 {
    display: flex; align-items: center; justify-content: center;
    width: 45px; height: 45px; background-color: #007f74; color: white;
    text-decoration: none; font-size: 18px; transition: background 0.3s; cursor: pointer;
}
.sp-back-to-k14:hover { background-color: #00665d; }
.sp-mag-logo { margin-left: 15px; display: flex; align-items: center; text-decoration: none; }
.sp-mag-logo img { height: 24px; width: auto; display: block; }
.center-logo {
    position: absolute; left: 50%; transform: translateX(-50%);
    pointer-events: none; user-select: none; display: flex; align-items: center; justify-content: center;
}
.center-logo img { height: 26px; width: auto; display: block; }
.right-group { display: flex; align-items: center; padding-right: 15px; }
.fb-custom-btn {
    display: flex; align-items: center; gap: 6px; color: white; text-decoration: none;
    font-size: 13px; font-family: Helvetica, Arial, sans-serif; font-weight: bold;
    cursor: pointer; opacity: 0.9; transition: opacity 0.2s;
}
.fb-custom-btn:hover { opacity: 1; text-decoration: underline; }
.fb-custom-btn i { font-size: 15px; }

.wrapper-1920 {
    max-width: var(--w-max);
    margin: 0 auto;
    position: relative;
    background: #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.05);
    padding-bottom: 80px;
}

.col-text { max-width: var(--w-text); margin: 0 auto; padding: 0 20px; }
.col-subtitle { max-width: var(--w-subtitle); margin: 0 auto; padding: 0 20px; }
.col-chart-wide { max-width: 1280px; margin: 60px auto; padding: 0 20px; }

.cover-title-img {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 40px;
    display: block;
    height: auto;
    animation: gentleShake 4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes gentleShake {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(0.3deg) scale(1.005); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-0.3deg) scale(1.005); }
    100% { transform: rotate(0deg) scale(1); }
}

h2 {
    font-family: var(--font-title); font-weight: 700; font-size: 42px;
    color: var(--text-primary); text-align: center; margin-top: 80px; margin-bottom: 30px;
    position: relative;
}
h2::after {
    content: ''; display: block; width: 80px; height: 6px;
    background: var(--accent-green); margin: 15px auto 0;
}

h3 {
    font-family: var(--font-title); font-weight: 700; font-size: 1.5rem;
    margin-bottom: 1.5rem; text-align: center;
}

p { margin-bottom: 1.5rem; font-size: 1.15rem; color: #2d3748; text-align: justify; }

.highlight-data { 
    color: var(--accent-green); font-weight: 900; font-size: 1.1em; 
    border-bottom: 2px solid rgba(5, 150, 105, 0.2);
}

.chart-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.chart-box {
    flex: 1; min-width: 300px; background: #f8fafc; padding: 30px;
    border-radius: 20px; border: 1px solid #edf2f7;
}
.bar-group { margin-bottom: 15px; }
.bar-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-weight: 700; font-family: var(--font-title); font-size: 0.9rem;}
.bar-bg { height: 14px; background: #e2e8f0; border-radius: 7px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 7px; width: 0; transition: width 1.5s ease-out; }
.bg-hybrid { background-color: var(--accent-green); }
.bg-ev { background-color: var(--accent-blue); }
.bg-gas { background-color: var(--accent-red); }

.pain-point-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
    background: #e2e8f0; border-radius: 24px; overflow: hidden;
    margin-top: 20px;
}
.pain-item { padding: 40px; text-align: center; color: white; }
.pain-hybrid { background: #64748b; }
.pain-ev { background: var(--accent-green); }
.pain-time { font-family: var(--font-title); font-size: 3.5rem; font-weight: 900; line-height: 1; margin: 10px 0; }
.pain-desc { font-size: 1rem; opacity: 0.9; }

.toyota-giant-full {
    background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
    color: white; padding: 60px; border-radius: 24px; text-align: center;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center;
}
.giant-num { font-family: var(--font-title); font-size: 6rem; font-weight: 900; line-height: 1; margin: 10px 0; }

.toyota-global-chart-container {
    width: 100%; max-width: 700px; margin-top: 40px;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2);
}
.t-chart-title { font-family: var(--font-title); font-size: 1.1rem; margin-bottom: 20px; opacity: 0.9; }
.t-chart-flex {
    display: flex; justify-content: space-between; align-items: flex-end;
    height: 180px; gap: 15px;
}
.t-col-group {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%;
}
.t-bar {
    width: 30px; background: rgba(255,255,255,0.3);
    border-radius: 4px 4px 0 0;
    height: 0; transition: height 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.toyota-giant-full.visible .t-bar { background: #fff; }
.t-val {
    font-size: 0.9rem; font-weight: 700; margin-bottom: 5px; color: #fff; opacity: 0; transform: translateY(10px); transition: 0.5s 1s;
}
.toyota-giant-full.visible .t-val { opacity: 1; transform: translateY(0); }
.t-year { font-size: 0.8rem; margin-top: 10px; opacity: 0.8; }

.h1-chart-container {
    width: 100%; max-width: 700px; margin-top: 30px;
    padding-top: 20px; border-top: 1px dashed rgba(255,255,255,0.3);
    text-align: left;
}
.h1-title { font-family: var(--font-title); font-size: 1rem; color: #fff; margin-bottom: 12px; font-weight: 700; opacity: 0.95; }
.h1-progress-bg {
    width: 100%; height: 36px; background: rgba(0,0,0,0.2);
    border-radius: 18px; position: relative; overflow: hidden;
}
.h1-progress-fill {
    height: 100%; background: #fff; border-radius: 18px;
    width: 0; transition: width 2s ease-out; position: relative;
    display: flex; align-items: center; justify-content: flex-end; padding-right: 15px;
}
.h1-percent-text { color: var(--accent-dark-green); font-weight: 900; font-size: 0.95rem; }
.h1-labels {
    display: flex; justify-content: space-between; margin-top: 8px;
    font-size: 0.85rem; color: #fff; font-weight: 500;
}
.source-note {
    width: 100%; max-width: 700px; text-align: right;
    font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 15px; font-style: italic;
}

.waffle-container { background: #f0fdf4; padding: 30px; border-radius: 24px; border: 1px solid #d1fae5; margin-top: 30px; }
.waffle-grid {
    display: grid; grid-template-columns: repeat(20, 1fr); gap: 4px;
    margin: 20px 0;
}
.waffle-unit {
    aspect-ratio: 1; border-radius: 2px; background: #cbd5e1;
    transition: all 0.3s ease;
}
.waffle-toyota { background: var(--accent-red); }
.waffle-honda { background: #3b82f6; }
.waffle-others { background: #94a3b8; }
.legend { display: flex; gap: 20px; justify-content: center; font-size: 0.9rem; margin-top: 15px; }
.dot { width: 12px; height: 12px; display: inline-block; border-radius: 50%; margin-right: 5px; }

.growth-chart {
    display: flex; align-items: flex-end; justify-content: space-between;
    height: 350px; padding: 20px 20px 0; border-bottom: 2px solid #e2e8f0;
    margin-top: 30px; background: #fff;
}
.growth-col {
    width: 14%; background: linear-gradient(to top, #dcfce7, #86efac);
    border-radius: 8px 8px 0 0; position: relative;
    transition: height 1s ease; height: 0;
}
.growth-col.active { background: linear-gradient(to top, #22c55e, #15803d); }
.col-val {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    font-weight: 700; font-family: var(--font-title); font-size: 1rem; color: var(--text-primary);
}
.col-year {
    position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
    font-weight: 700; font-size: 0.9rem; color: #64748b;
}

.roi-wrapper {
    background: #fff; border: 2px solid #e2e8f0; border-radius: 24px; padding: 40px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
}
.roi-header { text-align: center; margin-bottom: 40px; }
.roi-vs { font-family: var(--font-title); font-size: 2rem; color: #ef4444; font-weight: 900; margin: 0 15px; }
.roi-graphic {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: flex-end; height: 350px; padding-bottom: 30px;
}
.roi-stack { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; position: relative; }
.stack-block {
    width: 100%; display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 0.9rem; transition: all 0.5s;
}
.block-fuel { background: #f59e0b; border-top-left-radius: 12px; border-top-right-radius: 12px;}
.block-price { background: #64748b; border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; margin-top: 2px;}
.stack-label { text-align: center; margin-top: 15px; font-weight: 700; font-size: 1.1rem; }
.stack-total {
    position: absolute; top: -35px; width: 100%; text-align: center;
    font-family: var(--font-title); font-weight: 900; color: #1e293b; font-size: 1.2rem;
}

.table-container { overflow-x: auto; margin: 2rem 0; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border-radius: 12px; }
.hybrid-price-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.hybrid-price-table th { background: var(--accent-green); color: white; padding: 15px; text-align: left; font-family: var(--font-title); }
.hybrid-price-table td { padding: 12px 15px; border-bottom: 1px solid #eee; }
.hybrid-price-table tr:nth-child(even) { background: #f9fafb; }
.hybrid-price-table th:nth-child(3), .hybrid-price-table td:nth-child(3) { text-align: center; }
.price-cell { font-family: var(--font-title); color: var(--accent-green); font-weight: 700; font-size: 1.2rem; }

.is-visible .bar-fill { width: var(--w); }
.fade-in { opacity: 0; transform: translateY(20px); transition: 0.8s; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .toyota-section { grid-template-columns: 1fr; }
    .pain-point-grid { grid-template-columns: 1fr; }
    .chart-row { flex-direction: column; }
    .waffle-grid { grid-template-columns: repeat(10, 1fr); }
}
@media (max-width: 600px) {
    h2 { font-size: 2.5rem; }
    .giant-num { font-size: 4rem; }
    .pain-time { font-size: 2.5rem; }
    .center-logo { display: none; }
}

.idle-car {
    position: fixed; top: -200px; width: 25vw; max-width: 200px; z-index: 10;
    opacity: 0; pointer-events: none; transition: opacity 0.5s ease;
}
.idle-car-left { right: calc(50% + 350px); }
.idle-car-right { left: calc(50% + 350px); }

body.reading-mode:not(.collision-detected) .idle-car { opacity: 1; }
body.reading-mode:not(.collision-detected) .idle-car-left { animation: driveDown 5s linear infinite; }
body.reading-mode:not(.collision-detected) .idle-car-right { animation: driveUp 5s linear infinite; }

@keyframes driveDown {
    0% { transform: translateY(-30vh); }
    100% { transform: translateY(110vh); }
}
@keyframes driveUp {
    0% { transform: translateY(110vh); }
    100% { transform: translateY(-30vh); }
}

.h2-lane {
    width: 100%; position: relative; height: 0; opacity: 0; 
    transition: height 1s ease, opacity 1s ease; margin: 0 auto; max-width: 1920px;
}
.h2-lane.active { height: 130px; opacity: 1; }
.h2-car-img { position: absolute; top: 0; width: 250px; z-index: 50; display: none; }
.h2-lane-left .h2-car-img { right: -300px; }
.h2-lane-right .h2-car-img { left: -300px; }
.h2-lane-left.active .h2-car-img { display: block; animation: driveLeftAcross 5s linear infinite; }
.h2-lane-right.active .h2-car-img { display: block; animation: driveRightAcross 5s linear infinite; }

@keyframes driveLeftAcross {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100vw - 300px)); }
}
@keyframes driveRightAcross {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 300px)); }
}

@media (max-width: 900px) {
    .idle-car { display: none !important; }
    .h2-lane.active { height: 90px; }
    .h2-car-img { width: 150px; top: 0; }
}