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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ===================================
   スマホ向け表示改善CSS
=================================== */

/* ヘッダーのサイト名を表示（非表示になっていたため修正） */
.logo-header {
  display: block;
}

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

/*834px以下（スマホ・タブレット向け）*/
@media screen and (max-width: 834px){
  /* ヘッダーのサイト名フォントサイズ調整 */
  #header .site-name-text {
    font-size: 18px;
    line-height: 1.4;
  }

  /* ヘッダー内の余白調整 */
  #header-in {
    padding: 10px 16px;
  }

  /* 広告エリアを1列表示に */
  .ad-area {
    display: block;
  }

  /* 記事内広告の幅を100%に */
  .ad-area ins,
  .ad-area iframe {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* 見出しのフォントサイズ調整 */
  h1.article-title {
    font-size: 20px;
    line-height: 1.5;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  /* 記事カードのタップエリアを確保 */
  .entry-card-link {
    padding: 12px 8px;
  }

  /* フッターナビの文字サイズ */
  .navi-footer-in {
    font-size: 14px;
  }
}

/*480px以下（スマホ小サイズ向け）*/
@media screen and (max-width: 480px){
  /* サイト名フォントサイズ調整 */
  #header .site-name-text {
    font-size: 16px;
  }

  /* 記事タイトルのフォントサイズ調整 */
  h1.article-title {
    font-size: 18px;
  }

  /* ボタンのタップエリア確保 */
  .btn {
    padding: 12px 20px;
    font-size: 15px;
  }
}