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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* サイドバーの幅を小さく */
#sidebar {
  width: 23%;   /* デフォは約30%くらい */
  font-size: 0.9em;  /* 全体の文字を少し小さく */
}

/* メインコンテンツを広くする */
#main {
  width: 75%;   /* サイドバーとバランスをとる */
}



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

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

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

/************************************
** フッター
************************************/
/* フッターの各ウィジェット文字色を読みやすく */
.footer .widget,
.footer .widget a,
.footer .widget ul li a,
.footer .widget .widget-title {
  color: #333 !important;
}

/* フッター下（濃いグレー帯）のリンクは白でコントラスト確保したい場合 */
.footer-bottom .footer-links a {
  color: #fff !important;
}

/* フッター下ウィジェット：帯の背景を消して馴染ませる */
.footer-bottom-widget-area{
  max-width: 1120px;
  margin: 0 auto 2px; /* ← 6px → 2px に変更して少し下に詰める */
  padding: 10px 0 0;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  text-align: center;
}

/* 横並びレイアウト */
.footer-bottom-widget-area .footer-links{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  line-height: 1.8;
}

/* リンクの見た目：白字・不透明・太め */
.footer-bottom-widget-area .footer-links a{
  display: inline-block !important; /* Cocoonのblockを打消し */
  color: #fff !important;
  opacity: 1 !important;            /* 薄くなるのを解除 */
  font-weight: 300;
  text-decoration: none;
  padding: 0 15px;                  /* 区切り左右余白 */
}

/* 区切り線（パイプの代わり） */
.footer-bottom-widget-area .footer-links a + a{
  border-left: 1px solid rgba(255,255,255,.65);
}

/* ホバー時 */
.footer-bottom-widget-area .footer-links a:hover{
  text-decoration: underline;
}

/* 外部リンクアイコンを消す（Cocoon設定で付く場合） */
.footer-bottom-widget-area .footer-links a[target="_blank"]::after,
.footer-bottom-widget-area .footer-links a.external::after{
  content: none !important;
}

/* コピーライトとウィジェットの間隔を詰める */
#footer-bottom {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Cocoonのクレジット部分（コピーライト）上の余白を縮小 */
.footer-bottom {
  margin-top: 0 !important;
  padding-top: 2px !important;
}

#footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}