/*
Theme Name: MyTube Theme
Theme URI: http://example.com/mytube-theme
Author: Your Name
Author URI: http://example.com
Description: A custom video-style theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mytube-theme
*/



    .thumbnail-container {
      position: relative;
      width: 100%;
      padding-top: 67.25%; /* aspect ratio */
      overflow: hidden;
    }
    .thumbnail-container img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .video-wrapper {
      width: 100%;
      max-width: 960px;
      margin: 0 auto 1.5rem;
    }
    .video-wrapper p {
      margin-bottom:16px;
    }


    .duga-wrapper {
      position: relative;
      width: 100%;
      padding-top: 56.25%;
    }
    .duga-wrapper > div {
      position: absolute !important;
      top: 0;
      left: 0;
      width: 100% !important;
      height: 100% !important;
    }
    .actress-tag a {color:#D00;}



/* コメント全体 */
#comments {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin-top: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: "Helvetica", sans-serif;
}

/* タイトル */
#comments .comments-title {
  font-size: 1.4em;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

/* コメントリスト */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
}

.comment .avatar {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.comment-body {
  flex: 1;
}

.comment-author .fn {
  font-weight: bold;
  color: #333;
}

.comment-meta {
  font-size: 0.85em;
  color: #777;
  margin-bottom: 8px;
}

.comment-content p {
  margin: 0;
  color: #444;
  font-size: 0.95em;
}

.reply {
  margin-top: 10px;
}

.comment-reply-link {
  font-size: 0.85em;
  color: #0073aa;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* コメントフォーム */
.comment-respond {
  margin-top: 40px;
}

.comment-reply-title {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.comment-form textarea,
.comment-form input[type='text'],
.comment-form input[type='email'],
.comment-form input[type='url'] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  border-radius: 4px;
  font-size: 1em;
}

.comment-form input[type='submit'] {
  background: #0073aa;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.comment-form input[type='submit']:hover {
  background: #005d8c;
}

.navigation{display:none;}


.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid #d1d5db; /* Tailwind's gray-300 */
  border-radius: 0.375rem; /* rounded */
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
  border-color: #3b82f6; /* blue-500 */
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); /* blue ring */
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151; /* gray-700 */
}

.wpcf7-form .wpcf7-submit {
  background-color: #2563eb; /* blue-600 */
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s ease;
  border: none;
  cursor: pointer;
}

.wpcf7-form .wpcf7-submit:hover {
  background-color: #1d4ed8; /* blue-700 */
}



.related-thumbnail {
  width: 112px !important;
  height: 64px !important;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.related-noimage {
  width: 112px;
  height: 64px;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #6b7280;
  border-radius: 4px;
}

.entry-content{font-size:18px;line-height:140%;}
.entry-content p {margin-bottom:18px;}
.entry-content a {color:#00D;text-decoration:underline;}

.tag-description{border-bottom:1px solid #CCC;margin-bottom:20px;padding 0 0 20px;}
.tag-description p{margin-bottom:16px;}
.x-alink a{margin:0 6px;}
.sponserlist p{margin-bottom:12px;}


/* テーブル全体 */
/* ベース */
table.side-head {
  width: 100%;
  border-collapse: collapse;   /* 角の隙間なし・丸みなし */
  table-layout: fixed;         /* 列幅を安定させる。不要なら auto */
  font-size: clamp(14px, 1.6vw, 15.5px);
  background: #fff;
  color: #0f172a;
}

/* 行のボーダー（上1本＋各行下線） */
.side-head {
  border-top: 1px solid #e5e7eb;
}
.side-head tr {
  border-bottom: 1px solid #e5e7eb;
}

/* 行見出し（1列目 th） */
.side-head th {
  width: 28%;                  /* ラベル側を少し広めに */
  text-align: left;
  font-weight: 600;
  padding: 12px 14px;
  vertical-align: middle;
  white-space: nowrap;
  background: #f8fafc;         /* ごく薄い差別化。不要なら削除 */
  border-right: 1px solid #e5e7eb;
}

/* 値セル（2列目以降） */
.side-head td {
  padding: 12px 14px;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;         /* 長文を折り返すならnowrap;に変更 */
}

/* 数値カラム用（必要セルに .num を付ける） */
.side-head td.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 触感を少しだけ：行ホバー（任意。不要なら削除） */
.side-head tbody tr:hover th,
.side-head tbody tr:hover td {
  background: #f6fafe;
}

/* キャプション（任意） */
.side-head caption {
  caption-side: top;
  text-align: left;
  padding: 6px 0 10px;
  color: #64748b;
  font-size: .95em;
}
.side-head a {color:#D00!important;}


/*サムネイル*/
.thum-list{margin:20px 0;}
.thum-list img{margin:20px 0;}

.tag-description h2{
	font-weight:bold;
	font-size:20px;
	margin-bottom:20px;
	
}

/*コラム*/
.column{margin:20px 0;background:#FFF;padding:10px 20px;max-width:900px;font-size:16px;line-height:160%;}
.column h3{font-weight:bold;font-size:20px;padding:0 0 6px 0;border-bottom:2px solid #CCC;margin:40px 0 20px 0;}
.column h2{font-weight:bold;font-size:26px;padding:0 0 6px 0;margin-bottom:20px;}


/*関連記事表示*/
.related-post-card {
    --rp-h: 120px;           /* カードの固定高さ：必要に応じて変更 (例: 140px) */
    --rp-radius: 8px;
    --rp-gap: 12px;
    --rp-thumb-w: var(--rp-h); /* サムネは正方形（高さに合わせる） */
    --rp-title-lines: 2;     /* タイトルの最大行数 */
    --rp-excerpt-lines: 2;   /* 抜粋の最大行数 */
    
    border: 1px solid #ddd;
    border-radius: var(--rp-radius);
    overflow: hidden;
    margin: 16px 0;
    transition: box-shadow .2s ease, transform .2s ease;
}

/* リンク全体をフレックスにして高さ固定 */
.related-post-card > a {
    display: flex;
    align-items: stretch;
    gap: var(--rp-gap);
    height: var(--rp-h);
    text-decoration: none;
    color: inherit;
    padding: 10px;
}

/* サムネ：固定サイズでトリミング */
.related-post-card .thumb {
    flex: 0 0 var(--rp-thumb-w);
    width: var(--rp-thumb-w);
    height: calc(var(--rp-h) - 20px); /* padding分を差し引き */
    border-radius: 6px;
    overflow: hidden;
}
.related-post-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 中央トリミングで崩れ防止 */
    display: block;
}

/* テキスト側 */
.related-post-card .content {
    flex: 1 1 auto;
    min-width: 0; /* 省略記号を効かせるため必須 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* タイトル：複数行省略 */
.related-post-card .content .title {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 6px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: var(--rp-title-lines);
    -webkit-box-orient: vertical;
    /* 非WebKit系のフォールバック */
    max-height: calc(1.4em * var(--rp-title-lines));
}

/* 抜粋：複数行省略 */
.related-post-card .content .excerpt {
    font-size: 14px;
    color: #555;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: var(--rp-excerpt-lines);
    -webkit-box-orient: vertical;
    /* 非WebKit系のフォールバック */
    line-height: 1.5;
    max-height: calc(1.5em * var(--rp-excerpt-lines));
}

/* ホバー効果（お好みで） */
.related-post-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    transform: translateY(-1px);
}

/* モバイル最適化：少し高さを下げる */
@media (max-width: 480px) {
    .related-post-card {
        --rp-h: 100px;
    }
    .related-post-card > a {
        padding: 8px;
    }
    .related-post-card .thumb {
        height: calc(var(--rp-h) - 16px);
    }
}
