@charset 'UTF-8';

/*
Theme Name: WADA CYCLE
Description:
Version: 1.0
Author:
*/
.ld-ls-thumb{
  width:100%;
  aspect-ratio:16/9;
  display:block;
  background: #f3f4f6 center/cover no-repeat;
  background-image: var(--ld-bg, none); /* ← 追加 */
}
.ld-ls-thumb.bg-loaded{ 
	background-color:#e5e7eb; 
}

/* タイトル：2行固定・多行省略 */
.ld-ls-title{
  line-height:1.4;            /* 行高を明示 */
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;       /* ←ここで2行に制限 */
  overflow:hidden;            /* 見切れ防止 */
  text-overflow:ellipsis;
  min-height:2.8em;           /* 1.4 × 2行 = 2.8em → 高さを揃える */
}

/* 本文スニペット：2行固定・多行省略 */
.ld-ls-snippet{
  line-height:1.6;            /* 読みやすい行高 */
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;       /* 2行に制限 */
  overflow:hidden;
  text-overflow:ellipsis;
  min-height:3.2em;           /* 1.6 × 2行 = 3.2em → 高さを揃える */
}

/* 下に置くコントロール行 */
.ld-ls-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin-top:10px;
}

/* デフォの絶対配置を無効化して“下の行”に参加させる */
.ld-ls-controls .swiper-button-prev,
.ld-ls-controls .swiper-button-next,
.ld-ls-controls .swiper-pagination{
  position: static;
  inset: auto;
  margin: 0;
}

/* ← …… → の見た目 */
.ld-ls-controls .swiper-button-prev::after{ 
	content:'←'; font-size:18px; line-height:1; 
}
.ld-ls-controls .swiper-button-next::after{ 
	content:'→'; font-size:18px; line-height:1; 
}

/* ドットは中央に伸びて並べる */
.ld-ls-controls .swiper-pagination{
  flex:1;
  display:flex;
  justify-content:center;
}
.ld-ls-controls .swiper-pagination-bullet{
  width:8px; height:8px; margin:0 6px; opacity:.4;
}
.ld-ls-controls .swiper-pagination-bullet-active{ opacity:1; }

/* タイトル/本文は2行で統一（はみ出し省略） */
.ld-ls-title,
.ld-ls-snippet{
  display:-webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow:hidden;
}
.dt-container .dt-length, .dt-container .dt-search {
	border: 2px solid #fc8956;
    border-radius: 8px;
    padding: 0 10px;
    color: #fff;
    background: #fc8956;
}
.dt-container .dt-input {
	color: #fff;
}
/* TablePress テーブル全体を横スクロール対応に */
.tablepress {
  display: block;
  overflow-x: auto; /* 横スクロールを有効に */
  white-space: nowrap; /* 改行しない */
}

/* ヘッダーやセル内のテキストを改行させない */
.tablepress th,
.tablepress td {
  white-space: nowrap;
}

/* スクロール時にテーブル全体が崩れないように */
.tablepress table {
  width: auto !important;
  min-width: 100%;
}
