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

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

/* === ヘッダー設定（ここから） === */

/* PC・モバイル共通でヘッダー背景を統一 */
/* ヘッダー内のアイコン・テキストを白・背景を紺 */
.mobile-header-menu-buttons.mobile-menu-buttons .menu-button {
  color: #fff;
  background-color: #19295a;
}

/* サイト内メニューとSNSアイコンの間隔を広げる 
ul.menu-top > li#menu-item-80 {
  margin-right: 50px !important;
}
*/

/* PC メニューの contact の右に余白を追加 */
#menu-item-80 {
  margin-right: 50px !important;
}

/* PCメニューのSNSアイコンサイズ調整 */
.menu-header .fab {
  font-size: 24px !important;   /* アイコンの高さを24px相当に */
  line-height: 24px !important;
}


/* === モバイルメニュー === */

/* ハンバーガー下の「メニュー」文字を消す */
.mobile-header-menu-buttons .menu-caption {
  display: none !important;
}

/* ハンバーガーメニューのアイコンを大きくする */
#navi-menu-open .menu-icon,
#navi-menu-open .menu-icon .fa-bars {
  font-size: 30px !important;   /* 大きさ調整 */
  width: 30px !important;
  height: 30px !important;
}

/* ハンバーガーメニューのアイコンの上下調整 */
#navi-menu-open .menu-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* モバイルのロゴ画像の左に余白 */
.logo-menu-button .site-logo-image {
  margin-right: 70px !important;
}

/* 検索ボタンを非表示 */
.mobile-header-menu-buttons .search-menu-button {
  display: none !important;
}

/* モバイルメニューを開いた時の「×」アイコンを黒に */
.menu-close-button {
  color: #000 !important;
}

/* モバイルメニューの contact の下に 50px の余白 */
.menu-drawer .menu-item-614 {
  margin-bottom: 50px !important;
}

/* モバイルメニュー内テキストの中央揃え & フォント拡大 */
#navi-menu-content .menu-drawer li a {
  display: flex !important;
  text-align: center !important;
  font-size: 24px !important; /* 必要に応じて 20〜24 */
}

/* SNSアイコン4つを中央揃え */
#navi-menu-content .menu-drawer {
  text-align: center !important;
}

/* SNSアイコンを横並びにする */
#navi-menu-content .menu-drawer li:nth-last-child(-n+4) {
  display: inline-flex !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 4px 20px 4px !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px;
}

/* === ヘッダー設定（ここまで） === */



/* === フッター設定（ここから） === */

/* === フッターを1カラムに変更 === */
#footer .footer-widgets {
  display: block !important;
  text-align: center;
}

#footer .footer-widget-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  text-align: center !important;
}

/* === フッター中を非表示 === */
.footer-center {
  display: none !important;
}

/* === フッター右を非表示 === */
.footer-right {
  display: none !important;   
}

/* === フッター左を上下余白削除 === */
.footer-left {
  padding: 0; 
}

/* === フッターウィジェットエリア上下余白削除 === */
.footer-widgets {
  margin-bottom: 0; 
}


/* =====================
   フッター SNS & サブスクバナー
===================== */
/* コンテナ共通 */
.sns-banners, .music-banners {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;      /* 折り返し対応 */
  gap: 20px;            /* バナー間隔 */
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 20px;
}

/* タイトル共通 */
.sns-title, .music-title {
  text-align: center;
  font-size: 1.1em;
  color: #fff;
}

/* 各リンク */
.sns-banners a, .music-banners a {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* アイコン共通 */
.sns-banners img, .music-banners img {
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
  vertical-align: middle;
}

/* 高さ調整 */
.sns-banners img {
  height: 35px;
}

/* SNS YouTubeだけ少し大きく */
.sns-banners img[alt="YouTube"] {
  height: 40px;
}

/* Facebook → YouTube 間を少しだけ狭く */
.sns-banners a:nth-child(3) {
  margin-right: 1px; /* 通常のgapより少し狭く */
}

/* サブスク高さ */
.music-banners img {
  height: 36px;
  max-width: 140px;
}

/* hover 共通 */
.sns-banners img:hover, .music-banners a:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .sns-banners, .music-banners {
    gap: 14px;
  }
  .music-banners img {
    height: 28px;
    max-width: 110px;
  }
}


/* === フッターロゴ === */
.footer-logo-wrap {
  text-align: center;
/*  margin-top: 30px;  サブスクバナーとの間隔 */
}

.footer-logo-wrap img {
  height: 72px; /* 少し大きめ（サブスクの2倍ほど） */
  width: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-wrap img:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* === コピーライト上の余白を消す === */
.footer-bottom {
  margin-top: 0px !important;
}

/* === フッター設定（ここまで） === */



/* === ボディー設定（ここから） === */

/* スライダーのナビボタンを中央寄せに配置（外側に出さない） */
.uagb-slider-container .swiper-button-prev {
  left: 0px !important;
  background: transparent !important;
}

.uagb-slider-container .swiper-button-next {
  right: 0px !important;
  background: transparent !important;
}
	
/*固定ページの投稿日、更新日、投稿者名を非表示にする*/
.page .date-tags,
.page .author-info {
    display: none;
}

/*ヘッダーロゴ横にサイト名を表示*/
.logo-header .site-name::after {
  content: 'ant* official web';
  font-size: 24px;
  margin-bottom: 10px;
}

/*アコーディオンの見出しを左詰め*/
.toggle-button {
	text-align: left;
}

/* === ボディー設定（ここまで） === */

/* === ウィジェット設定（ここから） === */

/* === 投稿ページサブスクバナーサイズ調整 === */
.stream-widget {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 30px;
  padding: 10px 0;
}

.stream-widget img {
  width: 120px;
  height: 35px;
  object-fit: contain;
}



/* === ウィジェット設定（ここまで） === */

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

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

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