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

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

/* 見出しカスタマイズ */

/* H2 */

.article h2{
border-top:none;

border-bottom:none;

border-left:none;

border-right:none;

padding:none;
	
border-radius: 0em

}

/* H3 */

.article h3{

border-top:none;

border-bottom:none;

border-left:none;

border-right:none;

padding: 0;

}

.article h4{

border-top:none;

border-bottom:none;

border-left:none;

border-right:none;

padding: none;

}



.article h2{
	padding: 10px 15px;/*文字周りの余白*/
	margin: 1em 0;
	box-sizing: border-box;
	color: #ffffff;/*文字色*/
	background: #007acc;/*背景色*/
	border-top: 6px double #fff;
	border-bottom: 6px double #fff;
	font-size:24px;
}

.article h3 {
  color: #010101;
  border-left: 7px solid #73c3fb; /* 左の青い線は維持 */
  border-bottom: 5px solid #007acc; /* 濃い水色の下線を追加 */
  padding: 6px 10px;
  font-size: 22px;
  background: #f2f9ff; /* 背景色なし */
}


.article h4{
  color: #010101;/*文字色*/
  padding: 0.2em 0;/*上下の余白*/
  border-top: solid 2px #73c3fb;/*上線*/
  border-bottom: solid 2px #73c3fb;/*下線*/
border-left: 14px solid #ffffff;
	font-size:22px;
}


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

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

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

/************************************
** 引用（blockquote）
************************************/
.article blockquote p {
  margin-bottom: 0.1em;
}

// 記事の自動整形を無効化
remove_filter('the_content', 'wpautop');

/* 全体背景の調整 */


.DKTF_shortcut-menu {
    background-color: #E1F5FE; /* 淡い水色 */
    padding: 10px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* ワールド全体のリスト */
.DKTF_world-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

/* ワールド枠 */
.DKTF_world {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    width: auto;
    transition: 0.3s;
}



/* ワールド番号のデザイン */
.DKTF_world-number {
	flex-wrap: nowrap; /* 横並び固定 */
	line-height: 1.2;
	font-size: 1.2em;
    font-weight: bold;
	margin-right: 5px;
    width: 40px;
    text-align: center;
    background: #E1F5FE; /* 薄い水色 */
    padding: 2px;
    border-radius: 5px;
}

/* ステージボタンの配置 */
.DKTF_stage-buttons {
    display: flex;
    gap: 2px;
    flex-wrap: nowrap; /* 横並び固定 */
	line-height: 1.2;
}

/* ステージボタンのデザイン */
.DKTF_stage-buttons a {
    background: #03A9F4; /* 明るい水色 */
    color: white;
    text-decoration: none;
    padding: 8px 6px;
    font-size: 1em;
    border-radius: 4px;
    transition: 0.3s;
    width: 26px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}


/* ホバー時のデザイン */
.DKTF_stage-buttons a:hover {
    background: #0288D1; /* 濃い水色 */
    transform: translateY(-2px);
}

.SDK2_stage-buttons {
    display: flex;
    gap: 2px;
    flex-wrap: nowrap; /* 横並び固定 */
	line-height: 1.2;
}

/* ステージボタンのデザイン */
.SDK2_stage-buttons a {
    background: #03A9F4; /* 明るい水色 */
    color: white;
    text-decoration: none;
    padding: 8px 6px;
    font-size: 1em;
    border-radius: 4px;
    transition: 0.3s;
    width: 35px;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

/* テーブ、表のデザイン */
/* 特定のクラスを持つテーブルのスタイル */
.cocoon-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

.cocoon-table th {
  background-color: #f2f2f2;
  color: #333;
  padding: 10px;
  text-align: left;
  border-bottom: 2px solid #ddd;
}

.cocoon-table td {
  padding: 10px;
  border: none; /* 枠線なし */
}

.cocoon-table tr:nth-child(odd) {
  background-color: #f2f9ff;
}

.cocoon-table tr:nth-child(even) {
  background-color: #fff;
}

.cocoon-table tr:hover {
  background-color: #e7f4ff;
}
