@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
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
.tkg-main { max-width: 980px; margin: 0 auto; padding: 16px; }
.tkg-page-header { margin: 0 0 16px; }
.tkg-page-title { font-size: 1.4rem; margin: 0 0 6px; }
.tkg-page-subtitle { margin: 0; opacity: 0.8; }

.tkg-reset { margin: 10px 0 0; }
.tkg-reset-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
}

.tkg-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) {
  .tkg-cards { grid-template-columns: 1fr 1fr; }
}

.tkg-card { border: 1px solid rgba(0,0,0,0.12); border-radius: 12px; overflow: hidden; }
.tkg-card-inner { padding: 12px; }

.tkg-card-title { font-size: 1.05rem; margin: 0 0 8px; line-height: 1.35; }
.tkg-detail-link { text-decoration: none; }

.tkg-card-meta { display: grid; gap: 4px; font-size: 0.95rem; }
.tkg-meta-row { display: grid; grid-template-columns: 3.8em 1fr; gap: 8px; }
.tkg-meta-label { opacity: 0.7; }

.tkg-card-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tkg-detail-btn,
.tkg-official-link {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
}

.tkg-official-missing { opacity: 0.7; font-size: 0.9rem; }

.tkg-badges { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tkg-badge { font-size: 0.85rem; padding: 3px 8px; border: 1px solid rgba(0,0,0,0.18); border-radius: 999px; }

.tkg-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.tkg-table th, .tkg-table td { border: 1px solid rgba(0,0,0,0.12); padding: 8px; vertical-align: top; }
.tkg-table th { width: 8em; text-align: left; opacity: 0.8; }

.tkg-filters { margin-top: 12px; }

/* Filter Everything の英語ラベル等を消す（環境差があるので安全に広めに） */
.tkg-filters button,
.tkg-filters input[type="submit"],
.tkg-filters input[type="button"] {
  display: none !important;
}

/* "Filters" 見出しが二重に出る場合の保険 */
.tkg-filters h2,
.tkg-filters h3 {
  display: none !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 1023px){
}
@media screen and (max-width: 834px){
}
@media screen and (max-width: 480px){
}