.wrap{
    width: 100% !important;
}

#main.main{
    background-color: var(--white);
    color: var(--text-main);
    padding: 0;
}

.entry-content{
    margin-bottom: 0 !important;
}

/* ファーストビュー */
.firstview-img img {
    object-fit: cover;
    width: 100%;
    object-position: center;
}

/* コラム一覧タイトル */
.entry-header { 
    background-color: color-mix(in srgb, var(--green-1) 65%, transparent) !important; 
    position: absolute;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 45%;
}

p.entry-title {
    font-weight: bold;
    color: var(--white);
    margin: 0 !important;
    text-align: center;
}

/* 一覧内容 */
.column-list-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 0 !important;
}

.column-list {
    display: grid;
    margin-bottom: 0;
}

.column-list-item {
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.column-list-inner {
    height: 100%;
}

/* アイキャッチ画像 */
.column-list-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.column-list-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.column-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 投稿タイトル */
.column-list-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.column-list-title a {
    color: var(--text-main);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;    /* 最大2行表示 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    max-height: calc(1.4em * 3);
}

/* ホバーされた投稿タイトル */
.column-list-inner:hover .column-list-title a {
    color: var(--green-1);
    font-weight: bold;
}

/* 投稿日付 */
.column-list-date-text {
    font-weight: bold;
    color: var(--green-1);
    background: #f8f9fa;
    padding: 0 10px;
    line-height: normal;
}

/* 投稿が０件の時 */
.no-column-posts-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-to-btn {
    display: inline-block;
    text-decoration: none;
    color: var(--white);
    background: var(--green-1);
    border: 2px solid var(--green-1);
    border-radius: 50px;
    transition: background 0.3s;
    font-weight: bold;
    padding: 10px 40px;
}

.home-to-btn:hover {
    background: var(--white);
    color: var(--green-1);
}

/* ページネーション */
.pagination .page-numbers {
    border-radius: 50%;
    text-decoration: none;
    color: var(--green-1);
    background-color: var(--white);
    font-size: 18px;
    border: 2px solid var(--green-1);
}

/* 選択されたページネーション */
.pagination .page-numbers.current {
    color: var(--white);
    background-color: var(--green-1);
}

/* ホバーされたページネーション */
.pagination .page-numbers:hover{
    color: var(--white);
    background-color: var(--green-1);
} 

/* PC表示（1024px以上） */
@media screen and (min-width: 1024px) { 

    /* ファーストビュー */
    .firstview-img {
        height: 430px;
    }

    .firstview-img img {
        height: 380px;
        margin-bottom: 60px;
    }
    
    .entry-header {
        height: 200px;
        top: 252px;
    }
    
    /* コラム一覧タイトル */
    p.entry-title{
        font-size: 48px !important;
        margin-right: 25% !important;
    }

    .column-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        width: 80%;
        margin-top: 60px;
    }

    /* 投稿情報 */
    .column-list-content {
        padding: 20px;
    }    


    .column-list-item {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    .column-list-image {
        transition: transform 0.3s ease;
    }

    .column-list-item:hover .column-list-image {
        transform: scale(1.05);
    }

    .column-list-title a {
        transition: color 0.3s ease;
        height: 60px;
    }
    
    .column-list-date-text {
        font-size: 0.9rem;
        padding: 3px 8px;
    }

    /* 投稿が０件の時 */
    .no-column-posts-inner {
        margin: 100px 0px;
    }

    .no-column-posts-inner h2 {
        margin-bottom: 100px;
    }
    
    /* ページネーション */
    .pagination .page-numbers {
        font-size: 18px;
        transition: all 0.3s ease;
    }
    
}

/* SP表示（1023px以下） */
@media screen and (max-width: 1023px) {  
    
    /* ファーストビュー */
    .firstview-img img {
        height: 130px;
    }

    .entry-header {
        height: 50px;
        top: 96px;
    }

    /* お知らせ一覧タイトル */
    p.entry-title{
        font-size: 16px;
        margin-right: 2% !important;
    }

    .column-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 90%;
        margin-top: 30px;
    }

    /* 投稿情報 */
    .column-list-content {
        padding: 10px;
    } 

    .column-list-title a {
        height: 34px;
        font-size: 12px; 
    }

    .column-list-date-text {
        font-size: 0.8rem;
    }

    /* 投稿が０件の時 */
    .no-column-posts-inner {
        margin: 50px 0px;
    }

    .no-column-posts-inner h2 {
        font-size: 16px;
        margin-bottom: 50px;
    }
    
    /* ページネーション */
    .pagination {
        margin: 20px 0!important;
    }
    
    .pagination .page-numbers {
        font-size: 16px;
    }

}