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

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

html {
  scroll-behavior: smooth;
}

.article h2 {
  color: #333;
  background: none;
  border-bottom: solid 3px #777;
  position: relative;
  padding: 0 0 5px;
  margin-bottom: 1em;
}

.article h2::after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #333;
  bottom: -3px;
  width: 30%;
}

.article h3 {
  border-right: none;
  border-top: none;
  border-bottom: none;
  padding: 5px 10px;
}

.sidebar h2,
.sidebar h3 {
  color: #333;
  background: none;
  border-top: solid 3px #333;
  border-bottom: solid 3px #333;
  padding: 0;
}

ol,
ul {
  padding-left: 1em;
}

.ts {
  font-size: 1rem;
}

a:where(:not(.wp-element-button)) {
  text-underline-offset: 3px;
}

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

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

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