/* ============================================
   TBT サイト ワイヤーフレーム
   タイポグラフィ・余白を厳密に統制
============================================ */

:root {
  --color-text: #1a1a1a;
  --color-text-light: #4b5563;
  --color-text-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-bg-subtle: #fafafa;
  --color-bg-section: #f5f5f5;
  --color-accent: #1a1a1a;

  /* スペーシングシステム（8の倍数） */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
}

* {
  box-sizing: border-box;
}

body {
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   タイポグラフィ
============================================ */

h1 {
  font-size: 2rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h2 {
  font-size: 1.5rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h3 {
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: 0.06em;
}

h4 {
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 700;
}

p {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

p.lead {
  font-size: 1.125rem;
  line-height: 2;
}

p.small {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

ul li, ol li {
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  h1 { font-size: 1.625rem; line-height: 1.6; letter-spacing: 0.04em; }
  h2 { font-size: 1.375rem; line-height: 1.6; letter-spacing: 0.04em; }
  h3 { font-size: 1.0625rem; line-height: 1.7; letter-spacing: 0.04em; }
  p {
    font-size: 1rem;
    line-height: 2;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
  }
  p.lead { font-size: 1.0625rem; line-height: 2.1; }
  p.sub { font-size: 0.9375rem; line-height: 2; }
  ul li, ol li {
    font-size: 1rem;
    line-height: 2.1;
    letter-spacing: 0.04em;
  }
}

/* PC のみで効く改行（スマホでは無視） */
@media (max-width: 768px) {
  br.pc-only { display: none; }
}

/* ============================================
   セクション・コンテナ
============================================ */

.wf-section {
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
}

.wf-section:first-child {
  border-top: none;
}

.wf-section.bg-subtle {
  background: var(--color-bg-subtle);
}

.wf-section.bg-section {
  background: var(--color-bg-section);
}

.wf-section.bg-dark {
  background: var(--color-accent);
  color: white;
}

.wf-section.bg-dark p {
  color: rgba(255, 255, 255, 0.85);
}

.wf-container {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

.wf-container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

@media (max-width: 768px) {
  .wf-section { padding: 64px 0; }
  .wf-container, .wf-container-narrow {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* セクションタイトル */
.wf-section-title {
  margin-bottom: 24px;
}

.wf-section-lead {
  margin-bottom: 64px;
  font-size: 1.0625rem;
  line-height: 2;
  color: var(--color-text-light);
}

/* ============================================
   ヘッダー（ナビ）
============================================ */

.wf-header {
  background: white;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.wf-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wf-logo,
.wf-logo:link,
.wf-logo:visited,
.wf-logo:hover,
.wf-logo:active {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: var(--color-text) !important;
  border-bottom: none !important;
}

.wf-logo *,
.wf-logo-text {
  text-decoration: none !important;
  border-bottom: none !important;
  color: var(--color-text) !important;
}

.wf-logo img {
  display: block;
  height: 56px;
  width: auto;
}

.wf-logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .wf-logo { gap: 10px; }
  .wf-logo img { height: 44px; }
  .wf-logo-text {
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
}

.wf-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.wf-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.wf-nav a:hover {
  color: var(--color-text-muted);
}

.wf-nav a.wf-nav-active {
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 4px;
}

.wf-nav a.btn-primary {
  color: white;
}

.wf-nav a.btn-primary:hover {
  color: var(--color-accent);
}

/* ハンバーガーボタン */
.wf-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 60;
}

.wf-nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text);
  margin: 6px auto;
  transition: all 0.3s;
}

.wf-nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.wf-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.wf-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .wf-header-inner {
    padding: 16px 20px;
  }

  .wf-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 55;
    padding: 80px 24px 40px;
    overflow-y: auto;
  }

  .wf-nav.open {
    display: flex;
  }

  .wf-nav a {
    font-size: 1.0625rem;
    padding: 16px 0;
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .wf-nav a.wf-nav-active {
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 400;
    padding: 16px 0;
  }

  .wf-nav a.btn-primary {
    margin-top: 24px;
    background: var(--color-accent);
    color: white;
    padding: 16px 40px;
    border-bottom: none;
    width: auto;
  }

  .wf-nav-toggle {
    display: block;
  }
}

/* ============================================
   プレースホルダー
============================================ */

.wf-image-placeholder {
  background: #f3f4f6;
  border: 1px dashed #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.8125rem;
  font-weight: 500;
  min-height: 200px;
  overflow: hidden;
}

.wf-image-placeholder.has-image {
  background: #1a1a1a;
  border: none;
  padding: 0;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.wf-image-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wf-image-placeholder.hero {
  min-height: 360px;
}

.wf-image-placeholder.medium {
  min-height: 140px;
}

.wf-image-placeholder.medium.has-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.wf-image-placeholder.small {
  min-height: 80px;
}

.wf-image-placeholder.logo {
  width: 140px;
  height: 44px;
  min-height: 44px;
  border-radius: 2px;
}

/* ============================================
   ボタン
============================================ */

.btn-primary {
  display: inline-block;
  padding: 18px 40px;
  background: var(--color-accent);
  color: white;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary:hover {
  background: white;
  color: var(--color-accent);
}

.btn-primary.small {
  padding: 12px 24px;
  font-size: 0.875rem;
}

.btn-secondary {
  display: inline-block;
  padding: 18px 40px;
  background: white;
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid var(--color-accent);
  transition: all 0.25s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: white;
}

.btn-link {
  display: inline-block;
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-accent);
  transition: opacity 0.2s;
}

.btn-link:hover {
  opacity: 0.6;
}

.btn-light {
  display: inline-block;
  padding: 18px 48px;
  background: white;
  color: var(--color-accent);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid white;
  transition: all 0.25s;
}

.btn-light:hover {
  background: transparent;
  color: white;
}

/* ============================================
   CTA セクション（bg-dark）モバイル最適化
============================================ */

@media (max-width: 768px) {
  .wf-section.bg-dark {
    padding: 56px 0;
  }

  .wf-section.bg-dark .wf-section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .wf-section.bg-dark p {
    font-size: 0.9375rem;
    line-height: 2;
    text-align: left;
    padding: 0 8px;
  }

  .wf-section.bg-dark .text-note {
    text-align: center;
    font-size: 0.8125rem;
    line-height: 1.8;
  }

  .wf-section.bg-dark .btn-light {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    padding: 18px 24px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;
  }
}

/* ボタングループ */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

/* ============================================
   テーブル
============================================ */

.wf-table {
  width: 100%;
  border-collapse: collapse;
}

.wf-table th,
.wf-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  font-size: 1rem;
  line-height: 1.8;
}

.wf-table th {
  background: var(--color-bg-subtle);
  font-weight: 500;
  color: var(--color-text);
  width: 32%;
}

.wf-table td {
  color: var(--color-text-light);
}

/* ============================================
   数字壁
============================================ */

.wf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: none !important;
  background: transparent !important;
}

.wf-stat-item {
  padding: 32px 24px;
  text-align: center;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.wf-stat-item:last-child {
  border: none !important;
}

.wf-stat-item .wf-icon,
.wf-stat-item .wf-icon.small {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.wf-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.wf-stat-label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .wf-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .wf-stat-item:nth-child(2) { border-right: none; }
  .wf-stat-item:nth-child(1),
  .wf-stat-item:nth-child(2) { border-bottom: none; }
  .wf-stat-number { font-size: 1.5rem; }
}

/* ============================================
   カード
============================================ */

.wf-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 48px 40px;
}

.wf-card h3 {
  margin-bottom: 20px;
}

.wf-card p {
  margin-bottom: 32px;
}

.wf-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .wf-card { padding: 24px 20px; }
  .wf-card-grid { grid-template-columns: 1fr; gap: 24px; }
  .wf-card .wf-image-placeholder.has-image { aspect-ratio: 16 / 9; }
}

/* ============================================
   ステップリスト（取引の流れ）
============================================ */

.wf-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.wf-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.wf-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 700;
}

.wf-step-content h3 {
  margin-bottom: 8px;
}

.wf-step-content p {
  margin: 0;
}

@media (max-width: 768px) {
  .wf-step { gap: 20px; }
  .wf-step-num { width: 44px; height: 44px; font-size: 1rem; }
}

/* ============================================
   ヒーロー（背景画像オーバーレイ・日本企業型）
============================================ */

.wf-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
  border-bottom: 1px solid var(--color-border);
}

/* 背景画像 */
.wf-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.wf-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 暗オーバーレイ（左から強→右へフェード、文字を読みやすく） */
.wf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

/* コンテンツ */
.wf-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px;
}

.wf-hero-content .inner {
  max-width: 560px;
}

.wf-hero h1 {
  font-size: 2rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
  font-weight: 700;
  color: #ffffff;
}

.wf-hero p.lead {
  font-size: 1.0625rem;
  line-height: 2;
  margin-bottom: 16px;
  color: #ffffff;
  font-weight: 500;
}

.wf-hero p.sub {
  font-size: 0.9375rem;
  line-height: 2;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.85);
}

.wf-hero .btn-group {
  margin-top: 0;
}

@media (max-width: 768px) {
  .wf-hero { min-height: 340px; }
  .wf-hero-content { padding: 40px 24px; }
  .wf-hero h1 { font-size: 1.5rem; }
  .wf-hero p.lead { font-size: 1rem; }
  .wf-hero p.sub { font-size: 0.875rem; margin-bottom: 32px; }
}

/* ============================================
   アイコンプレースホルダー
============================================ */

.wf-icon {
  display: inline-flex !important;
  width: 48px;
  height: 48px;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.wf-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
}

.wf-icon.small {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
}

.wf-icon.inline {
  margin-bottom: 0;
  margin-right: 12px;
  vertical-align: middle;
}

/* ============================================
   エルメスバッグ主軸ブロック
============================================ */

.wf-hero-product {
  background: white;
  border: 1px solid var(--color-border);
  padding: 56px 48px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.wf-hero-product .wf-image-placeholder {
  min-height: 240px;
  margin: 0;
}

.wf-hero-product .wf-image-placeholder.has-image {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.wf-hero-product-content .wf-product-cat {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}

.wf-hero-product-content h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.wf-hero-product-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.wf-hero-product-content ul li {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
  font-weight: 500;
}

@media (max-width: 768px) {
  .wf-hero-product {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px;
  }
  .wf-hero-product .wf-image-placeholder { min-height: 180px; }
  .wf-hero-product .wf-image-placeholder.has-image { aspect-ratio: 16 / 10; min-height: 0; }
  .wf-hero-product-content h3 { font-size: 1.25rem; }
}

/* ============================================
   取扱商品グリッド
============================================ */

.wf-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.wf-product-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 32px 28px;
}

.wf-product-cat {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  width: 100%;
}

.wf-brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-brand-list li {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--color-text);
  font-weight: 500;
  letter-spacing: 0.08em;
}

@media (max-width: 1024px) {
  .wf-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .wf-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .wf-product-card { padding: 16px 14px; }
  .wf-product-card .wf-image-placeholder.has-image { aspect-ratio: 1 / 1; }
}

/* ============================================
   ナンバリング（番号付き強み）
============================================ */

.wf-numbered-card {
  background: white;
  border: 1px solid var(--color-border);
  padding: 48px 40px;
  position: relative;
}

.wf-numbered-card .wf-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 16px;
}

.wf-numbered-card h3 {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.wf-numbered-card p {
  margin: 0;
}

@media (max-width: 768px) {
  .wf-numbered-card { padding: 32px 24px; }
  .wf-numbered-card h3 { font-size: 1.0625rem; }
}

/* ============================================
   FAQ アコーディオン
============================================ */

.wf-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wf-faq details {
  background: white;
  border: 1px solid var(--color-border);
}

.wf-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 32px;
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.wf-faq summary::-webkit-details-marker {
  display: none;
}

.wf-faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-muted);
  transition: transform 0.2s;
}

.wf-faq details[open] summary::after {
  content: '−';
}

.wf-faq details > div {
  padding: 0 32px 24px 32px;
}

.wf-faq details p {
  margin: 0;
}

/* ============================================
   フッター
============================================ */

.wf-footer {
  background: var(--color-bg-section);
  padding: 80px 0 40px;
}

.wf-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.wf-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.wf-footer h3 {
  font-size: 0.9375rem;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.wf-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-footer ul li {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.wf-footer ul li a {
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.wf-footer ul li a:hover {
  color: var(--color-text);
}

.wf-footer-note {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}

.btn-line-add {
  display: inline-block;
  text-decoration: none !important;
  border: none !important;
  transition: opacity 0.2s;
}

.btn-line-add:hover {
  opacity: 0.85;
}

.btn-line-add img {
  display: block;
  height: 36px;
  width: auto;
}

.wf-footer-sns {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.wf-footer-sns-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.wf-footer .wf-sns-link,
.wf-footer .wf-sns-link:link,
.wf-footer .wf-sns-link:visited,
.wf-footer .wf-sns-link:hover,
.wf-footer .wf-sns-link:active {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: var(--color-text) !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}

.wf-footer .wf-sns-link:hover {
  opacity: 0.6;
}

.wf-sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-text);
  transition: background 0.2s, color 0.2s;
}

.wf-footer .wf-sns-link:hover .wf-sns-icon {
  background: var(--color-text);
  color: white;
}

.wf-sns-icon svg {
  width: 18px;
  height: 18px;
}

.wf-sns-handle {
  font-weight: 500;
  color: var(--color-text) !important;
  text-decoration: none !important;
  border-bottom: none !important;
}

.wf-footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.wf-footer-ig {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.wf-footer-ig svg {
  width: 16px;
  height: 16px;
}

.wf-footer-bottom p {
  margin: 0 0 4px;
}

@media (max-width: 768px) {
  .wf-footer { padding: 48px 0 32px; }
  .wf-footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
}

/* ============================================
   パンくず
============================================ */

.wf-breadcrumb {
  background: var(--color-bg-subtle);
  padding: 16px 0;
}

.wf-breadcrumb-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.wf-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.wf-breadcrumb a:hover {
  color: var(--color-text);
}

.wf-breadcrumb .sep {
  margin: 0 12px;
}

/* ============================================
   グリッド汎用
============================================ */

.wf-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.wf-grid-2-1 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .wf-grid-2, .wf-grid-2-1 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ============================================
   フォーム
============================================ */

.wf-form {
  max-width: 640px;
  margin: 0 auto;
}

.wf-form-row {
  margin-bottom: 32px;
}

.wf-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--color-text);
}

.wf-form label .required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #dc2626;
  color: white;
  font-size: 0.6875rem;
  border-radius: 2px;
  font-weight: 400;
}

.wf-form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]),
.wf-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  font-size: 1rem;
  background: white;
  transition: border 0.2s;
  font-family: inherit;
}

.wf-form input:focus,
.wf-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.wf-form input[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 18px 56px;
  background: var(--color-accent);
  color: white;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border: 1px solid var(--color-accent);
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}

.wf-form input[type="submit"]:hover {
  background: white;
  color: var(--color-accent);
}

.wf-form-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wf-form-radio label,
.wf-radio-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
  font-weight: 400;
  cursor: pointer;
  width: 100%;
}

.wf-radio-item input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
}

.wf-radio-item span {
  flex: 1;
  white-space: normal;
}

/* ============================================
   ユーティリティ
============================================ */

.text-center { text-align: center; }
.mt-section { margin-top: 64px; }
.mb-section { margin-bottom: 64px; }

.text-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-top: 32px;
}

/* ============================================
   ブログ
============================================ */

/* 2カラムレイアウト */
.wf-blog-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

.wf-blog-main {
  min-width: 0;
}

/* サイドバー */
.wf-blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 32px;
}

.wf-sidebar-block {
  background: white;
  border: 1px solid var(--color-border);
  padding: 24px;
}

.wf-sidebar-title {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.wf-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wf-sidebar-list li {
  margin-bottom: 10px;
  font-size: 0.875rem;
  line-height: 1.6;
}

.wf-sidebar-list li:last-child {
  margin-bottom: 0;
}

.wf-sidebar-list a {
  display: block;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.wf-sidebar-list a:hover {
  color: var(--color-text);
}

.wf-sidebar-count {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-left: 4px;
}

.wf-sidebar-recent {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}

.wf-sidebar-recent time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.wf-sidebar-recent-title {
  font-size: 0.875rem;
  line-height: 1.5;
}

.wf-sidebar-empty {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.wf-sidebar-cta {
  background: var(--color-bg-subtle);
}

.wf-sidebar-cta h3 {
  font-size: 1rem;
  margin: 0 0 12px;
}

.wf-sidebar-cta p {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0 0 16px;
}

/* ブログカードグリッド */
.wf-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wf-blog-card {
  background: white;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wf-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.wf-blog-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.wf-blog-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.wf-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wf-blog-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

.wf-blog-card-placeholder svg {
  width: 40px;
  height: 40px;
}

.wf-blog-card-body {
  padding: 20px;
}

.wf-blog-card-title {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 8px 0 12px;
  color: var(--color-text);
  font-weight: 700;
}

.wf-blog-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wf-blog-pagination {
  margin-top: 56px;
  text-align: center;
}

/* 個別記事 */
.wf-single-title {
  font-size: 1.75rem;
  line-height: 1.5;
  margin: 0 0 32px;
  color: var(--color-text);
  font-weight: 700;
}

.wf-single-thumb {
  margin-bottom: 40px;
}

.wf-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.wf-single-tags {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.wf-single-tags h3 {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0 0 16px;
  letter-spacing: 0.12em;
}

.wf-tag {
  display: inline-block;
  padding: 6px 14px;
  margin-right: 6px;
  margin-bottom: 6px;
  background: var(--color-bg-subtle);
  font-size: 0.8125rem;
  text-decoration: none !important;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  transition: background 0.2s;
}

.wf-tag:hover {
  background: var(--color-bg-section);
}

.wf-single-nav {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .wf-blog-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .wf-blog-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .wf-blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .wf-single-title { font-size: 1.375rem; }
}

.wf-blog-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.wf-blog-item a {
  display: block;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.wf-blog-item a:hover {
  opacity: 0.7;
}

.wf-blog-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.wf-blog-cat {
  padding: 4px 12px;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  letter-spacing: 0.08em;
}

.wf-blog-title {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--color-text);
}

.wf-blog-excerpt {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin: 0;
}

.wf-blog-content {
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--color-text-light);
}

.wf-blog-content h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.wf-blog-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.wf-blog-content p {
  margin-bottom: 24px;
}

.wf-blog-content ul,
.wf-blog-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.wf-blog-content blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--color-bg-subtle);
  border-left: 3px solid var(--color-accent);
  font-style: italic;
}

.wf-blog-content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.wf-blog-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ページネーション */
.wp-pagenavi,
.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links .page-numbers {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: all 0.2s;
}

.nav-links .page-numbers:hover,
.nav-links .page-numbers.current {
  background: var(--color-accent);
  color: white;
  border-color: var(--color-accent);
}
