@charset "UTF-8";

/*!
Theme Name: Cocoon Child Takachan Dark UI
Description: Cocoon専用の子テーマ。ダーク背景、カードUI、水色アクセントを全体に適用。
Theme URI: https://wp-cocoon.com/
Author: OpenAI
Author URI: https://openai.com/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 全体で使う変数
************************************/
:root {
  --tk-bg: #0f1115;
  --tk-bg-soft: #131823;
  --tk-panel: #161a22;
  --tk-panel-2: #1b2130;
  --tk-text: #e8e8ee;
  --tk-muted: #b7bcc7;
  --tk-accent: #8fd3ff;
  --tk-accent-2: #b7e5ff;
  --tk-line: #2a3040;
  --tk-line-2: #3a465f;
  --tk-tag: #232a3a;
  --tk-shadow: 0 14px 36px rgba(0, 0, 0, 0.26);
  --tk-shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.34);
  --tk-radius-s: 10px;
  --tk-radius-m: 14px;
  --tk-radius-l: 18px;
}

/************************************
** ベース
************************************/
html,
body {
  background: var(--tk-bg);
  color: var(--tk-text);
}

body {
  background:
    radial-gradient(circle at top right, rgba(143, 211, 255, 0.10), transparent 28%),
    linear-gradient(180deg, rgba(143, 211, 255, 0.05), transparent 16%),
    var(--tk-bg);
}

body,
body p,
body li,
body td,
body th,
body dd,
body dt,
body caption,
body blockquote,
body .site-name-text,
body .site-description {
  color: var(--tk-text);
}

body a,
body .a-wrap,
body .entry-title a,
body .related-entry-card-title a,
body .widget-entry-card-title a,
body .blogcard-title,
body .navi a,
body .pagination a,
body .pager-links a,
body .tagcloud a {
  color: var(--tk-accent);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body a:hover,
body .a-wrap:hover,
body .entry-title a:hover,
body .related-entry-card-title a:hover,
body .widget-entry-card-title a:hover,
body .blogcard-title:hover {
  color: var(--tk-accent-2);
}

::selection {
  background: rgba(143, 211, 255, 0.24);
  color: #ffffff;
}

#container,
#body-in,
#main,
#sidebar,
.main,
.sidebar,
.content,
.content-in {
  background: transparent;
}

/************************************
** ヘッダー
************************************/
#header-container,
.header-container {
  background:
    linear-gradient(180deg, rgba(143, 211, 255, 0.12), rgba(0, 0, 0, 0)),
    rgba(15, 17, 21, 0.90) !important;
  border-bottom: 1px solid var(--tk-line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

#header,
.header {
  background: transparent !important;
}

.header-in {
  padding-top: 18px;
  padding-bottom: 16px;
}

.site-name-text,
.site-name-text a,
.site-name a,
.logo-text,
.logo-text a {
  color: var(--tk-text) !important;
  letter-spacing: 0.02em;
}

.site-name-text a,
.site-name a,
.logo-text a {
  font-weight: 800;
}

.site-description,
.tagline,
.header-container .header-widget,
.header-container .header-widget-area {
  color: var(--tk-muted) !important;
}

/************************************
** ナビ
************************************/
#navi,
.navi {
  background: rgba(22, 26, 34, 0.88) !important;
  border-top: 1px solid var(--tk-line);
  border-bottom: 1px solid var(--tk-line);
  backdrop-filter: blur(10px);
}

#navi .navi-in > ul > li > a,
.navi .navi-in > ul > li > a,
#navi .menu-item > a,
.navi .menu-item > a {
  color: var(--tk-text) !important;
  border-radius: 999px;
}

#navi .navi-in > ul > li > a:hover,
.navi .navi-in > ul > li > a:hover,
#navi .current-menu-item > a,
#navi .current-menu-parent > a,
.navi .current-menu-item > a,
.navi .current-menu-parent > a {
  background: rgba(143, 211, 255, 0.12) !important;
  color: var(--tk-accent-2) !important;
  box-shadow: inset 0 0 0 1px rgba(143, 211, 255, 0.16);
}

.sub-menu,
.navi .sub-menu {
  background: rgba(22, 26, 34, 0.98) !important;
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-m);
  box-shadow: var(--tk-shadow);
}

.sub-menu a,
.navi .sub-menu a {
  color: var(--tk-text) !important;
}

.sub-menu a:hover,
.navi .sub-menu a:hover {
  background: rgba(143, 211, 255, 0.10) !important;
}

/************************************
** パンくず
************************************/
.breadcrumb,
.breadcrumbs {
  color: var(--tk-muted);
}

.breadcrumb a,
.breadcrumbs a {
  color: var(--tk-muted);
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--tk-accent);
}

/************************************
** 記事・固定ページ・本文エリア
************************************/
.article,
.page .article,
.single .article,
.archive .content,
.search .content,
.error404 .content,
.page .content,
.single .content {
  background: linear-gradient(180deg, rgba(143, 211, 255, 0.03), rgba(0, 0, 0, 0)), var(--tk-panel);
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-l);
  box-shadow: var(--tk-shadow);
  padding: 22px;
}

.entry-content,
.entry-content p,
.post-date,
.post-update,
.author-box,
.related-entry-card-snippet,
.widget-entry-card-snippet,
.footer,
.footer * {
  color: var(--tk-text);
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--tk-text);
  line-height: 1.45;
}

.entry-content h2,
.article h2 {
  background: linear-gradient(180deg, rgba(143, 211, 255, 0.08), rgba(143, 211, 255, 0.03));
  border: 1px solid var(--tk-line);
  border-left: 4px solid var(--tk-accent);
  border-radius: var(--tk-radius-m);
  padding: 14px 16px;
}

.entry-content h3,
.article h3 {
  border-left: 4px solid var(--tk-accent);
  padding-left: 12px;
}

.entry-content blockquote,
blockquote {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-m);
  color: var(--tk-text);
}

.entry-content code,
.entry-content pre,
code,
pre {
  background: #0d1117;
  color: #dce8ff;
  border: 1px solid var(--tk-line);
  border-radius: 10px;
}

.entry-content table,
.entry-content th,
.entry-content td,
table,
th,
td {
  border-color: var(--tk-line);
}

.entry-content table,
table {
  background: rgba(0, 0, 0, 0.12);
}

.entry-content th,
th {
  background: rgba(143, 211, 255, 0.08);
}

/************************************
** サイドバー・ウィジェット
************************************/
.sidebar h3,
.sidebar .widget-title,
.widget h3,
.widgettitle,
.widget-entry-cards h2,
.widget_recent_entries h2 {
  color: var(--tk-text);
}

.sidebar .widget,
.widget,
.sidebar .ad-area,
.sidebar .sns-follow,
.sidebar .ranking-visible {
  background: linear-gradient(180deg, rgba(143, 211, 255, 0.03), rgba(0, 0, 0, 0)), var(--tk-panel);
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-l);
  box-shadow: var(--tk-shadow);
}

.sidebar .widget,
.widget {
  padding: 16px;
}

.widget ul li,
.widget ol li,
.widget_archive li,
.widget_categories li,
.widget_recent_entries li,
.widget_recent_comments li,
.widget_pages li,
.widget_meta li,
.widget_nav_menu li {
  border-bottom: 1px solid rgba(42, 48, 64, 0.6);
}

/************************************
** 一覧カード
************************************/
.a-wrap,
.new-entry-card,
.related-entry-card,
.widget-entry-card,
.blogcard,
.card-thumb,
.entry-card-wrap,
.ect-entry-card,
.ranking-item,
.carousel-entry-card {
  background: linear-gradient(180deg, rgba(143, 211, 255, 0.03), rgba(0, 0, 0, 0)), var(--tk-panel);
  border: 1px solid var(--tk-line) !important;
  border-radius: var(--tk-radius-l);
  box-shadow: var(--tk-shadow);
}

.a-wrap:hover,
.new-entry-card:hover,
.related-entry-card:hover,
.widget-entry-card:hover,
.blogcard:hover,
.entry-card-wrap:hover,
.ranking-item:hover,
.carousel-entry-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tk-shadow-hover);
  border-color: var(--tk-line-2) !important;
}

.entry-card-title,
.related-entry-card-title,
.widget-entry-card-title,
.blogcard-title {
  color: var(--tk-text);
}

.entry-card-snippet,
.related-entry-card-snippet,
.widget-entry-card-snippet,
.blogcard-snippet,
.entry-card-meta,
.e-card-info {
  color: var(--tk-muted);
}

.cat-label,
.entry-categories a,
.entry-tags a,
.tag-link,
.tagcloud a,
.pagination .current,
.pager-links span.current,
.search-edit,
.search-submit,
.comment-btn,
.read-more-button,
.more-button,
.ranking-item-name,
.author-thumb-name {
  background: var(--tk-tag);
  border: 1px solid var(--tk-line);
  border-radius: 999px;
  color: var(--tk-accent);
}

.tagcloud a,
.entry-categories a,
.entry-tags a,
.tag-link {
  padding: 4px 10px;
}

.cat-label {
  color: var(--tk-accent-2) !important;
}

/************************************
** ボタン・フォーム
************************************/
input[type="text"],
input[type="search"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select,
.search-edit {
  background: rgba(0, 0, 0, 0.18) !important;
  border: 1px solid var(--tk-line) !important;
  border-radius: 12px;
  color: var(--tk-text) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--tk-muted);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(143, 211, 255, 0.42) !important;
  box-shadow: 0 0 0 4px rgba(143, 211, 255, 0.10);
}

button,
input[type="submit"],
.submit,
.search-submit,
.comment-btn,
.pagination-next-link,
.pagination .current,
.pager-links span.current,
.pager-links a,
.page-numbers,
.wp-block-button__link,
button.wp-block-search__button,
input[type="button"] {
  background: var(--tk-tag) !important;
  border: 1px solid var(--tk-line) !important;
  border-radius: 999px;
  color: var(--tk-text) !important;
}

button:hover,
input[type="submit"]:hover,
.submit:hover,
.search-submit:hover,
.comment-btn:hover,
.pagination-next-link:hover,
.pager-links a:hover,
.page-numbers:hover,
.wp-block-button__link:hover,
button.wp-block-search__button:hover,
input[type="button"]:hover {
  background: rgba(143, 211, 255, 0.12) !important;
  color: var(--tk-accent-2) !important;
  border-color: rgba(143, 211, 255, 0.24) !important;
}

/************************************
** 目次・SNS・プロフィール・関連記事
************************************/
.toc,
.toc-box,
.sns-share,
.sns-follow,
.author-box,
.related-entry-card-wrap,
.comment-area,
.pager-post-navi,
.nwa,
.recommended,
.index-tab-buttons,
.appeal,
.notice-area,
.question-box,
.information-box,
.alert-box,
.memo-box,
.common-icon-box,
.blank-box {
  background: linear-gradient(180deg, rgba(143, 211, 255, 0.03), rgba(0, 0, 0, 0)), var(--tk-panel);
  border: 1px solid var(--tk-line);
  border-radius: var(--tk-radius-l);
  color: var(--tk-text);
}

/************************************
** フッター
************************************/
#footer,
.footer {
  background: rgba(15, 17, 21, 0.92) !important;
  border-top: 1px solid var(--tk-line);
}

.footer-in,
.footer-bottom {
  color: var(--tk-muted);
}

.footer a,
.footer-bottom a {
  color: var(--tk-accent);
}

/************************************
** レスポンシブ
************************************/
@media screen and (max-width: 1023px){
  .article,
  .page .article,
  .single .article,
  .archive .content,
  .search .content,
  .page .content,
  .single .content {
    padding: 18px;
  }
}

@media screen and (max-width: 834px){
  .header-in {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .article,
  .page .article,
  .single .article,
  .archive .content,
  .search .content,
  .page .content,
  .single .content,
  .sidebar .widget,
  .widget {
    border-radius: 14px;
  }
}

@media screen and (max-width: 480px){
  .article,
  .page .article,
  .single .article,
  .archive .content,
  .search .content,
  .page .content,
  .single .content {
    padding: 14px;
  }
}


/************************************
** v1.1.1 サイドバーの視認性改善
************************************/
#sidebar,
.sidebar {
  color: var(--tk-text);
}

#sidebar .widget,
.sidebar .widget,
.widget {
  color: var(--tk-text) !important;
}

#sidebar .widget .widget-title,
#sidebar .widget .widgettitle,
#sidebar .widget > h3,
.sidebar .widget .widget-title,
.sidebar .widget .widgettitle,
.sidebar .widget > h3,
.widget .widget-title,
.widget .widgettitle,
.widget > h3 {
  display: block;
  background: transparent !important;
  color: var(--tk-text) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(42, 48, 64, 0.72) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 0 14px !important;
  padding: 0 0 12px !important;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

#sidebar .widget .widget-title::before,
#sidebar .widget .widgettitle::before,
#sidebar .widget > h3::before,
.sidebar .widget .widget-title::before,
.sidebar .widget .widgettitle::before,
.sidebar .widget > h3::before,
.widget .widget-title::before,
.widget .widgettitle::before,
.widget > h3::before,
#sidebar .widget .widget-title::after,
#sidebar .widget .widgettitle::after,
#sidebar .widget > h3::after,
.sidebar .widget .widget-title::after,
.sidebar .widget .widgettitle::after,
.sidebar .widget > h3::after,
.widget .widget-title::after,
.widget .widgettitle::after,
.widget > h3::after {
  display: none !important;
  content: none !important;
}

#sidebar .widget a,
#sidebar .widget li,
#sidebar .widget p,
#sidebar .widget span,
#sidebar .widget div,
.sidebar .widget a,
.sidebar .widget li,
.sidebar .widget p,
.sidebar .widget span,
.sidebar .widget div,
.widget a,
.widget li,
.widget p,
.widget span,
.widget div {
  color: var(--tk-text);
}

#sidebar .widget a:hover,
.sidebar .widget a:hover,
.widget a:hover {
  color: var(--tk-accent-2);
}

#sidebar .widget ul,
#sidebar .widget ol,
.sidebar .widget ul,
.sidebar .widget ol,
.widget ul,
.widget ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#sidebar .widget ul li,
#sidebar .widget ol li,
.sidebar .widget ul li,
.sidebar .widget ol li,
.widget ul li,
.widget ol li {
  padding: 12px 0;
}

#sidebar .widget_archive a,
#sidebar .widget_categories a,
#sidebar .widget_recent_entries a,
#sidebar .widget_recent_comments a,
#sidebar .widget_pages a,
#sidebar .widget_meta a,
#sidebar .widget_nav_menu a,
.sidebar .widget_archive a,
.sidebar .widget_categories a,
.sidebar .widget_recent_entries a,
.sidebar .widget_recent_comments a,
.sidebar .widget_pages a,
.sidebar .widget_meta a,
.sidebar .widget_nav_menu a,
.widget_archive a,
.widget_categories a,
.widget_recent_entries a,
.widget_recent_comments a,
.widget_pages a,
.widget_meta a,
.widget_nav_menu a {
  color: var(--tk-text) !important;
}

#sidebar .widget_archive a:hover,
#sidebar .widget_categories a:hover,
#sidebar .widget_recent_entries a:hover,
#sidebar .widget_recent_comments a:hover,
#sidebar .widget_pages a:hover,
#sidebar .widget_meta a:hover,
#sidebar .widget_nav_menu a:hover,
.sidebar .widget_archive a:hover,
.sidebar .widget_categories a:hover,
.sidebar .widget_recent_entries a:hover,
.sidebar .widget_recent_comments a:hover,
.sidebar .widget_pages a:hover,
.sidebar .widget_meta a:hover,
.sidebar .widget_nav_menu a:hover,
.widget_archive a:hover,
.widget_categories a:hover,
.widget_recent_entries a:hover,
.widget_recent_comments a:hover,
.widget_pages a:hover,
.widget_meta a:hover,
.widget_nav_menu a:hover {
  color: var(--tk-accent-2) !important;
}

@media screen and (max-width: 834px){
  #sidebar .widget .widget-title,
  #sidebar .widget .widgettitle,
  #sidebar .widget > h3,
  .sidebar .widget .widget-title,
  .sidebar .widget .widgettitle,
  .sidebar .widget > h3,
  .widget .widget-title,
  .widget .widgettitle,
  .widget > h3 {
    font-size: 24px;
  }
}


/************************************
** v1.1.2 サイドバー視認性の強化
************************************/
#sidebar .widget-title,
#sidebar .widgettitle,
#sidebar h2,
#sidebar h3,
.sidebar .widget-title,
.sidebar .widgettitle,
.sidebar h2,
.sidebar h3,
.widget-area .widget-title,
.widget-area .widgettitle,
.widget-area h2,
.widget-area h3,
.widget h2,
.widget h3 {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  color: var(--tk-text) !important;
  padding: 0 0 14px !important;
  margin: 0 0 14px !important;
  line-height: 1.45 !important;
}

#sidebar .widget-title a,
#sidebar .widgettitle a,
#sidebar h2 a,
#sidebar h3 a,
.sidebar .widget-title a,
.sidebar .widgettitle a,
.sidebar h2 a,
.sidebar h3 a,
.widget-area .widget-title a,
.widget-area .widgettitle a,
.widget-area h2 a,
.widget-area h3 a,
.widget h2 a,
.widget h3 a {
  color: var(--tk-text) !important;
}

#sidebar .widget-title::before,
#sidebar .widget-title::after,
#sidebar .widgettitle::before,
#sidebar .widgettitle::after,
#sidebar h2::before,
#sidebar h2::after,
#sidebar h3::before,
#sidebar h3::after,
.sidebar .widget-title::before,
.sidebar .widget-title::after,
.sidebar .widgettitle::before,
.sidebar .widgettitle::after,
.sidebar h2::before,
.sidebar h2::after,
.sidebar h3::before,
.sidebar h3::after,
.widget-area .widget-title::before,
.widget-area .widget-title::after,
.widget-area .widgettitle::before,
.widget-area .widgettitle::after,
.widget-area h2::before,
.widget-area h2::after,
.widget-area h3::before,
.widget-area h3::after,
.widget h2::before,
.widget h2::after,
.widget h3::before,
.widget h3::after {
  display: none !important;
  content: none !important;
}

#sidebar .widget,
.sidebar .widget,
.widget-area .widget {
  padding: 18px 20px !important;
}

#sidebar .widget ul,
#sidebar .widget ol,
.sidebar .widget ul,
.sidebar .widget ol,
.widget-area .widget ul,
.widget-area .widget ol {
  margin: 0 !important;
  padding: 0 !important;
}

#sidebar .widget li,
.sidebar .widget li,
.widget-area .widget li {
  list-style: none !important;
  margin: 0 !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(42, 48, 64, 0.6) !important;
}

#sidebar .widget li:last-child,
.sidebar .widget li:last-child,
.widget-area .widget li:last-child {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#sidebar .widget,
#sidebar .widget p,
#sidebar .widget li,
#sidebar .widget span,
#sidebar .widget small,
#sidebar .widget .post-date,
.sidebar .widget,
.sidebar .widget p,
.sidebar .widget li,
.sidebar .widget span,
.sidebar .widget small,
.sidebar .widget .post-date,
.widget-area .widget,
.widget-area .widget p,
.widget-area .widget li,
.widget-area .widget span,
.widget-area .widget small,
.widget-area .widget .post-date {
  color: var(--tk-text) !important;
}

#sidebar .widget a,
#sidebar .widget li a,
#sidebar .widget_archive a,
#sidebar .widget_categories a,
#sidebar .widget_recent_entries a,
#sidebar .widget_recent_comments a,
#sidebar .widget_pages a,
#sidebar .widget_meta a,
#sidebar .widget_nav_menu a,
.sidebar .widget a,
.sidebar .widget li a,
.sidebar .widget_archive a,
.sidebar .widget_categories a,
.sidebar .widget_recent_entries a,
.sidebar .widget_recent_comments a,
.sidebar .widget_pages a,
.sidebar .widget_meta a,
.sidebar .widget_nav_menu a,
.widget-area .widget a,
.widget-area .widget li a,
.widget-area .widget_archive a,
.widget-area .widget_categories a,
.widget-area .widget_recent_entries a,
.widget-area .widget_recent_comments a,
.widget-area .widget_pages a,
.widget-area .widget_meta a,
.widget-area .widget_nav_menu a {
  color: var(--tk-text) !important;
}

#sidebar .widget a:hover,
#sidebar .widget li a:hover,
.sidebar .widget a:hover,
.sidebar .widget li a:hover,
.widget-area .widget a:hover,
.widget-area .widget li a:hover {
  color: var(--tk-accent) !important;
}

#sidebar .search-edit,
#sidebar input[type="search"],
#sidebar input[type="text"],
.sidebar .search-edit,
.sidebar input[type="search"],
.sidebar input[type="text"],
.widget-area .search-edit,
.widget-area input[type="search"],
.widget-area input[type="text"] {
  min-height: 52px !important;
}
