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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* テーブル全体 */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  line-height: 1.6;
  overflow-x: auto;
  display: block; /* スマホで横スクロール可能にする */
}

/* ヘッダー行（th） */
table th {
  background-color: #2c6e8a;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #1f5570;
  white-space: nowrap;
}

/* データセル（td） */
table td {
  padding: 9px 14px;
  border: 1px solid #d0dde3;
  vertical-align: top;
  color: #333333;
}

/* 偶数行に薄い背景色（ストライプ） */
table tr:nth-child(even) td {
  background-color: #f0f7fa;
}

/* 奇数行 */
table tr:nth-child(odd) td {
  background-color: #ffffff;
}

/* ホバー時のハイライト */
table tr:hover td {
  background-color: #dceef5;
  transition: background-color 0.15s ease;
}

/* 最初の列を少し目立たせる（項目ラベル列） */
table td:first-child {
  font-weight: 600;
  color: #1a4f62;
}

/* strong タグが td 内にある場合 */
table td strong {
  color: #1a4f62;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

  table th,
  table td {
    padding: 7px 10px;
  }
}

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