@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.simple-page,
body.simple-page #container,
body.simple-page .container,
body.simple-page .content,
body.simple-page .content-in {
  background-image: none !important;
  background-color: #fff !important;
}

/* サイドバー（検索・カテゴリー等）を非表示にして1カラムに */
body.simple-page .sidebar {
  display: none !important;
}

/* 本文エリアの外枠を画面幅いっぱいにする（左寄りの原因を解除） */
body.simple-page #content .content-in,
body.simple-page .content-in {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* 本文を読みやすい幅にして中央寄せ */
body.simple-page #main,
body.simple-page .main {
  float: none !important;
  width: 100% !important;
  max-width: 860px !important;
  margin: 0 auto !important;
  padding: 40px 24px;
  border: none;
  box-shadow: none;
}
body.simple-page .entry-content {
  font-size: 16px;
  line-height: 1.9;
}

/* ページタイトルを中央に */
body.simple-page .entry-title {
  text-align: center;
}

/* 見出し（h2）をシンプルな下線に */
body.simple-page .entry-content h2 {
  font-size: 1.25em;
  margin-top: 2.5em;
  padding: 0 0 .4em;
  background: none;
  border: none;
  border-bottom: 2px solid #333;
}

/* 特商法の表 */
body.simple-page .entry-content table {
  width: 100%;
  border-collapse: collapse;
}
body.simple-page .entry-content th,
body.simple-page .entry-content td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
body.simple-page .entry-content th {
  width: 30%;
  background: #f7f7f7;
  font-weight: bold;
}

/* 本文エリア内のSNSシェア・フォローボタンを非表示（フッターのボタンは残す） */
body.simple-page .main .sns-share,
body.simple-page .main .sns-follow,
body.simple-page .a2a_floating_style,
body.simple-page .sharedaddy {
  display: none !important;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
  body.simple-page .main {
    padding: 24px 16px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  /* スマホでは特商法の表を縦並びに */
  body.simple-page .entry-content th,
  body.simple-page .entry-content td {
    display: block;
    width: 100%;
  }
  body.simple-page .entry-content th {
    border-bottom: none;
  }
}