@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: 834px){
 .entry-card-title {
    font-size: 1em;
  }
  .sidebar {
    padding: 10px;
  }
}

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

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

/* ===== 全体設定 ===== */
body {
  background-color: #F5F5DC; /* ベージュ背景 */
  font-family: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
  color: #4B4B4B; /* ダークグレー文字 */
  line-height: 1.8;
}

/* ===== リンク ===== */
a {
  color: #6B8E23; /* オリーブグリーン */
  text-decoration: none;
}
a:hover {
  color: #A3C9A8; /* くすみグリーン */
  text-decoration: underline;
}

/* ===== ヘッダー・ロゴ ===== */
.header-logo img {
  width: 80px;
  border-radius: 50%; /* 円形ロゴ */
}

/* ===== メインビジュアル（ファーストビュー） ===== */
#main-visual {
  background-image: url('画像URLをここに'); /* ナチュラルな背景画像 */
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  color: #4B4B4B;
}
#main-visual h1 {
  font-size: 2em;
  margin-bottom: 10px;
}
#main-visual .btn {
  background-color: #A3C9A8;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1em;
  text-decoration: none;
}
#main-visual .btn:hover {
  background-color: #6B8E23;
  transition: background-color 0.3s ease;
}

/* ===== 記事カード ===== */
.entry-card-wrap {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.entry-card-title {
  font-size: 1.2em;
  color: #4B4B4B;
}
.entry-card-snippet {
  font-size: 0.95em;
  color: #666666;
}

/* ===== サイドバー ===== */
.sidebar {
  background-color: #FAFAF5;
  padding: 20px;
  border-radius: 8px;
}
.sidebar .widget-title {
  font-size: 1.1em;
  border-bottom: 1px solid #A3C9A8;
  margin-bottom: 10px;
}

/* ===== フッター ===== */
#footer {
  background-color: #F0F0E8;
  color: #4B4B4B;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9em;
}
#footer a {
  color: #6B8E23;
}
/* TOPへ戻るボタンの強制表示とデザイン */
.go-to-top-button {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  background-color: #4B4B4B !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  align-items: center;
  justify-content: center;
  z-index: 9999 !important;
  transition: background-color 0.3s ease;
}
.go-to-top-button:hover {
  background-color: #6B8E23 !important;
}
.go-to-top-hide {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media screen and (max-width: 768px) {
  .go-to-top-button {
    width: 40px;
    height: 40px;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
  }

  .qa-block {
    padding: 12px;
    font-size: 16px;
  }

  body {
    font-size: 16px;
    line-height: 1.6;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  /* メニューボタンを左上に固定 */
  .slicknav_btn {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    float: none !important;
    margin-left: 0 !important;
    text-align: left !important;
  }

  /* 親要素が右寄せしてる場合の対策 */
  .slicknav_menu {
    text-align: left !important;
  }

  /* 「MENU」文字を非表示にする */
  .slicknav_menutxt {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  /* メニューボタンの背景をコンパクトに */
  .slicknav_btn {
    display: inline-block !important;
    background-color: transparent !important;
    padding: 0 !important;
    width: auto !important;
  }

  /* ハンバーガーアイコンのサイズ調整（任意） */
  .slicknav_icon-bar {
    background-color: #333;
    height: 3px;
    margin: 4px 0;
    width: 25px;
    display: block;
  }

  /* 「MENU」文字を非表示にする（再確認） */
  .slicknav_menutxt {
    display: none !important;
  }
}
