@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

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

/* ==============================================
   ① 統合デザイントークン（全セクション共通）
      8pt グリッド・カラー・タイポ・モーションを一元管理
   ============================================== */
:root {
  /* --- カラー --- */
  --c-primary:        #1e6fba;
  --c-primary-dark:   #154f8a;
  --c-primary-light:  #e8f0fb;
  --c-accent:         #5ba3f5;
  --c-ink-900:        #0a1628;   /* 最暗テキスト */
  --c-ink-700:        #2c3e50;   /* 本文 */
  --c-ink-500:        #5f6b7c;   /* サブテキスト */
  --c-ink-300:        #8a9ab5;   /* プレースホルダー等 */
  --c-surface:        #ffffff;
  --c-surface-raised: #f4f7fb;
  --c-border:         #e2e8f0;

  /* --- ② 8pt スペーシングスケール --- */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* --- タイポグラフィスケール（1.25 倍率） --- */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */

  /* --- シャドウ --- */
  --shadow-sm:  0 2px 8px  rgba(10,22,40,0.07);
  --shadow-md:  0 4px 20px rgba(10,22,40,0.10);
  --shadow-lg:  0 12px 40px rgba(10,22,40,0.14);
  --shadow-card-hover: 0 20px 60px rgba(30,111,186,0.18);

  /* --- ③ プレミアム easing --- */
  --ease-out-quart:  cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ:cubic-bezier(0.85, 0, 0.15, 1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1); /* 弾力感 */

  /* --- ボーダー半径 --- */
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-full:999px;

  /* --- レガシー互換エイリアス（旧 ccm 変数を統合） --- */
  --ccm-primary:           var(--c-primary);
  --ccm-primary-light:     var(--c-primary-light);
  --ccm-primary-dark:      var(--c-primary-dark);
  --ccm-text:              var(--c-ink-700);
  --ccm-text-sub:          var(--c-ink-500);
  --ccm-bg-light:          var(--c-surface-raised);
  --ccm-card-shadow:       var(--shadow-md);
  --ccm-card-shadow-hover: var(--shadow-card-hover);
  --ccm-radius:            var(--radius-md);
  --ccm-section-py:        var(--sp-10);
}

/* ==============================================
   共通：セクション見出し
   ============================================== */
.ccm-section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.ccm-section-heading .ccm-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ccm-primary);
  background: var(--ccm-primary-light);
  padding: 4px 16px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.ccm-section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--ccm-text);
  line-height: 1.3;
  margin: 0 0 12px;
  border: none;          /* Cocoon のデフォルトボーダーを除去 */
  padding: 0;
}

.ccm-section-heading .ccm-subtitle {
  font-size: 1rem;
  color: var(--ccm-text-sub);
  margin: 0;
  line-height: 1.7;
}

/* ==============================================
   サービス内容セクション（.ccm-services）
   ============================================== */
.ccm-services {
  background: #ffffff;
  padding: var(--ccm-section-py) 24px;
}

.ccm-services-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* 3列グリッド */
.ccm-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* サービスカード */
.ccm-service-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--ccm-radius);
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ccm-service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ccm-card-shadow-hover);
  border-color: var(--ccm-primary-light);
}

/* アイコン円 */
.ccm-service-icon {
  width: 60px;
  height: 60px;
  background: var(--ccm-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  line-height: 1;
}

.ccm-service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ccm-text);
  margin: 0 0 10px;
  border: none;
  padding: 0;
}

.ccm-service-card p {
  font-size: 0.9rem;
  color: var(--ccm-text-sub);
  line-height: 1.75;
  margin: 0;
}

/* ==============================================
   選ばれる理由セクション（.ccm-whyus）
   ============================================== */
.ccm-whyus {
  background: var(--ccm-bg-light);
  padding: var(--ccm-section-py) 24px;
}

.ccm-whyus-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* 4列グリッド */
.ccm-whyus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Why Us カード */
.ccm-whyus-card {
  background: #ffffff;
  border-radius: var(--ccm-radius);
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: var(--ccm-card-shadow);
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.ccm-whyus-card:hover {
  border-bottom-color: var(--ccm-primary);
  transform: translateY(-4px);
  box-shadow: var(--ccm-card-shadow-hover);
}

/* アイコン */
.ccm-whyus-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

/* 大きな数値 */
.ccm-whyus-stat {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--ccm-primary);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.ccm-whyus-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ccm-text);
  margin: 0 0 10px;
  border: none;
  padding: 0;
}

.ccm-whyus-card p {
  font-size: 0.85rem;
  color: var(--ccm-text-sub);
  line-height: 1.7;
  margin: 0;
}

/*必要ならばここにコードを書く*/

/* ==============================================
   Solamber風ランディングページ（page-solamber.php）
   ============================================== */

/* リセット・ベース */
.slb-body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", -apple-system, sans-serif;
  color: #2c3e50;
  line-height: 1.75;
  overflow-x: hidden;
}
.slb-body * { box-sizing: border-box; }
.slb-body img { max-width: 100%; height: auto; }
.slb-body ul { list-style: none; margin: 0; padding: 0; }
.slb-body a { text-decoration: none; color: inherit; }

/* 共通ラベル */
.slb-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1e6fba;
  background: #e8f0fb;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.slb-label--dark {
  color: #1e6fba;
  background: rgba(30,111,186,0.12);
}

/* 共通セクション見出し */
.slb-section-heading { text-align: center; margin-bottom: 52px; }
.slb-section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 10px;
  line-height: 1.25;
}
.slb-section-heading--dark h2 { color: #0a1628; }
.slb-section-sub { font-size: 1rem; color: #5f6b7c; margin: 0; }

/* ④ プレミアム ボタン */
.slb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px 32px;
  border-radius: var(--radius-full);   /* ピル型：高級感の定番 */
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition:
    transform  0.4s var(--ease-out-expo),
    box-shadow 0.4s var(--ease-out-expo),
    background 0.3s ease,
    color      0.3s ease;
}

/* シマーエフェクト（光の走り） */
.slb-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.25) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease-out-quart);
}
.slb-btn:hover::after { transform: translateX(100%); }

.slb-btn--primary,
a.slb-btn--primary,
a.slb-btn--primary:visited {
  background: linear-gradient(135deg, #2484d6 0%, var(--c-primary) 50%, #1458a0 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(30,111,186,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
}
.slb-btn--primary:hover,
a.slb-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(30,111,186,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
  color: #fff !important;
}
.slb-btn--primary:active { transform: translateY(-1px); }

.slb-btn--outline,
a.slb-btn--outline,
a.slb-btn--outline:visited {
  background: rgba(255,255,255,0.08);
  color: #fff !important;
  border-color: rgba(255,255,255,0.75);
  backdrop-filter: blur(6px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.slb-btn--outline:hover,
a.slb-btn--outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  color: #fff !important;
}

.slb-btn--lg { padding: 18px 44px; font-size: var(--text-base); }

/* ===== ヘッダー ===== */
.slb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
/* TOP ページ：スクロール後に背景を付与 */
.slb-header--scrolled {
  background: rgba(7,14,43,0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
/* TOP 以外のページ：初期表示から常時ソリッド */
.slb-header--solid {
  background: rgba(7,14,43,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.slb-header__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slb-logo,
a.slb-logo,
a.slb-logo:visited,
a.slb-logo:hover,
a.slb-logo:focus {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff !important;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.slb-nav ul {
  display: flex;
  gap: 36px;
}
.slb-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.slb-nav a:hover { color: #fff; }
.slb-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.slb-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s;
}

/* ===== Three.js パーティクルキャンバス ===== */
#slb-particle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;           /* グリッド・コンテンツより下 */
  pointer-events: none; /* クリック・スクロールを透過 */
  display: block;
}
/* prefers-reduced-motion：アニメーション停止時は非表示 */
@media (prefers-reduced-motion: reduce) {
  #slb-particle-canvas { display: none; }
}

/* ⑤ ヒーロー ─ 奥行きとアニメーションで記憶に残る */
.slb-hero {
  position: relative;
  min-height: 100vh;
  /* 多層グラデーション：奥行きを演出 */
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,111,186,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(13,71,161,0.28) 0%, transparent 60%),
    linear-gradient(160deg, #04091f 0%, #070e2b 45%, #0a1e4a 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 40px 80px;
}

/* ノイズテクスチャ（高級感の源泉） */
.slb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* グリッドパターン背景（精度を上げる） */
.slb-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,163,245,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,163,245,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;   /* canvas(0) の上、コンテンツ(2) の下 */
}

/* ライトレイ（斜め光の筋） */
.slb-hero__bg-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(91,163,245,0.04) 40%,
    rgba(91,163,245,0.07) 50%,
    rgba(91,163,245,0.04) 60%,
    transparent 80%
  );
  animation: slb-lightray 8s ease-in-out infinite alternate;
}
@keyframes slb-lightray {
  from { opacity: 0.6; transform: translateX(-5%); }
  to   { opacity: 1;   transform: translateX(5%); }
}
.slb-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto 0 0;
}
.slb-hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5ba3f5;
  margin: 0 0 16px;
}
.slb-hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 20px;
}
.slb-hero__title span {
  color: #5ba3f5;
  display: block;
}
.slb-hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.72);
  margin: 0 0 40px;
  line-height: 1.7;
}
.slb-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* 装飾 orb */
.slb-hero__illustration {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
}
.slb-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;  /* GPU レイヤー化 */
}
.slb-orb--1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #1e6fba, #0d47a1);
  top: -60px; right: -60px;
  opacity: 0.4;
  animation: slb-orb-drift 12s ease-in-out infinite alternate;
}
.slb-orb--2 {
  width: 280px; height: 280px;
  background: #5ba3f5;
  bottom: 40px; right: 120px;
  opacity: 0.28;
  animation: slb-orb-drift 9s ease-in-out infinite alternate-reverse;
}
.slb-orb--3 {
  width: 200px; height: 200px;
  background: #0d47a1;
  top: 100px; right: 240px;
  opacity: 0.35;
  animation: slb-orb-drift 15s ease-in-out infinite alternate;
}
@keyframes slb-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-24px, 16px) scale(1.08); }
}

/* ===== About ===== */
.slb-about {
  background: #fff;
  padding: 100px 40px;
}
.slb-about__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.slb-about__img-wrap {
  position: relative;
}
.slb-about__img-placeholder {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(30,111,186,0.18);
}
.slb-about__img-placeholder svg { width: 100%; display: block; }

/* 実写プロフィール写真コンテナ */
.slb-about__img-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 64px rgba(30,111,186,0.22),
    0  8px 24px rgba(0,0,0,0.10);
  aspect-ratio: 1 / 1;
  max-width: 420px;
  width: 100%;
}
.slb-about__img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
}
.slb-about__img-photo:hover img {
  transform: scale(1.04);
}
.slb-about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #1e6fba;
  color: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(30,111,186,0.4);
}
.slb-about__badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.slb-about__badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.9;
}
.slb-about__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #0a1628;
  margin: 8px 0 20px;
  line-height: 1.3;
}
.slb-about__content p {
  font-size: 0.95rem;
  color: #5f6b7c;
  margin: 0 0 14px;
  line-height: 1.8;
}
.slb-about__check-list {
  margin: 20px 0 32px;
}
.slb-about__check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 10px;
}
.slb-about__check-list li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231e6fba'/%3E%3Cpath d='M5 10l4 4 6-8' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 2px;
}

/* ===== Services ===== */
.slb-services {
  background: #f4f7fb;
  padding: 100px 40px;
}
.slb-services__inner { max-width: 1100px; margin: 0 auto; }
.slb-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.slb-service-card {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: var(--sp-5) var(--sp-4);
  border: 1px solid var(--c-border);
  /* ③ 直線イージングをプレミアムカーブに */
  transition:
    transform  0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo),
    border-color 0.3s ease;
}
.slb-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: #c5d9f7;
}
.slb-service-card__icon {
  width: 60px;
  height: 60px;
  background: var(--c-primary-light);
  border-radius: var(--radius-sm);   /* 丸から角丸へ：モダンな差別化 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--c-primary);
  transition:
    background 0.4s var(--ease-out-expo),
    color      0.4s var(--ease-out-expo),
    transform  0.4s var(--ease-spring);
}
.slb-service-card__icon svg { width: 28px; height: 28px; }
.slb-service-card:hover .slb-service-card__icon {
  background: var(--c-primary);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);  /* アイコンに個性を */
}
.slb-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 10px;
}
.slb-service-card p {
  font-size: 0.875rem;
  color: #5f6b7c;
  line-height: 1.8;
  margin: 0;
}

/* ===== Stats ===== */
.slb-stats {
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(41,121,255,0.35) 0%, transparent 60%),
    linear-gradient(135deg, #1055a8 0%, var(--c-primary) 55%, #2979ff 100%);
  padding: var(--sp-10) var(--sp-5);
}
.slb-stats__inner { max-width: 1100px; margin: 0 auto; }
.slb-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.slb-stat { color: #fff; }
.slb-stat__icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);   /* 統一：角丸正方形 */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-2);
  color: #fff;
  transition: transform 0.4s var(--ease-spring), background 0.3s ease;
}
.slb-stat:hover .slb-stat__icon {
  transform: scale(1.1) rotate(-4deg);
  background: rgba(255,255,255,0.22);
}
.slb-stat__icon svg { width: 30px; height: 30px; }
.slb-stat__num {
  display: inline;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}
.slb-stat__plus {
  font-size: 1.6rem;
  font-weight: 700;
  vertical-align: text-bottom;
}
.slb-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

/* ===== Testimonial ===== */
.slb-testimonial {
  position: relative;
  background: #f4f7fb;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
}
.slb-testimonial__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(30,111,186,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.slb-testimonial__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}
.slb-testimonial__avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(30,111,186,0.2);
}
.slb-testimonial__avatar svg { width: 100%; height: 100%; }
.slb-testimonial__quote p {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: #1a2a3a;
  line-height: 1.8;
  margin: 0 0 24px;
  font-style: italic;
}
.slb-testimonial__cite {
  font-style: normal;
  font-size: 0.9rem;
  color: #5f6b7c;
  display: block;
  margin-bottom: 12px;
}
.slb-testimonial__cite strong { color: #0a1628; }
.slb-testimonial__stars {
  font-size: 1.3rem;
  color: #f59e0b;
  letter-spacing: 2px;
}

/* ===== Contact ===== */
.slb-contact {
  background: #f4f7fb;
  padding: 100px 40px;
}
.slb-contact__inner { max-width: 1100px; margin: 0 auto; }
.slb-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.slb-contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.slb-contact__info li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #2c3e50;
  line-height: 1.6;
}
.slb-contact__info-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e6fba;
  box-shadow: 0 2px 12px rgba(30,111,186,0.12);
}
.slb-contact__info-icon svg { width: 20px; height: 20px; }
.slb-contact__form-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}


/* ===== フッター ===== */
.slb-footer {
  background: #070e2b;
  color: rgba(255,255,255,0.5);
}

/* メインエリア（ロゴ＋ナビ） */
.slb-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ブランドエリア */
.slb-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slb-footer__logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.slb-footer__tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
}

/* ナビゲーションエリア */
.slb-footer__nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.slb-footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 140px;
}
.slb-footer__nav-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}
.slb-footer__nav-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slb-footer__nav-group a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6) !important;
  text-decoration: none;
  transition: color 0.2s;
}
.slb-footer__nav-group a:hover {
  color: #fff !important;
}

/* コピーライトバー */
.slb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 40px;
  text-align: center;
}
.slb-footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* 旧クラス（後方互換） */
.slb-footer__copy { font-size: 0.8rem; margin: 0; }

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /* 旧セクション */
  .ccm-whyus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Solamber */
  .slb-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slb-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .slb-about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .slb-contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/*834px以下*/
@media screen and (max-width: 834px){
  :root { --ccm-section-py: 56px; }

  /* 旧セクション */
  .ccm-services-grid,
  .ccm-whyus-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Solamber */
  .slb-header { padding: 0 20px; }
  .slb-nav {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(7,14,43,0.97);
    padding: 24px 20px;
  }
  .slb-nav--open { display: block; }
  .slb-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .slb-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 1rem;
  }
  .slb-nav-toggle { display: flex; }

  .slb-hero { padding: 100px 24px 60px; }
  .slb-hero__illustration { display: none; }
  .slb-about  { padding: 70px 24px; }
  .slb-services { padding: 70px 24px; }
  .slb-stats { padding: 60px 24px; }
  .slb-testimonial { padding: 70px 24px; }
  .slb-contact { padding: 70px 24px; }
  .slb-footer__inner { padding: 40px 24px 32px; gap: 32px; }
  .slb-footer__bottom { padding: 16px 24px; }
  .slb-footer__nav { gap: 32px; }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /* 旧セクション */
  .ccm-services-grid,
  .ccm-whyus-grid {
    grid-template-columns: 1fr;
  }
  .ccm-service-card,
  .ccm-whyus-card {
    padding: 28px 20px;
  }

  /* Solamber */
  .slb-services__grid {
    grid-template-columns: 1fr;
  }
  .slb-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slb-hero__cta {
    flex-direction: column;
  }
  .slb-footer__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 20px 24px;
  }
  .slb-footer__bottom { padding: 14px 20px; }
  .slb-about__badge {
    right: 10px;
    bottom: -10px;
  }
  .slb-contact__form-area { align-items: stretch; }
  .slb-btn--lg { text-align: center; }
}

/* ============================================================
   お問い合わせページ（page-contact.php）専用スタイル
   ============================================================ */

/* ページトップに固定ヘッダー分の余白を確保 */
.slb-body--contact {
  padding-top: 0;
}

/* ===== ページヒーロー（コンパクト版） ===== */
.slb-page-hero {
  background: linear-gradient(135deg, #070e2b 0%, #0f1f4a 60%, #1a3068 100%);
  padding: 130px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slb-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(30,111,186,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.slb-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.slb-page-hero .slb-label {
  display: inline-block;
  background: rgba(91,163,245,0.15);
  color: #8ec5fc;
  border: 1px solid rgba(142,197,252,0.3);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  margin-bottom: 20px;
}
.slb-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}
.slb-page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.7;
}

/* ===== お問い合わせセクション ===== */
.slb-contact-page {
  background: #f4f7fb;
  padding: 80px 40px 100px;
}
.slb-contact-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

/* ===== 連絡先情報カード ===== */
.slb-contact-page__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.slb-contact-page__info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(30,111,186,0.07);
}
.slb-contact-page__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #e8f0fb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e6fba;
}
.slb-contact-page__info-icon svg {
  width: 20px;
  height: 20px;
}
.slb-contact-page__info-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e6fba;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
}
.slb-contact-page__info-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 3px;
}
.slb-contact-page__info-note {
  font-size: 0.78rem;
  color: #8a9ab5;
  margin: 0;
  line-height: 1.5;
}

/* ===== CF7 フォームラッパー ===== */
.slb-cf7-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 44px 48px;
  box-shadow: 0 4px 32px rgba(30,111,186,0.09);
}

/* CF7 が未インストールの場合の通知 */
.slb-cf7-notice {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 12px;
  padding: 24px 28px;
  font-size: 0.9rem;
  color: #5d4037;
  line-height: 1.8;
}
.slb-cf7-notice p { margin: 0 0 8px; }
.slb-cf7-notice p:last-child { margin: 0; }

/* ===== Contact Form 7 フォーム要素スタイル ===== */
.slb-cf7-wrap .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ラベル */
.slb-cf7-wrap .wpcf7-form p {
  margin: 0 0 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #2d3a4a;
}

/* テキスト入力・メール・電話 */
.slb-cf7-wrap input[type="text"],
.slb-cf7-wrap input[type="email"],
.slb-cf7-wrap input[type="tel"],
.slb-cf7-wrap select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d6e0ef;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0a1628;
  background: #f9fbff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}
.slb-cf7-wrap input[type="text"]:focus,
.slb-cf7-wrap input[type="email"]:focus,
.slb-cf7-wrap input[type="tel"]:focus,
.slb-cf7-wrap select:focus {
  border-color: #1e6fba;
  box-shadow: 0 0 0 3px rgba(30,111,186,0.12);
  background: #fff;
}

/* テキストエリア */
.slb-cf7-wrap textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #d6e0ef;
  border-radius: 10px;
  font-size: 0.95rem;
  color: #0a1628;
  background: #f9fbff;
  resize: vertical;
  min-height: 160px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.7;
}
.slb-cf7-wrap textarea:focus {
  border-color: #1e6fba;
  box-shadow: 0 0 0 3px rgba(30,111,186,0.12);
  background: #fff;
}

/* プレースホルダー */
.slb-cf7-wrap input::placeholder,
.slb-cf7-wrap textarea::placeholder {
  color: #b0bcc9;
  font-size: 0.88rem;
}

/* 送信ボタン */
.slb-cf7-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2484d6 0%, #1e6fba 50%, #1458a0 100%);
  color: #fff !important;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(30,111,186,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: inherit;
  margin-top: 8px;
}
.slb-cf7-wrap input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(30,111,186,0.5);
}
.slb-cf7-wrap input[type="submit"]:active {
  transform: translateY(-1px);
}

/* バリデーションエラー */
.slb-cf7-wrap .wpcf7-not-valid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 3px rgba(229,57,53,0.1) !important;
}
.slb-cf7-wrap .wpcf7-not-valid-tip {
  font-size: 0.78rem;
  color: #e53935;
  display: block;
  margin-top: 4px;
}

/* 送信完了・エラーメッセージ */
.slb-cf7-wrap .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.88rem;
  border: none;
}
.slb-cf7-wrap .wpcf7-mail-sent-ok {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #43a047;
}
.slb-cf7-wrap .wpcf7-mail-sent-ng,
.slb-cf7-wrap .wpcf7-aborted {
  background: #fce4e4;
  color: #c62828;
  border-left: 4px solid #e53935;
}
.slb-cf7-wrap .wpcf7-spam-blocked {
  background: #fff3e0;
  color: #e65100;
  border-left: 4px solid #fb8c00;
}

/* ===== レスポンシブ（お問い合わせページ） ===== */
@media (max-width: 860px) {
  .slb-contact-page { padding: 60px 24px 80px; }
  .slb-contact-page__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .slb-cf7-wrap {
    padding: 32px 28px;
  }
  .slb-page-hero { padding: 110px 24px 60px; }
}
@media (max-width: 480px) {
  .slb-cf7-wrap { padding: 24px 20px; }
}

/* ============================================================
   ブログ一覧ページ（page-blog.php）専用スタイル
   ============================================================ */

/* ===== ブログセクション ===== */
.slb-blog {
  background: #f4f7fb;
  padding: 64px 40px 100px;
  min-height: 60vh;
}
.slb-blog__inner {
  max-width: 1160px;
  margin: 0 auto;
}

/* ===== カテゴリーフィルター ===== */
.slb-blog__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.slb-blog__cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #5f6b7c;
  background: #fff;
  border: 1.5px solid #d6e0ef;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
}
.slb-blog__cat-link:hover {
  background: #e8f0fb;
  color: #1e6fba;
  border-color: #b3cfee;
}
.slb-blog__cat-link--active {
  background: #1e6fba;
  color: #fff !important;
  border-color: #1e6fba;
}
.slb-blog__cat-count {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 1px 7px;
  font-weight: 700;
}
.slb-blog__cat-link--active .slb-blog__cat-count {
  background: rgba(255,255,255,0.3);
}

/* ===== 記事グリッド ===== */
.slb-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* ===== 記事カード ===== */
.slb-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(30,111,186,0.07);
  transition: transform 0.35s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1)),
              box-shadow 0.35s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
  display: flex;
  flex-direction: column;
}
.slb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(30,111,186,0.14);
}

/* サムネイル */
.slb-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e8f0fb;
  flex-shrink: 0;
}
.slb-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo, cubic-bezier(0.16,1,0.3,1));
}
.slb-card:hover .slb-card__thumb img {
  transform: scale(1.05);
}
.slb-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slb-card__thumb-placeholder svg {
  width: 64px;
  height: auto;
}

/* カード本文 */
.slb-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* カテゴリーバッジ */
.slb-card__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.slb-card__cat {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #e8f0fb;
  color: #1e6fba !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.slb-card__cat:hover {
  background: #1e6fba;
  color: #fff !important;
}

/* タイトル */
.slb-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  flex: 1;
}
.slb-card__title a {
  color: #0a1628 !important;
  text-decoration: none;
  transition: color 0.2s;
}
.slb-card__title a:hover {
  color: #1e6fba !important;
}

/* 抜粋 */
.slb-card__excerpt {
  font-size: 0.82rem;
  color: #6b7c93;
  line-height: 1.7;
  margin: 0 0 16px;
}

/* メタ情報 */
.slb-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #edf1f7;
}
.slb-card__date,
.slb-card__read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: #8a9ab5;
  font-weight: 500;
}
.slb-card__date svg,
.slb-card__read svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* ===== 投稿なし ===== */
.slb-blog__empty {
  text-align: center;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.slb-blog__empty svg {
  width: 80px;
  height: auto;
}
.slb-blog__empty p {
  font-size: 1rem;
  color: #8a9ab5;
  line-height: 1.8;
  margin: 0;
}

/* ===== ページネーション ===== */
.slb-pagination {
  display: flex;
  justify-content: center;
}
.slb-pagination ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.slb-pagination ul li a,
.slb-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #3a4a5c;
  background: #fff;
  border: 1.5px solid #d6e0ef;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.slb-pagination ul li a svg {
  width: 16px;
  height: 16px;
}
.slb-pagination ul li a:hover {
  background: #e8f0fb;
  color: #1e6fba;
  border-color: #b3cfee;
}
.slb-pagination ul li span.current {
  background: #1e6fba;
  color: #fff;
  border-color: #1e6fba;
}
.slb-pagination ul li span.dots {
  border: none;
  background: none;
  color: #8a9ab5;
  width: auto;
  padding: 0 4px;
  font-size: 1rem;
}

/* カレントナビリンク */
.slb-nav__current {
  color: #fff !important;
  border-bottom: 2px solid rgba(142,197,252,0.7);
  padding-bottom: 2px;
}

/* ===== Portfolioボタン（ヘッダー） ===== */
.slb-nav__portfolio-item { margin-left: 8px; }

.slb-nav__portfolio-btn,
a.slb-nav__portfolio-btn,
a.slb-nav__portfolio-btn:visited {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 7px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

a.slb-nav__portfolio-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ===== Portfolioリンク（フッター） ===== */
.slb-footer__portfolio-link,
a.slb-footer__portfolio-link,
a.slb-footer__portfolio-link:visited {
  color: #5ba3f5 !important;
  font-weight: 600;
}

a.slb-footer__portfolio-link:hover {
  color: #fff !important;
}

/* ===== レスポンシブ（Portfolioボタン） ===== */
@media (max-width: 834px) {
  .slb-nav__portfolio-item { margin-left: 0; }
  .slb-nav__portfolio-btn,
  a.slb-nav__portfolio-btn {
    display: block !important;
    border: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 0;
    font-size: 1rem !important;
  }
  a.slb-nav__portfolio-btn:hover {
    background: transparent;
    transform: none;
  }
}

/* ===== レスポンシブ（ブログ） ===== */
@media (max-width: 960px) {
  .slb-blog__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .slb-blog { padding: 48px 20px 80px; }
  .slb-blog__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .slb-blog__cats { gap: 8px; }
  .slb-pagination ul li a,
  .slb-pagination ul li span {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }
}

/* ============================================================
   記事詳細ページ（single.php）専用スタイル
   ============================================================ */

/* ===== パンくずリスト ===== */
.slb-breadcrumb {
  background: #f4f7fb;
  padding: 14px 40px;
  border-bottom: 1px solid #e4ecf6;
  /* 固定ヘッダー（70px）の下に配置 */
  margin-top: 70px;
}
/* single.php はヒーローごとオフセットするため、内包の breadcrumb はリセット */
.slb-single-hero .slb-breadcrumb {
  margin-top: 0;
}
.slb-breadcrumb ol {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0;
  font-size: 0.78rem;
  color: #8a9ab5;
}
.slb-breadcrumb ol li + li::before {
  content: "›";
  margin: 0 8px;
  color: #b0bcc9;
}
.slb-breadcrumb ol li:last-child {
  color: #5f6b7c;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.slb-breadcrumb a {
  color: #1e6fba !important;
  text-decoration: none;
  cursor: pointer;
}
.slb-breadcrumb a:hover { text-decoration: underline; }

/* ===== 記事ヒーロー ===== */
.slb-single-hero {
  background: #fff;
  border-bottom: 1px solid #edf1f7;
  /* 固定ヘッダー（70px）の下に配置 */
  padding-top: 70px;
}
.slb-single-hero__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 0;
}
.slb-single-hero__cat {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: #e8f0fb;
  color: #1e6fba !important;
  text-decoration: none;
  margin-bottom: 16px;
}
.slb-single-hero__cat:hover { background: #1e6fba; color: #fff !important; }
.slb-single-hero__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.45;
  color: #0a1628;
  margin: 0 0 20px;
}
.slb-single-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.slb-single-hero__date,
.slb-single-hero__mod,
.slb-single-hero__read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: #8a9ab5;
  font-weight: 500;
}
.slb-single-hero__date svg,
.slb-single-hero__mod svg,
.slb-single-hero__read svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.slb-single-hero__thumb {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #e8f0fb;
}
.slb-single-hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== メインレイアウト（2カラム） ===== */
.slb-single-layout {
  background: #f4f7fb;
  padding: 48px 40px 80px;
}
.slb-single-layout__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

/* ===== メインコンテンツ ===== */
.slb-single-main {
  min-width: 0; /* グリッド子要素のオーバーフロー防止 */
}

/* ===== 広告エリア共通 ===== */
.slb-ad-area {
  margin: 28px 0;
  border-radius: 10px;
  overflow: hidden;
}
.slb-ad-area__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4fa;
  border: 2px dashed #c5d4e8;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #a0b4cc;
  letter-spacing: 0.05em;
  text-align: center;
  min-height: 90px;
}
/* 記事上部（レクタングル横長） */
.slb-ad-area--top .slb-ad-area__placeholder,
.slb-ad-area--bottom .slb-ad-area__placeholder { min-height: 100px; }
/* 記事中（レクタングル横長） */
.slb-ad-area--inline .slb-ad-area__placeholder { min-height: 90px; }
/* サイドバー（300×250） */
.slb-ad-area__placeholder--rect {
  min-height: 250px;
  max-width: 300px;
  width: 100%;
  flex-direction: column;
  gap: 6px;
  line-height: 1.6;
}

/* ===== 記事本文タイポグラフィ ===== */
.slb-article {
  background: #fff;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 2px 12px rgba(30,111,186,0.06);
  font-size: 1rem;
  line-height: 1.9;
  color: #2d3a4a;
  word-break: break-word;
  overflow-wrap: break-word;
}
.slb-article h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0a1628;
  margin: 2.2em 0 0.8em;
  padding-left: 14px;
  border-left: 4px solid #1e6fba;
  line-height: 1.4;
}
.slb-article h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2a3a;
  margin: 1.8em 0 0.6em;
  padding-bottom: 6px;
  border-bottom: 2px solid #e4ecf6;
  line-height: 1.5;
}
.slb-article h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2a3a;
  margin: 1.5em 0 0.5em;
}
.slb-article p { margin: 0 0 1.4em; }
.slb-article p:last-child { margin-bottom: 0; }
.slb-article a {
  color: #1e6fba !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.slb-article a:hover { color: #154f8a !important; }
.slb-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 1.6em auto;
}
.slb-article ul,
.slb-article ol {
  padding-left: 1.6em;
  margin: 0 0 1.4em;
}
.slb-article li { margin-bottom: 0.4em; line-height: 1.8; }
.slb-article blockquote {
  margin: 1.6em 0;
  padding: 18px 24px;
  background: #f4f7fb;
  border-left: 4px solid #1e6fba;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4a5568;
}
.slb-article blockquote p { margin: 0; }
.slb-article pre {
  background: #0f1d36;
  color: #c9d8f0;
  border-radius: 10px;
  padding: 20px 24px;
  overflow-x: auto;
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 1.6em 0;
}
.slb-article code {
  background: #e8f0fb;
  color: #1458a0;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.88em;
  font-family: 'SFMono-Regular', Consolas, monospace;
}
.slb-article pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: inherit;
}
.slb-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6em 0;
  font-size: 0.9rem;
}
.slb-article th {
  background: #1e6fba;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.slb-article td {
  padding: 10px 14px;
  border-bottom: 1px solid #e4ecf6;
  vertical-align: top;
}
.slb-article tr:nth-child(even) td { background: #f8faff; }

/* 吹き出し（Cocoon互換） */
.slb-article .speech-balloon { margin: 1.4em 0; }

/* ===== タグ ===== */
.slb-single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 28px 0;
  padding: 20px 24px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(30,111,186,0.05);
}
.slb-single-tags__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8a9ab5;
}
.slb-single-tags__item {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5f6b7c !important;
  background: #f0f4fa;
  border: 1px solid #d6e0ef;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.slb-single-tags__item:hover { background: #e8f0fb; color: #1e6fba !important; }

/* ===== 前後記事ナビ ===== */
.slb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.slb-post-nav__prev,
.slb-post-nav__next {
  min-width: 0;
}
.slb-post-nav__next { text-align: right; }
.slb-post-nav__link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  background: #fff;
  border-radius: 10px;
  border: 1.5px solid #e4ecf6;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 100%;
}
.slb-post-nav__link:hover {
  border-color: #1e6fba;
  box-shadow: 0 4px 16px rgba(30,111,186,0.1);
}
.slb-post-nav__label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1e6fba;
  letter-spacing: 0.04em;
}
.slb-post-nav__label svg { width: 14px; height: 14px; }
.slb-post-nav__title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d3a4a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== 著者プロフィールカード ===== */
.slb-author-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 28px 28px;
  margin: 28px 0;
  box-shadow: 0 2px 12px rgba(30,111,186,0.07);
  border: 1px solid #edf1f7;
}
.slb-author-card__avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #d6e0ef;
}
.slb-author-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.slb-author-card__name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 6px;
}
.slb-author-card__bio {
  font-size: 0.85rem;
  color: #5f6b7c;
  line-height: 1.75;
  margin: 0 0 12px;
}
.slb-author-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e6fba !important;
  text-decoration: none;
}
.slb-author-card__link svg { width: 14px; height: 14px; }
.slb-author-card__link:hover { text-decoration: underline; }

/* ===== 関連記事 ===== */
.slb-related { margin: 28px 0; }
.slb-related__heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 4px solid #1e6fba;
}
.slb-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ===== サイドバー ===== */
.slb-single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.slb-sidebar-block {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: 0 2px 12px rgba(30,111,186,0.06);
}
.slb-sidebar-block--sticky {
  position: sticky;
  top: 90px; /* ヘッダー高さ + 余白 */
}
.slb-sidebar-block__title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #0a1628;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #edf1f7;
}

/* 目次 */
.slb-toc .slb-toc__ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slb-toc__item {
  counter-increment: toc-counter;
}
.slb-toc__item--h3 { padding-left: 14px; }
.slb-toc__link {
  display: block;
  padding: 6px 8px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #3a4a5c !important;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.slb-toc__link:hover,
.slb-toc__link--active {
  background: #e8f0fb;
  color: #1e6fba !important;
}
.slb-toc__item--h3 .slb-toc__link {
  font-size: 0.78rem;
  color: #5f6b7c !important;
}
/* モバイル目次：記事上部に表示 */
.slb-toc--mobile { display: none; }

/* 最新記事 */
.slb-sidebar-recent {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.slb-sidebar-recent__link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
}
.slb-sidebar-recent__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #e8f0fb;
}
.slb-sidebar-recent__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slb-sidebar-recent__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dce8f8 0%, #c5d4e8 100%);
}
.slb-sidebar-recent__title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #2d3a4a;
  line-height: 1.5;
  margin: 0 0 4px;
  transition: color 0.2s;
}
.slb-sidebar-recent__link:hover .slb-sidebar-recent__title { color: #1e6fba; }
.slb-sidebar-recent__date {
  font-size: 0.72rem;
  color: #8a9ab5;
}

/* カテゴリー */
.slb-sidebar-cats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.slb-sidebar-cats__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3a4a5c !important;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.slb-sidebar-cats__link svg { width: 14px; height: 14px; flex-shrink: 0; color: #1e6fba; }
.slb-sidebar-cats__link:hover { background: #e8f0fb; color: #1e6fba !important; }
.slb-sidebar-cats__count {
  margin-left: auto;
  font-size: 0.72rem;
  background: #f0f4fa;
  color: #8a9ab5;
  border-radius: 999px;
  padding: 1px 8px;
  font-weight: 700;
}

/* ===== レスポンシブ（記事ページ） ===== */
@media (max-width: 1020px) {
  .slb-single-layout__inner {
    grid-template-columns: 1fr;
  }
  .slb-single-sidebar {
    order: -1; /* サイドバーをモバイルでは非表示にするか先頭へ */
    display: none; /* モバイルでサイドバーを非表示（目次はモバイル専用に表示） */
  }
  .slb-toc--mobile { display: block; margin-bottom: 24px; }
  .slb-related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .slb-single-layout { padding: 32px 20px 60px; }
  .slb-single-hero__inner { padding: 36px 20px 0; }
  .slb-breadcrumb { padding: 12px 20px; }
  .slb-article { padding: 28px 22px; font-size: 0.95rem; }
  .slb-article h2 { font-size: 1.2rem; }
  .slb-article h3 { font-size: 1.05rem; }
  .slb-post-nav { grid-template-columns: 1fr; }
  .slb-post-nav__next { text-align: left; }
  .slb-author-card { flex-direction: column; }
  .slb-related__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   カテゴリーアーカイブページ（category.php）専用スタイル
   ============================================================ */

/* ===== カテゴリーヒーロー ===== */
.slb-cat-hero {
  background: linear-gradient(135deg, #070e2b 0%, #0f1f4a 60%, #1a3068 100%);
  padding: 56px 40px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.slb-cat-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(30,111,186,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.slb-cat-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.slb-cat-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91,163,245,0.15);
  color: #8ec5fc;
  border: 1px solid rgba(142,197,252,0.3);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.slb-cat-hero__badge svg {
  width: 13px;
  height: 13px;
}
.slb-cat-hero__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 14px;
}
.slb-cat-hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin: 0 0 16px;
}
.slb-cat-hero__count {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.slb-cat-hero__count strong {
  color: #8ec5fc;
  font-weight: 800;
  font-size: 1.1em;
}

/* ===== ブログ一覧（カテゴリー版）の調整 ===== */
.slb-blog--category {
  padding-top: 48px;
}

/* サブカテゴリーフィルター */
.slb-blog__cats--sub {
  margin-bottom: 36px;
}

/* カレントカテゴリーのカードバッジ強調 */
.slb-card__cat--current {
  background: #1e6fba;
  color: #fff !important;
}

/* ===== レスポンシブ（カテゴリー） ===== */
@media (max-width: 600px) {
  .slb-cat-hero { padding: 44px 20px 40px; }
  .slb-blog--category { padding-top: 36px; }
}

/* ============================================================
   法的ページ（page-legal.php）専用スタイル
   ============================================================ */

.slb-legal {
  background: #f4f7fb;
  padding: 56px 40px 100px;
}
.slb-legal__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== 本文エリア ===== */
.slb-legal__body {
  background: #fff;
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 2px 16px rgba(30,111,186,0.07);
  font-size: 0.95rem;
  line-height: 1.9;
  color: #2d3a4a;
}

/* 見出し */
.slb-legal__body h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0a1628;
  margin: 2.2em 0 0.8em;
  padding-left: 12px;
  border-left: 3px solid #1e6fba;
  line-height: 1.45;
}
.slb-legal__body h2:first-child { margin-top: 0; }
.slb-legal__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a2a3a;
  margin: 1.6em 0 0.5em;
}

/* 段落 */
.slb-legal__body p {
  margin: 0 0 1.2em;
}
.slb-legal__body p:last-child { margin-bottom: 0; }

/* リスト */
.slb-legal__body ul,
.slb-legal__body ol {
  padding-left: 1.6em;
  margin: 0 0 1.2em;
}
.slb-legal__body li { margin-bottom: 0.4em; }

/* リンク */
.slb-legal__body a {
  color: #1e6fba !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.slb-legal__body a:hover { color: #154f8a !important; }

/* アフィリエイト開示バナー */
.slb-legal__affiliate-notice {
  background: #e8f0fb;
  border: 1px solid #b3cfee;
  border-left: 4px solid #1e6fba;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #1a2a3a;
  line-height: 1.7;
  margin-bottom: 2em;
}

/* 特商法テーブル */
.slb-legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.6em;
  font-size: 0.9rem;
}
.slb-legal__table th,
.slb-legal__table td {
  padding: 12px 16px;
  border: 1px solid #d6e0ef;
  vertical-align: top;
  line-height: 1.7;
  text-align: left;
}
.slb-legal__table th {
  background: #f0f5fc;
  font-weight: 700;
  color: #0a1628;
  width: 36%;
  white-space: nowrap;
}
.slb-legal__table tr:nth-child(even) td {
  background: #fafcff;
}

/* ===== ページ間ナビ ===== */
.slb-legal__nav {
  background: #fff;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 2px 12px rgba(30,111,186,0.06);
}
.slb-legal__nav-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #8a9ab5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.slb-legal__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.slb-legal__nav a {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #3a4a5c !important;
  background: #f0f4fa;
  border: 1.5px solid #d6e0ef;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.slb-legal__nav a:hover {
  background: #e8f0fb;
  color: #1e6fba !important;
  border-color: #b3cfee;
}
.slb-legal__nav-current {
  background: #1e6fba !important;
  color: #fff !important;
  border-color: #1e6fba !important;
  pointer-events: none;
}

/* ===== レスポンシブ（法的ページ） ===== */
@media (max-width: 640px) {
  .slb-legal { padding: 40px 20px 80px; }
  .slb-legal__body { padding: 32px 24px; }
  .slb-legal__table th { width: auto; white-space: normal; }
  .slb-legal__table th,
  .slb-legal__table td { padding: 10px 12px; font-size: 0.85rem; }
  .slb-legal__table tr {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 2px solid #d6e0ef;
  }
  .slb-legal__table th {
    border-bottom: none;
    border-radius: 0;
  }
}

/* ============================================================
   404 ページ
   ============================================================ */
.slb-404 {
  min-height: calc(100vh - 280px);
  background: #f4f7fb;
  display: flex;
  align-items: center;
  padding: 80px 40px;
}
.slb-404__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* SVGビジュアル */
.slb-404__visual {
  width: 260px;
  margin: 0 auto 32px;
}
.slb-404__visual svg { width: 100%; height: auto; }

/* テキスト */
.slb-404__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #0f2044;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.slb-404__desc {
  font-size: 0.95rem;
  color: #5f6b7c;
  line-height: 1.8;
  margin: 0 0 40px;
}

/* ボタン */
.slb-404__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.slb-404__actions .slb-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.slb-404__actions .slb-btn svg { width: 16px; height: 16px; }

/* 最新記事 */
.slb-404__recent { text-align: left; }
.slb-404__recent-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9ab5;
  margin: 0 0 16px;
}
.slb-404__recent-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.slb-404__recent-link {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 14px 16px;
  text-decoration: none;
  border: 1px solid #e4ecf6;
  transition: box-shadow 0.2s, transform 0.2s;
}
.slb-404__recent-link:hover {
  box-shadow: 0 4px 16px rgba(30,63,122,0.10);
  transform: translateY(-1px);
}
.slb-404__recent-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  background: #e8f0fb;
}
.slb-404__recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slb-404__recent-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f2044;
}
.slb-404__recent-thumb-placeholder svg { width: 100%; height: 100%; }
.slb-404__recent-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a2a3a;
  line-height: 1.5;
  margin: 0 0 5px;
  transition: color 0.2s;
}
.slb-404__recent-link:hover .slb-404__recent-title { color: #1e6fba; }
.slb-404__recent-date {
  font-size: 0.74rem;
  color: #8a9ab5;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .slb-404 { padding: 60px 20px; }
  .slb-404__visual { width: 200px; }
  .slb-404__actions { flex-direction: column; align-items: center; }
}
