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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*吹き出し*/
.fukidashi {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 1rem 0;
}
.fukidashi.right {
  flex-direction: row-reverse;
}
.fukidashi-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.fukidashi-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fukidashi-name {
  font-size: 11px;
  color: #888;
  text-align: center;
  margin-top: 4px;
}
.fukidashi-text {
  position: relative;
  background: #f0f0f0;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.6;
  max-width: 420px;
}
.fukidashi:not(.right) .fukidashi-text::before {
  content: '';
  position: absolute;
  top: 18px;
  left: -9px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #f0f0f0;
}
.fukidashi.right .fukidashi-text::before {
  content: '';
  position: absolute;
  top: 18px;
  right: -9px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #f0f0f0;
}

/*目次*/
.toc-checkbox:checked+.toc-title::after {
    content: '閉じる';
}
.toc-title::after {
    content: '開く';
    margin-left: .5em;
    cursor: pointer;
    font-size: .8em;
    background: #526fff;
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
}

/*テーブル*/
table {
    font-size: 14px;
}
.tablepress>:where(thead,tfoot)>tr>* {
    background-color: #526fff;
    color: #ffffff;
    font-weight: 700;
    vertical-align: middle;
    word-break: normal
}

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

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

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