@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){
  /*必要ならばここにコードを書く*/
}

.fv_hitlist .swiper-wrapper,
.evidensarea_slide .swiper-wrapper {
  transition-timing-function: linear !important;
}
.fv_hitlist .swiper-slide,
.evidensarea_slide .swiper-slide {
  width: auto;            /* ここが 100% だと止まる */
  margin-right: 14px;
}
@media (min-width: 744px){
  .fv_hitlist .swiper-slide,
  .evidensarea_slide .swiper-slide { margin-right: 18px; }
}


.footer {
  background-color: #10276E;
  margin-top: 0;
}

/* Footer メニュー調整 */
ul.links li button {
  background: none !important; /* 背景を消す */
  border: none !important;     /* 枠線を消す */
  color: #FFFFFF !important;
  font-size: 16px;
  padding: 0;
  cursor: pointer;
}

/* hover効果など欲しければ追加 */
ul.links li button:hover {
  text-decoration: underline;
  opacity: 0.8;
}

#header-in .tagline { display: none !important; }
#header-in .logo { display: none !important; } /* ロゴを消す場合 */

/* PCではスマホ用を消す */
.is-pc .sp-only { display: none !important; }

/* スマホではPC用を消す */
.is-mobile .pc-only { display: none !important; }

/* フッター消す */
#footer,
.footer,
.footer-in {
  display: none !important;
}

/* トップから記事へ消す */
.author-name.fn {
  display: none !important;
}

.fa-pencil,
.fa-pencil-alt,
.fa.fa-pencil {
  display: none !important;
}

/* 横スクロールコンテナ */
.tp-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  width:100%;
  border:1px solid #d1d5db;
  background:#fff;
}

/* 表を縮ませない（←これが横スクの核心） */
.tp-scroll .tablepress{
  width:max-content;
  min-width:1100px;
  border-collapse:separate;
  border-spacing:0;
}

/* 左列固定（項目列） */
.tp-scroll .tablepress td:first-child,
.tp-scroll .tablepress th:first-child{
  position:sticky;
  left:0;
  z-index:3;
  background:#1f2a44;
  color:#fff;
  font-weight:800;
}

/* ヘッダー行固定 */
.tp-scroll .tablepress thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f9fafb;
}

/* 左上角セル */
.tp-scroll .tablepress thead th:first-child{
  z-index:4;
}

/* 罫線整理 */
.tp-scroll .tablepress td,
.tp-scroll .tablepress th{
  border:1px solid #e5e7eb;
  padding:14px 12px;
  text-align:center;
  white-space:nowrap;
}

/* ===== TablePress ランキングUI寄せ ===== */

.tp-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  width:100%;
  border:1px solid #d1d5db;
  background:#fff;
  border-radius:12px;
}

/* 表を縮ませない（横スクの芯） */
.tp-scroll .tablepress{
  width:max-content;
  min-width:1200px; /* 5位までならこのくらいが安定 */
  border-collapse:separate;
  border-spacing:0;
}

/* 罫線/余白/文字 */
.tp-scroll .tablepress td,
.tp-scroll .tablepress th{
  border:1px solid #e5e7eb;
  padding:14px 12px;
  text-align:center;
  white-space:nowrap;
  font-size:14px;
  line-height:1.35;
  background:#fff;
}

/* 左列（項目）固定 */
.tp-scroll .tablepress td:first-child,
.tp-scroll .tablepress th:first-child{
  position:sticky;
  left:0;
  z-index:3;
  background:#1f2a44;
  color:#fff;
  font-weight:800;
  text-align:left;
}

/* ヘッダー行（👑1〜） */
.tp-scroll .tablepress thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f9fafb;
  font-weight:900;
}

/* 左上角セル */
.tp-scroll .tablepress thead th:first-child{
  z-index:4;
}

/* ロゴ画像（セルにimgを入れた場合） */
.tp-scroll .tablepress img{
  display:block;
  margin:0 auto;
  max-width:120px;
  height:auto;
}

/* 総合評価・的中率・回収率を“でかく”したい場合（後述の運用） */
.tp-big{
  font-size:26px;
  font-weight:900;
}
.tp-red{
  color:#dc2626;
}

/* CTAボタン */
.tp-scroll .tp-cta{
  display:block;
  width:100%;
  text-align:center;
  padding:12px 10px;
  border-radius:12px;
  background:#16a34a;
  color:#fff !important;
  text-decoration:none;
  font-weight:900;
}
.tp-scroll .tp-cta:active{
  transform:translateY(1px);
}

.radarBox{
  margin:18px 0 22px;
  padding:16px 14px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#ffffff;
}

.radarTitle{
  font-size:17px;
  font-weight:700;
  margin-bottom:12px;
}

.radarCanvas{
  display:block;
  width:100%;
  max-width:520px;
  height:auto;
  margin:0 auto;
}

/* 表全体 */
.tablepress{
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

/* セルの余白と罫線 */
.tablepress th, .tablepress td{
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  vertical-align: middle;
  background: #fff;
}

/* 左列（項目名）を強めに */
.tablepress tbody th{
  font-weight: 700;
  background: #f9fafb;
  white-space: nowrap;
}

/* ヘッダーをカードっぽく */
.tablepress thead th{
  background: #111827;
  color: #fff;
  font-weight: 800;
  text-align: center;
}

/* 1位列をうっすら強調（列番号は環境で違うので “最初のデータ列” だけ強めにする例） */
.tablepress tbody td:nth-child(2){
  background: #ecfdf5;
  font-weight: 700;
}

/* ボタンを“それっぽく” */
.tablepress a{
  text-decoration: none;
}
.tablepress a, .tablepress .cta{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  background: #10b981;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(16,185,129,.22);
}
.tablepress a:hover, .tablepress .cta:hover{
  filter: brightness(0.95);
  transform: translateY(-1px);
}

/* TablePress内のロゴ画像 */
.tablepress img{
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.radarBox{
  box-shadow: 0 10px 26px rgba(17,24,39,.06);
}

