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

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

body{
	background-image : none;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
/* パンくずリストの修正（先頭にドットを追加） */
.breadcrumb-home{
	color: black;
	font-size: 14px;
}

.breadcrumb-item{
	color: black;
	font-size: 14px;
}

.breadcrumb-caption{
	color: black;
	font-size: 14px;
	font-weight: bold;
}

#container {
  max-width: 1200px;
  margin: 0 auto;
}

/* アフィリエイト広告を中央寄せにする修正版 */
.article table {
  margin-left: auto !important;
  margin-right: auto !important;
}

.article table tr td div {
  width: 100% !important;
  text-align: center;
}

.article table tr td div table tr td {
  display: block;
  border: unset !important;
  width: 90% !important;
  margin-left: auto;
  margin-right: auto;
}
/* 投稿記事（single）限定の横はみ出し対策 */
@media screen and (max-width: 834px) {
  /* 1. 長いURLや英単語が画面を突き抜けるのを防ぐ */
  .single .entry-content {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* 2. 埋め込み動画・地図・広告枠が画面幅を超えないようにする */
  .single .entry-content iframe,
  .single .entry-content ins,
  .single .entry-content object,
  .single .entry-content embed {
    max-width: 100% !important;
  }

  /* 3. テーブル（表）やスクロール枠が親枠を押し広げるのを防ぐ */
  .single .entry-content table {
    display: block !important;
    overflow-x: auto !important;
    max-width: 100% !important;
  }
}