@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
*/
/************************************
** 子テーマ用のスタイルを書く
************************************/
/* 協賛者一覧 スマホ対応 */
@media screen and (max-width: 600px) {
  .sponsor-b-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* 関連記事・コメント非表示 */
.related-entries,
.comment-area,
.comment-respond,
#comments {
  display: none !important;
}

/* 非表示要素 */
.post-date, .article-header, .entry-top,
#site-title, .site-name,
.menu-mobile,
#header .header-in {
  display: none !important;
}
/* ボディ・コンテナ */
body { margin: 0 !important; padding: 0 !important; overflow-x: hidden !important; }
#container, .container { padding: 0 !important; margin: 0 !important; max-width: 100% !important; }
#content, #content-in { margin-top: 0 !important; padding-top: 0 !important; }
/* トップページ余白リセット */
.home .main, .home #main, .home .article, .home .entry-content { padding: 0 !important; margin: 0 !important; }
.home .wp-block-image { margin: 0 !important; padding: 0 !important; }
/* ヘッダー */
#header, #header-container, .header-container {
  background: linear-gradient(90deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%) !important;
  border-bottom: 2px solid #c9a84c !important;
  margin: 0 !important; padding: 0 !important;
  width: 100% !important; max-width: 100% !important;
  min-height: 0 !important; height: auto !important;
}
/* ナビ */
#navi, .navi-in {
  background: transparent !important;
  margin: 0 !important; padding: 0 !important;
  width: 100% !important; max-width: 100% !important;
  min-height: 0 !important; height: auto !important;
}
#navi { padding: 8px 0 !important; }
ul.menu-top.menu-header.menu-pc {
  display: flex !important; flex-wrap: nowrap !important;
  justify-content: center !important; width: 100% !important;
}
ul.menu-top.menu-header.menu-pc > li {
  flex: 1 !important; text-align: center !important; margin: 0 !important;
}
#navi .menu-item a,
#navi .menu-item a .item-label {
  color: #f5e6a3 !important; font-weight: bold !important;
  font-size: 15px !important; letter-spacing: 0.15em !important;
  position: relative !important; padding-bottom: 4px !important;
  text-decoration: none !important;
  text-shadow: 0 0 8px rgba(201,168,76,0.8), 1px 1px 2px rgba(0,0,0,0.9) !important;
}
#navi .menu-item a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: #c9a84c; transition: width 0.3s ease;
}
#navi .menu-item a:hover::after { width: 100% !important; }
#navi .menu-item a:hover { color: #c9a84c !important; }
@media (max-width: 1024px) {
  ul.menu-top.menu-header.menu-pc { flex-wrap: wrap !important; }
  ul.menu-top.menu-header.menu-pc > li { flex: 0 0 30% !important; text-align: center !important; margin: 4px 0 !important; }
}
.home .entry-content > * {
  margin: 0 !important;
  padding: 0 !important;
}
.home .wp-block-shortcode {
  margin: 0 !important;
  padding: 0 !important;
}
.home .entry-content .wp-block-shortcode + .wp-block-shortcode {
  margin-top: 0 !important;
}
.home .entry-content style + div,
.home .entry-content .sponsor-slider-wrap + div,
.home .entry-content > div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.home .article,
.home .entry-content {
  padding: 0 !important;
  margin: 0 !important;
}
.home .article-footer {
  display: none !important;
}
.home .entry-content {
  background: linear-gradient(90deg,#1a1a2e 0%,#0f3460 50%,#1a1a2e 100%) !important;
}
.home .article {
  background: transparent !important;
}
.home #content {
  background: linear-gradient(90deg,#1a1a2e 0%,#0f3460 50%,#1a1a2e 100%) !important;
}
.home .entry-content > * {
  background: transparent !important;
}
.home p, .home h1, .home h2, .home h3 {
  background: transparent !important;
}
@media(max-width:600px){
  .home .entry-content div[style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}
.breadcrumb,
.breadcrumb-wrap,
#breadcrumb {
  display: none !important;
}
