@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=DotGothic16&display=swap');

/* 全体のフォントをドット風に変更 */
body, h1, h2, h3, h4, .site-name, .entry-title {
    font-family: 'DotGothic16', sans-serif !important;
}

/* 全体背景 */
body {
    background-color: #121214 !important;
    color: #ffffff !important;
}

/* 記事カード・ウィジェットをウィンドウ風にする */
.article-card-wrap, .sidebar .widget, .main {
    background-color: #000000 !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 0 0 2px #000000, 0 0 0 5px #ffffff;
    color: #ffffff !important;
}

/* H2見出しの装飾 */
.article h2 {
    background-color: #000000 !important;
    border: 3px solid #ffffff !important;
    color: #ffffff !important;
    padding: 10px 10px 10px 35px !important;
    position: relative;
}

.article h2::before {
    content: "▶";
    position: absolute;
    left: 10px;
    color: #ffffff;
    animation: blink 1s infinite;
}

/* カーソルの点滅アニメーション */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* トップページの記事タイトル */
.entry-card-content {
    color: #ffffff;
}

/* 最新記事のタイトル */
.wp-block-latest-posts__post-title,
.wp-block-archives-list a,
.wp-block-categories-list a{
    color: #ffffff !important;
}

/* マウスを乗せたとき */
.wp-block-latest-posts__post-title:hover,
.wp-block-archives-list a:hover,
.wp-block-categories-list a:hover{
    color: #000000 !important;
}

.mobile-footer-menu-buttons .menu-button,
.mobile-footer-menu-buttons .menu-button:hover,
.mobile-footer-menu-buttons .menu-button a,
.navi-menu-content,
.menu-drawer a,
.menu-drawer a:hover{
  background-color: #121214;
  color: #ffffff;
}

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

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

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