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

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

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

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

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

/* インラインボタン（塗りつぶしスタイル）*/
.inline-button-black {
  border-color: #38b48b;
  background-color: #38b48b;
}

.inline-button-red {
  border-color: #ff9900;
  background-color: #ff9900;
}

.inline-button-blue {
  border-color: #4ea6cc;
  background-color: #4ea6cc;
}

.inline-button-green {
  border-color: #56970a;
  background-color: #56970a;
}

/* インラインボタンのフォントサイズ */
[class*="inline-button-"]{
	font-size: 17px;
}

/* インラインボタンの幅 */
[class*="inline-button-"]{
	width: 100px;
}

/* インラインボタンを丸く */
[class*="inline-button-"] {
	border-radius: 30px; /* 少し丸くする */
}

/* 見出しリセット */
/* 見出し2 */
.article h2{
background: none;
border-top: 0;
border-right: 0;
border-bottom: 0;
border-left: 0;
padding: 0;
}

/* 見出しカスタマイズ */
/* 見出し2 */
.article h2 {
padding: 0.5em; /* 文字周りの余白 */
border-radius: 100px; /* 角を丸く */
background: #000000; /* 背景色 */
color: #ffffff; /* 文字色 */
font-size: 20px; /* フォントサイズ */
}

/* 画像にホバーエフェクト */
a:hover img{
  opacity: 0.6; /*不透明度*/
  transition: all 0.8s ease; /*アニメーション*/
}

/* インデックスのタイトルを折り返さない */
.entry-card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ヘッダーロゴ左寄せ */
.logo {
	text-align: left;
}

/* ヘッダーの検索窓 */
.header-in {
  position: relative;
}

.header-in .search-box {
  position: absolute;
  top: 60%;
  right: 200px;
  margin: 0;
  width: 280px;
  transform: translateY(-50%);
}

/* 検索窓のデザイン */
.header-in input[type="text"] {
  padding: 8px 14px 8px 40px;
  font-size: 14px;
  background: #edf6f9;
  border: 1px solid #9fcde1;
  border-radius: 16px 16px 16px 16px / 50% 50% 50% 50%;
}

.header-in .search-submit {
  left: 3px;
  right: auto;
  color: #378cb0;
}

/* 1023px以下以下で検索窓を非表示 */
@media screen and (max-width: 1023px) {
  .header-in .search-box {
    display: none;
  }
}

/* ヘッダーのフォローボタン */
.header-in .sns-follow-buttons {
  position: absolute;
  top: 60%;
  right: 0px;
  margin: 0;
  width: 200px;
  transform: translateY(-50%);
}

/* 1023px以下でフォローボタンを非表示 */
@media screen and (max-width: 1023px) {
  .header-in .sns-follow-buttons {
    display: none;
  }
}
