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

/* ==========================================
   ShioLife Lab - Renewal Stylesheet
   安全整理版 2026-10-15
   Cocoon Child / Skinなし
   注意：カスケードの順序を変えないため、既存のセクション順を維持。
   過去の追記に見える箇所も、現行表示に必要なルールがあります。
========================================== */

/* 01. カラーパレット */
:root {
  --sll-main: #718C76;
  --sll-dark: #354C3E;
  --sll-light: #E7EEE7;
  --sll-bg: #F7F9F6;
  --sll-white: #FFFFFF;
  --sll-text: #303A33;
  --sll-muted: #68766B;
  --sll-border: #DDE5DD;
  --sll-accent: #A9BFAE;
}

/* 02. サイト全体 */
body {
  background-color: var(--sll-bg);
  color: var(--sll-text);
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic",
    Meiryo, sans-serif;
}

a {
  -webkit-tap-highlight-color: transparent;
}

a:hover {
  transition: opacity .2s ease;
}

.main {
  background-color: var(--sll-white);
}

/* 既存の本文下余白の調整を維持 */
.entry-content {
  padding-bottom: 0;
  margin-bottom: 0;
  color: var(--sll-text);
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.body .article {
  margin-bottom: 0;
}

/* 03. ヘッダーの基本デザイン */
.header-container {
  background-color: var(--sll-white);
}

.header {
  background: transparent;
}

.site-name-text {
  color: var(--sll-dark);
  font-weight: 700;
}

.tagline {
  color: var(--sll-muted);
}

.header-container .navi {
  background-color: var(--sll-white);
}

.navi .navi-in a:hover {
  background-color: var(--sll-light);
}

/* 04. 記事タイトル H1 */
.single .article-header,
.page .article-header {
  text-align: left;
  margin-bottom: 24px;
}

.single .article-header h1,
.page .article-header h1 {
  position: static;
  background: transparent;
  color: var(--sll-text);
  font-size: 1.65em;
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
  text-shadow: none;
  border: none;
  padding: 0;
  margin: 0 0 12px;
}

/* カテゴリー・タグ */
.entry-categories-tags {
  margin-bottom: 12px;
}

a.cat-link,
a.tag-link {
  display: inline-block;
  background: var(--sll-main) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  margin: 0 5px 5px 0;
  padding: 4px 10px;
  text-decoration: none;
}

a.cat-link:hover,
a.tag-link:hover {
  opacity: .8;
}

.date-tags {
  color: var(--sll-muted);
  font-size: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: static;
}

.date-tags .post-update,
.date-tags .post-date {
  margin-right: 0;
}

/* アイキャッチ */
.eye-catch {
  box-shadow: none;
  margin-bottom: 24px;
}

.eye-catch img {
  width: 100%;
  height: auto !important;
  filter: none;
  opacity: 1;
  transform: none;
  border-radius: 4px;
  box-shadow: none;
}

/* 05. 本文のタイポグラフィ */
.entry-content p {
  line-height: 1.85;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

/* 通常の画像には一律の影を付けない */
.entry-content figure img {
  box-shadow: none;
}

.entry-content figcaption {
  color: var(--sll-muted);
  font-size: 12px;
  line-height: 1.6;
}

/* H2 */
.single .entry-content h2,
.page .entry-content h2 {
  background: var(--sll-light);
  color: var(--sll-dark);
  border: 0;
  border-left: 4px solid var(--sll-main);
  border-radius: 3px;
  box-shadow: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  padding: 15px 18px;
  margin: 2.5em 0 1.2em;
}

/* H3 */
.single .entry-content h3,
.page .entry-content h3 {
  background: transparent;
  color: var(--sll-dark);
  border: 0;
  border-bottom: 2px solid var(--sll-accent);
  border-radius: 0;
  box-shadow: none;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  padding: 8px 2px 10px;
  margin: 2em 0 1em;
}

/* H4 */
.single .entry-content h4,
.page .entry-content h4 {
  background: transparent;
  color: var(--sll-dark);
  border: none;
  border-left: 3px solid var(--sll-accent);
  font-size: 17px;
  font-weight: 700;
  padding: 5px 12px;
  margin: 1.8em 0 1em;
}

/* 見出しへの移動時の余白 */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  scroll-margin-top: 90px;
}

/* 06. 記事内の目次 */
.entry-content .toc {
  background: #F2F6F1;
  border: 1px solid var(--sll-border);
  border-radius: 6px;
  box-shadow: none;
  padding: 18px;
}

.entry-content .toc a {
  color: var(--sll-text);
  text-decoration: none;
}

.entry-content .toc a:hover {
  color: var(--sll-main);
}

/* 07. ブログカード */
.entry-content .blogcard {
  box-shadow: 0 2px 7px rgba(30,55,35,.05);
  padding-bottom: 8px;
}

.entry-content a.blogcard-wrap {
  transition: background-color .2s, box-shadow .2s;
}

.entry-content a.blogcard-wrap:hover {
  background-color: #F5F8F4;
}

.entry-content .blogcard-title {
  text-align: left;
}

.entry-content .blogcard-snippet {
  text-align: left;
}

.entry-content .blogcard-date {
  display: none;
}

.entry-content .internal-blogcard::after,
.entry-content .external-blogcard::after {
  display: none;
}

/* 08. サイドバー目次 */
.sidebar #toc-2 .toc-content {
  scrollbar-width: thin;
  scrollbar-color: var(--sll-accent) #EFF3EF;
}

.sidebar .toc-content::-webkit-scrollbar {
  width: 7px;
}

.sidebar .toc-content::-webkit-scrollbar-thumb {
  background: var(--sll-accent);
  border-radius: 8px;
}

/* 既存JavaScriptのcurrentクラスに対応 */
.sidebar #toc-2 li.current {
  background-color: var(--sll-light);
}

/* 09. Contact Form 7 */
.haveto {
  background: var(--sll-main);
  color: #fff;
  font-size: 11px;
  border-radius: 4px;
  padding: 3px 7px;
  margin-right: 6px;
}

#formbtn {
  display: block;
  width: min(100%, 300px);
  padding: 13px;
  background: var(--sll-main);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  margin: 25px auto 0;
  cursor: pointer;
  transition: background .2s;
}

#formbtn:hover {
  background: var(--sll-dark);
}

.wpcf7 p {
  margin-bottom: 0;
}

/* 10. 既存の退職代行記事CTAを維持 */
.cta-copy {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #444;
}

/* 11. タブレット */
@media screen and (max-width: 1023px) {
  .entry-content {
    font-size: 16px;
  }
}

/* 12. スマートフォン */
@media screen and (max-width: 834px) {

  /* Cocoonの外側余白を調整 */
  body.single main.main,
  body.page main.main {
    padding: 16px;
  }

  /* 本文に余白を二重に作らない */
  .single article > .entry-content,
  .page article > .entry-content {
    padding-left: 0;
    padding-right: 0;
  }

  /* モバイルのヘッダー */
  .header-container {
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
  }

  .header {
    text-align: left;
  }

  .site-name-text {
    font-size: 20px;
    line-height: 1.3;
  }

  /* キャッチフレーズ非表示 */
  .header .tagline,
  .header-container .tagline {
    display: none;
  }

  /* 記事タイトル */
  .single .article-header,
  .page .article-header {
    margin-bottom: 18px;
  }

  .single .article-header h1,
  .page .article-header h1 {
    font-size: 23px;
    line-height: 1.55;
    padding: 0;
  }

  /* 見出し */
  .single .entry-content h2,
  .page .entry-content h2 {
    font-size: 21px;
    padding: 12px 14px;
    margin-top: 2.2em;
  }

  .single .entry-content h3,
  .page .entry-content h3 {
    font-size: 18px;
    padding: 7px 2px 9px;
  }

  .single .entry-content h4,
  .page .entry-content h4 {
    font-size: 16px;
  }

  .entry-content {
    font-size: 16px;
    line-height: 1.8;
  }

  /* 目次 */
  .entry-content .toc {
    padding: 14px;
  }

  /* ブログカード */

  .entry-content .blogcard-snippet {
    font-size: 12px;
  }
}

/* 13. 小型スマートフォン */
@media screen and (max-width: 480px) {

  .single .article-header h1,
  .page .article-header h1 {
    font-size: 21px;
  }

  .entry-content p {
    line-height: 1.85;
  }

  .date-tags {
    font-size: 11px;
  }

  /* 比較表などのはみ出し防止 */
  .entry-content .wp-block-table {
    overflow-x: auto;
  }

  .entry-content .wp-block-table table {
    min-width: 100%;
  }
}

/* ==========================================
   ShioLife Lab - 目次・ブログカード調整
   目次・ブログカードの改善
========================================== */

/* ------------------------------------------
   01. サイドバー目次
------------------------------------------ */

/* 目次全体 */
.sidebar #toc-2 {
  background: #fff;
  border: 1px solid var(--sll-border);
  border-radius: 8px;
  padding: 14px 12px;
  box-sizing: border-box;
}

/* ウィジェットタイトル */
.sidebar #toc-2 .widget-title {
  position: static;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border: none;
  border-bottom: 1px solid var(--sll-border);
  background: transparent;
  box-shadow: none;
  color: var(--sll-dark);
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

/* 重複する目次タイトルは非表示 */

/* 目次コンテンツ */
.sidebar #toc-2 .toc {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

.sidebar #toc-2 .toc-content {
  max-height: min(390px, 65vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 5px 0 0;
}

/* リスト全体 */
.sidebar #toc-2 .toc-list {
  margin-top: 0;
  margin-bottom: 0;
}

/* 各目次項目 */
.sidebar #toc-2 .toc-list li {
  border-radius: 4px;
}

/* リンクの読みやすさ */
.sidebar #toc-2 .toc-list li a {
  display: inline-block;
  padding: 5px 7px;
  line-height: 1.7;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* 現在閲覧中の項目 */
.sidebar #toc-2 li.current {
  background: var(--sll-light);
  border-left: 3px solid var(--sll-main);
  border-radius: 4px;
}

/* ハイライト内の文字 */
.sidebar #toc-2 li.current > a {
  color: var(--sll-dark);
  font-weight: 700;
}

/* ------------------------------------------
   02. 記事冒頭の目次
------------------------------------------ */

/* 目次の外枠 */
.single .entry-content .toc,
.page .entry-content .toc {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #F7FAF7;
  border: 1px solid #D8E4DA;
  border-top: 4px solid var(--sll-main);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 3px 12px rgba(40,65,45,.04);
}

/* 目次タイトル */
.entry-content .toc-title {
  color: var(--sll-dark);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  padding: 0 0 14px;
  margin: 0 0 14px;
  border-bottom: 1px solid var(--sll-border);
}

/* タイトルの左にアイコン風装飾 */
.entry-content .toc-title::before {
  content: "☷";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  background: var(--sll-light);
  color: var(--sll-dark);
  border-radius: 6px;
  font-size: 20px;
  vertical-align: middle;
}

/* 目次リスト */
.entry-content .toc-content {
  padding: 0;
}

.entry-content .toc-list {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content .toc-list li {
  line-height: 1.7;
  margin-bottom: 8px;
}

/* リンク */
.entry-content .toc-list a {
  color: #405849;
  line-height: 1.75;
  text-decoration: none;
  transition: color .2s;
}

.entry-content .toc-list a:hover {
  color: var(--sll-main);
  text-decoration: underline;
}

/* 下層の目次 */
.entry-content .toc-list li li {
  font-size: .94em;
  margin-top: 5px;
  margin-bottom: 5px;
}

/* ------------------------------------------
   03. ブログカード
------------------------------------------ */

/* カード外枠 */
.entry-content .blogcard {
  box-sizing: border-box;
}

/* ブログカード全体のリンク */
.entry-content .blogcard-wrap {
  max-width: 100%;
  text-decoration: none;
}

/* サムネイル */
.entry-content .blogcard-thumbnail img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: none;
}

/* タイトル */
.entry-content .blogcard-title {
  overflow-wrap: anywhere;
}

/* 説明文 */
.entry-content .blogcard-snippet {
  color: var(--sll-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* ------------------------------------------
   04. スマートフォン
------------------------------------------ */

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

  /* 記事冒頭の目次 */
  .single .entry-content .toc,
  .page .entry-content .toc {
    padding: 16px;
  }

  .entry-content .toc-title {
    font-size: 17px;
  }

  .entry-content .toc-list li {
    line-height: 1.65;
    margin-bottom: 7px;
  }

  /* ブログカード */

  .entry-content .blogcard-title {
    font-size: 14px;
  }
}

/* ==========================================
   ShioLife Lab - 目次・ブログカード追加調整
   サイドバー目次・ブログカード微調整
========================================== */

/* ------------------------------------------
   01. サイドバー目次
------------------------------------------ */

/* サイドバー目次にタイトルを表示 */
.sidebar #toc-2 .toc-title {
  display: block;
  position: static;
  margin: 0 0 12px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 1px solid var(--sll-border);
  background: transparent;
  box-shadow: none;
  color: var(--sll-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
}

/* タイトル前のリストアイコン */
.sidebar #toc-2 .toc-title::before {
  content: "☷";
  display: inline-block;
  color: var(--sll-main);
  font-size: 20px;
  font-weight: 700;
  margin-right: 8px;
  vertical-align: middle;
}

/* リスト本体との距離 */
.sidebar #toc-2 .toc-content {
  margin-top: 4px;
}

/* リンクの横余白を少し縮小 */
.sidebar #toc-2 .toc-list li a {
  padding-left: 5px;
  padding-right: 5px;
}

/* 現在位置ハイライトの左余白 */
.sidebar #toc-2 li.current {
  padding-left: 4px;
}

/* ------------------------------------------
   02. ブログカードのラベル修正
------------------------------------------ */

/* ブログカード全体の位置調整 */

/* 関連記事ラベルの表示領域を確保 */
.entry-content .blogcard {
  margin-top: 6px;
}

/* ラベルの重なりを防ぐ */
.entry-content .blogcard::before {
  display: none;
}

/* Cocoonのブログカードラベル */
.entry-content .blogcard-label {
  margin-bottom: 6px;
  overflow: visible;
}

/* ------------------------------------------
   03. スマホ
------------------------------------------ */

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

  .sidebar #toc-2 .toc-title {
    font-size: 15px;
  }

  .entry-content .blogcard-wrap {
    margin-top: 18px;
  }
}

/* ==========================================
   ShioLife Lab - ブログカード最終調整
   ブログカードのラベル・余白修正
========================================== */

/* ブログカード全体 */
.entry-content .blogcard-wrap {
  position: relative;
  display: block;
  margin-top: 25px;
  overflow: visible;
}

/* カード本体 */
.entry-content .blogcard {
  position: relative;
  overflow: visible;
  padding: 14px;
  border: 1px solid var(--sll-border);
  border-radius: 8px;
  background: #fff;
}

/* ラベルをカード左上に配置 */
.entry-content .blogcard-label {
  position: absolute;
  top: -13px;
  left: 14px;
  right: auto;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 28px);

  margin: 0;
  padding: 5px 12px;

  background: var(--sll-main) !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Cocoon標準の疑似要素 */
.entry-content .blogcard-label::after {
  color: #fff !important;
}

/* カード画像 */
.entry-content .blogcard-thumbnail {
  overflow: hidden;
  border-radius: 4px;
}

/* タイトル */
.entry-content .blogcard-title {
  color: var(--sll-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

/* ホバー時 */
.entry-content .blogcard-wrap:hover .blogcard {
  background: #F7FAF7;
  border-color: var(--sll-accent);
}

/* スマホ */
@media screen and (max-width: 834px) {
  .entry-content .blogcard {
    padding: 10px;
  }

  .entry-content .blogcard-label {
    left: 10px;
    font-size: 11px;
    padding: 4px 9px;
  }
}

/* ==========================================
   ShioLife Lab
   スマホメニューを右側から表示
========================================== */

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

  .navi-menu-content {
    left: auto;
    right: 0;
    transform: translateX(105%);
  }

}

/* ==========================================
   ShioLife Lab - Mobile Header（基本配置）
========================================== */

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

  /* ヘッダーボタン全体 */
  .mobile-header-menu-buttons {
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
  }

  /* ボタンを横並びにする */
  .mobile-header-menu-buttons .menu-button-in {
    display: flex;
    align-items: center;
    min-height: 64px;
  }

  /* ロゴ領域を左側に広げる */
  .mobile-header-menu-buttons .logo-menu-button {
    text-align: left;
  }

  /* ロゴのリンク */
  .mobile-header-menu-buttons .logo-menu-button a {
    justify-content: flex-start;
    text-align: left;
    padding-left: 16px;
  }

  /* サイト名 */
  .mobile-header-menu-buttons .logo-menu-button .site-name-text {
    color: var(--sll-dark);
    font-size: 20px;
    font-weight: 700;
  }

  /* 検索・メニューボタン */

  /* アイコンの色 */
  .mobile-header-menu-buttons .menu-button {
    color: var(--sll-dark);
  }

  .mobile-header-menu-buttons .menu-button:hover {
    background: var(--sll-light);
  }

  /* ボタン内のアイコン */
  .mobile-header-menu-buttons .menu-button .fa {
    font-size: 20px;
  }

  /* キャッチフレーズは非表示 */
  .mobile-header-menu-buttons .tagline {
    display: none;
  }
}

/* ==========================================
   ShioLife Lab - Mobile Header（レイアウト詳細）
   Cocoon公式のCSSをベースに調整
========================================== */

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

  /* ヘッダー全体 */
  .mobile-header-menu-buttons {
    background: #fff;
    justify-content: space-between;
    min-height: 64px;
  }

  /* ロゴ領域を広げて左寄せ */
  .mobile-header-menu-buttons .logo-menu-button {
    flex: 1 1 auto;
    justify-content: flex-start;
    padding-left: 16px;
    min-width: 0;
  }

  /* 検索・メニューボタン */
  .mobile-header-menu-buttons .search-menu-button,
  .mobile-header-menu-buttons .navi-menu-button {
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
  }

  /* ボタン内のテキストを非表示 */
  .mobile-header-menu-buttons .menu-button-caption {
    display: none;
  }

  /* アイコンの色 */
  .mobile-header-menu-buttons .menu-button-in {
    color: var(--sll-dark);
  }

  /* アイコンサイズ */
  .mobile-header-menu-buttons .fa,
  .mobile-header-menu-buttons .fas {
    font-size: 21px;
  }
}

/* スマホヘッダーのアイコン下の文字を非表示 */
@media screen and (max-width: 1023px) {
  .mobile-header-menu-buttons .menu-caption,
  .mobile-header-menu-buttons .menu-button-caption {
    display: none !important;
  }
}

/* ==========================================
   ShioLife Lab - Home Page（メインビジュアル）
   メインビジュアル
========================================== */

.sll-home-hero {
  background: #F0F4EF;
  border-radius: 12px;
  padding: 40px 36px;
  margin-bottom: 40px;
}

.sll-home-hero > p:first-child {
  margin-bottom: 14px;
}

.sll-home-hero h1,
.sll-home-hero h2 {
  color: var(--sll-dark);
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
  padding: 0;
  margin: 0 0 18px;
}

.sll-home-hero > p {
  color: #526457;
  font-size: 15px;
  line-height: 1.9;
}

.sll-home-hero .wp-block-button__link {
  background: var(--sll-main);
  text-decoration: none;
}

.sll-home-hero .wp-block-button__link:hover {
  background: var(--sll-dark);
}

/* スマートフォン */
@media screen and (max-width: 834px) {
  .sll-home-hero {
    margin-bottom: 30px;
    border-radius: 8px;
  }

  .sll-home-hero h1,
  .sll-home-hero h2 {
    font-size: 25px;
  }

  .sll-home-hero > p {
    font-size: 14px;
  }
}

/* ==========================================
   ShioLife Lab - Home Hero（要素間余白）
   メインビジュアル調整
========================================== */

/* ヒーロー内の要素間余白を統一 */
.sll-home-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cocoonの本文用見出し装飾を解除 */
.page .entry-content .sll-home-hero h1,
.page .entry-content .sll-home-hero h2,
.sll-home-hero .wp-block-heading {
  background: transparent;
  border: 0;
  border-left: 0;
  border-bottom: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  color: var(--sll-dark);
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.5;
}

/* 段落の大きすぎる余白を解除 */
.sll-home-hero p {
  margin: 0;
  padding: 0;
}

/* 英語のラベル */
.sll-home-hero > p:first-child {
  color: var(--sll-main);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}

/* 紹介文 */
.sll-home-hero > p:not(:first-child) {
  color: #526457;
  font-size: 15px;
  line-height: 1.85;
}

/* ボタンブロックの余白を解除 */
.sll-home-hero .wp-block-buttons,
.sll-home-hero .wp-block-button {
  margin: 0;
}

/* ボタンをセージグリーンに */
.sll-home-hero .wp-block-button__link {
  background-color: var(--sll-main);
  color: #fff;
  border-radius: 6px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.sll-home-hero .wp-block-button__link:hover {
  background-color: var(--sll-dark);
}

/* スマートフォン */
@media screen and (max-width: 834px) {
  .sll-home-hero {
    gap: 14px;
    padding: 26px 20px;
  }

  .page .entry-content .sll-home-hero h1,
  .page .entry-content .sll-home-hero h2 {
    font-size: 25px;
  }

  .sll-home-hero > p:not(:first-child) {
    font-size: 14px;
  }
}

/* フロントページのタイトルを非表示 */
body.home.page .article-header {
  display: none;
}

/* ==========================================
   ShioLife Lab - Category Grid
========================================== */

/* ボタン集合をGridに変更 */
/* カテゴリーカードを横並びにする */
.sll-category-buttons {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
}

/* 各ボタンの親要素も幅いっぱいに */
.sll-category-buttons > .wp-block-buttons {
  width: 100%;
  margin: 0;
}

.sll-category-buttons > .wp-block-buttons .wp-block-button {
  width: 100%;
}

/* ボタンのサイズを統一 */
.sll-category-buttons .wp-block-button {
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* カテゴリーカードのデザイン */
.sll-category-buttons .wp-block-button__link {
  width: 100%;
  min-height: 100px;
  padding: 15px 8px;
  box-sizing: border-box;

  background: var(--sll-bg) !important;
  color: var(--sll-dark) !important;
  border: 1px solid var(--sll-border);
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  box-shadow: none;
  white-space: normal;
  overflow-wrap: anywhere;

  transition:
    background .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

/* ホバー時 */
.sll-category-buttons .wp-block-button__link:hover {
  background: var(--sll-light) !important;
  border-color: var(--sll-accent);
  transform: translateY(-2px);
}

/* タブレット */
@media screen and (max-width: 1023px) {
 .sll-category-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media screen and (max-width: 600px) {
  .sll-category-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sll-category-buttons .wp-block-button__link {
    min-height: 90px;
    padding: 12px 8px;
    font-size: 13px;
  }
}

/* ==========================================
   ShioLife Lab - Category Icons
   Font Awesome 5 Free
========================================== */

/* アイコン共通 */
.sll-category-buttons
.wp-block-button__link::before {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-size: 27px;
  line-height: 1;
  color: var(--sll-main);
  margin-bottom: 10px;
}

/* カード内の配置 */
.sll-category-buttons .wp-block-button__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 1. 洗濯洗剤：衣類 */
.sll-category-buttons
.wp-block-buttons:nth-child(1)
.wp-block-button__link::before {
  content: "";
}

/* 2. 掃除・日用品：スプレー */
.sll-category-buttons
.wp-block-buttons:nth-child(2)
.wp-block-button__link::before {
  content: "";
}

/* 3. 家電：プラグ */
.sll-category-buttons
.wp-block-buttons:nth-child(3)
.wp-block-button__link::before {
  content: "";
}

/* 4. ガジェット：ノートPC */
.sll-category-buttons
.wp-block-buttons:nth-child(4)
.wp-block-button__link::before {
  content: "";
}

/* 5. 暮らし：家 */
.sll-category-buttons
.wp-block-buttons:nth-child(5)
.wp-block-button__link::before {
  content: "";
}

/* 6. 旅行：飛行機 */
.sll-category-buttons
.wp-block-buttons:nth-child(6)
.wp-block-button__link::before {
  content: "";
}

/* スマートフォン */
@media screen and (max-width: 600px) {
  .sll-category-buttons
  .wp-block-button__link::before {
    font-size: 24px;
    margin-bottom: 8px;
  }
}

/* ==========================================
   ShioLife Lab - Featured Reviews
========================================== */

/* 3列レイアウト */
.sll-featured-grid {
  gap: 18px;
  margin-top: 24px;
  margin-bottom: 42px;
}

/* 各カード */
.sll-featured-grid > .wp-block-column {
  background: #fff;
  border: 1px solid var(--sll-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0 0 15px;
  box-shadow: 0 2px 8px rgba(40,65,45,.04);
  transition: transform .2s, box-shadow .2s;
}

.sll-featured-grid > .wp-block-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(40,65,45,.1);
}

/* 画像 */
.sll-featured-grid .wp-block-image {
  margin: 0;
}

.sll-featured-grid .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

/* カテゴリー */
.sll-featured-grid .wp-block-column > p:nth-of-type(1) {
  color: var(--sll-main);
  font-size: 12px;
  font-weight: 700;
  margin: 14px 14px 5px;
}

/* 記事タイトル */
.sll-featured-grid .wp-block-column > p:nth-of-type(2) {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
  margin: 0 14px;
}

.sll-featured-grid .wp-block-column > p:nth-of-type(2) a {
  color: var(--sll-dark);
  text-decoration: none;
}

.sll-featured-grid .wp-block-column > p:nth-of-type(2) a:hover {
  color: var(--sll-main);
}

/* スマホは1列表示 */
@media screen and (max-width: 600px) {
  .sll-featured-grid {
    gap: 14px;
  }

  .sll-featured-grid > .wp-block-column {
    padding-bottom: 12px;
  }

  .sll-featured-grid .wp-block-column > p:nth-of-type(2) {
    font-size: 15px;
  }
}

/* ==========================================
   ShioLife Lab - Featured Reviews（スマホ）
   スマホのみ横型カードに変更
========================================== */

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

  /* カード一覧 */
  .wp-block-columns.sll-featured-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 32px;
  }

  /* 各カードを横型のGridに変更 */
  .sll-featured-grid > .wp-block-column {
    display: grid;
    grid-template-columns:
      minmax(100px, 36%) minmax(0, 1fr);
    grid-template-areas:
      "image category"
      "image title";
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 5px;

    align-content: center;
    align-items: center;

    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;

    min-height: 105px;
    padding: 10px;
    margin: 0;

    border-radius: 8px;
    overflow: hidden;
  }

  /* 左側のアイキャッチ */
  .sll-featured-grid
  > .wp-block-column
  > .wp-block-image {
    grid-area: image;
    width: 100%;
    margin: 0;
    align-self: center;
  }

  .sll-featured-grid
  .wp-block-image a {
    display: block;
    width: 100%;
  }

  .sll-featured-grid
  .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 5px;
  }

  /* 右上のカテゴリー名 */
  .sll-featured-grid
  > .wp-block-column
  > p:nth-of-type(1) {
    grid-area: category;
    align-self: end;

    margin: 0;
    padding: 0;

    color: var(--sll-main);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
  }

  /* 右下の記事タイトル */
  .sll-featured-grid
  > .wp-block-column
  > p:nth-of-type(2) {
    grid-area: title;
    align-self: start;

    min-width: 0;
    margin: 0;
    padding: 0;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .sll-featured-grid
  > .wp-block-column
  > p:nth-of-type(2) a {
    color: var(--sll-dark);
    text-decoration: none;
  }

  /* タップ時の違和感を軽減 */
  .sll-featured-grid
  > .wp-block-column:hover {
    transform: none;
    background: #F7FAF7;
  }

}

/* ==========================================
   ShioLife Lab - Latest Reviews
   クエリーループ用記事カード
========================================== */

/* PC：3列グリッド */
.sll-latest-reviews .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  list-style: none;
  margin: 24px 0 0 !important;
  padding: 0 !important;
}

/* 各記事カード */
.sll-latest-reviews .wp-block-post {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;

  background: #fff;
  border: 1px solid var(--sll-border);
  border-radius: 8px;
  overflow: hidden;

  box-shadow: 0 2px 8px rgba(40,65,45,.04);
  transition: transform .2s, box-shadow .2s;
}

/* ホバー時 */
.sll-latest-reviews .wp-block-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(40,65,45,.1);
}

/* アイキャッチ画像 */
.sll-latest-reviews .wp-block-post-featured-image {
  margin: 0 !important;
  padding: 0;
}

.sll-latest-reviews .wp-block-post-featured-image a {
  display: block;
}

.sll-latest-reviews .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

/* 投稿タイトル：
   既存の記事用H2装飾を解除 */
.page .entry-content
.sll-latest-reviews .wp-block-post-title {
  background: transparent;
  color: var(--sll-dark);
  border: none;
  box-shadow: none;
  border-radius: 0;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;

  margin: 12px 12px 8px !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
}

/* タイトルリンク */
.sll-latest-reviews .wp-block-post-title a {
  color: var(--sll-dark);
  text-decoration: none;
}

.sll-latest-reviews .wp-block-post-title a:hover {
  color: var(--sll-main);
}

/* 投稿日 */
.sll-latest-reviews .wp-block-post-date {
  color: var(--sll-muted);
  font-size: 12px;
  line-height: 1.5;
  margin: auto 12px 12px !important;
  padding: 0;
}

.sll-latest-reviews .wp-block-post-date a {
  color: inherit;
  text-decoration: none;
}

/* タブレット：2列 */
@media screen and (max-width: 1023px) {
  .sll-latest-reviews .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

/* スマホ：2列 */
@media screen and (max-width: 600px) {
  .sll-latest-reviews .wp-block-post-template {
    gap: 12px !important;
    margin-top: 18px !important;
  }

  .page .entry-content
  .sll-latest-reviews .wp-block-post-title {
    font-size: 13px;
    line-height: 1.5;
    margin: 9px 9px 7px !important;
  }

  .sll-latest-reviews .wp-block-post-date {
    font-size: 10px;
    margin: auto 9px 10px !important;
  }
}

/* ==========================================
   ShioLife Lab - Popular Reviews
========================================== */

/* PC：2列×2段 */
.sll-popular-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 42px;
}

/* 各カード */
.sll-popular-grid > .wp-block-media-text {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr) !important;
  grid-template-areas: "media content" !important;
  gap: 10px;
  align-items: center;

  min-width: 0;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--sll-border);
  border-radius: 8px;
  overflow: hidden;

  box-shadow: 0 2px 8px rgba(40,65,45,.04);
  transition: background .2s, border-color .2s;
}

.sll-popular-grid > .wp-block-media-text:hover {
  background: #F7FAF7;
  border-color: var(--sll-accent);
}

/* アイキャッチ */
.sll-popular-grid .wp-block-media-text__media {
  grid-area: media !important;
}

/* 文章領域 */
.sll-popular-grid .wp-block-media-text__content {
  grid-area: content !important;
  padding: 0 !important;
  min-width: 0;
}

/* 文章の余白 */
.sll-popular-grid .wp-block-media-text__content p {
  margin: 0 0 5px;
  line-height: 1.55;
}

.sll-popular-grid .wp-block-media-text__content p:first-child {
  color: var(--sll-main);
  font-size: 11px;
  font-weight: 700;
}

.sll-popular-grid .wp-block-media-text__content p:last-child {
  color: var(--sll-dark);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0;
}

.sll-popular-grid .wp-block-media-text__content a {
  color: var(--sll-dark);
  text-decoration: none;
}

/* スマホ：横型カードを縦4段 */
@media screen and (max-width: 700px) {
  .sll-popular-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }

  .sll-popular-grid > .wp-block-media-text {
    grid-template-columns: 36% minmax(0, 1fr) !important;
    grid-template-areas: "media content" !important;
    padding: 9px;
  }

  .sll-popular-grid .wp-block-media-text__content
  p:last-child {
    font-size: 13px;
  }
}

/* ==========================================
   ShioLife Lab - Popular Reviews（画像表示）
   画像サイズ・カード余白調整
========================================== */

/* カード間の余計な余白を解除 */
.sll-popular-grid > .wp-block-media-text {
  margin: 0 !important;
  align-self: stretch;
}

/* 画像領域を16:9に統一 */
.sll-popular-grid .wp-block-media-text__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  background: var(--sll-bg);
  border-radius: 5px;
}

/* 画像リンクがある場合 */
.sll-popular-grid .wp-block-media-text__media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* 画像の表示サイズを統一 */
.sll-popular-grid .wp-block-media-text__media img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
}

/* ==========================================
   ShioLife Lab - Explore Section
========================================== */

/* 2列レイアウト */
.sll-home-explore .sll-explore-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 40px;
}

/* 各カード */
.sll-home-explore .sll-explore-grid > .wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 10px;

  min-width: 0;
  margin: 0;
  padding: 22px;

  background: var(--sll-bg);
  border: 1px solid var(--sll-border);
  border-radius: 10px;
  box-sizing: border-box;
}

/* アイコン共通 */
.sll-explore-grid > .wp-block-column::before {
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 27px;
  line-height: 1.2;
  color: var(--sll-main);
}

/* 暮らし：家 */
.sll-explore-grid > .wp-block-column:first-child::before {
  content: "";
}

/* 旅行：飛行機 */
.sll-explore-grid > .wp-block-column:nth-child(2)::before {
  content: "";
}

/* 見出し：CocoonのH3装飾を解除 */
.sll-home-explore .sll-explore-grid h3 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;

  font-size: 17px;
  line-height: 1.5;
  color: var(--sll-dark);
}

/* 説明文 */
.sll-explore-grid > .wp-block-column > p {
  margin: 0 !important;
  font-size: 13px;
  line-height: 1.7;
  color: var(--sll-muted);
}

/* リンクをカード下部に配置 */
.sll-explore-grid .wp-block-buttons {
  margin: auto 0 0 !important;
  padding-top: 8px;
}

/* ボタンをテキストリンク風に */
.sll-explore-grid .wp-block-button__link {
  background: transparent !important;
  color: var(--sll-main) !important;
  border: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none;
}

.sll-explore-grid .wp-block-button__link::after {
  content: " →";
}

.sll-explore-grid .wp-block-button__link:hover {
  color: var(--sll-dark) !important;
  text-decoration: underline;
}

/* スマホ */
@media screen and (max-width: 781px) {
  .sll-home-explore .sll-explore-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 32px;
  }

  .sll-home-explore .sll-explore-grid > .wp-block-column {
    padding: 18px;
  }
}

/* ==========================================
   ShioLife Lab - Home Page Cleanup
   トップページの不要な要素を非表示
========================================== */

/* 固定ページIDに依存せず、正式なホームページだけで非表示 */
body.home.page .article-header.entry-header,
body.home.page .date-tags {
  display: none !important;
}

/* ページ内リンクを滑らかにスクロール */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* 固定ヘッダーと見出しの重なりを防止 */
#featured-reviews {
  scroll-margin-top: 85px;
}

/* ==========================================
   ShioLife Lab トップページ
   セクション見出し：シンプルライン型
========================================== */

.home.page .entry-content h2.sll-home-section-title {
  position: relative;
  background: transparent !important;
  background-image: none !important;
  color: var(--sll-dark) !important;

  border: none !important;
  border-bottom: 1px solid var(--sll-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  padding: 9px 0 5px 16px !important;
  margin: 0 0 14px !important;

  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.5;
}

/* 左側のセージグリーンの縦ライン */
.home.page .entry-content h2.sll-home-section-title::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);

  width: 4px;
  height: 28px;
  background: var(--sll-main) !important;
  border: none !important;
  border-radius: 4px;
  box-shadow: none !important;
}

/* Cocoonなどの既存装飾を解除 */
.home.page .entry-content h2.sll-home-section-title::after {
  content: none !important;
  display: none !important;
}

/* スマホ版 */
@media screen and (max-width: 767px) {
  .home.page .entry-content h2.sll-home-section-title {
    font-size: 1.25rem;
    padding: 9px 0 4px 14px !important;
    margin-bottom: 12px !important;
  }

  .home.page .entry-content h2.sll-home-section-title::before {
    width: 3px;
    height: 24px;
  }
}

/* トップページ：メインビジュアルの高さを調整 */
.home.page .entry-content .sll-home-hero {
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 38px !important;
}

/* ボタンの下に余計なマージンを作らない */
.home.page .sll-home-hero .wp-block-buttons {
  margin-bottom: 0 !important;
}

/* トップページ：説明文とカードの間隔 */
/* カテゴリー説明文とボタンの間隔 */
.home.page .sll-home-categories .sll-category-buttons {
  margin-top: 6px !important;
}

/* 注目レビューの間隔は維持 */
.home.page .entry-content .sll-featured-grid {
  margin-top: 18px !important;
}

@media screen and (max-width: 767px) {
  .home.page .entry-content .sll-home-hero {
    padding-bottom: 28px !important;
  }

  .home.page .sll-home-categories .sll-category-buttons,
  .home.page .entry-content .sll-featured-grid {
    margin-top: 16px !important;
  }
}

/* トップページ：各セクションの説明文下余白を統一 */
.home.page .entry-content h2.sll-home-section-title + p {
  margin-bottom: 20px !important;
}


/* トップページ：注目レビューの説明文とカードの余白 */
body.home.page .entry-content p:has(+ .sll-featured-grid) {
  margin-bottom: 18px !important;
}


/* ==========================================
   ShioLife Lab
   PCヘッダーのカテゴリー名フォント
========================================== */

@media screen and (min-width: 1024px) {
  .navi .navi-in > ul > li > a,
  .navi .navi-in > ul > li > a .item-label {
    font-family: "Zen Maru Gothic",
                 "Hiragino Sans",
                 "Yu Gothic",
                 Meiryo, sans-serif;

    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.03em;
  }
}

/* ===================================
   PCヘッダーの横幅・メニュー間隔調整
=================================== */
@media screen and (min-width: 1024px) {

  /* ① ヘッダーの左右を少し内側へ */
  #header-container-in.wrap {
    width: calc(100% - 120px) !important;
    max-width: 1500px !important;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* ② カテゴリー間の距離を少し縮める */
  #navi .navi-in > ul {
    justify-content: flex-end;
  }

  #navi .navi-in > ul > li {
    width: 140px;
    flex: 0 0 150px;
  }

  #navi .navi-in > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
  }


/* PCヘッダー：プルダウン矢印を文字に近づける */
@media screen and (min-width: 1024px) {
  #navi .navi-in > ul > .menu-item-has-children > a .has-icon {
    right: 25px !important;
  }

}

/* ==========================================
   ShioLife Lab
   FAQデザイン
========================================== */
/* FAQ全体 */
.stylish-faq {
  border: 1px solid #e8ece8;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  padding: 18px 20px;
  margin: 24px 0;
}

/* FAQ内の各行 */
.stylish-faq p {
  margin: 0;
  line-height: 1.9;
}

/* 質問行 */
.stylish-faq .faq-q,
.stylish-faq .is-q,
.stylish-faq .question,
.stylish-faq .qa-question {
  position: relative;
  font-weight: 700;
  color: #333;
  padding: 0 0 14px 52px;
  border-bottom: 1px dashed #e6e6e6;
  margin-bottom: 14px;
}

/* 回答行 */
.stylish-faq .faq-a,
.stylish-faq .is-a,
.stylish-faq .answer,
.stylish-faq .qa-answer {
  position: relative;
  color: #555;
  background: #f8fbf8;
  border-radius: 10px;
  padding: 14px 16px 14px 52px;
  margin-top: 12px;
}

/* Qバッジ */
.stylish-faq .faq-q::before,
.stylish-faq .is-q::before,
.stylish-faq .question::before,
.stylish-faq .qa-question::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e9f5ee;
  color: #4e8b66;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Aバッジ */
.stylish-faq .faq-a::before,
.stylish-faq .is-a::before,
.stylish-faq .answer::before,
.stylish-faq .qa-answer::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef5fb;
  color: #4b7ea8;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* FAQカード全体 */
.stylish-faq {
  border: 1px solid #d8ded8;
  border-radius: 14px;
  padding: 20px 22px;
  margin: 24px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.20);
}

/* 質問と回答の余白調整 */
.stylish-faq p {
  margin: 0;
  line-height: 1.9;
}

/* FAQ内の最後の要素の余白を消す */
.stylish-faq > *:last-child {
  margin-bottom: 0;
}

/* スマホ */
@media screen and (max-width: 480px) {
  .stylish-faq {
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
  }
}
	

/* ===================================
   記事本文の画像に柔らかい影を追加
=================================== */
body.single-post .entry-content .wp-block-image img,
body.single-post .entry-content .wp-caption img {
  box-shadow: 0 3px 12px rgba(30, 45, 35, 0.12);
  border-radius: 4px;
}

	
	/* この記事の内容：段落とリストの間隔を縮小 */
.entry-content .sll-summary-tight > p {
  margin-bottom: 8px !important;
}

.entry-content .sll-summary-tight > ul,
.entry-content .sll-summary-tight > ol {
  margin-top: 0 !important;
}
	
	
/* ==========================================
   ShioLife Lab トップページ
   すべての記事：ページネーション
========================================== */

/* 現在表示しているページ番号 */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers .current {
  background: #718C76 !important;
  color: #fff !important;
  border-color: #718C76 !important;
  font-weight: 700 !important;
  border-radius: 4px;
}

/* 現在のページ番号をリンクと同じ形に */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers .page-numbers.current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 8px 12px;
  box-sizing: border-box;
}

/* ==========================================
   ShioLife Lab トップページ
   すべての記事：ページネーション
========================================== */

/* ページ番号を中央揃え */
.home.page .sll-latest-reviews
.wp-block-query-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ページ番号の並び */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

/* ページ番号の共通デザイン */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  background: #fff;
  color: #354C3E;
  border: 1px solid #D5D5D5;
  border-radius: 4px;

  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}

/* 現在のページだけ緑色 */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers
.page-numbers.current {
  background: #718C76 !important;
  color: #fff !important;
  border-color: #718C76 !important;
  font-weight: 700;
}

/* 通常ページのホバー */
.home.page .sll-latest-reviews
.wp-block-query-pagination-numbers
a.page-numbers:hover {
  background: #F0F4EF;
  border-color: #718C76;
}

/* 前へ・次への共通デザイン */
.home.page .sll-latest-reviews
.wp-block-query-pagination-previous,
.home.page .sll-latest-reviews
.wp-block-query-pagination-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
  box-sizing: border-box;

  background: #fff;
  color: #354C3E;
  border: 1px solid #D5D5D5;
  border-radius: 4px;

  font-size: 0;
  text-decoration: none;
}

/* 前へ・次への矢印 */
.home.page .sll-latest-reviews
.wp-block-query-pagination-previous::after {
  content: "‹";
  font-size: 28px;
  line-height: 1;
}

.home.page .sll-latest-reviews
.wp-block-query-pagination-next::after {
  content: "›";
  font-size: 28px;
  line-height: 1;
}

/* 前へ・次へのホバー */
.home.page .sll-latest-reviews
.wp-block-query-pagination-previous:hover,
.home.page .sll-latest-reviews
.wp-block-query-pagination-next:hover {
  background: #F0F4EF;
  border-color: #718C76;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .home.page .sll-latest-reviews
  .wp-block-query-pagination,
  .home.page .sll-latest-reviews
  .wp-block-query-pagination-numbers {
    gap: 6px;
  }

  .home.page .sll-latest-reviews
  .wp-block-query-pagination-numbers .page-numbers,
  .home.page .sll-latest-reviews
  .wp-block-query-pagination-previous,
  .home.page .sll-latest-reviews
  .wp-block-query-pagination-next {
    width: 42px;
    height: 42px;
  }
}

/* ==========================================
   ShioLife Lab
   カテゴリーページ：現在のページ番号を強調
========================================== */

/* 現在のページ番号だけセージグリーン */
body.category .pagination .current,
body.category .pagination .current a,
body.category .pagination .page-numbers.current,
body.category .pagination .pagination-item.current {
  background: #718C76 !important;
  color: #fff !important;
  border-color: #718C76 !important;
  font-weight: 700 !important;
}

/* 現在ページの文字色を白に統一 */
body.category .pagination .current *,
body.category .pagination .page-numbers.current * {
  color: #fff !important;
}

	
	/* =========================================
   ShioLife Lab 実使用レビュー評価ボックス
========================================= */

.sl-review-box {
  --review-main: #90c31f;
  --review-dark: #5f8612;
  --review-light: #f5faeb;
  --review-border: #dfe9cc;
  --review-gray: #e9ecef;
  --review-text: #333;
  --review-star: #f4b400;

  box-sizing: border-box;
  width: 100%;
  margin: 30px 0;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--review-border);
  border-radius: 14px;
  color: var(--review-text);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.05);
}


/* 上部 */
.sl-review-head {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #eee;
}


/* 総合評価 */
.sl-review-total {
  text-align: center;
}

.sl-review-label {
  display: inline-block;
  margin-bottom: 5px;
  padding: 4px 12px;
  background: var(--review-main);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.sl-review-score {
  margin-top: 6px;
  line-height: 1;
}

.sl-review-score-num {
  color: var(--review-dark);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
}

.sl-review-score-max {
  margin-left: 3px;
  color: #777;
  font-size: 15px;
  font-weight: 600;
}

.sl-review-stars {
  margin-top: 8px;
  color: var(--review-star);
  font-size: 22px;
  letter-spacing: 2px;
  line-height: 1;
}


/* 上部説明 */
.sl-review-summary strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 1.5;
}

.sl-review-summary p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}


/* 評価項目 */
.sl-review-items {
  display: grid;
  gap: 16px;
}

.sl-review-item {
  width: 100%;
}

.sl-review-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.sl-review-name {
  font-size: 15px;
  font-weight: 700;
}

.sl-review-value {
  min-width: 38px;
  color: var(--review-dark);
  font-size: 15px;
  font-weight: 800;
  text-align: right;
}


/* 評価バー */
.sl-review-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 9px;
  background: var(--review-gray);
  border-radius: 999px;
}

.sl-review-bar span {
  display: block;
  width: calc(var(--score) / 5 * 100%);
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--review-main),
    #a7d83d
  );
  border-radius: 999px;
}


/* POINT */
.sl-review-point {
  position: relative;
  margin-top: 24px;
  padding: 18px 18px 16px;
  background: var(--review-light);
  border-left: 4px solid var(--review-main);
  border-radius: 8px;
}

.sl-review-point-label {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--review-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sl-review-point p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}


/* 注釈 */
.sl-review-note {
  margin: 14px 0 0 !important;
  color: #888;
  font-size: 11px;
  line-height: 1.7;
}


/* スマホ */
@media screen and (max-width: 600px) {

  .sl-review-box {
    margin: 22px 0;
    padding: 18px 15px;
    border-radius: 12px;
  }

  .sl-review-head {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 18px;
    margin-bottom: 19px;
  }

  .sl-review-total {
    text-align: center;
  }

  .sl-review-score-num {
    font-size: 40px;
  }

  .sl-review-summary {
    text-align: center;
  }

  .sl-review-summary strong {
    font-size: 16px;
  }

  .sl-review-summary p {
    font-size: 13px;
  }

  .sl-review-name,
  .sl-review-value {
    font-size: 14px;
  }

  .sl-review-bar {
    height: 8px;
  }

  .sl-review-point {
    padding: 15px;
  }

  .sl-review-point p {
    font-size: 13px;
  }
}