/* ============================================
   令和財託株式会社 - Corporate Site Styles
   A案(青系コーポレート) / B案(ネイビー×ゴールド)
============================================ */

:root {
  /* A案: 信頼感の青系 */
  --a-primary: #0a3d7c;
  --a-primary-dark: #062a5a;
  --a-primary-light: #1e5aa8;
  --a-accent: #d4a017;
  --a-bg: #ffffff;
  --a-bg-alt: #e4f1fb;
  --a-bg-dark: #071a3d;
  --a-text: #111a2c;
  --a-text-mute: #5a6478;
  --a-line: #e2e8f0;

  /* B案: ネイビー×ゴールド */
  --b-primary: #0a1e3d;
  --b-primary-dark: #050f22;
  --b-primary-light: #1a2f57;
  --b-accent: #c9a961;
  --b-accent-dark: #a88a45;
  --b-bg: #fbfaf6;
  --b-bg-alt: #f2eee3;
  --b-bg-dark: #0a1e3d;
  --b-text: #14181f;
  --b-text-mute: #6b6558;
  --b-line: #e6e0cf;

  /* current (initialized to A) */
  --primary: var(--a-primary);
  --primary-dark: var(--a-primary-dark);
  --primary-light: var(--a-primary-light);
  --accent: var(--a-accent);
  --bg: var(--a-bg);
  --bg-alt: var(--a-bg-alt);
  --bg-dark: var(--a-bg-dark);
  --text: var(--a-text);
  --text-mute: var(--a-text-mute);
  --line: var(--a-line);

  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  --max-w: 1200px;
}

body.theme-b {
  --primary: var(--b-primary);
  --primary-dark: var(--b-primary-dark);
  --primary-light: var(--b-primary-light);
  --accent: var(--b-accent);
  --bg: var(--b-bg);
  --bg-alt: var(--b-bg-alt);
  --bg-dark: var(--b-bg-dark);
  --text: var(--b-text);
  --text-mute: var(--b-text-mute);
  --line: var(--b-line);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* SEO/A11y: 視覚的には非表示だが検索エンジン・スクリーンリーダーには読ませる */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* モバイル専用改行(デスクトップでは無効) */
.mobile-br { display: none; }
@media (max-width: 640px) {
  .mobile-br { display: inline; }
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ==========================
   Header
========================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body.theme-b .header { background: rgba(251,250,246,0.98); }

.header-top {
  display: flex; align-items: center; justify-content: space-between;
  height: 96px; max-width: 1400px; margin: 0 auto; padding: 0 40px;
  gap: 24px;
}
.header-bottom {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
body.theme-b .header-bottom { background: var(--bg); }

.logo {
  display: flex; flex-direction: column; line-height: 1; text-decoration: none;
  flex-shrink: 0;
  gap: 6px;
}
.logo-jp {
  font-family: var(--font-serif); font-size: 34px; font-weight: 700;
  color: var(--primary); letter-spacing: 0.12em;
  line-height: 1;
}
.logo-en {
  font-size: 11px; letter-spacing: 0.3em; color: var(--text-mute);
  font-weight: 500;
  line-height: 1;
}
body.theme-b .logo-jp { color: var(--primary); }
body.theme-b .logo-en { color: var(--accent); }

/* Header CTAs */
.header-actions {
  display: flex; align-items: center; gap: 20px;
  height: 100%;
}
.header-ctas {
  display: flex; gap: 8px;
  align-items: stretch;
}
.header-cta-btn {
  padding: 8px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all .25s;
  text-align: center;
  min-width: 170px;
  line-height: 1.2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  height: 56px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.header-cta-btn.dark {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff;
}
.header-cta-btn.dark:hover { filter: brightness(1.08); transform: translateY(-1px); }
.header-cta-btn.light {
  background: linear-gradient(135deg, #ffb13d, var(--accent));
  color: #fff;
  border: none;
}
.header-cta-btn.light .header-cta-label,
.header-cta-btn.light .tilde-left,
.header-cta-btn.light .tilde-right { color: rgba(255,255,255,0.92); }
.header-cta-btn.light:hover { filter: brightness(1.06); transform: translateY(-1px); }
body.theme-b .header-cta-btn.dark { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
body.theme-b .header-cta-btn.light {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark, var(--accent))); color: var(--primary);
}
body.theme-b .header-cta-btn.light .header-cta-label,
body.theme-b .header-cta-btn.light .tilde-left,
body.theme-b .header-cta-btn.light .tilde-right { color: var(--primary); opacity: 0.8; }
.header-cta-label {
  font-size: 10px;
  color: inherit;
  opacity: 0.85;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.header-cta-btn.light .header-cta-label { opacity: 1; color: var(--text-mute); }
.tilde-left, .tilde-right {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
}
.header-cta-main {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 6px;
}
.header-cta-main .arrow {
  font-size: 18px; line-height: 1;
  color: inherit;
}

.header-tel-wrap {
  text-align: right;
  flex-shrink: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  justify-content: center;
  height: 56px;
  gap: 3px;
}
.header-tel-label {
  font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.08em;
  line-height: 1;
}
.header-tel {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1;
  display: flex; align-items: center; gap: 8px;
  justify-content: flex-end;
}
.header-tel-icon {
  width: 18px; height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}
.header-tel-hours {
  font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.05em;
  line-height: 1;
}
body.theme-b .header-tel { color: var(--primary); }
body.theme-b .header-tel-icon { color: var(--accent); }

/* ==========================
   Hamburger Menu Button + Drawer
========================== */
.header-menu-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 56px; height: 56px;
  border-radius: 6px;
  cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  font-family: inherit;
  transition: all .2s;
  flex-shrink: 0;
}
.header-menu-btn:hover {
  background: var(--primary-dark);
}
body.theme-b .header-menu-btn { background: var(--accent); color: var(--primary); }
body.theme-b .header-menu-btn:hover { background: var(--b-accent-dark); }
.header-menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all .2s;
}
.header-menu-label {
  font-size: 8px; letter-spacing: 0.2em;
  font-weight: 700;
  margin-top: 3px;
}

/* Drawer overlay */
.drawer-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  height: 100vh;
  height: 100dvh;
  background: rgba(0,0,0,0.55);
  z-index: 998;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  backdrop-filter: blur(2px);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

/* ドロワー開いてる時 body スクロールロック */
body.drawer-open { overflow: hidden; }

/* Drawer */
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  height: 100dvh;
  width: 380px; max-width: 90vw;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  overflow: hidden;
}
body.theme-b .drawer { background: var(--bg); }
.drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.drawer-brand .logo-jp { font-size: 22px; }
.drawer-brand .logo-en { font-size: 9px; margin-top: 4px; }
.drawer-close {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  font-size: 30px; font-weight: 300;
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  padding: 0; line-height: 1;
}
.drawer-close:hover { color: var(--primary); }

.drawer-body {
  padding: 20px 24px 30px;
  overflow-y: auto;
  flex: 1;
}

/* Featured (先頭の目立つ3ボタン - コンパクト) */
.drawer-featured {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-featured-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-family: inherit;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: all .25s;
  text-align: left;
}
.drawer-featured-btn:hover {
  transform: translateX(-2px);
}
body.theme-b .drawer-featured-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}
.drawer-featured-icon {
  font-size: 14px;
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: rgba(212,160,23,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.drawer-featured-label { flex: 1; letter-spacing: 0.02em; }
.drawer-featured-arrow {
  font-size: 16px;
  color: var(--accent);
  line-height: 1;
}

.drawer-cta-tel {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  text-align: center;
  margin-top: 20px;
}
.drawer-cta-tel:hover { border-color: var(--primary); }
.drawer-cta-tel-label {
  font-size: 10px; color: var(--text-mute);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.drawer-cta-tel-num {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--primary);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1;
}
.drawer-cta-tel-hours {
  font-size: 10px; color: var(--text-mute);
  margin-top: 6px;
}

.drawer-group {
  margin-bottom: 20px;
}
.drawer-group-title {
  font-family: var(--font-serif);
  font-size: 12px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.drawer-links {
  list-style: none;
  padding: 0;
}
.drawer-links button {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  padding: 12px 0;
  background: none; border: none;
  font-family: inherit;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: color .2s;
  text-align: left;
}
.drawer-links button:hover {
  color: var(--primary);
}
body.theme-b .drawer-links button:hover { color: var(--accent); }
.drawer-link-arrow {
  color: var(--text-mute);
  font-size: 18px; line-height: 1;
}
.drawer-link-arrow.expand {
  font-size: 12px;
  transition: transform .25s;
}
.drawer-links li.has-children.expanded .drawer-link-arrow.expand {
  transform: rotate(-180deg);
  color: var(--accent);
}
.drawer-links li.has-children.expanded > .drawer-link-parent {
  color: var(--primary);
}
body.theme-b .drawer-links li.has-children.expanded > .drawer-link-parent {
  color: var(--accent);
}
.drawer-sublinks {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--bg-alt);
  border-radius: 4px;
}
.drawer-links li.has-children.expanded .drawer-sublinks {
  max-height: 400px;
  margin: 4px 0 8px;
}
.drawer-sublinks li {
  border-bottom: 1px dashed var(--line);
}
.drawer-sublinks li:last-child { border-bottom: none; }
.drawer-sublinks button {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mute);
}
.drawer-sublinks button:hover {
  color: var(--primary);
  background: rgba(0,0,0,0.02);
}

/* Nav */
.nav {
  display: flex; gap: 4px; align-items: center; justify-content: center;
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 52px;
}
.nav-item {
  padding: 8px 14px; font-size: 13px; font-weight: 600;
  color: var(--text); cursor: pointer; border-radius: 4px;
  transition: all .2s; background: none; border: none;
  font-family: inherit;
  white-space: nowrap;
  height: 100%;
  display: flex; align-items: center;
}
.nav-item:hover { color: var(--primary); }
.nav-item.active { color: var(--primary); position: relative; }
.nav-item.active::after {
  content: ''; position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--accent);
}
body.theme-b .nav-item.active::after { background: var(--accent); }

/* ==========================
   Hero
========================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding: 60px 0 80px;
}
body.theme-b .hero {
  background:
    linear-gradient(135deg, rgba(10,30,61,0.92) 0%, rgba(5,15,34,0.96) 100%),
    url('assets/shinjuku-skyline.jpg') center/cover;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('assets/shinjuku-skyline.jpg') center/cover;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
}
body.theme-b .hero::before { display: none; }

.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.4em; font-weight: 600;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: 2px;
  margin-bottom: 28px;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 60px; line-height: 1.3; font-weight: 700;
  letter-spacing: 0.03em; margin-bottom: 24px;
  color: #fff;
  text-wrap: balance;
}
.hero-title .accent {
  color: var(--accent);
}
.hero-title-sub {
  font-size: 0.4em;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  display: inline-block;
  margin-top: 12px;
}
.hero-sub {
  font-size: 15px; line-height: 1.9;
  max-width: 860px;
  margin: 0 0 40px;
  color: rgba(255,255,255,0.92);
}
.hero-sub strong { color: var(--accent); font-weight: 900; }
body.theme-b .hero-title .accent { color: var(--accent); }

/* Hero: 豪華 2CTA cards (betrading風) */
.hero-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  max-width: 900px;
  align-items: stretch;
  margin-left: auto;
  margin-right: auto;
}
/* オレンジ(小口)を左、黒(大型)を右 */
.hero-cta-grid .order-mobile-first { order: 1; }
.hero-cta-grid .order-desktop-first { order: 2; }

/* 共通 */
.cta-lux {
  border-radius: 12px;
  padding: 22px 24px 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  text-align: center;
  height: 100%;
}
/* 内部要素の flex 制御 - 位置揃え用 */
.cta-lux-target { flex-shrink: 0; }
.cta-lux-sub {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 8px 4px;
  text-align: center;
}
.cta-lux-sub-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.cta-lux-sub-inner > div {
  white-space: nowrap;
}
.cta-lux-phone { flex-shrink: 0; }
.cta-lux-btn { flex-shrink: 0; }
.cta-lux-note { flex-shrink: 0; }
.cta-lux:hover { transform: translateY(-4px); }

/* 見出しバンド(V字凹み) */
.cta-lux-headband {
  font-size: 12px; font-weight: 700;
  margin: -22px -24px 20px;
  padding: 14px 24px 26px;
  line-height: 1.4;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 14px), 0 100%);
}
.cta-lux-amount {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 900;
  padding: 0 4px;
  position: relative;
  z-index: 1;
}
.cta-lux-amount::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 8px;
  z-index: -1;
  border-radius: 2px;
}
.cta-lux-target {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  padding-bottom: 12px;
}
.cta-lux-sub {
  font-size: 24px; font-weight: 700;
  font-family: var(--font-serif);
  line-height: 1.4;
  margin-bottom: 0;
}
.cta-lux-btn {
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  transition: all .2s;
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  width: 100%;
  white-space: nowrap;
  position: relative;
}
.cta-lux-btn span {
  font-size: 20px; line-height: 1;
}
.cta-lux-btn span:last-child {
  position: absolute;
  right: 18px;
}

/* ==== ダーク(大型)カード ==== */
.cta-lux.dark {
  background:
    radial-gradient(circle at 20% 0%, rgba(212,160,23,0.15) 0%, transparent 50%),
    linear-gradient(180deg, #1a1a1a 0%, #000 100%);
  color: #fff;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid rgba(212,160,23,0.35);
}
.cta-lux.dark:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.5); }

.cta-lux.dark .cta-lux-headband {
  background: linear-gradient(180deg, #3a2f1a 0%, #1a1408 100%);
  color: #fff;
  border-bottom: 1px solid rgba(212,160,23,0.3);
}
.cta-lux.dark .cta-lux-amount {
  background: linear-gradient(135deg, #f5d580 0%, #d4a017 50%, #b7861a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-lux.dark .cta-lux-amount::after {
  background: linear-gradient(135deg, #f5d580 0%, #d4a017 100%);
  opacity: 0.35;
}
.cta-lux.dark .cta-lux-target {
  border-bottom: 1px solid rgba(212,160,23,0.25);
}
.cta-lux.dark .cta-lux-sub {
  font-size: 24px;
  margin-bottom: 0;
  line-height: 1.4;
}
.cta-lux.dark .cta-lux-sub strong {
  color: var(--accent);
  font-weight: 900;
}
.cta-lux-phone {
  background:
    linear-gradient(180deg, #201a0e 0%, #0d0a04 100%);
  border: 1px solid rgba(212,160,23,0.5);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
  color: #fff;
}
.cta-lux-phone-tag {
  font-size: 10px; letter-spacing: 0.15em;
  color: #d4a017;
  font-weight: 700;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(212,160,23,0.25);
  text-align: center;
}
.cta-lux-phone-num {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 900;
  letter-spacing: 0.02em;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  line-height: 1;
  background: linear-gradient(135deg, #f5d580 0%, #d4a017 50%, #b7861a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-lux-phone-num svg {
  color: #d4a017;
}
.cta-lux-btn.dark-btn {
  background: rgba(212,160,23,0.18);
  color: #fff;
  border: 2px solid rgba(212,160,23,0.5);
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.cta-lux-btn.dark-btn:hover {
  background: rgba(212,160,23,0.3);
  border-color: rgba(212,160,23,0.85);
  transform: translateY(-2px);
}

/* ==== オレンジ(小口)カード ==== */
.cta-lux.warm {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,235,180,0.35) 0%, transparent 60%),
    linear-gradient(180deg, #ffc06e 0%, #f68a1e 50%, #e0521a 100%);
  color: #fff;
  box-shadow: 0 20px 44px rgba(226,111,42,0.4);
  border: 1px solid rgba(255,255,255,0.35);
}
.cta-lux.warm:hover { box-shadow: 0 24px 52px rgba(226,111,42,0.55); }

.cta-lux.warm .cta-lux-headband.warm-band {
  background: linear-gradient(180deg, #d75f4a 0%, #c94a35 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.cta-lux.warm .cta-lux-amount.warm-amount {
  color: #fff;
  font-weight: 900;
}
.cta-lux.warm .cta-lux-amount.warm-amount::after {
  background: rgba(255,235,180,0.35);
}
.cta-lux.warm .cta-lux-target {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}
.cta-lux.warm .cta-lux-sub {
  font-size: 24px;
  color: #fff;
  margin-bottom: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.cta-lux.warm .cta-lux-sub strong {
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.cta-lux.warm .cta-lux-target {
  margin-bottom: 10px;
  padding-bottom: 10px;
}
/* オレンジ用の電話ボックス */
.cta-lux-phone.warm-phone {
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.15) 100%);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.cta-lux-phone-tag.warm-phone-tag {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.3);
}
.cta-lux-phone-num.warm-phone-num {
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.cta-lux-phone-num.warm-phone-num svg { color: #fff; }

.cta-lux-btn.warm-btn {
  background: linear-gradient(180deg, #fff 0%, #fef6ea 100%);
  color: #d75f4a;
  border: 2px solid rgba(255,255,255,1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.03em;
}
.cta-lux-btn.warm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.22);
}
.cta-lux-note {
  font-size: 10px;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.02em;
  margin-top: 10px;
  min-height: 17px;
}
.cta-lux-note u { text-underline-offset: 2px; }

/* オレンジカード内: 横3つのミニボタン */
.cta-lux-mini-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.cta-lux-mini {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 10px 6px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 11px; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: all .2s;
  line-height: 1.2;
  backdrop-filter: blur(4px);
}
.cta-lux-mini:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}
.cta-lux-mini svg { color: #fff; }
.cta-lux-mini span { display: block; }

/* Hero: split for B theme */
body.theme-b .hero { padding: 100px 0 120px; }

.hero-stats {
  display: flex; gap: 40px; margin-top: 60px;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 900px;
}
.hero-stat-value {
  font-family: var(--font-serif); font-size: 40px; font-weight: 700;
  line-height: 1; letter-spacing: 0.01em;
}
.hero-stat-value .u { font-size: 18px; margin-left: 4px; }
body.theme-b .hero-stat-value { color: var(--accent); }
.hero-stat-label {
  font-size: 12px; opacity: 0.75; margin-top: 8px; letter-spacing: 0.08em;
}

/* ==========================
   Section common
========================== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--bg-dark); color: #fff;
}
.section-dark .section-title,
.section-dark .section-eyebrow { color: #fff; }
.section-dark .section-eyebrow { opacity: 0.7; }

.section-head { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  font-size: 12px; letter-spacing: 0.35em; font-weight: 600;
  color: var(--primary); margin-bottom: 14px;
}
body.theme-b .section-eyebrow { color: var(--accent); }
.section-title {
  font-family: var(--font-serif);
  font-size: 40px; line-height: 1.4; font-weight: 700;
  letter-spacing: 0.03em; color: var(--text);
  text-wrap: balance;
}
.section-title .accent { color: var(--primary); }
body.theme-b .section-title .accent { color: var(--accent); }
.section-sub {
  margin-top: 20px; color: var(--text-mute); font-size: 15px; line-height: 1.9;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.section-dark .section-sub { color: rgba(255,255,255,0.75); }

/* ==========================
   3 Points strip
========================== */
.points {
  background: var(--primary);
  color: #fff; padding: 40px 0;
}
body.theme-b .points {
  background: var(--primary);
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
}

.points-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  align-items: center;
}
.point {
  display: flex; align-items: center; gap: 20px;
  padding: 8px 0;
  border-right: 1px solid rgba(255,255,255,0.18);
  padding-right: 20px;
}
.point:last-child { border-right: none; }

.point-num {
  font-family: var(--font-serif);
  font-size: 44px; font-weight: 700;
  color: var(--accent); line-height: 1;
  flex-shrink: 0;
}
.point-title {
  font-size: 18px; font-weight: 700; margin-bottom: 4px;
  font-family: var(--font-serif);
}
.point-sub { font-size: 12px; opacity: 0.8; letter-spacing: 0.05em; }

/* ==========================
   Business (2 columns big cards)
========================== */
.biz-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center; margin-bottom: 80px;
}
.biz-intro-visual {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 4px;
  background: var(--bg-alt);
}
.biz-intro-visual img { width: 100%; height: 100%; object-fit: cover; }
.biz-intro h3 {
  font-family: var(--font-serif);
  font-size: 32px; line-height: 1.5; margin-bottom: 24px;
}
.biz-intro p {
  color: var(--text-mute); font-size: 15px; line-height: 2;
}
.biz-intro .accent-bar {
  width: 40px; height: 3px; background: var(--primary);
  margin-bottom: 20px;
}
body.theme-b .biz-intro .accent-bar { background: var(--accent); }

.biz-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.biz-card {
  background: #fff; border: 1px solid var(--line);
  padding: 40px; border-radius: 6px;
  transition: all .3s;
  position: relative; overflow: hidden;
}
body.theme-b .biz-card { background: var(--bg); border-color: var(--line); }
.biz-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.biz-card-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--primary); border: 1px solid var(--primary);
  padding: 4px 10px; margin-bottom: 20px;
}
body.theme-b .biz-card-tag { color: var(--accent); border-color: var(--accent); }

.biz-card h4 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.4;
}
.biz-card h4 .en {
  display: block; font-size: 11px; letter-spacing: 0.25em;
  color: var(--text-mute); font-family: var(--font-sans); font-weight: 500;
  margin-bottom: 8px;
}
.biz-card p { color: var(--text-mute); font-size: 14px; margin-bottom: 24px; }
.biz-card-features {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  font-size: 13px; margin-bottom: 28px;
}
.biz-card-features li {
  padding-left: 22px; position: relative;
}
.biz-card-features li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 700;
}
body.theme-b .biz-card-features li::before { color: var(--accent); }
.biz-card-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  border-bottom: 1px solid var(--primary); padding-bottom: 2px;
}
body.theme-b .biz-card-link { color: var(--accent); border-color: var(--accent); }

/* ==========================
   USP: Only-in-Japan
========================== */
.usp {
  padding: 100px 0;
  background: var(--bg-dark);
  color: #fff;
  position: relative; overflow: hidden;
}
.usp::before {
  content: ''; position: absolute; inset: 0;
  background: url('assets/tokyo-building.jpg') center/cover;
  opacity: 0.12; filter: grayscale(1);
}
.usp-inner { position: relative; z-index: 1; text-align: center; }
.usp-eyebrow {
  font-size: 11px; letter-spacing: 0.5em; opacity: 0.65; margin-bottom: 18px;
}
.usp h2 {
  font-family: var(--font-serif);
  font-size: 46px; line-height: 1.5; margin-bottom: 28px;
  text-wrap: balance;
}
.usp h2 .highlight {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 4px;
}
.usp p {
  max-width: 720px; margin: 0 auto; font-size: 15px; line-height: 2.1;
  opacity: 0.85;
}

/* ==========================
   Worries checklist
========================== */
.worries-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 900px; margin: 0 auto;
}
.worry {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 24px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 4px; font-size: 15px; font-weight: 500;
}
body.theme-b .worry { background: var(--bg); }
.worry::before {
  content: '✔'; color: var(--primary); font-weight: 700;
  font-size: 18px; flex-shrink: 0;
}
body.theme-b .worry::before { color: var(--accent); }

/* ==========================
   Why us / Reasons
========================== */
.reasons-section { position: relative; overflow: hidden; }
.reasons-watermark {
  position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-serif); font-weight: 800;
  font-size: 110px; line-height: 1; letter-spacing: 0.05em;
  color: var(--primary); opacity: 0.06;
  white-space: nowrap; pointer-events: none; z-index: 0;
  user-select: none;
}
body.theme-b .reasons-watermark { color: var(--accent); opacity: 0.08; }
.reasons-section .container { position: relative; z-index: 1; }
.reasons-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.reason {
  background: #fff; border: 1px solid var(--line);
  padding: 40px 30px; border-radius: 6px; position: relative;
  transition: all .25s;
}
body.theme-b .reason { background: var(--bg); }
.reason:hover { border-color: var(--primary); }
.reason-num {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 700; line-height: 1;
  color: var(--line); letter-spacing: 0.05em;
}
body.theme-b .reason-num { color: rgba(201,169,97,0.25); }
.reason-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
}
body.theme-b .reason-icon { background: var(--accent); color: var(--primary); }
.reason h4 {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  margin-bottom: 12px; line-height: 1.5;
}
.reason p { font-size: 14px; color: var(--text-mute); line-height: 1.9; }

/* ==========================
   Flow / STEP (丸型バッジ+矢印接続)
========================== */
.flow-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.flow-step {
  background: #fff; padding: 44px 24px 32px; border-radius: 10px;
  border: 1px solid var(--line); position: relative;
  text-align: center;
}
body.theme-b .flow-step { background: var(--bg); }
.flow-step:not(:last-child)::after {
  content: '▶'; position: absolute;
  top: 50%; right: -18px; transform: translateY(-50%);
  color: var(--primary); font-size: 14px; z-index: 1;
}
body.theme-b .flow-step:not(:last-child)::after { color: var(--accent); }

.flow-step-badge {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  border: 3px solid #fff;
}
body.theme-b .flow-step-badge { background: var(--accent); color: var(--primary); }
.flow-step h4 {
  font-family: var(--font-serif); font-size: 17px; font-weight: 700;
  margin-top: 10px; margin-bottom: 10px;
}
.flow-step p { font-size: 13px; color: var(--text-mute); line-height: 1.8; }

/* ==========================
   Carousel (Cases / Blog 共通)
========================== */
.carousel {
  position: relative;
}
.carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-item {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 24px; font-weight: 300;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: all .2s;
  line-height: 1;
  padding-bottom: 3px;
}
.carousel-btn:hover {
  background: var(--primary); color: #fff;
  transform: translateY(-50%) scale(1.08);
}
body.theme-b .carousel-btn {
  background: var(--bg); color: var(--primary);
}
body.theme-b .carousel-btn:hover {
  background: var(--accent); color: var(--primary);
}
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

/* ==========================
   Cases
========================== */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.case {
  background: #fff; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden;
  transition: all .25s;
}
body.theme-b .case { background: var(--bg); }
.case:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.case-head {
  padding: 20px 24px;
  background: var(--primary); color: #fff;
  display: flex; justify-content: space-between; align-items: center;
}
body.theme-b .case-head { background: var(--primary); border-bottom: 2px solid var(--accent); }
.case-industry {
  font-family: var(--font-serif); font-size: 18px; font-weight: 700;
}
.case-no { font-size: 11px; opacity: 0.7; letter-spacing: 0.2em; }
.case-body { padding: 24px; }
.case-nums {
  display: flex; gap: 20px; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px dashed var(--line);
}
.case-num-item { flex: 1; }
.case-num-label { font-size: 10px; color: var(--text-mute); letter-spacing: 0.15em; margin-bottom: 4px; }
.case-num-value {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--primary);
}
body.theme-b .case-num-value { color: var(--accent); }
.case-comment {
  font-size: 13px; line-height: 1.9; color: var(--text-mute);
}
.case-comment strong { color: var(--text); font-weight: 700; }

/* ==========================
   FAQ
========================== */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  padding: 24px 60px 24px 50px;
  cursor: pointer; position: relative;
  font-weight: 700; font-size: 15px;
  transition: color .2s;
}
.faq-q::before {
  content: 'Q'; position: absolute; left: 10px; top: 22px;
  font-family: var(--font-serif); font-size: 22px; color: var(--primary);
  font-weight: 700;
}
body.theme-b .faq-q::before { color: var(--accent); }
.faq-q::after {
  content: '+'; position: absolute; right: 16px; top: 20px;
  font-size: 24px; font-weight: 300; color: var(--primary);
  transition: transform .3s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s, padding .35s;
  padding: 0 60px 0 50px;
  color: var(--text-mute); font-size: 14px; line-height: 1.9;
  position: relative;
}
.faq-a::before {
  content: 'A'; position: absolute; left: 10px; top: 0;
  font-family: var(--font-serif); font-size: 22px; color: var(--accent);
  font-weight: 700;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 60px 24px 50px; }
.faq-item.open .faq-a::before { top: 0; }

/* ==========================
   Blog cards
========================== */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}
.blog-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; cursor: pointer;
  transition: all .25s;
  display: block; color: inherit; text-decoration: none;
}
body.theme-b .blog-card { background: var(--bg); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.blog-thumb-en {
  font-family: var(--font-serif); font-size: 42px; font-weight: 700;
  opacity: 0.25; letter-spacing: 0.1em;
}
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: var(--primary);
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  padding: 4px 10px; border-radius: 2px;
}
.blog-body { padding: 22px; }
.blog-date {
  font-size: 11px; color: var(--text-mute); letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.blog-title {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 700; line-height: 1.6;
  margin-bottom: 10px;
}
.blog-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.blog-tag {
  font-size: 10px; padding: 2px 8px;
  background: var(--bg-alt); color: var(--text-mute);
  border-radius: 2px;
}

/* ==========================
   News list
========================== */
.news-list { max-width: 800px; margin: 0 auto; }
.news-item {
  display: grid; grid-template-columns: 120px 100px 1fr;
  gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line);
  align-items: center;
}
.news-date { font-size: 13px; color: var(--text-mute); letter-spacing: 0.05em; }
.news-cat {
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--primary); border: 1px solid var(--primary);
  padding: 3px 8px; text-align: center; border-radius: 2px;
}
body.theme-b .news-cat { color: var(--accent); border-color: var(--accent); }
.news-title { font-size: 14px; font-weight: 500; }

/* ==========================
   Company table
========================== */
.company-table {
  max-width: 900px; margin: 0 auto;
  border-top: 2px solid var(--primary);
}
body.theme-b .company-table { border-top-color: var(--accent); }
.company-row {
  display: grid; grid-template-columns: 200px 1fr;
  padding: 20px 20px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.company-label {
  font-weight: 700; color: var(--primary); font-size: 14px;
}
body.theme-b .company-label { color: var(--text); }
.company-value { font-size: 14px; color: var(--text); line-height: 1.9; }

/* ==========================
   Contact CTA (footer top)
========================== */
.contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff; padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
body.theme-b .contact-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-top: 3px solid var(--accent);
}
.contact-cta h2 {
  font-family: var(--font-serif); font-size: 30px; font-weight: 700;
  margin-bottom: 16px; letter-spacing: 0.03em;
}
.contact-cta p { font-size: 14px; opacity: 0.85; margin-bottom: 36px; }
.contact-buttons {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
}
.contact-btn {
  background: #fff; color: var(--primary);
  padding: 20px 40px; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 12px;
  cursor: pointer; transition: transform .2s;
  border: none; font-family: inherit;
  min-width: 280px; justify-content: center;
}
.contact-btn.tel {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
}
.contact-btn.tel .num {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
}
.contact-btn:hover { transform: translateY(-2px); }
body.theme-b .contact-btn { background: var(--accent); color: var(--primary); }
body.theme-b .contact-btn.tel { background: transparent; color: #fff; border-color: var(--accent); }

/* ==========================
   Footer
========================== */
.footer {
  background: #0a0f1a; color: #cfd6e2;
  padding: 60px 0 30px;
}
body.theme-b .footer { background: #050f22; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-jp { color: #fff; }
.footer-brand .logo-en { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 12px; margin-top: 16px; line-height: 1.9; opacity: 0.7; }

/* Footer 関連サイト(reiwa-factoring.jp 導線) */
.footer-related {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.15);
}
.footer-related-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-related-link {
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: color .2s;
  line-height: 1.5;
  white-space: nowrap;
}
.footer-related-link .footer-related-arrow {
  margin-left: 4px;
}
.footer-related-link:hover {
  color: var(--accent);
}
.footer-related-arrow {
  color: var(--accent);
  font-size: 13px;
}
.footer h5 {
  font-size: 12px; font-weight: 700; letter-spacing: 0.15em;
  color: #fff; margin-bottom: 16px;
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 12px; opacity: 0.7; cursor: pointer; }
.footer ul li:hover { opacity: 1; }
.footer-bottom {
  padding-top: 24px; font-size: 11px; opacity: 0.6;
  display: flex; justify-content: space-between;
}

/* ==========================
   Section switching (tabs)
========================== */
.page-section { display: none; }
.page-section.active { display: block; }

/* ==========================
   Blog card 表紙画像対応
========================== */
.blog-thumb {
  position: relative;
  overflow: hidden;
}
.blog-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.blog-card:hover .blog-thumb-img {
  transform: scale(1.05);
}
.blog-cat {
  z-index: 2;
}

/* ==========================
   Blog list - category sections
========================== */
.blog-cat-section + .blog-cat-section { margin-top: 48px; }
.blog-cat-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 20px; flex-wrap: wrap;
}
.blog-cat-section-title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.blog-cat-section-title .tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent); background: var(--primary);
  padding: 4px 10px; border-radius: 2px;
}
.blog-cat-section-more {
  font-size: 13px; color: var(--text-mute); text-decoration: none;
  white-space: nowrap;
}
.blog-cat-section-more:hover { color: var(--primary); }

/* 横型カード(画像左・テキスト右) - 全セクション共通 */
.blog-row-card {
  display: flex; gap: 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; cursor: pointer;
  transition: all .25s; text-decoration: none; color: inherit;
}
body.theme-b .blog-row-card { background: var(--bg); }
.blog-row-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.blog-row-thumb {
  position: relative; flex: 0 0 160px; aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff;
}
.blog-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-row-body { flex: 1; padding: 14px 16px 14px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.blog-row-title {
  font-family: var(--font-serif); font-size: 14px; font-weight: 700; line-height: 1.6;
  margin-bottom: 6px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* 横スクロールカルーセル(帯状レール) */
.blog-row-track {
  display: flex; gap: 16px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.blog-row-track::-webkit-scrollbar { display: none; }
.blog-row-track .blog-row-card {
  flex: 0 0 360px; scroll-snap-align: start;
}
@media (max-width: 640px) {
  .blog-row-track .blog-row-card { flex: 0 0 82%; }
  .blog-row-thumb { flex: 0 0 110px; }
  .blog-row-body { padding: 10px 12px 10px 0; }
  .blog-row-title { font-size: 13px; }
  .blog-row-card .blog-tags { display: none; }
}

/* 記事一覧: すべて見るトグル */
.blog-toggle-wrap { text-align: center; margin-top: 20px; }
.blog-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--primary);
  background: #fff; border: 1px solid var(--line); border-radius: 30px;
  padding: 12px 28px; cursor: pointer; transition: all .2s;
}
.blog-toggle-btn:hover { background: var(--primary); color: #fff; }
.blog-toggle-btn .chevron { transition: transform .2s; }
.blog-toggle-btn.open .chevron { transform: rotate(180deg); }
.blog-list-row { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }

/* ==========================
   Blog detail (SEO最適化長文記事対応)
========================== */
.blog-detail { max-width: 820px; margin: 0 auto; padding: 40px 0 60px; }

/* パンくず */
.blog-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-mute);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.blog-breadcrumb a {
  color: var(--primary); cursor: pointer;
  text-decoration: underline;
}
body.theme-b .blog-breadcrumb a { color: var(--accent); }
.blog-breadcrumb span { color: var(--text-mute); }

.blog-detail h1 {
  font-family: var(--font-serif);
  font-size: 34px; line-height: 1.5; margin: 12px 0 20px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.blog-detail-meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; color: var(--text-mute); margin-bottom: 16px;
  flex-wrap: wrap;
}
.blog-lead {
  background: var(--bg-alt);
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  font-size: 15px; line-height: 1.9;
  color: var(--text);
  margin-bottom: 32px;
}

/* 目次 */
.blog-detail .toc {
  background: var(--bg-alt);
  padding: 24px 28px;
  border-radius: 6px;
  margin-bottom: 40px;
  border: 1px solid var(--line);
}
.blog-detail .toc h4 {
  font-size: 12px; letter-spacing: 0.25em;
  margin-bottom: 14px;
  color: var(--primary); font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
body.theme-b .blog-detail .toc h4 { color: var(--accent); }
.blog-detail .toc ol {
  padding-left: 24px;
  font-size: 14px;
  counter-reset: toc-counter;
  list-style: none;
}
.blog-detail .toc li {
  margin-bottom: 10px;
  counter-increment: toc-counter;
  position: relative;
  padding-left: 8px;
}
.blog-detail .toc li::before {
  content: counter(toc-counter);
  position: absolute;
  left: -18px; top: 0;
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 700;
}
.blog-detail .toc a {
  color: var(--text);
  text-decoration: none;
  transition: color .2s;
}
.blog-detail .toc a:hover {
  color: var(--primary);
  text-decoration: underline;
}
body.theme-b .blog-detail .toc a:hover { color: var(--accent); }

/* 本文 h2/h3/p/ul/li/table */
.blog-body h2 {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  margin: 48px 0 20px;
  padding: 12px 0 12px 18px;
  border-left: 5px solid var(--primary);
  background: linear-gradient(90deg, var(--bg-alt) 0%, transparent 100%);
  scroll-margin-top: 100px;
  color: var(--text);
  line-height: 1.5;
}
body.theme-b .blog-body h2 { border-left-color: var(--accent); }
.blog-body h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
  color: var(--primary);
  line-height: 1.5;
}
body.theme-b .blog-body h3 { color: var(--accent); }
.blog-body p {
  margin-bottom: 18px;
  font-size: 15px; line-height: 2;
  color: var(--text);
}
.blog-body p strong {
  color: var(--primary);
  font-weight: 700;
  background: linear-gradient(transparent 65%, rgba(212,160,23,0.28) 65%);
  padding: 0 2px;
}
body.theme-b .blog-body p strong {
  color: var(--accent);
  background: linear-gradient(transparent 65%, rgba(201,169,97,0.3) 65%);
}
.blog-body ul, .blog-body ol {
  margin: 16px 0 24px 24px;
}
.blog-body li {
  margin-bottom: 10px;
  font-size: 15px; line-height: 1.9;
  color: var(--text);
}
.blog-body ul li { list-style: none; padding-left: 20px; position: relative; }
.blog-body ul li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 900;
}
.blog-body ol li { padding-left: 8px; }
.blog-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
  background: #fff;
}
body.theme-b .blog-body table { background: var(--bg); }
.blog-body table th, .blog-body table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.blog-body table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
}
body.theme-b .blog-body table thead th { background: var(--primary); color: var(--accent); }
.blog-body table tbody tr:nth-child(even) {
  background: var(--bg-alt);
}

/* 記事末CTA */
.blog-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 36px 32px;
  border-radius: 10px;
  margin: 48px 0 40px;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.blog-cta-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
}
.blog-cta-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  line-height: 1.8;
}
.blog-cta-buttons {
  display: flex; gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.blog-cta-btn {
  padding: 14px 28px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.blog-cta-btn.primary {
  background: var(--accent);
  color: var(--primary);
}
.blog-cta-btn.primary:hover {
  background: #f5c754;
  transform: translateY(-2px);
}
.blog-cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
}
.blog-cta-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* 関連記事 */
.blog-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.blog-related h4 {
  font-family: var(--font-serif);
  font-size: 13px; letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
body.theme-b .blog-related h4 { color: var(--accent); border-bottom-color: var(--accent); }
.blog-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.blog-related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all .2s;
}
body.theme-b .blog-related-card { background: var(--bg); }
.blog-related-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}
.blog-related-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.blog-related-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.blog-related-card:hover .blog-related-thumb img { transform: scale(1.06); }
.blog-related-body { padding: 14px 16px; }
.blog-related-cat {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  font-size: 9px; font-weight: 700; letter-spacing: 0.15em;
  padding: 3px 8px;
  margin-bottom: 10px;
}
.blog-related-title {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 8px;
}
.blog-related-date {
  font-size: 11px;
  color: var(--text-mute);
}

/* ==========================
   著者情報(E-E-A-T)
========================== */
.blog-author {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: 8px;
  margin-bottom: 28px;
}
.blog-author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700;
  flex-shrink: 0;
}
body.theme-b .blog-author-avatar { background: var(--accent); color: var(--primary); }
.blog-author-name {
  font-size: 14px; font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.blog-author-role {
  font-size: 11px; color: var(--text-mute);
  letter-spacing: 0.05em;
}

/* ==========================
   表紙画像
========================== */
.blog-cover {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.blog-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ==========================
   本文内 内部リンク
========================== */
.blog-body .internal-link {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid rgba(212,160,23,0.5);
  padding-bottom: 1px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
}
body.theme-b .blog-body .internal-link { color: var(--accent); }
.blog-body .internal-link:hover {
  border-bottom-color: var(--accent);
  background: rgba(212,160,23,0.1);
  padding: 0 2px 1px;
  margin: 0 -2px;
}

/* ==========================
   記事内 FAQ
========================== */
.blog-faq {
  margin: 48px 0 0;
  padding: 32px 0 0;
  border-top: 1px solid var(--line);
}
.blog-faq h2 {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  margin-bottom: 20px !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  color: var(--primary);
}
body.theme-b .blog-faq h2 { color: var(--accent); }
.blog-faq-list {
  display: flex; flex-direction: column; gap: 10px;
}
.blog-faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  transition: all .2s;
}
body.theme-b .blog-faq-item { background: var(--bg); }
.blog-faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
body.theme-b .blog-faq-item.open { border-color: var(--accent); }
.blog-faq-q {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: none; border: none;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}
.blog-faq-q:hover { background: var(--bg-alt); }
.blog-faq-q-label {
  width: 30px; height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
body.theme-b .blog-faq-q-label { background: var(--accent); color: var(--primary); }
.blog-faq-q-text { flex: 1; line-height: 1.5; }
.blog-faq-q-icon {
  font-size: 22px; font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
}
body.theme-b .blog-faq-q-icon { color: var(--accent); }
.blog-faq-a {
  display: flex; gap: 14px;
  padding: 0 20px 20px 20px;
  animation: fadeIn .25s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.blog-faq-a-label {
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 700;
  flex-shrink: 0;
}
.blog-faq-a-text {
  flex: 1;
  font-size: 14px; line-height: 1.9;
  color: var(--text);
  padding-top: 4px;
}

/* CTAタグ */
.blog-cta-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 10px; letter-spacing: 0.1em;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 700;
}

/* Contact form */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px;
}
.form-label .req {
  background: var(--primary); color: #fff;
  font-size: 10px; padding: 2px 6px; margin-left: 6px; border-radius: 2px;
}
body.theme-b .form-label .req { background: var(--accent); color: var(--primary); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 4px;
  font-size: 14px; font-family: inherit; background: #fff;
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-submit {
  width: 100%; padding: 18px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 4px;
  font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.form-submit:hover { background: var(--primary-dark); }
body.theme-b .form-submit { background: var(--accent); color: var(--primary); }

/* ==========================
   Features (betrading風 6グリッド - 大きな線画)
========================== */
.feat6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.feat6-cell {
  padding: 24px 16px;
  text-align: center;
  display: grid;
  grid-template-rows: 150px auto auto 1fr;
  justify-items: center;
  row-gap: 12px;
}
.feat6-icon {
  color: var(--text);
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.feat6-icon svg { width: 130px !important; height: 130px !important; }
body.theme-b .feat6-icon { color: var(--primary); }
.feat6-top {
  font-size: 15px; font-weight: 500; color: var(--text);
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}
.feat6-mid {
  font-size: 13px; color: var(--text-mute); margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}
.feat6-big {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700; line-height: 1.35;
  color: var(--accent);
  margin: 0;
  padding-top: 8px;
  letter-spacing: 0.02em;
  align-self: end;
  white-space: pre-line;
}
body.theme-b .feat6-big { color: var(--accent); }

/* ==========================
   Achievement (刷新)
========================== */
.achievement { padding: 100px 0; }
.achievement-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 60px; align-items: center;
}

/* 左: テキスト */
.ach-lead {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
  line-height: 1.2;
}
.ach-title {
  font-family: var(--font-serif);
  font-size: 36px; line-height: 1.55; font-weight: 700;
  color: var(--primary); margin-bottom: 16px;
  letter-spacing: 0.03em;
}
body.theme-b .ach-title { color: var(--text); }
.ach-title-accent {
  color: var(--accent);
  font-size: 1.15em;
  font-weight: 900;
  padding: 0 4px;
}
.ach-note {
  font-size: 12px; color: var(--text-mute); margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.ach-desc {
  font-size: 14px; line-height: 2; color: var(--text);
  margin-bottom: 18px;
}

/* 右: 実績カード (4つのミニマル・スタッツ) */
.achievement-visual { padding: 0; }
.ach-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ach-stat {
  background: var(--primary);
  color: #fff;
  padding: 26px 20px 20px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.ach-stat::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--accent);
}
body.theme-b .ach-stat {
  background: var(--primary);
  border: 1px solid var(--accent);
}
.ach-stat:hover { transform: translateY(-4px); }

.ach-stat-top {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 500;
}
.ach-stat-num {
  font-family: var(--font-serif);
  color: #fff;
  line-height: 1;
  display: flex; align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
}
.ach-stat-big {
  font-size: 56px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.ach-stat-unit {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.ach-stat-bottom {
  font-size: 9px;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

/* ==========================
   Funding Flow (betrading風 3大STEP + サブ①②③)
========================== */
.funding-flow .ff3-list {
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.ff3-item {
  background: #fff;
  border-radius: 8px;
  padding: 32px 40px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  position: relative;
}
body.theme-b .ff3-item {
  background: var(--bg);
  border-color: var(--line);
}
.ff3-head {
  display: flex; align-items: center; gap: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.ff3-no {
  background: var(--primary); color: #fff;
  padding: 12px 18px; border-radius: 4px;
  text-align: center; min-width: 88px;
  line-height: 1;
}
body.theme-b .ff3-no { background: var(--primary); }
.ff3-no-label {
  font-family: var(--font-serif);
  font-size: 11px; letter-spacing: 0.25em; font-weight: 700;
  margin-bottom: 4px;
}
.ff3-no-num {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 900;
}
body.theme-b .ff3-no-num { color: var(--accent); }
.ff3-title-wrap { flex: 1; }
.ff3-time {
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.ff3-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700; line-height: 1.3;
  color: var(--text);
}
.ff3-body {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ff3-sub {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px;
  background: var(--bg-alt);
  border-radius: 4px;
}
.ff3-sub-i {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
body.theme-b .ff3-sub-i { color: var(--accent); }
.ff3-sub-text {
  font-size: 13px; line-height: 1.7;
  color: var(--text);
  padding-top: 4px;
}
.ff3-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 22px;
  padding: 16px 0;
}
body.theme-b .ff3-arrow { color: var(--accent); }

/* ==========================
   CEO Message セクション (1カラム格調デザイン)
========================== */
.ceo-section {
  position: relative;
  overflow: hidden;
}
.ceo-section::before {
  content: 'MESSAGE';
  position: absolute;
  top: 40px;
  right: -20px;
  font-family: var(--font-serif);
  font-size: 200px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.03;
  letter-spacing: 0.15em;
  z-index: 0;
  pointer-events: none;
}
body.theme-b .ceo-section::before { color: var(--accent); }

.ceo-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 40px;
  position: relative;
  z-index: 1;
}

/* 引用マーク */
.ceo-quote-mark {
  font-family: 'Georgia', 'Noto Serif JP', serif;
  font-size: 180px;
  color: var(--accent);
  opacity: 0.28;
  line-height: 0.7;
  font-weight: 900;
  margin-bottom: 10px;
  user-select: none;
}

/* 大見出し */
.ceo-headline {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 44px;
  padding-bottom: 36px;
  border-bottom: 2px solid var(--line);
  position: relative;
}
.ceo-headline span {
  display: block;
}
.ceo-headline-accent {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.ceo-headline-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  opacity: 0.25;
  z-index: -1;
}
.ceo-headline::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 88px;
  height: 2px;
  background: var(--accent);
}

/* メッセージ本文 */
.ceo-message-body {
  font-size: 16px;
  line-height: 2.2;
  color: var(--text);
}
.ceo-message-body p {
  margin-bottom: 22px;
}
.ceo-message-body p strong {
  color: var(--primary);
  font-weight: 700;
}
body.theme-b .ceo-message-body p strong { color: var(--accent); }
.ceo-emphasis {
  background: linear-gradient(transparent 60%, rgba(212,160,23,0.3) 60%);
  padding: 0 3px;
}
body.theme-b .ceo-emphasis {
  background: linear-gradient(transparent 60%, rgba(201,169,97,0.35) 60%);
}

/* サイン(筆書き風) */
.ceo-signature {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  text-align: right;
}
.ceo-signature-role {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.ceo-signature-name {
  font-family: 'Yuji Mai', 'Shippori Mincho B1', var(--font-serif);
  font-size: 60px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.15em;
  display: inline-block;
  line-height: 1.05;
  transform: rotate(-2deg);
  text-shadow: 0 1px 0 rgba(20,24,31,0.05);
  padding-right: 12px;
  white-space: nowrap;
}

/* ==========================
   Free Consult Page (2段階フォーム)
========================== */
.consult-stepper {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  max-width: 720px; margin: 0 auto 48px;
}
.consult-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--text-mute);
  min-width: 140px;
  text-align: center;
}
.consult-step.current {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(10,61,124,0.2);
}
.consult-step.done:not(.current) {
  background: rgba(212,160,23,0.12);
  color: var(--primary);
}
.consult-step-no {
  font-family: var(--font-serif);
  font-size: 11px; letter-spacing: 0.2em; font-weight: 700;
}
.consult-step-label {
  font-size: 13px; font-weight: 700;
}
.consult-step-line {
  flex: 1;
  max-width: 60px;
  height: 2px;
  background: var(--line);
}

.consult-panel {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 48px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}
body.theme-b .consult-panel { background: var(--bg); }
.consult-panel-head {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.consult-panel-lead {
  font-family: var(--font-serif);
  font-size: 12px; letter-spacing: 0.3em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 12px;
}
.consult-panel-title {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--text);
  line-height: 1.5; margin-bottom: 16px;
}
.consult-panel-desc {
  font-size: 14px; line-height: 1.9; color: var(--text-mute);
}
.consult-panel-desc strong { color: var(--primary); font-weight: 700; }
body.theme-b .consult-panel-desc strong { color: var(--accent); }

.docs-required {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.doc-required-card {
  background: var(--bg-alt);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
}
body.theme-b .doc-required-card { background: var(--bg); border-color: var(--accent); }
.doc-required-tag {
  display: inline-block;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
  padding: 4px 12px; border-radius: 999px;
  margin-bottom: 16px;
}
body.theme-b .doc-required-tag { background: var(--accent); color: var(--primary); }
.doc-required-icon {
  color: var(--primary);
  margin-bottom: 16px;
}
body.theme-b .doc-required-icon { color: var(--accent); }
.doc-required-title {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.doc-required-sub {
  font-size: 13px; color: var(--text-mute);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}
.doc-required-sub strong { color: var(--accent); font-weight: 900; }
.doc-required-list {
  list-style: none; text-align: left;
  font-size: 12px; color: var(--text);
}
.doc-required-list li {
  padding: 4px 0 4px 18px; position: relative;
  line-height: 1.7;
}
.doc-required-list li::before {
  content: '・';
  position: absolute; left: 2px; top: 4px;
  color: var(--accent); font-weight: 700;
}

.form-hint {
  font-size: 11px; color: var(--text-mute); margin-top: 6px;
}

.consult-extra-divider {
  margin: 36px 0 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--line);
}
.consult-extra-divider-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--primary);
  margin-bottom: 10px;
}
body.theme-b .consult-extra-divider-label { color: var(--accent); }
.consult-extra-divider-note {
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-mute);
  background: var(--bg-alt);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 0;
}
.consult-extra-divider-note strong {
  color: var(--text);
}

.form-label .lp-form-opt {
  font-size: 10px;
  background: #9aa7b5;
  color: #fff;
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}

.consult-btn-row {
  display: flex; gap: 12px;
  margin-top: 24px;
}
.form-submit-back {
  padding: 16px 24px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  min-width: 100px;
}
.form-submit-back:hover { background: var(--line); }
.consult-btn-row .form-submit { flex: 1; }

.consult-done {
  text-align: center;
  padding: 60px 48px;
}
.consult-done-icon {
  color: var(--accent);
  margin: 0 auto 20px;
  width: 72px; height: 72px;
}
.consult-done-title {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700; color: var(--primary);
  margin-bottom: 20px;
}
body.theme-b .consult-done-title { color: var(--accent); }
.consult-done-desc {
  font-size: 15px; line-height: 2; color: var(--text);
  margin-bottom: 32px;
}
.consult-done-info {
  max-width: 400px; margin: 0 auto;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 16px 20px;
}
.consult-done-info-row {
  display: flex; justify-content: space-between; align-items: center;
}
.consult-done-info-label {
  font-size: 12px; color: var(--text-mute); font-weight: 700;
}
.consult-done-info-value {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 700; color: var(--primary);
}
body.theme-b .consult-done-info-value { color: var(--accent); }

/* ==========================
   Responsive
========================== */
/* ==========================
   Strengths / 選ばれる理由
========================== */
.growth-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 1000px; margin: 0 auto;
}
.growth-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}
body.theme-b .growth-block { background: var(--bg); }
.growth-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
}
body.theme-b .growth-title { color: var(--accent); border-bottom-color: var(--accent); }
.growth-chart {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: 240px;
  align-items: end;
}
.growth-bar {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; height: 100%; justify-content: flex-end;
  position: relative;
}
.growth-bar-value {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; color: var(--text-mute);
  line-height: 1;
}
.growth-bar-value span { font-size: 12px; margin-left: 2px; font-weight: 500; }
.growth-bar-visual {
  width: 100%; max-width: 70px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 4px 4px 0 0;
  min-height: 30px;
  transition: height .6s;
}
body.theme-b .growth-bar-visual {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
}
.growth-bar.current .growth-bar-visual {
  background: linear-gradient(180deg, var(--accent) 0%, #b7861a 100%);
}
body.theme-b .growth-bar.current .growth-bar-visual {
  background: linear-gradient(180deg, var(--accent) 0%, var(--b-accent-dark) 100%);
}
.growth-bar.current .growth-bar-value {
  color: var(--accent); font-size: 22px;
}
.growth-bar-year {
  font-size: 13px; color: var(--text-mute); font-weight: 700;
  letter-spacing: 0.05em;
}

/* Differentiators */
.diff-list {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.diff-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: all .25s;
}
body.theme-b .diff-item { background: var(--bg); }
.diff-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.diff-num {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 900; color: var(--accent);
  line-height: 1; flex-shrink: 0;
}
.diff-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.diff-desc {
  font-size: 13px; line-height: 1.9; color: var(--text-mute);
}

/* Compare Table */
.compare-table-wrap {
  max-width: 900px; margin: 0 auto;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}
body.theme-b .compare-table { background: var(--bg); }
.compare-table th, .compare-table td {
  padding: 16px 18px;
  text-align: center;
  border: 1px solid var(--line);
}
.compare-table thead th {
  background: var(--bg-alt);
  font-weight: 700; font-size: 14px;
  color: var(--text);
}
.compare-table thead th.highlight {
  background: var(--primary);
  color: #fff;
}
body.theme-b .compare-table thead th.highlight {
  background: var(--primary); color: var(--accent);
  border-top: 3px solid var(--accent);
}
.compare-table tbody th {
  background: var(--bg-alt);
  text-align: left; font-weight: 700;
  font-size: 13px;
  width: 30%;
}
.compare-table td.highlight {
  background: rgba(212,160,23,0.08);
  font-weight: 700; color: var(--primary);
}
body.theme-b .compare-table td.highlight {
  background: rgba(201,169,97,0.12); color: var(--text);
}

/* ==========================
   Flow Page / ご利用の流れ詳細
========================== */
.flow-detail-list {
  max-width: 900px; margin: 0 auto;
}
.flow-detail-item {
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
body.theme-b .flow-detail-item { background: var(--bg); }
.flow-detail-head {
  display: flex; align-items: flex-start; gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}
.flow-detail-no {
  background: var(--primary); color: #fff;
  padding: 14px 20px; border-radius: 4px;
  text-align: center; min-width: 90px;
  line-height: 1;
  flex-shrink: 0;
}
.flow-detail-no-label {
  font-family: var(--font-serif);
  font-size: 11px; letter-spacing: 0.25em; font-weight: 700;
  margin-bottom: 6px;
}
.flow-detail-no-num {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 900;
}
body.theme-b .flow-detail-no-num { color: var(--accent); }
.flow-detail-time {
  font-size: 12px; color: var(--text-mute);
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.flow-detail-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700; line-height: 1.4;
  color: var(--text);
  margin-bottom: 8px;
}
.flow-detail-lead {
  font-size: 14px; color: var(--text-mute); line-height: 1.8;
}
.flow-detail-subs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.flow-detail-sub {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: 6px;
  display: flex; gap: 14px;
  align-items: flex-start;
}
.flow-detail-sub-i {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.flow-detail-sub-title {
  font-size: 14px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
}
.flow-detail-sub-text {
  font-size: 12px; line-height: 1.8;
  color: var(--text-mute);
}
.flow-detail-arrow {
  text-align: center;
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 20px;
}

/* Documents */
.docs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px; margin: 0 auto;
}
.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  transition: all .25s;
}
body.theme-b .doc-card { background: var(--bg); }
.doc-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.doc-icon {
  color: var(--primary);
  margin-bottom: 20px;
}
body.theme-b .doc-icon { color: var(--accent); }
.doc-tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 10px;
  margin-bottom: 16px;
}
.doc-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 8px;
}
.doc-sub {
  font-size: 13px; color: var(--text-mute); margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line);
}
.doc-list {
  list-style: none;
  text-align: left;
  font-size: 13px;
  color: var(--text);
}
.doc-list li {
  padding: 8px 0 8px 22px; position: relative;
  line-height: 1.7;
}
.doc-list li::before {
  content: '・';
  position: absolute; left: 4px; top: 8px;
  color: var(--accent); font-weight: 700;
}

/* ==========================
   Pioneer / 会社紹介
========================== */
.pioneer { background: var(--bg-alt); padding: 100px 0; }
.pioneer-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
.pioneer-eyebrow {
  font-size: 14px; letter-spacing: 0.1em; color: var(--text-mute);
  margin-bottom: 12px;
}
.pioneer-title {
  font-family: var(--font-serif);
  font-size: 52px; font-weight: 900; line-height: 1.4;
  margin-bottom: 24px; color: var(--text);
  letter-spacing: 0.04em;
}
.pioneer-title .accent { color: var(--accent); font-size: 1.15em; }
.pioneer-title-accent { display: inline-block; white-space: nowrap; }
.pioneer-lead {
  font-family: var(--font-serif);
  font-size: 18px; color: var(--primary);
  margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 2px solid var(--primary);
}
body.theme-b .pioneer-lead { color: var(--accent); border-bottom-color: var(--accent); }
.pioneer-desc {
  font-size: 14px; line-height: 2; color: var(--text);
  margin-bottom: 16px;
}
.pioneer-visual {
  position: relative;
  aspect-ratio: 5/4;
}
.pioneer-image {
  width: 100%; height: 100%;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.pioneer-image img { width: 100%; height: 100%; object-fit: cover; }
.pioneer-badge {
  position: absolute;
  right: -20px; bottom: -20px;
  background: var(--primary); color: #fff;
  padding: 30px 34px;
  border-radius: 6px;
  border: 3px solid var(--accent);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  text-align: center;
  width: max-content;
  max-width: calc(100% - 20px);
}
body.theme-b .pioneer-badge { background: var(--bg-dark); }
.pioneer-badge-label {
  font-size: 12px; letter-spacing: 0.25em;
  color: var(--accent); font-weight: 700;
  margin-bottom: 10px;
}
.pioneer-badge-main {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 700; line-height: 1.4;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.pioneer-badge-sub {
  font-size: 10px; letter-spacing: 0.25em; opacity: 0.75;
  font-weight: 600;
}

/* ==========================
   Factoring About (トップ用 3者関係図)
========================== */
.fact-about { background: var(--bg-alt); }
.fact-about-head { text-align: center; margin-bottom: 56px; }
.fact-about-lead {
  font-size: 16px; font-weight: 700; color: var(--text);
  margin-bottom: 12px;
}
.fact-about-title {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 700; line-height: 1.5;
  color: var(--accent);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.fact-about-title .marker {
  background: linear-gradient(transparent 62%, rgba(212,160,23,0.28) 62%);
  padding: 0 4px;
}
body.theme-b .fact-about-title .marker {
  background: linear-gradient(transparent 62%, rgba(201,169,97,0.32) 62%);
}
.fact-about-desc {
  font-size: 15px; line-height: 2; color: var(--text);
  max-width: 700px; margin: 0 auto 20px;
}
.fact-about-note {
  font-size: 12px; color: var(--text-mute);
}

.fact-diagram {
  display: flex; align-items: center; justify-content: center;
  gap: 20px;
  max-width: 900px; margin: 0 auto 48px;
  flex-wrap: nowrap;
}
.fact-node {
  display: flex; flex-direction: column; align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.fact-node-circle {
  width: 160px; height: 160px; border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}
body.theme-b .fact-node-circle { background: var(--bg); color: var(--primary); }
.fact-node-brand {
  flex-direction: column; gap: 4px;
  border: 2px solid var(--primary);
}
body.theme-b .fact-node-brand { border-color: var(--accent); }
.fact-node-brand-jp {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.08em;
}
body.theme-b .fact-node-brand-jp { color: var(--primary); }
.fact-node-brand-en {
  font-size: 9px; letter-spacing: 0.2em; color: var(--text-mute);
  font-weight: 600;
}
.fact-node-label {
  font-size: 14px; font-weight: 700; color: var(--text);
  letter-spacing: 0.05em;
}
.fact-dash {
  flex: 1;
  min-width: 30px; max-width: 60px;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--text-mute) 0 6px, transparent 6px 12px);
  opacity: 0.5;
}

.fact-about-cta { text-align: center; }
.fact-cta-btn {
  background: var(--primary); color: #fff;
  border: none; padding: 18px 40px;
  font-family: inherit; font-size: 15px; font-weight: 700;
  border-radius: 4px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 14px;
  transition: all .25s;
  box-shadow: 0 6px 20px rgba(10,61,124,0.18);
}
.fact-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10,61,124,0.28); }
.fact-cta-btn span { font-size: 18px; }
body.theme-b .fact-cta-btn { background: var(--accent); color: var(--primary); box-shadow: 0 6px 20px rgba(201,169,97,0.28); }

/* ==========================
   Factoring Page - Service Selector
========================== */
.svc-select-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.svc-select-grid.three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}
.svc-select-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary);
  font-size: 10px; font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.15em;
  white-space: nowrap;
  z-index: 2;
}
.svc-select-card.featured::before {
  background: linear-gradient(90deg, var(--accent) 0%, #b7861a 100%);
  height: 6px;
}
.svc-select-card {
  background: var(--primary);
  color: #fff;
  padding: 40px 32px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
body.theme-b .svc-select-card { background: var(--primary); border: 1px solid var(--accent); }
.svc-select-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--accent);
}
.svc-select-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(10,61,124,0.25); }
.svc-select-num {
  position: absolute; top: 16px; right: 24px;
  font-family: var(--font-serif);
  font-size: 60px; font-weight: 900; opacity: 0.15; line-height: 1;
}
.svc-select-tag {
  display: inline-block;
  font-size: 12px; padding: 4px 14px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}
.svc-select-title {
  font-family: var(--font-serif);
  font-size: 32px; font-weight: 700; line-height: 1.35;
  margin-bottom: 20px;
}
.svc-select-arrow {
  font-size: 13px; font-weight: 600; opacity: 0.9;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 16px; margin-top: 4px;
}

/* ==========================
   Factoring Diagram (2社間/3社間 図解)
========================== */
.svc-type-diagram {
  max-width: 880px; margin: 0 auto 60px;
}
.fact-diagram-box {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 10px;
  padding: 40px 40px 32px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
body.theme-b .fact-diagram-box { background: var(--bg); border-color: var(--accent); }
.fact-diagram-tag {
  position: absolute;
  top: -20px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 10px 32px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  letter-spacing: 0.05em;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
body.theme-b .fact-diagram-tag {
  background: var(--accent); color: var(--primary);
  border-color: var(--bg);
}
.fact-diagram-lead {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  margin: 24px 0 20px;
  font-weight: 500;
}
.fact-diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}
.fact-diagram-points {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.fact-diagram-point {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 4px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; line-height: 1.6;
  color: var(--text);
}
.fact-diagram-point strong {
  color: var(--primary);
  font-weight: 700;
}
body.theme-b .fact-diagram-point strong { color: var(--accent); }
.fact-diagram-point-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
body.theme-b .fact-diagram-point-icon { color: var(--primary); }

/* ==========================
   Factoring Page - Service Type Section
========================== */
.svc-type-head {
  display: flex; align-items: center; gap: 28px;
  max-width: 900px; margin: 0 auto 32px;
  padding-bottom: 24px; border-bottom: 2px solid var(--primary);
}
body.theme-b .svc-type-head { border-bottom-color: var(--accent); }
.svc-type-no {
  font-family: var(--font-serif);
  font-size: 72px; font-weight: 900; line-height: 1;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.svc-type-sub {
  font-size: 13px; color: var(--text-mute); letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.svc-type-title {
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 700; line-height: 1.3;
  color: var(--text);
}
.svc-type-desc {
  max-width: 900px; margin: 0 auto 60px;
  font-size: 15px; line-height: 2; color: var(--text);
}
.svc-type-desc p { margin-bottom: 16px; }

.svc-type-features-head {
  text-align: center;
  margin-bottom: 32px;
}
.svc-type-features-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700; color: var(--primary);
  margin-top: 4px;
}
body.theme-b .svc-type-features-title { color: var(--text); }

.svc-features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px; margin: 0 auto 48px;
}
.svc-feature {
  background: #fff; border: 1px solid var(--line);
  padding: 32px 20px 24px; border-radius: 8px;
  text-align: center;
  transition: all .25s;
}
body.theme-b .svc-feature { background: var(--bg); }
.svc-feature:hover { border-color: var(--accent); transform: translateY(-4px); }
.svc-feature-icon {
  color: var(--primary);
  margin-bottom: 16px;
  height: 70px;
  display: flex; align-items: center; justify-content: center;
}
body.theme-b .svc-feature-icon { color: var(--accent); }
.svc-feature-top {
  font-size: 13px; font-weight: 700; color: var(--text);
  line-height: 1.6; margin-bottom: 16px;
  min-height: 42px;
  white-space: pre-line;
}
.svc-feature-big {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.svc-feature-unit {
  font-family: var(--font-serif);
  font-size: 24px; font-weight: 900;
  color: var(--accent);
  margin-left: 6px;
}
body.theme-b .svc-feature-unit { color: var(--accent); }
.svc-feature-note {
  font-size: 10px; color: var(--text-mute);
  margin-top: 6px; letter-spacing: 0.05em;
}

.svc-recommend {
  max-width: 720px; margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: 28px 32px;
  position: relative;
}
body.theme-b .svc-recommend {
  background: var(--bg); border-color: var(--accent);
}
.section-alt .svc-recommend { background: #fff; }
body.theme-b .section-alt .svc-recommend { background: var(--bg); }
.svc-recommend-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; color: var(--primary);
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 16px;
}
body.theme-b .svc-recommend-title { color: var(--accent); }
.svc-recommend ul {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.svc-recommend li {
  font-size: 14px; padding-left: 24px; position: relative;
}
.svc-recommend li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}

/* デスクトップ狭め: 1200-950 まではデスクトップレイアウト維持 */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
}

/* ヘッダーの狭幅対応 */
@media (max-width: 1100px) {
  .header-cta-btn { min-width: 150px; padding: 6px 14px; }
  .header-cta-main { font-size: 12px; }
  .header-cta-label { font-size: 9px; }
  .header-tel { font-size: 20px; }
}
@media (max-width: 900px) {
  .header-tel-wrap { display: none; }
}
@media (max-width: 720px) {
  .header-ctas .header-cta-btn.light { display: none; }
  .header-cta-btn { min-width: unset; }
}

/* 900〜950は狭幅デスクトップ扱い: 主要グリッドは維持しつつサイズ縮小 */
@media (max-width: 1050px) {
  .feat6-icon { height: 120px; }
  .feat6-icon svg { width: 110px; height: 110px; }
  .feat6-big { font-size: 24px; }
  .ach-title { font-size: 28px; }
  .ach-stat-big { font-size: 44px; }
  .ach-stat { padding: 20px 16px 16px; }
  .achievement-grid { gap: 32px; }
  .achievement h2 { font-size: 30px !important; }
  .ff3-item { padding: 24px; }
  .ff3-title { font-size: 22px; }
  .hero-title { font-size: 44px; }
  .section-title { font-size: 30px; }
  .svc-features { grid-template-columns: repeat(2, 1fr); }
  .svc-type-title { font-size: 26px; }
  .svc-type-no { font-size: 56px; }
  .fact-diagram-box { padding: 32px 20px 24px; }
  .fact-diagram-tag { font-size: 16px; padding: 8px 24px; }
  .fact-diagram-points { grid-template-columns: 1fr; }
  .fact-about-title { font-size: 26px; }
  .fact-node-circle { width: 120px; height: 120px; }
  .fact-node-circle svg { width: 56px; height: 56px; }
  .fact-node-brand-jp { font-size: 16px; }
  .fact-node-brand-en { font-size: 8px; }
  .fact-dash { min-width: 16px; max-width: 40px; }
  .growth-wrap { grid-template-columns: 1fr; }
  .diff-list { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .flow-detail-item { padding: 24px; }
  .flow-detail-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .flow-detail-subs { grid-template-columns: 1fr; }
  .flow-detail-title { font-size: 22px; }
  .compare-table th, .compare-table td { padding: 10px 8px; font-size: 12px; }
  .pioneer-grid { grid-template-columns: 1fr; gap: 40px; }
  .pioneer-title { font-size: 30px; }
  .pioneer-visual { max-width: 500px; margin: 0 auto; }
  .pioneer-badge { right: 10px; bottom: -30px; padding: 20px 22px; max-width: none; }
  .pioneer-badge-main { font-size: 17px; }
  .pioneer-badge-label { font-size: 11px; }
}

/* タブレット幅で必要最低限だけ折り返す */
@media (max-width: 860px) {
  .svc-select-grid.three { grid-template-columns: 1fr; gap: 14px; }
  .hero-title { font-size: 36px; }
  .section-title { font-size: 28px; }
  .usp h2 { font-size: 28px; }
  .hero-cta-grid, .biz-cards, .biz-intro, .worries-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  .reasons-grid, .cases-grid, .flow-grid {
    grid-template-columns: 1fr 1fr;
  }
  .flow-step:not(:last-child)::after { display: none; }
  .points-grid { grid-template-columns: 1fr; }
  .point { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 20px; padding-right: 0; }
  .nav { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .company-row { grid-template-columns: 120px 1fr; }
  .news-item { grid-template-columns: 100px 1fr; }
  .news-item .news-cat { display: none; }
  .feat6-grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
  .feat6-icon { height: 110px; }
  .feat6-icon svg { width: 100px; height: 100px; }
  .feat6-big { font-size: 22px; }
  .achievement-grid { grid-template-columns: 1fr; gap: 30px; }
  .ach-stats { max-width: 480px; margin: 0 auto; }
  .ff3-item { padding: 24px; }
  .ff3-head { gap: 16px; }
  .ff3-title { font-size: 20px; }
  .ff3-body { grid-template-columns: 1fr; }
  .svc-select-grid { grid-template-columns: 1fr; }
  .svc-type-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .svc-recommend ul { grid-template-columns: 1fr; }
}

/* ==========================
   Hero Badges (数値即訴求バッジ帯)
========================== */
.hero-badges {
  background: var(--primary-dark);
  padding: 36px 0 42px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
body.theme-b .hero-badges {
  background: var(--primary-dark);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}
.hero-badges-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.hero-badge {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  color: #1a1206;
  width: 128px; height: 128px;
  margin: 0 auto;
  background: linear-gradient(135deg, #ffd166, #ff9f1c);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  padding: 10px;
}
body.theme-b .hero-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark, var(--accent)));
}
.hero-badge-icon {
  font-size: 18px; margin-bottom: 2px; color: #7a3e00;
  font-family: var(--font-serif); font-weight: 700;
}
.hero-badge-value {
  font-family: var(--font-serif); font-size: 19px; font-weight: 800;
  line-height: 1.15; margin-bottom: 3px;
}
.hero-badge-label {
  font-size: 10px; opacity: 0.85; letter-spacing: 0.02em; line-height: 1.3;
}

/* ==========================
   Case Stories (導入事例 長文ストーリー)
========================== */
.case-story-disclaimer {
  font-size: 11px; color: var(--text-mute); margin-top: 8px; opacity: 0.8;
}
.case-story-slider {
  position: relative; display: flex; align-items: center; gap: 12px;
}
.case-story-nav {
  flex: 0 0 44px;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--primary);
  font-size: 24px; font-weight: 300; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12); transition: all .2s; line-height: 1; padding-bottom: 3px;
}
.case-story-nav:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
body.theme-b .case-story-nav { background: var(--bg); color: var(--primary); }
body.theme-b .case-story-nav:hover { background: var(--accent); color: var(--primary); }
.case-story-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 24px;
}
.case-story-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: var(--line); cursor: pointer; padding: 0; transition: all .2s;
}
.case-story-dot.active { background: var(--primary); width: 28px; border-radius: 6px; }
body.theme-b .case-story-dot.active { background: var(--accent); }
.case-story {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: 280px 1fr; gap: 36px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 36px;
}
body.theme-b .case-story { background: var(--bg); }
.case-story-profile {
  border-right: 1px dashed var(--line); padding-right: 32px;
}
.case-story-industry {
  font-family: var(--font-serif); font-size: 19px; font-weight: 700;
  color: var(--primary); margin-bottom: 16px;
}
body.theme-b .case-story-industry { color: var(--accent); }
.case-story-meta {
  display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px;
}
.case-story-meta div {
  font-size: 13px; color: var(--text); display: flex; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.case-story-meta div span {
  color: var(--text-mute); font-size: 11px; letter-spacing: 0.1em;
}
.case-story-topics-label {
  font-size: 11px; letter-spacing: 0.15em; color: var(--text-mute); margin-bottom: 8px;
}
.case-story-topics ul {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px;
}
.case-story-topics li {
  font-size: 12px; line-height: 1.6; padding-left: 16px; position: relative; color: var(--text);
}
.case-story-topics li::before {
  content: '●'; position: absolute; left: 0; top: 2px; font-size: 7px; color: var(--accent);
}
.case-story-body p {
  font-size: 14px; line-height: 2; color: var(--text-mute); margin: 0 0 18px;
}
.case-story-body p:last-child { margin-bottom: 0; }

/* ==========================
   Testimonials (お客様の声)
========================== */
.testimonials { background: var(--bg-alt); }
.testimonial-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 28px; height: 100%;
}
body.theme-b .testimonial-card { background: var(--bg); }
.testimonial-tags {
  display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap;
}
.testimonial-industry, .testimonial-area {
  font-size: 11px; padding: 4px 12px; border-radius: 999px;
  background: var(--bg-alt); color: var(--text-mute); border: 1px solid var(--line);
}
body.theme-b .testimonial-industry, body.theme-b .testimonial-area {
  background: var(--bg); 
}
.testimonial-title {
  font-size: 15px; font-weight: 700; margin: 0 0 10px; color: var(--text);
  line-height: 1.5;
}
.testimonial-body {
  font-size: 13px; line-height: 1.9; color: var(--text-mute); margin: 0;
}

/* モバイル */
@media (max-width: 640px) {
  .container { padding: 0 16px; }

  /* Header モバイル: ロゴ + ハンバーガー的レイアウトへ */
  .header-top {
    height: 64px; padding: 0 16px; gap: 8px;
  }
  .logo-jp { font-size: 20px; letter-spacing: 0.08em; }
  .logo-en { font-size: 8px; letter-spacing: 0.2em; }
  .header-actions { gap: 8px; }
  .header-ctas .header-cta-btn { min-width: unset; padding: 6px 10px; height: 48px; }
  .header-cta-label { display: none; }
  .header-cta-main { font-size: 11px; gap: 2px; }
  .header-cta-main .arrow { font-size: 14px; }
  .header-tel-wrap { display: none; }
  .nav {
    padding: 0 8px; gap: 0;
    overflow-x: auto; height: 44px;
    justify-content: flex-start;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav-item { padding: 6px 10px; font-size: 11px; }

  /* Hero */
  .hero { padding: 28px 0 36px !important; }
  .hero-eyebrow { font-size: 9px !important; padding: 4px 10px !important; margin-bottom: 14px !important; letter-spacing: 0.25em !important; }
  .hero-title { font-size: 26px !important; line-height: 1.35 !important; margin-bottom: 16px !important; }
  .hero-title-sub { font-size: 12px !important; margin-top: 6px !important; }
  .hero-sub { font-size: 12px !important; line-height: 1.9 !important; margin-bottom: 24px !important; }
  .hero-badge { top: 10px; right: 10px; }
  .hero-badge-laurel { width: 80px; height: 66px; }
  .hero-badge-top { font-size: 9px; }
  .hero-badge-main { font-size: 12px; }
  .hero-title-marker::after { height: 8px; bottom: 3px; }
  .hero-cta-grid { grid-template-columns: 1fr; gap: 14px; }
  .cta-lux { padding: 20px 22px 18px; }
  .cta-lux-headband {
    margin: -20px -22px 14px;
    padding: 14px 12px 26px;
    font-size: 12px;
    white-space: nowrap;
    text-align: center;
  }
  .cta-lux-amount { font-size: 18px; }
  .cta-lux-target { font-size: 19px; margin-bottom: 10px; padding-bottom: 10px; }
  .cta-lux-sub { font-size: 18px; line-height: 1.4; padding: 12px 6px; }
  .cta-lux.warm .cta-lux-sub { font-size: 18px; }
  .cta-lux.dark .cta-lux-sub { font-size: 18px; }
  .cta-lux-phone { padding: 10px 14px; }
  .cta-lux-phone-tag { font-size: 10px; padding-bottom: 5px; margin-bottom: 5px; }
  .cta-lux-phone-num { font-size: 22px; }
  .cta-lux-btn { padding: 13px 18px; font-size: 14px; }
  .cta-lux-btn span:last-child { font-size: 20px; right: 16px; }
  .cta-lux-note { font-size: 10px; margin-top: 10px; min-height: 15px; }
  .hero-stats { gap: 20px; margin-top: 32px; padding-top: 24px; flex-wrap: wrap; }
  .hero-stat-value { font-size: 24px; }
  .hero-stat-value .u { font-size: 12px; }
  .hero-stat-label { font-size: 10px; }

  /* Section common */
  .section { padding: 56px 0; }
  .section-title { font-size: 18px !important; line-height: 1.5 !important; }
  .section-sub { font-size: 12px !important; line-height: 1.9 !important; }
  .section-head { margin-bottom: 24px !important; }
  .section-eyebrow { font-size: 10px !important; margin-bottom: 8px !important; }
  .section-sub { font-size: 13px; }
  .section-head { margin-bottom: 32px; }

  /* Points */
  .points { padding: 24px 0; }
  .point-num { font-size: 32px; }
  .point-title { font-size: 15px; }
  .point-sub { font-size: 10px; }

  /* Factoring About */
  .fact-about { padding: 40px 0; }
  .fact-about-head { margin-bottom: 32px; }
  .fact-about-lead { font-size: 12px !important; margin-bottom: 6px !important; }
  .fact-about-title { font-size: 18px !important; line-height: 1.6 !important; margin-bottom: 14px !important; }
  .fact-about-desc { font-size: 12px !important; line-height: 1.9 !important; margin-bottom: 12px !important; }
  .fact-about-note { font-size: 10px !important; }
  .fact-diagram { gap: 6px; margin-bottom: 24px !important; }
  .fact-node-circle { width: 84px; height: 84px; }
  .fact-node-circle svg { width: 40px; height: 40px; }
  .fact-node-brand-jp { font-size: 12px; letter-spacing: 0.05em; }
  .fact-node-brand-en { font-size: 6px; }
  .fact-node-label { font-size: 11px; }
  .fact-dash { min-width: 10px; max-width: 20px; }
  .fact-cta-btn { padding: 10px 20px !important; font-size: 12px !important; width: auto !important; white-space: nowrap; }
  .fact-cta-btn span { font-size: 14px !important; }

  /* Features 6 grid */
  .feat6-grid { grid-template-columns: 1fr 1fr; gap: 20px 8px; }
  .feat6-icon { height: 80px; }
  .feat6-icon svg { width: 74px !important; height: 74px !important; }
  .feat6-top { font-size: 12px; min-height: 20px; }
  .feat6-mid { font-size: 10px; min-height: 16px; }
  .feat6-big { font-size: 17px; min-height: 60px; padding-top: 8px; }

  /* Achievement */
  .achievement { padding: 40px 0 !important; }
  .ach-lead { font-size: 11px !important; margin-bottom: 10px !important; }
  .ach-title { font-size: 18px !important; line-height: 1.5 !important; margin-bottom: 12px !important; }
  .ach-title-accent { font-size: 1.1em; }
  .ach-note { font-size: 10px !important; margin-bottom: 18px !important; }
  .ach-desc { font-size: 12px !important; line-height: 1.9 !important; margin-bottom: 12px !important; }
  .ach-stats { grid-template-columns: 1fr 1fr; gap: 10px; max-width: none; }
  .ach-stat { padding: 16px 12px 12px; }
  .ach-stat-top { font-size: 10px; margin-bottom: 8px; }
  .ach-stat-big { font-size: 34px; }
  .ach-stat-unit { font-size: 13px; }
  .ach-stat-bottom { font-size: 8px; padding-top: 8px; }
  .ach-stat-num { margin-bottom: 10px; gap: 3px; }

  /* Cases */
  .cases-grid { grid-template-columns: 1fr; gap: 14px; }
  .case-head { padding: 12px 16px !important; }
  .case-industry { font-size: 14px !important; }
  .case-no { font-size: 10px !important; }
  .case-body { padding: 16px !important; }
  .case-num-label { font-size: 9px !important; }
  .case-num-value { font-size: 16px !important; }
  .case-comment { font-size: 11px !important; line-height: 1.8 !important; }

  /* FAQ */
  .faq-q { font-size: 13px !important; padding: 16px 44px 16px 40px !important; }
  .faq-q::before { font-size: 18px !important; top: 14px !important; }
  .faq-a { font-size: 12px !important; padding-left: 40px !important; }
  .faq-a { padding: 0 50px 0 44px; font-size: 13px; }
  .faq-item.open .faq-a { padding: 0 50px 20px 44px; }

  /* Blog cards */
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-body { padding: 14px 16px; }
  .blog-title { font-size: 13px !important; line-height: 1.6 !important; }
  .blog-date { font-size: 10px !important; }
  .blog-tag { font-size: 9px !important; }
  .blog-cat { font-size: 9px !important; padding: 3px 8px !important; }

  /* Carousel モバイル: 1枚+チラ見え */
  .carousel-item { flex: 0 0 82%; }
  .carousel-btn { width: 36px; height: 36px; font-size: 20px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
  .carousel-track { gap: 12px; padding: 4px 4px 16px; }

  /* CEO Message モバイル */
  .ceo-section::before { font-size: 100px; top: 20px; right: -10px; }
  .ceo-wrap { padding: 12px 4px; }
  .ceo-quote-mark { font-size: 110px; }
  .ceo-headline { font-size: 20px !important; margin-bottom: 24px; padding-bottom: 18px; line-height: 1.4 !important; }
  .ceo-message-body { font-size: 13px !important; line-height: 1.9 !important; }
  .ceo-signature-role { font-size: 10px !important; }
  .ceo-signature-name { font-size: 22px !important; letter-spacing: 0.06em !important; padding-right: 4px; }
}

/* タブレットのカルーセルは2枚並び */
@media (min-width: 641px) and (max-width: 900px) {
  .carousel-item { flex: 0 0 calc((100% - 20px) / 2); }
}

/* タブレット・モバイル共通 (900px以下) */
@media (max-width: 900px) {

  /* News */
  .news-item { grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; }
  .news-date { font-size: 11px; }
  .news-title { font-size: 12px; line-height: 1.5; }

  /* Pioneer */
  .pioneer { padding: 40px 0 !important; }
  .pioneer-eyebrow { font-size: 11px !important; margin-bottom: 8px !important; }
  .pioneer-title { font-size: 20px !important; line-height: 1.5 !important; margin-bottom: 16px !important; }
  .pioneer-lead { font-size: 13px !important; margin-bottom: 16px !important; padding-bottom: 12px !important; }
  .pioneer-desc { font-size: 12px !important; line-height: 1.9 !important; margin-bottom: 12px !important; }
  .pioneer-badge { left: 10px; right: 10px; bottom: -20px; padding: 12px 10px; max-width: none; width: auto; }
  .pioneer-badge-main { font-size: 13px !important; letter-spacing: 0 !important; }
  .pioneer-badge-label { font-size: 9px !important; }
  .pioneer-badge-sub { font-size: 8px !important; }

  /* Contact CTA */
  .contact-cta { padding: 48px 0; }
  .contact-cta h2 { font-size: 18px; white-space: nowrap; }
  .contact-cta p { font-size: 13px; margin-bottom: 24px; }
  .contact-btn { padding: 16px 24px; font-size: 13px; min-width: unset; width: 100%; }
  .contact-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
  .contact-btn.tel .num { font-size: 20px; }

  /* Footer */
  .footer { padding: 40px 0 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

  /* Service selector (factoring page) */
  .svc-select-grid, .svc-select-grid.three { grid-template-columns: 1fr; gap: 16px; }
  .svc-select-title { font-size: 24px; }
  .svc-select-card { padding: 28px 24px; }
  .svc-select-badge { font-size: 9px; padding: 4px 10px; }

  /* Header menu button モバイル */
  .header-menu-btn { width: 44px; height: 44px; }
  .header-menu-btn span { width: 18px; }
  .header-menu-label { display: none; }
  .drawer { width: 320px; }
  .drawer-head { padding: 16px 20px; }
  .drawer-body { padding: 16px 20px 24px; }

  /* Service type */
  .svc-type-head { flex-direction: column; align-items: flex-start; gap: 8px; padding-bottom: 16px; }
  .svc-type-no { font-size: 42px; }
  .svc-type-title { font-size: 22px; }
  .svc-type-desc { font-size: 13px; margin-bottom: 32px; }
  .svc-features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-feature { padding: 20px 12px 16px; }
  .svc-feature-top { font-size: 11px; min-height: 36px; }
  .svc-feature-big { font-size: 13px; }
  .svc-feature-unit { font-size: 18px; }
  .svc-feature-icon svg { width: 54px !important; height: 54px !important; }
  .svc-recommend { padding: 20px; }
  .svc-recommend-title { font-size: 15px; }
  .svc-recommend ul { grid-template-columns: 1fr; }

  /* Factoring diagram */
  .fact-diagram-box { padding: 30px 12px 20px; }
  .fact-diagram-tag { font-size: 13px; padding: 6px 18px; top: -16px; }
  .fact-diagram-lead { font-size: 12px; margin: 12px 0 16px; }
  .fact-diagram-points { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .fact-diagram-point { padding: 12px 14px; font-size: 12px; }

  /* Funding Flow */
  .ff3-item { padding: 20px 16px; }
  .ff3-no { min-width: 68px; padding: 10px 14px; }
  .ff3-no-num { font-size: 22px; }
  .ff3-title { font-size: 18px; }
  .ff3-time { font-size: 11px; }
  .ff3-sub { padding: 14px; gap: 10px; }
  .ff3-sub-i { font-size: 22px; }
  .ff3-sub-text { font-size: 12px; }

  /* Strengths page */
  .growth-block { padding: 20px; }
  .growth-chart { height: 180px; gap: 8px; }
  .growth-bar-value { font-size: 14px; }
  .growth-bar.current .growth-bar-value { font-size: 18px; }
  .growth-bar-year { font-size: 11px; }
  .diff-item { padding: 20px; gap: 14px; }
  .diff-num { font-size: 30px; }
  .diff-title { font-size: 15px; }
  .diff-desc { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 8px 6px; font-size: 10px; }

  /* Flow page */
  .flow-detail-item { padding: 20px 16px; margin-bottom: 12px; }
  .flow-detail-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 16px; margin-bottom: 20px; }
  .flow-detail-title { font-size: 20px; }
  .flow-detail-subs { grid-template-columns: 1fr; gap: 12px; }
  .flow-detail-sub { padding: 14px; }
  .flow-detail-sub-title { font-size: 13px; }
  .flow-detail-sub-text { font-size: 11px; }
  .flow-detail-no { min-width: 76px; padding: 10px 14px; }
  .docs-grid { grid-template-columns: 1fr; gap: 16px; }
  .doc-card { padding: 28px 20px; }
  .doc-title { font-size: 18px; }

  /* Blog detail */
  .blog-detail { padding: 24px 0 40px; }
  .blog-detail h1 { font-size: 22px; line-height: 1.5; }
  .blog-body h2 { font-size: 19px; margin: 32px 0 14px; padding: 8px 0 8px 12px; }
  .blog-body h3 { font-size: 16px; margin: 22px 0 10px; }
  .blog-body p, .blog-body li { font-size: 14px; line-height: 1.9; }
  .blog-lead { font-size: 13px; padding: 14px 16px; }
  .blog-detail .toc { padding: 16px 18px; }
  .blog-detail .toc ol { font-size: 13px; }
  .blog-body table th, .blog-body table td { padding: 8px 6px; font-size: 11px; }
  .blog-cta { padding: 24px 20px; }
  .blog-cta-title { font-size: 17px; }
  .blog-cta-desc { font-size: 13px; }
  .blog-cta-btn { width: 100%; }
  .blog-related-list { grid-template-columns: 1fr; }
  .blog-cover { aspect-ratio: 16/10; }
  .blog-author { padding: 12px 16px; }
  .blog-author-avatar { width: 36px; height: 36px; font-size: 16px; }
  .blog-author-name { font-size: 13px; }
  .blog-author-role { font-size: 10px; }
  .blog-faq h2 { font-size: 18px; }
  .blog-faq-q { font-size: 13px; padding: 14px 16px; }
  .blog-faq-a-text { font-size: 13px; }
  .blog-faq-q-label, .blog-faq-a-label { width: 26px; height: 26px; font-size: 12px; }

  /* Company */
  .company-row { grid-template-columns: 100px 1fr; padding: 14px 0; gap: 12px; }
  .company-label, .company-value { font-size: 11px; }
  .company-value { word-break: keep-all; overflow-wrap: normal; white-space: normal; }
  .company-row { grid-template-columns: 80px 1fr; gap: 8px; padding: 12px 0; }
  .footer-brand p { word-break: keep-all; overflow-wrap: normal; font-size: 11px; }



  /* Worries */
  .worries-grid { grid-template-columns: 1fr; gap: 8px; }
  .worry { font-size: 13px; padding: 14px 16px; }

  /* Reasons */
  .reasons-watermark { font-size: 54px; top: 10px; }
  .reasons-grid { grid-template-columns: 1fr; gap: 16px; }
  .reason { padding: 24px 20px; }
  .reason h4 { font-size: 16px; }
  .reason p { font-size: 12px; }
  .reason-icon { width: 44px; height: 44px; font-size: 18px; }
  .reason-num { font-size: 32px; }

  /* Form */
  .form-row > div[style*="grid"] { grid-template-columns: 1fr !important; gap: 16px !important; }

  /* Consult page */
  .consult-panel { padding: 24px 20px; }
  .consult-panel-title { font-size: 22px; }
  .consult-panel-desc { font-size: 13px; }
  .consult-stepper { gap: 6px; margin-bottom: 32px; }
  .consult-step { min-width: 90px; padding: 10px 12px; }
  .consult-step-no { font-size: 9px; letter-spacing: 0.15em; }
  .consult-step-label { font-size: 11px; }
  .consult-step-line { max-width: 20px; }
  .docs-required { grid-template-columns: 1fr; gap: 16px; }
  .consult-btn-row { flex-direction: column; }
  .consult-done { padding: 40px 20px; }
  .consult-done-title { font-size: 22px; }

  /* Hero Badges */
  .hero-badges { padding: 22px 0 26px; }
  .hero-badges-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .hero-badge { width: 112px; height: 112px; }
  .hero-badge-icon { font-size: 16px; margin-bottom: 2px; }
  .hero-badge-value { font-size: 16px; }
  .hero-badge-label { font-size: 9px; }

  /* Case Stories */
  .case-story { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .case-story-profile { border-right: none; padding-right: 0; border-bottom: 1px dashed var(--line); padding-bottom: 20px; }
  .case-story-industry { font-size: 16px; }
  .case-story-body p { font-size: 13px; line-height: 1.9; }
  .case-story-slider { gap: 6px; }
  .case-story-nav { flex: 0 0 34px; width: 34px; height: 34px; font-size: 18px; }
  .case-story-dots { margin-top: 16px; }

  /* Testimonials */
  .testimonial-card { padding: 20px; }
}
