@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon
Version:    1.1.3
*/

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

/* -------- 管理メニューバー ----------- */
#wpadminbar {
	background-color: #42210b;
}

/* ---------- topイメージ ----------- */
.header-in {
	height: 220px;
	width: 100%;

	background-image: 
	url("/wp-content/uploads/2026/04/sohorin03-1.png"), /* ←ソホリン */
	url("/wp-content/uploads/2026/04/soho_blog_topimg_back_20260421-1.jpg"); /* ←トップ背景画像 */

	background-position: 
	70% bottom,  /* PC：左35%・下 */
	center;
	
	background-size: 
	90px 80px,
	cover;

	background-repeat: 
	no-repeat,
	no-repeat;
	}

/* -------- ヘッダー --------- */
.header {
	display: flex;
	align-items: center; /* ← これで縦中央維持 */
	background-color: #8c6239;
	}

.header-in {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	}

/* ---------- subキャッチ ----------- */
.tagline {
	background-color: rgba(141,135,144,0.5);
	padding: 0 0.5em;
	margin-left: 11em;
}

/* ----------- ブログタイトル ------------- */
.logo-text {
	margin-left: 7em;
}

a.site-name .site-name-text{
	color: #42210b;
	}

.site-name .site-name-text {
	background-color: rgba(255,255,255,0.5);
	padding: 0 0.2em;
}

#header .site-name-text {
	font-size: 2em;
}

/* --------- ナビゲーションバー --------- */
.navi .item-label, .navi .item-description {
	color: #8c6239;
}

/* -------- サイドメニュー --------- */
.textwidget.custom-html-widget img {
	margin: 0.2em 0;
}

.sidebar h2, .sidebar h3 {
	background-color: #f8c8d7;
    padding: 0.2em 1em 0 1em;
    border-radius: 999px;
    margin: 0.3em 0;
    color: #5c5c5c;
    font-weight: 500;
}

/* ---------- 検索 ----------- */
.wp-block-search__label {
	display: block;
	background-color: #84cc16;
	border-radius: 999px;
	margin-bottom: 0.4em;
	padding: 0.2em 0 0 1em;
	color: #fff;
}

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

}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	
	.header-in {
		background-position: 
		80% bottom,
		center;
		}
	
	.tagline {
		margin-left: 1.5em;
	}
	
	.logo-text {
	margin-left: 0;
	}
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	
	.header-in {
		background-position: 
		10px bottom, /* ← 左下に変更 */
		center;
		background-size: 
		79px 70px,
		cover;
		}
	
	.tagline {
		margin-left: 1.5em;
	}
	
	.logo-text {
		margin-left: 0;
	}

}
