@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* ===== 2026-08-11 選手導線・選手記事の幅調整 ===== */
.tkx-wrestler-directory{
  background:#11100e;
  color:#fff;
  border-top:4px solid #b40d18;
}
.tkx-wrestler-directory > h2{color:#fff}
.tkx-wrestler-directory > p:not(.tkx-kicker){color:#cdbfae;max-width:760px}
.tkx-wrestler-directory__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:28px;
}
.tkx-wrestler-directory__card{
  display:flex;
  min-height:220px;
  padding:24px;
  flex-direction:column;
  background:linear-gradient(145deg,#1c1814,#0d0c0b);
  border:1px solid #6f592d;
  border-bottom:4px solid #b40d18;
  color:#fff!important;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease;
}
.tkx-wrestler-directory__card:hover{
  transform:translateY(-3px);
  border-color:#c9a34c;
}
.tkx-wrestler-directory__card small{
  color:#d7b463;
  font:700 11px/1.4 sans-serif;
  letter-spacing:1.4px;
}
.tkx-wrestler-directory__card strong{
  display:block;
  margin:10px 0 12px;
  color:#fff;
  font-size:25px;
  line-height:1.35;
}
.tkx-wrestler-directory__card span{
  flex:1;
  color:#cfc4b6;
  font-size:15px;
  line-height:1.75;
}
.tkx-wrestler-directory__card b{
  margin-top:18px;
  color:#e0bd68;
  font-size:14px;
}
.tkx-wrestler-directory__all{
  display:inline-flex;
  margin-top:22px;
  padding:13px 22px;
  border:1px solid #b89448;
  color:#e0bd68!important;
  text-decoration:none!important;
}
.tkx-read-paths--three{grid-template-columns:repeat(3,minmax(0,1fr))}

/* タイトル領域1120pxに対し本文800pxだった落差を緩和 */
.reading{
  width:calc(100% - 40px)!important;
  max-width:940px!important;
}
.reading .toc{
  width:100%!important;
  max-width:620px!important;
}

/* 選手アーカイブもブランドデザインと1カラムに統一 */
.post-type-archive-tkx_wrestler #sidebar{display:none!important}
.post-type-archive-tkx_wrestler #content-in{
  width:calc(100% - 48px)!important;
  max-width:1180px!important;
  margin:0 auto!important;
}
.post-type-archive-tkx_wrestler #main{
  width:100%!important;
  max-width:none!important;
  padding:38px!important;
  background:#11100e!important;
  color:#fff;
}
.post-type-archive-tkx_wrestler #main > h1{
  margin:0 0 26px;
  padding-left:16px;
  border-left:5px solid #b40d18;
  color:#fff;
}
.post-type-archive-tkx_wrestler #list{
  display:grid;
  width:100%!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
}
.post-type-archive-tkx_wrestler .entry-card-wrap{
  margin:0!important;
  padding:0!important;
  background:#1a1713;
  border:1px solid #68542c;
  color:#fff!important;
  text-decoration:none!important;
}
.post-type-archive-tkx_wrestler .entry-card{
  display:block!important;
  height:100%;
  padding:0!important;
}
.post-type-archive-tkx_wrestler .entry-card-thumb{
  float:none!important;
  width:100%!important;
  margin:0!important;
}
.post-type-archive-tkx_wrestler .entry-card-thumb img{
  width:100%!important;
  height:auto!important;
  aspect-ratio:16/9;
  object-fit:cover;
}
.post-type-archive-tkx_wrestler .entry-card-content{
  margin:0!important;
  padding:22px!important;
}
.post-type-archive-tkx_wrestler .entry-card-title{
  color:#fff!important;
  font-size:24px!important;
}
.post-type-archive-tkx_wrestler .entry-card-snippet{
  color:#cfc4b6!important;
  line-height:1.7;
}
.post-type-archive-tkx_wrestler .admin-pv,
.post-type-archive-tkx_wrestler .entry-card-meta{display:none!important}

@media screen and (max-width:834px){
  .tkx-wrestler-directory__grid,
  .tkx-read-paths--three{grid-template-columns:1fr 1fr}
  .post-type-archive-tkx_wrestler #list{grid-template-columns:1fr}
  .post-type-archive-tkx_wrestler #main{padding:26px!important}
}
@media screen and (max-width:600px){
  .tkx-wrestler-directory__grid,
  .tkx-read-paths--three{grid-template-columns:1fr}
  .tkx-wrestler-directory__card{min-height:0}
  .reading{width:calc(100% - 28px)!important}
  .post-type-archive-tkx_wrestler #content-in{width:calc(100% - 24px)!important}
  .post-type-archive-tkx_wrestler #main{padding:20px 14px!important}
}


/* 選手ディレクトリの文字色を既存テーマより優先 */
.tkx-read .tkx-wrestler-directory .tkx-kicker{
  color:#d7b463!important;
}
.tkx-read .tkx-wrestler-directory h2{
  color:#fff!important;
  text-shadow:none!important;
}
.tkx-read .tkx-wrestler-directory > p:not(.tkx-kicker){
  color:#d8cfc3!important;
}
.tkx-read .tkx-wrestler-directory__card span{
  color:#d8cfc3!important;
}

/* 100vwとスクロールバー幅の競合を除去 */
.tkx-a .hero,
.tkx-a .paper{
  margin-left:0!important;
  margin-right:0!important;
}


/* TKX event venue contrast fix 2026-08-30 */
body.single-tkx_event .tkxev-section--venue{background:#f5f1e8!important}
body.single-tkx_event .tkxev-section--venue .tkxev-kicker{color:#8a6418!important;opacity:1!important}
body.single-tkx_event .tkxev-section--venue h2,
body.single-tkx_event .tkxev-section--venue p,
body.single-tkx_event .tkxev-section--venue dt,
body.single-tkx_event .tkxev-section--venue dd,
body.single-tkx_event .tkxev-section--venue address,
body.single-tkx_event .tkxev-section--venue strong{color:#171717!important;opacity:1!important}

body.single-tkx_event .tkxev-section--venue .tkxev-btn--gold{color:#171717!important}
body.single-tkx_event .tkxev-section--venue .tkxev-btn--ghost{color:#171717!important;border-color:#8a6418!important;background:#fffdfa!important}
body.single-tkx_event .tkxev-section--venue .tkxev-link{color:#b40018!important;opacity:1!important}
.tkx-venue-depth{box-sizing:border-box;width:92%;max-width:1180px;margin:48px auto 24px;padding:34px 44px;background:#f5f1e8;color:#171717;border-top:8px solid #b40018}
.tkx-venue-depth h2{margin:0 0 24px;padding:0 0 14px;color:#171717;border-bottom:2px solid #b78a32;font-size:36px;line-height:1.35}
.tkx-venue-depth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.tkx-venue-depth article{margin:0;padding:22px;background:#fffdfa;border-left:5px solid #b40018}
.tkx-venue-depth h3{margin:0 0 10px;color:#171717;font-size:20px;line-height:1.45}
.tkx-venue-depth p{margin:0;color:#292724;font-size:16px;line-height:1.9}
.tkx-venue-depth .tkx-venue-depth-note{margin:22px 0 0;padding:14px 16px;color:#fffdfa;background:#171717;border-left:5px solid #b78a32;font-size:14px}
@media screen and (max-width:700px){
.tkx-venue-depth{width:94%;margin-top:32px;padding:24px 16px}
.tkx-venue-depth h2{font-size:26px}
.tkx-venue-depth-grid{grid-template-columns:1fr}
.tkx-venue-depth article{padding:18px}
}
body.single-post:has(.tkx-uts-guide) .tkx-uts-titlebar #toc .toc-content>.toc-list>li:nth-child(n+6){display:none!important}

body.page-id-421 .tkx-k3-event,
body.postid-168 .tkx-k3-event,
body.postid-156 .tkx-k3-event,
body.postid-1093 [data-tkx-expire],
body.postid-1093 #sidebar{display:none!important}
.postid-1093 #content-in{display:block!important}
.postid-1093 #main{box-sizing:border-box;width:100%!important;max-width:none!important;float:none!important}

.tkx-venue-events-evergreen{
  box-sizing:border-box;
  width:92%;
  max-width:1180px;
  margin:30px auto;
  padding:26px 30px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  background:#151412;
  color:#fffdfa;
  border-left:8px solid #b40018;
}
.tkx-venue-events-evergreen small{color:#d7b46a;font-size:12px;font-weight:800;letter-spacing:.12em}
.tkx-venue-events-evergreen h2{margin:5px 0!important;padding:0!important;color:#fff!important;background:none!important;border:0!important;font-size:27px!important}
.tkx-venue-events-evergreen p{margin:0;color:#e8e1d5;font-size:14px;line-height:1.7}
.tkx-venue-events-evergreen>a{display:block;padding:14px 20px;background:#b40018;color:#fff!important;font-weight:800;text-decoration:none;text-align:center}

.tkx-event-venue-guide{max-width:1180px;margin:28px auto;padding:0 20px}
.tkx-event-venue-guide a{display:grid;gap:6px;padding:22px 24px;border:1px solid #b78a32;background:#fffaf0;color:#171614!important;text-decoration:none}
.tkx-event-venue-guide small{color:#8b651f;font-weight:800;letter-spacing:.12em}
.tkx-event-venue-guide strong{font-size:20px}
.tkx-event-venue-guide span{color:#b40018;font-weight:800}

@media screen and (max-width:700px){
.tkx-venue-events-evergreen{grid-template-columns:1fr;width:94%;padding:22px 18px}
.tkx-venue-events-evergreen h2{font-size:23px!important}
}
