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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/*フォント調整*/

blockquote {
    font-size: 14px;
}
#sidebar .textwidget{
    font-size: 14px;
}
.read-time {
    text-align: right;
    font-size: 1.0em;
}

.site-name-text{
	font-family: 'huicoc' !important; 
	font-size: 28px !important;
}

.widget-related-entry-card figure{
    width:60px !important;
}
.widget-related-entry-card-content{
    margin-left: 66px !important;
}

#navi .navi-in>.menu-mobile li {
    width: 50%;
    height: 50px;
    line-height: 50px;
}


/* リンクの色を本文と同じ（#ccc）にする */
a {
    color: #cccccc !important;
    text-decoration: underline; /* リンクであることを下線で示す */
}

/* 記事タイトルやカード内のリンクも統一 */
.entry-title a,
.widget-entry-card-link {
    color: #cccccc !important;
}

/* ホバーした時だけ、少し明るくするか色を変えて「反応」を示す */
a:hover {
    color: #ffffff !important;
    text-decoration: none; /* ホバーで線を消す、などの視覚変化 */
}

/* Cocoonの特定のパーツ（フッターなど）のリンクも強制上書き */
#footer a,
.footer-column a {
    color: #cccccc !important;
}



/************************************
** 著者情報
************************************/
.feedly-button,.rss-button{
display:none !important;
}
/************************************
** CTA
************************************/
.cta-box {
    margin-bottom: 30px;
}

/************************************
** フッター
************************************/
/* ここから下がボタンのCSS　*/
.btn-footer {
    display: inline-block;
    padding: .3em 2em;
    text-decoration: none;
    border: solid 2px #ccc;
    border-radius: 3px;
    transition: .4s;
    margin: 1em 0 2em;
    font-size: 16px;
    border-radius: 99px;
    background-color: #777;
    color: #fff !important;
    box-shadow: 0 2px 3px rgb(0 0 0 / 7%), 0 2px 3px -2px rgb(0 0 0 / 7%);
    border: 0;
}

#footer .textwidget{
font-size:14px;
}

.footer-title{
font-weight:normal;
}

@media screen and (max-width: 768px) {
	.footer-widgets {
		display: block;
	}
}
#footer .textwidget p{
padding:13px;
}


/************************************
**　ボックスメニュー調整
************************************/

#custom_html-2 .box-menu{
  width:calc(100%/3) !important;
  padding: 1em 2px 5px 2px;
  min-height:80px !important;
 box-shadow: none !important;
  background:#e7e7e7;
}

#custom_html-2 .box-menu-icon {
    color: #333333;
}



/* 関連記事見出し */

.tagmidasi {
  position: relative;
  display: inline-block;
  height: 44px;
  margin-left: 20px;
  margin-bottom: 14px;
  padding: 0.5rem 1.5rem 1rem 1.5rem;
  color: #fff;
  background: #777;
}

.tagmidasi:before {
  position: absolute;
  top: 0;
  left: -20px;
  content: '';
  border-width: 22px 20px 22px 0;
  border-style: solid;
  border-color: transparent #777 transparent transparent;
}

.tagmidasi:after {
  position: absolute;
  top: calc(50% - 7px);
  left: -7px;
  width: 12px;
  height: 12px;
  content: '';
  border-radius: 50%;
  background: #fff;
}

/************************************
**　吹き出し調整
************************************/
/* Cocoon用設定 */
.speech-person {
    width: 150px;
min-width: 150px;
margin-left:8px;
margin-right:8px;
}
.speech-balloon{
margin-top: 70px;
}

/* 旧設定で必要なもの */
.answer_image img,.question_image img {
    width: 150px;
}

.answer_image img,.question_image img {
    width: 150px;/*左右のキャラの画像の大きさ*/
}
.question_Box {
    margin-bottom: 25px;
    overflow: hidden;
}
.arrow_question {
    float: right;
}

/* 共通設定 */
.question_Box p, .speech-balloon p{
	line-height: 1.5;
}
.arrow_answer, .arrow_question, .sbp-r .speech-balloon, .sbp-l .speech-balloon {
    position: relative;

    padding: 3.5% 3.5%;

    width: 70%; /*吹き出しの幅*/
 display:flex;}

/************************************
** 引用符
************************************/

/* 引用ボックスの基本設定 */
.article blockquote {
    position: relative;
    padding: 40px 30px !important;
    margin: 2em 0;
    background: rgba(255, 255, 255, 0.03) !important; /* ほんの少しだけ明るく */
    border: none !important; /* 枠線を消してスッキリさせる */
    color: #bbb !important; /* 文字色を少し明るくして可読性確保 */
}

/* 左上の引用符 */
.article blockquote::before {
    content: "\f10d" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 2.5em !important; /* さらに大きく */
    color: #ffffff !important;
    opacity: 0.3 !important; /* 限界まで薄いグレーに（背景に溶け込む程度） */
    position: absolute;
    top: -5px;
    left: 10px;
}

/* 右下の引用符 */
.article blockquote::after {
    content: "\f10e" !important; /* 右引用符のアイコン */
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 2.5em !important;
    color: #ffffff !important;
    opacity: 0.3 !important; /* 左上と同じく薄く */
    position: absolute;
    bottom: -15px;
    right: 15px;
    display: block !important; /* 強制表示 */
}

/************************************
** フッター
************************************/

/* フッターを闇に還す */
#footer {
    background-color: #1a1a1a !important; /* 背景を黒に */
    color: #ccc !important;               /* 文字をグレーに */
}

/* フッター内のリンクも救済 */
#footer a {
    color: #fff !important;
    opacity: 0.7; /* さっきの透過テクニックで馴染ませる */
}

/* ついでにコピーライト周りも */
.footer-bottom {
    background-color: #111 !important;
    border-top: 1px solid #333;
}

/* 特定のテキストウィジェット（#text-95）をダークテーマ用カードにする */
#text-95,#text-96 {
    background-color: rgba(255, 255, 255, 0.05) !important; /* 背景よりわずかに明るい5%の透過白 */
    padding: 5px !important;    /* 読みやすさを確保する内側の余白 */
    border-radius: 8px !important; /* 角丸でモダンなカード風に */
    border: 1px solid rgba(255, 255, 255, 0.05) !important; /* ほんの少しだけエッジを立たせる */
    color: #ccc !important;      /* 文字色は少し落としたグレーで目に優しく */
    line-height: 1.7 !important; /* テキストの可読性を上げる行間 */
    margin-bottom: 20px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* 下側に少し影を落として立体感を出す */
}

/* ウィジェット内のタイトル（もしあれば）も馴染ませる */
#text-95,#text-96 .widget-title {
    color: #eee !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
}

/************************************
** フッターボックスメニュー
************************************/

/* ボックスメニュー全体の背景（白浮き）をねじ伏せる */
.widget_cocoon_box_menu .box-menus,
#footer-in .box-menu {
    background-color: transparent !important; /* 親の背景を透過させる */
    border: none !important;
}

/* 一つ一つのボタン（aタグ）をダークテーマ用カード化 */
#footer-in .box-menu {
    background-color: rgba(255, 255, 255, 0.05) !important; /* 5%透過の白 */
    color: #ccc !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s ease;
}

/* アイコンとテキストの色調整 */
#footer-in .box-menu-icon,
#footer-in .box-menu-label,
#footer-in .box-menu-caption {
    color: #ccc !important;
}

/* ホバー時に少し明るくして「ボタン感」を出す */
#footer-in .box-menu:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-2px); /* ほんの少し浮かせてディレクター好みの質感に */
}

/* アイコン自体の色（もし個別に色がついていたら白っぽくする） */
#footer-in .box-menu i {
    color: #eee !important;
    opacity: 0.8;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){

}
/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
#custom_html-3 .box-menu{
  width:calc(100%/3.4) !important;
}
.navi-footer-in>.menu-footer li.menu-item {
    min-height: 50px;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
#custom_html-3 .box-menu{
  width:calc(100%/2.3) !important;
}
}



