/* --- 右側：記事領域 --- */
.main-content {
    flex-grow: 1;
    background-color: transparent; 
    padding: 0 20px;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.article-date {
    display: inline-block;
    color: var(--color-text-dim);
    font-size: 0.8rem;
    margin-bottom: 10px;
    opacity: 0.8;
    letter-spacing: 1px;
}

h1 {
    margin-top: 0;
    font-size: 2.5rem;
    line-height: 1.2;
    background: var(--gradient-h1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 30px;
    margin-bottom: 30px;
    position: relative;
}

h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent-vivid1);
    box-shadow: none;
}

h2 {
    font-size: 1.6rem;
    color: var(--color-text-light);
    margin-top: 50px;
    border: none;
    padding-left: 15px;
    border-left: 4px solid var(--color-accent-vivid1);
    box-shadow: none;
    clear: both;
}

p {
    line-height: 2;
    margin-bottom: 30px;
    color: var(--color-text-body);
    
    font-size: 1.08rem;
    font-weight: 500;
    transition: color 0.3s;
}

/* --- 記事内の画像スタイル --- */
.article-img {
    width: 170px;
    height: auto;
    cursor: zoom-in;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--color-text-dim);
    border-radius: 4px;
    object-fit: cover;
}

.article-img.is-expanded {
    width: 300px;
    cursor: zoom-out;
    z-index: 10;
    position: relative;
}

.float-right {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
}

.center-block {
    display: block;
    margin: 20px auto;
}

.image-stack {
    float: right;
    margin-left: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: min-content;
}
