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

body {
    font-family: 'Helvetica Neue', Arial, "Noto Sans JP", sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-color: #000;
}

.container {
    display: flex;
    height: 100vh;
    background-color: #222;
}

.left-panel {
    width: 50%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 100;
    overflow: hidden;
}

.panel-header {
    padding: 2rem;
/*            background: white;
    border-bottom: 1px solid #e9ecef; */font-family: "Noto Serif JP", serif;
}

.panel-header h1 {
    background: url(../images/nariwai-logo.svg) no-repeat;
    width: 360px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;}

.panel-header p {
    margin-top: 8px;
    color: #000;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: "Noto Serif JP", serif;
}

.article-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
/*    padding: 1rem 0;*/
}

.article-item {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.article-item:hover {
    background: white;
/*            transform: translateX(8px);*/
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.article-item.active {
    background: white;
/*            border-left: 4px solid #30D5C8;
    transform: translateX(8px);*/
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.article-number {
    font-size: 0.8rem;
    color: #000;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.article-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    font-family: "Noto Serif JP", serif;
}
.article-title span {
    font-size: 1rem;
    display: inline-block;
    margin-left: 20px;
}

.article-excerpt {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #adb5bd;
}

.read-time {
    margin-left: auto;
}

.right-panel {
    width: 50%;
    margin-left: 50%;
    background-color: #000;
    margin-bottom: 0;
}

.content-section {
    min-height: 100vh;
  background-color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    bottom: 2rem;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-end;

}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-section:nth-child(odd) {
    background: #222;
}

.section-content {

    text-align: center;
    
    bottom: 2rem;
    margin: 0 auto;
    justify-content: center;
    align-items: flex-end;
}

.section-number {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: "Noto Serif JP", serif;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

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

.feature-card h4 {
    color: #30D5C8;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

.progress-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 200;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e9ecef;
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: #30D5C8;
    transform: scale(1.5);
}

.hero-section {
    background: linear-gradient(135deg, #30D5C8 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.hero-section .section-title {
    color: white;
    font-size: 3rem;
}
.hero-section .section-title span {
    display: block;
    color: white;
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 500;
}
.read-time a {display: inline-block;}

.hero-section .section-text {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

#story01 {
    background: url(../images/sample1.jpg) center center #222;
    background-size: cover;
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}

#story02 {
    background: url(../images/sample2.jpg) center center;
    background-size: cover;
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}
#story03 {
    background: url(../images/sample3.jpg) center center;
    background-size: cover;
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}
#story04 {
    background: url(../images/sample4.jpg) center center #222;
    background-size: cover;
    
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}
#story05 {
    background: url(../images/sample5.jpg) center center #222;
    background-size: cover;
    animation: fade-in 3s;
    animation-fill-mode: forwards;
}
.gradient-b {
    background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,1));
    width: 100%;

}
.inner {
    padding: 3rem;
    z-index: 999;
}

.panel-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    z-index: 999;
}
.on-panel p.hover-txt {
    color: #fff;
    width: 100%;
    height: 100%;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -2px;
    font-weight: 300;
    border-bottom: solid 1px #fff;
    padding-bottom: 20px;
  }
.on-panel:hover p.hover-txt {
    opacity: 1; 
    transition : 0.8s;
}
.montserrat {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }
  



@media (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    
    .left-panel {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .right-panel {
        width: 100%;
        margin-left: 0;
    }
    
    .article-list {
        max-height: 400px;
    }
    
    .content-section {
/*        padding: 2rem 1rem;*/
padding: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-indicator {
        display: none;
    }
    .on-panel:hover p.hover-txt {
        opacity: 0; 
    }
    .article-list {
        display: none;
    }
    .inner {
        padding: 1.8rem;
    }
    .hero-section .section-title {
        font-size: 2.0rem;
    }
    .hero-section .section-text {
        font-size: 0.8rem;
    }
    .left-panel {
        position: fixed;
        background: none;
    }
    .panel-header {
        padding: 1rem;
    }
    .panel-header p {
        color: #fff;
    }
    .panel-header h1 {
    filter: brightness(0) invert(1);
    }
}

/* カスタムスクロールバー */
.article-list::-webkit-scrollbar {
    width: 4px;
}

.article-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.article-list::-webkit-scrollbar-thumb {
    background: #30D5C8;
    border-radius: 2px;
}

.floating-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #30D5C8;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}