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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.search-container {
    display: flex;
    align-items: center; /* 検索ボックスとボタンを縦中央揃え */
    gap: 0;
    height: 40px; /* お好みで */
}

.custom-search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    width: 100%;
    max-width: 250px; /* 必要に応じて変更 */
    box-sizing: border-box;
    height: 100%;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 12px;
    font-size: 14px;
    height: 100%; /* 高さを親と揃える */
    box-sizing: border-box;
}

.search-submit {
    background: none;
    border: none;
    padding:0 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* 高さを親と揃える */
    box-sizing: border-box;
}

.search-submit i {
    font-size: 20px;
    line-height: 1; /* 高さをアイコンにぴったり合わせる */
    color: #333;
	margin-top: -35px; 
	margin-right: 20px;

}
h1 {
    font-size: clamp(12px, 60vw, 48px);
    text-align: center;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
.search-submit i {
    font-size: 20px;
    line-height: 1; /* 高さをアイコンにぴったり合わせる */
    color: #333;
    margin-top: 0; /* ずれを解消 */
    margin-right: 10px; /* 必要に応じて調整 */
    display: flex;
    align-items: center;
    justify-content: center;
}

}
/* 見出しのデザインリセット */
/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}


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


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

	/* メニュー全体の中央揃えと2行表示 */
#navi ul li a {
  display: block;
  text-align: center;
  line-height: 1.2;
  padding: 10px 8px;
}

/* 日本語（上段） */
.menu-ja {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #333;
}

/* 英語（下段） */
.menu-en {
  display: block;
  font-size: 20px;
  color: #666;
  text-transform: uppercase;
  margin-top: 2px;
}

/* 本文エリアのテキスト選択を有効化 */
.entry-content, .article, .content, body {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}


	
