/* ==========================================================================
   KSS Story-driven LP Specific Styles (style_story.css)
   Extends style.css to support emotional copy, dark-to-light gradient,
   and elegant serif typography for storytelling.
   ========================================================================== */

@import url('style.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&display=swap');

:root {
    --font-serif: 'Noto Serif JP', 'Noto Sans JP', serif;
    --bg-dark-story: #0B3C4D; /* 絶望期を表す深みのあるディープブルー */
    --text-light: #ECEFF1;
}

/* --- Story Common --- */
.story-section {
    padding: clamp(60px, 8vw, 100px) 0;
    transition: background-color 1s, color 1s;
    font-family: var(--font-serif);
}

.story-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.story-para {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 2.1;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.story-section.dark {
    background-color: var(--bg-dark-story);
    color: var(--text-light);
}

.story-section.dark .story-para {
    color: rgba(255, 255, 255, 0.9);
}

.story-section.dark h2, 
.story-section.dark h3 {
    color: #FFFFFF;
}

/* --- Section Title in Story --- */
.story-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 16px;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
}

.story-section.dark .story-title::after {
    background: #FFF176;
}

/* --- Narrative Quote --- */
.story-quote {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 600;
    line-height: 1.8;
    color: var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 0 12px 24px;
    margin: 48px 0;
    font-style: normal;
}

.story-section.dark .story-quote {
    color: #FFF176;
    border-left-color: #FFF176;
}

/* --- Narrative Image Block --- */
.story-img-block {
    margin: 48px 0;
    position: relative;
}

.story-img-block img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-img-caption {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 12px;
    font-family: var(--font-body);
}

.story-section.dark .story-img-caption {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Contrast Comparison Block --- */
.contrast-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 60px 0;
}

.contrast-card {
    padding: 32px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.contrast-card.bad {
    background: rgba(217, 83, 79, 0.03);
    border-color: rgba(217, 83, 79, 0.15);
}

.contrast-card.good {
    background: rgba(6, 199, 85, 0.03);
    border-color: rgba(6, 199, 85, 0.15);
}

.contrast-header {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contrast-card.bad .contrast-header { color: var(--danger); }
.contrast-card.good .contrast-header { color: var(--line-green); }

.contrast-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.contrast-item {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-primary);
    position: relative;
    padding-left: 24px;
}

.contrast-card.bad .contrast-item::before {
    content: '❌';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

.contrast-card.good .contrast-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.85rem;
}

/* --- Transitions --- */
.transition-gradient {
    height: 150px;
    background: linear-gradient(to bottom, var(--bg-dark-story), var(--bg-dark));
}

/* --- Developer Bio Upgrade (Story Style) --- */
.story-dev-intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-top: 24px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .contrast-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .story-para {
        margin-bottom: 24px;
    }
}

/* --- Hero Background Override for Story LP --- */
.hero-bg {
    background: url('images/story_sunrise_road.png') center/cover no-repeat !important;
}
