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

/************************************
** Editorial Design System
** Vogue.com inspired (Bodoni display + Franklin UI)
************************************/
:root {
  --editorial-black: #000000;
  --editorial-charcoal: #333333;
  --editorial-gray: #767676;
  --editorial-light-gray: #e5e5e5;
  --editorial-off-white: #faf9f7;
  --editorial-cream: #f5f3ef;
  /* レストランサイトのブランドアクセント（カテゴリラベル・h2下線など） */
  --editorial-accent: #e49000;
  /* 見出し: Vogue 系 Didone（Bodoni Moda）＋ 日本語は Noto Serif JP */
  --editorial-serif: 'Bodoni Moda', 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', Georgia, serif;
  /* 本文・ナビ・ラベル: Libre Franklin ＋ 日本語は Noto Sans JP */
  --editorial-sans: 'Libre Franklin', 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
  --editorial-display: 'Bodoni Moda', 'Noto Serif JP', Georgia, serif;
  --editorial-tracking: 0.1em;
  --editorial-transition: 0.22s ease;
  --editorial-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

body {
  font-family: var(--editorial-sans);
  font-weight: 400;
  color: var(--editorial-black);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.archive-title,
.entry-card-title,
.related-entry-card-title,
.e-card-title,
.article-header .entry-title {
  font-optical-sizing: auto;
}

.article,
.entry-content {
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.article p {
  margin-bottom: 1.6em;
}

.article a {
  color: var(--editorial-black);
  text-decoration: underline;
  text-decoration-color: var(--editorial-light-gray);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.article a:hover {
  text-decoration-color: var(--editorial-black);
}

.article img,
.entry-content img {
  border-radius: 0;
}

.article figcaption,
.wp-block-image figcaption {
  font-family: var(--editorial-sans);
  font-size: 12px;
  color: var(--editorial-gray);
  letter-spacing: 0.04em;
  text-align: center;
  margin-top: 0.6em;
}

.cat-label,
.entry-card-category,
.related-entry-card .cat-label,
.eye-catch .cat-label {
  font-family: var(--editorial-sans) !important;
  font-size: 10px !important;
  font-weight: 500;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  background: var(--editorial-accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.date-tags,
.post-date,
.post-update,
.entry-date {
  font-family: var(--editorial-sans);
  font-size: 12px;
  color: var(--editorial-gray);
  letter-spacing: 0.04em;
}

#navi .navi-in > ul > li > a {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
}

.entry-card,
.related-entry-card,
.widget-entry-card {
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--editorial-light-gray);
}

.entry-card-title,
.related-entry-card-title,
.e-card-title {
  font-family: var(--editorial-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.list-more-button {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
}

.footer,
.footer-bottom {
  font-family: var(--editorial-sans);
  font-size: 12px;
  color: var(--editorial-gray);
  letter-spacing: 0.03em;
}

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* レストランTOP：New articles 見出しの上マージンを削除 */
.list-new-entries-title.list-title {
  margin-top: 0;
}

.header-container-in.hlt-top-menu .logo-header img {
  max-height: 44px;
  height: auto;
  vertical-align: middle;
}


.related-entry-card-title, .entry-card-title {
  font-size: 18px;
  margin: 0 0 5px 0;
  line-height: 1.35;
  font-weight: 500;
  font-family: var(--editorial-serif);
  letter-spacing: 0.01em;
}

.entry-title, .archive-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 16px 0;
  line-height: 1.2;
  font-family: var(--editorial-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--editorial-black);
}

.article h3,
.entry-content h3 {
  font-family: var(--editorial-serif);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.03em;
  margin: 2em 0 0.8em;
  padding: 0 0 0.4em;
  border: none;
  border-bottom: 1px solid var(--editorial-light-gray);
  background: transparent;
}

.article h4,
.entry-content h4 {
  font-family: var(--editorial-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 1.6em 0 0.6em;
  padding: 0;
  border: none;
  color: var(--editorial-charcoal);
}

/* 本文のカテゴリ・タグ（cat-label のカード用スタイルと分離） */
.entry-categories-tags {
  margin: 0 0 1em;
}

.entry-categories-tags .entry-categories,
.entry-categories-tags .entry-tags {
  margin-bottom: 0.35em;
}

.entry-categories-tags .cat-link,
.entry-categories-tags .tag-link {
  margin-right: 10px;
  margin-bottom: 6px;
}

.cat-link {
  color: var(--editorial-black) !important;
  text-decoration: none;
  display: inline-block;
  margin-right: 8px;
  padding: 0;
  font-size: 11px;
  font-family: var(--editorial-sans);
  font-weight: 500;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  word-break: break-all;
}

.cat-link:hover {
  opacity: 0.6;
  color: var(--editorial-black) !important;
}

.tag-link,
.comment-reply-link {
  color: var(--editorial-gray) !important;
  text-decoration: none;
  display: inline-block;
  margin-right: 8px;
  padding: 0;
  font-size: 11px;
  font-family: var(--editorial-sans);
  letter-spacing: 0.03em;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  word-break: break-all;
}

.tag-link:hover {
  opacity: 0.6;
  color: var(--editorial-black) !important;
}

/* h1直下のカテゴリ・タグ（header 内の並び順も h1 直後に固定） */
.single .article-header.entry-header {
  display: flex;
  flex-direction: column;
}

.single .article-header .entry-title {
  order: 1;
}

.single .article-header .entry-categories-tags {
  order: 2;
  margin-top: 0.25em;
  margin-bottom: 1.25em;
}

.single .article-header > *:not(.entry-title):not(.entry-categories-tags) {
  order: 20;
}

/* タイトル上（header 外）・本文下の重複ブロックを非表示 */
.single .article > .entry-categories-tags,
.single .entry-content ~ .entry-categories-tags,
.single .entry-footer .entry-categories-tags {
  display: none !important;
}

.entry-title + .entry-categories-tags {
  margin-top: 0.25em;
  margin-bottom: 1.25em;
}
.kaerebalink-name {
  font-family: var(--editorial-serif);
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
}

.booklink-box,
.kaerebalink-box,
.tomarebalink-box,
.product-item-box {
  padding: 20px 25px 10px;
  width: 96%;
  border: 2px solid #dfdfdf;
  box-sizing: border-box;
  position: relative;
  border-radius: 10px;
}

.booklink-image,
.kaerebalink-image,
.tomarebalink-image,
.product-item-thumb {
  width: 160px;
  min-width: 160px;
  margin: 0 auto 1em !important;
  float: none !important;
  text-align: center;
}
.booklink-image *,
.kaerebalink-image *,
.tomarebalink-image *,
.product-item-thumb * {
  display: block;
}
.booklink-image > a > img,
.kaerebalink-image > a > img,
.tomarebalink-image > a > img,
.product-item-thumb > a > img {
  margin: 0 auto;
}
.booklink-info,
.kaerebalink-info,
.tomarebalink-info,
.product-item-content {
  line-height: 125%;
  width: 100%;
}

.booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date {
  font-size: 12px;
}

.booklink-detail, .kaerebalink-detail, .tomarebalink-address {
  color: #333;
  font-size: 12px;
  margin: 0 0 10px;
}

.kaerebalink-link1 > *,
.booklink-link2 > *,
.tomarebalink-link1 > *,
.product-item-buttons > * {
  background: none !important;
  padding: 0 !important;
  display: block !important;
}
.kaerebalink-link1 a,
.booklink-link2 a,
.tomarebalink-link1 a,
.product-item-buttons a {
  width: 90%;
  display: block;
  margin: 0px auto 8px;
  padding: 6px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  color: #fff;
}
.kaerebalink-link1 a:hover,
.booklink-link2 a:hover,
.tomarebalink-link1 a:hover,
.product-item-buttons a:hover {
  opacity: 0.6;
}

@media screen and (min-width: 769px) {
  .booklink-box,
  .kaerebalink-box,
  .tomarebalink-box,
  .product-item-box {
    text-align: left;
    display: flex;
    font-size: inherit !important;
    border-radius: 10px;
    font-weight: 800;

  }

  .booklink-image,
  .kaerebalink-image,
  .tomarebalink-image,
  .product-item-thumb {
    vertical-align: top;
    box-sizing: border-box;
    min-width: auto !important;
  }

  .booklink-info,
  .kaerebalink-info,
  .tomarebalink-info,
  .product-item-content {
    line-height: 125%;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 25px;
    width: 100%;
  }

  .booklink-powered-date, .kaerebalink-powered-date, .tomarebalink-powered-date {
    margin: 6px 0 0;
  }

  .booklink-detail, .kaerebalink-detail {
    margin: 0 0 14px;
  }

  .booklink-link2,
  .kaerebalink-link1,
  .tomarebalink-link1,
  .product-item-buttons {
    display: flex;
    flex-wrap: wrap;
  }
  .booklink-link2 a,
  .kaerebalink-link1 a,
  .tomarebalink-link1 a,
  .product-item-buttons a {
    width: auto;
    text-align: center;
    border-radius: 3px;
  }
  .booklink-link2 a img,
  .kaerebalink-link1 a img,
  .tomarebalink-link1 a img,
  .product-item-buttons a img {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .booklink-link2 > *,
  .kaerebalink-link1 > *,
  .tomarebalink-link1 > *,
  .product-item-buttons > * {
    margin: 0.5%;
    box-sizing: border-box;
  }
}
.shoplinkbtn {
  position: relative;
  border-radius: 5px;
}
.shoplinkbtn img {
  position: absolute;
}


.shoplinkamazon a {
  background: #f79901;
  border-radius: 5px;
  padding: 6px 15px;
}

.shoplinkrakuten a {
  background: #bf0000;
  border-radius: 5px;
  padding: 6px 15px;
}

.shoplinkyahoo a {
  background: #e60033;
  position: relative;
  border-radius: 5px;
  padding: 6px 15px;
}


/* 見出し h2 — Vogue 系 + ブランドアクセント（Related articles 等は除外） */
.article h2:not(.related-entry-heading):not(.comment-title) {
  font-family: var(--editorial-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 2.8em 0 1em;
  padding: 0 0 0.5em;
  border: none;
  border-bottom: solid 3px var(--editorial-charcoal);
  position: relative;
  background: transparent;
}

.article h2:not(.related-entry-heading):not(.comment-title)::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: solid 3px var(--editorial-accent);
  bottom: -3px;
  left: 0;
  width: 30%;
}
  


  /* スライドボタン */
    .hovItem {
    display: inline-block;
      text-decoration: none; /* リンクのアンダーラインを削除 */
    margin-top: 15px;
    margin-bottom: 5px;
    border-radius: 0;
    border: none;
    text-align: center;
    position: relative;
    z-index: 0;
    overflow: hidden;
    background-color: #e49000;
    color: #fff;
    font-family: var(--editorial-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--editorial-tracking);
    text-transform: uppercase;
    line-height: 50px;
    min-width: 240px;
    height: 50px;
    padding: 0 15px;
    }
    
    .hovItem::before {
    display: inline-block;
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 0%;
    height: 100%;
    background-color: #a71b53;
    transition: .5s;
    }
    
    .hovItem:hover::before {
    width: 100%;
    }
    
.linktxt
{color: #fff;
font-weight: 800;
decoration: none;
}

.cat-label {
  position: absolute;
  top: 0.7em;
  left: 0.7em;
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sns-buttons a {
    align-content: center;
    align-items: center;
    background-color: var(--cocoon-sns-color);
    border-radius: var(--cocoon-basic-border-radius);
    display: inline-flex;
    font-size: 15px;
    justify-content: center;
    height: 30px;
    margin-bottom: 8px;
    position: relative;
    text-align: center;
    width: 32%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    color: var(--cocoon-white-color);
    text-decoration: none;
}
.sns-share-buttons a .share-count {
  position: absolute;
  right: 3px;
  font-size: 10px;
  line-height: 1;
}

.sns-follow-message, .sns-share-message {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 500;
  font-style: normal;
  color: var(--editorial-gray);
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 12px;
  line-height: 1.4;
  position: static;
  overflow: visible;
}

.sns-follow-message::after, .sns-share-message::after {
  display: none;
}

.sns-share,
.sns-follow {
  overflow: visible;
}

.sns-share-buttons,
.sns-follow-buttons {
  position: relative;
  z-index: 1;
}

/* FOLLOW：1行4つ（1/4幅）・左寄せ */
.sns-follow-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-content: flex-start;
}

.sns-follow .sns-follow-buttons a,
.sns-follow-buttons.sns-buttons a {
  width: 24%;
  flex: 0 0 24%;
  max-width: 24%;
  margin-right: 1.33%;
  box-sizing: border-box;
}

.sns-follow-buttons a:nth-child(4n) {
  margin-right: 0;
}





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

/*834px以下*/
@media screen and (max-width: 834px){
  .single main.main {
    padding-top: 20px;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  .entry-title, .archive-title {
    font-size: 1.75rem;
    margin: 16px 0;
    padding: 5px 0;
    line-height: 1.2;
    font-weight: 500;
    font-family: var(--editorial-serif);
  }

  .single .article-header .entry-title {
    font-family: var(--editorial-display);
    margin-top: 0;
    margin-bottom: 0.2em;
    padding: 0;
  }
}

/* SP：ヘッダー・記事タイトル・SNS・関連記事 */
@media screen and (max-width: 767px) {
  /* ロゴとショルダーコピー（tagline）の間を詰める */
  .logo-image {
    padding: 6px 0 2px;
  }

  .header-container-in.hlt-top-menu .logo-header img,
  #header .logo-image img,
  #header img.logo-image {
    display: block;
    width: 76%;
    max-width: 320px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }

  .tagline {
    font-size: 10px;
    letter-spacing: 0.08em;
    margin: 0.15em 1em 0.3em;
    line-height: 1.35;
  }

  /* ショルダーコピー〜本文タイトルまで詰める */
  .single main.main {
    padding-top: 10px;
  }

  .single .article-header.entry-header {
    margin-top: 0;
  }

  /* 本文タイトル：Vogue 系 Didone（Bodoni Moda + Noto Serif JP） */
  .single .article-header .entry-title {
    font-family: var(--editorial-display);
    font-weight: 500;
    font-size: clamp(1.45rem, 5.5vw, 1.9rem);
    letter-spacing: 0.03em;
    line-height: 1.18;
    margin-top: 0;
    margin-bottom: 0.2em;
    padding: 0;
  }

  /* タイトルとカテゴリの間を詰める */
  .single .article-header .entry-categories-tags,
  .single .entry-title + .entry-categories-tags {
    margin-top: 0.08em;
    margin-bottom: 0.7em;
  }

  /* 本文末〜SHARE を詰める */
  .single .entry-content {
    margin-bottom: 0.35em;
  }

  .single .entry-content > *:last-child {
    margin-bottom: 0.5em;
  }

  .single .sns-share.ss-bottom {
    margin-top: 0.35em;
    margin-bottom: 1.5em;
  }

  .single .sns-share.ss-bottom .sns-share-message {
    margin-bottom: 5px;
  }

  .single .sns-follow.sf-bottom {
    margin-top: 0;
    margin-bottom: 1.75em;
  }

  .single .sns-follow.sf-bottom .sns-follow-message {
    margin-bottom: 5px;
  }

  .article table tr > th:first-child,
  .article table tr > td:first-child,
  .entry-content table tr > th:first-child,
  .entry-content table tr > td:first-child {
    white-space: normal;
  }

  .article table td,
  .entry-content table td {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}



.widget h2,
.widget-title,
.widget-sidebar-title {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  color: var(--editorial-gray);
}

.wp-block-latest-posts__post-title
{
  font-family: var(--editorial-serif);
  font-size: 0.9em;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
  line-height: 1.2;
}

.widget-sidebar-title,
.widget-title
{
  font-size: 0.9em;
  text-decoration: none;
  padding: 0px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
}

.widget-entry-card {
  font-family: var(--editorial-serif);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.widget_recent_entries ul li a,
.widget_categories ul li a,
.widget_archive ul li a,
.widget_pages ul li a,
.widget_meta ul li a,
.widget_rss ul li a,
.widget_nav_menu ul li a,
.widget_block ul li a {
  color: var(--editorial-black);
  text-decoration: none;
  padding: 10px 0;
  display: block;
  padding-right: 4px;
  padding-left: 4px;
  font-family: var(--editorial-serif);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.eye-catch .cat-label {
  position: absolute;
  right: auto;
  top: 0.6em;
  bottom: auto;
  left: 0.6em;
  font-size: 14px;
  padding: 2px 8px;
  opacity: 0.9;
  border: 0px solid #eee;
}


/* 一覧カード画像を固定高さでトリミング */
.entry-card-thumb,
.related-entry-card-thumb {
  overflow: hidden;
}

.entry-card-thumb-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* 関連記事サムネ：PC のみ 220px（SP はファイル末尾のリスト表示） */
@media screen and (min-width: 768px) {
  .related-entry-card-thumb-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
  }
}

/************************************
** 関連記事カード（写真とタイトルの間隔）
************************************/
.related-entries,
.related-list {
  margin-left: 0;
  margin-right: 0;
}

.related-entry-card-wrap {
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 1.25em;
}

.related-entry-card-thumb {
  margin-right: 14px;
  margin-bottom: 0;
}

.related-entry-card-content {
  margin-left: 170px;
  padding-top: 2px;
}

.related-entry-card-title {
  margin-top: 0.15em;
  margin-bottom: 0.45em;
}

/* 縦型カード：写真の下にタイトル */
.rect-vertical-card .related-entry-card-thumb,
.rect-vertical-card-3 .related-entry-card-thumb,
.rect-vertical-card-4 .related-entry-card-thumb {
  float: none;
  margin-right: 0;
  margin-bottom: 12px;
}

.rect-vertical-card .related-entry-card-content,
.rect-vertical-card-3 .related-entry-card-content,
.rect-vertical-card-4 .related-entry-card-content {
  margin-left: 0;
  padding-top: 0;
}

.rect-vertical-card .related-entry-card-title,
.rect-vertical-card-3 .related-entry-card-title,
.rect-vertical-card-4 .related-entry-card-title {
  margin-top: 0;
  margin-bottom: 0.5em;
}

/* ミニカード（横並びサムネ） */
.rect-mini-card .related-entry-card-thumb {
  margin-right: 12px;
}

.rect-mini-card .related-entry-card-content {
  margin-left: 130px;
}

.rect-mini-card .related-entry-card-title {
  margin-top: 0.2em;
}

@media screen and (max-width: 834px) {
  .rect-mini-card .related-entry-card-thumb {
    margin-right: 10px;
  }

  .rect-mini-card .related-entry-card-content {
    margin-left: 34%;
  }

  .rect-vertical-card .related-entry-card-thumb,
  .rect-vertical-card-3 .related-entry-card-thumb,
  .rect-vertical-card-4 .related-entry-card-thumb {
    margin-bottom: 10px;
  }
}

/* 本文・ニュース記事の表: 1列目（Item 等）を内容幅、2列目に余白を渡す */
.article table,
.entry-content table,
.article .wp-block-table table,
.entry-content .wp-block-table table {
  table-layout: auto !important;
  width: 100%;
}

.article table tr > th:first-child,
.article table tr > td:first-child,
.entry-content table tr > th:first-child,
.entry-content table tr > td:first-child {
  width: 1% !important;
  white-space: nowrap;
}

/* Editorial table style */
.article table,
.entry-content table,
.article .wp-block-table table,
.entry-content .wp-block-table table {
  border-collapse: collapse;
  border-spacing: 0;
  margin: 1.8em 0 2.1em;
  font-family: var(--editorial-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--editorial-charcoal);
  border-top: 1px solid var(--editorial-black);
  border-bottom: 1px solid var(--editorial-black);
  background: transparent;
}

.article table th,
.entry-content table th {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  color: var(--editorial-black);
  background: var(--editorial-off-white);
  padding: 11px 12px 9px;
  border-bottom: 1px solid var(--editorial-light-gray);
  text-align: left;
  vertical-align: middle;
}

.article table td,
.entry-content table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--editorial-light-gray);
  vertical-align: top;
  text-align: left;
}

.article table tr:last-child td,
.entry-content table tr:last-child td {
  border-bottom: none;
}

.article table tbody tr:nth-child(even),
.entry-content table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.015);
}

.article table tbody tr:hover,
.entry-content table tbody tr:hover {
  background: rgba(0, 0, 0, 0.03);
}

@media screen and (max-width: 767px) {
  .article table,
  .entry-content table,
  .article .wp-block-table table,
  .entry-content .wp-block-table table {
    font-size: 13px;
  }

  .article table th,
  .entry-content table th,
  .article table td,
  .entry-content table td {
    padding: 9px 10px;
  }
}

/************************************
** 本文リスト（購入対象・期間など）を塊でコンパクト表示
************************************/
.article .entry-content ul.wp-block-list,
.entry-content ul.wp-block-list,
.article .entry-content > ul,
.article ul.info-list,
.article ul.is-detail-list,
/* 2〜12項目のフラットな ul（キャンペーン概要など） */
.article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) {
  list-style: none;
  margin: 0.75em 0 1.1em;
  padding: 10px 14px 8px;
  background: var(--editorial-off-white);
  border: 1px solid var(--editorial-light-gray);
}

.article .entry-content ul.wp-block-list > li,
.entry-content ul.wp-block-list > li,
.article .entry-content > ul > li,
.article ul.info-list > li,
.article ul.is-detail-list > li,
.article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) > li {
  position: relative;
  margin: 0;
  padding: 0.28em 0 0.32em;
  padding-left: 0;
  line-height: 1.42;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--editorial-light-gray);
}

.article .entry-content ul.wp-block-list > li:last-child,
.entry-content ul.wp-block-list > li:last-child,
.article .entry-content > ul > li:last-child,
.article ul.info-list > li:last-child,
.article ul.is-detail-list > li:last-child,
.article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) > li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article .entry-content ul.wp-block-list > li::before,
.entry-content ul.wp-block-list > li::before,
.article .entry-content > ul > li::before,
.article ul.info-list > li::before,
.article ul.is-detail-list > li::before,
.article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) > li::before {
  content: none;
  display: none;
}

/* 「項目名:」をやや強調（strong あり／なし両対応） */
.article .entry-content ul.wp-block-list > li strong,
.article ul.info-list > li strong,
.article ul.is-detail-list > li strong {
  font-family: var(--editorial-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--editorial-black);
}

/* リスト直前の段落との間を詰める */
.article .entry-content p + ul.wp-block-list,
.article .entry-content p + ul,
.article .entry-content h2 + ul.wp-block-list,
.article .entry-content h3 + ul.wp-block-list {
  margin-top: 0.5em;
}

@media screen and (max-width: 767px) {
  .article .entry-content ul.wp-block-list,
  .article .entry-content > ul,
  .article ul.info-list,
  .article ul.is-detail-list,
  .article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) {
    padding: 8px 12px 6px;
  }

  .article .entry-content ul.wp-block-list > li,
  .article .entry-content > ul > li,
  .article ul.info-list > li,
  .article ul.is-detail-list > li,
  .article .entry-content ul:not(:has(ul)):not(:has(ol)):has(> li:nth-child(2)):not(:has(> li:nth-child(13)) > li {
    font-size: 13px;
    padding: 0.22em 0 0.28em;
  }
}

/************************************
** Editorial polish（その他 UI）
************************************/
::selection {
  background: rgba(228, 144, 0, 0.22);
  color: var(--editorial-black);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--editorial-accent);
  outline-offset: 2px;
}

.logo-image {
  display: block;
  padding: 5px 0 6px;
}

.logo-header,
.header-container,
#header {
  border-bottom: 1px solid var(--editorial-light-gray);
}

#navi .navi-in > ul > li > a {
  transition: color var(--editorial-transition), opacity var(--editorial-transition);
}

#navi .navi-in > ul > li > a:hover {
  color: var(--editorial-accent);
  opacity: 1;
}

.tagline {
  font-family: var(--editorial-sans);
  font-size: 11px;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  color: var(--editorial-gray);
  text-align: center;
  margin: 0.4em 1em 0.65em;
  line-height: 1.45;
  clear: both;
}

/* TOP・一覧のセクション見出し */
.list-title {
  font-family: var(--editorial-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 1.25em;
}

.list-title-in::before,
.list-title-in::after {
  background-color: var(--editorial-black);
  height: 1px;
  opacity: 0.35;
}

.list-more-button {
  border-color: var(--editorial-black);
  border-radius: 0;
  transition: background-color var(--editorial-transition), color var(--editorial-transition), border-color var(--editorial-transition);
}

.list-more-button:hover {
  background-color: var(--editorial-black);
  color: #fff;
  border-color: var(--editorial-black);
  opacity: 1;
}

/* 一覧カード */
.entry-card-wrap a,
.related-entry-card-wrap a {
  transition: opacity var(--editorial-transition);
}

.entry-card-wrap a:hover,
.related-entry-card-wrap a:hover {
  opacity: 0.88;
}

.entry-card-snippet,
.card-snippet {
  font-size: 13px;
  line-height: 1.65;
  color: var(--editorial-charcoal);
}

.entry-card-meta,
.card-meta,
.e-card-meta {
  font-family: var(--editorial-sans);
  font-size: 11px;
  color: var(--editorial-gray);
  letter-spacing: 0.03em;
}

/* 関連記事・コメント見出し（本文 h2 スタイルの上書き） */
.article h2.related-entry-heading,
.related-entry-heading,
.article .comment-title,
.comment-title,
.pager-post-navi-title {
  font-family: var(--editorial-sans) !important;
  font-size: 11px !important;
  font-weight: 600;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  color: var(--editorial-black);
  background: transparent;
  padding: 0 0 10px;
  margin: 2.5em 0 1em;
  border: none;
  border-bottom: 1px solid var(--editorial-black);
  border-radius: 0;
  position: static;
}

.article h2.related-entry-heading::after,
.related-entry-heading::after {
  position: static;
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 8px;
  border: none;
  background: var(--editorial-accent);
}

.related-entry-heading .related-entry-sub-heading,
.related-entry-heading .sub-caption {
  display: block;
  margin-top: 0.35em;
  font-family: var(--editorial-sans);
  font-size: 10px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--editorial-gray);
}

/* パンくず */
.breadcrumb,
.breadcrumbs {
  font-family: var(--editorial-sans);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--editorial-gray);
}

.breadcrumb a,
.breadcrumbs a {
  color: var(--editorial-gray);
  text-decoration: none;
  transition: color var(--editorial-transition);
}

.breadcrumb a:hover,
.breadcrumbs a:hover {
  color: var(--editorial-black);
}

/* 前後記事ナビ */
.pager-post-navi,
.pagination-next-link,
.pagination-prev-link {
  font-family: var(--editorial-sans);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.pager-post-navi a {
  color: var(--editorial-black);
  text-decoration: none;
  border-bottom: 1px solid var(--editorial-light-gray);
  transition: border-color var(--editorial-transition), color var(--editorial-transition);
}

.pager-post-navi a:hover {
  border-color: var(--editorial-accent);
  color: var(--editorial-accent);
}

/* 本文：通常の箇条書き・番号リスト（情報ブロック ul 以外） */
.article .entry-content ol,
.article .entry-content ul:not(.wp-block-list):not(.info-list):not(.is-detail-list) {
  margin: 1.1em 0 1.5em;
  padding-left: 1.35em;
}

.article .entry-content ol li,
.article .entry-content ul:not(.wp-block-list):not(.info-list):not(.is-detail-list) > li {
  margin-bottom: 0.4em;
  line-height: 1.65;
  font-size: 0.95em;
}

.article .entry-content ul:not(.wp-block-list):not(.info-list):not(.is-detail-list) {
  list-style: none;
  padding-left: 0;
}

.article .entry-content ul:not(.wp-block-list):not(.info-list):not(.is-detail-list) > li {
  position: relative;
  padding-left: 1em;
}

.article .entry-content ul:not(.wp-block-list):not(.info-list):not(.is-detail-list) > li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--editorial-charcoal);
}

/* 引用・区切り */
.article blockquote,
.entry-content blockquote,
.wp-block-quote {
  margin: 1.8em 0;
  padding: 1.1em 1.4em;
  border: none;
  border-left: 3px solid var(--editorial-accent);
  background: var(--editorial-off-white);
  font-family: var(--editorial-serif);
  font-size: 1.05em;
  line-height: 1.7;
  color: var(--editorial-charcoal);
}

.article blockquote cite,
.entry-content blockquote cite,
.wp-block-quote cite {
  display: block;
  margin-top: 0.75em;
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--editorial-gray);
}

.article hr,
.entry-content hr,
.wp-block-separator {
  margin: 2.2em auto;
  border: none;
  border-top: 1px solid var(--editorial-light-gray);
  max-width: 120px;
}

.wp-block-separator.is-style-wide {
  max-width: 100%;
}

/* ボタンブロック */
.wp-block-button__link,
.article .btn,
.article .button,
.article input[type="submit"],
.article button[type="submit"] {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  border-radius: 0;
  transition: background-color var(--editorial-transition), color var(--editorial-transition), border-color var(--editorial-transition);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: var(--editorial-black);
  color: #fff;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background-color: var(--editorial-accent);
}

/* 画像ブロック */
.article .wp-block-image img,
.entry-content .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article .entry-content .wp-block-image {
  margin: 1.8em 0;
}

/* サイドバー */
.sidebar,
#sidebar {
  font-size: 14px;
}

.widget h2,
.widget-title,
.widget-sidebar-title {
  padding: 0 0 8px;
  margin: 1.5em 0 0.75em;
  border-bottom: 1px solid var(--editorial-light-gray);
}

.widget:first-child h2,
.widget:first-child .widget-title,
.widget:first-child .widget-sidebar-title {
  margin-top: 0;
}

.tagcloud a,
.popular-tag-link,
.widget a {
  transition: color var(--editorial-transition), opacity var(--editorial-transition);
}

.tagcloud a:hover {
  color: var(--editorial-accent);
}

/* フッター */
.footer,
.footer-bottom,
#footer {
  border-top: 1px solid var(--editorial-light-gray);
  padding-top: 1.5em;
}

.footer a,
.footer-bottom a {
  color: var(--editorial-gray);
  text-decoration: none;
  transition: color var(--editorial-transition);
}

.footer a:hover,
.footer-bottom a:hover {
  color: var(--editorial-black);
}

/* 検索フォーム */
.search-form input[type="search"],
.search-box input[type="text"],
.widget_search input[type="search"] {
  font-family: var(--editorial-sans);
  font-size: 13px;
  border: 1px solid var(--editorial-light-gray);
  border-radius: 0;
  padding: 8px 12px;
  transition: border-color var(--editorial-transition);
}

.search-form input[type="search"]:focus,
.search-box input[type="text"]:focus,
.widget_search input[type="search"]:focus {
  border-color: var(--editorial-black);
  outline: none;
}

.search-form input[type="submit"],
.search-box button,
.widget_search input[type="submit"] {
  font-family: var(--editorial-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: var(--editorial-tracking);
  text-transform: uppercase;
  border-radius: 0;
  background: var(--editorial-black);
  color: #fff;
  border: none;
  transition: background-color var(--editorial-transition);
}

.search-form input[type="submit"]:hover,
.search-box button:hover,
.widget_search input[type="submit"]:hover {
  background: var(--editorial-accent);
}

/* アイキャッチ */
.eye-catch,
.eye-catch-wrap {
  margin-bottom: 1.5em;
}

.eye-catch-image {
  display: block;
  width: 100%;
  height: auto;
}

/* 商品ボックスをエディトリアル調に */
.booklink-box,
.kaerebalink-box,
.tomarebalink-box,
.product-item-box {
  border-radius: 0;
  border-color: var(--editorial-light-gray);
  background: var(--editorial-off-white);
  box-shadow: none;
}

@media screen and (max-width: 767px) {
  .related-entry-heading,
  .comment-title {
    margin-top: 2em;
  }

  .list-title-in {
    padding: 0 40px;
  }

  /*
   * 本文下の関連記事：SP は1列リスト（左サムネ・右タイトル、抜粋なし）
   * タイトルはサムネ高さ内で … 省略
   */
  #related-entries,
  .related-entries {
    --related-sp-thumb-w: 128px;
    --related-sp-thumb-h: 96px;
  }

  #related-entries .related-list,
  .related-entries .related-list,
  .related-entries.rect-vertical-card .related-list,
  .related-entries.rect-vertical-card-3 .related-list,
  .related-entries.rect-vertical-card-4 .related-list,
  .related-entries.rect-mini-card .related-list {
    display: block !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
  }

  #related-entries .related-entry-card-wrap,
  .related-entries .related-entry-card-wrap,
  .related-entries.rect-vertical-card .related-entry-card-wrap,
  .related-entries.rect-vertical-card-3 .related-entry-card-wrap,
  .related-entries.rect-vertical-card-4 .related-entry-card-wrap,
  .related-entries.rect-mini-card .related-entry-card-wrap {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    margin-bottom: 0.65em;
    padding: 0 !important;
  }

  #related-entries .related-entry-card,
  .related-entries .related-entry-card {
    display: flex !important;
    align-items: center;
    gap: 12px;
    height: auto !important;
    min-height: var(--related-sp-thumb-h);
    overflow: hidden;
  }

  #related-entries .related-entry-card-thumb,
  .related-entries .related-entry-card-thumb,
  .related-entries.rect-vertical-card .related-entry-card-thumb,
  .related-entries.rect-vertical-card-3 .related-entry-card-thumb,
  .related-entries.rect-vertical-card-4 .related-entry-card-thumb,
  .related-entries.rect-mini-card .related-entry-card-thumb {
    float: none !important;
    flex: 0 0 var(--related-sp-thumb-w);
    width: var(--related-sp-thumb-w) !important;
    height: var(--related-sp-thumb-h) !important;
    max-height: var(--related-sp-thumb-h) !important;
    margin: 0 !important;
    overflow: hidden;
    line-height: 0;
  }

  #related-entries .related-entry-card-thumb img,
  #related-entries .related-entry-card-thumb-image,
  #related-entries .related-entry-card-thumb .card-thumb-image,
  .related-entries .related-entry-card-thumb img,
  .related-entries .related-entry-card-thumb-image,
  .related-entries .related-entry-card-thumb .card-thumb-image,
  .related-entries.rect-vertical-card .related-entry-card-thumb img,
  .related-entries.rect-mini-card .related-entry-card-thumb img,
  .related-entries.rect-vertical-card-3 .related-entry-card-thumb img,
  .related-entries.rect-vertical-card-4 .related-entry-card-thumb img {
    width: 100% !important;
    height: var(--related-sp-thumb-h) !important;
    max-height: var(--related-sp-thumb-h) !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
  }

  #related-entries .related-entry-card-content,
  .related-entries .related-entry-card-content,
  .related-entries.rect-mini-card .related-entry-card-content,
  .related-entries.rect-vertical-card .related-entry-card-content,
  .related-entries.rect-vertical-card-3 .related-entry-card-content,
  .related-entries.rect-vertical-card-4 .related-entry-card-content {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 0 !important;
    height: var(--related-sp-thumb-h);
    max-height: var(--related-sp-thumb-h);
    padding: 0 !important;
    overflow: hidden;
    display: block;
  }

  #related-entries .related-entry-card-snippet,
  .related-entries .related-entry-card-snippet,
  #related-entries .related-entry-card-meta,
  .related-entries .related-entry-card-meta {
    display: none !important;
  }

  #related-entries .related-entry-card-title,
  .related-entries .related-entry-card-title {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.35;
    max-height: var(--related-sp-thumb-h);
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    text-overflow: ellipsis;
    word-break: break-word;
  }
}