@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){
 article > .entry-content, aritcle > footer.article-footer {
padding: 0 10px;
}
}
/*834px以下*/
@media screen and (max-width: 834px){
 .page-body {
font-size: 16px;
}
}
/*480px以下*/
@media screen and (max-width: 480px){
 .page-body {
font-size: 16px;
padding: 0;
}
.article{
width:90%:
margin:auto;
}
}

/************************************
全体のバランス
************************************/
.entry-content {
padding:1em;
padding-top:0;
margin: 0 auto;
}
img{
box-shadow: 0px 2px 5px 0 rgba(0,0,0,.2);
max-width:100%;
display: block;
}
a {
 -webkit-tap-highlight-color:rgba(0,0,0,0);
}
/* テーブル（表）の設定 */
.scrollable-table {
    overflow: scroll;
}
/* 一番左の列の固定 */ 
.wp-block-table tbody tr:first-of-type {
    background-color: #FFF4E0; /* 見出しの背景色を指定 */ 
    position: -webkit-sticky; 
    position: sticky;
    z-index: 1;
}
/* 一番上の行の固定 */
.wp-block-table tbody tr td:first-of-type { 
    background-color: #FFF4E0; /* 見出しの背景色を指定 */ 
    position: -webkit-sticky; 
    position: sticky; 
    left: 0; 
    z-index: 2;
}
/* テーブルの要素を中央揃えに */
.wp-block-table td { 
    vertical-align:middle !important; 
    text-align:center; 
    padding:10px !important; /* テーブルの縦の要素の距離感をお好みで */ 
}