/* =============================================================
 * onbx 統合スタイルシート
 * Sections:
 *   1. Brand Fonts (Noto Sans JP)
 *   2. Design Tokens (CSS variables)
 *   3. Reset & Base
 *   4. Typography Element Styles
 *   5. Utility Classes
 *   6. Main LP Styles (index.html)
 *   7. LP Media Queries
 *   8. Contact Page Styles (body.page-contact)
 *   9. Contact Media Queries
 *   10. Contact "Tweaks" Mood/Hero Variants
 * ============================================================= */


/* =============================================================
   1. BRAND FONT — Noto Sans JP (self-hosted)
   ============================================================= */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Thin.ttf') format('truetype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-ExtraLight.ttf') format('truetype');
  font-weight: 200; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Light.ttf') format('truetype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Regular.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Medium.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-SemiBold.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Bold.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-ExtraBold.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Noto Sans JP';
  src: url('fonts/NotoSansJP-Black.ttf') format('truetype');
  font-weight: 900; font-style: normal; font-display: swap;
}


/* =============================================================
   2. DESIGN TOKENS
   ============================================================= */
:root {
  /* Brand primaries */
  --color-orange:        #FF6F00;
  --color-orange-light:  #FFA966;
  --color-orange-bg:     #FFF1E6;
  --color-orange-hover:  #e66000; /* CTA / link 等のホバー時に使用 */

  /* Brand secondary */
  --color-blue:          #0090FF;

  /* Neutrals */
  --color-dark:          #1A0B00;
  --color-body:          #475668;
  --color-muted:         #9e9e9e;
  --color-border:        #ccd2d9;
  --color-border-light:  #e5e8eb;
  --color-grey-bg:       #f8f8f8;
  --color-grey-dark-bg:  #efefef;
  --color-white:         #ffffff;

  /* Overlays */
  --color-overlay-dark:  rgba(0, 0, 0, 0.5);
  --color-overlay-white: rgba(255, 255, 255, 0.4);

  /* Semantic */
  --fg-primary:          var(--color-dark);
  --fg-body:             var(--color-body);
  --fg-muted:            var(--color-muted);
  --fg-accent:           var(--color-orange);
  --fg-on-dark:          var(--color-white);

  --bg-page:             var(--color-white);
  --bg-section-alt:      var(--color-orange-bg);
  --bg-section-grey:     var(--color-grey-bg);
  --bg-dark:             var(--color-dark);

  --border-default:      var(--color-border);
  --border-light:        var(--color-border-light);
  --border-accent:       var(--color-orange);

  --btn-primary-bg:      var(--color-orange);
  --btn-primary-fg:      var(--color-white);
  --btn-default-bg:      var(--color-dark);
  --btn-default-fg:      var(--color-white);
  --btn-white-bg:        var(--color-white);
  --btn-white-fg:        var(--color-orange);

  /* Typography tokens */
  --font-base:           'Noto Sans JP', sans-serif;
  --font-heading:        'Noto Sans JP', sans-serif;

  --text-xxl:            47px;
  --text-xl:             36px;
  --text-lg:             24px;
  --text-md:             18px;
  --text-base:           16px;
  --text-sm:             14px;
  --text-xs:             12px;

  --h1-size:             2.889em;
  --h2-size:             2.333em;
  --h3-size:             2.000em;
  --h4-size:             1.333em;
  --h5-size:             1.111em;
  --h6-size:             1.000em;

  --weight-light:        300;
  --weight-regular:      400;
  --weight-medium:       500;
  --weight-semibold:     600;
  --weight-bold:         700;

  --lh-heading:          1.3;
  --lh-heading-tight:    1.2;
  --lh-body:             1.6;
  --lh-relaxed:          1.9;

  --ls-heading:          -0.5px;
  --ls-body:             0.5px;

  /* Spacing */
  --space-5:   5px;
  --space-10:  10px;
  --space-15:  15px;
  --space-20:  20px;
  --space-30:  30px;
  --space-40:  40px;
  --space-50:  50px;
  --space-60:  60px;
  --space-70:  70px;
  --space-80:  80px;
  --space-100: 100px;
  --space-120: 120px;

  --section-py:  80px;
  --section-py-lg: 100px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(26, 11, 0, 0.06);
  --shadow-md:   0 4px 20px rgba(26, 11, 0, 0.10);
  --shadow-lg:   0 8px 40px rgba(26, 11, 0, 0.14);
  --shadow-card: 0 4px 24px rgba(26, 11, 0, 0.08);
}


/* =============================================================
   3. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Manrope', sans-serif; font-size: 16px;
  color: #475668; background: #fff;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, video { max-width: 100%; height: auto; }
#root { min-height: 100vh; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f8f8f8; }
::-webkit-scrollbar-thumb { background: #ccd2d9; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FF6F00; }


/* =============================================================
   4. TYPOGRAPHY UTILITIES (token-driven, used by contact page)
   ============================================================= */
.text-xxl { font-size: var(--text-xxl); line-height: 56px; }
.text-xl  { font-size: var(--text-xl);  line-height: 52px; }
.text-lg  { font-size: var(--text-lg);  line-height: 34px; }
.text-md  { font-size: var(--text-md);  line-height: 28px; }
.text-sm  { font-size: var(--text-sm);  line-height: 1.8em; }
.text-xs  { font-size: var(--text-xs);  line-height: 1.6em; }

.text-orange    { color: var(--color-orange); }
.text-blue      { color: var(--color-blue); }
.text-dark      { color: var(--color-dark); }
.text-body      { color: var(--color-body); }
.text-muted     { color: var(--color-muted); }
.text-white     { color: var(--color-white); }


/* =============================================================
   5. MAIN LP — Responsive Grid Utilities
   ============================================================= */

/* FAQ 2-col */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

/* Values alternating layout */
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.value-row.reverse { direction: rtl; }
.value-row.reverse > * { direction: ltr; }

/* Question-style headline per persona */
.value-question {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1A0B00;
  line-height: 1.45;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

/* Benefits list with orange check marks */
.value-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}
.value-benefits li {
  position: relative;
  padding: 6px 0 6px 32px;
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #1A0B00;
}
.value-benefits li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #FF6F00 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>") center/12px no-repeat;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Features card & icon hover (浮遊するようなエフェクト) */
.feature-card {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s ease;
}
.feature-icon {
  transition: transform .45s cubic-bezier(.34,1.56,.64,1), filter .35s ease;
  will-change: transform;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,11,0,.14) !important;
}
.feature-card:hover .feature-icon {
  transform: translateY(-8px) scale(1.12) rotate(-4deg);
  filter: drop-shadow(0 10px 14px rgba(255,111,0,.3));
  animation: feature-icon-float 2s ease-in-out .35s infinite;
}
@keyframes feature-icon-float {
  0%, 100% { transform: translateY(-8px) scale(1.12) rotate(-4deg); }
  50%      { transform: translateY(-12px) scale(1.12) rotate(-4deg); }
}

/* Video modal animations */
@keyframes video-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes video-modal-rise {
  from { opacity: 0; transform: translateY(16px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes video-modal-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,111,0,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,111,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,111,0,0); }
}

/* Pricing grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,11,0,.12);
}

/* Blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  min-height: 320px;
}

/* Stats bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}


/* =============================================================
   6. MAIN LP — Journey Section
   ============================================================= */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.journey-card {
  background: #fff;
  border-radius: 16px;
  padding: 0 22px 26px;
  box-shadow: 0 4px 24px rgba(26,11,0,0.06);
  position: relative;
  /* 画像の角丸は .journey-img 側で持つ。
     カード側に overflow: hidden を付けると .journey-arrow が見えなくなるため外す */
}
.journey-img {
  display: block;
  width: calc(100% + 44px);
  max-width: none; /* グローバルの img { max-width: 100% } を打ち消し、カード幅いっぱいに広げる */
  height: auto;
  margin: 0 -22px 18px;
  border-radius: 16px 16px 0 0;
}
.journey-title {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 16px; font-weight: 600; color: #1A0B00;
  letter-spacing: -0.3px; line-height: 1.4; margin-bottom: 10px;
}
.journey-body { font-size: 13px; color: #475668; line-height: 1.75; }
.journey-arrow {
  position: absolute; top: 50%; right: -16px;
  transform: translateY(-50%);
  font-size: 20px; color: #FF6F00; font-weight: 500;
  z-index: 2; background: #fff; width: 32px; height: 32px;
  border: 1.5px solid #FF6F00;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  line-height: 1;
}

/* Needs block — light step-progress design */
.needs-block {
  background: #fff;
  border: 1px solid rgba(255,111,0,0.18);
  border-radius: 20px;
  padding: 56px 48px 52px;
  margin-bottom: 72px;
  position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(26,11,0,0.06);
  /* 2-column layout: text (left) + Venn image (right)
     画像を大きく見せるためテキスト側を細く、画像側を太く */
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 36px;
  align-items: center;
}
.needs-block::before {
  content: ''; position: absolute; top: -50%; right: -10%;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,111,0,0.10), transparent 70%);
  pointer-events: none;
}
.needs-head { text-align: left; position: relative; }
.needs-label {
  font-size: 11px; font-weight: 700; color: #FF6F00;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.needs-h3 {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 26px; font-weight: 600; color: #1A0B00;
  letter-spacing: -0.4px; line-height: 1.4; margin-bottom: 10px;
}
.needs-h3-sub {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #FF6F00;
  letter-spacing: 0;
  margin-bottom: 4px;
}
.needs-sub {
  font-size: 14px; color: #475668; line-height: 1.8;
  margin: 0;
}
.needs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  position: relative;
}
.needs-step {
  text-align: center;
  padding: 0 18px;
  position: relative;
}
.needs-step-track {
  position: relative;
  height: 44px;
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
}
/* connector line — sits behind the circle, drawn from center to next step's center */
.needs-step-line {
  position: absolute;
  top: 50%; left: 50%;
  width: calc(100% + 36px); /* spans gap (padding 18px × 2) to next circle */
  height: 2px;
  background: linear-gradient(to right, #FF6F00 0%, #FFA966 100%);
  transform: translateY(-50%);
  z-index: 0;
}
.needs-step:last-child .needs-step-line { display: none; }
.needs-step-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF8A33 0%, #FF6F00 100%);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 6px 18px rgba(255,111,0,0.32), 0 0 0 6px #fff;
  transition: transform .25s ease;
}
.needs-step:hover .needs-step-circle { transform: scale(1.08); }
.needs-step-content { position: relative; }
.needs-label-ja {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 20px; font-weight: 700; color: #1A0B00;
  letter-spacing: -0.3px; margin-bottom: 4px;
}
.needs-label-en {
  font-family: 'Manrope', sans-serif;
  font-size: 11px; font-weight: 600; color: #FF6F00;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px;
}
.needs-body { font-size: 13px; color: #475668; line-height: 1.8; }

/* === 3-circle Venn diagram (Self-Determination Theory) — image-based === */
.needs-venn {
  display: flex;
  justify-content: center;
}
.needs-venn-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  /* グローバルの img { max-width: 100% } は維持（右カラム幅いっぱい） */
}

/* Outcomes */
.outcome-head { text-align: center; margin-bottom: 32px; }
.outcome-label {
  font-size: 11px; font-weight: 700; color: #FF6F00;
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
}
.outcome-h3 {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 26px; font-weight: 600; color: #1A0B00;
  letter-spacing: -0.4px; line-height: 1.4;
}
.outcome-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.outcome-card {
  background: #fff; border-radius: 14px;
  padding: 24px 22px;
  border: 1px solid #e5e8eb;
  transition: all .2s;
}
.outcome-card:hover { border-color: #FFA966; box-shadow: 0 8px 24px rgba(26,11,0,0.08); transform: translateY(-2px); }
.outcome-target {
  display: inline-block; font-size: 10px; font-weight: 700;
  color: #FF6F00; background: #FFF1E6;
  padding: 4px 10px; border-radius: 100px;
  letter-spacing: 1px; margin-bottom: 14px;
}
.outcome-title {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 15px; font-weight: 600; color: #1A0B00;
  letter-spacing: -0.2px; line-height: 1.4; margin-bottom: 8px;
}
.outcome-body { font-size: 12px; color: #475668; line-height: 1.7; }


/* =============================================================
   7. MAIN LP — Category Grid (StatsBar)
   ============================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid #e5e8eb;
  border-left: 1px solid #e5e8eb;
  border-radius: 12px;
  overflow: hidden;
}
.category-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 22px 10px 20px;
  border-right: 1px solid #e5e8eb;
  border-bottom: 1px solid #e5e8eb;
  background: #fff;
  transition: background .2s;
}
.category-item:hover {
  background: #FFF1E6;
}
.category-icon-wrap {
  width: 44px; height: 44px;
  background: #FFF1E6;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
  transition: transform .2s, background .2s;
}
/* ホバー時はカード背景がオレンジ寄りになるため、
   アイコン背景は白に反転させて視認性を確保 */
.category-item:hover .category-icon-wrap {
  transform: scale(1.08);
  background: #fff;
}
.category-label {
  font-family: 'Manrope', 'Noto Sans JP', sans-serif;
  font-size: 13px; font-weight: 600; color: #1A0B00;
  letter-spacing: -0.2px; line-height: 1.3; margin-bottom: 2px;
}
.category-sub {
  font-size: 10px; color: #9e9e9e;
  letter-spacing: 0.3px; line-height: 1.4;
}


/* =============================================================
   8. MAIN LP — Header & Footer
   ============================================================= */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.desktop-nav { display: flex; gap: 32px; }
.mobile-menu-btn { display: none; }
.mobile-menu { display: none; }


/* =============================================================
   9. MAIN LP — Mobile Breakpoint (≤768px)
   ============================================================= */
@media (max-width: 768px) {
  /* Header */
  .desktop-nav { display: none; }
  .header-cta-desktop { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  /* スマホでは左右パディングを20pxに絞り、ロゴ(左) とハンバーガー(右) を画面端に寄せる */
  .header-inner { padding: 0 20px !important; }
  .mobile-menu.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 999;
    gap: 0;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 100px 20px 60px !important;
    gap: 40px !important;
  }
  .hero-right { display: none !important; }

  /* Section inner horizontal padding */
  .section-inner { padding: 0 20px !important; }

  /* Section vertical padding */
  #journey, #values, #features, #plans, #faq, #blog {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  /* Section headings */
  #journey h2, #values h2, #features h2, #plans h2, #faq h2, #blog h2 {
    font-size: 26px !important;
    letter-spacing: -0.3px !important;
  }
  .needs-h3 { font-size: 20px !important; }
  .outcome-h3 { font-size: 20px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .stats-item { border-right: none !important; border-bottom: 1px solid #e5e8eb; }
  .stats-item:nth-child(odd) { border-right: 1px solid #e5e8eb !important; }
  .stats-item:nth-child(3), .stats-item:nth-child(4) { border-bottom: none; }

  /* Category grid → 2 cols on mobile */
  .category-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .category-label { font-size: 12px !important; }

  /* Journey */
  .journey-grid { grid-template-columns: 1fr !important; gap: 14px !important; margin-bottom: 48px !important; }
  .journey-arrow { display: none !important; }
  .needs-block { padding: 40px 20px !important; margin-bottom: 48px !important; grid-template-columns: 1fr !important; gap: 24px !important; }
  .needs-head { text-align: center !important; }
  /* スマホ: 縦のステップ進行（左にライン、右に内容） */
  .needs-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .needs-step { display: grid !important; grid-template-columns: 44px 1fr !important; gap: 20px !important; padding: 0 !important; text-align: left !important; }
  .needs-step-track { height: auto !important; align-self: stretch !important; margin-bottom: 0 !important; }
  .needs-step-line {
    top: 22px !important; left: 50% !important;
    width: 2px !important; height: calc(100% + 28px) !important;
    background: linear-gradient(to bottom, #FF6F00 0%, #FFA966 100%) !important;
    transform: translateX(-50%) !important;
  }
  .needs-step:last-child .needs-step-line { display: none !important; }
  .needs-label-en { margin-bottom: 8px !important; }
  .outcome-grid { grid-template-columns: 1fr !important; }

  /* Values */
  .value-row {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 48px !important;
    direction: ltr !important;
  }
  .value-row.reverse { direction: ltr !important; }
  .value-question { font-size: 22px !important; }
  .value-benefits li { font-size: 14px !important; padding-left: 28px !important; }
  .value-benefits li::before { width: 18px !important; height: 18px !important; top: 10px !important; }
  /* スマホ: 裏面のCAPABILITIES 4項目が収まるよう、カードを縦長＋padding圧縮 */
  .value-scene { aspect-ratio: 2 / 3 !important; }
  .value-back { padding: 22px 18px 20px !important; }
  /* 裏面の文字サイズと余白を全体的に圧縮 */
  .value-back > div:nth-child(2) { font-size: 10px !important; letter-spacing: 2px !important; margin-bottom: 8px !important; }
  .value-back > div:nth-child(3) { font-size: 15px !important; line-height: 1.45 !important; margin-bottom: 14px !important; }
  .value-back ul li { padding-bottom: 10px !important; margin-bottom: 10px !important; }
  .value-back ul li > div:first-child { font-size: 12.5px !important; }
  .value-back ul li > div:last-child { font-size: 11.5px !important; line-height: 1.55 !important; padding-left: 20px !important; }

  /* Features */
  .features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    border-radius: 12px !important;
  }
  .pricing-grid > div { padding: 32px 24px !important; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr !important; }

  /* FAQ */
  .faq-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .faq-cta-box { padding: 56px 22px !important; }
  .faq-cta-box h3 { font-size: 22px !important; }
  .faq-cta-box p { font-size: 14px !important; }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .footer-logo { height: 40px !important; }
  footer { padding: 48px 0 24px !important; }

  /* CTA banner */
  .cta-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    padding: 40px 24px !important;
  }
  .cta-inner button { width: 100% !important; }
}


/* =============================================================
   10. MAIN LP — Tablet Breakpoint (769–1024px)
   ============================================================= */
@media (max-width: 1024px) and (min-width: 769px) {
  /* Section inner horizontal padding */
  .section-inner { padding: 0 24px !important; }

  /* Section vertical padding */
  #journey, #values, #features, #plans, #faq, #blog {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }

  /* Section headings */
  #journey h2, #values h2, #features h2, #plans h2, #faq h2, #blog h2 {
    font-size: 28px !important;
  }

  /* Hero */
  .hero-inner { gap: 32px !important; }

  /* Category grid → 3 cols */
  .category-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Journey */
  .journey-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .journey-arrow { display: none !important; }

  /* Needs/Outcome */
  .needs-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .outcome-grid { grid-template-columns: repeat(2, 1fr) !important; }

  /* Values */
  .value-row { gap: 40px !important; }

  /* Features */
  .features-grid { grid-template-columns: repeat(3, 1fr) !important; }

  /* Pricing */
  .pricing-grid > div { padding: 32px 20px !important; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr 1fr !important; }
}


/* =============================================================
   11. CONTACT PAGE — Body Override (scoped)
   ============================================================= */
body.page-contact {
  font-family: 'Noto Sans JP', 'Manrope', sans-serif;
  background: #FAF7F2;
}


/* =============================================================
   12. CONTACT PAGE — Layout
   ============================================================= */
.contact-page-wrap {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  background: var(--tw-bg-page, #FAF7F2);
  transition: background .35s ease;
  overflow-x: hidden;
}
.contact-bg-deco {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 380px;
  /* Hero と同じ背景画像 + 上層に暗いグラデで可読性確保 */
  background:
    linear-gradient(180deg, rgba(26,11,0,.78) 0%, rgba(26,11,0,.72) 60%, rgba(26,11,0,.55) 85%, transparent 100%),
    url('assets/hero-bg1.webp') center/cover no-repeat;
  z-index: 0;
  overflow: hidden;
  transition: background .35s ease, height .35s ease;
}
.contact-bg-deco::after {
  content: '';
  position: absolute;
  top: -50%; right: -8%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,111,0,0.18), transparent 70%);
  pointer-events: none;
}

.contact-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 88px 64px;
}

.contact-hero-text {
  text-align: center;
  margin-bottom: 40px;
  color: #fff;
}
.contact-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: #FFA966;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.contact-h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.4;
  color: #fff;
  margin-bottom: 16px;
}
.contact-h1 .accent { color: #FF6F00; }
.contact-hero-text > .contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Single-column layout (side panel removed) */
.contact-layout {
  display: block;
}
.contact-layout > .form-panel {
  max-width: none;
  width: 100%;
}


/* =============================================================
   13. CONTACT PAGE — Side Panel
   ============================================================= */
.side-panel {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(26,11,0,0.06);
  position: sticky;
  top: 88px;
}
.side-section + .side-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #f0e8df;
}
.side-label {
  font-size: 10px; font-weight: 700;
  color: #FF6F00; letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.side-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #1A0B00;
  letter-spacing: -0.2px;
  line-height: 1.6;
  margin-bottom: 10px;
}
.side-body {
  font-size: 12px;
  color: #475668;
  line-height: 1.8;
}

/* Quick benefits list */
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 12px;
  color: #1A0B00;
  font-weight: 500;
  line-height: 1.5;
}
.benefit-check {
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #FFF1E6;
  color: #FF6F00;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}

/* SLA */
.sla-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFF8F0;
  border-radius: 10px;
  padding: 12px 14px;
}
.sla-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: #FF6F00;
}
.sla-text { font-size: 11px; color: #475668; line-height: 1.6; }
.sla-text strong { color: #1A0B00; font-weight: 700; font-size: 12px; }


/* =============================================================
   14. CONTACT PAGE — Form Panel
   ============================================================= */
.form-panel {
  background: #fff;
  border-radius: 14px;
  padding: 36px 40px 36px;
  box-shadow: 0 4px 24px rgba(26,11,0,0.06);
}
.form-panel-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 24px; font-weight: 700;
  color: #1A0B00;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.form-panel-sub {
  font-size: 14px; color: #9e9e9e;
  margin-bottom: 28px;
  line-height: 1.7;
}
.form-required-note { display: none; }

/* Field grid */
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 18px;
}
.field-grid .full { grid-column: 1 / -1; }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.field-label {
  font-size: 14px;
  font-weight: 600;
  color: #1A0B00;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.field-label .req {
  font-size: 11px;
  font-weight: 700;
  color: #FF6F00;
  background: #FFF1E6;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}
.field-label .opt {
  font-size: 11px;
  font-weight: 600;
  color: #9e9e9e;
  background: #f4f4f4;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.input,
.textarea,
.select {
  font-family: 'Noto Sans JP', 'Manrope', sans-serif;
  font-size: 16px;
  color: #1A0B00;
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder, .textarea::placeholder { color: #c4c8ce; font-size: 15px; }
.input:hover, .textarea:hover, .select:hover { border-color: #FFA966; }
.input:focus, .textarea:focus, .select:focus {
  border-color: #FF6F00;
  box-shadow: 0 0 0 3px rgba(255,111,0,0.10);
}
.textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23475668' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 9px;
  padding-right: 36px;
  cursor: pointer;
}

.field-hint {
  font-size: 13px;
  color: #9e9e9e;
  letter-spacing: 0;
  line-height: 1.6;
}
.field.error .input,
.field.error .textarea,
.field.error .select { border-color: #e53e3e; }
.field.error .field-hint { color: #e53e3e; }


/* =============================================================
   15. CONTACT PAGE — Radio Cards (graphical tile design)
   ============================================================= */
.radio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.radio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 22px 14px 20px;
  border: 1.5px solid #d8dde3;
  border-radius: 14px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s, background .15s, box-shadow .2s ease;
  background: #fff;
  min-width: 0;
  overflow: hidden;
  /* ボタン感: 静止時から軽い影で立体感を出す */
  box-shadow: 0 2px 0 rgba(26,11,0,0.05), 0 4px 14px rgba(26,11,0,0.06);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.radio-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -25%;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,111,0,0.08), transparent 70%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.radio-card:hover {
  border-color: #FFA966;
  background: #FFFCF8;
  transform: translateY(-3px);
  box-shadow: 0 4px 0 rgba(255,111,0,0.10), 0 12px 28px rgba(255,111,0,0.14);
}
.radio-card:hover::before { opacity: 1; }
/* :active で押し込み感（ボタンを押した瞬間の沈み） */
.radio-card:active {
  transform: translateY(0);
  box-shadow: 0 1px 0 rgba(26,11,0,0.08), 0 2px 6px rgba(26,11,0,0.08);
  transition-duration: .05s;
}
.radio-card.selected {
  border-color: #FF6F00;
  background: #FFF8F0;
  box-shadow: 0 4px 0 rgba(255,111,0,0.18), 0 12px 32px rgba(255,111,0,0.18);
}
.radio-card.selected::before { opacity: 1; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }

.radio-card-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FFF8EE 0%, #FFEFD9 100%);
  display: flex; align-items: center; justify-content: center;
  color: #FF8A33;
  transition: all .2s ease;
  position: relative;
  z-index: 1;
}
.radio-card-icon svg { width: 26px; height: 26px; }
.radio-card.selected .radio-card-icon,
.radio-card:hover .radio-card-icon {
  background: linear-gradient(135deg, #FF8A33 0%, #FF6F00 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(255,111,0,0.28);
  transform: scale(1.05);
}
.radio-card-title {
  font-size: 16px;
  font-weight: 700;
  color: #1A0B00;
  line-height: 1.45;
  letter-spacing: -0.2px;
  word-break: break-word;
  overflow-wrap: anywhere;
  position: relative;
  z-index: 1;
}
.radio-card-check {
  position: absolute;
  top: 12px; right: 12px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #FF6F00;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(255,111,0,0.4);
}
.radio-card.selected .radio-card-check {
  opacity: 1;
  transform: scale(1);
}

/* Featured card (1行目を全幅で大きく) */
.radio-card.radio-card-featured {
  grid-column: 1 / -1;
  padding: 36px 28px 32px;
  gap: 18px;
}
.radio-card.radio-card-featured .radio-card-icon {
  width: 84px; height: 84px;
  border-radius: 20px;
}
.radio-card.radio-card-featured .radio-card-icon svg {
  width: 38px; height: 38px;
}
.radio-card.radio-card-featured .radio-card-title {
  font-size: 24px;
  letter-spacing: -0.4px;
}
.radio-card.radio-card-featured .radio-card-check {
  width: 28px; height: 28px;
  top: 14px; right: 14px;
}

/* Section spacing inside form */
.field-section + .field-section {
  margin-top: 24px;
}


/* =============================================================
   16. CONTACT PAGE — Consent / reCAPTCHA / Submit
   ============================================================= */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FAF7F2;
  border: 1px solid #e8e2d8;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 24px;
  cursor: pointer;
  user-select: none;
  transition: border-color .15s;
}
.consent-row:hover { border-color: #FFA966; }
.consent-row.checked { border-color: #FF6F00; background: #FFF8F0; }
.consent-checkbox {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1.5px solid #ccd2d9;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all .15s;
}
.consent-row.checked .consent-checkbox {
  background: #FF6F00;
  border-color: #FF6F00;
}
.consent-row.checked .consent-checkbox::after {
  content: '';
  width: 4px; height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}
.consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.consent-text {
  font-size: 14px;
  color: #475668;
  line-height: 1.7;
}
.consent-text a {
  color: #FF6F00;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.req-inline {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #FF6F00;
  background: #FFF1E6;
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* reCAPTCHA */
.recaptcha-row {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.recaptcha-row.error {
  padding: 10px;
  background: #fef5f5;
  border: 1px solid #fbb;
  border-radius: 8px;
}

/* Submit */
.submit-row {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid #f0e8df;
}
.btn-submit {
  font-family: 'Noto Sans JP', 'Manrope', sans-serif;
  background: #FF6F00;
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 52px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all .15s;
  box-shadow: 0 4px 14px rgba(255,111,0,0.22);
  min-width: min(280px, 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover {
  background: #1A0B00;
  box-shadow: 0 4px 14px rgba(26,11,0,0.25);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  background: #ccd2d9;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}
.btn-submit .spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.submit-note {
  font-size: 13px; color: #9e9e9e;
  text-align: center;
}


/* =============================================================
   17. CONTACT PAGE — Thanks
   ============================================================= */
.thanks-card {
  background: #fff;
  border-radius: 14px;
  padding: 56px 40px 48px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26,11,0,0.06);
  max-width: 640px;
  margin: 0 auto;
  animation: fadeUp .5s ease-out;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.thanks-mark {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #FFF1E6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks-check {
  width: 28px; height: 28px;
  position: relative;
}
.thanks-check::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 9px; height: 17px;
  border: solid #FF6F00;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) translate(-1px, -2px);
}
.thanks-h2 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #1A0B00;
  letter-spacing: -0.2px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.thanks-body {
  font-size: 16px;
  color: #475668;
  line-height: 1.9;
  max-width: 520px;
  margin: 0 auto 28px;
}
.thanks-next {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px auto;
  max-width: 480px;
}
.thanks-step {
  background: #FAF7F2;
  border-radius: 10px;
  padding: 14px 12px;
  text-align: left;
}
.thanks-step-num {
  font-size: 11px; font-weight: 700;
  color: #FF6F00; letter-spacing: 1.2px;
  margin-bottom: 6px;
}
.thanks-step-title {
  font-size: 13px; font-weight: 600;
  color: #1A0B00;
  line-height: 1.6;
}
.thanks-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-ghost {
  font-family: 'Noto Sans JP', 'Manrope', sans-serif;
  background: transparent;
  color: #1A0B00;
  border: 1px solid #d8dde3;
  border-radius: 100px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover {
  border-color: #FF6F00;
  color: #FF6F00;
}


/* =============================================================
   18. CONTACT PAGE — Trust Footer / Mini Header / Footer
   ============================================================= */
.trust-footer {
  margin-top: 40px;
  text-align: center;
}
.trust-line {
  font-size: 12px; color: #9e9e9e;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.trust-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475668;
  font-weight: 500;
}
.trust-item .icon {
  width: 16px; height: 16px;
  color: #FF6F00;
}

.mini-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,11,0,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mini-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.mini-header-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .15s;
}
.mini-header-back:hover { color: #FF6F00; }
.mini-header-back .arrow {
  display: inline-block;
  transition: transform .15s;
}
.mini-header-back:hover .arrow { transform: translateX(-3px); }
.mini-header-help {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.mini-header-help .tel {
  color: #fff; font-weight: 600;
  font-size: 14px;
}

.contact-footer {
  background: #1A0B00;
  padding: 28px 32px;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.contact-footer a {
  color: rgba(255,255,255,0.6);
  margin: 0 12px;
  text-decoration: none;
}
.contact-footer a:hover { color: #FF6F00; }


/* =============================================================
   19. CONTACT PAGE — Responsive (≤920px / ≤900px)
   ============================================================= */
@media (max-width: 920px) {
  .form-panel { padding: 32px 22px; }
  .field-grid { grid-template-columns: 1fr; }
  .radio-cards { grid-template-columns: 1fr !important; }
  .radio-cards > .radio-card:nth-child(n) { grid-column: span 1 !important; }
  .contact-h1 { font-size: 32px; }
  .contact-hero-text > .contact-sub { font-size: 14px; }
  .contact-container { padding: 96px 18px 48px; }
  .form-panel-title { font-size: 20px; }
  .thanks-next { grid-template-columns: 1fr; }
  .thanks-h2 { font-size: 22px; }
  .thanks-body { font-size: 14px; }
  .mini-header-help .help-label { display: none; }
}


/* =============================================================
   20. CONTACT PAGE — Tweaks (Mood / Hero / Density)
   ============================================================= */

/* Containers respond to density */
.contact-page-wrap .contact-container {
  padding: var(--tw-hero-pad, 110px 32px 64px);
}
.contact-page-wrap .form-panel {
  padding: var(--tw-form-pad, 44px);
  background: var(--tw-panel-bg, #fff);
  box-shadow: var(--tw-panel-shadow, 0 4px 24px rgba(26,11,0,0.06));
  border-radius: var(--tw-radius, 8px);
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}
.contact-page-wrap .side-panel {
  padding: var(--tw-side-pad, 32px);
}
.contact-page-wrap .input,
.contact-page-wrap .textarea {
  padding: var(--tw-input-pad, 14px 14px);
  border-radius: var(--tw-radius, 8px);
  border-color: var(--tw-border, #e5e8eb);
  transition: padding .25s ease, border-radius .25s ease;
}
.contact-page-wrap .field-grid {
  row-gap: var(--tw-field-gap, 20px);
  column-gap: 18px;
}

/* Accent application via vars */
.contact-page-wrap .contact-h1 .accent { color: var(--tw-accent, #FF6F00); }
.contact-page-wrap .contact-h1 {
  font-family: var(--tw-head-family, 'Noto Sans JP', sans-serif);
  font-weight: var(--tw-head-weight, 700);
}
.contact-page-wrap .form-panel-title {
  font-family: var(--tw-head-family, 'Noto Sans JP', sans-serif);
  font-weight: var(--tw-head-weight, 700);
}
.contact-page-wrap .input:focus,
.contact-page-wrap .textarea:focus {
  border-color: var(--tw-accent, #FF6F00);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--tw-accent, #FF6F00) 20%, transparent);
}
/* radio-card は独自のグラフィカルデザインを持つため、tweakシステムの色味のみ反映し
   border-radius / 背景 / アイコン色は共通スタイルに任せる */
.contact-page-wrap .radio-card.selected {
  border-color: var(--tw-accent, #FF6F00);
}
.contact-page-wrap .radio-card {
  border-color: var(--tw-border, #e5e8eb);
}
.contact-page-wrap .btn-submit {
  background: var(--tw-accent, #FF6F00);
  border-radius: var(--tw-radius, 8px);
}
.contact-page-wrap .req-mark,
.contact-page-wrap .req,
.contact-page-wrap .req-inline,
.contact-page-wrap .opt {
  background: color-mix(in oklab, var(--tw-accent, #FF6F00) 18%, #fff);
  color: var(--tw-accent, #FF6F00);
}
.contact-page-wrap .side-label,
.contact-page-wrap .contact-eyebrow {
  color: var(--tw-accent, #FF6F00);
}
.contact-page-wrap .benefit-check {
  background: var(--tw-accent, #FF6F00);
}

/* Mood: editorial — bigger serif heading + flat panels */
.mood-editorial .contact-h1 {
  font-size: 44px;
  letter-spacing: -0.01em;
}
.mood-editorial .form-panel {
  border: 1px solid var(--tw-border);
}
.mood-editorial .input,
.mood-editorial .textarea {
  background: transparent;
  border-width: 0 0 1px 0;
  padding-left: 0;
  padding-right: 0;
}
.mood-editorial .input:focus,
.mood-editorial .textarea:focus {
  box-shadow: none;
  border-bottom-color: var(--tw-accent);
}
.mood-editorial .radio-card.selected {
  background: var(--tw-accent-soft);
  outline: 1px solid var(--tw-accent);
}
.mood-editorial .btn-submit {
  letter-spacing: 0.04em;
}

/* Mood: professional — subtle blue */
.mood-professional .form-panel-title {
  letter-spacing: 0;
}

/* Hero: minimal — collapse the dark band */
.contact-page-wrap.hero-minimal .contact-bg-deco {
  height: 96px !important;
  background: var(--tw-bg-hero);
}
.hero-minimal .contact-container {
  padding-top: 132px;
}

/* Hero: split — dark only on the left half */
.contact-page-wrap.hero-split .contact-bg-deco {
  height: 100% !important;
  background: linear-gradient(90deg, var(--tw-bg-hero) 0%, var(--tw-bg-hero) 38%, transparent 38.01%, transparent 100%);
}
.hero-split .contact-hero-text {
  text-align: left;
  margin-left: 0;
  max-width: 32%;
  margin-bottom: 0;
  padding-top: 12px;
  padding-right: 32px;
  position: absolute;
  top: 140px;
  left: 32px;
}
.hero-split .contact-hero-text > .contact-sub {
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.hero-split .contact-hero-text .contact-h1 {
  font-size: 30px;
  text-align: left;
}
.hero-split .contact-container {
  padding-left: calc(32% + 48px);
  padding-top: 132px;
  position: relative;
}
.hero-split .contact-layout {
  grid-template-columns: 1fr;
}
.hero-split .side-panel { display: none; }
.hero-split .trust-footer { padding-left: 0; }

@media (max-width: 900px) {
  .contact-page-wrap.hero-split .contact-bg-deco { background: linear-gradient(180deg, var(--tw-bg-hero) 0%, var(--tw-bg-hero) 240px, transparent 241px); height: 100% !important; }
  .hero-split .contact-hero-text { position: static; max-width: 100%; padding: 0; }
  .hero-split .contact-container { padding-left: 18px; padding-right: 18px; }
}


/* =============================================================
   13. COLUMN / WHITEPAPER PAGE
   ============================================================= */
body.page-column {
  font-family: var(--font-base);
  background: #FAF7F2;
  color: var(--color-body);
}

.wp-page {
  min-height: 100vh;
  padding: 132px 0 80px;
}
.wp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Breadcrumb */
.wp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 32px;
}
.wp-breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
  transition: color .2s;
}
.wp-breadcrumb a:hover { color: var(--color-orange); }
.wp-breadcrumb-sep { color: var(--color-border); }
.wp-breadcrumb-current { color: var(--color-dark); font-weight: 500; }

/* Article wrapper */
.wp-article {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 72px 96px;
}

/* Title cluster */
.wp-eyebrow {
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.wp-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: var(--color-dark);
  margin: 0 0 16px;
}
.wp-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-body);
  margin: 0 0 24px;
}
.wp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--color-muted);
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-border-light);
}

/* Body */
.wp-body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-body);
}
.wp-body h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 4px solid var(--color-orange);
}
.wp-body h2:first-child { margin-top: 0; }
.wp-body h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-dark);
  margin: 32px 0 12px;
}
.wp-body p {
  margin: 0 0 20px;
}
.wp-body strong { color: var(--color-dark); font-weight: 700; }
.wp-body em { font-style: normal; color: var(--color-orange); font-weight: 500; }
.wp-body a {
  color: var(--color-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wp-body a:hover { color: #cc5800; }
.wp-body ul,
.wp-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}
.wp-body li { margin-bottom: 8px; }
.wp-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  background: var(--color-orange-bg);
  color: var(--color-dark);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}
.wp-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--color-orange-bg);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-sm);
  color: var(--color-dark);
  font-size: 15px;
  line-height: 1.8;
}
.wp-figure {
  margin: 32px 0;
  text-align: center;
}
.wp-figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.wp-figure figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--color-muted);
}

/* Table */
.wp-body table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 15px;
}
.wp-body thead th {
  background: var(--color-orange-bg);
  color: var(--color-dark);
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
}
.wp-body tbody td,
.wp-body tbody th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
  line-height: 1.7;
}
.wp-body tbody tr:last-child td,
.wp-body tbody tr:last-child th {
  border-bottom: none;
}
.wp-body tbody th {
  background: #FAF7F2;
  color: var(--color-dark);
  font-weight: 600;
  white-space: nowrap;
}

/* Highlight callout — 結論文をオレンジの枠線で強調（アイコンなし） */
.wp-callout {
  margin: 24px 0;
  padding: 18px 24px;
  background: #FFF8F0;
  border: 1px solid #FFD9B3;
  border-left: 6px solid var(--color-orange);
  border-radius: var(--radius-md);
  color: var(--color-dark);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
}

/* Checklist box */
.wp-checklist {
  margin: 24px 0;
  padding: 24px 28px;
  background: #FAF7F2;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}
.wp-checklist-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.wp-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.wp-checklist li {
  position: relative;
  padding: 8px 0 8px 32px;
  margin-bottom: 0;
  border-bottom: 1px dashed var(--color-border-light);
  line-height: 1.7;
}
.wp-checklist li:last-child { border-bottom: none; }
.wp-checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 18px; height: 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
}

/* CTA block at the bottom */
.wp-cta {
  margin-top: 56px;
  padding: 32px;
  background: linear-gradient(135deg, var(--color-orange-bg) 0%, #fff 100%);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.wp-cta p {
  margin-bottom: 20px;
  color: var(--color-dark);
  font-weight: 500;
}
.wp-cta-btn {
  display: inline-block;
  background: var(--color-orange);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  text-decoration: none !important;
  transition: all .2s;
}
.wp-cta-btn:hover {
  background: var(--color-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .wp-page { padding: 100px 0 60px; }
  .wp-container { padding: 0 18px; }
  .wp-article { padding: 36px 24px; border-radius: var(--radius-md); }
  .wp-title { font-size: 26px; }
  .wp-subtitle { font-size: 15px; }
  .wp-body { font-size: 15px; line-height: 1.85; }
  .wp-body h2 { font-size: 20px; margin: 36px 0 12px; }
  .wp-body h3 { font-size: 16px; margin: 24px 0 10px; }
  .wp-cta { padding: 24px 18px; }
}


/* =============================================================
   14. ERROR PAGES (404 / 403 / 500 ...)
   ============================================================= */
body.page-error {
  font-family: var(--font-base);
  background: #FAF7F2;
  color: var(--color-body);
}

.err-page {
  min-height: 100vh;
  padding: 132px 0 80px;
  display: flex;
  align-items: center;
}
.err-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.err-code {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(96px, 18vw, 180px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--color-orange);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-orange) 0%, #FFA966 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.err-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-dark);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}
.err-message {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-body);
  margin: 0 auto 40px;
  max-width: 520px;
}
.err-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.err-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-orange);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all .2s;
}
.err-btn-primary:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.err-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--color-dark) !important;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: all .2s;
}
.err-btn-secondary:hover {
  border-color: var(--color-orange);
  color: var(--color-orange) !important;
}

@media (max-width: 768px) {
  .err-page { padding: 100px 0 60px; }
  .err-container { padding: 0 18px; }
  .err-title { font-size: 22px; }
  .err-message { font-size: 14px; }
  .err-btn-primary, .err-btn-secondary { padding: 12px 24px; font-size: 14px; }
}
