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

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


/*******************************
* post-152 の指定固定ページ記事タイトル非表示
********************************/
#post-152
.entry-title {
	display:none;
}


/* モバイルボタンのアニメーション速度を無効
===========================================*/
.mobile-menu-buttons {
	transition: none !important;
	animation: none !important;
}

#container {
	animation: none !important;
}




/************************************
** グローバルメニュー PC
************************************/
/* ロゴの大きさ・幅に関するもの */
.header-container-in.hlt-top-menu .logo-header img {
  max-height: 200%;
  height: auto;
  max-width: 210px;
  vertical-align: middle;
  margin: 0;
}

#header-container {
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
  padding: 10px 0;
}
.site-name-text-link {
  color: #fff;
}
#navi {
  background: none;
}
#navi-in > ul .sub-menu {
  background: #fff;
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
}
#navi-in > ul li {
  width: auto;
}
#navi-in a {
  font-size: 15px; /* ナビ文字大きさ */
  font-weight: bold;
  position: relative;
  color: #fff; /* ナビ文字色 */
 padding: 0 20px;
  display: flex;
  text-decoration: none;
}
#navi-in a:hover {
  background: none;
}
#navi-in a:before {
  position: absolute;
  left: 0;
  bottom: 6px;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #fff; /* マウスON時の下線色 */
  transform: scale(0, 1);
  transition: 0.4s;
}
#navi-in a:hover:before {
  transform: scale(1);
}
#navi-in > ul .sub-menu a {
  color: #666; /* サブメニュー文字色 */
  font-size: 12px; /* サブメニュー文字の大きさ */
}
#navi-in > ul .sub-menu a:before {
  background: #000000; /* サブメニューマウスON時の下線色 */
}
.header-container-in.hlt-top-menu .logo-header {
  max-height: 100%;
}
.header-small {
  opacity: 0.9;
}
.header-small .header-container-in.hlt-top-menu .logo-header img {
  max-width: 130px;
  margin: 10px 0;
}
#container {
  padding-top: 0px;
}
[id^="toc"]:target {
  padding-top: 85px;
  margin-top: -85px;
}

/************************************
** サイドバー目次をスクロール PC
************************************/
.sidebar .toc-content{
	overflow-y : scroll;/*スクロールバーを表示*/
	overflow-x : hidden;/*横にはスクロールさせない*/
	max-height : 500px;/*スクロールに移行する高さ*/
}


/************************************
** 投稿ページタイトル
************************************/

.entry-title, .archive-title {
    font-size: 1.7em;
}

.article h1.entry-title {
    margin: 1em;
}


/************************************
** 投稿ページタイトル下のアピール画像
************************************/
.eye-catch {
    margin: 1em;
}

.eye-catch img, .not-found {
    padding: 1.3em;
}


/************************************
** ウィジェット　カテゴリ
************************************/
.widget_nav_menu ul li a {
    padding-left: 1em;
}


/************************************
** ウィジェット　profile　行間隔
************************************/
.author-box p {
    line-height: 1.7;
}


/************************************
** ウィジェット　新着記事文字大きさ
************************************/
.widget-entry-cards:not(.large-thumb-on) .card-title {
    font-size: .9em;
}


/************************************
** ウィジェット　おすすめ記事
************************************/
/* 文字大きさ */
.widget-entry-cards.large-thumb-on .card-title {
    font-size: 0.65em;
}
/* 背景の濃さ */
.recommended.rcs-center-white-title .card-content {
    background-color: rgb(51 51 51 / 62%);
}


/************************************
** ブログカード PC
************************************/
.blogcard-title{
	font-size:1.1em;
	margin-top: 0.5em;
}

.blogcard-snippet{
	display:none;
}

.blogcard-wrap {
	margin-top: 1em;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

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

/*834px以下*/
@media screen and (max-width: 834px){
/*必要ならばここにコードを書く*/
	
	/*モバイルフッターメニューをヘッダー固定にする 
	===========================================*/

	.mobile-menu-buttons .menu-button .menu-button-in {
		height: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	/* #homeをタイトル画像に */
	.mobile-menu-buttons .home-menu-button>a  {
		min-width: 200px;
		background: 50% 50%/contain no-repeat;
		background-image: url('https://mapletc.net/wp-content/uploads/2024/04/初めてのパソコンロゴ.png'); /* タイトルロゴ画像 */
		margin: 0 auto;
	}
	/* 文字やアイコンを非表示 */
	.mobile-menu-buttons .search-menu-caption,
	.mobile-menu-buttons .home-menu-caption, 
	.mobile-menu-buttons .home-menu-icon {
		display: none;
	}
	/* PCにあるナビメニューのパディングを消したい*/
	#header-container {
		display:none
	}
	
	/* 	タイトルの両端の余白 */
	.article h1.entry-title {
    	margin: 1em 0;
	}
	
	/* ハンバーガー開いた時のメニュー 余白 */
	.menu-content .menu-drawer {
    	padding: 3em 30px;
	}
	.menu-drawer a {
    	padding: 1em 0;
	}
	
}

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

	


