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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/*カスタムフォント*/
@font-face {
    font-family: "SawarabiGothic-Regular";
    src: url("https://kuromin.net/wp-content/themes/cocoon-child-master/webfonts/SawarabiGothic-Regular.woff2") format("woff2");
    font-display: swap;
}
body {
  font-family: "SawarabiGothic-Regular",serif;
}

@font-face {
    font-family: "Marcellus-sub";
    src: url("https://kuromin.net/wp-content/themes/cocoon-child-master/webfonts/Marcellus-Regular-sub.woff2") format("woff2");
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: "KaiseiDecol-sub";
    src: url("https://kuromin.net/wp-content/themes/cocoon-child-master/webfonts/KaiseiDecol-Medium-sub.woff2") format("woff2");
    font-weight: normal;
    font-display: swap;
}

/************************************
** サイトロゴ
************************************/

/*キャッチフレーズのフォント変更-文字黒*/
.tagline{
font-weight: bold;
font-size: 1.1em;
text-shadow: 2px 2px 0 #202020, -2px -2px 0 #202020,
              -2px 2px 0 #202020, 2px -2px 0 #202020,
              0px 2px 0 #202020,  0 -2px 0 #202020,
              -2px 0 0 #202020, 2px 0 0 #202020;
	margin-top: 30px;
}

/*サイトロゴのフォント変更-文字黒*/
.logo-header a span {
	font-family: "Marcellus-sub", serif;
font-weight: bold;
font-size: 4em;
text-shadow: 2px 2px 0 #202020, -2px -2px 0 #202020,
              -2px 2px 0 #202020, 2px -2px 0 #202020,
              0px 2px 0 #202020,  0 -2px 0 #202020,
              -2px 0 0 #202020, 1px 0 0 #202020;
	letter-spacing: 0.05em; /* 字間を広く */
}

/*サイトロゴ位置調整*/
.logo-header {
	margin-top: -40px;
	margin-bottom: -20px;
}

/*PC表示用背景画像*/
.header {background-image: url(https://kuromin.net/wp-content/uploads/2025/08/kurominadv_title.jpg);
background-size: 100%;
background-position: center;
}

/************************************
** 広告
************************************/

/*広告ラベル*/
.ad-label {
  font-size: 14px;
}

/*広告スペースマージン*/
/*固定ページ下部*/
#common_ad-9 {
	margin-top: 30px !important;
	margin-bottom: 60px !important;
	min-height: 305px !important;
	height: auto !important;
}

/*投稿ページ上部*/
#common_ad-12 {
	min-height: 305px !important;
	height: auto !important;
}

/*投稿ページ下部*/
#common_ad-11 {
	margin-top: 50px !important;
	margin-bottom: 60px !important;
	min-height: 305px !important;
	height: auto !important;
}

/*インデックス中PC*/
#pc_ad-15 {
	margin-bottom: -50px !important;
	min-height: 250px !important;
	height: auto !important;
}

/*インデックス中モバイル*/
#mobile_ad-2 {
	margin-top: 0px !important;
	margin-bottom: -40px !important;
}

/*インデックス下部*/
#common_ad-10 {
	margin-top: -10px !important;
	margin-bottom: 90px !important;
	min-height: 305px !important;
	height: auto !important;
}

/*ウィジェット縦長広告*/
#pc_ad-14 {
	margin-top: 30px;
	margin-bottom: 60px;
	min-height: 625px !important;
	height: auto !important;
}

/************************************
** サイドバー
************************************/

/* プロフィール全体 */
.nwa .author-box {
	border: none;
	padding: 10px;
}

/* 名前 */
.author-box .author-name {
	font-family: "KaiseiDecol-sub", serif;
	font-weight: 700;
	font-style: normal;
	font-size: 1.8em;
	margin-bottom: 1em;
}
.author-box .author-content .author-name a{
	color: #202020; /* リンク色にしない */
	text-decoration: none; /* 下線をなくす */
	letter-spacing: 0.1em; /* 字間を広く */
}

/* プロフィール文 */
.author-description p{
	font-size: 0.9em;
	line-height: 1.7em;
}

/*ひとりごと*/
.umekomi-frame {
	margin:15px;
}

/* サイドバー見出し */
.widget-title {
	color: #fff;
	background: #202020 !important;
	font-size: 1.2em;
	letter-spacing: 0.05em; /* 字間を広く */
}

/*新着記事（サイドバー）*/
.new-entry-card-title {
	font-size: 0.9em;
	line-height: 1.8;
}

/*人気記事（サイドバー）*/
.popular-entry-card-title {
	font-size: 0.9em;
	line-height: 1.8;
}

/*カテゴリー（サイドバー）*/
.widget-sidebar ul li a {
	font-size: 0.9em; /* 文字サイズ */
	line-height: 1.3; /* 行間 */
}

/* 新着記事日付表示 */
.new-entry-card-date {
	display: block;
}

/* エントリーカード投稿日を右寄せ */
.widget-entry-card-date {
	text-align: right; 
}

/* エントリーカードPV数を右寄せ */
.popular-entry-card-pv {
	position: absolute;
right:0;
}

/* カレンダー */
#calendar_wrap {
  margin-right: -4px;
  margin-left: -4px;
  line-height: 1.5;
}

#wp-calendar {
  margin-bottom: 5px;
  border-collapse: separate;
  border-spacing: 4px;
  border-style: none;
}

#wp-calendar caption {
  font-size: 1.2em;
  font-weight: normal;
}

#wp-calendar th {
  padding: 2px 0;
  background-color: #f5f5f5;
}

#wp-calendar td,
#wp-calendar th {
  border-style: none;
}

#wp-calendar td a,
#wp-calendar #today a,
.wp-calendar-nav a {
  border: solid 1px #ddd;
  border-radius: 4px;
  background-color: transparent;
  text-decoration: none;
  transition: all .3s;
}

#wp-calendar td a:hover,
#wp-calendar #today a:hover,
.wp-calendar-nav a:hover {
  background-color: #eee;
}

#wp-calendar #today {
  background-color: transparent;
  font-weight: bold;
}

.wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-right: 4px;
  margin-left: 4px;
}

.wp-calendar-nav a {
  display: inline-block;
  padding: 0 50px;
  color: inherit;
}

.blogmura-blogparts {
	min-height: 380px !important;
	height: auto !important;
}

#BRParts000209912600079675 {
	min-height: 430px !important;
	height: auto !important;
}

/* アーカイブドロップダウン */
#sidebar select {
font-size: 0.9em; /* 文字サイズ */
}

/* 検索窓文字サイズ */
.search-edit {
 font-size: 0.9em !important;
}

/************************************
** メニュー
************************************/

/* カテゴリラベル */
.cat-label {
    border: 0px !important;
    top: 0em;
    left: 0em;
}
.eye-catch .cat-label {
    padding: 0px 10px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    opacity: 0.9;
    top: 0em;
    left: 0em;
    font-size: 13px;
    min-width: 120px;
}
.eye-catch .cat-label:before {
    font-family: "fontawesome";
    content: "\f08d";
    color: #fff;
    display: inline-block;
    margin-right: .5em;
    transform: rotate(-20deg);
    -moz-transform: rotate(-20deg);
    -webkit-transform: rotate(-20deg);
}

/************************************
** インデックスページ
************************************/

/* インデックスリストタイトル */
.entry-card-title {
	font-size: 1.05em;
	line-height: 1.8;
	margin-bottom: 0.5em;
}

/* インデックスリストスニペット */
.entry-card-snippet {
	font-size: 0.9em;
	line-height: 1.6;
}

/* カルーセルのドット消去 */
.slick-dots {
	display: none !important;
}

/* カルーセルの背景色 */
.carousel .carousel-in {
	background-color: #202020;
}

/**カルーセル記事タイトル文字非表示**/
.carousel-entry-card-title{
display: none;
}

/************************************
** ページ本文
************************************/

/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}

/* 見出しのデザイン設定 */
.article h2 {
	position: relative;
	margin-top: 4.5em;
	margin-bottom: 2.5em;
	padding: 15px;
	background-color: #202020;
	border-top: solid 2px #202020;
	border-bottom: solid 2px #202020;
	color: #fff;
	letter-spacing: 0.1em; /* 字間を広く */
}
.article h2:before,
.article h2:after {
	position: absolute;
	content: "";
	display: block;
	width: 100%;
	left: 0;
}
.article h2:before {
	border-top: solid 3px #202020;
	top: -7px;
}
.article h2:after {
	border-bottom: solid 3px #202020;
	bottom: -7px;
}
.article h3 {
	margin-top: 3.2em;
	padding: 0.3em 0.5em;
	border: none;
	border-bottom: 3px solid #202020;
}
.article h4 {
	border-top: none;
	border-bottom: 3px dotted #595857;
}

/* アイキャッチ画像の非表示 */
.eye-catch-wrap {
display: none;
}

/*投稿日下のスペース*/
.date-tags {
	margin-bottom: 50px !important;
}

/*rinker*/
.yyi-rinker-contents {
  margin-bottom: 60px !important;
}

/* 吹き出し1 */
.wp-block-cocoon-blocks-balloon-ex-box-1 {
	font-size: 0.9em;
	margin-top: 3em;
	margin-bottom: 2.4em !important;
}

/*いいねボタン*/
.ifw_wrap {
margin-top: 80px !important;
margin-bottom: 80px !important;
}

/************************************
** ブログカード
************************************/
.wp-block-cocoon-blocks-blogcard{
	margin-top: 4em;
	margin-bottom : 4em !important; 
}

.blogcard {
	border: 1px solid #202020;
	border-radius: 0;
	background-color: #fcfcfc;
}

/* ツイート引用 */
.twitter-tweet {
	margin-bottom: 4em !important;
}

/* チェックポイント */
.wp-block-cocoon-blocks-tab-box-1{
	margin-top: 4em !important;
	margin-bottom: 4em !important;
}

/************************************
** 関連記事
************************************/

/*関連記事見出し*/
.related-entry-heading {
	color: #fff;
	text-align:center;
	letter-spacing: 0.1em; /* 字間を広く */
	padding: .6em;
	margin-top: 80px;
	background: #202020;
}

/*関連記事タイトル*/
.related-entry-card-title {	
	font-size: 0.8em !important;
	line-height: 1.8;
}

/*関連記事スニペット*/
.related-entry-card-snippet {
	font-size: 0.7em;
	line-height: 1.8;
}

/*コメント見出し*/
.comment-title {
	text-align:center;
	padding: .6em;
	color: #fff;
	background: #202020; 
}

/*前の記事*/
.prev-post-title {
	font-size: 1em;
	line-height: 1.5;
}

/*次の記事*/
.next-post-title {
	font-size: 1em;
	line-height: 1.5;
}

/* 004 前のページに戻る */
.button004 {
	margin-top: 80px !important;
}

.button004 a {
    background: #3eb370;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #fff;
    transition: 0.3s ease-in-out;
    font-weight: 500;
	text-decoration: none;
}
.button004 a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.2s ease-in-out;
    font-weight: 900;
    transform: translateY(-50%);
}
.button004 a:hover {
    background: #313131;
    color: #FFF;
}

/*コメント送信ボタンの色変更*/
.comment-btn {
  border: solid 2px #3e62ad !important; 
  border-radius: 6px !important; 
  font-weight:bold !important; 
  font-size: 18px !important; 
  color: #fff !important; 
  background-color: #3e62ad !important; 
  letter-spacing: 4px !important; 
}

/*コードのコピーボタン整形*/
.copy-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
    background-color: #333;
    color: white;
    border: none;
    padding: 0px 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.copy-btn:hover {
    opacity: 1;
}

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

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

.header {background-image: url(https://kuromin.net/wp-content/uploads/2026/05/kurominadv_mobile_title.jpg);
background-size: 100%;
background-position: center;
}

/* モバイル用ナビゲーション(トップメニュー版) */
.slicknav_menu{
	background: #202020; /* ナビの背景色 */	
}
.slicknav_btn{
	background-color: #00a99d; /* MENUボタンの色 */	
}
.slicknav_menu .slicknav_menutxt{
	text-shadow: 0 1px 3px rgb(0 0 0 / 45%); /* 「MENU」の文字の影の濃さ */
	color: white;  /* 「MENU」の文字の色 */
}
.slicknav_nav a{
	color: #ffffff; /* ナビ中の文字色 */	
}

/*キャッチフレーズのフォント変更-文字黒*/
.tagline{
	font-size: 0.8em;
	margin-top: 20px;
}

/*サイトロゴのフォント変更-文字黒*/
.logo-header a span {
	font-size: 1.8em !important;
}

/*サイトロゴ位置調整*/
.logo-header {
	margin-top: -30px !important;
	margin-bottom: -20px !important;
}
	
/* インデックスリストタイトル */
.entry-card-title {
	font-size: 0.9em;
	line-height: 1.2;
	margin-bottom: 0.5em;
}

/* インデックスリストスニペット */
.entry-card-snippet {
	font-size: 0.8em;
	line-height: 1.2;
}

/*本文上*/
#common_ad-12 {
	margin-top: 50px !important;
	margin-bottom: 20px !important;

}
/*広告　投稿ページ下部（レスポンシブ）*/
#common_ad-11 {
	margin-top: 50px !important;
	margin-bottom: 20px !important;
}

}

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