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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* モザイクをかけるクラス */
.mosaic {
  filter: blur(3px); /* モザイクの強度 */
  transition: filter 0.3s ease; /* アニメーション */
}

/* モザイク解除済みの状態 */
.mosaic.unblur {
  filter: none; /* モザイク解除 */
}

.entry-content h2 {
  font-size: 1.4rem;
  font-weight: 500;
  margin: 2rem 0;
  padding: 0.4rem;
  background-color: #faf3e7;
  border-left: solid 5px #9b8c6e;
}
article.post > header {
  width: 100%;
  background: #f7f4f0;
}
article.post, .under-entry-content {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: 25px;
  padding-right: 25px;
}
.article-header {
  width: 100%;
  padding: 20px 15px; /* 内部余白の追加 */
  height: auto; /* 高さを自動調整 */
}
.entry-title {
  white-space: normal; /* テキストを折り返す */
  word-wrap: break-word; /* 長い単語を折り返す */
  line-height: 1.5; /* 行間を広げる */
  font-size: 1.6rem;
  padding: 0.1rem;
}
.entry-content {
  margin-top: 40px !important;
  line-height: 1.4rem;
}
.entry-content strong {
  background-color:#f6e85e;
  color: black;
  padding:0 8px;
}

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

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

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


.case-thumbs {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 820px;
  margin: 0 auto;
}

.case-thumbs .thumb {
  flex: 1 1 45%;
  text-align: center;
}

.case-thumbs .thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.case-thumbs .label {
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

/* 陰茎増大カテゴリ｜スマホ対応：縦並び */
/* 陰茎増大カテゴリ 専用スタイル：全体構造 */
.custom-inkei-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
}

@media screen and (min-width: 768px) {
  .custom-inkei-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 各記事カード */
.custom-inkei-item {
  border: 1px solid #ddd;
  padding: 15px;
  background-color: #fff;
  transition: box-shadow 0.3s;
}

.custom-inkei-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* アイキャッチ */
.custom-inkei-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

/* タイトル */
.custom-inkei-title {
  font-size: 1.1rem;
  margin: 10px 0 5px;
  font-weight: bold;
}

@media screen and (min-width: 768px) {
  .article h2.custom-inkei-title {
    font-size: 1.1rem;
    font-weight: normal;
    margin: 8px 0 4px;
    padding: 0;
    background-color: transparent;
    border: none;
    min-height: 3em;
    display: flex;
    align-items: flex-start;
    overflow-wrap: break-word;
  }
}

/* 概要 */
.custom-inkei-excerpt {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #444;
  margin-top: 6px;
}

/* 見出し：カテゴリタイトル（h2） */
.article h2.inkei-category-title {
  font-size: 1rem !important;
  padding: 0 !important;
  margin: 8px 0 4px !important;
  font-weight: normal !important;
  background-color: transparent !important;
  border: none !important;
}

/* 固定ページのカスタム　デフォルト：スマホ表示（モバイルファースト） */
.custom-fixed-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
@media screen and (max-width: 768px) {
  article.custom-fixed-page {
    max-width: 100%;
    padding: 0 12px;
  }
}

.entry-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 1.5rem 0 1rem;
  padding: 0.4rem 0.8rem;
  background-color: #fcf8f1;
  border-left: solid 3px #bfb5a6;
  color: #333;
}
