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

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

/* === 景品表示法対応 === */
/* Cocoon設定本文上のPR表記 */
.pr-label-l {
    border-top: 1px dotted #333; /* 上の点線 */
    border-bottom: 1px dotted #333; /* テキスト下の点線 */
    border-left: none;
    border-right: none;
    border-radius: 0;
    font-size: 13px; /* 文字サイズ */
    color: #333; /* 文字の色 */
    text-align: center; /* テキスト中央揃え */
    background: #fff;
    padding: 3px 0;
    margin-bottom: 2em;
}

/* Q&Aの質問ごとに間を空ける */
dt {
    margin-top: 2em;
}

/*ポストのリストの投稿日を非表示*/
.post-date {
  display: none;
}

/*VOD比較表*/
.responsive-table {
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  margin-bottom: 2em;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 0.8em;
  text-align: left;
  vertical-align: top;
}

.responsive-table th {
  background-color: #f0f0f0;
  font-weight: bold;
  white-space: nowrap;
}

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

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

/*VOD比較表*/
@media screen and (max-width: 768px) {
  .responsive-table thead {
    display: none;
  }

  .responsive-table, 
  .responsive-table tbody, 
  .responsive-table tr, 
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 0.5em;
    background-color: #fafafa;
  }

  .responsive-table td {
    text-align: left;
    padding-left: 50%;
    position: relative;
  }

  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 1em;
    width: 45%;
    font-weight: bold;
    white-space: nowrap;
  }
}

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