@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/



/* 共通ボタンスタイル */
.my-original-button {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.2); /* 立体感 */
    box-sizing: border-box;
    margin: 16px 0;
    border: none;
}

/* 青ボタン */
.my-original-button.blue {
    background-color: #337ab7;
}

/* オレンジボタン（下にだけ余白） */
.my-original-button.orange {
    background-color: #f57c00;
    margin-bottom: 50px;
}

.work-summary-box{
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 6px;
  font-size: 0.95em;
  line-height: 1.6;
}









/* =========================
   女優関連記事：カード表示
========================= */

.acf-related-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

/* カード本体 */
.acf-related-card {
  width: calc(50% - 10px); /* 既存の2列感を踏襲 */
  box-sizing: border-box;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px; /* 全体の間隔は少し詰める */
}

/* 品番リンク（上下スペースを狭く） */
.acf-related-number {
  line-height: 1.15;
  margin-bottom: -4px; /* 品番と横線の距離を圧縮 */
}

.acf-related-number a {
  text-decoration: none;
  font-size: 14px;
}

/* 横線 */
.acf-related-hr {
  border: 0;
  border-top: 1px solid #e5e5e5;
  margin: 0;
  margin-top: -2px; /* 品番に寄せる */
}

/* タイトル（リンクなし） */
.acf-related-title {
  font-size: 13px;
  line-height: 1.4;
}

/* サムネイル（リンクなし） */
.acf-related-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0; /* 角丸なしのまま */
}

/* ボタン */
.acf-related-btn {
  text-align: center;
  margin-top: 2px;
}

.acf-related-button {
  display: inline-block;
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
  box-sizing: border-box;

  /* 視認性UP（色付き） */
  background: #1f7a8c;
  border: 1px solid #1f7a8c;
  color: #fff;
  font-weight: 500;
}

.acf-related-button:hover {
  filter: brightness(0.95);
}

/* 品番リンクだけ右寄せ */
.acf-related-number {
  text-align: right;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}



/* テーブル全体のスタイル */
.custom-video-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* ヘッダー行のスタイル */
.custom-video-info-table thead th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-bottom: 2px solid #ddd;
    text-align: left;
}

/* 通常行のスタイル */
.custom-video-info-table tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: middle;
}

/* 項目セル（左側）の強調 */
.custom-video-info-table tbody td:first-child {
    font-weight: bold;
    background-color: #e8f4ff; /* 薄いブルー背景色 */
    color: #333; 
    border-right: 1px solid #ddd;
}

/* 偶数行の背景色 */
.custom-video-info-table tbody tr:nth-child(even) {
    background-color: #f5f5f5; /* 薄いグレー */
}

/* 奇数行の背景色 */
.custom-video-info-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* ホバー時の行のスタイル */
.custom-video-info-table tbody tr:hover {
    background-color: rgba(0, 128, 255, 0.1); /* ライトブルーの透過色 */
}

/* モバイル対応のスタイル */
@media (max-width: 767px) {
    .custom-video-info-table {
        font-size: 14px;
    }
    .custom-video-info-table thead {
        display: table-header-group;
    }
    .custom-video-info-table tbody td {
        display: table-cell;
        padding: 8px;
    }
    .custom-video-info-table tbody td:first-child {
        font-weight: bold;
        background-color: #e8f4ff;
        color: #222;
    }
    .custom-video-info-table tbody tr {
        display: table-row;
        border: none;
    }
    .custom-video-info-table tbody td[data-label]::before {
        content: none;
    }
}
/* 項目セルの幅を狭くする */
.custom-video-info-table tbody td:first-child {
    font-weight: bold;
    background-color: #e8f4ff; /* 薄いブルー背景色 */
    color: #333;
    border-right: 1px solid #ddd;
    width: 30%; /* 幅を30%に設定 */
    white-space: nowrap; /* テキストの折り返しを防止 */
}

/* 内容セルの幅を調整する */
.custom-video-info-table tbody td:not(:first-child) {
    width: 70%; /* 残りの幅を占有 */
    white-space: normal; /* テキストを折り返す */




