@charset "UTF-8";
/* ============================================
   COLUMN.CSS - コラムページ用スタイル v2.1.4
   ============================================ */

/* ベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'M PLUS Rounded 1c', 'Hiragino Maru Gothic ProN', sans-serif;
    min-height: 100vh;
}


/* ============================================
   コラム詳細ページ
   ============================================ */

/* メインカード */
.column-detail-card {
    max-width: 600px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 3px solid #97866e;
    border-radius: 24px;
    padding: 40px 24px;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    min-height: 70vh;
}

/* タイトル */
.column-detail-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #E0E0E0;
    line-height: 1.5;
}

/* タグフィルタ時のタイトル */
.column-list-title-link {
    color: #333;
    text-decoration: none;
}

.column-list-title-link:hover {
    text-decoration: underline;
}

.column-list-title-tag {
    font-size: 18px;
    color: #666;
    font-weight: normal;
}



/* サムネイル画像 */
.column-detail-thumbnail {
    display: block;
    width: 50%;
    margin: 0 auto 24px;
    border-radius: 12px;
    border: none;
}

/* 画像ドット（非表示） */
.column-detail-dots {
    display: none;
}

/* 本文 */
.column-detail-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
    text-align: justify;
}

.column-detail-content p {
    margin-bottom: 1.5em;
}

/* タグ */
.column-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #E0E0E0;
}

.column-detail-tag {
    padding: 6px 16px;
    background: #FFF3E0;
    border-radius: 20px;
    font-size: 13px;
    color: #E65100;
    font-weight: 500;
}

/* 戻るボタン */
.column-back-button {
    display: block;
    max-width: 600px;
    margin: 24px auto 0;
    padding: 16px;
    background: #FFFFFF;
    border: 3px solid #FF9800;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.column-back-button:hover {
    background: #FF9800;
    color: #FFFFFF;
}

/* ローディング */
.column-loading {
    text-align: center;
    padding: 60px 20px;
    color: #333;
    font-size: 16px;
}

/* エラー */
.column-error {
    text-align: center;
    padding: 60px 20px;
    color: #C62828;
    font-size: 16px;
}

/* ============================================
   コラム一覧ページ
   ============================================ */


.column-list-container {
    max-width: 600px;
    margin: 0 auto;
}

.column-list-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 24px;
}

.column-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 一覧アイテム */
.column-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    border: 3px solid #FF9800;
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.column-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* サムネイル（正方形・左側） */
.column-list-item-thumbnail {
    width: 80px;
    height: 80px;
    min-width: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #F5F5F5;
}

/* テキスト部分 */
.column-list-item-content {
    flex: 1;
    min-width: 0;
}

.column-list-item-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.4;
}

.column-list-item-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 読むボタン */
.column-list-item-button {
    padding: 8px 16px;
    background: #FFFFFF;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    transition: all 0.2s;
}

.column-list-item:hover .column-list-item-button {
    background: #333;
    color: #FFFFFF;
}

/* 戻るボタン */
.column-list-back {
    display: block;
    max-width: 600px;
    margin: 24px auto 0;
    padding: 16px;
    background: #FFFFFF;
    border: 3px solid #FF9800;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
}

.column-list-back:hover {
    background: #FF9800;
    color: #FFFFFF;
}

.column-list-empty {
    text-align: center;
    padding: 40px;
    color: #666;
    background: #FFFFFF;
    border-radius: 16px;
}

/* ============================================
   レスポンシブ
   ============================================ */
@media (max-width: 480px) {

    .column-page,
    .column-list-page {
        padding: 30px 12px;
    }

    .column-detail-card {
        padding: 32px 16px;
        border-radius: 20px;
    }

    .column-detail-title {
        font-size: 20px;
    }

    .column-detail-thumbnail {
        width: 80%;
    }

    .column-detail-content {
        font-size: 15px;
    }

    .column-list-item {
        padding: 12px;
        gap: 12px;
    }

    .column-list-item-thumbnail {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .column-list-item-title {
        font-size: 14px;
    }

    .column-list-item-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}