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

/************************************
** サイト共通
************************************/

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-5 {
  margin-bottom: 5px !important;
}
.mb-10 {
  margin-bottom: 10px !important;
}
.mb-15 {
  margin-bottom: 15px !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.mb-25 {
  margin-bottom: 25px !important;
}
.mb-30 {
  margin-bottom: 30px !important;
}
.mb-35 {
  margin-bottom: 35px !important;
}
.mb-40 {
  margin-bottom: 40px !important;
}

.content {
  margin-top: 0;
}
.main {
  padding-top: 0;
  padding-bottom: 0;
}
.logo-text {
  padding: 20px 0;
}

/************************************
** 記事一覧
************************************/
.entry-card-thumb {
  width: 240px;
}
.entry-card-content {
  margin-left: 250px;
}
.entry-card-title {
  font-size: 24px;
  line-height: 1.2;
  margin: 0;
  -webkit-line-clamp: 6;
}
.entry-card-meta {
  position: relative;
}
.entry-card-content a,
.entry-card-content a:link,
.entry-card-content a:visited,
.entry-card-content a:active,
.entry-card-content a:focus {
  color: #000000;    /* 常に黒 */
  text-decoration: none;     /* 下線を消す場合 */
}
.entry-card-content a {
  -webkit-font-smoothing: antialiased;  /* Chrome/Safari */
  -moz-osx-font-smoothing: grayscale;   /* Firefox */
  transform: translateZ(0);             /* GPUレイヤーを分離 */
}
.entry-card-content a:hover {
  color: #c2002a;
}
.entry-card-content .entry-read {
  text-decoration: underline;
}

/************************************
** 個別ページ
************************************/
.entry-title {
  margin-bottom: 20px;
}
.pr-label-s {
  position: relative;
  top: 0;
  left: 0;
}
.pr-date-wrapper {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;           /* 高さを揃える */
  width: 100%;
  margin-bottom: 10px;
}
.date-tags {
  text-align: right; /* 保険的に右寄せ */
  margin-bottom: 0;
}
.entry-content {
  margin-top: 0;
  margin-bottom: 1em;
}
.content-button {
  text-align: center; /* 親 div で中央寄せ */
}
.erKokLinkWrapper a,
.content-button a {
  display: inline-block !important;
  padding: 14px 0 !important;               
  width: 100%;                   
  max-width: 680px;              
  background-color: #007acc;     
  color: #fff;
  font-weight: bold;
  font-size: 18px !important;               
  text-align: center;
  text-decoration: none;
  border-radius: 6px !important;            
  transition: opacity 0.3s ease;
}
.erKokLinkWrapper a:hover,
.content-button a:hover {
  opacity: 0.8; /* 少し薄くなる */
}
.erota-link {
  font-size: 1.3em;
}
.foryou-posts-list + .foryou-posts-list {
  margin-top: 2.5em;
}
.foryou-posts-list h2 {
  margin-bottom: .5em;
  padding: 20px;
  font-size: 24px;
}
.foryou-posts-list h2,
.foryou-posts-list p.erota-link {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}
.article h4.erKokMidashi {
  margin-bottom: 10px;
}

/************************************
** サイドバー
************************************/

div.sidebar {
  padding-top: 0;
  padding-bottom: 0;
}
.sidebar h3 {
  margin: 0 0 16px 0;
}

/************************************
** フッター
************************************/

.footer {
  margin: 0;
}

/************************************
** 広告
************************************/

ins.widget-banner {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

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

/*834px以下*/
@media screen and (max-width: 834px){
  main.main {
    padding: 0 16px;
    margin: 0;
    border-width: 0;
  }
  div.sidebar {
    padding-top: 0;
    padding-bottom: 0;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .entry-card-thumb {
    width: 150px;
  }
  .entry-card-content {
    margin-left: 155px;
  }
  .entry-card-title {
    font-size: 16px;
  }
  .ect-entry-card .a-wrap:not(.ec-big-card-first) .card-meta {
    clear: none;
  }
  .entry-card-meta {
    position: initial;
  }
  .entry-title {
    margin-bottom: 15px;
    padding: 0;
  }
}
