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

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

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

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

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

/* Cocoon見出しデザインのリセット */
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  background: none; /* 背景色を削除 */
  border: none;     /* 枠線を削除 */
  border-radius: 0; /* 角丸を削除 */
}

/* 見出しカスタマイズ */
.article h2 {
  padding: 0.1em 0.5em;/*文字の上下 左右の余白*/
  background: #fff;/*背景色*/
  border-bottom: solid 5px #012E24;/*下線*/
  font-size: 22px;
}

.article h2:before {
	color: #012E24;/*左のアイコンの色*/
	content: '●';/*左のアイコンの種類*/
	margin-right: 0.5em;
}

.article h3 {
   display: flex;
   align-items: baseline;
   column-gap: 8px;
   padding-left:0;
}

.article h3::before {
   width: 0.8em;
   height: 0.4em;
   border-bottom: 3px solid #012E24;
   border-left: 3px solid #012E24;
   transform: rotate(-45deg) translate(2px, -2px);
   content: '';
}

.article h4 {
	border: none;
	font-size: 20px;
}

.article h4:before {
	color: #012E24;/*左のアイコンの色*/
	content: '……';/*左のアイコンの種類*/
	margin-right: 0.5em;
}

.article h4:after {
	color: #012E24;/*左のアイコンの色*/
	content: '……';/*左のアイコンの種類*/
	margin-left: 0.5em;
}

/* ヘッダー色変更 */
.header {
  background-color: #012E24;
}

.sidebar h3 {
  border-bottom: 3px solid #012E24;
  padding:0 10px;
  font-size: 20px;
}

/*マーカー*/
.marker {
  background-color: #ccc;
}
.marker-red {
  background-color: #f0d7af;
}
.marker-blue {
  background-color: #ccdbd8;
}
/*下半分のマーカー色（km）*/
.marker-under {
  background: linear-gradient(transparent 60%, #ccc 60%);
}
.marker-under-red {
  background: linear-gradient(transparent 60%, #f0d7af 60%);
}
.marker-under-blue {
  background: linear-gradient(transparent 60%, #ccdbd8 60%);
}
