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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* ヘッダー */
.article h2{
	position: relative;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 50px;
	border-radius:50px;
	color:#153c6e;
	background-color: #f0f8ff;
}

.article h2:before {
  position: absolute;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f1fc";
  background: #c9e2ff;
  color: #153c6e;
  font-size: 20px;
  border-radius: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

/* コードのラベル */
.code-label{
	display: inline-block;
	position: relative;
	top: 28px;
	margin: 0;
	padding: 0 5px;
}

.html-label{
	color: #fff;
	background-color: #FB652A;
}

.css-label{
	color: #fff;
	background-color: #2CA9DF;
}

.js-label{
	color: #fff;
	background-color: #FFCD30;
}

.php-label{
	color: #fff;
	background-color: #5F85C4;
}

.result-label{
	top: 0;
	color: #fff;
	background-color: #696969;
}

/* 出力結果 */
.result-box{
	padding: 10px;
	background-color: #F8F6F6;
}
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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