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

/************************************
** 子テーマ用のスタイルを書く
************************************/


/* ── Trail Lab: エアマット記事スタイル ── */

/* リードボックス */
.tl-lead {
  background: #e2ebd6;
  border-left: 3px solid #476e1e;
  padding: 16px 20px;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.9;
  color: #283f0e;
}

/* NEW バッジ */
.tl-new {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: #b85c18;
  color: #fff !important;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  border-radius: 0;
  line-height: 1.6;
}

/* 商品カード */
.tl-card {
  border: 1px solid #e2e0da;
  margin: 36px 0;
  overflow: hidden;
}
.tl-card-head {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #e2e0da;
  min-height: 160px;
}
.tl-card-img {
  background: #e9e6de;
  overflow: hidden;
}
.tl-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.75);
  transition: transform 0.5s ease, filter 0.35s;
}
.tl-card:hover .tl-card-img img {
  transform: scale(1.04);
  filter: saturate(1);
}
.tl-card-img-ph {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #b8b5ae;
}
.tl-card-meta {
  padding: 18px 22px;
  border-left: 1px solid #e2e0da;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tl-brand {
  font-size: 9px !important;
  font-weight: 400 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8b5ae !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.tl-name {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #17160e !important;
  line-height: 1.2 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.tl-specs {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tl-spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tl-spec-label {
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8b5ae;
}
.tl-spec-val {
  font-size: 13px;
  font-weight: 500;
  color: #17160e;
  font-family: ui-monospace, monospace;
}
.tl-spec-val.tl-hi { color: #476e1e; }
.tl-season {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #b8b5ae;
  margin: 0 !important;
}

/* カード本文 */
.tl-card-body {
  padding: 18px 22px;
  border-bottom: 1px solid #e2e0da;
}
.tl-card-body p {
  font-size: 13.5px !important;
  line-height: 1.95 !important;
  color: #6a6860 !important;
  margin: 0 0 10px !important;
}
.tl-card-body p:last-child { margin: 0 !important; }

/* Good / Note */
.tl-pc {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.tl-pros { padding: 14px 18px; }
.tl-cons {
  padding: 14px 18px;
  border-left: 1px solid #e2e0da;
}
.tl-pc-label {
  font-size: 8.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 8px !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
}
.tl-pros .tl-pc-label { color: #476e1e !important; }
.tl-cons .tl-pc-label { color: #b8b5ae !important; }
.tl-pclist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.tl-pclist li {
  font-size: 12px !important;
  line-height: 1.65 !important;
  color: #6a6860 !important;
  padding: 0 0 0 14px !important;
  position: relative;
  margin: 0 0 4px !important;
}
.tl-pclist li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #b8b5ae;
  font-size: 10px;
}

/* カードフッター */
.tl-card-foot {
  padding: 12px 18px;
  background: #e9e6de;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #e2e0da;
}
.tl-type {
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6a6860;
}
.tl-btn {
  display: inline-flex !important;
　pointer-events: auto !important;
  align-items: center;
  gap: 8px;
  font-size: 9.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff !important;
  background: #17160e !important;
  text-decoration: none !important;
  padding: 10px 18px !important;
  border: none !important;
  border-radius: 0 !important;
  transition: background 0.2s, gap 0.2s;
  line-height: 1 !important;
  box-shadow: none !important;
}
.tl-btn::after { content: ' ↗'; }
.tl-btn:hover {
  background: #283f0e !important;
  color: #fff !important;
  gap: 12px;
}

/* シーン別おすすめ */
.tl-rec {
  border: 1px solid #e2e0da;
  padding: 22px;
  margin: 36px 0;
  background: #e9e6de;
}
.tl-rec-title {
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #476e1e !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.tl-rec-rows { display: flex; flex-direction: column; gap: 11px; }
.tl-rec-row { display: flex; align-items: baseline; gap: 12px; }
.tl-rec-who {
  font-size: 9px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.1em;
  color: #b8b5ae;
  white-space: nowrap;
  min-width: 108px;
}
.tl-rec-pick { font-size: 13px; color: #17160e; }
.tl-rec-pick strong { font-weight: 500; color: #476e1e; }

/* R値バー */
.tl-rbar { display: flex; align-items: center; gap: 7px; }
.tl-rtrack {
  width: 52px; height: 5px;
  background: #e2e0da;
  border-radius: 2px;
  flex-shrink: 0;
}
.tl-rfill {
  height: 100%;
  border-radius: 2px;
  background: #476e1e;
}
.tl-rbar span {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #17160e;
}

/* 比較表のR値セル */
.tl-table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
/* 新モデル行ハイライト（Cocoonのテーブルに上書き） */
.tl-hl { background: #e2ebd6 !important; }
.tl-hl:hover { background: #d5e6c4 !important; }

/* レスポンシブ */
@media (max-width: 640px) {
  .tl-card-head { grid-template-columns: 1fr; }
  .tl-card-img img { max-height: 180px; }
  .tl-card-meta { border-left: none; border-top: 1px solid #e2e0da; }
  .tl-pc { grid-template-columns: 1fr; }
  .tl-cons { border-left: none; border-top: 1px solid #e2e0da; }
  .tl-rec-row { flex-direction: column; gap: 3px; }
  .tl-rec-who { min-width: unset; }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
