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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.home #main * {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.home .content-in {
  display: flex !important;
  align-items: flex-start !important;
}

.home .content-in #main {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}
.list-new-entries {
	border-color: var(--skin-grayish-site-main-hover);
    border-bottom: 1px solid #AAC2D2;
}
    
/*ライン非表示*/
.skin-grayish.front-top-page .list-columns::before {
  display: none;

}
.home .content-in #sidebar {
  display: block !important;
  width: 320px !important;
  min-width: 320px !important;
  margin-left: 20px !important;
}

@media (max-width: 480px) {
  .kk-af-card-thumb {
    width: 110px;
    min-width: 110px;
  }
  .kk-af-card-title {
    font-size: 13px;
  }
}
/*アドリンク*/
.mainimg {
  display: block;
  line-height: 0;
}
img.target_type {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
.eye-catch {
	width: 100%;
}
.eye-catch img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
/* 白ドット非表示 */

/*.grayish_topmv_whovlay {
	display:none !important;
}
.grayish_topmv_dot {
	display:none !important;
}*/
/* ロゴ文字色を白に */
.skin-grayish.front-top-page .logo-header a span {
  /*color: #ffffff !important;*/
}
/*メインH1ざぶとん*/
.skin-grayish.front-top-page .tagline {
	/*color: #ffffff !important;*/
}
.skin-grayish.front-top-page .site-name-text {
	background-color:rgba(247,247,247,0.8);
	width: auto;
}
/* ロゴ左寄せ */
.skin-grayish.front-top-page .tagline {
	background-color:rgba(247,247,247,0.8);
	width: auto;
}
.skin-grayish.front-top-page #header .header-in {
  justify-content: flex-start !important;
  text-align: left !important;
	background-position: center bottom;
}

.skin-grayish.front-top-page #header {
	height: 500px;
	background-position: center bottom;
}
.skin-grayish.front-top-page #header-in {
	height: 500px;
	justify-content: center !important;
	background-position: center bottom;
}
.skin-grayish.front-top-page #header .header-in {
	justify-content: center !important;
}
.skin-grayish.front-top-page #header-container-in {
	height: 500px;
}
.skin-grayish.front-top-page #header-container {
	height: 500px;
}
.skin-grayish.front-top-page .skinadd-topmv-scroll__txt {
	color: #fff;
}
.skin-grayish.front-top-page .skinadd-topmv-scroll__txt:before {
	color: #fff;
	border-color: #fff;
}
.skin-grayish.front-top-page .skinadd-topmv-scroll::before {
	border-color: #fff;
}
.narrow-table table {
	font-size: 10px;
	margin: 0 auto;
}
/*青マーカー*/
:where(.editor-styles-wrapper) .marker-blue {
	background-color: #d6effe;
}
.marker-blue {
	background-color: #d6effe;
}
/* 作品情報テーブル 1列目を固定幅に */
.narrow-table table td:first-child {
	width: 10em;
	white-space: nowrap;
}
.pr-note {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
/* お問い合わせフォーム プレースホルダー文字色 */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #bbb;
}
.work-info {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.2rem;
  margin: 1.5rem 0;
  background: #fafafa;
}
.work-info table {
  width: 100%;
  border-collapse: collapse;
}
.work-info td {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.work-info td:first-child {
  color: #888;
  width: 35%;
}
.work-info {
  border: none;
  background: none;
  padding: 0;
}
add_filter('featured_image_text_color_code', function($color) {
    // テキスト色を明るいグレーに変更
    return '#F7F7F7';
});
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
	
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
	.skin-grayish.front-top-page .container .header-container .header {
		background-position: right top;
		background-size: cover;
	}
	/*スマホサイドメニューカラム落ち*/
	 .home .content-in {
    display: block !important;
  }

  .home .content-in #main {
    width: 100% !important;
  }

  .home .content-in #sidebar {
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	.skin-grayish.front-top-page .container .header-container .header {
		background-position: right top 100px;
		background-size: cover;
		height: 300px !important;
	}
	.skin-grayish.front-top-page #header-container-in,
	.skin-grayish.front-top-page #header-container{
		height: 300px !important;
	}
	.skin-grayish.front-top-page .container .header-container .header .header-in {
		height: stretch;
  		justify-content: center !important;
  		text-align: left !important;
	}
	.skin-grayish:not(.front-top-page) .header-container-in.hlt-center-logo-top-menu {
		height: 50px;
	}
/* 	#header {
		height: 300px;
	}
	#header-in {
		height: 300px;
	}
	#header-container-in {
		height: 300px;
	}
	#header-container {
		height: 300px;
	} */
	.logo-text {
		padding-top: 50px;
}
}
