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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* タイトルなし */
.entry-title{display:none;}

/* ヘッダー幅を全幅に */
.header-container-in.hlt-top-menu {
	width:100% !important;
	padding-left: 1%;
	padding-right: 1%;
}

.article h2 {
  border-left: 7px solid #000000;
  font-size: 22px;
  padding: .7em .7em;
  background-color:#f5f5f5; 
  color: #000000;
}

/* Cocoon用：h3見出しの下線を左10%青、残りグレーにする */
.article h3 {
  position: relative;
  padding-bottom: 0.4em; /* 下線との距離調整 */
  border: none; /* Cocoonのデフォルト線を無効化 */
}

.entry-content h3::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width: clamp(120px, 30vw, 300px);
  height:3px;              
  background: linear-gradient(to right, #19448e 20%, #ccc 20%);
}






/* 目次メニューの上下余白 */
#toc {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* 検索窓調整 */
.header-search {
	width: 200px !important;
}
.header-search .search-box {
	margin-left: 7px;
	margin-right: 20px;
	margin-top: 3px;
}

.header-search input[type="text"]{
	padding: 7px 10px;
	font-size: 11px;
	border-radius: 14px 14px 14px 14px/ 50% 50% 50% 50%;
	}

.header-search .search-submit{
	color: #378cb0;
}



/* リンク下線有無　マウスオーバー時のカラー */
.entry-content a {
	text-decoration: none;
}
.entry-content a:hover {
	color: #1111cc;
}

 #navi .navi-in > ul > li > a {
    position: relative;
  }



/* メニューホバー時の下線アニメーション */
  #navi .navi-in > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #19448e;
    transition: width 0.3s ease;
  }

  #navi .navi-in > ul > li > a:hover::after {
    width: 100%; /* ホバー時に左から右へ線が伸びる */
  }



/*reCAPTCHAのロゴ非表示*/
.grecaptcha-badge { visibility: hidden; }

/*モバイルメニュー'×'アイコンを移動*/
.menu-close-button {
 padding-top: 15px;
 padding-left: 25px;
 padding-bottom: 30px;
text-align: left;
font-size: 1.3em;
}

/*モバイルヘッダーメニューのラベル非表示*/
.mobile-menu-buttons .menu-caption {
	display: none;
}
/*モバイルヘッダーメニューのアイコン位置調整*/
.mobile-header-menu-buttons .navi-menu-button .navi-menu-icon {
	padding-top: 3px !important;
	font-size: 30px !important; 
  }

/*モバイルヘッダーメニューのロゴ位置調整*/
.logo-menu-button img {
	margin-top: 10px;
	}



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

@media screen and (min-width: 1025px) {
/* ヘッダー内部（ロゴ＋メニュー）全体を下げる */
#header .header-in {
  padding-top: 20px;
  padding-bottom: 20px;
}
/* ヘッダー下に下線 */
body:not(.home) #header-container {
  border-bottom: 2px solid #ccc;
  box-shadow: 0 3px 3px -2px rgba(0,0,0,0.3);
}	
}

/* サブメニュー項目のホバー時に背景を薄いグレーに */
#navi .sub-menu li a:hover {
  background-color: #e0e0e0; 
  color: #000;             
}



/* アピールエリアコンテンツ背景・文字色 */
.appeal-content {background-color: rgba(80, 80, 80, 0.00);
 color: #fff;
}

/* アピールエリア高さ */
#appeal { 
height: 33vw; 
}

/*1981px以上*/
@media screen and (min-width: 1981px){
.appeal-content{
position: relative;
top: -35px ;
left: -15%;
font-size: 25px ;
	}
}


/*1980px以下*/
@media screen and (max-width: 1980px){
.appeal-content{
position: relative;
top: -100px ;
left: -20%;
font-size: 23px ;
	}
}

/*1450px以下*/
@media screen and (max-width: 1350px){
.appeal-content{
position: relative;
top: -180px;
left: -16%;
font-size: 20px ;	
}
}	

/*1024以下でロゴの大きさ変更*/
@media screen and (max-width: 1024px){
.logo-menu-button img {
	width: 200px;
    　　max-height: none;
	}
#navi {
	display: none;/*通常メニュー非表示*/
	}
.appeal-content{
	position: relative;
	top: -205px;
	left: -17%;
	font-size: 17px;
	}
}

/*834px以下*/
@media screen and (max-width: 834px){
.appeal-content{
	position: relative;
	top: 25px !important;
	left: -22% !important;;
	font-size: 15px;
	}
}

/*600px以下*/
@media screen and (max-width: 600px){
.appeal-content{
	position: relative;
	top: 32px !important ;
	left: -21% !important;
	font-size: 11px !important;
	}
#appeal { 
height: 50vw !important; 
}
#footer {/*フッター非表示*/
		display:none;
}
}


/*--------------------------------- 
スマホで改行
 --------------------------------*/ 
/*834px以下で改行*/
@media screen and (min-width: 834px){
.kaigyo {display: none;
	}
}


@media screen and (min-width: 600px){
.sp-br {display: none; } }




