/* =============================================================================
   グローバルヘッダー（接頭辞: smalabo-head）
   ============================================================================= */

.smalabo-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--smalabo-brand, #ff3d00);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.smalabo-skip:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.smalabo-head {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(35, 24, 21, 0.1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  /* rem は html 基準でトップ(16px)と他ページ(62.5%等)でズレるため、ヘッダー内は em（この 16px 基準）に統一 */
  font-size: 16px;
}

/* 親テーマの * { box-sizing: content-box } 等で inner の幅・パディングがズレると nav が横にはみ出してロゴと重なる */
.smalabo-head *,
.smalabo-head *::before,
.smalabo-head *::after {
  box-sizing: border-box;
}

/*
 * モックでは .smalabo-head__inner の「見た目の箱」が 1256×57.78 になるのは、
 * max-width:1200px がコンテンツ幅に効き、左右 padding（約28px×2）がその外側に乗るため（1200+56≈1256）。
 * 子要素すべて border-box にしたことで inner も border-box になり、1200 が「padding込みの上限」になっていた。
 * 実効のナビ幅が約56px狭くなりロゴと重なるので、inner だけ content-box に戻す。
 */
.smalabo-head > .smalabo-head__inner {
  box-sizing: content-box;
}

.smalabo-head__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 1em;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.65em clamp(1.25em, 3vw, 1.75em);
}

.smalabo-head__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--smalabo-text, #231815);
  margin-right: auto;
}

.smalabo-head__logo:hover .smalabo-head__logo-img {
  opacity: 0.92;
}

.smalabo-head__logo-img {
  display: block;
  height: 2.5em;
  width: auto;
  max-width: min(240px, 52vw);
  object-fit: contain;
  object-position: left center;
  transition: opacity 0.2s ease;
}

.smalabo-head__check {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.smalabo-head__burger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.5em;
  margin: -0.5em -0.35em -0.5em 0;
  border-radius: 4px;
  color: var(--smalabo-text, #231815);
}

.smalabo-head__burger:hover {
  color: var(--smalabo-brand, #ff3d00);
}

.smalabo-head__burger-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  /* em は親の font-size:0 打ち消し漏れで潰れやすいので px 固定 */
  width: 22px;
  min-width: 22px;
  height: 16px;
}

.smalabo-head__line {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.smalabo-head__check:checked ~ .smalabo-head__burger .smalabo-head__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.smalabo-head__check:checked ~ .smalabo-head__burger .smalabo-head__line:nth-child(2) {
  opacity: 0;
}

.smalabo-head__check:checked ~ .smalabo-head__burger .smalabo-head__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.smalabo-head__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25em 1.5em;
  flex: 1;
  min-width: 0;
}

/* メニューなしヘッダー: グローバルリンク列なし（ロゴ＋CTA のみ） */
.smalabo-head--simple .smalabo-head__nav--simple {
  justify-content: flex-end;
  gap: 0.5em;
}

/* ロゴのみ */
.smalabo-head--minimal .smalabo-head__inner--minimal {
  justify-content: flex-start;
}

.smalabo-head--minimal .smalabo-head__logo {
  margin-right: 0;
}

@media (min-width: 1280px) {
  .smalabo-head--minimal > .smalabo-head__inner--minimal {
    grid-template-columns: minmax(0, 1fr);
  }
}

.smalabo-head__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 0.35em;
}

.smalabo-head__item {
  position: relative;
  display: flex;
  align-items: center;
}

/* 親ラベル（メガメニュー付きは下向き矢印） */
.smalabo-head__item--mega > .smalabo-head__root::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35em;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.45;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.smalabo-head__item--mega:hover > .smalabo-head__root::after,
.smalabo-head__item--mega:focus-within > .smalabo-head__root::after {
  transform: rotate(-180deg);
  opacity: 0.85;
}

.smalabo-head__root {
  display: inline-flex;
  align-items: center;
  font-size: 0.875em;
  font-weight: 600;
  color: var(--smalabo-text, #231815);
  text-decoration: none;
  padding: 0.5em 0.4em;
  border-radius: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.smalabo-head__root:hover,
.smalabo-head__item--mega:hover > .smalabo-head__root,
.smalabo-head__item--mega:focus-within > .smalabo-head__root {
  color: var(--smalabo-brand, #ff3d00);
  border-bottom-color: rgba(255, 61, 0, 0.35);
}

.smalabo-head__root:focus-visible {
  outline: 2px solid var(--smalabo-brand, #ff3d00);
  outline-offset: 2px;
}

/* メガメニューパネル（デスクトップ） */
.smalabo-head__panel {
  position: absolute;
  left: 0;
  top: calc(100% - 2px);
  z-index: 300;
  min-width: min(22em, calc(100vw - 2em));
  max-width: min(52em, calc(100vw - 1.5em));
  padding-top: 0.5em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35em);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
  pointer-events: none;
}

.smalabo-head__item--mega:hover .smalabo-head__panel,
.smalabo-head__item--mega:focus-within .smalabo-head__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.smalabo-head__panel-inner {
  padding: 1.25em 1.35em 1.35em;
  background: var(--smalabo-surface, #fff);
  border: 1px solid var(--smalabo-border, rgba(35, 24, 21, 0.12));
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(35, 24, 21, 0.12);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12em, 1fr));
  gap: 1.25em 1.75em;
}

.smalabo-head__panel-inner--grid {
  grid-template-columns: 1fr;
}

.smalabo-head__col-label {
  margin: 0 0 0.5em;
  font-size: 0.6875em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--smalabo-muted, #5c5450);
}

.smalabo-head__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.smalabo-head__sub li + li {
  margin-top: 0.35em;
}

.smalabo-head__sub a {
  display: block;
  font-size: 0.8125em;
  font-weight: 500;
  line-height: 1.45;
  color: var(--smalabo-text, #231815);
  text-decoration: none;
  padding: 0.2em 0;
  border-radius: 2px;
  transition: color 0.15s ease;
}

.smalabo-head__sub a:hover {
  color: var(--smalabo-brand, #ff3d00);
}

.smalabo-head__sub a:focus-visible {
  outline: 2px solid var(--smalabo-brand, #ff3d00);
  outline-offset: 2px;
}

.smalabo-head__sub--plain {
  display: grid;
  gap: 0.25em;
}

/* 1280px 未満は横並びナビをやめハンバーガー（ロゴと重なり防止） */
/* 1280px 以上共通：コンパクトな文字サイズ・メガパネル位置 */
@media (min-width: 1280px) {
  .smalabo-head__logo {
    flex-shrink: 0;
  }

  .smalabo-head__logo-img {
    height: 2.125em;
    max-width: min(200px, 34vw);
  }

  .smalabo-head__root {
    font-size: 0.8125em;
    padding: 0.45em 0.28em;
  }

  .smalabo-head__item--mega > .smalabo-head__root::after {
    margin-left: 0.22em;
    border-left-width: 3px;
    border-right-width: 3px;
    border-top-width: 4px;
  }

  .smalabo-head__cta {
    flex-shrink: 0;
    gap: 0.4em;
  }

  .smalabo-head__btn {
    min-height: 2.3em;
    padding: 0 0.8em;
    font-size: 0.8125em;
  }

  .smalabo-head__sub--plain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35em 1.25em;
  }

  .smalabo-head__item--mega:last-child .smalabo-head__panel {
    left: auto;
    right: 0;
  }

  .smalabo-head__list > .smalabo-head__item--mega:nth-last-child(2) .smalabo-head__panel {
    left: auto;
    right: 0;
  }

  /* 1280px 以上は常に 1 段：ロゴ左・ナビ＋CTA 右（狭い幅では右列内でナビが折り返す） */
  .smalabo-head__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(0.5em, 1.5vw, 1.75em);
    row-gap: 0.5em;
    flex-wrap: unset;
  }

  .smalabo-head__logo {
    margin-right: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .smalabo-head__nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35em 0.6em;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    flex: unset;
  }

  .smalabo-head__list {
    flex-wrap: wrap;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: flex-end;
    gap: 0 0.05em;
  }

  .smalabo-head__cta {
    flex-wrap: wrap;
  }
}

.smalabo-head__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
}

.smalabo-head__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5em;
  padding: 0 1.125em;
  font-size: 0.875em;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.smalabo-head__btn--ghost {
  color: var(--smalabo-brand, #ff3d00);
  background: transparent;
  border: 1px solid var(--smalabo-brand, #ff3d00);
}

.smalabo-head__btn--ghost:hover {
  background: rgba(255, 61, 0, 0.07);
}

.smalabo-head__btn--solid {
  color: #fff;
  background: var(--smalabo-brand, #ff3d00);
  border: 1px solid var(--smalabo-brand, #ff3d00);
}

.smalabo-head__btn--solid:hover {
  background: var(--smalabo-brand-hover, #e63500);
  border-color: var(--smalabo-brand-hover, #e63500);
  color: #fff;
}

@media (max-width: 1279px) {
  /*
   * inner はデスクトップ用に content-box のままだと
   * width:100% + 横 padding で「中身100%＋余白」となり親より広がり、
   * 右端のハンバーガーが overflow で見切れる。狭い幅では border-box に戻す。
   */
  .smalabo-head > .smalabo-head__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  /* ロゴが横に伸びてバーガーを押し出さないよう、右にアイコン分を確保 */
  .smalabo-head__logo {
    min-width: 0;
    max-width: calc(100% - 3.25rem);
  }

  .smalabo-head__logo-img {
    height: 2.125em;
    max-width: min(200px, 46vw);
  }

  /* 親テーマの label{display:none} 等より後でも効かせるため高めの詳細度 */
  .smalabo-head label.smalabo-head__burger {
    display: inline-flex !important;
    flex: 0 0 auto;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--smalabo-text, #231815) !important;
  }

  .smalabo-head__burger {
    display: inline-flex;
    /* 負の右マージンでさらに右へはみ出しやすいのでモバイルでは打ち消し */
    margin: -0.5em 0 -0.5em 0;
  }

  .smalabo-head__nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex: 1 0 100%;
    gap: 0;
    padding-top: 0.75em;
    margin-top: 0.35em;
    border-top: 1px solid rgba(35, 24, 21, 0.1);
  }

  .smalabo-head__check:checked ~ .smalabo-head__nav {
    display: flex;
  }

  .smalabo-head__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .smalabo-head__item {
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(35, 24, 21, 0.06);
  }

  .smalabo-head__item--mega > .smalabo-head__root::after {
    margin-left: auto;
    border-top-color: var(--smalabo-muted, #5c5450);
  }

  .smalabo-head__root {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0.75em 0;
    white-space: normal;
    border-bottom: none;
    border-radius: 0;
  }

  .smalabo-head__root:hover,
  .smalabo-head__item--mega:hover > .smalabo-head__root {
    border-bottom-color: transparent;
  }

  /* モバイルではパネルを常に開いた下層として表示 */
  .smalabo-head__panel {
    position: static;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 0 0 0.85em 0.65em;
    margin: -0.25em 0 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    border-left: 3px solid rgba(255, 61, 0, 0.25);
  }

  .smalabo-head__panel-inner {
    padding: 0.65em 0 0.35em;
    background: rgba(250, 248, 246, 0.65);
    border: none;
    border-radius: 6px;
    box-shadow: none;
    gap: 1em;
  }

  .smalabo-head__sub--plain {
    grid-template-columns: 1fr;
  }

  .smalabo-head__cta {
    flex-direction: column;
    align-items: stretch;
    padding: 1em 0 0.25em;
    gap: 0.5em;
  }

  .smalabo-head__btn {
    width: 100%;
  }
}

/* =============================================================================
   スマラボ ファーストビュー（FV）専用スタイル
   接頭辞: smalabo-fv （テーマとの衝突を避ける）
   ============================================================================= */

.smalabo-fv {
  box-sizing: border-box;
  --smalabo-fv-brand: #ff3d00;
  --smalabo-fv-brand-hover: #e63500;
  --smalabo-fv-accent: #ff6e40;
  --smalabo-fv-text: #231815;
  --smalabo-fv-muted: #5c5450;
  --smalabo-fv-bg: #faf8f6;
  --smalabo-fv-surface: #ffffff;
  --smalabo-fv-border: rgba(35, 24, 21, 0.12);
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  line-height: 1.58;
}

.smalabo-fv *,
.smalabo-fv *::before,
.smalabo-fv *::after {
  box-sizing: border-box;
}

/* ----- ヒーローFV（全幅背景＋オーバーレイ） ----- */
.smalabo-fv--hero {
  position: relative;
  isolation: isolate;
  min-height: min(72vh, 690px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #1c2024;
}

@media (max-width: 1200px) {
  .smalabo-fv--hero {
    min-height: min(66vh, 640px);
  }
}

@media (max-width: 900px) {
  .smalabo-fv--hero {
    min-height: min(60vh, 540px);
  }
}

@media (max-width: 600px) {
  .smalabo-fv--hero {
    min-height: min(52vh, 460px);
  }
}

.smalabo-fv__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.smalabo-fv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 被写体（右側）を画面右に寄せ、左にコピー用の余白 */
  object-position: right center;
  display: block;
}

.smalabo-fv__bg-overlay {
  position: absolute;
  inset: 0;
  /* 左の文案域をやや暗くして白文字の視認性を確保 */
  background: linear-gradient(
    90deg,
    rgba(22, 26, 30, 0.78) 0%,
    rgba(22, 26, 30, 0.55) 48%,
    rgba(22, 26, 30, 0.22) 70%,
    rgba(22, 26, 30, 0.06) 100%
  );
  pointer-events: none;
}

.smalabo-fv__inner--hero {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2.85rem, 7.5vw, 4.75rem) clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.smalabo-fv__content--hero {
  max-width: min(60rem, 98vw);
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.35rem, 3vw, 2.125rem);
}

.smalabo-fv__eyebrow--hero {
  margin: 0;
  font-size: 1.40625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.55;
  color: #ffccbc;
}

.smalabo-fv__title--hero {
  margin: 0;
  font-family:
    "Yu Mincho",
    "YuMincho",
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    "MS PMincho",
    "MS Mincho",
    serif;
  font-size: clamp(2.625rem, 6.2vw, 3.95rem);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.03em;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35);
}

.smalabo-fv__lead--hero {
  margin: 0;
  font-size: clamp(1.1875rem, 1.95vw, 1.375rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}

.smalabo-fv__pills--hero {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  justify-content: flex-start;
}

.smalabo-fv__pill--hero {
  margin: 0;
  padding: 0.55rem 1.1rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

.smalabo-fv__ctas--hero {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  margin: 0;
  justify-content: flex-start;
}

.smalabo-fv__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.25rem;
  padding: 0 2.1rem;
  font-size: 1.4375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.smalabo-fv__btn--primary {
  color: #fff;
  background-color: var(--smalabo-fv-brand);
  border: 1px solid var(--smalabo-fv-brand);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.smalabo-fv__btn--primary:hover {
  background-color: var(--smalabo-fv-brand-hover);
  border-color: var(--smalabo-fv-brand-hover);
}

.smalabo-fv__btn--primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.smalabo-fv__btn--hero-secondary {
  color: var(--smalabo-fv-brand);
  background: #fff;
  border: 2px solid var(--smalabo-fv-brand);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.smalabo-fv__btn--hero-secondary:hover {
  color: var(--smalabo-fv-brand-hover);
  background: #fff;
  border-color: var(--smalabo-fv-brand-hover);
}

.smalabo-fv__btn--hero-secondary:focus-visible {
  outline: 2px solid var(--smalabo-fv-brand);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .smalabo-fv--hero {
    min-height: min(50vh, 440px);
  }

  .smalabo-fv__bg-img {
    object-position: 70% center;
  }

  .smalabo-fv__bg-overlay {
    background: linear-gradient(
      165deg,
      rgba(22, 26, 30, 0.82) 0%,
      rgba(22, 26, 30, 0.5) 45%,
      rgba(22, 26, 30, 0.35) 100%
    );
  }

  .smalabo-fv__inner--hero {
    justify-content: flex-start;
    padding-top: clamp(2.35rem, 9vw, 3.35rem);
    padding-bottom: clamp(1.9rem, 7.5vw, 3rem);
    padding-left: clamp(1.25rem, 4vw, 1.75rem);
    padding-right: clamp(1.25rem, 4vw, 1.75rem);
  }

  .smalabo-fv__content--hero {
    max-width: min(44rem, 96vw);
    text-align: left;
    gap: clamp(1.1rem, 3.5vw, 1.65rem);
  }

  .smalabo-fv__title--hero {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
    line-height: 1.4;
  }

  .smalabo-fv__lead--hero {
    font-size: clamp(1rem, 3.2vw, 1.1875rem);
    line-height: 1.72;
  }

  .smalabo-fv__eyebrow--hero {
    font-size: 1.0625rem;
  }

  .smalabo-fv__pill--hero {
    font-size: 0.9375rem;
    padding: 0.5rem 0.85rem;
    line-height: 1.5;
  }

  .smalabo-fv__btn {
    min-height: 3.45rem;
    padding: 0 1.35rem;
    font-size: 1rem;
    border-radius: 5px;
  }

  .smalabo-fv__pills--hero {
    justify-content: flex-start;
    gap: 0.55rem 0.65rem;
  }

  .smalabo-fv__ctas--hero {
    justify-content: flex-start;
    gap: 0.7rem 0.85rem;
  }

  .smalabo-fv__title-br,
  .smalabo-fv__lead-br {
    display: none;
  }
}

@media (min-width: 768px) {
  .smalabo-fv__title-br {
    display: inline;
  }
}

/* =============================================================================
   トップページ FV 以降（接頭辞: smalabo-sec / smalabo-foot）
   ============================================================================= */

/* テーマ等で html が 12px でも、モック単体表示時は rem の基準を読みやすく */
html:has(body.smalabo-mock) {
  font-size: 16px;
}

.smalabo-mock {
  margin: 0;
  --smalabo-brand: #ff3d00;
  --smalabo-brand-hover: #e63500;
  --smalabo-accent: #ff6e40;
  --smalabo-text: #231815;
  --smalabo-muted: #5c5450;
  --smalabo-bg: #faf8f6;
  --smalabo-surface: #ffffff;
  --smalabo-border: rgba(35, 24, 21, 0.12);
  font-family:
    "Helvetica Neue",
    Arial,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    YuGothic,
    Meiryo,
    sans-serif;
  color: var(--smalabo-text);
  line-height: 1.65;
  background: var(--smalabo-surface);
}

.smalabo-main {
  display: block;
}

.smalabo-sec {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.smalabo-sec--surface {
  background: var(--smalabo-surface);
}

.smalabo-sec--muted {
  background: var(--smalabo-bg);
}

.smalabo-sec--contact {
  background: var(--smalabo-surface);
  border-top: 1px solid var(--smalabo-border);
  border-bottom: 1px solid var(--smalabo-border);
}

.smalabo-sec__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1.25rem, 3vw, 1.75rem);
  padding-right: clamp(1.25rem, 3vw, 1.75rem);
}

.smalabo-sec__inner--narrow {
  max-width: 720px;
}

.smalabo-sec__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.smalabo-sec__h2 {
  margin: 0 0 2.25rem;
  font-size: clamp(1.875rem, 4.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: var(--smalabo-text);
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--smalabo-brand);
}

.smalabo-sec__h2--center {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

.smalabo-sec__h2-num {
  display: inline-block;
  margin-right: 0.35em;
  font-weight: 700;
  color: var(--smalabo-brand);
}

.smalabo-sec__h3 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: var(--smalabo-text);
}

.smalabo-sec__h4 {
  margin: 1.35rem 0 0.55rem;
  font-size: clamp(1.1875rem, 2.1vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--smalabo-text);
}

.smalabo-sec__h4:first-child {
  margin-top: 0;
}

.smalabo-sec__h5 {
  margin: 0 0 0.45rem;
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--smalabo-text);
}

.smalabo-sec__p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--smalabo-muted);
}

.smalabo-sec__p:last-child {
  margin-bottom: 0;
}

.smalabo-sec__p--small {
  font-size: 0.875rem;
  line-height: 1.72;
}

.smalabo-sec__p--note {
  font-size: 0.875rem;
}

.smalabo-sec__p--center {
  text-align: center;
}

.smalabo-sec__p a,
.smalabo-sec__closing a {
  color: var(--smalabo-brand);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.smalabo-sec__p a:hover,
.smalabo-sec__closing a:hover {
  color: var(--smalabo-brand-hover);
}

.smalabo-sec__block--spaced {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--smalabo-border);
}

.smalabo-sec__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.smalabo-sec__list--check li {
  position: relative;
  padding-left: 1.35em;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--smalabo-text);
}

.smalabo-sec__list--check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--smalabo-brand);
  opacity: 0.85;
}

.smalabo-sec__list--dot li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--smalabo-muted);
}

.smalabo-sec__list--dot li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--smalabo-brand);
  font-weight: 700;
}

.smalabo-sec__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 1rem;
}

.smalabo-sec__mini {
  margin: 0;
  padding: 1.125rem 1.25rem;
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-border);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.smalabo-sec--muted .smalabo-sec__mini {
  background: var(--smalabo-surface);
}

.smalabo-sec__subblocks {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.125rem;
}

.smalabo-sec__subblocks > li {
  margin: 0;
  padding: 1rem 1.125rem;
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-border);
  border-radius: 6px;
}

/* px 指定：埋め込み時も html の font-size に引きずられない */
.smalabo-sec__subblocks > li > .smalabo-sec__p {
  font-size: 16px;
  line-height: 1.75;
}

.smalabo-sec__subhead {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--smalabo-text);
}

.smalabo-sec__cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--smalabo-border);
}

.smalabo-sec__cta-bar--center {
  justify-content: center;
  border-top: none;
  padding-top: 0.5rem;
  margin-top: 1.25rem;
}

.smalabo-sec__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0 1.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.smalabo-sec__btn--primary {
  color: #fff;
  background: var(--smalabo-brand);
  border: 1px solid var(--smalabo-brand);
}

.smalabo-sec__btn--primary:hover {
  background: var(--smalabo-brand-hover);
  border-color: var(--smalabo-brand-hover);
  color: #fff;
}

.smalabo-sec__btn--ghost {
  color: var(--smalabo-brand);
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-brand);
}

.smalabo-sec__btn--ghost:hover {
  background: rgba(255, 61, 0, 0.07);
}

.smalabo-sec__btn--secondary {
  color: var(--smalabo-brand);
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-brand);
}

.smalabo-sec__btn--secondary:hover {
  background: rgba(255, 61, 0, 0.07);
}

.smalabo-sec__table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--smalabo-border);
  border-radius: 6px;
  background: var(--smalabo-surface);
}

.smalabo-sec__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.smalabo-sec__table th,
.smalabo-sec__table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--smalabo-border);
}

.smalabo-sec__table th {
  background: rgba(255, 61, 0, 0.06);
  font-weight: 700;
  color: var(--smalabo-text);
}

.smalabo-sec__table tbody tr:last-child th,
.smalabo-sec__table tbody tr:last-child td {
  border-bottom: none;
}

.smalabo-sec__table-placeholder {
  color: var(--smalabo-muted);
  font-style: italic;
}

/* ----- お客様の声（見出し＋リード・タブ・カード） ----- */
.smalabo-sec__voices-head {
  margin-bottom: 1.75rem;
}

.smalabo-sec__voices-h2 {
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--smalabo-brand);
}

.smalabo-sec__voices-lead {
  margin: 0;
  max-width: 48em;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--smalabo-muted);
  text-align: left;
}

.smalabo-sec__voices-widget {
  position: relative;
}

.smalabo-sec__voices-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 2.25rem;
  margin-bottom: 1.35rem;
}

.smalabo-sec__voices-tab {
  cursor: pointer;
  padding: 0.6rem 0.15rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--smalabo-muted);
  border: none;
  border-bottom: 3px solid transparent;
  background: none;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.smalabo-sec__voices-tab:hover {
  color: var(--smalabo-text);
}

#smalabo-voice-tab-1:checked ~ .smalabo-sec__voices-tabs label:nth-child(1),
#smalabo-voice-tab-2:checked ~ .smalabo-sec__voices-tabs label:nth-child(2),
#smalabo-voice-tab-3:checked ~ .smalabo-sec__voices-tabs label:nth-child(3) {
  color: var(--smalabo-text);
  border-bottom-color: var(--smalabo-brand);
}

.smalabo-sec__voices-panels {
  position: relative;
}

.smalabo-sec__voices-panel {
  display: none;
  margin: 0;
  grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  gap: 0;
  align-items: stretch;
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(35, 24, 21, 0.06);
}

#smalabo-voice-tab-1:checked ~ .smalabo-sec__voices-panels > .smalabo-sec__voices-panel:nth-child(1),
#smalabo-voice-tab-2:checked ~ .smalabo-sec__voices-panels > .smalabo-sec__voices-panel:nth-child(2),
#smalabo-voice-tab-3:checked ~ .smalabo-sec__voices-panels > .smalabo-sec__voices-panel:nth-child(3) {
  display: grid;
}

.smalabo-sec__voices-media {
  margin: 0;
  min-height: 240px;
  background: var(--smalabo-bg);
}

.smalabo-sec__voices-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 427px;
  aspect-ratio: 640 / 427;
  object-fit: cover;
  object-position: center;
}

.smalabo-sec__voices-copy {
  padding: clamp(1.35rem, 3.5vw, 2.35rem) clamp(1.25rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.smalabo-sec__voices-heading {
  margin: 0;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--smalabo-text);
}

.smalabo-sec__voices-quote {
  margin: 0;
  padding: 0;
  border: none;
}

.smalabo-sec__voices-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--smalabo-muted);
}

.smalabo-sec__voices-attrib {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--smalabo-text);
}

/* 事例③に旧「全文を読む」リンクが残っていても出さない */
.smalabo-sec__voices-panels > .smalabo-sec__voices-panel:nth-child(3) .smalabo-sec__voices-copy > a {
  display: none !important;
}

@media (max-width: 767px) {
  .smalabo-sec__voices-panel {
    grid-template-columns: 1fr;
  }

  .smalabo-sec__voices-photo {
    min-height: 220px;
    max-height: 360px;
    border-radius: 0;
  }
}

.smalabo-sec__link-row {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.smalabo-sec__link-row a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--smalabo-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.smalabo-sec__link-row a:hover {
  border-bottom-color: var(--smalabo-brand);
  color: var(--smalabo-brand-hover);
}

.smalabo-sec__closing {
  margin: 2rem 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--smalabo-border);
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--smalabo-muted);
}

/* ----- フッター CTA ----- */
/* 下層ページは body.smalabo-mock が無く --smalabo-text が未定義のため、必ずフォールバックを付ける（無効だと背景透明＋白文字で消える） */
.smalabo-foot {
  /* rem は html 基準のためトップ(16px)と下層(62.5%等)で余白・文字がズレる → 16px + em で統一 */
  font-size: 16px;
  --smalabo-brand: #ff3d00;
  --smalabo-brand-hover: #e63500;
  background: var(--smalabo-text, #231815);
  color: rgba(255, 255, 255, 0.88);
  padding: clamp(2.5em, 5vw, 3.5em) 0;
}

.smalabo-foot__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1.25em, 3vw, 1.75em);
  padding-right: clamp(1.25em, 3vw, 1.75em);
}

.smalabo-foot__heading {
  margin: 0 0 2em;
  font-size: clamp(1.625em, 3.5vw, 2.125em);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  color: #fff;
}

.smalabo-foot__cols {
  display: grid;
  gap: 2em;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .smalabo-foot__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5em 2em;
  }
}

.smalabo-foot__sub {
  margin: 0 0 0.5em;
  font-size: 1.0625em;
  font-weight: 700;
  color: #fff;
}

.smalabo-foot__text {
  margin: 0 0 0.75em;
  font-size: 0.875em;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.78);
}

.smalabo-foot__tel {
  margin: 0;
  font-size: 1.25em;
  font-weight: 700;
}

.smalabo-foot__tel a {
  color: #fff;
  text-decoration: none;
}

.smalabo-foot__tel a:hover {
  text-decoration: underline;
}

.smalabo-foot__hours {
  margin: 0.25em 0 0;
  font-size: 0.8125em;
  color: rgba(255, 255, 255, 0.65);
}

.smalabo-foot__link {
  display: inline-block;
  font-size: 0.9375em;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.smalabo-foot__link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.smalabo-foot__banner {
  margin-top: 2.5em;
  padding-top: 2em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.smalabo-foot__banner-text {
  margin: 0 0 0.75em;
  font-size: 0.9375em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* フッター内ボタンは html の rem 基準に依存させない */
.smalabo-foot .smalabo-sec__btn {
  min-height: 2.875em;
  padding: 0 1.5em;
  font-size: 1.0625em;
}

.smalabo-foot .smalabo-sec__btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.smalabo-foot .smalabo-sec__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ----- フッター下・ページナビ（白背景・区切り線） ----- */
.smalabo-foot-nav {
  font-size: 16px;
  background: var(--smalabo-surface, #fff);
  color: var(--smalabo-text, #231815);
  padding: clamp(1.5em, 3vw, 2.25em) 0;
  border-top: 1px solid var(--smalabo-border, rgba(35, 24, 21, 0.12));
}

.smalabo-foot-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: clamp(1.25em, 3vw, 1.75em);
  padding-right: clamp(1.25em, 3vw, 1.75em);
}

.smalabo-foot-nav__row {
  list-style: none;
  margin: 0 0 0.75em;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35em 0;
  font-size: 0.8125em;
  line-height: 1.65;
}

.smalabo-foot-nav__row:last-child {
  margin-bottom: 0;
}

.smalabo-foot-nav__row li {
  display: inline-flex;
  align-items: center;
}

.smalabo-foot-nav__row li:not(:last-child)::after {
  content: "|";
  margin: 0 0.65em;
  color: rgba(35, 24, 21, 0.32);
  font-weight: 400;
  pointer-events: none;
}

.smalabo-foot-nav__row a {
  color: var(--smalabo-text, #231815);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.smalabo-foot-nav__row a:hover {
  color: var(--smalabo-brand, #ff3d00);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.smalabo-foot-nav__row a:focus-visible {
  outline: 2px solid var(--smalabo-brand, #ff3d00);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .smalabo-sec__cards {
    grid-template-columns: 1fr;
  }

  .smalabo-sec__subblocks {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   アイコン・イラスト・追加ビジュアル（スプライト #smalabo-i-*）
   ============================================================================= */

.smalabo-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.smalabo-ico {
  display: block;
  color: var(--smalabo-brand);
}

.smalabo-ico--quote {
  color: var(--smalabo-brand);
  opacity: 0.35;
}

.smalabo-ico--on-dark {
  color: rgba(255, 255, 255, 0.88);
}

.smalabo-ico-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 8px;
  background: rgba(255, 61, 0, 0.1);
}

.smalabo-ico-wrap--lg {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
}

.smalabo-ico-wrap--sm {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 6px;
}

.smalabo-ico-wrap--xs {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 5px;
}

/* ----- イントロ帯 / 実績バー（非カード・横並び） ----- */
.smalabo-sec--intro {
  position: relative;
  background: var(--smalabo-surface);
  overflow: hidden;
}

.smalabo-sec--statsbar.smalabo-sec {
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
  border-bottom: 1px solid rgba(255, 61, 0, 0.28);
  background: linear-gradient(
    165deg,
    #0c1524 0%,
    #152a3d 38%,
    #243d52 72%,
    #2f4858 100%
  );
  color: #fff;
}

.smalabo-sec__intro-deco {
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255, 61, 0, 0.06) 0%, transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(255, 61, 0, 0.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(250, 248, 246, 0.95) 0%, var(--smalabo-surface) 100%);
  pointer-events: none;
}

.smalabo-sec__intro-deco--stats {
  opacity: 0.35;
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 40%,
    transparent 60%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

.smalabo-sec--statsbar .smalabo-sec__intro-deco--stats {
  display: none;
}

.smalabo-sec--intro .smalabo-sec__inner {
  position: relative;
  z-index: 1;
}

.smalabo-sec__stats {
  list-style: none;
  margin: 0;
  padding: clamp(2rem, 4.5vw, 2.75rem) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: start;
}

.smalabo-sec__stat {
  margin: 0;
  padding: 0 clamp(1rem, 2.5vw, 2rem);
  text-align: center;
}

.smalabo-sec__stat:not(:first-child) {
  border-left: 1px solid rgba(35, 24, 21, 0.1);
}

.smalabo-sec__stat-value {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--smalabo-text);
  letter-spacing: -0.02em;
}

.smalabo-sec__stat-value--text {
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  letter-spacing: 0.02em;
}

.smalabo-sec__stat-suffix {
  font-size: 0.5em;
  font-weight: 700;
  margin-left: 0.06em;
  letter-spacing: 0;
}

.smalabo-sec__stat-desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--smalabo-muted);
}

.smalabo-sec--statsbar .smalabo-sec__stats {
  padding-top: clamp(1.85rem, 4vw, 2.85rem);
  padding-bottom: clamp(1.85rem, 4vw, 2.85rem);
}

.smalabo-sec--statsbar .smalabo-sec__stat-value {
  margin-bottom: 0.5rem;
  font-size: clamp(2.35rem, 5.2vw, 3.35rem);
  color: #fff;
}

.smalabo-sec--statsbar .smalabo-sec__stat-value--text {
  font-size: clamp(1.95rem, 4.3vw, 2.75rem);
}

.smalabo-sec--statsbar .smalabo-sec__stat-desc {
  font-size: clamp(0.9375rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
}

.smalabo-sec--statsbar .smalabo-sec__stat:not(:first-child) {
  border-left-color: rgba(255, 255, 255, 0.16);
}

@media (max-width: 767px) {
  .smalabo-sec__stats {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .smalabo-sec__stat {
    padding: 1.35rem 1rem;
    border-left: none !important;
    border-bottom: 1px solid rgba(35, 24, 21, 0.08);
  }

  .smalabo-sec__stat:last-child {
    border-bottom: none;
  }

  .smalabo-sec--statsbar .smalabo-sec__stat {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .smalabo-sec--statsbar .smalabo-sec__stat:last-child {
    border-bottom: none;
  }

  .smalabo-sec--statsbar .smalabo-sec__stats {
    padding: clamp(1.35rem, 4.5vw, 2.25rem) 0;
  }
}

/* ----- セクション1 分割＋特徴リスト ----- */
.smalabo-sec__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.smalabo-sec__split-fig {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 36px rgba(35, 24, 21, 0.1),
    0 0 0 1px var(--smalabo-border);
}

.smalabo-sec__split-img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.smalabo-sec__split-body {
  min-width: 0;
}

.smalabo-sec__feat-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

.smalabo-sec__feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--smalabo-text);
}

.smalabo-sec__feat-list li:last-child {
  margin-bottom: 0;
}

.smalabo-sec__mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  background: rgba(255, 61, 0, 0.1);
}

.smalabo-sec__mini .smalabo-sec__h5 {
  margin-top: 0;
}

/* ----- 開発実績 レイアウト ----- */
.smalabo-sec__results-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
  margin-top: 0.5rem;
}

.smalabo-sec__results-fig {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 10px 36px rgba(35, 24, 21, 0.1),
    0 0 0 1px var(--smalabo-border);
}

.smalabo-sec__results-img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* 事例ビジュアル（comoluモック等・全体が見えるように） */
.smalabo-sec__results-img--mock {
  aspect-ratio: auto;
  height: auto;
  max-height: min(460px, 52vh);
  object-fit: contain;
  object-position: center;
  background: linear-gradient(165deg, #e8e6e3 0%, #f2f0ec 45%, #ebe8e4 100%);
  padding: clamp(0.5rem, 2vw, 1rem);
  box-sizing: border-box;
}

.smalabo-sec__results-cap {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--smalabo-muted);
  background: var(--smalabo-bg);
  border-top: 1px solid var(--smalabo-border);
}

.smalabo-sec__results-lead {
  margin: 0 0 1.25rem;
  max-width: 50em;
}

.smalabo-sec__case {
  margin: 0;
  padding: 1.25rem 1.35rem;
  background: var(--smalabo-bg);
  border: 1px solid var(--smalabo-border);
  border-radius: 10px;
  border-left: 3px solid var(--smalabo-brand);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.smalabo-sec__case-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--smalabo-brand);
}

.smalabo-sec__case-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.1875rem, 2.1vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--smalabo-text);
}

.smalabo-sec__case-br {
  display: none;
}

@media (min-width: 600px) {
  .smalabo-sec__case-br {
    display: inline;
  }
}

.smalabo-sec__case-client {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  color: var(--smalabo-text);
}

.smalabo-sec__case-lead {
  margin-bottom: 1rem !important;
}

.smalabo-sec__case-facts {
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
}

.smalabo-sec__case-fact {
  margin: 0;
}

.smalabo-sec__case-fact--wide {
  grid-column: 1 / -1;
}

.smalabo-sec__case-fact dt {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--smalabo-brand);
  letter-spacing: 0.02em;
}

.smalabo-sec__case-fact dd {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--smalabo-muted);
}

.smalabo-sec__case-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--smalabo-brand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.smalabo-sec__case-more:hover {
  border-bottom-color: var(--smalabo-brand);
  color: var(--smalabo-brand-hover);
}

.smalabo-sec__case-more::after {
  content: "→";
  font-size: 0.9em;
}

@media (max-width: 520px) {
  .smalabo-sec__case-facts {
    grid-template-columns: 1fr;
  }
}

/* ----- 選ばれる理由 帯写真＋見出しアイコン ----- */
.smalabo-sec__pillar-strip {
  position: relative;
  margin: -0.5rem 0 2rem;
  border-radius: 10px;
  overflow: hidden;
  max-height: 200px;
  box-shadow: 0 0 0 1px var(--smalabo-border);
}

.smalabo-sec__pillar-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.smalabo-sec__pillar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 24, 21, 0.45) 0%, rgba(35, 24, 21, 0.15) 100%);
  pointer-events: none;
}

.smalabo-sec__block-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.smalabo-sec__block--leadicon .smalabo-sec__h3 {
  margin-bottom: 0;
}

/* ----- 設計フロー図（横長・ベタ張り表示） ----- */
.smalabo-sec__flow-fig {
  margin: 1rem auto 0;
  max-width: 1000px;
}

.smalabo-sec__flow-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.smalabo-sec__flow-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.smalabo-sec__flow-cap {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--smalabo-muted);
  text-align: center;
}

.smalabo-sec__h3--inline {
  flex: 1;
  min-width: 0;
}

.smalabo-sec__subblocks-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.smalabo-sec__subblocks-head .smalabo-sec__subhead {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--smalabo-text);
}

.smalabo-sec__h4--icon {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.smalabo-sec__h4--merit {
  margin-top: 0;
}

/* ----- 日本式サポート（ハブ図＋2×2カード） ----- */
.smalabo-sec__jp-layout {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  margin-top: 1.25rem;
}

.smalabo-sec__jp-hub {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.smalabo-sec__jp-hub-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.smalabo-sec__jp-hub-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.smalabo-sec__jp-hub-row--mid {
  justify-content: space-between;
  gap: 0.5rem;
  max-width: 300px;
}

.smalabo-sec__jp-node {
  box-sizing: border-box;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
}

.smalabo-sec__jp-node--sat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.5rem;
  height: 5.5rem;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--smalabo-brand);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 2px 12px rgba(255, 61, 0, 0.22);
}

.smalabo-sec__jp-node--core {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  background: var(--smalabo-surface);
  border: 2px solid var(--smalabo-brand);
  color: var(--smalabo-brand);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(255, 61, 0, 0.1);
}

.smalabo-sec__jp-node--arrow-b::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--smalabo-brand);
}

.smalabo-sec__jp-node--arrow-t::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 7px solid var(--smalabo-brand);
}

.smalabo-sec__jp-node--arrow-r::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid var(--smalabo-brand);
}

.smalabo-sec__jp-node--arrow-l::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 7px solid var(--smalabo-brand);
}

.smalabo-sec__jp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.125rem;
}

.smalabo-sec__jp-card {
  margin: 0;
  padding: 1.35rem 1.4rem;
  background: var(--smalabo-surface);
  border: 2px solid var(--smalabo-brand);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(35, 24, 21, 0.06);
}

.smalabo-sec__jp-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--smalabo-brand);
}

.smalabo-sec__jp-card-p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--smalabo-muted);
}

@media (max-width: 900px) {
  .smalabo-sec__jp-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .smalabo-sec__jp-cards {
    grid-template-columns: 1fr;
  }
}

/* ----- お問い合わせ ----- */
.smalabo-sec__contact-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.smalabo-sec__contact-icon .smalabo-ico {
  padding: 1rem;
  border-radius: 50%;
  background: rgba(255, 61, 0, 0.1);
  box-sizing: content-box;
}

/* ----- ベトナムメリット＋リンクタイル ----- */
.smalabo-sec__merit-card {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-border);
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(35, 24, 21, 0.05);
  margin-bottom: 1.75rem;
}

.smalabo-sec__merit-visual {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--smalabo-border);
}

.smalabo-sec__merit-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.smalabo-sec__link-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .smalabo-sec__link-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.smalabo-sec__link-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.65rem;
  text-align: center;
  text-decoration: none;
  color: var(--smalabo-text);
  background: var(--smalabo-surface);
  border: 1px solid var(--smalabo-border);
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.smalabo-sec__link-tile:hover {
  border-color: var(--smalabo-brand);
  background: rgba(255, 61, 0, 0.04);
  box-shadow: 0 4px 14px rgba(35, 24, 21, 0.06);
}

.smalabo-sec__link-tile .smalabo-ico-wrap {
  width: 2.5rem;
  height: 2.5rem;
}

/* ----- フッターアイコン ----- */
.smalabo-foot__icon {
  margin-bottom: 0.65em;
  opacity: 0.95;
}

@media (max-width: 900px) {
  .smalabo-sec__split {
    grid-template-columns: 1fr;
  }

  .smalabo-sec__split-fig {
    max-width: 560px;
  }

  .smalabo-sec__results-layout {
    grid-template-columns: 1fr;
  }

  .smalabo-sec__merit-card {
    grid-template-columns: 1fr;
  }

  .smalabo-sec__merit-visual {
    max-height: 200px;
  }

  .smalabo-sec__merit-visual img {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 767px) {
  .smalabo-sec__pillar-strip {
    max-height: 140px;
  }

  .smalabo-sec__pillar-photo {
    height: 140px;
  }
}

/* ------------------------------------------------------------------
 * WordPress 親テーマ等: ハンバーガー label に擬似要素や「メニュー」文言が付く場合の打ち消し
 * （font-size:0 は子の em や flex 内ラベルまで潰すため使わない。アイコンは .burger-icon を px 固定）
 * ------------------------------------------------------------------ */
.smalabo-head .smalabo-head__burger::before,
.smalabo-head .smalabo-head__burger::after {
  content: none !important;
  display: none !important;
}

.smalabo-head .smalabo-head__burger .modal-menutxt {
  display: none !important;
}

.smalabo-head .smalabo-head__burger > *:not(.smalabo-head__burger-icon) {
  display: none !important;
}

/*
 * 外観の「追加のCSS」等で body に入れた固定ヘッダー用 padding-top（例: body:not(.page-id-xxx){padding-top:100px}）を打ち消す。
 * モック HTML には無いが、WP ではカスタマイザ・プラグインが body 余白を付けることがある。#top は子テーマ header.php の body id。
 */
body#top:has(.smalabo-head),
body.admin-bar:has(.smalabo-head),
body#top.smalabo-global-header,
body.admin-bar.smalabo-global-header {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/*
 * 管理バー用バンプ: WP は admin-bar に html { margin-top: 32px !important; } を載せる。
 * position:sticky のヘッダーは「先にドキュメント上の余白が見え、少しスクロールすると sticky が top に張り付き余白が画面外に出る」ように見えやすい。
 * html の margin を常に打ち消し、ツールバー表示中は body にだけ padding-top を移す（#wpadminbar 直下と同じ効き方で、初期表示からギャップをなくす）。
 */
html:has(body#top:has(.smalabo-head)),
html:has(body#top.smalabo-global-header) {
  margin-top: 0 !important;
}

body#top.admin-bar:has(.smalabo-head),
body#top.admin-bar.smalabo-global-header {
  padding-top: 32px !important;
}

@media screen and (max-width: 782px) {
  body#top.admin-bar:has(.smalabo-head),
  body#top.admin-bar.smalabo-global-header {
    padding-top: 46px !important;
  }
}

/* ログイン時：管理バー直下に sticky ヘッダーが来るよう調整（body 側の巨大 padding は不要） */
.admin-bar .smalabo-head {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .smalabo-head {
    top: 46px;
  }
}
