
/*TOPICS一覧*/
.content__heading{
  text-align: center;
}
/* 記事グリッド - PC: 3カラム */
.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3カラム */
    gap: 30px; /* カラム間のスペース */
    margin-bottom: 50px;
}

/* 各記事アイテム */
.topic-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden; /* 角丸からはみ出る画像を隠す */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    display: flex; /* flexboxを使って内部の要素を配置 */
    flex-direction: column; /* 縦方向に並べる */
}

.topic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.topic-item .topic-thumbnail {
    width: 100%; /* 画像コンテナの幅 */
    height: 200px; /* 固定の高さで画像を均一にする */
    overflow: hidden;
    display: flex; /* 画像を中央に配置するためのflex */
    align-items: center;
    justify-content: center;
}

.topic-item .topic-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がコンテナを覆うように調整 */
    transition: transform 0.3s ease; /* ホバーエフェクト */
}

.topic-item:hover .topic-thumbnail img {
    transform: scale(1.05); /* ホバーで画像を少し拡大 */
}

.topic-item .topic-title,
.topic-item .topic-meta {
    padding: 15px 20px;
}

.topic-item .topic-title {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.5;
}

.topic-item .topic-title span {
    color: #333;
    display: block;
    transition: all .2s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.topic-item:hover .topic-title span{
  color: #00A19E;
}


.topic-item .topic-meta {
    font-size: 0.85em;
    color: #777;
    font-weight: 500;
    margin-top: auto;
    padding-top: 0; 
}

.no-posts-found {
    text-align: center;
    font-size: 1.2em;
    color: #555;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ページネーション */
.pagination {
    text-align: center;
    margin-top: 40px;
    padding-bottom: 20px; /* フッターとの調整 */
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    color: #00A19E;
    background-color: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.pagination .page-numbers:hover {
    background-color: #00A19E;
    color: #fff;
}

.pagination .page-numbers.current {
    background-color: #00A19E;
    color: #fff;
    border-color: #00A19E;
    font-weight: bold;
    cursor: default; /* 現在のページはクリック不可に */
}

/* --- レスポンシブ対応 --- */

/* タブレット向け（例: 768pxから1024pxまで） */
@media (max-width: 1024px) {
    .topic-grid {
        grid-template-columns: repeat(2, 1fr); /* 2カラム */
        gap: 25px;
    }
    .topic-item .topic-thumbnail {
        height: 180px; /* タブレットでの画像の高さ */
    }
}

/* スマートフォン向け（例: 767px以下） */
@media (max-width: 767px) {

    .topic-grid {
        grid-template-columns: 1fr; /* 1カラム */
        gap: 20px;
    }

    .topic-item .topic-thumbnail {
        height: 160px; /* スマートフォンでの画像の高さ */
    }

    .pagination .page-numbers {
        padding: 6px 10px;
        margin: 0 2px;
        font-size: 0.9em;
    }
}
.cv__balloon, .cv__balloon--large {
	margin: auto;
	padding-left: .4em;
	color: #fff;
	text-align: center
}

@media screen and (min-width: 769px) {
	.cv__container {
		padding: 20px 0 18px
	}
	.cv__box {
		margin: auto;
		width: 772px;
        display: flex;
        justify-content: space-between;
	}
	.cv__app {
		width: 342px
	}
	.cv__google {
		width: 417px
	}
	.cv__app:not(span):not(p),.cv__google:not(span):not(p){
		-webkit-transition: opacity .2s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: opacity .2s cubic-bezier(0.215, 0.61, 0.355, 1);
	}
	.cv__app:not(span):not(p):hover,.cv__google:not(span):not(p):hover{
		opacity: .7;
	}
	.cv__balloon {
		margin-bottom: 4px;
		padding-top: 9px;
		width: 322px;
		height: 54px;
		font-size: 1.4375rem;
		background: url("/assets/img/customer/cv-balloon[pc].png") no-repeat center center/contain
	}
	.cv__balloon--large {
		margin-bottom: 12px;
		padding-top: 8px;
		width: 461px;
		height: 63px;
		font-size: 1.875rem;
		background: url("/assets/img/customer/cv-balloon-large[pc].png") no-repeat center center/contain
	}
}
@media screen and (max-width: 768px) {
	.cv__container {
		padding: 5.1282051282vw 0 6.1538461538vw
	}
	.cv__box {
		padding: 0 24px;
        display: flex;
        justify-content: center;
        gap: 16px;
	}
    .cv__box a {
        margin-top: 0;
    }
	.cv__app, .cv__google {
		height: 12.8205128205vw
	}
	.cv__balloon, .cv__balloon--large {
		margin-bottom: 3.0769230769vw;
		padding-top: 1.7948717949vw;
		width: 61.2820512821vw;
		height: 10.2564102564vw;
		font-size: 3.8461538462vw;
		background: url("/assets/img/customer/cv-balloon[sp].png") no-repeat center center/contain
	}
}

/* PCではページャーを表示、SPでは非表示 */
.pc-pagination {
    display: block;
}

/* SPでは「もっと見る」ボタンを表示、PCでは非表示 */
.sp-load-more {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.sp-load-more button {
    /* もっと見るボタンのスタイル */
    width: 100%;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    color: #333;
    border-radius: 5px;
    cursor: pointer;
}

.sp-load-more button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .pc-pagination {
        display: none; /* SPでページャーを非表示 */
    }
    .sp-load-more {
        display: block; /* SPで「もっと見る」ボタンを表示 */
    }


.topic-item { 
    transition: opacity 0.5s ease-out, transform 0.5s ease-out; 
}
.topic-item.new-load-item {
    opacity: 0;
    transform: translateY(20px);
}

.topic-item.is-hidden-init {
    opacity: 0;
    transform: translateY(20px);
}

.topic-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
}