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

/* ==============================================
   カレンダーテーブル 背景色統一
   ============================================== */

/* Cocoonのテーブルストライプを無効化 */
.calendar-table tbody tr {
  background: transparent !important;
}

.calendar-table tbody tr:nth-child(even) {
  background: transparent !important;
}

.calendar-table tbody tr:nth-child(odd) {
  background: transparent !important;
}

/* すべてのセルを白背景に統一 */
.calendar-table td {
  background-color: #ffffff !important;
}

/* ただし、特別な日は例外として元の背景色を維持 */

/* 天赦日 */
.calendar-day--tenshanichi {
  background: #fff5f5 !important;
  border: 2px solid #ff6b6b !important;
}

/* 上位吉日2つ以上 */
.calendar-day--special-double {
  border: 2px solid #ffd700 !important;
  background: #fff8dc !important;
}

/* 上位吉日1つ */
.calendar-day--special-single {
  border: 1px solid #f0d058 !important;
  background: #fffef5 !important;
}

/* 不成就日 */
.calendar-day--fujoju {
  background: #e8e8e8 !important;
}

/* 曜日ヘッダー行は元の色を維持 */
.calendar-table thead th {
  background-color: #f6f6f6 !important;
}

/* 他の月の日付は薄いグレー背景 */
.calendar-day--other-month {
  background-color: #fafafa !important;
}