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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* =====================
 *  プロフィール画像
 * ===================== */
.profile_figure {
	width:150px;
	height:150px;
	border-radius: 50%;
	border:  3px solid #FFCC99;
}
/*枠デザイン*/
.profile_box {
	margin: 2em 0;
}
/*内容*/
.profile_center{
	text-align: center;
	margin: 10px 15px 0 0;
}
/*名前*/
.profile_name {
	padding: 15px 20px;
	font-weight:bold;
	font-size:16px;
}
/*自己紹介文*/
.profile_box p {
	padding: 15px 20px;
	margin: 0;
}
/* プロフィールボタン */
div.pf-button {
	background-color: #2b7bc0;
	border-radius:50px;
	padding: .5em 1.4em;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}
.pf-button a {
	display: block;
	text-decoration: none;
	text-align: center;
	color: #FFF;
	font-size: 18px;
	font-weight: 700;
	line-height: 2em;
}
/* 問い合わせ */
.contact-center {
	text-align: center;
	margin: 15px 3px;
}

/* =====================
 *  ブログカード
 * ===================== */
.blogcard {
	border-color: #ccc; /* 枠線の色 */
}
/* ホバー時 */
.blogcard-wrap:hover {
	box-shadow: 0 4px 20px #a5a5a5; /* 影の色 */
	-webkit-transform: translateY(-2px);
	-ms-transform: translateY(-2px);
	transform: translateY(-2px);
}
/* タイトル */
.blogcard-title{
    font-size:16px; /* 文字サイズ */
    border-bottom: 2px solid #0990d4; /* タイトル下にアンダーライン */
}

/* =====================
 *  インラインコード
 * ===================== */
code {
	font-family: inherit;
	background-color: rgba(0,0,0,.08);
	border-radius: 4px;
	padding: 0.1rem 0.2rem;
}

/* =====================
 *  コードブロック
 * ===================== */
.wp-block-code code {
	height: auto; /* 高さ */
	color: #fff;
}

/* ==========================================
 *  コードブロックのコピーボタン
 * ========================================== */
/* 見た目 */
.copy-code-btn{
  position: absolute;
  top: .35rem;
  right: .35rem;
  padding: .28rem .5rem;
  font-size: .8rem;
  line-height: 1;
  border: 1px solid rgba(0,0,0,.25);
  border-radius: 5px;
  background: #2b2b2b;        /* 黒っぽいグレー */
  color: #cfcfcf;             /* 薄いグレー文字 */
  cursor: pointer;
}
/* ホバー時は少しだけ明るく */
.copy-code-btn:hover:not(:disabled){
  background: #333;
  color: #d9d9d9;
}
/* クリック後の無効化状態 */
.copy-code-btn:disabled{
  opacity: .85;
  cursor: default;
}
/* キーボード操作のフォーカス見やすく */
.copy-code-btn:focus-visible{
  outline: 2px solid #888;
  outline-offset: 2px;
}
/* スマホはさらに控えめ */
@media (max-width: 480px){
  .copy-code-btn{
    padding: .24rem .44rem;
    font-size: .75rem;
    top: .3rem;
    right: .3rem;
  }
}

/* ==========================================
 *  コードブロックのアコーディオン
 * ========================================== */
.show_more{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    padding-top: 70px;
    text-align: center;
    line-height: 30px;
    background: linear-gradient(to bottom, rgba(39,40,34,0) 0%, rgba(39,40,34,1) 80%);
    cursor: pointer;
}
.open .show_more {
    background: none;
    padding-top: 5px;
    width: 10%;
    margin: 0 45% 15px;
}
.show_more:before {
    position: absolute;
    border-right: 3px solid #fd9a22;
    border-top: 3px solid #fd9a22;
    content: "";
    width: 12px;
    height: 12px;
    bottom: 15px;
    transition: all 0.3s;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
} 
.up .show_more:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    bottom: 0;
}
.open pre.line-numbers {
    padding-bottom: 2em;
}

/* ==================================
 *スクロール追従バー（目次の設定）
 * ================================== */
/*表示設定*/
/*@media print, (max-width: 991px) {
    #side-scroll .toc_widget {
        display: none;
    }
}*/
/*各種設定*/
.toc-widget-box {
    position: relative;
    padding: 0px 10px;
    color: #333;
    background: #fff;
}
.toc-widget-box>ol.toc-list {
    margin: 25px 0;
    overflow-y: auto;
}
/* サイド 目次 追従 カレント */
#sidebar-scroll li a:hover {
    background-color: #f0f29c;
}
#sidebar-scroll li a.current {
    background-color: #f0f29c;
}

/* ==============
 *  ボックス
 * ============== */
.box {
	position: relative;
	margin: 2em 0;
	padding: 0.5em 1em;
	border-radius: 6px;
}
.box.has-title {
	margin-top: 3em;
}
.box .title {
	position: absolute;
	display: inline-block;
	top: -25px;
	left: 10px;
	padding: 5px 9px;
	line-height: 1;
	font-size: 14px;
	background: #FFF;
	font-weight: bold;
	border-radius: 6px 6px 0 0;
}
.box p {
	margin: 10px; 
	padding: 0;
	line-height: 35px;
}
/* 注意 */
.box.caution {
	border: solid 3px #ffc0c0;
	background-color: #ffe9e9;
}
.box .title-caution {
	color: #fff;
	background: #ffc0c0;
}
/* 例 */
.box.exp {
	border: solid 3px #dcdcdc;
	background-color: #f3f3f3;
}
.box .title-exp {
	color: #333;
	background-color: #dcdcdc;
}
/* 補足 */
.box.supple {
	border: solid 3px #A4C6FF;
	background-color: #D9E5FF;
}
.box .title-supple {
	color: #fff;
	background-color: #A4C6FF;
}
table.supple-tbl {
	margin-bottom: 0px;
}
table.supple-tbl td {
	border: none;
	vertical-align: top;
}
table.supple-tbl td.no-wrap{
	white-space: nowrap;
}

/* =====================
 *  テーブルヘッダー
 * ===================== */
table.blue-header th {
	background-color: #2b7bc0;
	color: #ffffff;	
}

/* =====================
 *  動画
 * ===================== */
/* 中央 */
.wp-video {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 2em;
}

/* =====================
 *  次のページボタンの背景
 * ===================== */
.page-numbers, .tagcloud a, .tag-link, .pagination-next-link, .comment-reply-link, .comment-btn {
	background-color: #1967d2;
	border-color: #1967d2;
	color: #fff;
}

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

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

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