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

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

/* カテゴリーページの記事一覧を非表示 */
.archive.category .main .entry-card-wrap {
    display: none;
}

/*タブの切り替え*/

/*スクロールテーブル*/
.tableoverflow {
	position:relative;
}
.tableoverflow-container {
	overflow-x: auto;
	max-width: 100%;
	width: 700px;
}
.tableoverflow-container:before {
	content:"右にスクロールできます→";
	position: sticky;
	top: 0;
	left: 0;
	padding-left:3px;
}
.tableoverflow-container-table {
	table-layout: fixed;
	width: 1000px;
	border-collapse: collapse;
}
.sticky {
	position: sticky;
	top: 0;
	left: 0;

	z-index: 1;
}
.tableoverflow-container-table th {
	width:220px;
}


/*ボックススタイル*/
/*付箋風ボックス*/
.fusenbox {
	padding: 0.5em 1em;
	margin: 2em 0;
	color: #232323;
	background: #fff8e8;
	border-left: solid 10px #ffc06e;
}
.fusenbox p {
	margin: 0; 
	padding: 0;
}
/*メモ帳風タイトル付きボックス*/
.memobox {
  position: relative;
  margin: 3em 0 0.5em 0;
  background: #fff6e6;
  box-shadow: 0 2px 3px rgba(0,0,0,.22);
  padding: 22px 8px 22px 8px;
  background-color: #fff6e6;
  background-image:
  linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff6e6 0%, #fff6e6 100%), linear-gradient(180deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 95%, #ed7780 100%);
  background-size: 8px 100%,100% 2em;
  line-height: 2;
  color: #ee8992;
  font-weight: bold;
}
.memobox-title {
  background: #fff6e6;
  font-size: 1.2em;
  padding: 7px 0 0 16px;
  margin: -16px -8px 16px -8px;
  color: #ee8992;
  font-weight:bold;
}
.memobox:after {
  position: absolute;
  content: "";
  top: 25px;
  width: 30%;
  height: 35px;
  opacity: 0.3;
  margin: -35px auto 10px 35%;
  background: #db7093;
  transform: rotate(-2deg);
  left: 10px;
  right: 10px;
}
.memobox p {
  margin: 0;
  padding: 0;
  font-size:14px;
}

/*タイトル付き簡易ボックス*/
.titlesimplebox {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}
.titlesimplebox .titlesimplebox-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}
.titlesimplebox p {
    margin: 0; 
    padding: 0;
}
/*上下に線があるシンプルなボックス*/
.simplebox{
    padding: 8px 19px;
    margin: 2em 0;
    color: #2c2c2f;
    background: #ffe4e1;
    border-top: solid 5px #dc143c;
    border-bottom: solid 5px #dc143c;
}
.simplebox p {
    margin: 0; 
    padding: 0;
}
/*タイトル付きボックス（黄色）*/
.yellowbox {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #FFC107;
}
.yellowbox .yellowbox-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.yellowbox p {
    margin: 0; 
    padding: 0;
}

/*アンダーライン黄色*/
.underline-yellow {
	background: linear-gradient(transparent 50%, yellow 50%);
}
/*アンダーライン青色*/
.underline-blue {
	background: linear-gradient(transparent 50%, #1e90ff 50%);
}

/*アフィボタン*/
.afibtn {
	width: 80%;
	margin: 10px auto;
	padding: 10px 20px;
	border-radius: 100vh;
	border-bottom: 5px solid #8b0000;
	background: #dc143c;
}
.afibtn a {
	display: block;
	width:100%;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
	color: #fff;
}
.afibtn:hover {
	margin-top: 6px;
	border-bottom: 1px solid #0686b2;
	color: #fff;
}

/* スマホのときだけ適用 */
@media screen and (max-width: 768px) {
	
	.tableoverflow-container-table {
		font-size:12px;
	}
	.tableoverflow-container-table th {
		width:140px;
	}
	
}