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

@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@500;700&family=Noto+Sans+JP:wght@400;500&display=swap');

:root {
  --bg-main: #FAFAFA;
  --surface: #FFFFFF;
  --text-primary: #1F2937;
  --text-secondary: #6B7280;
  --accent-green: #D4EDDA;
}

@media screen and (max-width: 1023px){}
@media screen and (max-width: 834px){}
@media screen and (max-width: 480px){}

.mobile-header-menu-buttons {
  background-color: var(--accent-green) !important;
  height: 65px !important;
}

.mobile-header-menu-buttons .menu-icon,
.mobile-header-menu-buttons .menu-caption,
.mobile-header-menu-buttons .menu-button-in,
.mobile-header-menu-buttons .logo-menu-button a {
  color: var(--text-primary) !important;
}

.search-menu-content {
  background-color: var(--accent-green) !important;
}

.mobile-header-menu-buttons .logo-menu-button a {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.3 !important;
  padding: 8px 0 !important;
  font-size: 18px !important;
}

.mobile-header-menu-buttons .logo-menu-button a::after {
  content: "科学であなたの悩みを論理的に紐解きます。";	
  font-size: 12px !important;
  font-weight: normal !important;
  color: var(--text-primary) !important;
  margin-top: 4px !important;
}

.custom-tabs {
  display: flex !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-bottom: 20px !important;
  padding: 0 10px !important;
}

.custom-tab-btn {
  background-color: #F3F4F6 !important;
  color: var(--text-secondary) !important;
  border: none !important;
  border-radius: 25px !important;
  padding: 8px 24px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  flex: 1 !important;
  max-width: 120px !important;
}

.custom-tab-btn.active {
  background-color: var(--accent-green) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.custom-tab-content {
  animation: tabFadeIn 0.4s ease forwards !important;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  background-color: var(--bg-main) !important;
  color: var(--text-primary) !important;
  font-family: "Noto Sans JP", sans-serif !important;
}

.entry-content, 
.post-meta, 
.post-date, 
.category-link,
.entry-snippet {
  font-family: "Noto Sans JP", sans-serif !important;
}

.site-name-text {
  font-family: "Kiwi Maru", serif !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
}

h1, h2, h3, h4, h5, h6, 
.article h1, .article h2, .article h3, .article h4, .article h5, .article h6,
.sidebar h3, .widget-title,
.list-title, .main-widget-title, .archive-title, .author-box-title,
.wp-block-heading,
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {
  font-family: "Kiwi Maru", serif !important;
  color: var(--text-primary) !important;
}

h1, h2, .article h1, .article h2, .entry-content h2, h2.wp-block-heading,
.list-title, .main-widget-title, .archive-title { 
  font-weight: 700 !important; 
}

h3, h4, h5, h6, .article h3, .article h4, .article h5, .article h6, 
.entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading,
.sidebar h3, .widget-title { 
  font-weight: 500 !important; 
}

.popular-entry-cards .card-thumb::before,
.widget-entry-cards .card-thumb::before {
  font-family: "Kiwi Maru", serif !important;
  font-weight: 700 !important;
}

.entry-card-wrap,
.related-entry-card-wrap,
.widget {
  background-color: var(--surface) !important;
  border-radius: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  border: none !important;
  padding: 16px;
  margin-bottom: 24px;
}

.header-container {
  background-color: var(--accent-green) !important;
}

.cat-link {
  background-color: var(--accent-green) !important;
  color: var(--text-primary) !important;
  border-radius: 9999px !important;
  padding: 4px 12px !important;
  font-weight: 500 !important;
}

.post-date, 
.post-update, 
.entry-snippet, 
.post-meta,
.entry-card-snippet {
  color: var(--text-secondary) !important;
}

/*スライドインメニューをカスタマイズ*/
.navi-menu-content{
  background-color: #D4EDDA;  /*背景色を変える*/
  font-noto: "Noto Sans JP", sans-serif;
}