/* ==========================================================
   共通レイアウト（固定ページ・投稿ページ横断）
   スコープ: .sotsot-page
   ※色などの変数と .wrap の左右余白は design.css に集約
   ========================================================== */
html {
  overflow-y: scroll;
}
.sotsot-page {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--ink);
}
.sotsot-page * { box-sizing: border-box; }
.sotsot-page h1, .sotsot-page h2 { font-family: 'Zen Maru Gothic', sans-serif; }

/* ----- ページタイトルエリア ----- */
.sotsot-page.page-title {
  position: relative;
  min-height: clamp(300px, 34vw, 480px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* ヘッダー分の余白。ヘッダー高さが変わったらこの数値を調整 */
  padding-top: 120px;
  padding-bottom: 100px;
}
.sotsot-page .page-title-bg {
  position: absolute;
  inset: 0;
  background-image: var(--pt-bg);
  background-size: cover;
  background-position: center;
}
.sotsot-page .page-title-wash {
  position: absolute;
  inset: 0;
  background: rgba(141, 120, 120, 0.5); 
}

.sotsot-page .page-title-label {
  display: inline-block;
  color: #FFFFFF;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.sotsot-page .page-title-h1 {
  color: var(--ink-strong);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}
.sotsot-page .page-title-lead {
  color:#FFFFFF;
  font-size: 14px;
  line-height: 1.9;
  max-width: 800px;
}
.sotsot-page .page-title-inner {
  position: relative;
  z-index: 2;
}
/* ----- 個別ページ・投稿・カテゴリーアーカイブのヘッダー透過 ----- */
body.single .site-header,
body.page:not(.home) .site-header,
body.category .site-header,
body.archive .site-header,
body.single .site-mobile-header-wrap,
body.page:not(.home) .site-mobile-header-wrap,
body.category .site-mobile-header-wrap,
body.archive .site-mobile-header-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent !important;
}

/* ----- TOP以外のヘッダーメニューを白文字に ----- */
body.single .site-header .main-navigation ul li a,
body.page:not(.home) .site-header .main-navigation ul li a,
body.category .site-header .main-navigation ul li a,
body.archive .site-header .main-navigation ul li a,
body.single .site-mobile-header-wrap .main-navigation ul li a,
body.page:not(.home) .site-mobile-header-wrap .main-navigation ul li a,
body.category .site-mobile-header-wrap .main-navigation ul li a,
body.archive .site-mobile-header-wrap .main-navigation ul li a {
  color: #FFFFFF !important;
}

/* ----- TOP以外のヘッダーメニュー ホバー色 ----- */
body.single .site-header .main-navigation ul li a:hover,
body.page:not(.home) .site-header .main-navigation ul li a:hover,
body.category .site-header .main-navigation ul li a:hover,
body.archive .site-header .main-navigation ul li a:hover,
body.single .site-mobile-header-wrap .main-navigation ul li a:hover,
body.page:not(.home) .site-mobile-header-wrap .main-navigation ul li a:hover,
body.category .site-mobile-header-wrap .main-navigation ul li a:hover,
body.archive .site-mobile-header-wrap .main-navigation ul li a:hover {
  color: #9f91c6 !important;
}
/* ----- タブレット ----- */
@media (max-width: 1024px) {
  .sotsot-page.page-title { padding-top: 84px; }
  .sotsot-page .page-title-h1 { font-size: 28px; }
}

/* ----- スマホ ----- */
@media (max-width: 480px) {
  .sotsot-page.page-title {
    min-height: 280px;
    padding-top: 72px;
    padding-bottom: 32px;
    align-items: flex-end;
  }
  .sotsot-page .page-title-label { font-size: 12px; }
  .sotsot-page .page-title-h1 { font-size: 22px; margin-bottom: 10px; }
  .sotsot-page .page-title-lead { font-size: 10px; }
}

/* ==========================================================
   このサイトについて（About）
   ========================================================== */
.sotsot-page.about-sec { padding: 90px 0; background: var(--bg); }

.sotsot-page .about-label {
  color: var(--purple);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}
.sotsot-page.about-sec h2 {
  color: var(--ink-strong);
  font-size: 30px;
  line-height: 1.5;
  margin: 0 0 24px;
}

/* ----- SOTSOTとは：左＝アーチ写真／右＝テキスト ----- */
.sotsot-page .about-inner {
  display: flex;
  align-items: center;
  gap: 72px;
}
.sotsot-page .about-visual { flex: 0 0 380px; }
.sotsot-page .about-text { flex: 1; min-width: 0; }
.sotsot-page .about-text p { line-height: 2; }
.sotsot-page .about-text p + p { margin-top: 1em; }

/* アーチ型にくり抜き＋ずらしたドット枠 */
.sotsot-page .about-arch {
  position: relative;
  width: 380px;
  max-width: 100%;
  margin: 0 auto;
}
.sotsot-page .about-arch::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(14px, 14px);
  border: 2px dashed var(--purple);
  border-radius: 999px 999px 28px 28px;
  z-index: 0;
}
.sotsot-page .about-arch img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 6px solid #fff;
  border-radius: 999px 999px 28px 28px;
  box-shadow: 0 10px 28px rgba(43, 38, 32, 0.1);
}

/* キラキラ（2つだけ・控えめ） */
.sotsot-page .about-sparkle {
  position: absolute;
  z-index: 2;
  line-height: 1;
  pointer-events: none;
  animation: sotsotAboutTwinkle 2.4s ease-in-out infinite;
}
.sotsot-page .about-sparkle--lg { top: 8px; right: -10px; font-size: 30px; color: var(--purple); }
.sotsot-page .about-sparkle--sm { bottom: 40px; left: -14px; font-size: 16px; color: #E3D200; animation-delay: 1s; }
@keyframes sotsotAboutTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* ----- 運営者について：横並びカード ----- */
.sotsot-page .about-head { text-align: center; }
.sotsot-page .about-profile {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 48px;
  background: #fff;
  border: 2px dotted var(--line);
  border-radius: 24px;
}
.sotsot-page .about-avatar {
  flex: none;
  width: 140px;
  height: 140px;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--yellow));
}
.sotsot-page .about-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
}
.sotsot-page .about-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink-strong);
  margin: 0 0 2px;
}
.sotsot-page .about-role {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.sotsot-page .about-profile-text p:last-child { line-height: 2; margin: 0; }
.sotsot-page .about-profile-text a {
  color: var(--ink-strong);
  font-weight: 700;
  border-bottom: 1px solid var(--purple);
  text-decoration: none;
}

/* ----- タブレット ----- */
@media (max-width: 1024px) {
  .sotsot-page.about-sec { padding: 64px 0; }
  .sotsot-page .about-inner { flex-direction: column; gap: 44px; }
  .sotsot-page .about-visual { flex: none; width: 100%; max-width: 340px; }
  .sotsot-page.about-sec h2 { font-size: 26px; }
  .sotsot-page .about-text { text-align: center; }
  .sotsot-page .about-text p:not(.about-label) { text-align: left; }
}

/* ----- スマホ ----- */
@media (max-width: 480px) {
  .sotsot-page.about-sec { padding: 32px 0; }
  .sotsot-page .about-inner { gap: 36px; }
  .sotsot-page .about-visual { max-width: 260px; }
  .sotsot-page.about-sec h2 { font-size: 22px; margin-bottom: 18px; }
  .sotsot-page .about-profile {
    flex-direction: column;
    gap: 20px;
    padding: 28px 22px;
    text-align: center;
  }
  .sotsot-page .about-avatar { width: 112px; height: 112px; }
  .sotsot-page .about-profile-text p:last-child { text-align: left; }
}

/* ----- Aboutのボタン（TOPのタグピルと同じデザイン） ----- */
.sotsot-page .about-text .about-btn-wrap { margin-top: 28px; }
.sotsot-page .about-btn {
  display: inline-block;
  border-radius: 60px;
  padding: 10px 24px;
  background: var(--purple);
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.sotsot-page .about-btn:hover { transform: scale(0.97); }

@media (max-width: 480px) {
  .sotsot-page .about-btn { padding: 8px 18px; font-size: 13px; }
}


/* ============ 追記：ランクの見方（ゾーン図） ============
   sotsot-ranking.css の末尾に追記してください */

.sotsot-lp .legend-lead a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 図の全体：callout(左) / 象限2列 / callout(右) の4カラム --- */
.sotsot-lp .rk-map {
  --rk-hh: #F7FB9D; /* 高脂肪・高繊維 */
  --rk-hl: #FDFFD8; /* 高脂肪・低繊維 */
  --rk-ll: #EEEBEB; /* 低脂肪・低繊維 */
  --rk-lh: #EBECCD; /* 低脂肪・高繊維 */
  --rk-gap: 28px;    /* 象限どうしの隙間 */
  --rk-reach: 56px;  /* 引き出し線が象限の中へ入り込む長さ */
  position: relative;
  max-width: 960px;
  margin: 64px auto 88px;
  padding-top: 8px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: var(--rk-gap);
}

/* --- 象限 --- */
.sotsot-lp .rk-q {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  line-height: 1.6;
  color: var(--ink-strong);
}
.sotsot-lp .rk-q--hl { grid-column: 2; grid-row: 1; background: var(--rk-hl); }
.sotsot-lp .rk-q--hh { grid-column: 3; grid-row: 1; background: var(--rk-hh); }
.sotsot-lp .rk-q--ll { grid-column: 2; grid-row: 2; background: var(--rk-ll); }
.sotsot-lp .rk-q--lh { grid-column: 3; grid-row: 2; background: var(--rk-lh); }

/* --- 中心の円（白いリング＋紫） --- */
.sotsot-lp .rk-center {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  place-self: center;
  z-index: 3;
  width: 44%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}
.sotsot-lp .rk-center-in {
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--purple);
  box-shadow: 0 4px 12px rgba(120, 100, 190, 0.25);
  color: #fff;
  text-shadow: 0 1px 2px rgba(80, 60, 130, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Zen Maru Gothic', sans-serif;
}
.sotsot-lp .rk-center-main {
  font-weight: 900;
  line-height: 1.6;
}
.sotsot-lp .rk-center-sub {
  margin-top: 4px;
  font-weight: 700;
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.05em;
}

/* --- 向き／注意（PC・タブレット：引き出し線） --- */
.sotsot-lp .rk-note {
  position: relative;
  min-width: 0;
  z-index: 2;
}
.sotsot-lp .rk-note--hl { grid-column: 1; grid-row: 1; --rk-c: var(--rk-hl); }
.sotsot-lp .rk-note--hh { grid-column: 4; grid-row: 1; --rk-c: var(--rk-hh); }
.sotsot-lp .rk-note--ll { grid-column: 1; grid-row: 2; --rk-c: var(--rk-ll); }
.sotsot-lp .rk-note--lh { grid-column: 4; grid-row: 2; --rk-c: var(--rk-lh); }

.sotsot-lp .rk-note-in {
  position: absolute;
  bottom: 50%; /* 象限の縦中央に線が来る */
  padding-bottom: 12px;
  border-bottom: 1.5px dotted #9A9A9A;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.sotsot-lp .rk-note-in p { margin: 0; }
.sotsot-lp .rk-note-in::after { /* 線の先端の点 */
  content: "";
  position: absolute;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9A9A9A;
}
.sotsot-lp .rk-note--hl .rk-note-in,
.sotsot-lp .rk-note--ll .rk-note-in {
  left: 0;
  right: calc(-1 * (var(--rk-gap) + var(--rk-reach)));
  padding-right: calc(var(--rk-gap) + var(--rk-reach));
}
.sotsot-lp .rk-note--hl .rk-note-in::after,
.sotsot-lp .rk-note--ll .rk-note-in::after { right: 0; }
.sotsot-lp .rk-note--hh .rk-note-in,
.sotsot-lp .rk-note--lh .rk-note-in {
  right: 0;
  left: calc(-1 * (var(--rk-gap) + var(--rk-reach)));
  padding-left: calc(var(--rk-gap) + var(--rk-reach));
}
.sotsot-lp .rk-note--hh .rk-note-in::after,
.sotsot-lp .rk-note--lh .rk-note-in::after { left: 0; }

.sotsot-lp .rk-tag {
  font-weight: 700;
  color: var(--ink-strong);
}
/* 中心の説明：PCは図の下／スマホはリストの先頭 */
.sotsot-lp .rk-note--center {
  grid-column: 1 / -1;
  grid-row: 3;
  --rk-c: var(--purple);
  width: 100%;
  max-width: 760px;
  margin: 20px auto 0;
  z-index: auto;
}
.sotsot-lp .rk-note--center .rk-note-in {
  position: static;
  padding: 4px 4px 16px;
  border-bottom: 1.5px dotted #9A9A9A;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
}
.sotsot-lp .rk-note--center .rk-note-in::after { display: none; }
.sotsot-lp .rk-note--center .rk-note-ttl {
  display: block;
  margin-bottom: 6px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--ink-strong);
}
.sotsot-lp .rk-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--rk-c);
  border: 1px solid #D9D9D9;
  vertical-align: -2px;
}

/* 色丸＋ラベルはスマホのリスト用（PCでは象限内にラベルがあるので非表示） */
.sotsot-lp .rk-note-ttl { display: none; }


/* --- タブレット --- */
@media (max-width: 1024px) {
  .sotsot-lp .rk-map {
    --rk-gap: 20px;
    --rk-reach: 44px;
    margin-top: 48px;
    margin-bottom: 64px;
    padding-top: 28px;
  }
  .sotsot-lp .rk-note-in { font-size: 12px; line-height: 1.6; }
}

/* --- スマホ：図は2×2、向き／注意は図の下にリスト --- */
@media (max-width: 767px) {
  .sotsot-lp .rk-map {
    --rk-gap: 10px;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
  }
  .sotsot-lp .rk-q { font-size: 14px; border-radius: 12px; }
  .sotsot-lp .rk-q--hl { grid-column: 1; grid-row: 1; }
  .sotsot-lp .rk-q--hh { grid-column: 2; grid-row: 1; }
  .sotsot-lp .rk-q--ll { grid-column: 1; grid-row: 2; }
  .sotsot-lp .rk-q--lh { grid-column: 2; grid-row: 2; }
  .sotsot-lp .rk-map { margin-top: 32px; margin-bottom: 48px; }
  .sotsot-lp .rk-center { grid-column: 1 / 3; grid-row: 1 / 3; width: 46%; }
  .sotsot-lp .rk-center-in { width: 80%; }
  .sotsot-lp .rk-center-main { font-size: 12px; }
  .sotsot-lp .rk-center-sub { font-size: 9px; white-space: nowrap; }

  .sotsot-lp .rk-note { grid-column: 1 / -1; z-index: auto; }
  .sotsot-lp .rk-note--center { margin-top: 12px; max-width: none; }
  .sotsot-lp .rk-note--hl { grid-row: 4; }
  .sotsot-lp .rk-note--hh { grid-row: 5; }
  .sotsot-lp .rk-note--ll { grid-row: 6; }
  .sotsot-lp .rk-note--lh { grid-row: 7; }
  .sotsot-lp .rk-note-in,
  .sotsot-lp .rk-note--hl .rk-note-in,
  .sotsot-lp .rk-note--ll .rk-note-in,
  .sotsot-lp .rk-note--hh .rk-note-in,
  .sotsot-lp .rk-note--lh .rk-note-in {
    position: static;
    padding: 4px 4px 14px;
    font-size: 13px;
    line-height: 1.65;
    border-bottom: 1.5px dotted #D9D9D9;
  }
  .sotsot-lp .rk-note--center .rk-note-in {
    padding: 4px 4px 14px;
    font-size: 13px;
    line-height: 1.65;
    border-bottom: 1.5px dotted #D9D9D9;
  }
  .sotsot-lp .rk-note--center .rk-note-ttl { font-size: 14px; }
  .sotsot-lp .rk-note-in::after { display: none; }
  .sotsot-lp .rk-note-ttl {
    display: block;
    margin-bottom: 4px;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 900;
    font-size: 14px;
    color: var(--ink-strong);
  }
}

/* ============ 共通ボタン（.sotsot-btn） ============
   使い方：<a class="sotsot-btn sotsot-btn--primary">…</a>
   どのページ・どのラッパーの中でも効く（.sotsot-lp 不要）
   ================================================== */

/* 配置：センター寄せ＋上下2em（ボタン1個でも2個でも、この枠で包む） */
.sotsot-btn-wrap,
.sotsot-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  margin: 2em 0;
}

/* ボタン本体 */
.sotsot-btn,
a.sotsot-btn {
  --btn-color: var(--ink-strong, #2B2620);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 48px;
  padding: 14px 30px;
  border: 1px solid var(--btn-color);
  border-radius: 100px;
  background: transparent;
  color: var(--btn-color);
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
a.sotsot-btn:hover { opacity: 0.82; }

/* 黒塗り＋白文字（a:link / :visited / :hover / :focus でもテーマに負けない） */
a.sotsot-btn.sotsot-btn--primary,
a.sotsot-btn.sotsot-btn--primary:link,
a.sotsot-btn.sotsot-btn--primary:visited,
a.sotsot-btn.sotsot-btn--primary:hover,
a.sotsot-btn.sotsot-btn--primary:focus {
  background: var(--btn-color);
  color: #fff;
}
a.sotsot-btn.sotsot-btn--primary svg,
a.sotsot-btn.sotsot-btn--primary svg * { stroke: #fff; }

/* 白抜き枠 */
a.sotsot-btn.sotsot-btn--outline,
a.sotsot-btn.sotsot-btn--outline:link,
a.sotsot-btn.sotsot-btn--outline:visited,
a.sotsot-btn.sotsot-btn--outline:hover,
a.sotsot-btn.sotsot-btn--outline:focus {
  background: #fff;
  color: var(--btn-color);
}

/* 横幅いっぱい */
.sotsot-btn--block {
  display: flex;
  width: 100%;
}

/* 小さめ */
.sotsot-btn--sm {
  min-height: 40px;
  padding: 10px 22px;
  font-size: 13px;
}

/* 2個並び：スマホでも横並びで半分ずつ */
.sotsot-btn-row .sotsot-btn { flex: 0 1 auto; }

@media (max-width: 480px) {
  .sotsot-btn { padding: 10px 8px; }
  .sotsot-btn-row { gap: 10px; }
  .sotsot-btn-row .sotsot-btn { flex: 1 1 0; min-width: 0; }
}

/* ============ 共通テキストリンク（.sotsot-link） ============
   使い方：<a class="sotsot-link" href="...">テキスト</a>
   どのページ・どのラッパーの中でも効く
   ================================================== */
a.sotsot-link,
a.sotsot-link:link,
a.sotsot-link:visited {
  --link-color: #8870CC;
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}
a.sotsot-link:hover,
a.sotsot-link:focus {
  color: var(--link-color);
  opacity: 0.75;
}

/* ===== SOTSOT 成分の見方（投稿ページ用） ===== */
.sotsot-lp.sotsot-ingr {
  --ingr-ink: #5C5C5C;
  --ingr-strong: #2B2620;
  --ingr-soft: #666666;
  --ingr-purple: #C2B2F1;
  --ingr-purple-soft: #EAE4FA;
  --ingr-yellow: #FDFF73;
  --ingr-yellow-soft: #FEFFCE;
  --ingr-bg-soft: #FEFFEB;
  --ingr-line: #ECECEC;
  margin: 28px 0 40px;
  color: var(--ingr-ink);
  font-size: 16px;
  line-height: 1.8;
}

/* --- 成分ボックス --- */
.sotsot-lp .sotsot-ingr__boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
}
.sotsot-lp .sotsot-ingr__box {
  padding: 22px 24px 24px;
  border-radius: 20px;
  background: var(--ingr-yellow-soft);
}
/* PC（4列）：2行目は黄色から始まる市松模様 */
.sotsot-lp .sotsot-ingr__box:nth-child(8n+1),
.sotsot-lp .sotsot-ingr__box:nth-child(8n+3),
.sotsot-lp .sotsot-ingr__box:nth-child(8n+6),
.sotsot-lp .sotsot-ingr__box:nth-child(8n+8) {
  background: var(--ingr-purple-soft);
}
.sotsot-lp .sotsot-ingr__name {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 16px;
  background: #fff;
  border-radius: 100px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ingr-strong);
}
.sotsot-lp .sotsot-ingr__name rt {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--ingr-soft);
}
.sotsot-lp .sotsot-ingr__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}

/* --- 3つのチェック --- */
.sotsot-lp.sotsot-ingr--check {
  padding: 32px;
  background: var(--ingr-bg-soft);
  border-radius: 24px;
}
.sotsot-lp .sotsot-ingr__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sotsot-lp .sotsot-ingr__card {
  margin: 0;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--ingr-line);
  border-radius: 18px;
}
.sotsot-lp .sotsot-ingr__chead {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}
.sotsot-lp .sotsot-ingr__check {
  flex: none;
  width: 28px;
  height: 28px;
}
.sotsot-lp .sotsot-ingr__check circle { fill: var(--ingr-purple); }
.sotsot-lp .sotsot-ingr__check path {
  fill: none;
  stroke: var(--ingr-strong);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sotsot-lp .sotsot-ingr__cname {
  margin: 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ingr-strong);
}
.sotsot-lp .sotsot-ingr__cname rt {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--ingr-soft);
}
.sotsot-lp .sotsot-ingr__goal { margin: 0 0 12px; }
.sotsot-lp .sotsot-ingr__goal-label {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ingr-soft);
}
.sotsot-lp .sotsot-ingr__goal-value {
  display: inline-block;
  padding: 0 4px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ingr-strong);
  background: linear-gradient(transparent 62%, var(--ingr-yellow) 62%);
}
.sotsot-lp .sotsot-ingr__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
}
.sotsot-lp .sotsot-ingr__foot {
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ingr-soft);
}

/* --- スクロールでふわっと（JSが動いたときだけ） --- */
.sotsot-lp.sotsot-ingr.is-ready .sotsot-ingr__reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sotsot-lp.sotsot-ingr.is-ready .sotsot-ingr__reveal.is-in {
  opacity: 1;
  transform: none;
}
.sotsot-lp.sotsot-ingr.is-ready .sotsot-ingr__card:nth-child(2) { transition-delay: 0.08s; }
.sotsot-lp.sotsot-ingr.is-ready .sotsot-ingr__card:nth-child(3) { transition-delay: 0.16s; }

/* --- タブレット（2列）：同じく市松模様 --- */
@media (max-width: 1100px) {
  .sotsot-lp .sotsot-ingr__boxes { grid-template-columns: repeat(2, 1fr); }
  .sotsot-lp .sotsot-ingr__box:nth-child(n) { background: var(--ingr-yellow-soft); }
  .sotsot-lp .sotsot-ingr__box:nth-child(4n+1),
  .sotsot-lp .sotsot-ingr__box:nth-child(4n+4) { background: var(--ingr-purple-soft); }
}

/* --- スマホ（1列）：紫・黄の交互 --- */
@media (max-width: 600px) {
  .sotsot-lp.sotsot-ingr { font-size: 15px; margin: 24px 0 32px; }
  .sotsot-lp .sotsot-ingr__boxes { grid-template-columns: 1fr; gap: 12px; }
  .sotsot-lp .sotsot-ingr__box:nth-child(n) { background: var(--ingr-yellow-soft); }
  .sotsot-lp .sotsot-ingr__box:nth-child(odd) { background: var(--ingr-purple-soft); }
  .sotsot-lp .sotsot-ingr__box { padding: 18px 20px 20px; border-radius: 16px; }
  .sotsot-lp .sotsot-ingr__name { font-size: 16px; }
  .sotsot-lp .sotsot-ingr__desc { font-size: 14px; }
  .sotsot-lp.sotsot-ingr--check { padding: 24px 16px; border-radius: 20px; }
  .sotsot-lp .sotsot-ingr__cards { grid-template-columns: 1fr; }
  .sotsot-lp .sotsot-ingr__goal-value { font-size: 20px; }
  .sotsot-lp .sotsot-ingr__text { font-size: 14px; }
}

/* --- 3つのチェック：見出しとリード（中央合わせ） --- */
.sotsot-lp .sotsot-ingr__h3 {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--ingr-strong);
}
.sotsot-lp .sotsot-ingr__lead {
  margin: 0 0 28px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
}

@media (max-width: 1100px) {
  .sotsot-lp .sotsot-ingr__h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .sotsot-lp .sotsot-ingr__h3 { font-size: 20px; margin-bottom: 14px; }
  .sotsot-lp .sotsot-ingr__lead { font-size: 15px; margin-bottom: 24px; }
}

/* --- ゾーン図：スマホで4隅の説明を畳む（.rk-map--fold のときだけ） --- */

/* PC・タブレット：折りたたみの枠は使わず、中身をそのままグリッドに並べる */
.sotsot-lp .rk-map--fold .rk-fold,
.sotsot-lp .rk-map--fold .rk-fold-body { display: contents; }
.sotsot-lp .rk-map--fold .rk-more-input,
.sotsot-lp .rk-map--fold .rk-more-btn { display: none; }

@media (max-width: 767px) {
  .sotsot-lp .rk-map--fold .rk-fold {
    display: block;
    grid-column: 1 / -1;
    grid-row: 4;
    position: relative;
    margin-top: 4px;
  }
  .sotsot-lp .rk-map--fold .rk-fold-body {
    display: block;
    position: relative;
    max-height: 150px;           /* 閉じているときに見せる高さ */
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  /* 下に向かって白くフェード */
  .sotsot-lp .rk-map--fold .rk-fold-body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 90px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
  }

  .sotsot-lp .rk-map--fold .rk-more-input {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* 閉じているとき：フェードの上に小さなボタン */
  .sotsot-lp .rk-map--fold .rk-more-btn {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 2em;
    border: 1px solid var(--ink-strong);
    border-radius: 100px;
    background: #fff;
    font-family: 'Zen Maru Gothic', sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ink-strong);
    white-space: nowrap;
    cursor: pointer;
  }

  /* ボタンの中身：文字＋矢印SVG */
  .sotsot-lp .rk-map--fold .rk-more-open,
  .sotsot-lp .rk-map--fold .rk-more-close {
    align-items: center;
    gap: 6px;
  }
  .sotsot-lp .rk-map--fold .rk-more-open { display: inline-flex; }
  .sotsot-lp .rk-map--fold .rk-more-close { display: none; }
  .sotsot-lp .rk-map--fold .rk-more-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* 開いたとき：全部見せて、ボタンは下に「閉じる↑」 */
  .sotsot-lp .rk-map--fold .rk-more-input:checked ~ .rk-fold-body { max-height: 1200px; }
  .sotsot-lp .rk-map--fold .rk-more-input:checked ~ .rk-fold-body::after { display: none; }
  .sotsot-lp .rk-map--fold .rk-more-input:checked ~ .rk-more-btn {
    position: static;
    transform: none;
    display: flex;
    width: fit-content;
    margin: 16px auto 0;
  }
  .sotsot-lp .rk-map--fold .rk-more-input:checked ~ .rk-more-btn .rk-more-open { display: none; }
  .sotsot-lp .rk-map--fold .rk-more-input:checked ~ .rk-more-btn .rk-more-close { display: inline-flex; }

  .sotsot-lp .rk-map--fold .rk-more-input:focus-visible ~ .rk-more-btn {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
  }
}

/* --- 成分MAPエリア：スマホの文字サイズ（h2はsotsot-ranking.cssに集約） --- */
@media (max-width: 480px) {
  .sotsot-lp.legend .legend-lead { font-size: 14px; line-height: 1.8; }
  .sotsot-lp.legend h3.rk-map-h3 { font-size: 15px; line-height: 1.5; }
}

/* --- 成分ボックス：スマホで粗脂肪から先を畳む --- */

/* PC・タブレット：畳まずに全部表示（ボタンは出さない） */
.sotsot-lp .sotsot-ingr__more-input,
.sotsot-lp .sotsot-ingr__more-btn { display: none; }

@media (max-width: 600px) {
  .sotsot-lp .sotsot-ingr__fold { position: relative; }

  .sotsot-lp .sotsot-ingr__fold .sotsot-ingr__boxes {
    position: relative;
    max-height: 230px;           /* 閉じているときに見せる高さ */
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  /* 下に向かって白くフェード */
  .sotsot-lp .sotsot-ingr__fold .sotsot-ingr__boxes::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff 85%);
    pointer-events: none;
  }

  .sotsot-lp .sotsot-ingr__fold .sotsot-ingr__more-input {
    display: block;
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* 閉じているとき：フェードの上に小さなボタン */
  .sotsot-lp .sotsot-ingr__fold .sotsot-ingr__more-btn {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 6px 2em;
    border: 1px solid var(--ingr-strong);
    border-radius: 100px;
    background: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.4;
    color: var(--ingr-strong);
    white-space: nowrap;
    cursor: pointer;
  }
  .sotsot-lp .sotsot-ingr__more-open,
  .sotsot-lp .sotsot-ingr__more-close {
    align-items: center;
    gap: 6px;
  }
  .sotsot-lp .sotsot-ingr__more-open { display: inline-flex; }
  .sotsot-lp .sotsot-ingr__more-close { display: none; }
  .sotsot-lp .sotsot-ingr__more-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* 開いたとき：全部見せて、ボタンは下に「閉じる↑」 */
  .sotsot-lp .sotsot-ingr__more-input:checked ~ .sotsot-ingr__boxes { max-height: 3000px; }
  .sotsot-lp .sotsot-ingr__more-input:checked ~ .sotsot-ingr__boxes::after { display: none; }
  .sotsot-lp .sotsot-ingr__more-input:checked ~ .sotsot-ingr__more-btn {
    position: static;
    transform: none;
    display: flex;
    width: fit-content;
    margin: 16px auto 0;
  }
  .sotsot-lp .sotsot-ingr__more-input:checked ~ .sotsot-ingr__more-btn .sotsot-ingr__more-open { display: none; }
  .sotsot-lp .sotsot-ingr__more-input:checked ~ .sotsot-ingr__more-btn .sotsot-ingr__more-close { display: inline-flex; }

  .sotsot-lp .sotsot-ingr__more-input:focus-visible ~ .sotsot-ingr__more-btn {
    outline: 2px solid var(--ingr-purple);
    outline-offset: 2px;
  }
}
/* ============ アーカイブ ============ */
.wp-site-blocks .post-thumbnail:not(.kadence-thumbnail-ratio-inherit) img {border-radius: 10px;}
.loop-entry .entry-content-wrap {
    padding: 2rem 1rem;
}
