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

/*■■■■■メニュスタイル[ここから↓]■■■■■*/

/* 非選択（通常） */
#navi ul li a {
  background: #ffffff !important;
  color: #00b8ee !important;
}

/* ホバー時 */
#navi ul li a:hover {
  background: #00b8ee !important;
  color: #ffffff !important;
}

/* 選択中（現在表示中のページ） */
#navi ul li.current-menu-item > a,
#navi ul li.current_page_item > a,
#navi ul li.current-menu-ancestor > a {
  background: #f4d078 !important;
  color: #000000 !important;
}

/* グローバルナビのメニュー間隔を広げる */
#navi ul li {
  margin: 0 5px; /* 左右10pxずつ */
}

/* グローバルメニューの直後に 24px のスペーサーを挿入 */
nav#navi::after{
  content: "";
  display: block;
  height: 16px;   /* 好みで調整 */
}

/* ボタンの余白（パディング）を調整 */
#navi ul li a {
  padding: 0px 0px; /* 前者・上下px、後者・左右px */
}

/*■■■■■メニュスタイル[ここまで↑]■■■■■*/



/* 標準ボタン共通：スムーズな変化 */
.entry-content .wp-block-button .wp-block-button__link {
  transition: background-color .2s, color .2s, border-color .2s;
}

/* ホバー時の色指定（すべての標準ボタンに適用） */
.entry-content .wp-block-button .wp-block-button__link:hover {
  background-color: #f4d078 !important; /* 背景色 */
  border-color: #d7a400 !important;     /* 枠線色 */
  color: #ffffff !important;            /* テキスト色 */
}

/* 本文コンテンツの左右に余白を追加 */
.entry-content {
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* ページ全体の枠も少し内側に */
.article {
  padding-left: 20px;
  padding-right: 20px;
}
