/**************************
つぶやきアーカイブ設定
**************************/
/* --- レイアウト基本設定 --- */
.tsubuyaki-archive-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 0;
}

.tsubuyaki-timeline {
    border-bottom: 1px solid #666; /* 一番下の線 */
}

.tsubuyaki-item {
    display: flex;
    padding: 15px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
    border-right: 1px solid #666;
    background: #fff;
    transition: background 0.2s;
}

.tsubuyaki-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* --- アイコン & ヘッダー --- */
.tsubuyaki-icon {
    margin-right: 12px;
    flex-shrink: 0; /* アイコンが潰れないように */
}

.tsubuyaki-icon img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.tsubuyaki-main {
    flex: 1;
    min-width: 0; /* テキスト溢れ防止 */
}

.tsubuyaki-header {
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
}

.user-name {
    font-weight: bold;
    color: #0f1419;
    font-size: 1rem;
}

.tsubuyaki-header time {
    color: #536471;
    font-size: 0.85rem;
    margin-left: 8px;
}

/* --- 本文（1.4rem） --- */
.tsubuyaki-content {
    font-size: 1.4rem;
    line-height: 1.4;
    color: #0f1419;
    word-break: break-all;
}

/* --- 画像（4:3統一） --- */
.tsubuyaki-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
    display: block;
    margin-top: 10px;
}

/* --- いいね機能 & 演出 --- */
.tsubuyaki-footer {
    display: flex;
    justify-content: flex-end;
    position: relative;
    margin-top: 10px;
}

.like-button {
    background: none;
    border: none;
    color: #536471;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.like-button:hover {
    color: #f91880;
}

.like-icon {
    transition: transform 0.1s;
    font-variation-settings: 'FILL' 0; /* 初期は枠線のみ */
}

/* 飛び出す文字アニメーション */
.like-effect {
    position: absolute;
    bottom: 30px; 
    right: 10px; 
    font-weight: bold;
    color: #f91880;
    pointer-events: none;
    animation: floating-up 0.8s ease-out forwards;
    white-space: nowrap;
    z-index: 100;
}

.like-effect.one-up {
    color: #2ecc71; 
    font-size: 1.4rem;
    text-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
}

@keyframes floating-up {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-50px); opacity: 0; }
}

/* ページネーション */
.pagination {
    padding: 40px 0;
    text-align: center;
}



/**************************
TOPページのつぶやきエリア
**************************/
.top-tsubuyaki-area {
    margin-bottom: 2em; /* 下の記事との間隔 */
}

.top-tsubuyaki-box {
    border: 2px solid #e0e0e0; /* 薄めのグレー枠 */
    border-radius: 3px;        /* 3px角丸 */
    padding: 1.2em 1.5em;      /* 内側の余白 */
    background-color: #f9f9f9; /* わずかに色をつけて記事との境界を明確に */
    border-radius:20px;
}

.top-tsubuyaki-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    line-height: 1.7;
}

.tsubuyaki-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.tsubuyaki-text {
    font-size:1.4rem; /* 本文より少し小さめにして「つぶやき」感を出す */
    color: #444;
}

/* 右下の「つぶやきをみる」ボタン */
.top-tsubuyaki-footer {
    text-align: right;
    margin-top: 10px;
}

.tsubuyaki-link-btn {
    font-size: 1.2rem;
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
}

.tsubuyaki-link-btn:hover {
    color: #333;
    text-decoration: underline;
}

/* スマホ対応：余白を少し調整 */
@media screen and (max-width: 600px) {
    .top-tsubuyaki-box {
        padding: 1em;
    }
}

.top-tsubuyaki-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.tsubuyaki-meta {
    display: flex;
    flex-direction: column;
}

.tsubuyaki-nickname {
    font-weight: bold;
    font-size: 1.4rem;
    color: #333;
}

.tsubuyaki-date {
    font-size: 1rem;
    color: #999;
}

.top-tsubuyaki-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

/* いいねボタンのスタイル */
.tsubuyaki-like-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: #999;
    padding: 0;
}

.tsubuyaki-like-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

.tsubuyaki-like-btn:hover {
    color: #ff6b6b;
}