@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){
  /*必要ならばここにコードを書く*/
}
/* 投稿日と更新日を非表示にする */
.date-tags {
    display: none !important;
}
/*メインカラムの幅を横幅いっぱいに広げる*/
.wrap {
   width: auto;
}
/* 通知エリアの流れるテキスト */
.notice-area {
  overflow: hidden; /* はみ出しを隠す */
  white-space: nowrap; /* 1行固定 */
}

/* 流れるメッセージ */
.notice-area-message {
  display: inline-block;
  padding-left: 100%; /* 画面外（右）から開始 */
  animation: slideMessage 12s linear infinite;
}

/* アニメーション定義 */
@keyframes slideMessage {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* PCのみ速度変更 */
@media screen and (min-width: 1024px) {
  .notice-area-message {
    animation-duration: 20s;
  }
}
.wp-block-cover-full {
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	padding: 0 calc(50vw - 50%);
}
.notice-area {
  background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}

/* グローバルメニューをコンテンツ幅いっぱいに広げて1段にする */
#navi .navi-in > ul {
  display: flex;
  justify-content: space-around; /* 項目を均等に配置 */
  width: 100%;
}
/* メニューの各項目を均等な幅にする */
#navi .navi-in > ul > li {
  flex: 1;
  text-align: center;
}
/* モバイル（スマホ）でのみメニューを非表示にする場合 */
@media screen and (max-width: 767px) {
  #navi {
    display: none !important;
  }
}