/* ================================
   ボタン系（既存そのまま）
================================ */
.l-entry-body .button_wrap{
    text-align:center;
    margin: 5px 0;
}
.l-entry-body .button{
    color: #fff;
    display: inline-block;
    border: 3px solid #2e8b57;
    padding: 20px 30px;
    background: #2e8b57;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.5s;
}
.l-entry-body .button:hover{
    color: #2e8b57;
    border: 3px solid #2e8b57;
    background: #fff;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 50px;
}

/* ================================
   画像など（既存）
================================ */
.l-entry-body .text_img{
    width: 4%;
    vertical-align: text-top;
}

/* ================================
   YouTube埋め込み（既存そのまま）
================================ */
.l-entry-body .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
}
.l-entry-body .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* ----------------------------------
   普通の表（styled-table ではない）用
---------------------------------- */
.l-entry-body .wp-block-table:not(.styled-table) table {
  width: 100%;
  border-collapse: collapse;
  border: 1.8px solid #c4c4c4;
  background: #fafafa;
}

.l-entry-body .wp-block-table:not(.styled-table) th,
.l-entry-body .wp-block-table:not(.styled-table) td {
  border: 1.8px solid #c4c4c4;
  padding: 12px 16px;
  text-align: center;
  background: transparent;
  color: #333;
  font-weight: normal;
}

/* 1行目（ヘッダー）を淡オレンジ＋文字色は白 */
.l-entry-body .wp-block-table:not(.styled-table) thead th,
.l-entry-body .wp-block-table:not(.styled-table) tr:first-child th {
  background: #e57729; /* さっきの淡いオレンジ */
  color: #ffffff;      /* ← 白文字に変更 */
  font-weight: 600;
}
/* 左端の1列目を太字にする */
.l-entry-body .wp-block-table:not(.styled-table) tbody tr td:first-child,
.l-entry-body .wp-block-table:not(.styled-table) thead tr th:first-child {
  font-weight: 600 !important;
}



/* 偶数行は白にしてストライプ */
.l-entry-body .wp-block-table:not(.styled-table) tbody tr:nth-child(even) td {
  background: #ffffff;
}




/* ================================
   オレンジデザインは「styled-table」だけ適用
   → 必要な表だけクラスを付ける運用へ
================================ */
.l-entry-body .styled-table table,
.l-entry-body .styled-table th,
.l-entry-body .styled-table td {
  border-color: #f67e24;
}

.l-entry-body .styled-table thead th,
.l-entry-body .styled-table tr:first-child th,
.l-entry-body .styled-table tr:first-child td {
  background: #f67e24;
  color: #fff;
  font-weight: bold;
}

.l-entry-body .styled-table tbody tr:nth-child(even) td {
  background: #faf9f6;
}

/* ================================
   カードリンク（既存）
================================ */
.l-entry-body .custom-link-card img {
  width: 120px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 16px;
  margin-left: 6px;
  display: block;
}

.l-entry-body .link-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 0;
  color: #333;
  line-height: 1.3;
}

.l-entry-body .link-desc {
  display: none !important;
}

.l-entry-body .custom-link-card {
  border: 2px solid #f67e24;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
