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

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

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

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

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


/************************/
/* 固定ページの不要情報を非表示 */
/************************/
.page .date-tags, /*投稿日・更新日*/
.page .author-info, /*投稿者情報*/
.page .eye-catch-wrap { /*アイキャッチ*/
  display: none;
}

/* ヘッダーが画面幅いっぱいに表示されるように */
#header-container .wrap {
  width: auto;
}
/* ヘッダーに影 */
.header-container {
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 25%);
}

/* キャッチフレーズを大きめに表示 */
.header-container {
  padding-top: 40px;
}
.tagline {
  height: 40px;
  font-size: 20px;
  line-height: 40px;
}
@media screen and (max-width: 834px){
  .tagline {
    font-size: 12px;
  }
}

/* アピールエリアの画像が鮮明に見えるように */
.appeal-content {
  background-color: transparent;
}

/* 画像リンクにマウスオーバーした時に色が変わるように */
a img {
  transition: all 0.3s ease-out;
}
a:hover img {
  opacity: 0.7;
}

/* ギャラリーウィジェットはスマホでは2列に表示 */
@media screen and (max-width: 480px){
  #gallery-1 dl.gallery-item {
    width: 50%;
    margin-bottom: 0;
  }
}

/* YouTube埋め込みの揃え位置が設定した通りになるように */
.video-container {
  margin-left: auto;
  margin-right: auto;
}

/* iframeが中央揃えで表示されるように */
.entry-content iframe {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* SILKにより見出しに数字が表示されるのを非表示に */
.entry-content h2>span::before {
  content: "";
}

/* Contact Form 7のスピナーを非表示に */
.btn-submit .wpcf7-spinner {
  display: none;
}

/* モバイルで読み込み前の広告スペースを確保 */
@media (max-width: 480px) {
  .ad-wrap {
    min-height: calc(100vw - 60px);
  }
}