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

/* CTAボタン */
.cta-button {
  display: inline-block;
  background: linear-gradient(90deg, #f04d4d, #d63447);
  color: #fff !important;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta-button:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }

/* ランキング表 */
.ranking-table { width:100%; border-collapse:collapse; margin:18px 0; }
.ranking-table th, .ranking-table td { border:1px solid #e6e6e6; padding:10px; text-align:left; }
.ranking-table th { background:#fafafa; font-weight:700; }

/* 記事見出し */
.entry-content h2 { border-left:6px solid #f04d4d; padding-left:10px; margin-top:28px; margin-bottom:14px; }
.entry-content h3 { border-left:4px solid #ff8a8a; padding-left:8px; margin-top:18px; margin-bottom:10px; }

/* レスポンシブ表ラッパー（必要ならdivで囲む） */
.table-wrap { overflow-x:auto; }

/* 小さめの注記 */
.text-center { text-align:center; }

/* ① グラデーションボタン*/
.cta-button-gradient {
  display: inline-block;
  background: linear-gradient(45deg, #ff6b6b, #f94d6a);
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(249, 77, 106, 0.4);
}


/* ② ゴールド風リッチボタン*/
.cta-button-gold {
  display: inline-block;
  background: linear-gradient(180deg, #ffd700, #e6b800);
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 6px;
  border: 2px solid #cc9900;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(204, 153, 0, 0.3);
  transition: all 0.3s ease;
}
.cta-button-gold:hover {
  background: linear-gradient(180deg, #ffe766, #e6c300);
  transform: scale(1.05);
}


/* ③ フラット＋アイコン付き*/
.cta-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #007bff;
  color: #fff;
  font-size: 1.1em;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}
.cta-button-icon:hover {
  background: #0056b3;
}
.cta-button-icon::before {
  content: "👉";
  margin-right: 8px;
}


/* 表デザインの別案 ①ボーダー強調・シンプル*/
.table-simple {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1em;
}
.table-simple th, .table-simple td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}
.table-simple th {
  background: #f7f7f7;
  font-weight: bold;
}

/* 表デザインの別案 ②カード風（影付き）*/
.table-card {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
}
.table-card th, .table-card td {
  background: #fff;
  padding: 14px;
  text-align: left;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.table-card th {
  background: #f0f0f0;
  font-weight: bold;
}

/* 表デザインの別案 ③カラフル・ランキング風*/
.table-ranking {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.table-ranking th, .table-ranking td {
  border: 1px solid #eaeaea;
  padding: 14px;
  text-align: center;
}
.table-ranking th {
  background: #ffefef;
  color: #d6336c;
  font-weight: bold;
}
.table-ranking tr:nth-child(1) td {
  background: #fff7d6;
  font-weight: bold;
}
.table-ranking tr:nth-child(2) td {
  background: #f0f8ff;
}
.table-ranking tr:nth-child(3) td {
  background: #f9f9f9;
}

