@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: 大人のグッズ図鑑 用 Cocoon子テーマ（ピンク基調ポータル風）
Theme URI: https://wp-cocoon.com/
Author: Hiro
Template: cocoon-master
Version: 2.0.19
*/

/************************************
** 色・フォントの設定
************************************/
:root {
  --zk-pink: #D81B60;
  --zk-pink-dark: #C2185B;
  --zk-pink-deep: #8E0F42;
  --zk-pink-line: #F3B5C9;
  --zk-blush: #FFF0F5;
  --zk-blush-2: #FFF7FA;
  --zk-border: #F3D3DE;
  --zk-border-soft: #F8E3EA;
  --zk-text: #2B1F24;
  --zk-text-2: #4A3A42;
  --zk-muted: #6B5B63;
  --zk-dark: #2B1F24;
  --zk-gold: #B26A00;
  --zk-font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --zk-script: "Yellowtail", cursive;
}

/************************************
** 全体
************************************/
body {
  background-color: #fff !important;
  color: var(--zk-text);
  font-family: var(--zk-font);
  overflow-x: clip;
}

.main,
.sidebar {
  background-color: transparent;
  border: none;
}

a {
  color: var(--zk-pink-dark);
}

a:hover {
  color: var(--zk-pink-deep);
}

.zk-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/************************************
** ヘッダー
************************************/
#header-container,
#header-container .header,
.header-container {
  background-color: #fff !important;
}

#header-container {
  border-bottom: 1px solid var(--zk-border);
}

#header .header-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  min-height: 0 !important;
  padding: 14px 0;
}

#header .logo {
  margin: 0;
  padding: 0;
}

.site-name-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--zk-font);
  font-size: 24px;
  font-weight: 900;
  color: var(--zk-text) !important;
  letter-spacing: 0.04em;
}

/* ロゴの前のハートマーク */
.site-name-text::before {
  content: "";
  width: 34px;
  height: 34px;
  flex: none;
  background-color: var(--zk-pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tagline {
  color: var(--zk-muted) !important;
  letter-spacing: 0.12em;
  font-size: 11px;
  margin: 2px 0 0;
}

/* ヘッダーの検索窓（functions.phpで追加） */
.zk-header-search {
  flex: 0 0 auto;
  width: 100%;
  max-width: 520px;
  height: 44px;
  display: flex;
  margin: 0;
}

.zk-header-search input,
.zk-hero-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
  box-sizing: border-box;
  border: 1.5px solid var(--zk-border);
  border-right: none;
  border-radius: 22px 0 0 22px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  background: #FFF9FB;
}

.zk-header-search input:focus,
.zk-hero-search input:focus {
  outline: none;
  border-color: var(--zk-pink-line);
  background: #fff;
}

.zk-header-search button,
.zk-hero-search button {
  width: 56px;
  height: 44px;
  border: none;
  border-radius: 0 22px 22px 0;
  background: var(--zk-pink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.zk-header-search button:hover,
.zk-hero-search button:hover {
  background: var(--zk-pink-dark);
}

/* トップページのメイン画像右下の検索窓 */
.zk-hero-search {
  position: absolute;
  right: max(20px, calc((100vw - 1200px) / 2 + 20px));
  bottom: 32px;
  z-index: 2;
  display: flex;
  width: 380px;
  max-width: calc(100% - 40px);
  height: 48px;
  margin: 0;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(142, 15, 66, 0.18);
}

.zk-hero-search input {
  height: 48px;
  border-color: #fff;
  border-radius: 24px 0 0 24px;
  background: rgba(255, 255, 255, 0.92);
}

.zk-hero-search button {
  height: 48px;
  border-radius: 0 24px 24px 0;
}

/************************************
** グローバルナビ
************************************/
#navi,
#navi .navi-in > ul,
.navi {
  background-color: #fff !important;
}

#navi {
  border-bottom: 1px solid var(--zk-border);
}

/* メニューが未設定のときは、空のナビ帯を出さない */
#navi:not(:has(li)) {
  display: none;
}

#navi .navi-in > ul > li {
  border-right: none;
}

#navi .navi-in a {
  color: var(--zk-text) !important;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 3px solid transparent;
}

#navi .navi-in a:hover,
#navi .navi-in .current-menu-item > a {
  background-color: #fff !important;
  color: var(--zk-pink) !important;
  border-bottom-color: var(--zk-pink);
}

#navi .navi-in > ul .sub-menu {
  background-color: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 0 0 10px 10px;
}

#navi .navi-in > ul .sub-menu a {
  border-bottom: none;
}

/************************************
** 一覧のカード（Cocoonの縦型カード）
************************************/
.entry-card-wrap,
.related-entry-card-wrap {
  background-color: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.entry-card-wrap:hover,
.related-entry-card-wrap:hover {
  background-color: #fff;
  border-color: var(--zk-pink-line);
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.12);
  transform: translateY(-2px);
}

.entry-card-title,
.related-entry-card-title {
  color: var(--zk-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.entry-card-thumb,
.related-entry-card-thumb {
  position: relative;
  background: var(--zk-blush);
}

/* カテゴリラベル */
.cat-label {
  background-color: var(--zk-pink);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 2px 10px;
  font-weight: 700;
}

/* 図鑑番号バッジ（No.0001） */
.zukan-no {
  display: none;
}

.entry-card-thumb .zukan-no,
.related-entry-card-thumb .zukan-no,
.eye-catch .zukan-no,
.zk-card-img .zukan-no {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: var(--zk-dark);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 5px 8px;
  z-index: 2;
}

.eye-catch {
  position: relative;
}

/************************************
** 記事内の見出し
************************************/
.article h1.entry-title {
  color: var(--zk-text);
  font-weight: 900;
  line-height: 1.45;
}

.article h2 {
  background-color: var(--zk-blush);
  color: var(--zk-text);
  border: none;
  border-left: 5px solid var(--zk-pink);
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 900;
}

.article h3 {
  background: none;
  color: var(--zk-text);
  border: none;
  border-bottom: 2px solid var(--zk-border);
  border-radius: 0;
  padding: 6px 0 6px 14px;
  position: relative;
  font-weight: 900;
}

.article h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  border-radius: 3px;
  background: var(--zk-pink);
}

.article h4 {
  color: var(--zk-pink-dark);
  border: none;
  border-bottom: 1px dashed var(--zk-pink-line);
  padding: 4px 0;
}

/* 記事内の表（手書き記事用） */
.article table th,
.article table td {
  border: 1px solid var(--zk-border);
}

.article table th {
  background-color: var(--zk-blush-2);
}

/************************************
** 商品記事の本文（プラグイン v1.1 の出力）
************************************/
/* 上部：画像＋価格ボックス */
.zk-item-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin: 0 0 32px;
}

.zk-item-photo {
  flex: 1 1 260px;
  text-align: center;
  background: var(--zk-blush);
  border: 1px solid var(--zk-border);
  border-radius: 16px;
  padding: 12px;
}

.zk-item-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.zk-item-buy {
  flex: 1 1 260px;
  background: var(--zk-blush);
  border-radius: 16px;
  padding: 20px;
}

.article .zk-item-buy p {
  margin: 0;
}

.zk-item-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.zk-stars {
  color: var(--zk-gold);
  letter-spacing: 1px;
}

.zk-item-rating .zk-stars {
  font-size: 18px;
}

.zk-rating-num {
  font-weight: 900;
}

.zk-rating-count {
  color: var(--zk-muted);
}

.zk-item-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 14px !important;
}

.zk-price-label,
.zk-tax {
  font-size: 13px;
  color: var(--zk-muted);
}

.zk-price-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--zk-pink-dark);
  line-height: 1.1;
}

.zk-price-num small {
  font-size: 16px;
}

.zk-item-note {
  margin-top: 8px !important;
  font-size: 11px;
  color: var(--zk-muted);
  text-align: center;
}

/* ボタン */
.article a.zk-btn,
a.zk-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  box-sizing: border-box;
  border-radius: 28px;
  background: var(--zk-pink);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(216, 27, 96, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.article a.zk-btn:hover,
a.zk-btn:hover {
  background: var(--zk-pink-dark);
  color: #fff;
  transform: translateY(-1px);
}

.zk-arrow {
  font-size: 1.3em;
  line-height: 1;
}

/* 本文の強調 */
.zk-hl {
  color: var(--zk-pink-dark);
  font-weight: 700;
}

/* 商品情報の表 */
.zk-spec-wrap {
  border: 1px solid var(--zk-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.8em;
}

.article table.zk-spec {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.article table.zk-spec th,
.article table.zk-spec td {
  border: none;
  border-top: 1px solid var(--zk-border-soft);
  padding: 12px 16px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}

.article table.zk-spec tr:first-child th,
.article table.zk-spec tr:first-child td {
  border-top: none;
}

.article table.zk-spec th {
  width: 30%;
  background: var(--zk-blush-2);
  color: var(--zk-text-2);
  font-weight: 700;
}

.article table.zk-spec td {
  background: #fff;
}

/* サンプル画像 */
.zk-samples {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 1.8em;
}

.zk-samples a {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--zk-border);
  background: var(--zk-blush);
}

.zk-samples img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.zk-samples a:hover img {
  transform: scale(1.05);
}

/* こんな人におすすめ */
.zk-recommend-box {
  background: var(--zk-blush);
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 1.8em;
}

.article .zk-recommend-box h2 {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--zk-pink-dark);
}

.article ul.zk-recommend {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article ul.zk-recommend li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15px;
  line-height: 1.7;
}

.article ul.zk-recommend li::before {
  content: "\2713";
  position: absolute;
  left: 2px;
  top: 6px;
  color: var(--zk-pink);
  font-weight: 900;
}

/* 購入ボタンの帯 */
.zk-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 0 0 2em;
  padding: 24px;
  border-radius: 16px;
  background: var(--zk-dark);
  color: #fff;
}

.article .zk-cta-text {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}

.zk-cta-lead {
  font-size: 13px;
  color: #F3C3D4;
}

.zk-cta-title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.zk-cta .zk-btn {
  flex: 0 1 320px;
}

/* 関連グッズ */
.zk-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article a.zk-related-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--zk-border);
  border-radius: 12px;
  overflow: hidden;
  color: var(--zk-text);
  text-decoration: none;
  background: #fff;
}

.article a.zk-related-item:hover {
  border-color: var(--zk-pink-line);
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.12);
}

.zk-related-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--zk-blush);
}

.zk-related-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zk-related-title {
  padding: 10px 12px 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.zk-related-price {
  padding: 4px 12px 12px;
  font-size: 16px;
  font-weight: 900;
  color: var(--zk-pink-dark);
}

/************************************
** 古い記事（v1.0の本文）の色をピンクに合わせる
** ※「作り直し」が終わったら、このブロックは消してOK
************************************/
.entry-content [style*="#4B1528"] {
  border-top-color: var(--zk-pink) !important;
  color: var(--zk-text) !important;
}

.entry-content [style*="#D93A49"] {
  background: var(--zk-pink) !important;
  border-radius: 28px !important;
}

.entry-content [style*="#A32D2D"],
.entry-content [style*="#ff4b5c"] {
  color: var(--zk-pink-dark) !important;
}

.entry-content [style*="#BA7517"] {
  color: var(--zk-gold) !important;
}

.entry-content th[style*="#FAEEDA"] {
  background: var(--zk-blush-2) !important;
}

.entry-content [style*="#D3D1C7"] {
  border-color: var(--zk-border) !important;
}

/************************************
** タイトル下のカテゴリ・タグ
************************************/
.zukan-terms {
  margin: 0 0 24px;
  font-size: 12px;
}

.zukan-terms-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.zukan-terms-row:last-child {
  margin-bottom: 0;
}

.zukan-terms-label {
  width: 60px;
  color: var(--zk-muted);
}

.article .zukan-terms a {
  text-decoration: none;
  line-height: 1.4;
}

.article .zukan-terms .zukan-cat {
  background-color: var(--zk-pink);
  color: #fff;
  padding: 4px 12px;
  border-radius: 14px;
  font-weight: 700;
}

.article .zukan-terms .zukan-cat:hover {
  background-color: var(--zk-pink-dark);
}

.article .zukan-terms .zukan-tag {
  background-color: #fff;
  color: var(--zk-pink-dark);
  border: 1px solid var(--zk-pink-line);
  padding: 3px 10px;
  border-radius: 14px;
}

.article .zukan-terms .zukan-tag:hover {
  background-color: var(--zk-blush);
}

.zukan-sns-slot .sns-share {
  margin: 16px 0 0;
}

.zukan-pr-note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--zk-muted);
}

/************************************
** トップ・アーカイブの見出し
************************************/
.archive-title,
.list-title,
.related-entry-heading,
.comment-title {
  color: var(--zk-text);
  font-weight: 900;
  border: none;
  border-left: 5px solid var(--zk-pink);
  padding: 2px 0 2px 12px;
}

/************************************
** サイドバー
************************************/
.sidebar .widget {
  background-color: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 14px;
  overflow: hidden;
  padding: 16px 16px 10px;
}

.sidebar h3,
.sidebar .widget-sidebar-title {
  background: none;
  color: var(--zk-text);
  border: none;
  border-radius: 0;
  margin: 0 0 8px;
  padding: 0;
  font-size: 16px;
  font-weight: 900;
}

.sidebar .widget ul li a {
  border-bottom: 1px solid var(--zk-border-soft);
  color: var(--zk-text);
}

.sidebar .widget ul li a:hover {
  background: var(--zk-blush);
  color: var(--zk-pink-dark);
}

/************************************
** 商品カード（[zukan_list] [zukan_top] 用）
************************************/
.zk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

a.zk-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 12px;
  overflow: hidden;
  color: var(--zk-text);
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}

a.zk-card:hover {
  color: var(--zk-text);
  border-color: var(--zk-pink-line);
  box-shadow: 0 6px 18px rgba(216, 27, 96, 0.12);
  transform: translateY(-2px);
}

.zk-card-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: var(--zk-blush);
  overflow: hidden;
}

.zk-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zk-card-noimg {
  font-size: 11px;
  color: var(--zk-pink-deep);
}

.zk-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--zk-pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.zk-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 12px 14px;
}

.zk-card-cat {
  font-size: 11px;
  color: var(--zk-muted);
}

.zk-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zk-card-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--zk-pink-dark);
}

.zk-card-rating {
  font-size: 12px;
  color: var(--zk-muted);
}

/* ランキング（[zukan_ranking]） */
ol.zk-rank {
  list-style: none;
  margin: 0;
  padding: 0;
}

ol.zk-rank li {
  margin: 0;
  padding: 0;
}

ol.zk-rank a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--zk-border-soft);
  color: var(--zk-text);
  text-decoration: none;
}

ol.zk-rank li:first-child a {
  border-top: none;
}

.zk-rank-no {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--zk-pink-dark);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4位以下：グレーの四角 */
.zk-rank-4,
.zk-rank-5,
.zk-rank-6,
.zk-rank-7,
.zk-rank-8,
.zk-rank-9,
.zk-rank-10 {
  border-radius: 6px;
  background: #EFEAEC;
  color: var(--zk-text-2);
}

/* 1?3位：王冠 */
.zk-rank-1,
.zk-rank-2,
.zk-rank-3 {
  position: relative;
  width: 32px;
  height: 28px;
  border-radius: 0;
  background: none;
  padding-top: 7px;
  box-sizing: border-box;
  font-size: 12px;
}

.zk-rank-1::before,
.zk-rank-2::before,
.zk-rank-3::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M2 6l7 7 7-11 7 11 7-7-3 20H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 28'%3E%3Cpath d='M2 6l7 7 7-11 7 11 7-7-3 20H5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.zk-rank-1::before { background: #E0A100; }
.zk-rank-2::before { background: #A3A6B1; }
.zk-rank-3::before { background: #B8784A; }

ol.zk-rank a {
  position: relative;
  z-index: 0;
}

.zk-rank-img {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 8px;
  background: var(--zk-blush);
  overflow: hidden;
}

.zk-rank-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zk-rank-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.zk-rank-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.zk-rank-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--zk-pink-dark);
}

/************************************
** トップページ（[zukan_top]）
************************************/
/* 固定ページのタイトルなどを隠す */
.home.page .article-header,
.home.page .entry-title,
.home.page .date-tags,
.home.page .sns-share,
.home.page .sns-follow,
.home.page .article-footer,
.home.page .author-info,
.home.page .toc,
.home.page #header {
  display: none !important;
}

/* 画面いっぱいに広げる */
.zk-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.zk-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  background-color: #FDF3F6;
  background-position: 70% center;
  background-size: cover;
  background-repeat: no-repeat;
  margin-top: -1em;
  margin-bottom: 0;
}

.zk-hero-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 104px 20px 72px;
  box-sizing: border-box;
}

/* トップページはヘッダーを出さず、メイン画像を一番上に */
.home.page #header-container {
  border-bottom: none;
}

.home.page .content {
  margin-top: 0;
}

.home.page .main {
  padding-top: 0;
}

.home.page .zk-hero {
  margin-top: 0;
}

/* メイン画像左上のサイトタイトル */
.article a.zk-hero-logo,
a.zk-hero-logo {
  position: absolute;
  top: 28px;
  left: max(20px, calc((100vw - 1200px) / 2 + 20px));
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--zk-text);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.zk-hero-logo svg {
  color: var(--zk-pink);
  flex: none;
}

.article a.zk-hero-logo:hover {
  color: var(--zk-pink-dark);
}

.zk-hero-box {
  max-width: 480px;
}

.article .zk-hero-lead,
.zk-hero-lead {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--zk-pink-dark);
  letter-spacing: 0.12em;
}

.article h2.zk-hero-title,
.article p.zk-hero-title,
.zk-hero-title {
  margin: 0 0 16px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 44px;
  line-height: 1.35;
  font-weight: 900;
  color: var(--zk-text) !important;
}

.zk-hero-title span:last-child {
  color: var(--zk-pink);
}

.article .zk-hero-text,
.zk-hero-text {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--zk-text-2);
}

.article a.zk-hero-btn {
  display: inline-flex;
  min-height: 54px;
  border-radius: 6px;
  padding: 0 28px 0 36px;
  gap: 28px;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.article .zk-hero-script,
.zk-hero-script {
  position: absolute;
  left: 41%;
  bottom: 44px;
  margin: 0;
  transform: rotate(-8deg);
  transform-origin: left bottom;
  font-family: var(--zk-script);
  font-size: 46px;
  line-height: 1.05;
  color: var(--zk-pink);
}

/* セクション共通 */
.zk-sec {
  margin: 44px 0 0;
}

.zk-sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 22px;
}

.article .zk-sec-head h2 {
  margin: 0;
  padding: 0 0 0 12px;
  background: none;
  border: none;
  border-left: 5px solid var(--zk-pink);
  border-radius: 0;
  font-size: 22px;
}

.zk-sec-sub {
  font-size: 13px;
  color: var(--zk-muted);
}

.article a.zk-sec-more,
a.zk-sec-more {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* カテゴリの丸 */
.zk-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 18px;
}

.article a.zk-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--zk-text);
  text-decoration: none;
}

.zk-cat-img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--zk-blush);
  border: 1.5px solid var(--zk-border);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.zk-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article a.zk-cat:hover .zk-cat-img {
  border-color: var(--zk-pink);
  transform: scale(1.04);
}

.zk-cat-name {
  font-size: 14px;
  font-weight: 700;
}

/* 3カラム */
.zk-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.zk-col {
  background: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 14px;
  padding: 20px;
}

.article h2.zk-col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 18px;
}

.article h2.zk-col-title + * + h2.zk-col-title {
  margin-top: 22px;
}

.zk-col-title::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: none;
  background: var(--zk-pink);
  -webkit-mask: var(--zk-ico) center / contain no-repeat;
  mask: var(--zk-ico) center / contain no-repeat;
}

.zk-ico-crown { --zk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 8l4.5 4L12 5l4.5 7L21 8l-2 11H5z'/%3E%3C/svg%3E"); }
.zk-ico-tag { --zk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E"); }
.zk-ico-star { --zk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3l2.8 5.7 6.2.9-4.5 4.4 1 6.2L12 17.3 6.5 20.2l1-6.2L3 9.6l6.2-.9z'/%3E%3C/svg%3E"); }
.zk-ico-book { --zk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M4 4h12l4 4v12H4z'/%3E%3Cpath d='M8 11h8M8 15h6'/%3E%3C/svg%3E"); }
.zk-ico-crown::before { background: var(--zk-gold); }
.zk-ico-pick { --zk-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 5.9 6.6 1-4.8 4.6 1.1 6.5L12 17.4l-5.8 3.1 1.1-6.5-4.8-4.6 6.6-1z'/%3E%3C/svg%3E"); }

/* 特集・おすすめ */
.article a.zk-pick-main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 210px;
  padding: 18px;
  box-sizing: border-box;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--zk-dark);
  background-size: cover;
  background-position: right center;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.article a.zk-pick-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(43, 31, 36, 0.82) 0%, rgba(43, 31, 36, 0.5) 60%, rgba(43, 31, 36, 0.15) 100%);
}

.zk-pick-label {
  align-self: flex-start;
  padding: 2px 12px;
  border-radius: 12px;
  background: var(--zk-pink);
  font-size: 12px;
  font-weight: 700;
}

.zk-pick-title {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}

.zk-pick-text {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.92;
}

.zk-pick-btn {
  align-self: flex-start;
  margin-top: 4px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.article a.zk-pick-main:hover .zk-pick-btn {
  background: #fff;
  color: var(--zk-pink-dark);
}

.zk-pick-subs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.article a.zk-pick-sub {
  position: relative;
  display: block;
  height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--zk-blush);
  text-decoration: none;
}

.zk-pick-sub-img img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
}

.zk-pick-sub-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 10px 8px;
  background: linear-gradient(0deg, rgba(255, 240, 245, 0.95) 55%, rgba(255, 240, 245, 0));
  color: var(--zk-text);
  font-size: 12px;
  font-weight: 700;
}

.zk-price-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.article .zk-price-links a {
  padding: 16px 8px;
  border-radius: 10px;
  background: var(--zk-blush);
  color: var(--zk-text);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.article .zk-price-links a:hover {
  background: #FBD3E0;
}

.article a.zk-rating-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1.5px solid var(--zk-pink-line);
  color: var(--zk-text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.article ul.zk-guides {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.article ul.zk-guides li a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--zk-border-soft);
  color: var(--zk-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

/* 図鑑の特徴 */
.zk-features {
  display: flex;
  align-items: stretch;
  background: var(--zk-blush);
  border-top: 1px solid var(--zk-border);
  margin-bottom: -2em;
}

/* 特徴の帯の左の画像（子テーマの images/about.jpg があるときだけ表示） */
.zk-about-img {
  flex: 0 0 28%;
  min-height: 140px;
  background-size: cover;
  background-position: 72% center;
}

.zk-features-inner {
  flex: 1 1 auto;
  align-self: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.zk-feature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 16px;
  border-left: 3px solid var(--zk-pink);
}

.zk-feature strong {
  font-size: 15px;
  font-weight: 900;
}

.zk-feature span {
  font-size: 12px;
  color: var(--zk-muted);
}

@media screen and (max-width: 700px) {
  .zk-features {
    flex-direction: column;
  }

  .zk-about-img {
    flex-basis: 160px;
  }

  /* スマホでは特徴を縦に1列で並べる（横にはみ出さないように） */
  .zk-features-inner {
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }
}

/* 人気のタグ */
.zk-tag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article .zk-tag-chips a {
  padding: 5px 12px;
  border: 1px solid var(--zk-pink-line);
  border-radius: 16px;
  background: #fff;
  color: var(--zk-pink-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.article .zk-tag-chips a:hover {
  background: var(--zk-blush);
}

/************************************
** フッター
************************************/
#footer,
.footer {
  background-color: var(--zk-dark) !important;
  border-top: none;
  color: #F6E9EE !important;
}

#footer a,
.footer a,
.copyright,
#footer .site-name-text,
.footer .site-name-text {
  color: #F6E9EE !important;
}

/* フッターのアフィリエイト表記・クレジット */
.zk-footer-note {
  margin: 0 0 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #CDB8C1;
  text-align: right;
}

.zk-footer-note p {
  margin: 0;
}

/* Powered by FANZA の右横にランキングバナー */
.zk-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  margin-top: 4px;
}

.zk-footer-rank {
  line-height: 1.4;
  text-align: center;
}

.zk-footer-heart {
  color: var(--zk-pink);
  margin-right: 4px;
}

.zk-footer-rank img {
  display: inline-block;
  vertical-align: middle;
}

#footer .zk-footer-note a {
  color: #CDB8C1 !important;
  text-decoration: underline;
}

@media screen and (max-width: 834px) {
  .zk-footer-note {
    text-align: center;
  }

  .zk-footer-links {
    justify-content: center;
  }
}

#footer a:hover,
.footer a:hover {
  color: #F3B5C9 !important;
}

/************************************
** ボタン・ページ送り
************************************/
.pagination .current,
.page-numbers.current {
  background-color: var(--zk-pink);
  color: #fff;
  border-color: var(--zk-pink);
}

.pagination a:hover,
.page-numbers:hover {
  background-color: var(--zk-blush);
}

.go-to-top-button {
  background-color: var(--zk-pink);
  color: #fff;
  border-radius: 50%;
}

/************************************
** レスポンシブ
************************************/
/* 1100px以下：筆記体を隠す */
@media screen and (max-width: 1100px) {
  .zk-hero-script,
  .article .zk-hero-script {
    display: none;
  }
}

/* 1023px以下 */
@media screen and (max-width: 1023px) {
  .mobile-menu-buttons {
    background-color: #fff;
    border-top: 1px solid var(--zk-border);
  }

  .mobile-menu-buttons .menu-button > a,
  .mobile-menu-buttons .menu-caption,
  .mobile-menu-buttons .menu-icon {
    color: var(--zk-pink-dark);
  }
}

/* 834px以下 */
@media screen and (max-width: 834px) {
  .site-name-text {
    font-size: 20px;
  }

  .site-name-text::before {
    width: 28px;
    height: 28px;
  }

  .zk-header-search {
    max-width: none;
  }

  .zk-hero-title,
  .article h2.zk-hero-title,
  .article p.zk-hero-title {
    font-size: 32px;
  }
}

/* 700px以下：メイン画像の文字の後ろに白い板を敷く */
@media screen and (max-width: 700px) {
  .zk-hero {
    min-height: 380px;
  }

  .zk-hero-inner {
    padding-top: 80px;
  }

  .article a.zk-hero-logo,
  a.zk-hero-logo {
    top: 20px;
    left: 16px;
    font-size: 21px;
  }

  .zk-hero-search {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: 14px;
  }

  .zk-hero-box {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 16px;
    padding: 20px;
  }

  .zk-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zk-samples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  .zk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .zk-cats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .zk-cat-img {
    width: 64px;
    height: 64px;
  }

  .zk-cat-name {
    font-size: 11px;
    text-align: center;
  }

  .zk-price-num {
    font-size: 28px;
  }

  .entry-card-thumb .zukan-no,
  .related-entry-card-thumb .zukan-no,
  .zk-card-img .zukan-no {
    font-size: 10px;
    padding: 3px 6px;
  }
}

/************************************
** 商品ページ（個別記事）v2.0.12
************************************/
/* ヘッダーを1段に（ロゴ左・検索窓右） */
body:not(.home) #header .header-in {
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body:not(.home) #header .header-in {
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 1256px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

body:not(.home) #header .logo,
body:not(.home) #header .tagline {
  flex: 0 1 auto !important;
  width: auto !important;
  margin: 0 !important;
}

body:not(.home) #header .zk-header-search {
  flex: 0 1 420px !important;
  margin-left: auto;
  max-width: 420px;
}

/* 目次・下のSNS・下のカテゴリタグ・関連記事・コメント・前後の記事を隠す */
.single .toc,
.single .sns-share.ss-bottom,
.single .sns-follow,
.single .entry-categories-tags,
.single .related-entries,
.single .under-entry-content .related-entry-heading,
.single #comment-area,
.single .comment-area,
.single .pager-post-navi {
  display: none !important;
}

/* 移動前のタイトルは隠す（価格ボックスの上へ移したものだけ表示） */
.single:has(.zk-title-slot) .article-header .entry-title {
  display: none;
}

/* 上部：画像（左）と商品情報（右） */
.zk-product .zk-item-top {
  align-items: flex-start;
}

.zk-product .zk-item-photo {
  flex: 1 1 320px;
  background: #fff;
}

.zk-product .zk-item-buy {
  flex: 1 1 320px;
  background: #fff;
  border: 1px solid var(--zk-border);
  padding: 22px;
}

.zk-title-slot .entry-title {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: none;
  color: var(--zk-text);
}

.zk-title-slot .entry-title::before,
.zk-title-slot .entry-title::after {
  display: none;
}

/* サムネイル（クリックで切り替え） */
.zk-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.zk-thumbs button {
  padding: 0;
  border: 2px solid var(--zk-border);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.zk-thumbs button.is-active,
.zk-thumbs button:hover {
  border-color: var(--zk-pink);
}

.zk-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}

/* メーカー・価格帯・図鑑番号 */
.zk-item-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 6px;
  margin: 16px 0 0;
}

.zk-item-facts span {
  background: var(--zk-blush);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  line-height: 1.4;
}

.zk-item-facts small {
  display: block;
  font-size: 11px;
  color: var(--zk-muted);
}

.zk-item-facts strong {
  display: block;
  font-size: 13px;
  color: var(--zk-text);
  word-break: break-all;
}

/* 価格ボックス内のカテゴリ・タグ・SNS */
.zukan-terms-in {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--zk-pink-line);
}

.zukan-terms-in .zukan-terms-label {
  width: auto;
  margin-right: 4px;
}

.zukan-terms-in .zukan-sns-slot .sns-share {
  margin: 12px 0 0;
}

/* SNSボタンを小さな丸に */
.zukan-sns-slot .sns-share-message {
  display: none;
}

.zukan-sns-slot .sns-share-buttons {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  height: auto !important;
}

.zukan-sns-slot .sns-share-buttons a {
  width: 36px !important;
  height: 36px !important;
  min-width: 0 !important;
  flex: none !important;
  margin: 0 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.zukan-sns-slot .sns-share-buttons a .button-caption,
.zukan-sns-slot .sns-share-buttons a .share-count {
  display: none !important;
}

.zukan-sns-slot .sns-share-buttons a .social-icon {
  font-size: 16px !important;
  margin: 0 !important;
}

/* 同じカテゴリの記事 */
.zk-grid-related {
  grid-template-columns: repeat(4, 1fr);
}

.zk-more-link {
  text-align: center;
  margin: 16px 0 0 !important;
}

.article .zk-more-link a {
  display: inline-block;
  padding: 10px 28px;
  border: 1px solid var(--zk-pink);
  border-radius: 24px;
  color: var(--zk-pink-dark);
  font-weight: 700;
  text-decoration: none;
}

.article .zk-more-link a:hover {
  background: var(--zk-blush);
}

/************************************
** サイドバー（[zukan_sidebar]）
************************************/
/* ウィジェットの枠を消す */
.sidebar .widget:has(.zk-side) {
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  box-shadow: none;
}

.zk-side-box {
  background: #fff;
  border: 1px solid var(--zk-border);
  border-radius: 16px;
  padding: 16px;
  margin: 0 0 20px;
}

.zk-side-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--zk-text);
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--zk-pink);
  line-height: 1.3;
}

.zk-side ol.zk-rank {
  margin: 0;
}

.zk-side-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zk-side-cats li {
  margin: 0;
  border-bottom: 1px solid var(--zk-border);
}

.zk-side-cats li:last-child {
  border-bottom: none;
}

.zk-side-cats a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  color: var(--zk-text);
  text-decoration: none;
  font-size: 14px;
}

.zk-side-cats a:hover {
  color: var(--zk-pink-dark);
}

.zk-side-cat-img {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zk-blush);
}

.zk-side-cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.zk-side-cat-name {
  flex: 1 1 auto;
  font-weight: 700;
}

.zk-side-cat-count {
  font-size: 12px;
  color: var(--zk-muted);
}

.zk-side .zk-price-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.zk-side .zk-price-links a {
  display: block;
  text-align: center;
  padding: 8px 4px;
  border: 1px solid var(--zk-pink-line);
  border-radius: 20px;
  color: var(--zk-pink-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.zk-side .zk-price-links a:hover {
  background: var(--zk-blush);
}

a.zk-side-pick {
  display: block;
  position: relative;
  padding: 22px 18px;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, rgba(43, 31, 36, 0.85), rgba(43, 31, 36, 0.3)), url("images/feature.jpg") right center / cover no-repeat;
}

.zk-side-pick-lead {
  display: block;
  font-size: 12px;
  color: #F8BBD0;
  font-weight: 700;
}

.zk-side-pick-title {
  display: block;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
  margin: 6px 0 14px;
}

/************************************
** 商品ページ スマホ
************************************/
@media screen and (max-width: 834px) {
  /* 検索窓をひと回り小さく（お気に入りプラグインの指定より優先） */
  html body:not(.home) #header .header-in .zk-header-search {
    flex: 0 1 calc(100% - 20px) !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100% - 20px) !important;
    height: 34px !important;
    margin: 0 auto !important;
  }

  html body:not(.home) #header .header-in .zk-header-search input {
    height: 34px !important;
    font-size: 13px !important;
  }

  html body:not(.home) #header .header-in .zk-header-search button {
    width: 40px !important;
    height: 34px !important;
  }

  body:not(.home) #header .header-in {
    flex-wrap: wrap !important;
  }

  body:not(.home) #header .zk-header-search {
    max-width: 100%;
    margin-left: 0;
    height: 38px;
    box-sizing: border-box;
  }

  body:not(.home) #header .zk-header-search input {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    box-sizing: border-box;
  }

  body:not(.home) #header .zk-header-search button {
    flex: none;
    width: 44px !important;
    height: 38px !important;
  }

  .zk-grid-related {
    grid-template-columns: repeat(2, 1fr);
  }

  .zk-title-slot .entry-title {
    font-size: 19px;
  }
}

@charset "UTF-8";
/************************************
** guzzu 記事キット追加CSS v1（2026-11-02 うみ作成）
** 使い方: Cocoon Child の style.css の一番下に、このブロックをそのまま貼る
** 色は既存テーマの変数（--zk-*）だけを使う。記号は文字化け防止のためエスケープで書く
** 対応する本文側の型:
**   吹き出し: <div class="zk-fukidashi"><div class="zk-fukidashi-icon"></div><div class="zk-fukidashi-text"><div class="zk-fukidashi-name">読者</div>本文</div></div>
**             筆者は class="zk-fukidashi author"
**   結論箱:   <div class="zk-box"><div class="zk-box-title">結論</div>…</div>
**   注意箱:   <div class="zk-box zk-box-warn"><div class="zk-box-title">注意</div>…</div>
**   図版:     <figure class="zk-fig"><img …><figcaption>説明</figcaption></figure>
**   まとめ:   <ul class="zk-matome"><li>…</li></ul>
**   チェックリストは既存の .zk-recommend-box + ul.zk-recommend をそのまま使う（追加不要）
************************************/

/* 吹き出し */
.zk-fukidashi {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 1.4em 0;
}
.zk-fukidashi-icon {
  width: 60px;
  height: 60px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--zk-blush);
  border: 2px solid var(--zk-pink-line);
}
.zk-fukidashi-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zk-fukidashi-text {
  flex: 1 1 auto;
  position: relative;
  background: var(--zk-blush-2);
  border: 2px solid var(--zk-pink-line);
  border-radius: 14px;
  padding: 10px 16px;
  color: var(--zk-text);
  line-height: 1.8;
}
.zk-fukidashi-text::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--zk-blush-2);
  border-left: 2px solid var(--zk-pink-line);
  border-bottom: 2px solid var(--zk-pink-line);
  transform: rotate(45deg);
}
.zk-fukidashi.author .zk-fukidashi-text {
  background: var(--zk-blush);
  border-color: var(--zk-pink);
}
.zk-fukidashi.author .zk-fukidashi-text::before {
  background: var(--zk-blush);
  border-color: var(--zk-pink);
}
.zk-fukidashi-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--zk-muted);
  margin-bottom: 2px;
}

/* 結論ボックス（タイトルが枠線の上に乗る形） */
.zk-box {
  position: relative;
  border: 2px solid var(--zk-pink);
  border-radius: 14px;
  padding: 20px 20px 6px;
  margin: 2.2em 0 1.8em;
  background: #fff;
}
.zk-box-title {
  position: absolute;
  top: -14px;
  left: 16px;
  background: #fff;
  padding: 0 10px;
  font-weight: 900;
  color: var(--zk-pink-dark);
  line-height: 1.6;
}
.zk-box-title::before {
  content: "\25B6";
  margin-right: 6px;
  font-size: 0.85em;
}

/* 注意ボックス（金色） */
.zk-box-warn {
  border-color: var(--zk-gold);
}
.zk-box-warn .zk-box-title {
  color: var(--zk-gold);
}

/* まとめリスト（ピンク丸に白チェック） */
.article ul.zk-matome {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.article ul.zk-matome li {
  position: relative;
  padding: 4px 0 4px 34px;
  line-height: 1.8;
}
.article ul.zk-matome li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--zk-pink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 24px;
  text-align: center;
}

/* 図版（本文途中の画像＋説明） */
.article figure.zk-fig {
  margin: 1.6em 0;
}
.article figure.zk-fig img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--zk-border);
  border-radius: 14px;
}
.article figure.zk-fig figcaption {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--zk-muted);
  text-align: center;
}

@media screen and (max-width: 480px) {
  .zk-fukidashi-icon {
    width: 48px;
    height: 48px;
  }
  .zk-box {
    padding: 18px 14px 4px;
  }
}
/* ============================================================
   guzzu 参考情報ボックス（zk-ref-box）
   imakoreda の ref-box と同じ形を、guzzu のピンクで再現したもの。
   子テーマ style.css の一番下に、この内容をそのまま貼ってください。
   使い方：
   <div class="zk-ref-box"><div class="zk-ref-clip"></div><div class="zk-ref-label">参考情報</div>
   <div class="zk-ref-item"><div class="zk-ref-num">1</div><div class="zk-ref-body"><a href="URL" target="_blank" rel="noopener">タイトル</a><p></p><div class="zk-ref-site">サイト名</div></div></div>
   </div>
   ============================================================ */
.zk-ref-box{position:relative;border:2px solid var(--zk-border);background:#fff;border-radius:12px;padding:26px 18px 8px;margin:30px 0 24px}
.zk-ref-clip{position:absolute;top:-13px;left:18px;width:26px;height:26px;border-radius:50%;background:var(--zk-pink);box-shadow:inset 0 0 0 5px #fff,0 0 0 2px var(--zk-border)}
.zk-ref-label{position:absolute;top:-11px;left:52px;background:#fff;padding:0 8px;color:var(--zk-pink-dark);font-weight:700;font-size:15px}
.zk-ref-item{display:flex;gap:10px;padding:10px 0;border-top:1px dashed var(--zk-border)}
.zk-ref-item:first-of-type{border-top:none}
.zk-ref-num{flex:0 0 auto;width:24px;height:24px;border-radius:50%;background:var(--zk-pink);color:#fff;font-weight:700;font-size:14px;line-height:24px;text-align:center;margin-top:2px}
.zk-ref-body{flex:1 1 auto;min-width:0}
.zk-ref-body a{color:var(--zk-pink);font-weight:700;text-decoration:underline}
.zk-ref-body p{margin:0}
.zk-ref-site{color:var(--zk-muted);font-size:13px;margin-top:2px}
/* ============================================================
   guzzu 参考情報ボックス 見た目の調整（zk-ref-box v2）
   imakoreda の実物に寄せた上書き版。
   子テーマ style.css の一番下に、この内容をそのまま貼ってください。
   （前に貼った zk-ref-box のCSSは消さなくて大丈夫です。
   　下に貼った方が優先されるので、この見た目に上書きされます）
   ============================================================ */
.zk-ref-box{border:2px solid var(--zk-pink-line);padding:30px 18px 8px}
.zk-ref-clip{top:-15px;left:24px;width:18px;height:34px;border-radius:10px;background:#fff;border:3px solid var(--zk-pink-line);box-shadow:none}
.zk-ref-label{top:-13px;left:52px;background:var(--zk-pink);color:#fff;border-radius:999px;padding:3px 14px;font-size:14px}
.zk-ref-item{border-top:1px dotted var(--zk-pink-line)}
.zk-ref-body a{color:var(--zk-pink);text-decoration:none}


