/* ===============================
   グローバルスタイル
   =============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF4B4B;
    --secondary-color: #FFB800;
    --success-color: #00C896;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --manga-border: 4px solid #000;
}

body {
    font-family: 'Kosugi Maru', 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: #FFF9E6;
    overflow-x: hidden;
}

/* ===============================
   ファーストビュー
   =============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.attention-box {
    margin-bottom: 30px;
}

.attention-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    animation: pulse 2s infinite;
    margin-bottom: 20px;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.title-line {
    display: block;
}

.highlight {
    color: var(--secondary-color);
    font-size: 3.2rem;
    text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.scroll-indicator {
    animation: bounce 2s infinite;
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: bold;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===============================
   漫画パネル共通スタイル
   =============================== */
.manga-panel {
    background: var(--bg-white);
    margin: 40px auto;
    max-width: 900px;
    border-radius: 0;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.1);
    padding: 0;
    position: relative;
    border: var(--manga-border);
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.manga-panel.visible {
    opacity: 1;
    transform: translateY(0);
}

.panel-container {
    position: relative;
    padding: 30px;
}

.panel-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--text-dark);
}

.panel-number {
    font-family: 'Arial Black', sans-serif;
    font-weight: bold;
    color: white;
    background: var(--text-dark);
    padding: 5px 15px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
}

.scene-title {
    font-size: 1.6rem;
    margin-top: 10px;
    font-weight: 900;
    color: var(--text-dark);
}

.scene-title.shock {
    color: var(--primary-color);
    animation: shake 0.5s;
}

.scene-title.hope {
    color: var(--success-color);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ===============================
   漫画イメージ
   =============================== */
.manga-image-wrapper {
    position: relative;
    margin: 20px 0;
    border: var(--manga-border);
    overflow: hidden;
    background: white;
}

.manga-image {
    width: 100%;
    height: auto;
    display: block;
}

.manga-effect-text {
    position: absolute;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    color: white;
    text-shadow: 
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    z-index: 10;
    animation: popIn 0.5s ease;
}

@keyframes popIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.manga-effect-text.big {
    font-size: 4rem;
}

.manga-effect-text.small {
    font-size: 2rem;
}

.manga-effect-text.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.manga-effect-text.top-left {
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
}

.manga-effect-text.top-right {
    top: 20px;
    right: 20px;
}

.manga-effect-text.dark {
    color: #8B0000;
    font-size: 5rem;
}

.manga-effect-text.price {
    color: #FFD700;
    font-size: 4.5rem;
}

.manga-effect-text.happy {
    color: #FFB6C1;
    font-size: 3.5rem;
}

.manga-effect-text.hope {
    color: #90EE90;
    font-size: 3rem;
}

/* ===============================
   漫画風吹き出し
   =============================== */
.manga-dialogue {
    margin: 25px 0;
}

.speech-bubble-manga {
    background: white;
    border: 4px solid black;
    border-radius: 20px;
    padding: 20px 25px;
    margin: 15px 0;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
}

.speech-bubble-manga.left {
    margin-right: 60px;
}

.speech-bubble-manga.right {
    margin-left: 60px;
}

.speech-bubble-manga.center {
    margin: 20px auto;
    max-width: 700px;
}

.speech-bubble-manga.shocked {
    background: #FFE6E6;
    border-color: var(--primary-color);
    animation: shake 0.3s infinite;
}

.speech-bubble-manga.despair {
    background: #E0E0E0;
    border-color: #555;
}

.speech-bubble-manga.hero {
    background: #E6F7FF;
    border-color: #0066CC;
}

.speech-bubble-manga.happy {
    background: #FFFACD;
    border-color: var(--secondary-color);
}

.dialogue-text {
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: bold;
    margin: 0;
    color: var(--text-dark);
}

.dialogue-text.big {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.speaker-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: normal;
}

/* ===============================
   ナレーションボックス
   =============================== */
.narration-box {
    background: #FFF9E6;
    border: 3px solid var(--text-dark);
    padding: 20px 25px;
    margin: 25px 0;
    font-size: 1.1rem;
    border-radius: 10px;
    text-align: center;
}

.narration-box.danger {
    background: #FFE6E6;
    border-color: var(--primary-color);
}

.narration-box.success {
    background: #E6FFE6;
    border-color: var(--success-color);
}

/* ===============================
   強調ボックス
   =============================== */
.emphasis-box {
    text-align: center;
    padding: 35px;
    margin: 30px 0;
    border-radius: 15px;
    border: 5px solid;
}

.emphasis-box.danger {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe0e0 100%);
    border-color: var(--primary-color);
}

.emphasis-box.hope {
    background: linear-gradient(135deg, #f0fff4 0%, #d4f4dd 100%);
    border-color: var(--success-color);
}

.emphasis-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.large-text {
    font-size: 1.6rem;
    line-height: 1.6;
}

.large-text strong {
    color: var(--primary-color);
    font-size: 2.2rem;
}

/* ===============================
   チェックリスト
   =============================== */
.check-list {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 25px;
    border: 4px solid var(--text-dark);
}

.check-list h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    text-align: center;
}

.check-list ul {
    list-style: none;
}

.check-list li {
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.15rem;
    font-weight: bold;
    background: #F8F9FA;
    margin-bottom: 10px;
    border-radius: 5px;
}

.check-list li:last-child {
    border-bottom: none;
}

.check-warning {
    margin-top: 20px;
    padding: 20px;
    background: #FFE6E6;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1.1rem;
    text-align: center;
}

.text-red {
    color: var(--primary-color);
    font-size: 1.3rem;
}

/* ===============================
   タイムライン
   =============================== */
.timeline {
    margin: 35px 0;
}

.timeline-title {
    text-align: center;
    font-size: 1.7rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 900;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: center;
}

.timeline-point {
    flex-shrink: 0;
    min-width: 110px;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 30px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
    border: 3px solid black;
}

.timeline-content {
    flex: 1;
    background: #FFF5F5;
    padding: 20px 25px;
    border-radius: 10px;
    border: 3px solid var(--primary-color);
}

.timeline-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

.big-text {
    font-size: 1.3rem !important;
}

/* ===============================
   価格比較
   =============================== */
.price-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    margin: 30px 0;
    align-items: center;
}

.price-card {
    background: white;
    border: 5px solid;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.price-card.bad {
    border-color: var(--primary-color);
    background: #FFE6E6;
}

.price-card.good {
    border-color: var(--success-color);
    background: #E6FFE6;
}

.price-label {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.price-card.bad .price-amount {
    color: var(--primary-color);
}

.price-card.good .price-amount {
    color: var(--success-color);
}

.price-details {
    list-style: none;
    text-align: left;
}

.price-details li {
    padding: 8px 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
}

.vs-mark {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    text-shadow: 2px 2px 0 white;
}

/* ===============================
   ソリューションボックス
   =============================== */
.solution-box {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 35px;
    border-radius: 15px;
    border: 4px solid #0284c7;
    margin: 30px 0;
}

.solution-box h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 35px;
    color: #0c4a6e;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.step {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
    border: 3px solid #0284c7;
    transition: transform 0.3s ease;
}

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

.step-number {
    display: inline-block;
    background: #0284c7;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.step h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* ===============================
   CTA セクション
   =============================== */
.cta-section {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    padding: 70px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 10px solid var(--text-dark);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
    border: 3px solid white;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 35px;
    line-height: 1.4;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.benefit {
    background: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    border: 3px solid var(--text-dark);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-color);
    color: white;
    border: 5px solid var(--text-dark);
    padding: 25px 60px;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 8px 8px 0 rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    font-family: 'Kosugi Maru', sans-serif;
}

.cta-button:hover {
    background: #e63939;
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 rgba(0,0,0,0.3);
}

.cta-button:active {
    transform: translate(2px, 2px);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.button-arrow {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
    transform: translateX(5px);
}

.cta-note {
    color: white;
    font-size: 1rem;
    margin-top: 25px;
    opacity: 0.95;
}

.urgency {
    margin-top: 30px;
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
    border: 3px solid var(--text-dark);
}

.urgency p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: bold;
}

.urgency strong {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.urgency-sub {
    font-size: 1rem !important;
    color: var(--primary-color) !important;
    margin-top: 10px !important;
}

/* ===============================
   フッター
   =============================== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 35px 20px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-disclaimer {
    font-size: 0.9rem;
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-copyright {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ===============================
   フェードインアニメーション
   =============================== */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* ===============================
   レスポンシブデザイン
   =============================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .highlight {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .manga-panel {
        margin: 20px 10px;
    }
    
    .panel-container {
        padding: 20px;
    }
    
    .manga-effect-text.big {
        font-size: 2.5rem;
    }
    
    .manga-effect-text.small {
        font-size: 1.5rem;
    }
    
    .dialogue-text {
        font-size: 1rem;
    }
    
    .scene-title {
        font-size: 1.3rem;
    }
    
    .price-comparison {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .vs-mark {
        transform: rotate(90deg);
        font-size: 2.5rem;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 20px 40px;
        font-size: 1.2rem;
    }
    
    .speech-bubble-manga.left,
    .speech-bubble-manga.right {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .highlight {
        font-size: 2rem;
    }
    
    .manga-effect-text.big {
        font-size: 2rem;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit {
        width: 100%;
        max-width: 280px;
    }
}