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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* 見出し */
.article h1 {
  color: #333333;
  font-size: 22px;
}

.article h2 {
  position: relative;
  background-color: transparent !important;
  /* 背景を白（透明）にする */
  padding: 10px 0 10px 15px !important;
  /* 左側に少し余白をあける */
  color: #333333;
  font-size: 22px;
  font-weight: bold;
  border-left: none !important;
  /* 以前の太い左線を消す */
  border-bottom: 2px solid #e0e0e0 !important;
  /* 全体の細い下線（グレー） */
  border-radius: 0;
  /* 角丸をリセット */
  margin: 40px 0 20px !important;
}

/* 下線の左端だけ色を変える（緑のアクセント） */
.article h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  /* 親要素の下線に重ねる */
  width: 80px;
  /* 緑色の線の長さ */
  height: 2px;
  /* 緑色の線の太さ */
  background-color: #2ecc71 !important;
  /* アクセントカラー（緑） */
}

.article h3 {
  padding: .6em;
  border-left: 5px solid #2ecc71;
  border-top: none;
  border-right: none;
  border-bottom: none;
  color: #333333;
  font-size: 18px;
}

/* 全てのh4：左寄せ・文字幅・複数行対応の決定版 */
.article h4 {
  display: block !important;
  /* 安定のブロック形式で回り込みを防止 */
  text-align: left !important;
  /* 確実に左寄せ */
  width: 100% !important;
  margin: 40px 0 20px 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  clear: both !important;
}

/* 文字の部分だけに線を引くための指定（複数行対応） */
.article h4 {
  color: #333 !important;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8 !important;
  /* 行間を広げて重なりを物理的に防ぐ */
}

/* spanを使わなくても文字だけに下線を引く指定 */
.article h4 {
  text-decoration: underline solid #333 2px !important;
  text-underline-offset: 0.3em;
  /* 文字からの距離をフォントサイズ基準で指定 */
  text-decoration-skip-ink: none;
  /* 線が文字の足で切れないようにする */
}

.article h6 {
  font-size: 18px;
  border-bottom: none;
}

.related-entry-card-title,
.entry-card-title {
  -webkit-line-clamp: 2;
}

.related-entry-card-snippet,
.entry-card-snippet {
  -webkit-line-clamp: 2 !important;
}


/* 検索窓を丸くする */
input.search-edit {
  border-radius: 40px;
  /*角丸の大きさの指定*/
}

/* お問い合わせ必須フィールドのラベルスタイル */
.wpcf7-form .required {
  background-color: #ff0000;
  /* レッド */
  color: #ffffff;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 10px;
  font-size: 12px;
}

#wpcf7-area input[type=”checkbox”],
#wpcf7-area input[type=”radio”] {
  appearance: auto;
}

.wpcf7 input[type="submit"] {
  width: 50%;
  padding: 15px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border: none;
  background: #c8161d;
  color: #fff;
  transition: 0.3s;
  font-weight: bold;
  font-size: 16px;
}

.page .date-tags,
.page .author-info {
  display: none;
}

a {
  text-decoration: none;
}

.navi-footer-in a {
  font-size: 13px;
}

.copyright {
  font-size: 11px !important;
  /* コピーライトサイズ */
}

.pr-label {
  font-size: 10px !important;
  text-align: left;
  /* PRサイズ */
}

/* サイドバー見出し */
.sidebar h3 {
  background: transparent;
  /* 背景を透明にする */
}


/************************************
** 管理画面のカスタマイズから転記
************************************/

/* ========================================
 * カテゴリーアイコン共通
 * ======================================== */

.widget_categories ul li a::before {
  content: "" !important;
  display: inline-block !important;

  width: 26px !important;
  height: 26px !important;

  margin-right: 14px !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  vertical-align: middle !important;

  font-family: initial !important;
  font-weight: normal !important;
}

/* 親カテゴリーアイコン：本番用 */
#categories-6.widget_categories > ul > li > a::before {
  width: 35px !important;
  height: 35px !important;
  min-width: 35px !important;
  flex-basis: 35px !important;

  background-size: contain !important;
  background-color: transparent !important;
}

/*--------------------------------
カテゴリーID(ランキング)のアイコン
--------------------------------*/
.widget_categories li.cat-item-85>a::before {
   background-image: url("/wp-content/uploads/category-icons/01-ranking.png") !important;
}

/*--------------------------------
カテゴリーID(セール)のアイコン
--------------------------------*/
.widget_categories li.cat-item-12>a::before {
  background-image: url("/wp-content/uploads/category-icons/02-campaign.png") !important;
}

/*--------------------------------
カテゴリーID(家電)のアイコン
--------------------------------*/
.widget_categories li.cat-item-3>a::before {
  background-image: url("/wp-content/uploads/category-icons/03-home-appliance.png") !important;
}

/*--------------------------------
カテゴリーID(パソコン)のアイコン
--------------------------------*/
.widget_categories li.cat-item-4>a::before {
  background-image: url("/wp-content/uploads/category-icons/04-pc.png") !important;
}

/*--------------------------------
カテゴリーID(ビューティー)のアイコン
--------------------------------*/
.widget_categories li.cat-item-6>a::before {
  background-image: url("/wp-content/uploads/category-icons/05-beauty.png") !important;
}

/*--------------------------------
カテゴリーID(ヘルスケア)のアイコン
--------------------------------*/
.widget_categories li.cat-item-7>a::before {
  background-image: url("/wp-content/uploads/category-icons/06-healthcare.png") !important;
}

/*--------------------------------
カテゴリーID(ファッション)のアイコン
--------------------------------*/
.widget_categories li.cat-item-25>a::before {
  background-image: url("/wp-content/uploads/category-icons/07-fashion.png") !important;
}

/*--------------------------------
カテゴリーID(ベビー・キッズ)のアイコン
--------------------------------*/
.widget_categories li.cat-item-16>a::before {
  background-image: url("/wp-content/uploads/category-icons/08-kids.png") !important;
}

/*--------------------------------
カテゴリーID(アウトドア)のアイコン
--------------------------------*/
.widget_categories li.cat-item-18>a::before {
  background-image: url("/wp-content/uploads/category-icons/09-outdoor.png") !important;
}

/*--------------------------------
カテゴリーID(旅行)のアイコン
--------------------------------*/
.widget_categories li.cat-item-28>a::before {
  background-image: url("/wp-content/uploads/category-icons/13-travel.png") !important;
}

/*--------------------------------
カテゴリーID(インターネット)のアイコン
--------------------------------*/
.widget_categories li.cat-item-10>a::before {
  background-image: url("/wp-content/uploads/category-icons/15-internet.png") !important;
}

/*--------------------------------
カテゴリーID(インテリア)のアイコン
--------------------------------*/
.widget_categories li.cat-item-20>a::before {
  background-image: url("/wp-content/uploads/category-icons/10-interior.png") !important;
}

/*--------------------------------
カテゴリーID(ペット)のアイコン
--------------------------------*/
.widget_categories li.cat-item-21>a::before {
  background-image: url("/wp-content/uploads/category-icons/11-pet.png") !important;
}

/*--------------------------------
カテゴリーID(車)のアイコン
--------------------------------*/
.widget_categories li.cat-item-22>a::before {
  background-image: url("/wp-content/uploads/category-icons/14-car-bike.png") !important;
}

/*--------------------------------
カテゴリーID(食品)のアイコン
--------------------------------*/
.widget_categories li.cat-item-41>a::before {
  background-image: url("/wp-content/uploads/category-icons/16-food.png") !important;
}


/*--------------------------------
カテゴリーID(ギフト)のアイコン
--------------------------------*/
.widget_categories li.cat-item-29>a::before {
  background-image: url("/wp-content/uploads/category-icons/17-gift.png") !important;
}


/*--------------------------------
カテゴリーID(脱毛)のアイコン
--------------------------------*/
.widget_categories li.cat-item-13>a::before {
  background-image: url("/wp-content/uploads/category-icons/12-hair-removal.png") !important;
}

/*--------------------------------
カテゴリーID(コスメ)のアイコン
--------------------------------*/
.widget_categories li.cat-item-5>a::before {
   background-image: url("/wp-content/uploads/category-icons/18-cosme.png") !important;
}

/*--------------------------------
カテゴリーID(釣り)のアイコン
--------------------------------*/
.widget_categories li.cat-item-23>a::before {
   background-image: url("/wp-content/uploads/category-icons/19-fishing.png") !important;
}

/*--------------------------------
カテゴリーID(釣り)のアイコン
--------------------------------*/
.widget_categories li.cat-item-24>a::before {
   background-image: url("/wp-content/uploads/category-icons/20-sports.png") !important;
}

/*--------------------------------
カテゴリーID(ドリンク)のアイコン
--------------------------------*/
.widget_categories li.cat-item-17>a::before {
   background-image: url("/wp-content/uploads/category-icons/21-drink.png") !important;
}

/*--------------------------------
カテゴリーID(転職)のアイコン
--------------------------------*/
.widget_categories li.cat-item-14>a::before {
   background-image: url("/wp-content/uploads/category-icons/22-business.png") !important;
}

/*--------------------------------
カテゴリーID(その他)のアイコン
--------------------------------*/
.widget_categories li.cat-item-121>a::before {
   background-image: url("/wp-content/uploads/category-icons/23-etc.png") !important;
}

/* 記事本文内のバナー広告リンクを強制的に中央へ */
.entry-content a>img[width][height] {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

/*************************************************
 * サイドバー：カテゴリー一覧
 *************************************************/


/* ========================================
 * カテゴリー行 共通
 * ======================================== */

.widget_categories ul li a {
  display: flex;
  align-items: center;

  padding: 15px 1px 15px 10px;

  border-bottom: 1px dashed #CCCCCC;

  font-size: 14px !important;
  line-height: 1.45 !important;
}


/* カテゴリー名 */
#categories-6.widget_categories .list-item-caption {
  font-weight: 550 !important;
}


/* ========================================
 * 親カテゴリー：PNGアイコン
 * ======================================== */

#categories-6.widget_categories > ul > li > a::before {
  content: "" !important;

  display: inline-block !important;

  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  flex-basis: 34px !important;
  flex-shrink: 0 !important;

  margin-right: 14px !important;
  padding: 0 !important;

  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;

  font-family: initial !important;
  font-size: 0 !important;
  font-weight: normal !important;

  vertical-align: middle !important;
}


/* ========================================
 * 各カテゴリー：PNGアイコン
 * ======================================== */

/* おすすめランキング */
.widget_categories li.cat-item-85 > a::before {
  background-image: url("/wp-content/uploads/category-icons/01-ranking.png") !important;
}

/* セール・キャンペーン */
.widget_categories li.cat-item-12 > a::before {
  background-image: url("/wp-content/uploads/category-icons/02-campaign.png") !important;
}

/* 家電 */
.widget_categories li.cat-item-3 > a::before {
  background-image: url("/wp-content/uploads/category-icons/03-home-appliance.png") !important;
}

/* パソコン・周辺機器 */
.widget_categories li.cat-item-4 > a::before {
  background-image: url("/wp-content/uploads/category-icons/04-pc.png") !important;
}

/* ビューティー */
.widget_categories li.cat-item-6 > a::before {
  background-image: url("/wp-content/uploads/category-icons/05-beauty.png") !important;
}

/* ヘルスケア */
.widget_categories li.cat-item-7 > a::before {
  background-image: url("/wp-content/uploads/category-icons/06-healthcare.png") !important;
}

/* ファッション */
.widget_categories li.cat-item-25 > a::before {
  background-image: url("/wp-content/uploads/category-icons/07-fashion.png") !important;
}

/* ベビー・キッズ */
.widget_categories li.cat-item-16 > a::before {
  background-image: url("/wp-content/uploads/category-icons/08-kids.png") !important;
}

/* アウトドア・キャンプ */
.widget_categories li.cat-item-18 > a::before {
  background-image: url("/wp-content/uploads/category-icons/09-outdoor.png") !important;
}

/* インテリア・家具 */
.widget_categories li.cat-item-20 > a::before {
  background-image: url("/wp-content/uploads/category-icons/10-interior.png") !important;
}

/* ペット用品 */
.widget_categories li.cat-item-21 > a::before {
  background-image: url("/wp-content/uploads/category-icons/11-pet.png") !important;
}

/* 脱毛 */
.widget_categories li.cat-item-13 > a::before {
  background-image: url("/wp-content/uploads/category-icons/12-hair-removal.png") !important;
}

/* 旅行 */
.widget_categories li.cat-item-28 > a::before {
  background-image: url("/wp-content/uploads/category-icons/13-travel.png") !important;
}

/* 車・バイク */
.widget_categories li.cat-item-22 > a::before {
  background-image: url("/wp-content/uploads/category-icons/14-car-bike.png") !important;
}

/* インターネット回線 */
.widget_categories li.cat-item-10 > a::before {
  background-image: url("/wp-content/uploads/category-icons/15-internet.png") !important;
}

/* 食品 */
.widget_categories li.cat-item-41 > a::before {
  background-image: url("/wp-content/uploads/category-icons/16-food.png") !important;
}

/* ギフト・プレゼント */
.widget_categories li.cat-item-29 > a::before {
  background-image: url("/wp-content/uploads/category-icons/17-gift.png") !important;
}

/* コスメ・化粧品 */
.widget_categories li.cat-item-5 > a::before {
  background-image: url("/wp-content/uploads/category-icons/18-cosme.png") !important;
}

/* 釣り */
.widget_categories li.cat-item-23 > a::before {
  background-image: url("/wp-content/uploads/category-icons/19-fishing.png") !important;
}

/* スポーツ */
.widget_categories li.cat-item-24 > a::before {
  background-image: url("/wp-content/uploads/category-icons/20-sports.png") !important;
}

/* ドリンク・お酒 */
.widget_categories li.cat-item-17 > a::before {
  background-image: url("/wp-content/uploads/category-icons/21-drink.png") !important;
}

/* 就職・転職 */
.widget_categories li.cat-item-14 > a::before {
  background-image: url("/wp-content/uploads/category-icons/22-business.png") !important;
}

/* その他 */
.widget_categories li.cat-item-121 > a::before {
  background-image: url("/wp-content/uploads/category-icons/23-etc.png") !important;
}


/* ========================================
 * 子カテゴリー
 * ======================================== */

.widget_categories ul li ul li > a::before {
  content: "›" !important;

  background: none !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 16px !important;
  height: 20px !important;

  margin-right: 8px !important;
  padding: 0 !important;

  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1 !important;

  color: #888 !important;

  flex: 0 0 16px !important;
}


/* 子カテゴリー文字 */
.widget_categories ul li ul li > a {
  font-size: 13px !important;
  font-weight: 400 !important;
}


/* ========================================
 * 最初の親カテゴリー
 * ======================================== */

.widget_categories > ul > li:first-child > a {
  border-top: none !important;
}

/************************************
** SNS ボタンをまとめて丸くする
************************************/

/*シェア・フォローボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons,
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	justify-content: center; /*中央に寄せる*/
	flex-wrap: wrap; /*折り返す*/
}

/*シェア・フォローボタンのリンク*/
.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
}

/*プロフィールウィジェットのリンク*/
.sns-follow.sf-profile .sns-buttons a {
	border-radius: 50%; /*丸み*/
}

/*シェアボタンのアイコン*/
.sns-share.ss-top .sns-buttons a .social-icon,
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 18px; /*アイコンの大きさ*/
}

/*フォローボタンのアイコン*/
.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px; /*アイコンの大きさ*/
}

/*シェアボタンのキャプション*/
.sns-share.ss-top .sns-buttons a .button-caption,
.sns-share.ss-bottom .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*シェア・フォローボタンのシェア数*/
.sns-share.ss-top .sns-buttons a .share-count,
.sns-share.ss-bottom .sns-buttons a .share-count,
.sns-follow.sf-bottom .sns-buttons a .follow-count,
.sns-follow.sf-widget .sns-buttons a .follow-count {
	right: -2px; /*右側からの距離*/
	bottom: -2px; /*下側からの距離*/
	padding: 2px; /*内側の余白*/
	font-size: 10px; /*文字の大きさ*/
	border: solid 1px; /*線*/
	border-radius: 3px; /*丸み*/
	background-color: inherit; /*背景色*/
}

/*シェア数の表示が必要ないシェア・フォローボタン*/
.sns-share.ss-top .sns-buttons a .share-count:empty,
.sns-share.ss-bottom .sns-buttons a .share-count:empty,
.sns-follow.sf-bottom .sns-buttons a .follow-count:empty,
.sns-follow.sf-widget .sns-buttons a .follow-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}

/*  ヘッダー高さ変更 */
.header-container-in.hlt-top-menu .logo-header {
	display: flex;
  align-items: center;
	height: 88px;
	max-height: none;
}

/*  ロゴサイズ変更 */
.header-container-in.hlt-top-menu .logo-header img {
	width: 235px;
	max-height: none;
}

/************************************
** ランキング　h6
************************************/
/* 記事全体のリセットを削除、または無効化し、
   特定のクラス（rank-group）でリセットするように変更 */
.rank-group {
  counter-reset: rank-counter;
}

/* 記事全体で数字をリセット */
.entry-content {
  counter-reset: rank-counter;
}

/* 基本デザイン：クラス名に「rank」が含まれるh6共通 */
.article h6.rank {
  position: relative;
  display: block;
  margin: 15px 0 15px !important; 
  padding: 5px 0 5px 75px !important;
  background: transparent !important;
  color: #333 !important;
  font-size: 18px;
  font-weight: bold;
  border: none !important;
}

/* アイコンの共通設定（4位以下のグレーを基本にする） */
.article h6.rank::before {
  counter-increment: rank-counter;
  content: counter(rank-counter) "位";
  
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 35px;
  line-height: 35px;
  background: #999 !important; /* 基本はグレー */
  color: #fff !important;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
}

/* 1位〜3位の色を「クラス名」で上書きする（優先度を上げています） */
.article h6.rank.rank1::before { background: #eab308 !important; }
.article h6.rank.rank2::before { background: #94a3b8 !important; }
.article h6.rank.rank3::before { background: #b48a78 !important; }

/*************************************************
 * 5. テーブル
 *************************************************/

/* 固定テーブル */
table.has-fixed-layout {
  table-layout: auto !important;
  width: 100% !important;
  border: none !important;
  background-color: transparent !important;
  border-collapse: collapse !important;
  margin-bottom: 2em;
}

/* セル共通 */
table.has-fixed-layout tr,
table.has-fixed-layout th,
table.has-fixed-layout td {
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid #ddd !important;
  padding: 18px 10px !important;
  text-align: left;
  vertical-align: middle;
}

/* 1列目 */
table.has-fixed-layout tr th:first-child,
table.has-fixed-layout tr td:first-child {
  width: auto !important;
  white-space: nowrap !important;
  font-weight: bold;
  color: #333 !important;
  padding-right: 30px !important;
}

/* 2列目以降 */
table.has-fixed-layout tr th:nth-child(n+2),
table.has-fixed-layout tr td:nth-child(n+2) {
  width: auto !important;
  white-space: normal !important;
  padding-left: 10px !important;
}

/* Gutenberg固定レイアウト解除 */
table.is-style-fixed-layout {
  table-layout: auto !important;
  width: 100% !important;
}

/* テーブル内画像：表示枠を統一 */
table img {
  display: block !important;

  width: 65px !important;
  height: 65px !important;
  max-width: 65px !important;
  max-height: 65px !important;

  object-fit: contain !important;

  margin: 0 auto !important;
}

/* 画像セル */
table td:nth-child(3) {
  width: 95px !important;
  min-width: 95px !important;
  text-align: center !important;
}

/* テーブルヘッダー */
.entry-content table thead th {
  background-color: #f1f6f3 !important;
  color: #333 !important;
  font-weight: bold !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;

  vertical-align: middle !important;
}

/********************************************************
 * Pochipp 商品ボックス
 ********************************************************/

.pochipp-box {
  width: 100% !important;
  margin: 40px auto !important;
  padding: 0 0 30px !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  display: block !important;
  text-align: center !important;
}


/* ========================================
 * 商品画像
 * ======================================== */

.pochipp-box__image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 auto 30px !important;
  text-align: center !important;
}

.pochipp-box__image a {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

.pochipp-box__image img {
  display: block !important;
  width: 330px !important;
  max-width: 70% !important;
  height: auto !important;
  max-height: 360px !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}


/* ========================================
 * 商品情報
 * ======================================== */

.pochipp-box__main {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

.pochipp-box__info {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

.pochipp-box__title {
  width: 100% !important;
  margin: 0 auto 25px !important;
  text-align: center !important;
}

.pochipp-box__price,
.pochipp-box__detail {
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
}


/* ========================================
 * 購入ボタン：PC・共通
 * ======================================== */

.pochipp-box__btns {
  width: 100% !important;
  margin: 20px auto 0 !important;
}

/* 各購入ボタン */
.pochipp-box__btn {
  box-sizing: border-box !important;

  min-height: 54px !important;
  padding: 14px 12px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  line-height: 1.3 !important;

  /* 控えめな角丸 */
  border-radius: 4px !important;
}



/* ========================================
 * Pochippロゴ
 * ======================================== */

.pochipp-box__footer {
  position: static !important;
  display: block !important;
  width: 100% !important;
  margin-top: 10px !important;
  text-align: right !important;
}

/* ========================================
 * スマホ
 * ======================================== */

@media screen and (max-width: 768px) {

  /* Pochipp全体 */
  .pochipp-box {
    margin: 30px auto !important;
  }

  /* 商品画像 */
  .pochipp-box__image img {
    width: 280px !important;
    max-width: 85% !important;
  }

  /* ========================================
   * 購入ボタン
   * ======================================== */

  /* ボタンエリアを左右に少し広げる */
  .pochipp-box__btns {
    width: calc(100% + 40px) !important;
    max-width: none !important;

    margin-top: 22px !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }

  /* Amazon・楽天・Yahooの各ボタン枠 */
  .pochipp-box__btnwrap {
    width: 100% !important;
    max-width: none !important;

    margin: 0 auto 3px !important;
  }

  /* 実際の購入ボタン */
  .pochipp-box__btn {
    box-sizing: border-box !important;

    width: 100% !important;
    max-width: none !important;
    min-height: 50px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 15px 12px !important;

    font-size: 17px !important;
    line-height: 1.3 !important;
	border-radius: 4px !important;
  }

}

/* =========================================
   ページネーション
========================================= */

/* 「次のページ」ボタンを非表示 */
.pagination-next-link {
  display: none !important;
}

/* ページネーション全体 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 45px auto;
}

/* ページ番号 */
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #333;
  font-size: 17px;
  font-weight: 400;
  text-decoration: none;
}

/* 現在のページ */
.pagination .page-numbers.current {
  background: #f5f5f5;
}

/* 「…」 */
.pagination .dots {
  width: auto;
}

/* 左右の矢印 */
.pagination .prev,
.pagination .next {
  width: 30px;
}

.pagination .prev::before,
.pagination .next::before {
  font-size: 25px;
}

/* スマホ */
@media screen and (max-width: 768px) {
  .pagination {
    gap: 5px;
    margin: 35px auto;
  }

  .pagination .page-numbers {
    width: 35px;
    height: 35px;
    font-size: 15px;
  }

  .pagination .prev,
  .pagination .next {
    width: 22px;
  }

  .pagination .prev::before,
  .pagination .next::before {
    font-size: 22px;
  }
}

/* ========================================
 * Pochipp 価格表示
 * ======================================== */

/* 価格本体 */
.pochipp-box__price {
  display: block !important;
  width: 100% !important;

  margin: 10px auto 0 !important;

  text-align: center !important;

  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  color: #e64a35 !important;
}

/* 日時・Amazon調べ */
.pochipp-box__price span {
  display: block !important;

  margin-top: 3px !important;

  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;

  color: #777 !important;
}

/* Pochippロゴを非表示 */
.pochipp-box__logo {
  display: none !important;
}

/*************************************************
 * モバイル：スクロール量に応じて徐々に縮小
 *************************************************/
@media screen and (max-width: 767px) {

  #header-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background: #fff !important;
  }

  #header,
  #header .header-in,
  #header .logo-header {
    height: calc(70px - (24px * var(--header-shrink, 0))) !important;
    min-height: calc(70px - (24px * var(--header-shrink, 0))) !important;
  }

  #header,
  #header .header-in,
  #header .logo-header,
  #header .header-site-logo-image {
    transition: none !important;
  }

  #header .logo-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #header .header-site-logo-image {
    max-height: calc(44px - (12px * var(--header-shrink, 0))) !important;
    width: auto !important;
  }
}

/* ========================================
 * モバイル：サイドバー表示中は固定ヘッダーを隠す
 * ======================================== */

@media screen and (max-width: 767px) {

  body:has(#sidebar-menu-input:checked) #header-container {
    display: none !important;
  }

}

/* ========================================
 * モバイルサイドメニュー：CLOSEボタン
 * ======================================== */

@media screen and (max-width: 767px) {

  #sidebar-menu-content .menu-close-button {
    display: block !important;

    width: fit-content !important;
    height: auto !important;

    margin: 18px auto 20px !important;
    padding: 7px 18px !important;

    background: #f7f7f7 !important;
    border: 1px solid #ddd !important;
    border-radius: 20px !important;

    color: transparent !important;

    font-size: 0 !important;
    line-height: 1 !important;

    text-align: center !important;
    cursor: pointer !important;

    box-shadow: none !important;
  }

  /* CLOSE文字 */
  #sidebar-menu-content .menu-close-button::after {
    content: "CLOSE";

    color: #555 !important;

    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;

    line-height: 1 !important;
  }

}

/
/************************************************
 * おすすめポイント / もう一歩
 ************************************************/

/* ========================================
 * 2カラム全体
 * ======================================== */

.point-compare {
  display: flex !important;
  align-items: stretch !important;
  gap: 28px !important;
}


/* ========================================
 * PC：左右50：50
 * ======================================== */

@media screen and (min-width: 769px) {

  .point-compare > .wp-block-column {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    display: flex !important;
  }

}


/* ========================================
 * 左右ボックス共通
 * ======================================== */

.point-good,
.point-more {
  width: 100% !important;
  height: 100% !important;

  box-sizing: border-box !important;

  margin: 0 !important;
  padding: 0 28px 26px !important;

  background-color: #fff !important;

  border-style: solid !important;
  border-width: 1px !important;
  border-radius: 7px !important;

  overflow: hidden !important;
}


/* ========================================
 * おすすめポイント
 * ======================================== */

.point-good {
  border-color: #3cb371 !important;
}


/* おすすめポイント見出し */
.point-good > .wp-block-heading:first-child {
  margin: 0 -28px 24px !important;
  padding: 16px 20px !important;

  background-color: #f2fbf6 !important;

  color: #3cb371 !important;
  border-bottom: 1px solid #3cb371 !important;

  text-align: center !important;
  font-weight: 700 !important;
}


/* ========================================
 * もう一歩
 * ======================================== */

.point-more {
  border-color: #ff1744 !important;
}


/* もう一歩見出し */
.point-more > .wp-block-heading:first-child {
  margin: 0 -28px 24px !important;
  padding: 16px 20px !important;

  background-color: #fff3f5 !important;

  color: #e90035 !important;
  border-bottom: 1px solid #ff1744 !important;

  text-align: center !important;
  font-weight: 700 !important;
}


/* ========================================
 * リスト
 * ======================================== */

.point-good ul,
.point-more ul {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: 1.5em !important;
}

.point-good li,
.point-more li {
  margin-bottom: 10px !important;
  line-height: 1.8 !important;
}

.point-good li:last-child,
.point-more li:last-child {
  margin-bottom: 0 !important;
}

/*************************************************
 * 商品スペック：2カラムテーブル
 *************************************************/


/* ========================================
 * 共通
 * ======================================== */

.spec-columns {
  box-sizing: border-box !important;
}

/* テーブル共通 */
.spec-columns table.has-fixed-layout {
  width: 100% !important;
  table-layout: fixed !important;
}

/* 項目名 */
.spec-columns table.has-fixed-layout th:first-child,
.spec-columns table.has-fixed-layout td:first-child {
  width: 40% !important;
  white-space: normal !important;
  vertical-align: middle !important;
  font-weight: 700 !important;
}

/* 内容 */
.spec-columns table.has-fixed-layout th:nth-child(2),
.spec-columns table.has-fixed-layout td:nth-child(2) {
  width: 60% !important;
  white-space: normal !important;
  vertical-align: middle !important;
}


/* ========================================
 * PC
 * ======================================== */

@media screen and (min-width: 769px) {

  .spec-columns {
    display: flex !important;
    align-items: stretch !important;
    gap: 28px !important;
  }

  /* カラム構造 */
  .spec-columns > .wp-block-column {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
  }

  /* テーブルが直接入っている構造 */
  .spec-columns > .wp-block-table {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  /* 行の高さ */
  .spec-columns table.has-fixed-layout tr {
    height: 70px !important;
  }

  /* セル余白 */
  .spec-columns table.has-fixed-layout th,
  .spec-columns table.has-fixed-layout td {
    padding: 10px 16px !important;
  }

}


/* ========================================
 * スマホ
 * ======================================== */

@media screen and (max-width: 768px) {

  .spec-columns {
    display: block !important;
  }

  .spec-columns > .wp-block-column,
  .spec-columns > .wp-block-table {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* PCの高さ固定を解除 */
  .spec-columns table.has-fixed-layout tr {
    height: auto !important;
  }

  /* 項目名 */
  .spec-columns table.has-fixed-layout th:first-child,
  .spec-columns table.has-fixed-layout td:first-child {
    width: 40% !important;
    padding: 11px 10px !important;
  }

  /* 内容 */
  .spec-columns table.has-fixed-layout th:nth-child(2),
  .spec-columns table.has-fixed-layout td:nth-child(2) {
    width: 60% !important;
    padding: 11px 10px !important;
  }

}


/*************************************************
 * 商品スペック：全部見るボタン
 *************************************************/

.spec-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  gap: 7px !important;

  width: fit-content !important;

  margin: 16px auto 32px !important;
  padding: 6px 10px !important;

  border: none !important;
  background: transparent !important;

  color: #888 !important;

  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;

  cursor: pointer !important;
}


/* 下向き矢印 */
.spec-toggle::after {
  content: "" !important;

  display: block !important;

  width: 8px !important;
  height: 8px !important;

  border-right: 2px solid #999 !important;
  border-bottom: 2px solid #999 !important;

  transform: rotate(45deg) !important;
  margin-top: -4px !important;

  flex: 0 0 auto !important;
}


/* 開いた時：上向き */
.spec-columns.is-open + .spec-toggle::after {
  transform: rotate(225deg) !important;
  margin-top: 4px !important;
}


/*************************************************
 * 公開記事ページ：デフォルト3行表示
 *************************************************/


/* ========================================
 * PC
 * 左右それぞれ先頭3行を表示
 * ======================================== */

@media screen and (min-width: 769px) {

  body.single .spec-columns:not(.is-open)
  table tbody tr:nth-child(n+4) {
    display: none !important;
  }

}


/* ========================================
 * スマホ
 * 全体で先頭3項目だけ表示
 * ======================================== */

@media screen and (max-width: 768px) {

  /* すべての行を一旦非表示 */
  body.single .spec-columns:not(.is-open)
  table tbody tr {
    display: none !important;
  }

  /* 左側テーブルの先頭3行だけ表示 */
  body.single .spec-columns:not(.is-open)
  > .wp-block-column:first-child
  table tbody tr:nth-child(-n+3) {
    display: table-row !important;
  }

  /* テーブルが直接入っている場合 */
  body.single .spec-columns:not(.is-open)
  > .wp-block-table:first-child
  table tbody tr:nth-child(-n+3) {
    display: table-row !important;
  }

  /* ボタンを少し小さく */
  .spec-toggle {
    margin-top: 14px !important;
    margin-bottom: 28px !important;

    font-size: 13px !important;
  }

}

/*************************************************
 * 投稿編集画面：全行表示
 *************************************************/

.editor-styles-wrapper .spec-columns table tbody tr,
.block-editor-block-list__layout .spec-columns table tbody tr,
.wp-block .spec-columns table tbody tr {
  display: table-row !important;
}

/*************************************************
 * ランキング採点基準：RATING GUIDE
 *************************************************/


/* ========================================
 * 全体
 * ======================================== */

.rating-guide {
  margin: 28px 0 34px !important;

  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;

  background: #fff !important;

  overflow: hidden !important;
}


/* ========================================
 * アコーディオン見出し
 * ======================================== */

.rating-guide .toggle-button {
  position: relative !important;

  display: block !important;

  padding: 18px 56px 18px 20px !important;

  background: #fafafa !important;

  border: none !important;

  color: #333 !important;

  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;

  text-align: center !important;

  cursor: pointer !important;
}


/* RATING GUIDE */
.rating-guide .toggle-button::before {
  content: "RATING GUIDE" !important;

  display: block !important;

  margin-bottom: 4px !important;

  color: #c2c2c2 !important;

  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;

  letter-spacing: 0.12em !important;
}


/* ========================================
 * 開閉アイコン ＋ / −
 * ======================================== */

/* ＋ */
.rating-guide .toggle-button::after {
  content: "＋" !important;

  position: absolute !important;
  top: 50% !important;
  right: 22px !important;

  margin: 0 !important;

  color: #888 !important;

  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 300 !important;
  line-height: 1 !important;

  transform: translateY(-50%) !important;

  transition: color 0.2s ease !important;
}


/* 開いたときは − */
.rating-guide .toggle-checkbox:checked + .toggle-button::after {
  content: "−" !important;
}


/* ========================================
 * スマホ
 * ======================================== */

@media screen and (max-width: 768px) {

  .rating-guide .toggle-button::after {
    right: 16px !important;
    font-size: 18px !important;
  }

}


/* ========================================
 * 開いた本文エリア
 * ======================================== */

.rating-guide .toggle-content {
  padding: 8px 28px 10px !important;

  background: #fff !important;

  /* Cocoon標準の枠線を整理 */
  border-left: none !important;
  border-right: none !important;
  border-bottom: none !important;
  border-top: 1px solid #eeeeee !important;
}


/* ========================================
 * 冒頭説明文
 * ======================================== */

.rating-guide .toggle-content > p {
  margin: 0 !important;
  padding: 0 0 20px !important;

  color: #444 !important;

  font-size: 15px !important;
  line-height: 1.9 !important;
}


/* ========================================
 * 評価項目リスト
 * ======================================== */

.rating-guide ul {
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;

  counter-reset: rating-number !important;
}


/* 各評価項目 */
.rating-guide li {
  position: relative !important;

  margin: 0 !important;

  padding: 20px 0 20px 55px !important;

  border-bottom: 1px solid #f0f0f0 !important;

  list-style: none !important;

  counter-increment: rating-number !important;
}


/* 最後の項目は区切り線なし */
.rating-guide li:last-child {
  border-bottom: none !important;
}


/* ========================================
 * 01 / 02 / 03 ...
 * ======================================== */

.rating-guide li::before {
  content: counter(rating-number, decimal-leading-zero) !important;

  position: absolute !important;

  top: 21px !important;
  left: 0 !important;

  color: #aaa !important;

  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;

  letter-spacing: 0.05em !important;
}


/* ========================================
 * 評価項目名
 * ======================================== */

.rating-guide li strong {
  display: block !important;

  margin: 0 0 7px !important;

  color: #333 !important;

  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
}


/* ========================================
 * 評価項目の説明文
 * ======================================== */

.rating-guide li {
  color: #444 !important;

  font-size: 15px !important;
  line-height: 1.9 !important;
}


/* ========================================
 * スマホ
 * ======================================== */

@media screen and (max-width: 768px) {

  .rating-guide {
    margin: 22px 0 28px !important;

    border-radius: 7px !important;
  }


  /* 見出し */

  .rating-guide .toggle-button {
    padding: 16px 46px 16px 16px !important;

    font-size: 15px !important;
    line-height: 1.5 !important;
  }


  .rating-guide .toggle-button::before {
    margin-bottom: 4px !important;

    font-size: 9px !important;
  }


  .rating-guide .toggle-button::after {
    right: 16px !important;

    font-size: 13px !important;
  }


  /* 本文 */

  .rating-guide .toggle-content {
    padding: 6px 18px 8px !important;
  }


  /* 冒頭説明 */

  .rating-guide .toggle-content > p {
    padding-bottom: 14px !important;

    font-size: 14px !important;
    line-height: 1.8 !important;
  }


  /* 評価項目 */

  .rating-guide li {
    padding: 17px 0 17px 40px !important;

    font-size: 14px !important;
    line-height: 1.8 !important;
  }


  /* 01 / 02 / 03 */

  .rating-guide li::before {
    top: 18px !important;

    font-size: 12px !important;
  }


  /* 評価項目名 */

  .rating-guide li strong {
    margin-bottom: 5px !important;

    font-size: 14px !important;
    line-height: 1.6 !important;
  }

}