@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){
  /*必要ならばここにコードを書く*/
}
/*表のソート用<table class="sort-table">で利用可能*/
.tablesorter th{
    position: relative;
    cursor: pointer;
    text-align: left;
}
.tablesorter th::before, .tablesorter th::after{
    content: '';
    position: absolute;
    z-index: 2;
    right: 7px;
    width: 0;
    height: 0;
    border: 4px dashed;
    border-color: #333 transparent;
    pointer-events: none;
}
.tablesorter th::before{
    border-bottom-style: solid;
    border-top: none;
    top: 30%;
}
.tablesorter th::after{
    border-top-style: solid;
    border-bottom: none;
    bottom: 30%;
}
.tablesorter th.tablesorter-headerAsc:after{
    border: none;
}
.tablesorter th.tablesorter-headerAsc:before{
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.tablesorter th.tablesorter-headerDesc:before{
    border: none;
}
.tablesorter th.tablesorter-headerDesc:after{
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
}
.tablesorter th.sorter-false:before, .tablesorter th.sorter-false:after{
    border: none;
}
/*表のレイアウト*/
@media (max-width: 834px) {
  .entry-content table:has(tr > :nth-child(3)) {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .entry-content table:has(tr > :nth-child(3)) th,
  .entry-content table:has(tr > :nth-child(3)) td {
    white-space: nowrap;
  }
}

/* ===== 全体 ===== */
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.8;
}
.main, .sidebar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

/* ===== 表 ===== */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  white-space: nowrap;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
}
.entry-content table th {
  background: #0f172a;
  color: #fff;
  font-weight: 500;
  padding: 12px 14px;
  border: none;
}
.entry-content table td {
  padding: 11px 14px;
  border: none;
  border-bottom: 1px solid #eef0f3;
}
.entry-content table tr:nth-child(even) td { background: #f8fafc; }
.entry-content table tr:hover td { background: #eef4ff; }

/* ===== ボタン(検索・並び替え) ===== */
/*
.entry-content input[type="submit"],
.entry-content button {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  cursor: pointer;
}
.entry-content input[type="submit"]:hover { background: #1d4ed8; }
