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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/* ▼▼▼ ロゴ余白をゼロにする最小セット ▼▼▼ */

/* ロゴ周りの余白を消す（Cocoonデフォルト padding:10px を無効化） */
.logo-image {
  padding: 0 !important;
}

/* ヘッダーの最小高さをロゴに合わせる */
.header .header-in {
  min-height: 0 !important;
  padding: 0 !important;
}

/* センターロゴが自動で付ける余白をゼロにする */
#header-container-in.hlt-center-logo {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
}

/************************************
** 固定スペーサー（WordPress 7.x でも消えない）
************************************/

/* 01_H2前スペース（40px） */
.space-h2-before { height: 40px; }

/* 02_H2後スペース（20px） */
.space-h2-after { height: 20px; }

/* 03_画像下スペース（24px） */
.space-img-bottom { height: 24px; }

/* 04_表上スペース（20px） */
.space-table-top { height: 20px; }

/* 05_H3前スペース（20px） */
.space-h3-before { height: 20px; }

/* 06_H3後スペース（20px） */
.space-h3-after { height: 20px; }

/* 07_リスト上スペース（16px） */
.space-list-top { height: 16px; }

/* 08_CTA前スペース（48px） */
.space-cta-before { height: 48px; }

/* 09_CTA後スペース（48px） */
.space-cta-after { height: 48px; }

/* 10_セクション切替スペース（32px） */
.space-section-switch { height: 32px; }

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

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

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

/************************************
** Cocoon向け白っぽ比較表
************************************/
.hikaku-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

.hikaku-table th,
.hikaku-table td {
  border: 1px solid #e3e3e3;
  padding: 12px 10px;
  text-align: left;
}

/* 左の項目列 */
.hikaku-table th {
  background: #f8f8f8;
  font-weight: 600;
  white-space: nowrap;
}

/* 主役回線（2列目）だけ薄く強調 */
.hikaku-table td:nth-child(2) {
  background: #fdfdff;
  font-weight: 600;
}

/* 偶数行のストライプ */
.hikaku-table tbody tr:nth-child(even) td {
  background: #fcfcfc;
}
