/* ============================================================
   Salon Flow — style-user.css
   THE THOR 子テーマ専用 / 上書き・カスタムスタイル
   ============================================================ */

/* ------------------------------------------------------------
   Google Fonts
   ------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

/* ------------------------------------------------------------
   デザイントークン
   ------------------------------------------------------------ */
:root {
  /* カラー */
  --sf-green:          #4A7C6F;
  --sf-green-dark:     #3A6259;
  --sf-green-pale:     #EAF4F1;
  --sf-green-bg:       rgba(74, 124, 111, 0.07);
  --sf-gold:           #C9A96E;
  --sf-gold-pale:      #FDF8F1;
  --sf-bg:             #FAF8F5;
  --sf-bg-gray:        #F2EDE7;
  --sf-text:           #1C1C1C;
  --sf-text-mid:       #4A4A4A;
  --sf-text-sub:       #767676;
  --sf-border:         #E2D9CF;
  --sf-white:          #FFFFFF;

  /* タイポグラフィ */
  --sf-serif:   'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --sf-sans:    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* レイアウト */
  --sf-max:     1080px;
  --sf-r:       10px;    /* 標準角丸 */
  --sf-r-lg:    16px;    /* 大きめ角丸 */

  /* シャドウ */
  --sf-shadow:       0 2px 10px rgba(0, 0, 0, 0.06);
  --sf-shadow-hover: 0 8px 28px rgba(0, 0, 0, 0.11);
}

/* ------------------------------------------------------------
   ベースリセット（The Thor上書き最小限）
   ------------------------------------------------------------ */
body {
  font-family: var(--sf-sans);
  color: var(--sf-text);
  background-color: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
}

/* The Thorのaタグデフォルト色を無効化（sf-*クラス内のみ） */
[class^="sf-"] a,
[class*=" sf-"] a {
  color: inherit;
}

/* ------------------------------------------------------------
   共通ユーティリティ
   ------------------------------------------------------------ */
.pc-only { display: inline; }
@media (max-width: 768px) { .pc-only { display: none; } }

/* ------------------------------------------------------------
   ボタン
   ------------------------------------------------------------ */
.sf-btn-primary,
.sf-btn-ghost,
.sf-btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 8px;
  font-family: var(--sf-sans);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease,
              box-shadow 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.sf-btn-primary {
  background: var(--sf-green);
  color: var(--sf-white) !important;
  box-shadow: 0 3px 10px rgba(74, 124, 111, 0.28);
}
.sf-btn-primary:hover {
  background: var(--sf-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(74, 124, 111, 0.36);
}

.sf-btn-ghost {
  background: transparent;
  color: var(--sf-green) !important;
  border: 2px solid var(--sf-green);
}
.sf-btn-ghost:hover { background: var(--sf-green-bg); }

.sf-btn-white {
  background: var(--sf-white);
  color: var(--sf-green) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}
.sf-btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

@media (hover: none) {
  .sf-btn-primary:hover,
  .sf-btn-ghost:hover,
  .sf-btn-white:hover {
    transform: none;
  }
}

/* ------------------------------------------------------------
   セクション共通
   ------------------------------------------------------------ */
.sf-section {
  padding: 80px 0;
}
.sf-section--gray  { background: var(--sf-bg-gray); }
.sf-section--green { background: var(--sf-green); }

.sf-section__inner {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .sf-section        { padding: 56px 0; }
  .sf-section__inner { padding: 0 20px; }
}

.sf-section__head {
  text-align: center;
  margin-bottom: 52px;
}
@media (max-width: 768px) {
  .sf-section__head { margin-bottom: 36px; }
}

.sf-section__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--sf-green);
  margin-bottom: 10px;
}
.sf-section__eyebrow--light {
  color: rgba(255, 255, 255, 0.6);
}

.sf-section__title {
  font-family: var(--sf-serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--sf-text);
  line-height: 1.55;
  margin-bottom: 14px;
}
.sf-section__title--light { color: var(--sf-white); }

.sf-section__desc {
  font-size: 15px;
  color: var(--sf-text-sub);
  line-height: 1.85;
}

/* ============================================================
   SECTION 1: ファーストビュー
   ============================================================ */
.sf-fv {
  background: linear-gradient(145deg, #F5F1EB 0%, #EDDFD3 45%, #E4EEE9 100%);
  padding: 88px 0 80px;
  overflow: hidden;
}

.sf-fv__inner {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 56% 44%;
  gap: 48px;
  align-items: center;
}

/* ---- コピー左 ---- */
.sf-fv__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sf-green);
  background: var(--sf-green-pale);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.sf-fv__title {
  font-family: var(--sf-serif);
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 700;
  color: var(--sf-text);
  line-height: 1.42;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.sf-fv__lead {
  font-size: 16px;
  line-height: 1.95;
  color: var(--sf-text-mid);
  margin-bottom: 36px;
}

.sf-fv__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sf-fv__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sf-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--sf-green);
  background: var(--sf-green-bg);
  border: 1px solid rgba(74, 124, 111, 0.18);
  padding: 5px 13px;
  border-radius: 100px;
}

/* ---- カード右 ---- */
.sf-fv__cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sf-fc {
  background: var(--sf-white);
  border-radius: var(--sf-r-lg);
  padding: 20px 22px;
  box-shadow: var(--sf-shadow-hover);
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-items: center;
}
.sf-fc__icon {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
}
.sf-fc__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--sf-text);
  line-height: 1.3;
  margin: 0;
}
.sf-fc__sub {
  font-size: 12px;
  color: var(--sf-text-sub);
  margin: 3px 0 0;
  line-height: 1.4;
}

/* アニメーション */
.sf-fc--a { animation: sf-float 3.6s ease-in-out infinite; }
.sf-fc--b { animation: sf-float 3.6s ease-in-out 1.2s infinite; }
.sf-fc--c { animation: sf-float 3.6s ease-in-out 2.4s infinite; }
@keyframes sf-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}

/* レスポンシブ */
@media (max-width: 860px) {
  .sf-fv__inner { grid-template-columns: 1fr; gap: 40px; }
  .sf-fv        { padding: 56px 0 48px; }
  .sf-fv__cards { flex-direction: row; flex-wrap: wrap; }
  .sf-fc        { flex: 1 1 calc(50% - 7px); min-width: 180px; }
}
@media (max-width: 520px) {
  .sf-fv__inner    { padding: 0 20px; }
  .sf-fv__title    { font-size: 28px; }
  .sf-fv__actions  { flex-direction: column; }
  .sf-fv__actions .sf-btn-primary,
  .sf-fv__actions .sf-btn-ghost { width: 100%; }
  .sf-fv__cards    { gap: 10px; }
  .sf-fc           { flex: 1 1 100%; padding: 16px 18px; }
}

/* ============================================================
   SECTION 2: 実績バー
   ============================================================ */
.sf-trust-bar {
  background: var(--sf-green);
  padding: 20px 0;
}
.sf-trust-bar__inner {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
}
.sf-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 28px;
  color: var(--sf-white);
}
.sf-trust-item__num {
  font-family: var(--sf-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}
.sf-trust-item__num span {
  font-size: 13px;
  font-weight: 400;
  margin-left: 2px;
  opacity: 0.85;
}
.sf-trust-item__label {
  font-size: 12px;
  opacity: 0.85;
  white-space: nowrap;
  line-height: 1.3;
}
.sf-trust-item__icon-svg {
  width: 20px;
  height: 20px;
  color: var(--sf-white);
  flex-shrink: 0;
}
.sf-trust-bar__sep {
  display: block;
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .sf-trust-bar__sep  { display: none; }
  .sf-trust-item      { padding: 6px 16px; }
  .sf-trust-item__num { font-size: 20px; }
}

/* ============================================================
   SECTION 3: ペインポイント
   ============================================================ */
.sf-pain { background: var(--sf-white); }

.sf-pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 860px) {
  .sf-pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .sf-pain-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

.sf-pain-card {
  background: var(--sf-bg);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-r);
  padding: 28px 18px 24px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sf-pain-card:hover {
  box-shadow: var(--sf-shadow);
  border-color: rgba(74, 124, 111, 0.3);
}
.sf-pain-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: block;
}
.sf-pain-card__text {
  font-size: 13px;
  color: var(--sf-text-mid);
  line-height: 1.75;
  margin: 0;
}
@media (max-width: 480px) {
  .sf-pain-card { padding: 20px 12px 18px; }
  .sf-pain-card__icon { width: 36px; height: 36px; margin-bottom: 10px; }
  .sf-pain-card__text { font-size: 12px; }
}

/* ============================================================
   SECTION 4: 課題別カード
   ============================================================ */
.sf-issue-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .sf-issue-grid { grid-template-columns: 1fr; gap: 14px; }
}

.sf-issue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--sf-white);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-r-lg);
  padding: 28px 26px 24px;
  text-decoration: none !important;
  color: var(--sf-text) !important;
  box-shadow: var(--sf-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.sf-issue-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--sf-r-lg);
  border: 2px solid var(--sf-green);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
.sf-issue-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sf-shadow-hover);
  border-color: transparent;
}
.sf-issue-card:hover::after { opacity: 1; }
.sf-issue-card:visited { color: var(--sf-text) !important; }

.sf-issue-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.sf-issue-card__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--sf-green);
  opacity: 0.5;
}
.sf-issue-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.sf-issue-card__title {
  font-family: var(--sf-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--sf-text);
  margin: 0 0 12px;
  line-height: 1.4;
}

.sf-issue-card__desc {
  font-size: 14px;
  color: var(--sf-text-sub);
  line-height: 1.85;
  margin: 0 0 auto;
  padding-bottom: 20px;
  flex-grow: 1;
}

.sf-issue-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--sf-green);
  margin-top: auto;
  transition: gap 0.2s;
}
.sf-issue-card:hover .sf-issue-card__link { gap: 8px; }

@media (hover: none) {
  .sf-issue-card:hover {
    transform: none;
    box-shadow: var(--sf-shadow);
    border-color: var(--sf-border);
  }
  .sf-issue-card:hover::after { opacity: 0; }
}
@media (max-width: 640px) {
  .sf-issue-card { padding: 22px 20px 20px; }
  .sf-issue-card__title { font-size: 17px; }
  .sf-issue-card__desc  { font-size: 13px; }
}

/* ============================================================
   SECTION 5: 業種別
   ============================================================ */
.sf-genre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 640px) {
  .sf-genre-grid { grid-template-columns: 1fr; gap: 12px; }
}

.sf-genre-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--sf-white);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-r-lg);
  padding: 36px 20px 32px;
  text-decoration: none !important;
  color: var(--sf-text) !important;
  box-shadow: var(--sf-shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sf-genre-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sf-shadow-hover);
  border-color: var(--sf-green);
}
.sf-genre-card:visited { color: var(--sf-text) !important; }

.sf-genre-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
}
.sf-genre-card__title {
  font-family: var(--sf-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--sf-text);
  margin: 0 0 8px;
}
.sf-genre-card__desc {
  font-size: 13px;
  color: var(--sf-text-sub);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 640px) {
  .sf-genre-card {
    flex-direction: row;
    text-align: left;
    padding: 18px 20px;
    gap: 16px;
    align-items: center;
  }
  .sf-genre-card__icon { margin-bottom: 0; flex-shrink: 0; width: 40px; height: 40px; }
  .sf-genre-card__title { margin-bottom: 4px; }
}
@media (hover: none) {
  .sf-genre-card:hover { transform: none; }
}

/* ============================================================
   SECTION 6: 3ステップ
   ============================================================ */
.sf-step-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0 16px;
  align-items: center;
}

.sf-step-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--sf-r-lg);
  padding: 30px 26px 28px;
  text-align: center;
}
.sf-step-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 12px;
  display: block;
}
.sf-step-card__title {
  font-family: var(--sf-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--sf-white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sf-step-card__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.85;
  margin: 0;
}

.sf-step-arrow {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  opacity: 0.5;
}
.sf-step-arrow svg { width: 32px; height: 32px; }

.sf-step-cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 780px) {
  .sf-step-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sf-step-arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

/* ============================================================
   SECTION 7: まず読む3本
   ============================================================ */
.sf-pickup-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sf-pickup-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--sf-white);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-r);
  padding: 22px 24px;
  text-decoration: none !important;
  color: var(--sf-text) !important;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sf-pickup-item:hover {
  border-color: var(--sf-green);
  box-shadow: var(--sf-shadow);
  transform: translateX(4px);
}
.sf-pickup-item:visited { color: var(--sf-text) !important; }

.sf-pickup-item__num {
  font-family: var(--sf-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--sf-green);
  opacity: 0.22;
  flex-shrink: 0;
  line-height: 1;
  width: 38px;
}
.sf-pickup-item__body { flex-grow: 1; }
.sf-pickup-item__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--sf-text);
  line-height: 1.5;
  margin-bottom: 5px;
}
.sf-pickup-item__desc {
  font-size: 13px;
  color: var(--sf-text-sub);
  line-height: 1.6;
  margin: 0;
}
.sf-pickup-item__arr {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.sf-pickup-item:hover .sf-pickup-item__arr { transform: translateX(4px); }

@media (hover: none) {
  .sf-pickup-item:hover { transform: none; }
}
@media (max-width: 520px) {
  .sf-pickup-item { padding: 18px 16px; gap: 12px; }
  .sf-pickup-item__num { font-size: 22px; width: 28px; }
  .sf-pickup-item__title { font-size: 14px; }
}

/* ============================================================
   SECTION 8: 比較・テンプレ CTA
   ============================================================ */
.sf-cta-pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 640px) {
  .sf-cta-pair-grid { grid-template-columns: 1fr; gap: 14px; }
}

.sf-cta-block {
  background: var(--sf-white);
  border: 1px solid var(--sf-border);
  border-radius: var(--sf-r-lg);
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: var(--sf-shadow);
}
.sf-cta-block__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: block;
}
.sf-cta-block__title {
  font-family: var(--sf-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--sf-text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sf-cta-block__desc {
  font-size: 14px;
  color: var(--sf-text-sub);
  line-height: 1.85;
  margin-bottom: 26px;
}

@media (max-width: 640px) {
  .sf-cta-block { padding: 30px 22px 28px; }
  .sf-cta-pair-grid .sf-btn-primary,
  .sf-cta-pair-grid .sf-btn-ghost { width: 100%; }
}

/* ============================================================
   スティッキーCTAバー（指示書Cから引き継ぎ）
   ============================================================ */
.sf-sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--sf-white);
  border-bottom: 1px solid var(--sf-border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding: 10px 0;
}
.sf-sticky-cta.is-visible { transform: translateY(0); }

.sf-sticky-cta__inner {
  max-width: var(--sf-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sf-sticky-cta__text {
  font-size: 13px;
  color: var(--sf-text-sub);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sf-sticky-cta__actions { display: flex; gap: 10px; flex-shrink: 0; }

.sf-sticky-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.sf-sticky-btn--p { background: var(--sf-green); color: var(--sf-white) !important; }
.sf-sticky-btn--s {
  background: transparent;
  color: var(--sf-green) !important;
  border: 2px solid var(--sf-green);
}

@media (max-width: 600px) {
  .sf-sticky-cta__text    { display: none; }
  .sf-sticky-cta__inner   { justify-content: center; }
}

/* ============================================================
   記事ページ CTAボックス（sf_ctaショートコード用）
   ============================================================ */
.sf-cta-box {
  background: linear-gradient(135deg, #F0F8F6 0%, #EAF4F1 100%);
  border: 2px solid var(--sf-green);
  border-radius: var(--sf-r-lg);
  padding: 40px 32px;
  text-align: center;
  margin: 52px 0;
}
.sf-cta-box__badge {
  display: inline-block;
  background: var(--sf-gold);
  color: var(--sf-white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.sf-cta-box__lead {
  font-family: var(--sf-serif);
  font-size: 21px;
  font-weight: 700;
  color: var(--sf-text);
  margin-bottom: 5px;
}
.sf-cta-box__tool {
  font-size: 13px;
  color: var(--sf-text-sub);
  margin-bottom: 22px;
}
.sf-btn-affiliate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-gold);
  color: var(--sf-white) !important;
  font-size: 16px;
  font-weight: 700;
  height: 56px;
  padding: 0 40px;
  border-radius: 8px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(201, 169, 110, 0.36);
  transition: opacity 0.18s, transform 0.18s;
  margin-bottom: 14px;
}
.sf-btn-affiliate:hover { opacity: 0.88; transform: translateY(-2px); }
.sf-cta-box__note-sub {
  font-size: 12px;
  color: var(--sf-text-sub);
  margin-bottom: 8px;
}
.sf-cta-box__disclosure {
  font-size: 11px;
  color: var(--sf-text-sub);
  margin: 0;
}

@media (max-width: 600px) {
  .sf-cta-box          { padding: 28px 18px; margin: 36px 0; }
  .sf-btn-affiliate    { width: 100%; font-size: 15px; }
}
@media (hover: none) {
  .sf-btn-affiliate:hover { transform: none; opacity: 1; }
}

/* ============================================================
   ナビゲーション（The Thor上書き）
   ============================================================ */
#header,
.l-header {
  background: var(--sf-white) !important;
  border-bottom: 1px solid var(--sf-border) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05) !important;
}

/* フッター */
#footer,
.l-footer {
  background: #192B26 !important;
}
#footer a,
.l-footer a {
  color: rgba(255, 255, 255, 0.6) !important;
}
#footer a:hover,
.l-footer a:hover {
  color: var(--sf-gold) !important;
}
.footer-copyright,
#footer .copyright {
  color: rgba(255, 255, 255, 0.35) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ============================================================
   G: The Thor 2カラム → 全幅脱出
   トップページのsf-*セクションをコンテンツ幅の制限から解放する
   ============================================================ */

/* The Thorのメインカラム幅制限を上書き */
.home .l-main,
.home .l-content,
.home #main,
.home .main-content,
.home .entry-content,
.home .post-content {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* トップページのサイドバーを強制非表示 */
.home .l-sidebar,
.home #sidebar,
.home .sidebar,
.home aside.widget-area {
  display: none !important;
}

/* トップページの外側ラッパーも全幅に */
.home .l-wrap,
.home .l-container,
.home #page,
.home .site-content {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* sf-sectionのmax-widthは内部で管理するので外側は全幅 */
.home .sf-fv,
.home .sf-trust-bar,
.home .sf-section,
.home .sf-pain,
.home .sf-issues,
.home .sf-genres,
.home .sf-steps,
.home .sf-pickup,
.home .sf-cta-pair {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  box-sizing: border-box;
}

/* ============================================================
   G: ペインポイントカード 高さ統一
   ============================================================ */

/* カード全体を同じ高さに */
.sf-pain-grid {
  align-items: stretch !important;
}
.sf-pain-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: auto !important;
  min-height: 160px;
}
.sf-pain-card__icon {
  flex-shrink: 0;
  margin-bottom: 16px !important;
}
.sf-pain-card__text {
  flex-grow: 1;
  display: flex;
  align-items: center;
  text-align: center;
}

/* ============================================================
   H-1: サイドバー ウィジェット 視認性・操作性改善
   ============================================================ */

/* ウィジェットエリア全体 */
.l-sidebar .widget,
#sidebar .widget,
aside.widget-area .widget {
  margin-bottom: 28px !important;
}

/* ウィジェットタイトル（グリーン帯）*/
.l-sidebar .widget-title,
#sidebar .widget-title,
aside.widget-area .widget-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  padding: 10px 14px !important;
  margin-bottom: 0 !important;
  border-radius: 6px 6px 0 0 !important;
}

/* ウィジェット内のリスト */
.l-sidebar .widget ul,
#sidebar .widget ul,
aside.widget-area .widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #E2D9CF;
  border-top: none;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

/* ウィジェット内の各リストアイテム */
.l-sidebar .widget ul li,
#sidebar .widget ul li,
aside.widget-area .widget ul li {
  border-bottom: 1px solid #F0EBE4 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.l-sidebar .widget ul li:last-child,
#sidebar .widget ul li:last-child,
aside.widget-area .widget ul li:last-child {
  border-bottom: none !important;
}

/* ウィジェット内のリンク — 最重要 */
.l-sidebar .widget ul li a,
#sidebar .widget ul li a,
aside.widget-area .widget ul li a {
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  padding: 10px 14px 10px 16px !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #3A3A3A !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, padding-left 0.15s !important;
  position: relative;
}

/* リンク左に矢印インジケーター */
.l-sidebar .widget ul li a::before,
#sidebar .widget ul li a::before,
aside.widget-area .widget ul li a::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  border-right: 2px solid #4A7C6F !important;
  border-bottom: 2px solid #4A7C6F !important;
  transform: rotate(-45deg) !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  opacity: 0.7 !important;
}

/* リンクホバー */
.l-sidebar .widget ul li a:hover,
#sidebar .widget ul li a:hover,
aside.widget-area .widget ul li a:hover {
  background: #F4F0EA !important;
  color: #4A7C6F !important;
  padding-left: 20px !important;
}

/* ウィジェット内の直接テキスト（リスト以外） */
.l-sidebar .widget p,
.l-sidebar .widget .textwidget,
#sidebar .widget p {
  font-size: 13px !important;
  line-height: 1.75 !important;
  color: #5A5A5A !important;
  padding: 10px 14px !important;
}

/* カテゴリーウィジェット専用 */
.l-sidebar .widget_categories ul li,
#sidebar .widget_categories ul li {
  padding: 0 !important;
}
.l-sidebar .widget_categories a,
#sidebar .widget_categories a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* ============================================================
   H-2: フッター フォントサイズ・レイアウト修正
   ============================================================ */

/* フッター全体 */
#footer,
.l-footer {
  background: #192B26 !important;
  padding: 32px 0 24px !important;
}

/* フッターナビゲーション */
#footer .footer-nav,
#footer nav,
.l-footer nav,
.l-footer .footer-nav {
  margin-bottom: 16px !important;
}

#footer .footer-nav a,
#footer nav a,
.l-footer nav a,
.l-footer .footer-nav a,
#footer .footer-menu a,
.l-footer .footer-menu a {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-decoration: none !important;
  padding: 4px 8px !important;
  transition: color 0.15s !important;
  white-space: nowrap !important;
}
#footer .footer-nav a:hover,
.l-footer .footer-nav a:hover,
#footer .footer-menu a:hover,
.l-footer .footer-menu a:hover {
  color: #C9A96E !important;
}

/* フッター内の全テキスト */
#footer p,
.l-footer p,
#footer span,
.l-footer span {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.5) !important;
  line-height: 1.8 !important;
}

/* コピーライト */
#footer .copyright,
.l-footer .copyright,
.footer-copyright,
#footer small,
.l-footer small {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.35) !important;
  display: block !important;
  text-align: center !important;
  padding-top: 16px !important;
  margin-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* フッターリンク全般（Salon Flow・FIT-Web・WordPressリンク含む） */
#footer a,
.l-footer a {
  font-size: 12px !important;
  color: rgba(255, 255, 255, 0.55) !important;
}
#footer a:hover,
.l-footer a:hover {
  color: #C9A96E !important;
}

/* ============================================================
   H-3: スマホヘッダー ナビ非表示・ハンバーガーのみ
   ============================================================ */

@media (max-width: 768px) {
  /* グローバルナビを非表示（ハンバーガー展開前） */
  #nav-menu,
  .global-nav,
  .l-header__nav,
  .header-nav,
  .site-navigation,
  .nav-menu-wrap {
    display: none !important;
  }

  /* ハンバーガーボタンは表示 */
  .menu-toggle,
  .hamburger,
  .hamburger-btn,
  .nav-toggle,
  #nav-toggle,
  .l-header__menu-btn,
  .sp-menu-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    cursor: pointer !important;
  }

  /* ハンバーガーボタンのアイコン（三本線）*/
  .menu-toggle span,
  .hamburger span,
  .hamburger-btn span {
    background: #4A7C6F !important;
  }

  /* ドロワー展開時（.is-open または .nav-open クラスがついた状態）はナビを表示 */
  .is-open #nav-menu,
  .is-open .global-nav,
  .nav-open .l-header__nav,
  .is-active .l-header__nav {
    display: flex !important;
    flex-direction: column !important;
  }

  /* ヘッダーロゴの文字サイズ調整 */
  .header-logo a,
  .site-title a,
  #logo a {
    font-size: 16px !important;
  }

  /* ヘッダー全体の高さ */
  #header,
  .l-header {
    min-height: 56px !important;
  }
}
/* ============================================================
   指示書 I — 全面修正パッチ
   既存のstyle-user.cssの末尾に追記する
   ============================================================ */

/* ------------------------------------------------------------
   I-1: PC全幅レイアウト修正
   The Thorの2カラムに閉じ込められる問題を解消
   ------------------------------------------------------------ */

/* トップページのメインコンテンツ幅を強制解除 */
.home .l-main__primary,
.home .l-main,
.home #main,
.home .main-wrap,
.home .entry-content,
.home .post-content,
.home article.page {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* The ThorのWordPress Contentエリアの幅制限を解除 */
.home .wp-block-post-content,
.home .wp-block-group,
.home .entry-inner {
  max-width: 100% !important;
  padding: 0 !important;
}

/* サイドバーを強制非表示（トップページのみ） */
.home .l-sidebar,
.home .l-main__secondary,
.home #sidebar,
.home aside.sidebar {
  display: none !important;
}

/* コンテナ全幅化 */
.home .l-container,
.home .l-wrap,
.home .l-body {
  max-width: 100% !important;
}

/* sf-fv・sf-sectionを全幅に（margin負値で脱出） */
.home .sf-fv,
.home .sf-trust-bar,
.home .sf-section,
.home [class*="sf-"] {
  box-sizing: border-box;
}

/* ------------------------------------------------------------
   I-2: FVタイトル 改行修正
   「予約・LINE・顧」で折れる問題を解消
   ------------------------------------------------------------ */

.sf-fv__title {
  font-size: clamp(26px, 3.2vw, 42px) !important;
  line-height: 1.45 !important;
  word-break: keep-all !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

/* FVレイアウト：最小幅を確保して折り返しを防ぐ */
.sf-fv__inner {
  grid-template-columns: minmax(320px, 56%) minmax(280px, 44%) !important;
  gap: 40px !important;
  align-items: start !important;
}

/* FV右カード：余白を詰めてカードを大きく */
.sf-fv__cards {
  gap: 12px !important;
}
.sf-fc {
  padding: 18px 20px !important;
  border-radius: 12px !important;
}
.sf-fc__label {
  font-size: 15px !important;
}
.sf-fc__sub {
  font-size: 13px !important;
  margin-top: 4px !important;
}

/* ------------------------------------------------------------
   I-3: 実績バー 1行横並び強制
   2行2列に折れる問題を解消
   ------------------------------------------------------------ */

.sf-trust-bar__inner {
  flex-wrap: nowrap !important;
  justify-content: center !important;
  gap: 0 !important;
  overflow-x: auto !important;
}
.sf-trust-item {
  flex-shrink: 0 !important;
  padding: 0 24px !important;
}
.sf-trust-bar__sep {
  display: block !important;
  flex-shrink: 0 !important;
}
@media (max-width: 640px) {
  .sf-trust-bar__inner {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }
  .sf-trust-item { padding: 6px 14px !important; }
  .sf-trust-bar__sep { display: none !important; }
}

/* ------------------------------------------------------------
   I-4: ペインポイントカード 高さ統一・余白調整
   アイコン下の空白過多・カード高さ不揃いを解消
   ------------------------------------------------------------ */

.sf-pain-grid {
  align-items: stretch !important;
  grid-template-columns: repeat(4, 1fr) !important;
}
.sf-pain-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 28px 16px 24px !important;
  min-height: 180px !important;
}
.sf-pain-card__icon {
  width: 44px !important;
  height: 44px !important;
  margin: 0 auto 14px !important;
  flex-shrink: 0 !important;
}
.sf-pain-card__text {
  font-size: 13px !important;
  line-height: 1.75 !important;
  color: #4A4A4A !important;
  text-align: center !important;
  margin: 0 !important;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
}
@media (max-width: 860px) {
  .sf-pain-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ------------------------------------------------------------
   I-5: 業種別カード テキスト折り返し解消・余白改善
   「ボディ・リラク系」が折れる問題を解消
   ------------------------------------------------------------ */

.sf-genre-card {
  padding: 40px 24px 36px !important;
}
.sf-genre-card__title {
  font-size: 17px !important;
  white-space: nowrap !important;
  margin-bottom: 10px !important;
}
.sf-genre-card__desc {
  font-size: 13px !important;
  line-height: 1.75 !important;
  white-space: normal !important;
  text-align: center !important;
  color: #767676 !important;
}
.sf-genre-card__icon {
  margin-bottom: 20px !important;
  width: 48px !important;
  height: 48px !important;
}

/* ------------------------------------------------------------
   I-6: 3ステップセクション ★最重要★
   グリーン背景に黒文字 → 白文字に修正
   カード内テキスト折り返し・行間を修正
   ------------------------------------------------------------ */

/* セクション背景 */
.sf-steps.sf-section--green,
.sf-section--green.sf-steps {
  background: var(--sf-green, #4A7C6F) !important;
}

/* eyebrow（HOW TO USE） */
.sf-section--green .sf-section__eyebrow,
.sf-section--green .sf-section__eyebrow--light,
.sf-steps .sf-section__eyebrow {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* セクションタイトル */
.sf-section--green .sf-section__title,
.sf-section--green .sf-section__title--light,
.sf-steps .sf-section__title {
  color: #ffffff !important;
  font-family: 'Noto Serif JP', serif !important;
}

/* ステップカード — 全テキスト白に統一 */
.sf-step-card {
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.20) !important;
  border-radius: 12px !important;
  padding: 28px 22px 26px !important;
  text-align: center !important;
}

/* STEP番号 */
.sf-step-card__num {
  font-size: 10px !important;
  letter-spacing: 0.14em !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 12px !important;
  display: block !important;
}

/* カードタイトル — 黒から白へ */
.sf-step-card__title {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.5 !important;
  margin-bottom: 12px !important;
  white-space: nowrap !important;
}

/* カード本文 — 黒から白へ、行間改善 */
.sf-step-card__desc {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.9 !important;
  margin: 0 !important;
}

/* 矢印 */
.sf-step-arrow {
  color: rgba(255, 255, 255, 0.40) !important;
  flex-shrink: 0 !important;
}
.sf-step-arrow svg path {
  stroke: rgba(255, 255, 255, 0.40) !important;
}

/* ステップCTAボタン（白ボタン） */
.sf-step-cta .sf-btn-white {
  background: #ffffff !important;
  color: var(--sf-green, #4A7C6F) !important;
  font-weight: 700 !important;
}

/* 3ステップグリッド — カード幅均等 */
.sf-step-row {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr auto 1fr !important;
  gap: 0 16px !important;
  align-items: center !important;
}
@media (max-width: 780px) {
  .sf-step-row {
    grid-template-columns: 1fr !important;
    gap: 12px 0 !important;
  }
  .sf-step-card__title { white-space: normal !important; }
}

/* ------------------------------------------------------------
   I-7: CTA比較・テンプレブロック カード高さ統一
   左右のカードの高さが揃っていない問題を解消
   ------------------------------------------------------------ */

.sf-cta-pair-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 22px !important;
  align-items: stretch !important;
}
.sf-cta-block {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  padding: 40px 32px 36px !important;
}
.sf-cta-block__desc {
  flex-grow: 1 !important;
  margin-bottom: 24px !important;
}
@media (max-width: 640px) {
  .sf-cta-pair-grid { grid-template-columns: 1fr !important; }
}

/* ------------------------------------------------------------
   I-8: サイドバー リンク視認性・行間改善
   説明文とリンクを区別可能にする
   ------------------------------------------------------------ */

/* ウィジェット説明文（p・.textwidget） */
.l-sidebar .widget p,
.l-sidebar .widget .textwidget,
#sidebar .widget p,
aside.widget-area .widget p {
  font-size: 12px !important;
  color: #888888 !important;
  line-height: 1.75 !important;
  padding: 8px 12px !important;
  margin: 0 !important;
}

/* ウィジェット内リスト */
.l-sidebar .widget ul,
#sidebar .widget ul,
aside.widget-area .widget ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 2px 0 0 !important;
  border-left: 3px solid #4A7C6F !important;
}

/* リストアイテム */
.l-sidebar .widget ul li,
#sidebar .widget ul li,
aside.widget-area .widget ul li {
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid #F0EBE4 !important;
}
.l-sidebar .widget ul li:last-child,
#sidebar .widget ul li:last-child {
  border-bottom: none !important;
}

/* リンク本体 — 最重要 */
.l-sidebar .widget ul li a,
#sidebar .widget ul li a,
aside.widget-area .widget ul li a {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 12px 9px 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  color: #3A3A3A !important;
  text-decoration: none !important;
  background: transparent !important;
  transition: background 0.15s, color 0.15s, padding-left 0.15s !important;
}

/* リンク左の矢印インジケーター */
.l-sidebar .widget ul li a::before,
#sidebar .widget ul li a::before,
aside.widget-area .widget ul li a::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  border-top: 1.8px solid #4A7C6F !important;
  border-right: 1.8px solid #4A7C6F !important;
  transform: rotate(45deg) !important;
  margin-right: 10px !important;
  flex-shrink: 0 !important;
  opacity: 0.7 !important;
}

/* ホバー */
.l-sidebar .widget ul li a:hover,
#sidebar .widget ul li a:hover,
aside.widget-area .widget ul li a:hover {
  background: #F4F0EA !important;
  color: #4A7C6F !important;
  padding-left: 18px !important;
}

/* ウィジェットタイトル */
.l-sidebar .widget-title,
#sidebar .widget-title,
aside.widget-area .widget-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  padding: 9px 12px !important;
  border-radius: 4px 4px 0 0 !important;
  margin-bottom: 0 !important;
}

/* ------------------------------------------------------------
   I-9: 記事内「次に進む導線」ブロック
   箇条書き記号の色・リンク色をグリーンに統一
   ------------------------------------------------------------ */

/* 「次に進む導線」ボックス全体 */
.next-step-box,
.sf-next-step,
.post-content .next-step,
article .next-step-box {
  border: 1px solid #E2D9CF !important;
  border-radius: 10px !important;
  padding: 28px 24px !important;
  background: #FDFAF7 !important;
  margin: 40px 0 !important;
}

/* 「次に進む導線」タイトル */
.next-step-box h2,
.next-step-box h3,
.next-step-box h4,
article .next-step-box > p:first-child {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  margin-bottom: 10px !important;
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

/* 箇条書き（ul/li）— デフォルトの橙色マーカーをグリーンに */
.next-step-box ul,
article .entry-content ul:has(a),
.post-content ul.next-step-list {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}

.next-step-box ul li,
article .entry-content ul:has(a) li {
  padding: 7px 0 7px 20px !important;
  line-height: 1.75 !important;
  position: relative !important;
  border-bottom: 1px solid #F0EBE4 !important;
}
.next-step-box ul li:last-child {
  border-bottom: none !important;
}

/* 「○」記号をグリーンの矢印に差し替え */
.next-step-box ul li::before,
article .entry-content ul:has(a) li::before {
  content: '' !important;
  display: inline-block !important;
  position: absolute !important;
  left: 4px !important;
  top: 14px !important;
  width: 6px !important;
  height: 6px !important;
  border-top: 2px solid #4A7C6F !important;
  border-right: 2px solid #4A7C6F !important;
  transform: rotate(45deg) !important;
}

/* リンク色をグリーンに統一（橙色を上書き） */
.next-step-box a,
.next-step-box ul li a,
article .entry-content ul:has(a) li a {
  color: #4A7C6F !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(74, 124, 111, 0.35) !important;
  text-underline-offset: 3px !important;
  font-weight: 500 !important;
  transition: color 0.15s !important;
}
.next-step-box a:hover,
article .entry-content ul:has(a) li a:hover {
  color: #3A6259 !important;
  text-decoration-color: rgba(74, 124, 111, 0.7) !important;
}

/* ------------------------------------------------------------
   I-10: 記事内の通常リンク色をグリーンに統一
   The Thorデフォルトのオレンジ色を上書き
   ------------------------------------------------------------ */

.entry-content a,
.post-content a,
article.post a,
article.page a {
  color: #4A7C6F !important;
  text-decoration-color: rgba(74, 124, 111, 0.30) !important;
}
.entry-content a:hover,
.post-content a:hover {
  color: #3A6259 !important;
  text-decoration-color: rgba(74, 124, 111, 0.65) !important;
}

/* The Thorのアフィリエイト系ボタン・CTAには適用しない */
.sf-btn-primary,
.sf-btn-ghost,
.sf-btn-white,
.sf-btn-affiliate {
  color: inherit !important;
}
.sf-btn-primary { color: #ffffff !important; }

/* ------------------------------------------------------------
   I-11: 行間の全体改善
   サイト全体の本文行間を統一する
   ------------------------------------------------------------ */

/* 記事本文 */
.entry-content p,
.post-content p {
  line-height: 1.95 !important;
  margin-bottom: 1.4em !important;
  font-size: 15px !important;
  color: #2A2A2A !important;
}

/* 記事内h2〜h4の行間 */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  line-height: 1.5 !important;
  margin-bottom: 0.8em !important;
  margin-top: 1.8em !important;
}

/* ============================================================
   Hotfix: 実画面差分の是正（左寄り/カード不揃い/配色残り/行間）
   ============================================================ */

/* 1) トップページの左寄りを根本解消（The Thorのwrapper幅を解除） */
body.home .l-wrapper {
  display: block !important;
  max-width: 100% !important;
}
body.home .l-main,
body.home main.l-main,
body.home .dividerBottom,
body.home .page,
body.home section.content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important;
  flex: 0 0 100% !important;
}
body.home .container,
body.home .wider {
  max-width: 100% !important;
}

/* 2) FVと主要セクションの幅をPCで安定化 */
body.home .sf-fv__inner,
body.home .sf-section__inner,
body.home .sf-trust-bar__inner {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (min-width: 1200px) {
  body.home .sf-fv__inner {
    grid-template-columns: 58% 42% !important;
    gap: 36px !important;
  }
}

/* 3) カードのサイズ/配置を統一 */
body.home .sf-pain-grid {
  grid-auto-rows: 1fr !important;
}
body.home .sf-pain-card {
  height: 100% !important;
  justify-content: flex-start !important;
}
body.home .sf-pain-card__text {
  min-height: 5.2em !important;
}
body.home .sf-issue-grid,
body.home .sf-genre-grid {
  grid-auto-rows: 1fr !important;
}
body.home .sf-issue-card,
body.home .sf-genre-card {
  height: 100% !important;
}

body.home .sf-cta-pair-grid {
  grid-auto-rows: 1fr !important;
}
body.home .sf-cta-block {
  height: 100% !important;
}

/* 実績バーのPC 1行固定（スクロールバー抑止） */
@media (min-width: 1024px) {
  body.home .sf-trust-bar__inner {
    overflow: visible !important;
  }
  body.home .sf-trust-item {
    padding: 0 18px !important;
  }
}

/* 4) 記事内のデフォルト橙マーカー/橙リンクを完全上書き */
.content.postCta.u-border ul,
.content.postCta ul {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}
.content.postCta.u-border ul > li,
.content.postCta ul > li {
  position: relative !important;
  padding: 7px 0 7px 20px !important;
  border-bottom: 1px solid #F0EBE4 !important;
  line-height: 1.8 !important;
}
.content.postCta.u-border ul > li:last-child,
.content.postCta ul > li:last-child {
  border-bottom: none !important;
}
.content.postCta.u-border ul > li::before,
.content.postCta ul > li::before {
  content: '' !important;
  position: absolute !important;
  left: 4px !important;
  top: 14px !important;
  width: 6px !important;
  height: 6px !important;
  border-top: 2px solid #4A7C6F !important;
  border-right: 2px solid #4A7C6F !important;
  transform: rotate(45deg) !important;
  color: transparent !important;
}
.content.postCta.u-border a,
.content.postCta a {
  color: #4A7C6F !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  text-decoration-color: rgba(74, 124, 111, 0.35) !important;
}
.content.postCta.u-border a:hover,
.content.postCta a:hover {
  color: #3A6259 !important;
}

/* 5) 行間の改善（記事/ウィジェット導線文） */
.postContents .content p,
.content.postCta p,
.widget .textwidget p {
  line-height: 1.9 !important;
}
.widget .textwidget a {
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

/* 6) スティッキーCTAのボタン未適用クラスを補完 */
.sf-sticky-cta__btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.sf-sticky-cta__btn--primary {
  background: #4A7C6F !important;
  color: #fff !important;
}
.sf-sticky-cta__btn--sub {
  background: #fff !important;
  color: #4A7C6F !important;
  border: 2px solid #4A7C6F !important;
}

/* ============================================================
   Responsive Final Fix
   - トップ1カラム全幅
   - 実績バーのスクロールバー除去
   - FVカードの見切れ防止
   - 3ステップのはみ出し防止
   ============================================================ */

/* トップページを1カラムで全幅化（The Thorのレイアウト制限を解除） */
body.home .l-wrapper,
body.home .dividerBottom,
body.home .page,
body.home .page > .content,
body.home .postContents,
body.home .postContents > .content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body.home .l-sidebar,
body.home .l-main__secondary,
body.home #sidebar {
  display: none !important;
}
body.home .sf-fv,
body.home .sf-trust-bar,
body.home .sf-section {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* 実績バーのPCスクロールバー（スライダー風）を無効化 */
body.home .sf-trust-bar__inner {
  overflow: visible !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
}
body.home .sf-trust-item {
  flex: 0 1 auto !important;
}

/* FV: PCは2カラム、タブレット以下は1カラムで見切れ防止 */
body.home .sf-fv__inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: 28px !important;
  overflow: visible !important;
}
body.home .sf-fv__copy,
body.home .sf-fv__cards {
  min-width: 0 !important;
}
body.home .sf-fv__title {
  font-size: clamp(30px, 4vw, 48px) !important;
  line-height: 1.4 !important;
}
body.home .sf-fv__cards {
  gap: 12px !important;
}
body.home .sf-fc {
  width: 100% !important;
}

/* 3ステップ: はみ出し対策（矢印を非表示にして3カラムを安定化） */
body.home .sf-step-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch !important;
}
body.home .sf-step-arrow {
  display: none !important;
}
body.home .sf-step-card {
  height: 100% !important;
}
body.home .sf-step-card__title {
  white-space: normal !important;
  word-break: keep-all !important;
  overflow-wrap: anywhere !important;
  line-height: 1.45 !important;
}
body.home .sf-step-card__desc {
  line-height: 1.9 !important;
}

/* 主要カードを高さ統一 */
body.home .sf-pain-grid,
body.home .sf-issue-grid,
body.home .sf-genre-grid,
body.home .sf-cta-pair-grid {
  grid-auto-rows: 1fr !important;
}
body.home .sf-pain-card,
body.home .sf-issue-card,
body.home .sf-genre-card,
body.home .sf-cta-block {
  height: 100% !important;
}

/* タブレット以下 */
@media (max-width: 1024px) {
  body.home .sf-fv__inner {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  body.home .sf-fv__cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  body.home .sf-step-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body.home .sf-trust-bar__inner {
    flex-wrap: wrap !important;
    row-gap: 8px !important;
  }
  body.home .sf-trust-bar__sep {
    display: none !important;
  }
}

/* スマホ */
@media (max-width: 768px) {
  body.home .sf-fv {
    padding: 48px 0 40px !important;
  }
  body.home .sf-fv__inner,
  body.home .sf-section__inner,
  body.home .sf-trust-bar__inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.home .sf-fv__title {
    font-size: clamp(28px, 8vw, 36px) !important;
  }
  body.home .sf-fv__actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  body.home .sf-fv__actions .sf-btn-primary,
  body.home .sf-fv__actions .sf-btn-ghost {
    width: 100% !important;
  }
  /* アニメーションカードの見切れ対策 */
  body.home .sf-fc {
    animation: none !important;
    transform: none !important;
    padding: 16px !important;
  }
}

/* ============================================================
   Front Page Template Override (child/front-page.php)
   ============================================================ */
.sf-front-root,
.sf-front-main,
.sf-front-content {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* top page only: remove legacy column constraints */
body.home .l-wrapper,
body.home .l-main {
  max-width: 100% !important;
  width: 100% !important;
}
body.home .l-sidebar {
  display: none !important;
}

/* Keep inner sections responsive and centered */
.sf-fv__inner,
.sf-section__inner,
.sf-trust-bar__inner {
  width: min(1200px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 3vw, 28px) !important;
  padding-right: clamp(16px, 3vw, 28px) !important;
}

/* Better typography balance */
.sf-fv__title {
  font-size: clamp(30px, 4.6vw, 54px) !important;
  line-height: 1.38 !important;
  letter-spacing: -0.01em !important;
  word-break: keep-all !important;
}
.sf-fv__lead,
.sf-step-card__desc,
.sf-issue-card__desc,
.sf-pain-card__text,
.sf-genre-card__desc {
  line-height: 1.9 !important;
}

/* Card size consistency */
.sf-pain-grid,
.sf-issue-grid,
.sf-genre-grid,
.sf-cta-pair-grid {
  align-items: stretch !important;
  grid-auto-rows: 1fr !important;
}
.sf-pain-card,
.sf-issue-card,
.sf-genre-card,
.sf-cta-block,
.sf-step-card {
  height: 100% !important;
}

/* Disable trust-bar scroll track */
.sf-trust-bar__inner {
  overflow: visible !important;
}

/* Mobile: hide animated cards to avoid clipping, keep tags in place */
@media (max-width: 768px) {
  .sf-fv__inner {
    grid-template-columns: 1fr !important;
  }
  .sf-fv__cards {
    display: none !important;
  }
  .sf-fv__copy {
    max-width: 100% !important;
  }
  .sf-fv__actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .sf-fv__actions .sf-btn-primary,
  .sf-fv__actions .sf-btn-ghost {
    width: 100% !important;
  }
  .sf-step-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .sf-step-arrow {
    display: none !important;
  }
}

/* ============================================================
   Final Tuning
   - タグ削除
   - スマホFVカードを静的表示
   - 実績バーを3項目化（30本/3業種/無料）
   ============================================================ */

/* タグはPC/SPとも非表示 */
.sf-fv__tags {
  display: none !important;
}

/* 実績バー: アフィリエイト欄を削除し、3項目の文字バランスを調整 */
.sf-trust-bar__sep {
  display: none !important;
}
.sf-trust-bar__inner > .sf-trust-item:last-child {
  display: none !important; /* アフィリエイト明示・中立比較を非表示 */
}
.sf-trust-bar__inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  flex-wrap: nowrap !important;
  overflow: visible !important;
}
.sf-trust-bar__inner > .sf-trust-item {
  padding: 8px 24px !important;
}
.sf-trust-bar__inner > .sf-trust-item + .sf-trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.26);
}
.sf-trust-item__num {
  font-size: clamp(24px, 2.2vw, 34px) !important;
}
.sf-trust-item__label {
  font-size: clamp(12px, 1.05vw, 14px) !important;
  letter-spacing: 0.01em !important;
}

/* スマホ: FVカードをタグ位置（FV本文下）に静的表示 */
@media (max-width: 768px) {
  .sf-fv__inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .sf-fv__copy {
    order: 1 !important;
  }
  .sf-fv__cards {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 4px !important;
  }
  .sf-fc {
    width: 100% !important;
    padding: 14px 14px !important;
    animation: none !important;
    transform: none !important;
    box-shadow: var(--sf-shadow) !important;
  }
  .sf-fc__icon {
    width: 34px !important;
    height: 34px !important;
  }
  .sf-fc__label {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }
  .sf-fc__sub {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .sf-trust-bar__inner {
    flex-wrap: wrap !important;
    row-gap: 6px !important;
  }
  .sf-trust-bar__inner > .sf-trust-item {
    padding: 6px 12px !important;
  }
  .sf-trust-bar__inner > .sf-trust-item + .sf-trust-item {
    border-left: none !important;
  }
}

/* ============================================================
   Mobile Header Fix
   - スマホはハンバーガーのみ表示
   ============================================================ */
@media (max-width: 991px) {
  .globalNavi,
  .globalNavi__inner,
  .globalNavi__list {
    display: none !important;
  }
  .menuBtn,
  .menuBtn.u-none-pc {
    display: block !important;
  }
  .menuBtn__link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
  }
}

/* ============================================================
   Readability Fix
   - スマホで行間が詰まる箇所を改善
   ============================================================ */
@media (max-width: 768px) {
  .dividerTop .widget.widget_text .textwidget,
  .widget-main.widget_text .textwidget {
    line-height: 1.95 !important;
    letter-spacing: 0.01em !important;
  }
  .dividerTop .widget.widget_text .textwidget p,
  .widget-main.widget_text .textwidget p {
    line-height: 1.95 !important;
    margin: 0 0 14px !important;
    font-size: 18px !important;
  }
  .dividerTop .widget.widget_text .textwidget a,
  .widget-main.widget_text .textwidget a {
    line-height: 1.9 !important;
    display: inline-block !important;
    margin-bottom: 6px !important;
    text-underline-offset: 4px !important;
  }
  .dividerTop .widget.widget_text .textwidget li,
  .widget-main.widget_text .textwidget li {
    line-height: 1.9 !important;
    margin-bottom: 8px !important;
  }
}

/* コメント欄を表示しない（フロント側の保険） */
.comments,
#comments,
#respond,
.comment-respond {
  display: none !important;
}

/* ============================================================
   Final polish
   - 導線リンクの文字サイズ統一
   - 実績バーの配置統一と訴求強化
   ============================================================ */

/* 導線ブロック: リンク付き文字サイズを「次に読む」に合わせて統一 */
.dividerTop .widget.widget-main.widget_text .textwidget a,
.dividerTop .widget.widget-side.widget_text .textwidget a,
.widget-main.widget_text .textwidget a {
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.75 !important;
  color: #1f2f2c !important;
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 4px !important;
}
.dividerTop .widget.widget-main.widget_text .textwidget p,
.widget-main.widget_text .textwidget p {
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* 実績バー（PC）: 30 / 3 / 無料 だけ大きく、それ以外は通常サイズ */
@media (min-width: 769px) {
  .sf-trust-bar__inner {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 0 !important;
  }
  .sf-trust-bar__inner > .sf-trust-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-align: center !important;
    min-height: 96px !important;
    padding: 10px 16px !important;
  }
  .sf-trust-item__num {
    display: inline-flex !important;
    align-items: baseline !important;
    justify-content: center !important;
    gap: 2px !important;
    margin: 0 !important;
    line-height: 1 !important;
    font-size: clamp(44px, 4vw, 66px) !important;
    font-weight: 700 !important;
  }
  .sf-trust-item__num span {
    font-size: 14px !important; /* 本+ / 業種 は通常サイズ */
    font-weight: 600 !important;
    line-height: 1.2 !important;
    margin-left: 0 !important;
    opacity: 0.95 !important;
  }
  .sf-trust-item__label {
    font-size: 14px !important; /* 30/3/無料 以外は拡大しない */
    margin: 0 !important;
    white-space: nowrap !important;
    text-align: left !important;
    align-self: center !important;
    line-height: 1.35 !important;
  }
}

/* ============================================================
   J: Color tuning (2026-03)
   - ゴールド活用箇所の拡張
   - CTA優先度の視認性改善
   - 補足テキストのコントラスト微調整
   ============================================================ */
:root {
  --sf-text-sub: #6B6B6B;
}

/* 主CTAのホバー変化を明確化 */
.sf-btn-primary:hover,
.sf-btn-ghost:hover,
.sf-btn-white:hover,
.sf-sticky-cta__btn--primary:hover {
  background: #2D5049 !important;
  border-color: #2D5049 !important;
}

/* 第3CTA（アフィリエイト）をゴールドで統一 */
.sf-btn-affiliate,
.sf-btn--affiliate {
  background: #C9A96E !important;
  border: 1px solid #B89351 !important;
  color: #FFFFFF !important;
  box-shadow: 0 6px 16px rgba(201, 169, 110, 0.34) !important;
}
.sf-btn-affiliate:hover,
.sf-btn--affiliate:hover {
  background: #B89351 !important;
  border-color: #B89351 !important;
  color: #FFFFFF !important;
}

/* ゴールド活用: まず読む3本の番号 / 比較No.1バッジ / 3ステップ矢印 */
.sf-pickup-item__num {
  color: #C9A96E !important;
}
.sf-badge--top {
  background: #C9A96E !important;
  color: #FFFFFF !important;
  border: 1px solid #B89351 !important;
}
.sf-step-arrow svg path {
  stroke: rgba(201, 169, 110, 0.9) !important;
}

/* 補足テキストを安全側へ */
.sf-genre-card__desc,
.sf-cta-box__tool,
.sf-cta-box__note-sub,
.sf-cta-box__disclosure {
  color: #6B6B6B !important;
}

/* ============================================================
   Salon Flow: リンクカラー統一（The Thorのオレンジを上書き）
   ============================================================ */

/* 全体リンクをグリーンに統一 */
a,
a:link,
a:visited {
    color: var(--sf-green, #4A7C6F);
}
a:hover,
a:focus {
    color: var(--sf-green-dark, #3A6259);
    text-decoration: underline;
}

/* 記事本文内のリンク */
.entry-content a,
.page-content a,
.entry-content a:link,
.entry-content a:visited {
    color: var(--sf-green, #4A7C6F);
}
.entry-content a:hover {
    color: var(--sf-green-dark, #3A6259);
}

/* サイドバーリンク */
.sidebar a,
.widget a {
    color: var(--sf-green, #4A7C6F);
}
.sidebar a:hover,
.widget a:hover {
    color: var(--sf-green-dark, #3A6259);
}

/* ナビゲーションリンクはそのまま（The Thorの既存設定を維持） */

/* CTAボタンのカラーは維持 */
.sf-btn-affiliate,
.sf-btn-affiliate:link,
.sf-btn-affiliate:visited {
    color: #fff !important;
    background-color: var(--sf-gold, #C9A96E) !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    display: inline-block;
    font-weight: 700;
    text-decoration: none;
}
.sf-btn-affiliate:hover {
    background-color: #b8935a !important;
    color: #fff !important;
    text-decoration: none;
}

/* グリーンCTAボタン */
.sf-btn-green,
.wp-block-button__link:not(.sf-btn-affiliate):not(.sf-btn-ghost) {
    color: #fff !important;
    background-color: var(--sf-green, #4A7C6F) !important;
    text-decoration: none;
}
.sf-btn-green:hover,
.wp-block-button__link:not(.sf-btn-affiliate):not(.sf-btn-ghost):hover {
    background-color: var(--sf-green-dark, #3A6259) !important;
    color: #fff !important;
}

/* 集客導線設計カテゴリをサイドバーから非表示 */
.widget_categories a[href*="attracting-flow"],
.widget_categories li:has(a[href*="attracting-flow"]) {
    display: none !important;
}

/* LINEテンプレートのコピーボックス */
.sf-copy-box {
    background: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
    position: relative;
}

.sf-copy-box::before {
    content: "コピーして使う";
    display: block;
    font-size: 0.75rem;
    color: #4A7C6F;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

/* カテゴリ画像は通常アイキャッチと同じ比率で静的表示 */
.sf-category-eyecatch {
    margin: 0 0 24px;
    width: 100%;
    overflow: hidden;
}

.sf-category-eyecatch img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
}

/* ブログ一覧・カテゴリ一覧のカテゴリラベルは白文字で固定 */
.eyecatch__cat,
.eyecatch__cat a,
.eyecatch__cat-big,
.eyecatch__cat-big a,
.archiveCard__cat,
.archiveCard__cat a,
.articleCard__cat,
.articleCard__cat a,
.loop-cat,
.loop-cat a {
    color: #ffffff !important;
}

/* カテゴリページ上部の "CATEGORY" ラベルを非表示 */
.category-title .icon-folder,
.archive-title .icon-folder,
.cat-ttl .icon-folder,
.page-header .icon-folder,
h1.page-title .icon-folder,
.archive h1 .icon-folder {
    display: none !important;
}
/* "CATEGORY" テキスト自体を非表示（アイコン含む親要素） */
.cat-label,
.archive-label,
.category-label,
.fit_bs_category_label {
    display: none !important;
}

/* 実DOM用: archive subtitle内に出るCATEGORY表記を非表示 */
.archiveHead__subtitle {
    display: none !important;
}

/* サイドバー・フッター内の集客導線設計リンクを全て非表示 */
.widget li a[href*="attracting-flow"],
.widget li:has(> a[href*="attracting-flow"]),
#sidebar a[href*="attracting-flow"],
#sidebar li:has(> a[href*="attracting-flow"]),
.sidebar a[href*="attracting-flow"],
select option[value*="attracting-flow"],
select option[data-slug="attracting-flow"] {
    display: none !important;
}

/* dummy.gif をデフォルトアイキャッチに置換 */
img[src*="dummy.gif"] {
    content: url("https://darkindexhub.com/wp-content/uploads/2026/03/default-eyecatch.webp");
}

/* attracting-flow / 集客導線設計 を全箇所で非表示 */
[href*="attracting-flow"],
li:has([href*="attracting-flow"]) {
    display: none !important;
}

/* 集客導線設計を全サイドバー・全ページで完全非表示 */
.widget_categories li:has(a[href*="attracting-flow"]),
.widget_categories li a[href*="attracting-flow"],
a[href*="/category/attracting-flow"],
a[href*="attracting-flow"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}
.widget_categories li:has(a[href*="attracting-flow"]) {
    display: none !important;
}

/* ================================================
   課題から探す 6カードグリッド
   ================================================ */
.sf-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.sf-sol-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #E8E4DF;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.sf-sol-card:hover {
  box-shadow: 0 4px 20px rgba(74, 124, 111, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

.sf-sol-card .sf-sol-num {
  font-size: 0.75rem;
  color: #4A7C6F;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sf-sol-card .sf-sol-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.sf-sol-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0.25rem 0 0;
  font-family: var(--sf-serif, 'Noto Serif JP', serif);
}

.sf-sol-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.sf-sol-card .sf-sol-link {
  font-size: 0.85rem;
  color: #4A7C6F;
  font-weight: 700;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .sf-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .sf-sol-card {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .sf-solutions-grid {
    grid-template-columns: 1fr;
  }
}

/* SVGアイコンスタイル（絵文字を置き換え） */
.sf-sol-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #4A7C6F;
  margin-bottom: 0.25rem;
  font-size: 0 !important;
  line-height: 1 !important;
}
.sf-sol-icon svg {
  width: 28px;
  height: 28px;
  stroke: #4A7C6F;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* スマホ文字サイズ修正 */
@media (max-width: 768px) {
  .sf-sol-card h3 {
    font-size: 1rem !important;
  }
  .sf-sol-card p {
    font-size: 0.9rem !important;
    line-height: 1.75 !important;
  }
  .sf-sol-card {
    padding: 1.25rem !important;
  }
  .sf-sol-card .sf-sol-link {
    font-size: 0.9rem !important;
  }
}

/* ================================================
   課題カード v2 - スマホ表示改善
   ================================================ */

/* PC: 3列グリッド */
.sf-solutions-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  margin: 2rem 0 !important;
}

.sf-sol-card {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
  padding: 1.5rem !important;
  background: #ffffff !important;
  border: 1px solid #E0EBE8 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
  transition: box-shadow 0.2s, transform 0.2s !important;
  min-height: 0 !important;
}

.sf-sol-card:hover {
  box-shadow: 0 4px 20px rgba(74, 124, 111, 0.15) !important;
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.sf-sol-card .sf-sol-num {
  font-size: 0.72rem !important;
  color: #4A7C6F !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
}

.sf-sol-card .sf-sol-icon {
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 0.1rem !important;
}

.sf-sol-card .sf-sol-icon svg {
  width: 26px !important;
  height: 26px !important;
  stroke: #4A7C6F !important;
  fill: none !important;
  stroke-width: 1.5 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.sf-sol-card h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  font-family: 'Noto Sans JP', sans-serif !important;
}

.sf-sol-card p {
  font-size: 0.875rem !important;
  color: #555 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  flex: 1 !important;
}

.sf-sol-card .sf-sol-link {
  font-size: 0.875rem !important;
  color: #4A7C6F !important;
  font-weight: 700 !important;
  margin-top: 0.25rem !important;
}

/* タブレット: 2列 */
@media (max-width: 900px) {
  .sf-solutions-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* スマホ: 1列・文字を大きく */
@media (max-width: 600px) {
  .sf-solutions-grid {
    grid-template-columns: 1fr !important;
    gap: 0.875rem !important;
  }

  .sf-sol-card {
    padding: 1.25rem 1.25rem !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    border-radius: 10px !important;
  }

  .sf-sol-card .sf-sol-icon {
    flex-shrink: 0 !important;
    margin-top: 0.15rem !important;
  }

  .sf-sol-card .sf-sol-content-wrap {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
  }

  .sf-sol-card h3 {
    font-size: 1.05rem !important;
    line-height: 1.45 !important;
  }

  .sf-sol-card p {
    display: none !important;
  }

  .sf-sol-card .sf-sol-link {
    font-size: 0.85rem !important;
  }
}

/* ================================================
   まずここから読む ページ専用スタイル
   ================================================ */
.sf-start-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* HEROセクション */
.sf-start-hero {
  padding: 2.5rem 0 2rem;
  border-bottom: 2px solid #4A7C6F;
  margin-bottom: 2.5rem;
}
.sf-start-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: #4A7C6F;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.sf-start-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: #1C1C1C;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 1rem;
}
.sf-start-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
}

/* ストーリーセクション */
.sf-start-story {
  margin-bottom: 2.5rem;
}
.sf-start-story h2,
.sf-start-pain h2,
.sf-start-howto h2,
.sf-start-links h2,
.sf-start-first3 h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C1C1C;
  border-left: 4px solid #4A7C6F;
  padding-left: 0.75rem;
  margin-bottom: 1.25rem;
  font-family: 'Noto Serif JP', serif;
}
.sf-start-story p {
  font-size: 0.975rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1rem;
}
.sf-start-note {
  background: #EAF4F1;
  border-radius: 6px;
  padding: 0.875rem 1rem;
  margin-top: 1.5rem;
}
.sf-start-note p {
  font-size: 0.8rem;
  color: #555;
  margin: 0;
  line-height: 1.7;
}

/* 共感リスト */
.sf-start-pain {
  margin-bottom: 2.5rem;
}
.sf-start-pain-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sf-start-pain-list li {
  padding: 0.75rem 1rem;
  background: #FAF8F5;
  border-left: 3px solid #C9A96E;
  border-radius: 0 6px 6px 0;
  font-size: 0.925rem;
  color: #333;
  line-height: 1.6;
}
.sf-start-pain-footer {
  font-size: 0.925rem;
  color: #333;
  line-height: 1.8;
  margin-top: 1rem;
}

/* ステップ */
.sf-start-howto {
  margin-bottom: 2.5rem;
}
.sf-start-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.sf-start-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.sf-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #4A7C6F;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.1rem;
}
.sf-start-steps li div {
  flex: 1;
}
.sf-start-steps li strong {
  display: block;
  font-size: 1rem;
  color: #1C1C1C;
  margin-bottom: 0.3rem;
}
.sf-start-steps li p {
  font-size: 0.875rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* 課題別リンクグリッド */
.sf-start-links {
  margin-bottom: 2.5rem;
}
.sf-start-link-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
.sf-start-link-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid #E0EBE8;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
}
.sf-start-link-card:hover {
  box-shadow: 0 3px 16px rgba(74,124,111,0.12);
  transform: translateY(-1px);
  text-decoration: none;
}
.sf-start-link-card strong {
  font-size: 0.95rem;
  color: #1C1C1C;
  font-weight: 700;
}
.sf-start-link-card span {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* まず読む3本 */
.sf-start-first3 {
  margin-bottom: 3rem;
}
.sf-start-first3 > p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}
.sf-start-articles {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: article-counter;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.sf-start-articles li {
  counter-increment: article-counter;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.25rem;
  background: #FAF8F5;
  border-radius: 8px;
  border-left: 3px solid #4A7C6F;
}
.sf-start-articles li a {
  font-size: 0.975rem;
  font-weight: 700;
  color: #1C1C1C;
  text-decoration: none;
}
.sf-start-articles li a:hover {
  color: #4A7C6F;
}
.sf-start-articles li span {
  font-size: 0.8rem;
  color: #777;
}

/* スマホ */
@media (max-width: 600px) {
  .sf-start-link-grid {
    grid-template-columns: 1fr;
  }
  .sf-start-title {
    font-size: 1.4rem;
  }
}

/* ================================================
   startページ フォントサイズ修正 v2
   小さすぎる文字を読みやすいサイズに引き上げ
   ================================================ */

/* リード文・本文の基本サイズを引き上げ */
.sf-start-page {
  font-size: 1rem !important;
  line-height: 1.9 !important;
}

/* HEROタイトル */
.sf-start-title {
  font-size: clamp(1.6rem, 4.5vw, 2.2rem) !important;
  line-height: 1.55 !important;
  margin-bottom: 1.25rem !important;
}

/* リード文 */
.sf-start-lead {
  font-size: 1.05rem !important;
  line-height: 1.95 !important;
}

/* セクション見出し（h2相当） */
.sf-start-story h2,
.sf-start-pain h2,
.sf-start-howto h2,
.sf-start-links h2,
.sf-start-first3 h2 {
  font-size: 1.3rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1.5rem !important;
}

/* ストーリー本文 */
.sf-start-story p {
  font-size: 1rem !important;
  line-height: 1.95 !important;
  margin-bottom: 1.25rem !important;
}

/* 注記 */
.sf-start-note p {
  font-size: 0.875rem !important;
  line-height: 1.75 !important;
}

/* 共感リスト */
.sf-start-pain-list li {
  font-size: 1rem !important;
  line-height: 1.7 !important;
  padding: 0.875rem 1.1rem !important;
}

/* 共感リスト締め */
.sf-start-pain-footer {
  font-size: 1rem !important;
  line-height: 1.85 !important;
}

/* ステップのテキスト */
.sf-start-steps li strong {
  font-size: 1.05rem !important;
  margin-bottom: 0.4rem !important;
}
.sf-start-steps li p {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
}

/* 課題リンクカード */
.sf-start-link-card strong {
  font-size: 1rem !important;
  line-height: 1.5 !important;
}
.sf-start-link-card span {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
}

/* まず読む3本 */
.sf-start-first3 > p {
  font-size: 1rem !important;
}
.sf-start-articles li a {
  font-size: 1.025rem !important;
  line-height: 1.5 !important;
}
.sf-start-articles li span {
  font-size: 0.875rem !important;
  line-height: 1.6 !important;
  color: #666 !important;
}

/* スマホ */
@media (max-width: 600px) {
  .sf-start-title {
    font-size: 1.45rem !important;
  }
  .sf-start-lead {
    font-size: 0.975rem !important;
  }
  .sf-start-story h2,
  .sf-start-pain h2,
  .sf-start-howto h2,
  .sf-start-links h2,
  .sf-start-first3 h2 {
    font-size: 1.15rem !important;
  }
  .sf-start-story p,
  .sf-start-pain-list li,
  .sf-start-pain-footer {
    font-size: 0.975rem !important;
  }
  .sf-start-steps li strong {
    font-size: 1rem !important;
  }
  .sf-start-steps li p {
    font-size: 0.925rem !important;
  }
  .sf-start-link-card strong {
    font-size: 0.975rem !important;
  }
  .sf-start-articles li a {
    font-size: 0.975rem !important;
  }
}

/* ================================================
   startページ 文字サイズ最終修正
   すべてのsf-start要素を読みやすい標準サイズに上書き
   ================================================ */

.sf-start-page,
.sf-start-page * {
  box-sizing: border-box;
}

/* ページ全体のベース */
.sf-start-page {
  font-size: 17px !important;
  line-height: 2.0 !important;
  color: #333 !important;
}

/* ページタイトル */
.sf-start-title {
  font-size: 32px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 1.25rem !important;
  color: #1C1C1C !important;
}

/* ラベル */
.sf-start-label {
  font-size: 12px !important;
  letter-spacing: 0.12em !important;
}

/* リード文 */
.sf-start-lead {
  font-size: 18px !important;
  line-height: 2.05 !important;
  color: #333 !important;
}

/* セクション見出し */
.sf-start-story h2,
.sf-start-pain h2,
.sf-start-howto h2,
.sf-start-links h2,
.sf-start-first3 h2 {
  font-size: 22px !important;
  line-height: 1.5 !important;
  margin-top: 0 !important;
  margin-bottom: 1.25rem !important;
}

/* ストーリー本文 */
.sf-start-story p {
  font-size: 17px !important;
  line-height: 2.0 !important;
  margin-bottom: 1.25rem !important;
  color: #333 !important;
}

/* 注記 */
.sf-start-note {
  margin-top: 2rem !important;
}
.sf-start-note p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: #555 !important;
}

/* 共感リスト */
.sf-start-pain-list {
  gap: 0.75rem !important;
}
.sf-start-pain-list li {
  font-size: 17px !important;
  line-height: 1.75 !important;
  padding: 1rem 1.25rem !important;
}

.sf-start-pain-footer {
  font-size: 17px !important;
  line-height: 2.0 !important;
  margin-top: 1.25rem !important;
}

/* ステップ */
.sf-start-steps {
  gap: 1.5rem !important;
}
.sf-start-steps li strong {
  font-size: 18px !important;
  line-height: 1.5 !important;
  display: block !important;
  margin-bottom: 0.4rem !important;
}
.sf-start-steps li p {
  font-size: 16px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
  color: #555 !important;
}
.sf-step-num {
  width: 40px !important;
  height: 40px !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
  margin-top: 0.15rem !important;
}

/* 課題リンクカード */
.sf-start-link-grid {
  gap: 1rem !important;
}
.sf-start-link-card {
  padding: 1.25rem 1.5rem !important;
  gap: 0.4rem !important;
}
.sf-start-link-card strong {
  font-size: 17px !important;
  line-height: 1.5 !important;
  color: #1C1C1C !important;
}
.sf-start-link-card span {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #666 !important;
}

/* まず読む3本 */
.sf-start-first3 > p {
  font-size: 17px !important;
  line-height: 2.0 !important;
}
.sf-start-articles {
  gap: 1rem !important;
}
.sf-start-articles li {
  padding: 1.1rem 1.5rem !important;
  gap: 0.35rem !important;
}
.sf-start-articles li a {
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #1C1C1C !important;
  text-decoration: none !important;
}
.sf-start-articles li a:hover {
  color: #4A7C6F !important;
}
.sf-start-articles li span {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #777 !important;
}

/* スマホ */
@media (max-width: 600px) {
  .sf-start-page {
    font-size: 16px !important;
  }
  .sf-start-title {
    font-size: 26px !important;
    line-height: 1.5 !important;
  }
  .sf-start-lead {
    font-size: 16px !important;
  }
  .sf-start-story h2,
  .sf-start-pain h2,
  .sf-start-howto h2,
  .sf-start-links h2,
  .sf-start-first3 h2 {
    font-size: 19px !important;
  }
  .sf-start-story p,
  .sf-start-pain-list li,
  .sf-start-pain-footer,
  .sf-start-first3 > p {
    font-size: 16px !important;
  }
  .sf-start-steps li strong {
    font-size: 16px !important;
  }
  .sf-start-steps li p {
    font-size: 15px !important;
  }
  .sf-start-link-card strong {
    font-size: 16px !important;
  }
  .sf-start-articles li a {
    font-size: 16px !important;
  }
}

/* sf-start内のolデフォルトスタイルをリセット */
.sf-start-steps,
.sf-start-articles {
  list-style: none !important;
  padding-left: 0 !important;
  counter-reset: none !important;
}
.sf-start-steps li::before,
.sf-start-articles li::before,
.sf-start-steps li::marker,
.sf-start-articles li::marker {
  display: none !important;
  content: none !important;
}

/* ================================================
   グローバル フォント・行間 修正
   The Thorデフォルトの小さいフォントを上書き
   ================================================ */

/* 記事本文エリア全体 */
.entry-content,
.post-content,
.page-content,
article .content,
.singlePost__content {
  font-size: 17px !important;
  line-height: 2.0 !important;
  color: #333 !important;
}

/* 本文p・li・td */
.entry-content p,
.post-content p,
.singlePost__content p {
  font-size: 17px !important;
  line-height: 2.0 !important;
  margin-bottom: 1.5em !important;
}

/* 箇条書き：記号と本文の間隔を確保 */
.entry-content ul,
.entry-content ol,
.singlePost__content ul,
.singlePost__content ol {
  padding-left: 1.75em !important;
  margin-bottom: 1.5em !important;
}

.entry-content ul li,
.entry-content ol li,
.singlePost__content ul li,
.singlePost__content ol li {
  font-size: 17px !important;
  line-height: 1.85 !important;
  margin-bottom: 0.6em !important;
  padding-left: 0.4em !important;
}

/* h2見出し */
.entry-content h2,
.singlePost__content h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin-top: 2.5em !important;
  margin-bottom: 1em !important;
  padding: 0.6em 0.9em !important;
  background: #EAF4F1 !important;
  border-left: 4px solid #4A7C6F !important;
  border-radius: 0 6px 6px 0 !important;
  color: #1C1C1C !important;
}

/* h3見出し */
.entry-content h3,
.singlePost__content h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  margin-top: 2em !important;
  margin-bottom: 0.75em !important;
  padding-left: 0.75em !important;
  border-left: 3px solid #C9A96E !important;
  color: #1C1C1C !important;
}

/* h4見出し */
.entry-content h4,
.singlePost__content h4 {
  font-size: 17px !important;
  font-weight: 700 !important;
  margin-top: 1.75em !important;
  margin-bottom: 0.5em !important;
  color: #3A6259 !important;
}

/* テーブル */
.entry-content table,
.singlePost__content table {
  font-size: 15px !important;
  line-height: 1.7 !important;
  border-collapse: collapse !important;
  width: 100% !important;
  margin-bottom: 1.5em !important;
}

.entry-content th,
.singlePost__content th {
  background: #4A7C6F !important;
  color: #fff !important;
  padding: 0.6em 0.9em !important;
  font-weight: 700 !important;
  text-align: left !important;
}

.entry-content td,
.singlePost__content td {
  padding: 0.6em 0.9em !important;
  border-bottom: 1px solid #E0EBE8 !important;
  vertical-align: top !important;
}

.entry-content tr:nth-child(even) td,
.singlePost__content tr:nth-child(even) td {
  background: #F7FBFA !important;
}

/* 強調テキスト */
.entry-content strong,
.singlePost__content strong {
  color: #1C1C1C !important;
  font-weight: 700 !important;
}

/* リンク */
.entry-content a,
.singlePost__content a {
  color: #4A7C6F !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
}

.entry-content a:hover,
.singlePost__content a:hover {
  color: #3A6259 !important;
}

/* ================================================
   startページ 箇条書きスタイル修正
   ================================================ */

/* sf-start-pain-list の記号と本文の間隔 */
.sf-start-pain-list li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.75em !important;
  padding: 0.9em 1.1em !important;
}

.sf-start-pain-list li::before {
  content: "" !important;
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  border-radius: 50% !important;
  background: #C9A96E !important;
  margin-top: 0.55em !important;
}

/* スマホ */
@media (max-width: 768px) {
  .entry-content p,
  .entry-content li,
  .singlePost__content p,
  .singlePost__content li {
    font-size: 16px !important;
    line-height: 1.9 !important;
  }

  .entry-content h2,
  .singlePost__content h2 {
    font-size: 19px !important;
  }

  .entry-content h3,
  .singlePost__content h3 {
    font-size: 17px !important;
  }

  .entry-content table,
  .singlePost__content table {
    font-size: 13px !important;
  }
}

/* ================================================
   LINEテンプレート コピーボックス 改善版
   ================================================ */
.sf-copy-box {
  background: #F5F9F8 !important;
  border: 1px solid #B8D5CE !important;
  border-top: 3px solid #4A7C6F !important;
  border-radius: 6px !important;
  padding: 1.25rem 1.5rem !important;
  margin: 1rem 0 1.75rem !important;
  font-size: 15px !important;
  line-height: 1.9 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  position: relative !important;
  color: #333 !important;
}

.sf-copy-box::before {
  content: "コピーして使う" !important;
  display: inline-block !important;
  font-size: 11px !important;
  color: #fff !important;
  background: #4A7C6F !important;
  font-weight: 700 !important;
  padding: 0.2em 0.75em !important;
  border-radius: 3px !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: 0.05em !important;
}

/* コピーボタン */
.sf-copy-btn {
  display: inline-block;
  padding: 0.35em 1em;
  background: #4A7C6F;
  color: #fff !important;
  border: none;
  border-radius: 4px 4px 0 0;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  margin-bottom: 0;
  transition: background 0.15s;
  line-height: 1.8;
}
.sf-copy-btn:hover {
  background: #3A6259;
}
.sf-copy-btn.copied {
  background: #C9A96E;
}

/* コピーボックスの::beforeラベルを無効化（JSボタンに置き換えたため） */
.sf-copy-box::before {
  display: none !important;
}

/* コピーボックスの上角を角丸なしに（ボタンと接するため） */
.sf-copy-box {
  border-radius: 0 6px 6px 6px !important;
  margin-top: 0 !important;
}

/* 課題カード文字サイズ強制修正（specificity強化） */
div.sf-solutions-grid a.sf-sol-card p,
.sf-solutions-grid .sf-sol-card p {
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: #555 !important;
  margin: 0 !important;
}

div.sf-solutions-grid a.sf-sol-card h3,
.sf-solutions-grid .sf-sol-card h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  margin: 0.25rem 0 0.4rem !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  border-left: none !important;
  border-radius: 0 !important;
}

div.sf-solutions-grid a.sf-sol-card .sf-sol-link,
.sf-solutions-grid .sf-sol-card .sf-sol-link {
  font-size: 13px !important;
  color: #4A7C6F !important;
  font-weight: 700 !important;
  margin-top: 0.5rem !important;
  display: block !important;
}

/* ================================================
   記事内リストのデフォルトスタイルを回復
   ================================================ */

/* ulは丸記号 */
.entry-content ul li,
.singlePost__content ul li,
.page-content ul li {
  list-style: disc !important;
  list-style-position: outside !important;
}

/* olは数字 */
.entry-content ol li,
.singlePost__content ol li,
.page-content ol li {
  list-style: decimal !important;
  list-style-position: outside !important;
}

/* padding-leftでインデントを確保（記号が隠れないように） */
.entry-content ul,
.entry-content ol,
.singlePost__content ul,
.singlePost__content ol,
.page-content ul,
.page-content ol {
  padding-left: 2em !important;
  margin-bottom: 1.5em !important;
}

.entry-content ul li,
.entry-content ol li,
.singlePost__content ul li,
.singlePost__content ol li {
  padding-left: 0.25em !important;
  margin-bottom: 0.5em !important;
}

/* ================================================
   記事末尾CTA ブロック
   ================================================ */
.sf-article-cta {
  margin: 3rem 0 1rem;
  padding: 1.75rem 2rem;
  background: #EAF4F1;
  border-radius: 10px;
  border-left: 4px solid #4A7C6F;
}
.sf-cta-reservation { border-left-color: #4A7C6F; }
.sf-cta-line        { border-left-color: #06C755; background: #F0FBF4; }
.sf-cta-crm         { border-left-color: #C9A96E; background: #FBF8F2; }

.sf-article-cta .sf-cta-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #4A7C6F !important;
  text-transform: uppercase !important;
  margin: 0 0 0.5rem !important;
}
.sf-article-cta .sf-cta-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  line-height: 1.5 !important;
  margin: 0 0 0.75rem !important;
}
.sf-article-cta .sf-cta-desc {
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.75 !important;
  margin: 0 0 1.25rem !important;
}
.sf-article-cta .sf-cta-btn {
  display: inline-block !important;
  padding: 0.75em 1.75em !important;
  background: #4A7C6F !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}
.sf-article-cta .sf-cta-btn:hover {
  background: #3A6259 !important;
  color: #fff !important;
  text-decoration: none !important;
}
.sf-cta-line .sf-cta-btn  { background: #06C755 !important; }
.sf-cta-line .sf-cta-btn:hover { background: #05A847 !important; }
.sf-cta-crm .sf-cta-btn   { background: #C9A96E !important; }
.sf-cta-crm .sf-cta-btn:hover { background: #B8935A !important; }
.sf-cta-line .sf-cta-label { color: #06C755 !important; }
.sf-cta-crm  .sf-cta-label { color: #C9A96E !important; }

@media (max-width: 600px) {
  .sf-article-cta {
    padding: 1.25rem 1.25rem;
  }
  .sf-article-cta .sf-cta-title {
    font-size: 16px !important;
  }
  .sf-article-cta .sf-cta-btn {
    display: block !important;
    text-align: center !important;
  }
}

/* ================================================
   テンプレート一覧ページ
   ================================================ */
.sf-template-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sf-tmpl-hero {
  padding: 2rem 0 2.5rem;
  border-bottom: 2px solid #4A7C6F;
  margin-bottom: 3rem;
}
.sf-tmpl-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #4A7C6F;
  margin-bottom: 0.75rem;
}
.sf-tmpl-title {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  font-family: 'Noto Serif JP', serif;
  color: #1C1C1C;
  margin-bottom: 0.75rem;
}
.sf-tmpl-lead {
  font-size: 17px;
  color: #444;
  line-height: 1.85;
}

.sf-tmpl-section {
  margin-bottom: 3.5rem;
}
.sf-tmpl-section > h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  border-left: 4px solid #4A7C6F !important;
  padding: 0.5em 0.75em !important;
  background: #EAF4F1 !important;
  border-radius: 0 6px 6px 0 !important;
  margin-bottom: 1.75rem !important;
  color: #1C1C1C !important;
}

.sf-tmpl-card {
  background: #fff;
  border: 1px solid #E0EBE8;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sf-tmpl-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.sf-tmpl-card-head h3 {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.sf-tmpl-tag {
  display: inline-block;
  padding: 0.2em 0.7em;
  background: #4A7C6F;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.sf-tag-crm    { background: #C9A96E; }
.sf-tag-policy { background: #7A8FA6; }

.sf-tmpl-desc {
  font-size: 14px !important;
  color: #555 !important;
  line-height: 1.75 !important;
  margin-bottom: 1rem !important;
}
.sf-tmpl-note {
  font-size: 13px !important;
  color: #666 !important;
  margin-top: 0.75rem !important;
}

.sf-tmpl-footer-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E0EBE8;
}
.sf-tmpl-footer-links > h2 {
  font-size: 18px !important;
  font-weight: 700 !important;
  margin-bottom: 1.25rem !important;
  color: #1C1C1C !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
}

/* ================================================
   比較ページ ツール別カード
   ================================================ */
.sf-tool-cards {
  margin: 3rem 0;
}
.sf-tool-cards > h2 {
  font-size: 22px !important;
  font-weight: 700 !important;
  border-left: 4px solid #4A7C6F !important;
  padding: 0.55em 0.8em !important;
  background: #EAF4F1 !important;
  border-radius: 0 6px 6px 0 !important;
  margin-bottom: 2rem !important;
  color: #1C1C1C !important;
}

.sf-tool-card {
  border: 1px solid #E0EBE8;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
  background: #fff;
}
.sf-tool-stores {
  border-color: #4A7C6F;
  border-width: 2px;
}

.sf-tool-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}
.sf-tool-card-head h3 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #1C1C1C !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.sf-tool-badge {
  display: inline-block;
  padding: 0.2em 0.7em;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.sf-badge-recommend {
  background: #C9A96E;
  color: #fff;
}

.sf-tool-fit {
  font-size: 14px !important;
  color: #333 !important;
  line-height: 1.7 !important;
  margin-bottom: 0.875rem !important;
  padding: 0.75rem 1rem;
  background: #FAF8F5;
  border-radius: 6px;
}

.sf-tool-points {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.25rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sf-tool-points li {
  font-size: 14px !important;
  color: #333 !important;
  padding-left: 1.25em !important;
  position: relative;
  margin: 0 !important;
  line-height: 1.65 !important;
}
.sf-tool-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4A7C6F;
  font-weight: 700;
}

.sf-tool-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sf-tool-btn {
  display: inline-block !important;
  padding: 0.6em 1.25em !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: opacity 0.15s !important;
}
.sf-tool-btn:hover {
  opacity: 0.85 !important;
  text-decoration: none !important;
}
.sf-btn-guide {
  background: #EAF4F1 !important;
  color: #3A6259 !important;
  border: 1px solid #B8D5CE !important;
}
.sf-btn-official {
  background: #4A7C6F !important;
  color: #fff !important;
}

@media (max-width: 600px) {
  .sf-tool-card {
    padding: 1.25rem;
  }
  .sf-tool-btns {
    flex-direction: column;
  }
  .sf-tool-btn {
    text-align: center !important;
  }
}

/* ============================================================
   .sf-intro-box：記事冒頭「対象読者・3行要約」ブロック
   ============================================================ */
.sf-intro-box {
  background: #EAF4F1;
  border-left: 4px solid #4A7C6F;
  border-radius: 6px;
  padding: 20px 24px;
  margin: 0 0 2em 0;
  font-size: 0.95em;
  line-height: 1.8;
}
.sf-intro-box__label {
  display: inline-block;
  background: #4A7C6F;
  color: #fff;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.sf-intro-box__target {
  margin: 0 0 14px 0;
  color: #1C1C1C;
}
.sf-intro-box__target strong {
  color: #4A7C6F;
}
.sf-intro-box__summary {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sf-intro-box__summary li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 4px;
  color: #1C1C1C;
}
.sf-intro-box__summary li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4A7C6F;
  font-weight: 700;
}

/* ============================================================
   .sf-faq：記事末尾FAQブロック
   ============================================================ */
.sf-faq {
  margin: 2.5em 0 0;
  border-top: 2px solid #EAF4F1;
  padding-top: 1.5em;
}
.sf-faq__title {
  font-size: 1.15em;
  font-weight: 700;
  color: #4A7C6F;
  margin: 0 0 1.2em;
  padding: 0;
  background: none;
  border: none;
}
.sf-faq__item {
  margin-bottom: 1.4em;
  border: 1px solid #EAF4F1;
  border-radius: 6px;
  overflow: hidden;
}
.sf-faq__q {
  background: #EAF4F1;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.95em;
  color: #1C1C1C;
  margin: 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sf-faq__q::before {
  content: "Q";
  background: #4A7C6F;
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sf-faq__a {
  padding: 12px 16px;
  font-size: 0.93em;
  line-height: 1.8;
  color: #1C1C1C;
  margin: 0;
  background: #fff;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.sf-faq__a::before {
  content: "A";
  background: #C9A96E;
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 3px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================
   比較・導入ページ: 固定ページ標準レイアウトに寄せる
   （アイキャッチ先頭、見出しは本文側）
   ================================================ */
.page-id-13 .l-main > .dividerBottom > .heading.heading-primary {
  display: none !important;
}

.page-id-13 .l-main > .dividerBottom > .eyecatch-main {
  margin-top: 0 !important;
}

/* compareページ: アイキャッチのホバーズームを無効化 */
.page-id-13 .eyecatch .eyecatch__link img,
.page-id-13 .eyecatch .eyecatch__link:hover img {
  transform: none !important;
  transition: none !important;
}

/* compareページ: アイキャッチを通常画像表示にしてサイズ感を統一 */
.page-id-13 .eyecatch-main::before {
  content: none !important;
  display: none !important;
}

.page-id-13 .eyecatch-main {
  margin: 0 0 40px !important;
  height: auto !important;
}

.page-id-13 .eyecatch-main .eyecatch__link {
  position: static !important;
  display: block !important;
}

.page-id-13 .eyecatch-main .eyecatch__link img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

/* /template/ 固定ページ: アイキャッチを非表示 */
.page-id-14 .eyecatch-main {
  display: none !important;
}

/* privacy-policy / legal 固定ページ: アイキャッチを非表示 */
.page-id-3 .eyecatch-main,
.page-id-19 .eyecatch-main {
  display: none !important;
}

/* ================================================
   aboutページ: 見出し・本文の行間/段落間隔を標準化
   ================================================ */
.sf-about-page {
  max-width: 860px;
}

.sf-about-page section {
  margin-bottom: 2.25rem;
}

.sf-about-page h1,
.sf-about-page h2 {
  line-height: 1.45 !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

.sf-about-page p {
  font-size: 17px !important;
  line-height: 2 !important;
  margin-bottom: 1.1em !important;
}

.sf-about-page .sf-about-lead {
  font-size: 19px !important;
  line-height: 1.9 !important;
}

.sf-about-page ul {
  margin: 0 0 1.2em !important;
  padding-left: 1.3em !important;
}

.sf-about-page li {
  font-size: 17px !important;
  line-height: 1.95 !important;
  margin-bottom: 0.85em !important;
}

@media (max-width: 768px) {
  .sf-about-page p,
  .sf-about-page li {
    font-size: 16px !important;
    line-height: 1.9 !important;
  }

  .sf-about-page .sf-about-lead {
    font-size: 17px !important;
    line-height: 1.85 !important;
  }
}

/* ================================================
   aboutページ: タイトル・見出し装飾の強化
   ================================================ */
.sf-about-page .sf-about-hero h1 {
  position: relative;
  display: inline-block;
  font-family: var(--sf-serif);
  font-size: clamp(30px, 4vw, 42px) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.35 !important;
  margin: 0 0 1.2rem !important;
  padding: 0.18em 0.45em 0.26em !important;
  background: linear-gradient(90deg, rgba(74,124,111,0.12) 0%, rgba(74,124,111,0.04) 100%);
  border-left: 6px solid #4A7C6F;
  border-radius: 0 8px 8px 0;
}

.sf-about-page .sf-about-story h2,
.sf-about-page .sf-about-policy h2,
.sf-about-page .sf-about-contact h2 {
  position: relative;
  font-family: var(--sf-serif);
  font-size: clamp(24px, 3.2vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  margin: 2rem 0 1rem !important;
  padding-bottom: 0.38em !important;
  border-bottom: 2px solid rgba(74,124,111,0.25);
}

.sf-about-page .sf-about-story h2::after,
.sf-about-page .sf-about-policy h2::after,
.sf-about-page .sf-about-contact h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 92px;
  height: 2px;
  background: #4A7C6F;
}

.sf-about-page p br {
  line-height: 1.9;
}

/* aboutページ: 見出しサイズ微調整（大きすぎるため） */
.sf-about-page .sf-about-hero h1 {
  font-size: clamp(24px, 3vw, 34px) !important;
  line-height: 1.4 !important;
}

.sf-about-page .sf-about-story h2,
.sf-about-page .sf-about-policy h2,
.sf-about-page .sf-about-contact h2 {
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.45 !important;
}
