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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*1カラム調整*/
@media screen and (min-width:1024px){
.article{
width:780px;margin:0 auto;}
}
@media screen and (min-width:768px){
.pager-post-navi a.prev-post{
width:80%;
margin-left:auto;margin-right:auto;}
}
@media screen and (min-width:768px){
.pager-post-navi a.next-post{
width:80%;
margin-left:auto;margin-right:auto;}
}

/*本文デザイン調整*/
.article h2 {
  background: #e0d8ee;
  padding: 14px;
  color: #5f4e44;
  font-size: 1.8rem;
  border-radius: 5px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.article h3 {
  color: #5f4e44;
  background-image: linear-gradient(-45deg, #fff 25%, #f5f5f5 25%, #f5f5f5 50%, #fff 50%, #fff 75%, #f5f5f5 75%, #f5f5f5);
  background-size: 4px 4px;
  border-left: 7px solid #b799eb;
}
.article h4 {
	font-size: 1.1em;
    font-weight: 500;
    position: relative;
    padding: 0.4em;
	border-top: none !important;
    border-bottom: none !important;
	margin-bottom: 0.62em !important;
	line-height: 1.5 !important;
}

.article h4:before {
	color: #ed8f8c;
	content: "●";
	margin-right: .5em;
}

.orange-under {
    font-weight: bold;
    background: linear-gradient(transparent 60%, #ffdacb 60%);
}
.marker-under {
    font-weight: bold;
}
figcaption {
    text-align: center;
    margin-top: -20px;
}
.sup2 {
    font-size: 12px;
}
.sup {
    font-size: 12px;
    margin-top: -20px;
}
/*テーブル*/
.entry-content table {
	font-size: 0.9em;
	border: 1px solid #90a2a4;
}
table:not(.has-border-color) :where(th, td) {
	border: 1px solid #90a2a4;
}
table th {
    background-color: #f7f3ee;
}
.scrollable-table th {
    background-color: #f7f3ee;
}
.scrollable-table th, .scrollable-table td {
    min-width: 11em;
	white-space: normal;
	padding: 0.7rem;
}
.ribe th, .ribe td {
    min-width: 11em;
}
table td {
    line-height: 1.6;
}
.sclok {
    font-size: 13px;
    line-height: 1.3em;
     margin-bottom: 13px;
}
.scrollable-table.stfc-sticky table:not(.wp-calendar-table) tr > *:first-child {
    background-color: #f7f3ee;
}
.scrollable-table th:first-child {
    min-width: 10em;
}
.scrollable-table {
    margin-bottom: 1em!important;
}
/************************************
****　見出しタグ
************************************/
.p.midashi {
  margin: 2.6em 0 1.6em;
}

p.midashi {
  position: relative;
  padding: 8px 10px;
  font-weight: bold;
  border-radius: 4px;
  background: #fff8e4;
}
p.midashi:after {
  position: absolute;
  bottom: -6px;
  left: 6px;
  width: 0;
  height: 0;
  content: '';
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #fff8e4 transparent transparent transparent;
}
/************************************
****　リストタグ
************************************/

.entry-content ul {
  padding: 0em 1em 0em 1.8em;
  position: relative;
}


/*公式リンクボタン*/
a.cv-button {
  text-decoration: none;
  display: block;
  width: 80%;
  max-width: 400px;
  font-size: 16px;
  text-align: center;
  padding: 12px 10px;
  background: -webkit-linear-gradient(top, #02bb81 0%, #05b17b 100%);
  background: linear-gradient(to bottom, #02bb81 0%, #05b17b 100%);
  color: #fff;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  font-weight: 700;
  box-shadow: 0 3px 0 #058d62;
  margin: 0 auto 2.5em;
}
a.cv-button:hover {
  opacity: 0.7;
  color: #fff !important;
}
/*ランキングボタン*/
.ranking-button {
  margin-bottom: 60px;
}
.ranking-button a {
  width: 48%;
  text-align: center;
  display: block;
  padding: 15px 20px;
  border: 1px solid #a0a0a0;
  border-bottom: 4px solid #a0a0a0;
  border-radius: 5px;
  text-decoration: none;
  color: #a0a0a0;
  font-weight: 700;
  position: relative;
}
.ranking-button a:first-child {
  float: right;
  border: #058d62 solid 1px;
  background: -webkit-linear-gradient(top, #02bb81 0%, #05b17b 100%);
  background: linear-gradient(to bottom, #02bb81 0%, #05b17b 100%);
  border-bottom: 4px solid #058d62;
  color: #fff;
}
.ranking-button a:first-child::after {
  color: #fff;
}
.ranking-button a:hover {
  opacity: 0.8;
}
/* タイトル付枠*/
.kakomi-box {
 position: relative;
 margin: 2em auto;
 padding: 0 1.2em;
 background-color: #fff; /* 背景色 */
 border: 1px solid #555555; /* 枠線の太さ・色 */
 width: 90%;
}
.title-box {
 position: absolute;
 padding: 0 .5em;
 left: 20px;
 top: -15px;
 background-color: #fff; /* タイトル背景色 */
 font-weight: bold;
}
/* 目次*/
.article .toc-list > li li {
  list-style: none;
}
.toc-list > li li {
  list-style: none;
}

.toc-list > li li ::before {
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  left: -15px;
  border-radius: 100%;
  background: #cdcdcd;
  position: relative;
  margin-bottom: 2px;
 }
.nwa .toc {
    font-size: 15px;
}
.toc-list > li a {
font-weight: bold;
}
.toc-list > li li a {
font-weight: normal;
}
.author-widget-name{
  margin-bottom: 8px;
}
.widget-single-content-bottom-title{
  text-align: center;
  font-weight: 700;
  color: #67a9a9;
}
.gray_box {
  /* 方眼紙模様に必須のスタイル */
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
                    linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;

  /* 以下任意のスタイル */
  padding: 22px 15px 0px;
  border: 1px solid #f0f0f0;
  margin-bottom: 2em;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
    table th, table td {
        padding: 5px;
}
}

/*480px以下*/
@media screen and (max-width: 480px){
.article h2 {
    font-size: 20px;
padding: 10px;
line-height: 1.3;
}
.article h3 {
    font-size: 18px;
}
.kakomi-box {
    margin: 2em auto;
    padding: 0 0.2em;
    width: 95%;
}
.entry-content table td {
    background: #FFF;
	border-collapse: collapse; /* 1pxにする */
}
.entry-content table {
	font-size: 1em;
}
}
