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

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

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

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

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

/************************************
** ロゴとタイトルの位置や横並び
************************************/
.custom-header-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 30%; /* ロゴとタイトルを上下調節 */
  left: 0;
  transform: translateY(-50%);
  margin-left: 40px; /* 左の余白調整 */
}

.custom-header-title-wrap img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.custom-header-title-wrap .site-title-text {
  font-size: 32px; /* これのみが効いている */
  font-family: 'HKReiKK', sans-serif;
  font-weight: normal;
}

@media screen and (max-width: 480px) {
  .custom-header-title-wrap {
    margin-left: 80px; /* ← 好きな大きさに調整可 */
  }
}

/************************************
** 隷書体フォントを読み込む
************************************/
@font-face {
  font-family: 'HKReiKK';
  src: url('/wp/wp-content/themes/cocoon-child-master/fonts/hkreikk.woff') format('woff'),
       url('/wp/wp-content/themes/cocoon-child-master/fonts/hkreikk.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/************************************
** サイトタイトルロゴテキストに適用
************************************/
.site-name,
.site-title-text {
  font-family: 'HKReiKK', sans-serif !important;
}

.site-name {
  font-size: 48px; /* ← これは効いていない */
  line-height: 1.2;
}

.site-title-text {
  font-size: 48px; /* ← これは効いていない */
  line-height: 1.2;
}

/* 本来のタイトル文字を非表示にする */
.site-name-text {
  display: none;
}

/************************************
** ヘッダーコンテナ調整
************************************/
.header-in {
  position:;
}

.header-container {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 9999;
}

.admin-bar .header-container {
  top: 32px; /* ログインバー補正 */
}

body {
  padding-top: 40px; /* 固定ヘッダー分 */
}


/************************************
** 全幅設定
************************************/
.wrap,
.content,
.article,
.entry-content,
.container,
#main,
.main,
#content,
.l-entry,
.l-content,
.l-inner,
.l-container {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body,html {
  padding: 0 !important;
  margin: 0 !important;
}

/************************************
** グローバルメニューのフォントと背景
************************************/
#navi .navi-in > ul > li > a {
  font-size: 16px !important;
  font-weight: normal !important;
  color: #ffffff !important;
}

#navi {
  background-color: #88abda !important;
}


/************************************
** 固定ページの日付非表示
************************************/
.home .date-tags,
.home .update-date {
  display: none !important;
}

/************************************
** フッター設定
************************************/
.footer-program {
  font-size: 16px !important; /* PCサイズ */
  text-align: center !important;
}

.footer-program span {
  font-size: 14px !important;
}

@media screen and (max-width: 767px) {
  .footer-program {
    font-size: 14px !important;
  }
  .footer-program span {
    font-size: 12px !important;
  }
}

/************************************
** MetaSlider設定 キャプション背景
************************************/
#metaslider-id-1877 .caption-wrap {
  background: rgba(0, 0, 0, 0.1) !important;
}