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

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

/* ユーザ情報 */
.user-info {
    text-align: left;
}
/* Xアイコン表示 */
.user-info img.avatar {
	width: 40px;
	border-radius:50%;
}

/* エラーメッセージ */
.error-message {
    color: red;
}


/* 特定ページをサイドバーから非表示 */
.children .page_item.page-item-910,
.children .page_item.page-item-768,
.children .page_item.page-item-1846 {
	display: none;
}

/* 目次開閉 */
.toc{
   margin:auto;
}
.toc-title::after {
   content: '[close]';
   margin-left: .5em;
   cursor: pointer;
   font-size: .8em;
}
.toc-title.active::after {
   content: '[open]';
}
.article ol{
   padding-left:15px;
}

/* Xログインボタン */
.x-login-button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background-color: #000;
	color: #fff;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.x-login-button:hover {
	background-color: #111;
}

.x-login-button img {
	height: 24px;
	width: 24px;
}

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

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

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