/* ==============================================================
   日本テレアポセンター リニューアル カスタムCSS
   子テーマ: beyond_tcd094-child
   カラー: メルカリモバイル参考（--ntc-primary: #e83820 ベース）
   ============================================================== */

/* Google Fonts: Noto Sans JP は functions.php で wp_enqueue_style により読み込み済み */

/* --------------------------------------------------------------
   CSS変数 / カラー定義
   ベースカラー：#FFFFFF（80%）
   メインカラー：#e83820（15%）
   テキスト    ：#222222
   セクション背景：#fafafa
   -------------------------------------------------------------- */
:root {
  --ntc-primary: #e83820;
  /* メインカラー：メルカリモバイル赤 */
  --ntc-primary-dark: #CC0000;
  /* メインカラー濃版（ホバー用） */
  --ntc-primary-light: #FFF0F0;
  /* メインカラー淡版（背景着色用） */
  --ntc-accent: #f5e146;
  /* アクセント：強調テキスト・イエロー */
  --ntc-dark: #1A1A2E;
  /* ダーク：ヘッダー・CTAセクション */
  --ntc-text: #222222;
  /* 本文テキスト */
  --ntc-gray: #fafafa;
  /* セクション切り替え背景 */
  --ntc-border: #E0E0E0;
  /* ボーダー */
  --ntc-white: #FFFFFF;
  --section-pad: 90px;
  --section-pad-sp: 56px;
  --inner-width: 1100px;
  --radius: 12px;
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.05), 0 6px 24px rgba(0, 0, 0, 0.08);
  --font-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

/* PC専用改行（SP では非表示） */
.pc-br { display: inline; }

/* スムーズスクロール（FV SCROLLボタン等のアンカーリンク用） */
/* overflow-x: clip を使用する理由：
   hidden はスクロールコンテナを生成し window.scrollY が 0 になる副作用があるため
   clip はスクロールコンテナを生成せず横はみ出しのみ防止できる */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* 固定ヘッダー考慮：アンカーリンクのスクロール着地位置調整
   hash ナビゲーション時にセクション見出しがヘッダーの裏に隠れないよう
   ヘッダー高さ（60px）＋余白（10px）分のマージンを確保する */
#fv,
#problems,
#service-overview,
#comparison,
#talent,
#cases,
#price,
#flow,
#faq,
#cta {
  scroll-margin-top: 70px;
}

/* サイト全体フォント適用 */
body {
  font-family: var(--font-base);
  color: var(--ntc-text);
  overflow-x: clip;
}

/* スクリーンリーダー専用テキスト（視覚的に非表示） */
.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;
}

/* --------------------------------------------------------------
   共通 セクション
   -------------------------------------------------------------- */
.top-section {
  padding: var(--section-pad) 20px;
}

.section-inner {
  max-width: var(--inner-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

/* セクションラベル（タイトル上の小さい英字ピル） */
.section-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ntc-primary);
  background: var(--ntc-primary-light);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
  font-family: var(--font-base);
}

/* ダーク背景のセクション用ラベル */
.section-label--light {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--ntc-text);
  line-height: 1.4;
  margin: 0 0 0;
  display: block;
  font-family: var(--font-base);
  letter-spacing: -0.01em;
}

.section-title::after {
  content: none;
}

.section-desc {
  font-size: 1rem;
  color: #777;
  line-height: 2;
  margin-top: 18px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-btn-wrap {
  text-align: center;
  margin-top: 52px;
}

/* ── SP共通：テキスト左揃え ── */
@media screen and (max-width: 767px) {
  .top-section {
    padding: 2.4rem 1.4rem;
  }

  .section-header {
    text-align: center;
    margin-bottom: 1rem;
  }

  .section-desc {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  /* ボタンラッパーはSPでも中央維持 */
  .section-btn-wrap {
    text-align: center;
  }

  #problems {
    padding: 2rem 20px;
  }
}


/* ==============================================================
   ヘッダー：ダーク赤グラデーション背景（デザインファイル準拠）
   ============================================================== */
#header_bar,
#header_bar .header_inner,
#header,
.l-header,
.site-header {
  background: linear-gradient(90deg, #2e0307 0%, #43060d 45%, #5a0a12 75%, #7c0b16 100%) !important;
}

/* ヘッダー背景の transition を無効化（SPスクロール時ロゴとの同期ずれ防止） */
#header_bar,
#header {
  transition: background 0s, background-color 0s !important;
}

/* ==============================================================
   FV（ファーストビュー）1カラム全幅レイアウト
   ============================================================== */
#fv {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-image: url(../img/fv_bgimage.png);
  background-color: #6D050C;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
}

/* ── 電話発信アイコン：ヘッドホンアイコンに置換のため非表示 ── */
.fv-phone-wrap {
  display: none;
}

.fv-phone__icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.72);
  animation: phoneFloat 5s ease-in-out infinite;
  flex-shrink: 0;
}

/* 発信波紋リング */
.fv-phone__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  animation: phoneRipple 2.8s ease-out infinite;
  pointer-events: none;
}

.fv-phone__ring:nth-child(2) {
  animation-delay: 0.93s;
}

.fv-phone__ring:nth-child(3) {
  animation-delay: 1.86s;
}

@keyframes phoneRipple {
  0% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4.2);
  }
}

@keyframes phoneFloat {

  0%,
  100% {
    transform: translateY(0px) rotate(-10deg);
  }

  50% {
    transform: translateY(-8px) rotate(-10deg);
  }
}

/* ── FV コンテンツラッパー（グリッド 2カラム） ── */
.fv-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 80px 0 80px 60px;
  display: grid;
  grid-template-columns: minmax(0, min(46%, 800px)) 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "content visual"
    "buttons visual";
  align-items: center;
}

/* ── 左カラム：テキストエリア ── */
.fv-content {
  grid-area: content;
  position: relative;
  min-width: 0;
  padding-left: 0;
  padding-right: 48px;
  /* グリッド行内で下端に寄せることでボタンとの間隔を詰める */
  align-self: end;
  padding-bottom: 0;
}


/* ── 右カラム：ビジュアルエリア ── */
.fv-right {
  grid-area: visual;
  grid-row: 1 / 3;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* カードがはみ出せるようにoverflowは設定しない */
  padding: 24px 0;
}

/* ── ビジュアルラッパー（PC画像基準の相対座標） ── */
.fv-visual {
  position: relative;
  width: 100%;
  max-width: none;
}

/* ── PC画像（ベース）：124%で右にはみ出しインパクト演出 ── */
.fv-visual__pc {
  display: block;
  width: 124%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.3));
}

/* ── セールスマンカード共通 ── */
.fv-card {
  position: absolute;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.22));
}

.fv-card img {
  display: block;
  width: 100%;
  height: auto;
}

/* カード①：左中段 */
.fv-card--1 {
  width: 20%;
  bottom: 20%;
  left: -2%;
  animation: fvCardFloat 4s ease-in-out infinite;
}

/* カード②：下中央やや左 */
.fv-card--2 {
  width: 20%;
  bottom: -26px;
  left: 46%;
  animation: fvCardFloat 6s ease-in-out infinite 0.8s;
}

/* カード③：右中 */
.fv-card--3 {
  width: 20%;
  top: 43%;
  right: 3%;
  animation: fvCardFloat 5s ease-in-out infinite 1.5s;
}

/* カード④：上中央（ヘッダーに被らないよう上端から離す） */
.fv-card--4 {
  width: 20%;
  top: 5%;
  left: 24%;
  animation: fvCardFloat 4.5s ease-in-out infinite 2.2s;
}

/* ── カードふわふわアニメーション ── */
@keyframes fvCardFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* ── メインキャッチコピー ── */
.fv-catch {
  font-size: clamp(1.6rem, calc(6.7vw - 1.45rem), 6.1rem);
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  font-family: var(--font-base);
}

/* キャッチコピー各行ラッパー */
.fv-catch-line {
  display: block;
  white-space: nowrap;
  text-align: left;
}

/* 行1「テレアポ特化の」：デザインt1=76px → ベースと等倍（最大行） */
.fv-catch-sm {
  font-size: 1em;
  display: flex;
  align-items: center;
  gap: 0.3em;
  text-shadow: 0 2px 10px rgba(80, 0, 6, .6);
  line-height: 1.1;
}

/* 行2「フリーランス・業務委託を」：fv-content幅いっぱいに均等配字 */
.fv-catch-md {
  font-size: 0.65em;
  text-shadow: 0 2px 10px rgba(80, 0, 6, .6);
  margin-top: 0.12em;
  line-height: 1.2;
  display: block;
  width: 100%;
  text-align: justify;
  text-align-last: justify;
  text-justify: inter-character;
}

/* 行3「最短即日マッチング」：デザインt3=71px / t1=76px = 93.4%、ホワイトゴールド */
.fv-catch em {
  font-size: 0.93em;
  font-style: normal;
  background: linear-gradient(180deg, #ffffff 0%, #f1c75c 36%, #ffe7bb 70%, #ffba2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 5px rgba(50, 0, 0, .4));
}

/* ヘッドホンアイコン ラッパー（波紋アニメーション基点） */
.fv-catch-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.2em;
  height: 1.2em;
}

/* 波紋リング1：細線・内側（明るい赤＋グロー） */
.fv-catch-icon-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 90, 55, 0.80);
  box-shadow: 0 0 6px 2px rgba(220, 50, 25, 0.50),
              0 0 2px 0px rgba(255, 140, 90, 0.70);
  transform: translate(-50%, -50%) scale(0.9);
  animation: hpRippleInner 4.8s ease-out infinite;
  pointer-events: none;
}

/* 波紋リング2：太線・外側（深い赤＋広いグロー） */
.fv-catch-icon-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid rgba(190, 25, 12, 0.65);
  box-shadow: 0 0 10px 4px rgba(160, 15, 8, 0.40),
              0 0 4px 1px rgba(240, 70, 40, 0.45);
  transform: translate(-50%, -50%) scale(1.3);
  animation: hpRippleOuter 4.8s ease-out infinite;
  pointer-events: none;
}

/* 内側リング：小→中（50%で完了し残り時間は非表示＝間隔） */
@keyframes hpRippleInner {
  0%   { opacity: 0.80; transform: translate(-50%, -50%) scale(0.9); }
  50%  { opacity: 0;    transform: translate(-50%, -50%) scale(1.4); }
  100% { opacity: 0;    transform: translate(-50%, -50%) scale(1.4); }
}

/* 外側リング：中→大（常に内側より一回り外を維持） */
@keyframes hpRippleOuter {
  0%   { opacity: 0.55; transform: translate(-50%, -50%) scale(1.3); }
  50%  { opacity: 0;    transform: translate(-50%, -50%) scale(1.8); }
  100% { opacity: 0;    transform: translate(-50%, -50%) scale(1.8); }
}

/* ヘッドホンアイコン本体：ラッパー内で100%表示 */
.fv-catch-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
}


/* ── サブコピー＋初期費用バッジ 横並び ── */
.fv-sub-row {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 44px;
}

/* ── サブキャッチコピー（2項目：ゴールドピルタグ・モダンデザイン） ── */
.fv-sub {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 20px;
  font-family: var(--font-base);
  /* PC：中央揃え */
  justify-content: center;
}

/* チップ：ダーク赤グラデーション背景＋クリーム枠（デザインファイル準拠） */
.fv-sub__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: clamp(0.9rem, 1.05vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  background: linear-gradient(135deg, #8e131d 0%, #60040f 55%, #46020c 100%);
  border: 1.5px solid rgba(255, 224, 188, .5);
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(40, 0, 4, .4), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: background 0.2s, border-color 0.2s;
}


/* チェックアイコン（白丸枠＋チェックマーク：デザインファイル準拠） */
.fv-sub__item::before {
  content: '✓';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  flex-shrink: 0;
  background: transparent;
  line-height: 1;
}

/* ── 初期費用0円バッジ（白丸・白渕・白文字） ── */
.fv-zero-badge {
  flex-shrink: 0;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  transition: background 0.2s;
}

/* ホバーアニメーションなし */

.fv-zero-badge__label {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 2px;
  font-family: var(--font-base);
  /* バッジの rotate(-6deg) を相殺して水平に戻す */
  transform: rotate(6deg);
}

.fv-zero-badge__num {
  font-size: 3.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  font-family: var(--font-base);
  letter-spacing: -0.02em;
}

/* .fv-zero-highlight の定義はファイル末尾に一本化 */

.fv-zero-badge__num em {
  display: inline-block;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  vertical-align: baseline;
  margin-left: 1px;
  /* バッジの rotate(-6deg) と「0」の skewX(-6deg) を相殺して水平に戻す */
  transform: rotate(6deg) skewX(6deg);
}

/* ── CTAボタン ── */
.fv-buttons {
  grid-area: buttons;
  padding-left: 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  /* グリッド行内で上端に寄せ、margin-topで間隔を細かく制御 */
  align-self: start;
  margin-top: 28px;
}

.fv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* shimmer の ::before 基準点 */
  padding: 17px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  /* transition: all を使わず個別指定（animation との干渉を防ぐ） */
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
  gap: 8px;
  font-family: var(--font-base);
  letter-spacing: 0.03em;
}

/* プライマリボタン：白背景・赤テキスト */
.fv-btn--primary {
  background: #ffffff;
  color: var(--ntc-primary);
  /* overflow:hidden の代わりに clip-path でシマーをクリップ
     → box-shadow（pulse ring）は clip-path の影響を受けないので正常に表示される */
  clip-path: inset(0 round 50px);
  animation: fvBtnPulse 2.4s ease-out infinite;
}

/* shimmer：左から右へ光沢が流れる */
.fv-btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.55) 50%,
      transparent 100%);
  transform: skewX(-15deg);
  animation: fvBtnShimmer 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* テキスト・矢印を shimmer の上に確実に重ねる */
.fv-btn--primary::after {
  content: '→';
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.fv-btn--primary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
  color: var(--ntc-primary);
  text-decoration: none;
  /* アニメーションはホバー中も継続 */
}

/* ── FV ボタン用 keyframes（CTA と同じ pulse ring スタイル・ベース影付き） ── */
@keyframes fvBtnPulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 255, 255, 0.60);
  }

  70% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 0 0 16px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes fvBtnShimmer {
  0% {
    left: -80%;
  }

  45%,
  100% {
    left: 130%;
  }
}

/* アウトラインボタン：ゴースト（白枠・白テキスト） */
.fv-btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.fv-btn--outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
}

/* ── オレンジレッドボタン：デザインファイル準拠グラデーション＋質感 ── */
.fv-btn--yellow {
  background: linear-gradient(95deg, #f4a02c 0%, #ef7f23 42%, #e0561c 70%, #d22f19 100%);
  color: #ffffff;
  border: none;
  padding: 22px 48px;
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  font-weight: 900;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(190, 40, 10, .55), inset 0 2px 0 rgba(255, 255, 255, .35);
  text-shadow: 0 1px 3px rgba(120, 20, 0, .5);
  animation: fvBtnPulseYellow 2.4s ease-out infinite;
}

.fv-btn--yellow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.50) 50%,
      transparent 100%);
  transform: skewX(-15deg);
  animation: fvBtnShimmer 2s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.fv-btn--yellow::after {
  content: '→';
  font-weight: 900;
  position: relative;
  z-index: 1;
}

.fv-btn--yellow:hover {
  background: linear-gradient(95deg, #f8b040 0%, #f28e35 42%, #e86530 70%, #d83f28 100%);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(190, 40, 10, .65), inset 0 2px 0 rgba(255, 255, 255, .40);
  color: #ffffff;
  text-decoration: none;
}

@keyframes fvBtnPulseYellow {
  0% {
    box-shadow: 0 14px 34px rgba(190, 40, 10, .55), inset 0 2px 0 rgba(255, 255, 255, .35), 0 0 0 0 rgba(240, 100, 30, .60);
  }

  70% {
    box-shadow: 0 14px 34px rgba(190, 40, 10, .45), inset 0 2px 0 rgba(255, 255, 255, .35), 0 0 0 18px rgba(240, 100, 30, 0);
  }

  100% {
    box-shadow: 0 14px 34px rgba(190, 40, 10, .55), inset 0 2px 0 rgba(255, 255, 255, .35), 0 0 0 0 rgba(240, 100, 30, 0);
  }
}

/* ── 実績バッジ 横並び ── */
.fv-stats-row {
  /* Grid 2列で両バッジを強制的に等幅にする */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 20px;
}

.fv-stat-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

/* PC：羽のサイズ（デザインファイルの月桂樹h=104px準拠） */
.fv-stat-feather {
  height: 90px;
  width: auto;
  flex-shrink: 0;
}

.fv-stat-feather--r {
  transform: scaleX(-1);
}

.fv-stat-badge__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* 羽を両端に固定し、ボディが残りスペースを均等に占有 */
  flex: 1;
  min-width: 0;
}

.fv-stat-badge__num {
  font-size: clamp(1.5rem, 2.2vw, 2.4rem);
  font-weight: 900;
  background: linear-gradient(180deg, #ffffff 0%, #f1c75c 36%, #ffe7bb 70%, #ffba2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-family: var(--font-base);
  white-space: nowrap;
}

.fv-stat-badge__num em {
  font-size: 0.55em;
  font-style: normal;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
}

.fv-stat-badge__label {
  font-size: clamp(1.3rem, 1.8vw, 2.0rem);
  font-weight: 700;
  background: linear-gradient(180deg, #ffffff 0%, #f1c75c 36%, #ffe7bb 70%, #ffba2f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.08em;
  margin-top: 3px;
  font-family: var(--font-base);
  white-space: nowrap;
}

/* fv-badges / fv-badge は削除済み（初期費用0円バッジに統合） */

/* ── SCROLLインジケーター（中央下） ── */
.fv-scroll-btn {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.fv-scroll-btn:hover {
  color: #ffffff;
}

.fv-scroll-btn::after {
  content: '';
  display: block;
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollLine 1.8s ease-in-out infinite;
  border-radius: 1px;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ── 1352px以下：fv-subアイテムを折り返さず、テキストのみ折り返し ── */
@media screen and (max-width: 1352px) {
  .fv-sub {
    flex-wrap: nowrap;
  }
  .fv-sub__item {
    flex: 1 1 0;
    white-space: normal;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
}

/* ── タブレット対応（768〜1024px）── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .fv-inner {
    padding: 60px 0 60px 40px;
    gap: 24px;
  }

  .fv-content {
    padding-left: 58px;
  }

  .fv-visual {
    max-width: none;
    width: 100%;
  }

  .fv-visual__pc {
    width: 118%;
  }

  /* タブレットでは visual を少し縮小 */
  .fv-card--1,
  .fv-card--2,
  .fv-card--3,
  .fv-card--4 {
    width: 20%;
  }
}

/* ── 768〜1400px：バッジフォント・フェザーをvwで滑らかにスケール ── */
@media screen and (min-width: 768px) and (max-width: 1400px) {
  .fv-stat-badge__num {
    font-size: clamp(1.0rem, 2.0vw, 1.8rem);
  }
  .fv-stat-badge__label {
    font-size: clamp(0.9rem, 1.6vw, 1.5rem);
  }
  .fv-stat-feather {
    height: clamp(50px, 6.5vw, 90px);
    width: auto;
    flex-shrink: 0;
  }
}

/* ── 1500px以上：FVコンテンツを1500px幅でキャップ・vwフォント固定 ── */
@media screen and (min-width: 1500px) {
  .fv-inner {
    /*
     * 右カラム画像（width:124%）が右に約187pxはみ出すため、
     * その半分（約93px）分だけ左寄りにオフセットして光学的中央揃えを実現。
     * max(0px, ...) によりビューポートが狭い場合（余白が取れない場合）は左端0pxに収める。
     * margin-right: auto が残りスペースを右側に割り当て、画像のはみ出し分を吸収する。
     */
    margin-left: max(0px, calc(50vw - 840px));
    margin-right: auto;
  }
  /* vwベースのキャッチコピーを1500px時の値で固定（calc(6.7*15px - 1.45rem)≈77.3px） */
  .fv-catch {
    font-size: 4.83rem;
  }
  /* バッジフォントを1500px時の値で固定 */
  .fv-stat-badge__num {
    font-size: 2.06rem;
  }
  .fv-stat-badge__label {
    font-size: 1.69rem;
  }
  /* 羽サイズを1500px時の値で固定 */
  .fv-stat-feather {
    height: 90px;
    width: auto;
  }
}

/* ── SP専用画像（PCでは非表示） ── */
.fv-img-sp {
  display: none;
}

/* ── SP対応（〜767px）── */
@media screen and (max-width: 767px) {

  /* ⑤ FVを厳密に1画面内に収める */
  #fv {
    height: 100svh;
    min-height: 580px;
    overflow: hidden;
  }

  .fv-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "content"
      "visual"
      "buttons";
    padding: 20px 20px 12px;
    gap: 0;
    height: 100%;
    align-items: start;
  }

  /* ① SP：電話アイコンはキャッチと重なるため非表示 */
  .fv-phone-wrap {
    display: none;
  }

  /* ① fv-content：phone icon padding不要 */
  .fv-content {
    flex: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-top: 3.2rem;
  }

  /* ① キャッチコピー：大型化＋テキストシャドウ */
  .fv-catch {
    font-size: clamp(2.6rem, 11vw, 4rem);
    text-align: center;
    margin-bottom: 12px;
    display: block;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.30);
    letter-spacing: -0.02em;
    line-height: 1.3;
  }
  .fv-catch-line {
    text-align: center;
    justify-content: center;
  }
  .fv-catch-sm {
    font-size: 0.8em;
  }
  .fv-catch-md {
    font-size: 0.6em;
  }
  .fv-catch em {
    font-size: 0.86em;
    background: linear-gradient(180deg, #ffffff 0%, #ffca44 36%, #ffe7bb 70%, #ffba2f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .fv-catch-icon-wrap {
    width: 1.6em;
    height: 1.6em;
  }

  /* ② 初期費用0円バッジを非表示 */
  .fv-zero-badge {
    display: none;
  }

  .fv-sub-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 20px;
    display: none;
  }

  /* ② 実績バッジをSPで表示 ─ Grid等幅・大型化 */
  .fv-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 0.5rem;
    margin-bottom: 16px;
  }

  /* SP：フェザーをコンパクト化して表示 */
  .fv-stat-feather {
    height: 28px;
    width: auto;
    flex-shrink: 0;
  }

  /* バッジ幅統一：grid 1fr 1fr で既に等幅、width:100%で確実に揃える */
  .fv-stat-badge {
    width: 100%;
  }

  /* Badge①「2,500名以上 / 登録人材」：文字数が少ないので大きめ */
  .fv-stats-row .fv-stat-badge:nth-child(1) .fv-stat-badge__num {
    font-size: clamp(1.0rem, 6.0vw, 2.0rem);
  }
  .fv-stats-row .fv-stat-badge:nth-child(1) .fv-stat-badge__label {
    font-size: clamp(0.9rem, 5.5vw, 1.8rem);
  }

  /* Badge②「マッチングまで / 一切無料」：numが長いので小さめ */
  .fv-stats-row .fv-stat-badge:nth-child(2) .fv-stat-badge__num {
    font-size: clamp(1.0rem, 4.8vw, 1.5rem);
  }
  .fv-stats-row .fv-stat-badge:nth-child(2) .fv-stat-badge__label {
    font-size: clamp(0.9rem, 4.5vw, 1.4rem);
  }

  /* ② サブコピーをSPで非表示 */
  .fv-sub {
    display: none;
  }

  /* ③ SP専用ダミー画像は非表示・PC右カラムをフル幅で表示してカード付き画像を使用 */
  .fv-img-sp {
    display: none;
  }

  .fv-right {
    grid-row: auto;
    display: block;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    margin-top: 0;
  }

  .fv-visual {
    max-width: 300px;
    margin: 22px auto 12px;
  }

  /* PC側のwidth:124%をリセットして中央配置 */
  .fv-visual__pc {
    width: 100%;
  }

  .fv-card--1,
  .fv-card--2,
  .fv-card--3,
  .fv-card--4 {
    width: 26%;
  }

  /* SP：カード位置個別調整 */
  .fv-card--1 {
    bottom: 9%;
  }
  .fv-card--2 {
    bottom: -48px;
    left: auto;
    right: 26%;
  }
  .fv-card--3 {
    right: -5%;
  }
  .fv-card--4 {
    left: 30%;
    right: 7%;
    top: -6%;
  }

  /* ④ ボタン：中央揃え・インパクト重視 */
  .fv-buttons {
    padding-left: 0;
    margin-top: 8px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .fv-btn {
    width: 90%;
    max-width: 340px;
    padding: 16px 24px;
    font-size: 1rem;
    box-sizing: border-box;
  }

  /* メインCTA（黄色ボタン）：SPで目立たせる */
  .fv-btn--yellow {
    width: 90%;
    max-width: 340px;
    padding: 18px 28px;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 28px rgba(217, 140, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.20);
  }

  .fv-scroll-btn {
    display: none;
  }
}



/* --------------------------------------------------------------
   クライアントロゴカルーセル（CSSマーキー）
   -------------------------------------------------------------- */
.clients-section {
  background: #ffffff;
  padding: 44px 0;
  overflow: hidden;
}

/* ロゴカルーセルは全幅表示（max-width 制限を解除） */
.clients-section .section-inner {
  max-width: 100%;
}

.clients-label {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: #aaa;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.clients-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  padding-right: 60px;
  animation: marquee 22s linear infinite;
  flex-shrink: 0;
}

.clients-track img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 48px;
  background: #e8e8e8;
  color: #bbb;
  font-size: 0.72rem;
  border-radius: 4px;
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media screen and (max-width: 767px) {
  .clients-section {
    padding: 16px 0;
  }

  .clients-label {
    display: none;
  }

  .clients-track img {
    height: 38px;
  }
}

/* --------------------------------------------------------------
   TimeRex 予約カレンダー埋め込みエリア
   -------------------------------------------------------------- */
.timerex-section {
  background: #ffffff;
  padding: 60px 20px;
}

.timerex-inner {
  max-width: var(--inner-width);
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .timerex-section {
    padding: 40px 16px;
  }
}

/* --------------------------------------------------------------
   課題提起セクション
   -------------------------------------------------------------- */
.problems-section {
  background-image: url('../img/content_bg.jpg');
  background-size: cover;
  background-position: center;
}

.problems-section .section-label {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.problems-section .section-title {
  color: #fff;
}

.problems-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* 4カラムグリッド */
.problems-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* セクション底辺：解決セクションへ視線を誘導するV字シェイプ */
.problems-section {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 50% 100%, 0 calc(100% - 60px));
  padding-bottom: 120px;
}

/* カード：ダーク背景上の半透明カード */
.problems-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 36px 20px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* PC 4列：左から右へ傾きが外→内（ファンネル） */
.problems-item:nth-child(1) { transform: rotate(4deg); }
.problems-item:nth-child(2) { transform: rotate(1.5deg); }
.problems-item:nth-child(3) { transform: rotate(-1.5deg); }
.problems-item:nth-child(4) { transform: rotate(-4deg); }

/* hover 時は傾きを保持したまま浮かせる */
.problems-item:nth-child(1):hover { transform: rotate(4deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.problems-item:nth-child(2):hover { transform: rotate(1.5deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.problems-item:nth-child(3):hover { transform: rotate(-1.5deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
.problems-item:nth-child(4):hover { transform: rotate(-4deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }

/* アイコン背景サークル */
.problems-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.problems-icon-svg {
  width: 40px;
  height: 40px;
  color: #fff;
  flex-shrink: 0;
}

/* 太字タイトル */
.problems-title {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  font-family: var(--font-base);
}

/* --------------------------------------------------------------
   解決提示セクション（課題提起セクション直下）
   -------------------------------------------------------------- */
.solution-section {
  background: #ffffff;
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.solution-section .section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

/* イラスト */
.solution-illust {
  margin: -40px 0 0;
  position: relative;
  z-index: 2;
  display: inline-block;
}

.solution-illust img {
  width: 300px;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.18));
}

/* 解決セクションのヘッダー */
.solution-section .section-header {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  margin-bottom: 0;
}

.solution-section .section-title {
  color: var(--ntc-text);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 900;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── CTAブロック ──────────────────────────── */
.solution-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px 24px 56px;
  width: 100%;
  gap: 0;
}

/* トラストバッジ */
.solution-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 36px 0 32px;
  padding: 0;
}

.solution-trust__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 700;
  color: #444;
  letter-spacing: 0.03em;
}

.solution-trust__item::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ntc-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* CTAボタン */
.solution-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #9a0009 0%, #B8000D 40%, #e8002f 100%);
  color: #ffffff;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 22px 60px;
  border-radius: 60px;
  text-decoration: none;
  box-shadow: 0 6px 0 #7a0008,
              0 10px 40px rgba(184, 0, 13, 0.40),
              0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
  overflow: hidden;
  min-width: 280px;
}

/* 光沢レイヤー */
.solution-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%);
  border-radius: 60px 60px 0 0;
  pointer-events: none;
}

.solution-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 0 #7a0008,
              0 16px 48px rgba(184, 0, 13, 0.50),
              0 4px 12px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.solution-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #7a0008,
              0 6px 20px rgba(184, 0, 13, 0.35),
              0 1px 4px rgba(0, 0, 0, 0.12);
}

.solution-cta-btn__icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.9;
}

.solution-cta-btn__arrow {
  font-size: 1.2em;
  transition: transform 0.18s ease;
}

.solution-cta-btn:hover .solution-cta-btn__arrow {
  transform: translateX(5px);
}

/* 補足テキスト：吹き出しデザイン（ボタン上に重なる・下向き三角） */
.solution-cta-note {
  position: relative;
  display: inline-block;
  margin-top: 0;
  margin-bottom: -20px; /* ボタン上端に重ねる */
  padding: 9px 20px;
  background: #fff8f8;
  border: 1px solid rgba(184, 0, 13, 0.22);
  border-radius: 8px;
  font-size: 0.82rem;
  color: #666;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* 吹き出し三角（枠線・下向き） */
.solution-cta-note::before {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 9px 8px 0;
  border-style: solid;
  border-color: rgba(184, 0, 13, 0.22) transparent transparent transparent;
  display: block;
  width: 0;
  height: 0;
}

/* 吹き出し三角（塗り・下向き） */
.solution-cta-note::after {
  content: '';
  position: absolute;
  bottom: -7px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 7px 0;
  border-style: solid;
  border-color: #fff8f8 transparent transparent transparent;
  display: block;
  width: 0;
  height: 0;
}

/* SP */
@media screen and (max-width: 767px) {
  .solution-section {
    padding-top: 4rem;
  }
  .solution-illust img {
    width: 220px;
  }

  /* タイトル：左揃え・改行なし */
  .solution-section .section-title {
    font-size: clamp(1rem, 4.5vw, 1.3rem);
    text-align: left;
  }
  .solution-section .section-title .pc-br {
    display: none;
  }

  /* セクションヘッダーを左揃えに */
  .solution-section .section-header {
    width: 100%;
    text-align: left;
  }

  /* トラスト：縦並び・左揃えでチェックマークを縦に揃える */
  .solution-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0 24px;
    padding: 0;
  }
  .solution-trust__item {
    font-size: 1rem;
    font-weight: 700;
    align-items: flex-start;
    letter-spacing: 0.02em;
  }
  .solution-trust__item::before {
    margin-top: 3px;
    flex-shrink: 0;
  }

  .solution-cta {
    padding: 0 20px 48px;
  }
  .solution-cta-btn {
    padding: 20px 32px;
    font-size: 1rem;
    width: 90%;
    max-width: 340px;
    min-width: unset;
    letter-spacing: 0.05em;
  }
}

/* 説明文：左揃え・改行なし */
.problems-desc {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  text-align: left;
}

/* ── タブレット：2×2グリッド（奇数=左列→右傾き、偶数=右列→左傾き） ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .problems-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .problems-item:nth-child(odd)  { transform: rotate(2.5deg); }
  .problems-item:nth-child(even) { transform: rotate(-2.5deg); }
  .problems-item:nth-child(odd):hover  { transform: rotate(2.5deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
  .problems-item:nth-child(even):hover { transform: rotate(-2.5deg) translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }
}

/* ── SP：2カラム（左列→右傾き、右列→左傾き） ── */
@media screen and (max-width: 767px) {
  /* お悩みセクション高さ調整 */
  #problems {
    padding: 2rem 20px 5rem;
  }
  /* V字シェイプを浅くし、下2項目が見切れないよう余白を確保 */
  .problems-section {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 50% 100%, 0 calc(100% - 30px));
    padding-bottom: 180px;
  }

  .problems-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .problems-item:nth-child(odd)  { transform: rotate(2deg); }
  .problems-item:nth-child(even) { transform: rotate(-2deg); }
  .problems-item:nth-child(odd):hover  { transform: rotate(2deg) translateY(-4px); }
  .problems-item:nth-child(even):hover { transform: rotate(-2deg) translateY(-4px); }

  .problems-item {
    padding: 24px 14px 22px;
    gap: 10px;
  }

  .problems-icon-wrap {
    width: 60px;
    height: 60px;
  }

  .problems-icon-svg {
    width: 30px;
    height: 30px;
  }

  .problems-title {
    font-size: 0.88rem;
    text-align: left;
  }

  .problems-desc {
    font-size: 0.76rem;
    line-height: 1.7;
  }
}


/* --------------------------------------------------------------
   サービス概要（テキスト左右交互レイアウト）
   -------------------------------------------------------------- */
.service-overview-section {
  background: var(--ntc-gray);
  /* #fafafa */
  color: var(--ntc-text);
}

.service-overview-section .section-title {
  color: var(--ntc-text);
}

.service-overview-section .section-desc {
  color: #777;
}

/* ── 行ラッパー ── */
.service-rows {
  display: flex;
  flex-direction: column;
}

/* ── 1行：テキスト左・画像右（デフォルト） ── */
.service-row {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 64px 0;
  border-bottom: 1px solid var(--ntc-border);
  /* #E0E0E0 */
}

.service-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── 偶数行：画像左・テキスト右 ── */
.service-row--reverse {
  flex-direction: row-reverse;
}

/* ── テキストブロック ── */
.service-row__text {
  flex: 1;
  min-width: 0;
}

/* ナンバー */
.service-row__num {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: var(--ntc-primary);
  background: var(--ntc-primary-light);
  /* #FFF0F0 */
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-family: var(--font-base);
}

/* 見出し */
.service-row__title {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: var(--ntc-text);
  /* #222222 */
  line-height: 1.4;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  font-family: var(--font-base);
}

/* 説明文 */
.service-row__desc {
  font-size: 0.95rem;
  line-height: 2;
  color: #666;
  margin: 0;
}

/* ── 画像ブロック ── */
.service-row__img {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-row__img img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  border-radius: 16px;
  /* 画像がない間はプレースホルダー的に見えるようにしない：img が読めれば表示 */
}

/* ── タブレット（768〜1024px）：gap を詰める ── */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .service-row {
    gap: 40px;
    padding: 52px 0;
  }

  .service-row__title {
    font-size: 1.45rem;
  }
}

/* ── SP（〜767px）：縦積み・画像は常にテキスト下 ── */
@media screen and (max-width: 767px) {

  .service-overview-section {
    padding: 2.4rem 1.4rem;
  }

  .service-row,
  .service-row--reverse {
    flex-direction: column;
    gap: 28px;
    padding: 48px 0;
  }

  .service-row__text {
    width: 100%;
  }

  .service-row__img {
    width: 100%;
  }

  .service-row__img img {
    max-width: 100%;
    border-radius: 12px;
  }

  .service-row__title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .service-row__desc {
    font-size: 0.9rem;
  }
}


/* --------------------------------------------------------------
   サービス比較表
   -------------------------------------------------------------- */
.comparison-section {
  background: var(--ntc-white);
  overflow: hidden;
  /* テーブルmin-widthによるページ横スクロール防止 */
}

.comparison-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--ntc-border);
  /* ラッパー自身をボックスモデルで幅制限（SP横はみ出し防止の要） */
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: var(--ntc-white);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  vertical-align: middle;
}

.comparison-table thead th {
  background: #1A1A2E;
  color: var(--ntc-white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 18px 18px;
}

.comparison-table thead th:first-child {
  background: #12121e;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: #f9f9f9;
  color: var(--ntc-text);
  font-size: 0.875rem;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.our-col {
  background: #FFF4F4 !important;
}

.comparison-table thead .our-col {
  background: var(--ntc-primary) !important;
  color: var(--ntc-white) !important;
}

.check {
  color: var(--ntc-primary);
  font-weight: 700;
}

.comparison-table tbody tr:hover td {
  background: #fafafa;
}

.comparison-table tbody tr:hover td.our-col {
  background: #FFE8E8 !important;
}

/* ── 比較表 SP対応 ── */
@media screen and (max-width: 767px) {

  /* IDセレクターで最高優先度を確保しつつ、幅をビューポートに明示拘束 */
  #comparison {
    overflow: hidden;
    padding: 2.4rem 1.4rem;
  }

  #comparison .section-inner {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  #comparison .comparison-table-wrap {
    /* calc(100vw - 40px) = ビューポート幅 - .top-sectionの左右padding(20px×2) */
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    box-sizing: border-box;
    overflow-x: auto;
  }
}


/* --------------------------------------------------------------
   人材プロフィール
   -------------------------------------------------------------- */
.talent-section {
  background: var(--ntc-gray);
}

.talent-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.talent-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ntc-white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s, box-shadow 0.22s;
}

.talent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.talent-img {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* 人材写真：コンテナにフィット */
.talent-img img {
  width: 88%;
  height: 130%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0.8;
}

.talent-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ntc-primary);
}

.talent-info {
  padding: 24px 20px 20px;
}

.talent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.talent-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ntc-primary);
  background: var(--ntc-primary-light);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.talent-info p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  line-height: 1.65;
}

.talent-career,
.talent-rate,
.talent-industry {
  color: var(--ntc-text);
  font-weight: 600;
}

.talent-rate {
  color: var(--ntc-primary);
}

.talent-desc {
  color: #777;
  font-size: 0.82rem !important;
  margin-top: 10px !important;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

@media screen and (max-width: 960px) {
  .talent-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .talent-list {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------
   導入事例
   -------------------------------------------------------------- */
.cases-section {
  background: var(--ntc-white);
}

.cases-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cases-card {
  background: var(--ntc-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #f0f0f0;
  transition: transform 0.22s, box-shadow 0.22s;
}

.cases-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* カード全体をリンクとして包む */
.cases-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* アイキャッチ画像エリア */
.cases-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
}

.cases-card__img-wrap--noimg {
  background: linear-gradient(135deg, #fef0f0 0%, #fafafa 100%);
}

.cases-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.cases-card:hover .cases-card__img {
  transform: scale(1.04);
}

/* タイトルエリア */
.cases-card__body {
  padding: 18px 20px 20px;
}

.cases-card__title {
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
  color: var(--ntc-text);
  transition: color 0.2s;
}

.cases-card__link:hover .cases-card__title {
  color: var(--ntc-primary);
}

@media screen and (max-width: 960px) {
  .cases-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .cases-list {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------
   料金体系
   -------------------------------------------------------------- */
.price-section {
  background-image: url('../img/content_bg.jpg');
  background-size: cover;
  background-position: center;
}

.price-section .section-label {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.price-section .section-title {
  color: #fff;
}

.price-section .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.price-formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.price-formula__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--ntc-gray);
  border-radius: var(--radius);
  padding: 24px 24px;
  min-width: 130px;
  text-align: center;
  border: 1px solid var(--ntc-border);
}

.price-formula__item--highlight {
  background: var(--ntc-primary);
  color: var(--ntc-white);
  border-color: var(--ntc-primary);
  box-shadow: 0 4px 16px rgba(255, 2, 17, 0.3);
}

.price-formula__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.price-formula__item--highlight .price-formula__label {
  color: rgba(255, 255, 255, 0.85);
}

.price-formula__value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.price-formula__value--large {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--ntc-white);
}

.price-formula__value--large small {
  font-size: 1.4rem;
}

.price-formula__plus {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  line-height: 1;
}

.price-notes {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 520px;
  text-align: left;
}

.price-notes li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.price-notes li:last-child {
  border-bottom: none;
}

.price-notes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ntc-primary);
  font-weight: 700;
}

@media screen and (max-width: 767px) {
  .price-formula {
    flex-direction: column;
  }
}


/* --------------------------------------------------------------
   サービスフロー（5ステップ）
   -------------------------------------------------------------- */
.flow-section {
  background: var(--ntc-gray);
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

/* 各アイテム間の矢印ライン */
.flow-list::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 8px);
  right: calc(10% + 8px);
  height: 2px;
  background: linear-gradient(to right, var(--ntc-primary) 0%, rgba(255, 2, 17, 0.2) 100%);
  z-index: 0;
  /* 初期状態：左端から0幅 → JS で line-animated が付いたら伸びる */
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JS から .line-animated が付与されたとき全幅に伸びる */
.flow-list.line-animated::before {
  transform: scaleX(1);
}

.flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.flow-num {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ntc-white);
  border: 3px solid var(--ntc-primary);
  color: var(--ntc-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(255, 2, 17, 0.15);
  margin-bottom: 20px;
  transition: background 0.22s, color 0.22s;
}

.flow-item:hover .flow-num {
  background: var(--ntc-primary);
  color: #fff;
}

.flow-num span {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 2px;
}

.flow-body {
  padding-top: 0;
}

.flow-title {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ntc-text);
  line-height: 1.4;
}

.flow-text {
  font-size: 0.8rem;
  color: #777;
  line-height: 1.75;
  margin: 0;
}

/* タブレット */
@media screen and (max-width: 960px) {
  .flow-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 0;
  }

  .flow-list::before {
    display: none;
  }
}

/* SP：縦積み */
@media screen and (max-width: 767px) {
  .flow-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* SP 縦方向ライン（::after で PC の横ラインと独立） */
  .flow-list::after {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--ntc-primary) 0%, rgba(255, 2, 17, 0.2) 100%);
    z-index: 0;
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .flow-list.line-animated::after {
    transform: scaleY(1);
  }

  .flow-item {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 16px;
    padding: 0 0 16px;
  }

  .flow-item:last-child {
    padding-bottom: 0;
  }

  .flow-num {
    width: 60px;
    height: 60px;
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }

  .flow-num span {
    font-size: 1.1rem;
  }

  /* flow-body をカード化 */
  .flow-body {
    background: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    align-self: center;
  }
}


/* --------------------------------------------------------------
   FAQ（アコーディオン：details/summary）
   -------------------------------------------------------------- */
.faq-section {
  background: var(--ntc-white);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* details要素をリセット */
.faq-item {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

details.faq-item {
  background: var(--ntc-white);
}

details.faq-item summary {
  list-style: none;
}

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

/* ── 質問行 ── */
.faq-q {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: background 0.18s;
}

.faq-q:hover {
  background: #fafafa;
}

details[open] .faq-q {
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
}

.faq-q__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ntc-primary);
  color: var(--ntc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.faq-q__text {
  flex: 1;
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ntc-text);
}

/* 開閉アロー */
.faq-q__arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0f0f0;
  position: relative;
  transition: background 0.18s, transform 0.25s;
}

.faq-q__arrow::before,
.faq-q__arrow::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 1.5px;
  background: #888;
  top: 50%;
  transition: transform 0.25s;
}

.faq-q__arrow::before {
  left: 5px;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: right center;
}

.faq-q__arrow::after {
  right: 5px;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: left center;
}

details[open] .faq-q__arrow {
  background: var(--ntc-primary-light);
  transform: rotate(180deg);
}

details[open] .faq-q__arrow::before,
details[open] .faq-q__arrow::after {
  background: var(--ntc-primary);
}

/* ── 回答行 ── */
.faq-a {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  align-items: flex-start;
  background: #fafafa;
  overflow: hidden;
  /* JS アコーディオンが max-height をアニメーション制御 */
}

.faq-a__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ntc-primary-light);
  color: var(--ntc-primary);
  border: 1.5px solid rgba(255, 2, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
}

.faq-a__text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
  padding-top: 5px;
}

@media screen and (max-width: 767px) {

  .faq-q,
  .faq-a {
    padding: 18px 16px;
  }

  .faq-q__text {
    font-size: 0.9rem;
  }
}


/* --------------------------------------------------------------
   コラム個別ページ：スマホ余白補正
   親テーマ responsive.css が body.single-news 向けにのみ
   #single_post_title の負のマージンを打ち消しているため、
   body.single-column にも同等の補正を適用する
   -------------------------------------------------------------- */
@media screen and (max-width: 750px) {
  body.single-column #single_post_title {
    margin: 20px 0 20px;
    /* 負のマージン（-20px）をリセット＋パンくずとの余白を確保 */
  }

  body.single-column #single_post_title .title {
    padding: 0;
    /* 負のマージン補正用 padding をリセット */
  }
}

/* --------------------------------------------------------------
   CTA
   -------------------------------------------------------------- */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 20px;
  color: var(--ntc-white);
  text-align: left;
  /* 背景画像：人物が右側に集まるため、テキストは左寄せ */
  background-image: url('../img/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  background-color: #1a1a2e;
  /* 画像未設定時のフォールバック */
}

/* 暗色オーバーレイ */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(26 26 46 / 72%);
  z-index: 0;
  pointer-events: none;
}

/* ::after 装飾サークルは廃止（背景画像と競合するため） */
.cta-section::after {
  display: none;
}


.cta-section .section-inner {
  position: relative;
  z-index: 1;
  /* 人物が右にいるため、テキストエリアを左半分に収める */
  max-width: 1140px;
  margin: auto;
}

.cta-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-family: var(--font-base);
}

.cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.cta-text {
  font-size: 1rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 44px;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  /* 左寄せ */
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 18px 48px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.22s ease;
  gap: 8px;
  font-family: var(--font-base);
}

.cta-btn:hover {
  transform: translateY(-2px);
}

/* CTAボタン：FV ゴーストボタンと同スタイル（白枠・白テキスト） */
.cta-btn--primary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: none;
  /* pulse ring：白いリングが外へ広がる */
  animation: ctaBtnPulse 2.4s ease-out infinite;
}

.cta-btn--primary::after {
  content: '→';
}

.cta-btn--primary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  transform: translateY(-2px);
  text-decoration: none;
  animation-play-state: paused;
  /* ホバー中はアニメ停止 */
}

/* ── CTA ボタン用 keyframes ── */
@keyframes ctaBtnPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.50);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@media screen and (max-width: 767px) {

  /* SP：section-innerの横幅制限を解除（全幅表示） */
  .cta-section .section-inner {
    max-width: 100%;
    margin-left: 0;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 24px;
    justify-content: center;
    text-align: center;
  }
}


/* --------------------------------------------------------------
   Beyond テーマ .design_button のカラー上書き
   親テーマの黄色系カラーを !important で完全上書き
   button / :before / span をすべて var(--ntc-primary-dark) で統一
   -------------------------------------------------------------- */
.design_button {
  background-color: var(--ntc-primary-dark) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.design_button:before {
  background-color: var(--ntc-primary-dark) !important;
  transition: background-color 0.22s ease;
}

.design_button span {
  background: var(--ntc-primary-dark) !important;
  transition: background 0.22s ease;
}

.design_button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(204, 0, 0, 0.35);
}

.design_button:hover span {
  background: var(--ntc-primary-dark) !important;
}

/* --------------------------------------------------------------
   全ページ共通：Beyond テーマ標準の footer_box_content / #footer を非表示
   カスタムフッター（.custom-footer）に統一するため全ページで非表示にする
   -------------------------------------------------------------- */
#footer_box_content,
.footer_box_content {
  display: none !important;
}

#footer {
  display: none !important;
}

/* ==============================================================
   カスタムフッター
   ============================================================== */
.custom-footer {
  background: #2d2d2d;
  color: #fff;
  font-family: var(--font-base);
}

.custom-footer__inner {
  display: flex;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 20px 48px;
  align-items: flex-start;
}

/* ── 左：会社概要 ── */
.custom-footer__company {
  flex: 0 0 300px;
  min-width: 0;
}

.custom-footer__name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}

.custom-footer__info {
  margin: 0 0 24px;
}

.custom-footer__info-row {
  display: flex;
  gap: 16px;
  padding: 7px 0;
  font-size: 0.82rem;
  line-height: 1.7;
}

.custom-footer__info-row:first-child {
  /* border なし */
}

.custom-footer__info-row dt {
  flex: 0 0 80px;
  color: #888;
  font-weight: 500;
}

.custom-footer__info-row dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Google マップ：custom-footer 全幅 */
.custom-footer__map {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  line-height: 0;
  overflow: hidden;
}

@media screen and (min-width: 768px) {
  .custom-footer__map {
    padding-bottom: 4rem;
    background: #2d2d2d;
  }
}

.custom-footer__map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ── 右：ナビゲーション（3列グリッド） ── */
.custom-footer__nav {
  flex: 1;
  padding-top: 8px;
  min-width: 0;
}

.custom-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 24px;
}

/* 通常リンク */
.custom-footer__nav-list li a {
  display: inline-block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  padding: 9px 0 9px 18px;
  white-space: nowrap;
  position: relative;
  transition: color 0.25s ease;
}

/* 矢印装飾：ホバーで右へスライド */
.custom-footer__nav-list li a::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--ntc-primary);
  transition: transform 0.25s ease;
  line-height: 1;
}

/* 下線：左から右へ伸びるアニメーション */
.custom-footer__nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 18px;
  width: 0;
  height: 1px;
  background: var(--ntc-primary);
  transition: width 0.3s ease;
}

.custom-footer__nav-list li a:hover {
  color: var(--ntc-primary);
}

.custom-footer__nav-list li a:hover::before {
  transform: translateY(-50%) translateX(4px);
}

.custom-footer__nav-list li a:hover::after {
  width: calc(100% - 18px);
}


/* ── コピーライト ── */
.custom-footer__copy {
  text-align: center;
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.custom-footer__copy p {
  margin: 0;
}

/* ── SP対応 ── */
@media screen and (max-width: 767px) {
  .custom-footer__inner {
    flex-direction: column;
    gap: 40px;
    padding: 48px 20px 36px;
  }

  .custom-footer__company {
    flex: none;
    width: 100%;
  }

  .custom-footer__info-row {
    gap: 12px;
  }

  .custom-footer__info-row dt {
    flex: 0 0 72px;
  }

  .custom-footer__nav {
    width: 100%;
  }

  /* タブレット以下：3列 → 2列 */
  .custom-footer__nav-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-footer__nav-list li a {
    white-space: normal;
  }
}

/* スマホ：2列を維持 */
@media screen and (max-width: 480px) {
  .custom-footer__nav-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .custom-footer__contact-btn {
    width: 100%;
    text-align: center;
  }
}


/* ==============================================================
   追加スタイル（2025年4月改修）
   ============================================================== */

/* --------------------------------------------------------------
   比較表：2列版
   -------------------------------------------------------------- */
.comparison-table--two {
  min-width: 480px;
  table-layout: fixed;
}

/* 列幅：項目名20% / 日本テレアポセンター55% / 一般的な営業BPO25% */
.comparison-table--two colgroup col:nth-child(1) {
  width: 20%;
}

.comparison-table--two colgroup col:nth-child(2) {
  width: 55%;
}

.comparison-table--two colgroup col:nth-child(3) {
  width: 25%;
}

/* ── 中央列（日本テレアポセンター）ヘッダー強調 ── */
.comparison-table--two thead .our-col {
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding-top: 22px;
  padding-bottom: 22px;
}

/* ── 右列（一般的な営業BPO）ヘッダー：控えめ ── */
.comparison-table--two thead th:last-child {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  background: #2a2a40 !important;
}

/* ── 中央列セル：文字を大きく・赤字で強調 ── */
.comparison-table--two tbody .our-col {
  background: #FFF4F4 !important;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ntc-primary);
  letter-spacing: 0.02em;
  border-left: 3px solid var(--ntc-primary);
  border-right: 3px solid var(--ntc-primary);
}

/* 最終行で下のボーダーも引く */
.comparison-table--two tbody tr:last-child .our-col {
  border-bottom: 3px solid var(--ntc-primary);
}

/* ── 右列セル：控えめなグレー ── */
.comparison-table--two tbody td:last-child {
  font-size: 0.85rem;
  color: #999;
  background: #fafafa;
}

/* ── 中央列ホバー ── */
.comparison-table--two tbody tr:hover .our-col {
  background: #FFE8E8 !important;
}

.comparison-table--two .check {
  color: var(--ntc-primary);
  font-weight: 800;
}

/* --------------------------------------------------------------
   人材カード：詳細DL
   -------------------------------------------------------------- */
.talent-detail {
  margin: 12px 0 14px;
  padding: 0;
}

.talent-detail__row {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.talent-detail__row dt {
  flex: 0 0 100px;
  color: #888;
  font-weight: 500;
}

.talent-detail__row dd {
  margin: 0;
  color: var(--ntc-text);
  font-weight: 600;
}

/* 経験領域行：ddをflex化してタグを折り返し表示 */
.talent-detail__row--area {
  align-items: flex-start;
}

.talent-detail__row--area dd {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* 経験領域タグ */
.talent-area-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ntc-primary);
  background: rgba(184, 0, 13, 0.07);
  border: 1px solid rgba(184, 0, 13, 0.2);
  line-height: 1.6;
  white-space: nowrap;
}

/* --------------------------------------------------------------
   取引先ロゴグリッド（スライドなし）
   -------------------------------------------------------------- */
.client-logos-heading {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: var(--ntc-text);
  margin: 56px 0 24px;
}

.client-logos-grid {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 32px;
  align-items: center;
}

.client-logos-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fafafa;
  border: 1px solid var(--ntc-border);
  border-radius: var(--radius);
}

.client-logos-grid__item img {
  max-width: 100%;
  height: 40px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* --------------------------------------------------------------
   料金体系：3カードレイアウト
   -------------------------------------------------------------- */
.price-cards {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.price-card {
  flex: 1 1 12rem;
  max-width: 280px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 40px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.11);
}

.price-card--option {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.price-card__operator {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 700;
  color: #bbb;
  padding: 0 12px;
  flex-shrink: 0;
  align-self: center;
}

.price-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 8px;
}

.price-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
}

.price-card__value {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin: 0;
}

.price-card__unit {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.price-card__note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.price-supplement {
  text-align: center;
  margin-top: 8px;
}

.price-supplement__heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.price-supplement .price-notes {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
}

@media screen and (max-width: 767px) {
  .price-section {
    overflow: hidden;
  }

  .price-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .price-card__operator {
    padding: 4px 0;
    font-size: 1.2rem;
  }

  /* PC と同じ縦並び（icon → label → value → note）を維持 */
  .price-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 28px 20px 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .price-card__icon {
    width: 50px;
    height: 50px;
  }

  .price-card__value {
    font-size: 1.6rem;
  }

  .price-notes li {
    line-height: 1.4rem;
  }

  .price-supplement__heading {
    text-align: left;
    line-height: 1.4rem;
  }
}

/* --------------------------------------------------------------
   ご利用の流れ：flow-wrap / flow-meta / flow-skip
   -------------------------------------------------------------- */
.flow-wrap {
  position: relative;
}

.flow-skip {
  display: inline-block;
  font-size: 0.72rem;
  color: #999;
  margin-left: 6px;
}

.flow-meta {
  margin-top: 40px;
  padding: 24px 32px;
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.flow-meta__duration {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ntc-primary);
  margin: 0 0 8px;
  letter-spacing: 0.05em;
}

.flow-meta__note {
  font-size: 0.9rem;
  color: var(--ntc-text);
  margin: 0;
  line-height: 1.7;
}

.flow-meta__note small {
  font-size: 0.78rem;
  color: #888;
}

@media screen and (max-width: 767px) {
  .flow-meta {
    padding: 20px;
    margin-top: 32px;
  }
}

/* ==============================================================
   ドロワーメニュー：フロストグラス（スマホ）
   ============================================================== */
#drawer_menu {
  background: rgba(18, 18, 36, 0.82) !important;
  -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
}

/* ==============================================================
   FV 「0円」バッジ：LP式・価格強調デザイン
   ============================================================== */

/* バッジ全体：わずかに傾けてスタンプ感を演出（ホバーアニメーションなし） */
.fv-zero-badge {
  transform: rotate(-6deg);
}

/* 「0」：イタリック＋多層シャドウで躍動感（角度はまっすぐ） */
.fv-zero-highlight {
  display: inline-block;
  font-size: 5.5rem;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: -0.06em;
  /* バッジの rotate(-6deg) を打ち消して垂直に戻す */
  transform: rotate(6deg);
  text-shadow:
    2px 3px 0 rgba(140, 0, 10, 0.55),
    4px 6px 10px rgba(0, 0, 0, 0.25);
  background: none;
  -webkit-text-fill-color: #ffffff;
  filter: none;
}

/* ==============================================================
   FV透過ヘッダー：マウスオーバーでの白背景表示を無効化
   親テーマは JS で #header に .active を付与して白背景を表示する
   body--scrolled でない（FV表示中）場合のみ抑制する
   ============================================================== */
/* ヘッダーhover時（#header.active）：ダーク赤グラデーション背景を維持する */
body.home:not(.body--scrolled) #header.active,
body.page-template-page-lp:not(.body--scrolled) #header.active {
  background: linear-gradient(90deg, #2e0307 0%, #43060d 45%, #5a0a12 75%, #7c0b16 100%) !important;
  box-shadow: none !important;
}

/* ==============================================================
   グローバルナビ：ホバー・アクティブ
   ============================================================== */

/* グローバルナビ li.active の背景を明示的にリセット
   Beyondテーマが li.active / .current-menu-item に独自背景色を設定するため
   両状態（FV・スクロール後）で transparent を強制上書き */
#global_menu>ul>li.active>a,
#global_menu>ul>li.current-menu-item>a,
#global_menu>ul>li.current_page_item>a {
  background: transparent !important;
}

/* スクロール後（白背景ヘッダー）：通常状態は濃色テキスト
   親テーマがデフォルトで白文字を設定するため !important で上書き
   トップページのスクロール後・下層ページの初期状態（body--scrolled を即時付与）の両方に適用 */
body.body--scrolled #global_menu>ul>li>a {
  color: var(--ntc-text) !important;
}

/* スクロール後（白背景ヘッダー）：hover時のみ背景色付き + 白文字 */
body.body--scrolled #global_menu>ul>li>a:hover {
  background: var(--ntc-primary-dark) !important;
  color: #ffffff !important;
}

/* FV時（非スクロール）：背景なし・白文字・アンダーラインスライドアニメーション */
body:not(.body--scrolled) #global_menu>ul>li>a {
  position: relative;
  color: #ffffff;
  /* transition は ::after のみで管理。color の transition は無効にして
     ヘッダーエリアhover（#header.active）時の色変化アニメーションを防ぐ */
}

body:not(.body--scrolled) #global_menu>ul>li>a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1px;
  transition: width 0.24s ease, left 0.24s ease;
}

body:not(.body--scrolled) #global_menu>ul>li>a:hover {
  background: transparent !important;
  color: #ffffff !important;
}

body:not(.body--scrolled) #global_menu>ul>li>a:hover::after {
  width: 70%;
  left: 15%;
}

/* ヘッダーエリアhover（#header.active）時：メニュー・検索アイコンを白のまま維持 */
body:not(.body--scrolled) #header.active #global_menu>ul>li>a,
body:not(.body--scrolled) #header.active #gnav a {
  color: #ffffff !important;
}

body:not(.body--scrolled) #header.active #header_search,
body:not(.body--scrolled) #header.active #header_search *,
body:not(.body--scrolled) #header.active .header_search,
body:not(.body--scrolled) #header.active .header_search * {
  color: #ffffff !important;
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* FV時：検索ボタンアイコン（::before 疑似要素）の色を白に固定
   * セレクターは疑似要素に適用されないため個別に指定する
   ① ヘッダーエリアhover（#header.active）時 → 黒にならないよう白を維持
   ② 検索ボタン直接hover時               → 赤にならないよう白を維持 */
body:not(.body--scrolled) #header_search_button::before,
body:not(.body--scrolled) #header.active #header_search_button::before,
body:not(.body--scrolled) #header_search_button:hover::before {
  color: #ffffff !important;
}

/* ==============================================================
   スクロール時ヘッダーロゴ（NTC SVG）
   ============================================================== */

/* 既存テキストロゴ・ロゴ画像は常に非表示（SVGロゴに統一） */
#header_logo .logo_text,
#header_logo .logo_image {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ヘッダーロゴ共通（FVロゴ・スクロールロゴ）
   ============================================================ */

/* 共通ラッパー */
.ntc-fv-logo-wrap,
.ntc-scroll-logo-wrap {
  position: fixed;
  top: 0;
  left: 40px;
  /* Beyond テーマの #header_logo left 値に合わせる */
  z-index: 10001;
  display: flex;
  align-items: center;
  height: 60px;
  /* Beyond テーマのヘッダー高さ */
  /* transition なし：ヘッダーバーと同時に瞬時切り替え
     transition があると白背景+白ロゴの「消える瞬間」が発生するため削除 */
}

.ntc-fv-logo-wrap a,
.ntc-scroll-logo-wrap a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* FVロゴ：非スクロール時に表示 */
.ntc-fv-logo-wrap {
  opacity: 1;
  pointer-events: auto;
}

body.body--scrolled .ntc-fv-logo-wrap {
  opacity: 0;
  pointer-events: none;
}

/* スクロールロゴ：スクロール後に表示 */
.ntc-scroll-logo-wrap {
  opacity: 0;
  pointer-events: none;
}

body.body--scrolled .ntc-scroll-logo-wrap {
  opacity: 1;
  pointer-events: auto;
}

/* SVG共通サイズ */
.ntc-logo-svg {
  display: block;
  width: auto;
  height: 34px;
}

/* SP：左位置・高さをモバイルヘッダーに合わせて調整 */
@media screen and (max-width: 767px) {

  /* ロゴ切り替えは JS 側で制御するため transition を完全に無効化 */
  .ntc-fv-logo-wrap,
  .ntc-scroll-logo-wrap {
    transition: none !important;
  }

  .ntc-fv-logo-wrap,
  .ntc-scroll-logo-wrap {
    left: 20px;
    justify-content: flex-start;
    align-items: center;
  }

  .ntc-logo-svg {
    height: 28px;
  }

  .client-logos-heading {
    text-align: left;
    line-height: 1.4rem;
  }
}

.privacy-policy .post_content h2 {
  text-align: left;
}

/* 会社概要セクション全体 */
.company-profile {
  /* 2026年トレンドのニュートラルカラー */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.post_content .company-profile h2 {
  margin-top: 0;
}

.profile-container {
  max-width: 900px;
  margin: 0 auto;
}

/* タイトルデザイン */
.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
}

.section-title span {
  display: block;
  font-size: 0.9rem;
  color: #888;
  margin-top: 10px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1rem;
  }
}

/* リストデザイン（Bento Grid風の整列） */
.profile-list {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.profile-item {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 25px 30px;
  transition: background 0.3s ease;
}

.profile-item:last-child {
  border-bottom: none;
}

.profile-item:hover {
  background-color: #fcfcfc;
}

.profile-item dt {
  width: 30%;
  font-weight: 700;
  color: #333;
  font-size: 1rem;
}

.profile-item dd {
  width: 70%;
  margin: 0;
  color: #555;
  line-height: 1.8;
}

/* 所在地ラベル */
.office-label {
  display: inline-block;
  font-size: 0.75rem;
  background: #333;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 5px;
  margin-top: 10px;
}

.office-label:first-child {
  margin-top: 0;
}

/* 外部リンク */
.external-link {
  color: #0066cc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.external-link:hover {
  opacity: 0.8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .profile-item {
    flex-direction: column;
    padding: 20px;
  }

  .profile-item dt {
    width: 100%;
    margin-bottom: 8px;
    color: #888;
    font-size: 0.85rem;
  }

  .profile-item dd {
    width: 100%;
    font-size: 1rem;
    color: #333;
  }
}

/* ==============================================================
   ヘッダー お問い合わせボタン
   ============================================================== */
#header_contact_btn {
  position: relative;     /* スタッキングコンテキスト確立 */
  z-index: 10;            /* 親テーマの #header_logo(z-index:3) より上に積む */
  display: flex;
  align-items: stretch;   /* 子要素をヘッダー高さいっぱいに伸ばす */
  margin-left: auto;
  margin-right: 0;        /* 右余白なし：ヘッダー右端にピッタリ合わせる */
  flex-shrink: 0;
  align-self: stretch;
}

.header-contact-link {
  position: relative;
  overflow: hidden;       /* shimmer クリップ用（clip-path 不要） */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 100%;           /* 親（#header）の高さに追従 */
  min-height: 60px;       /* Beyond テーマ標準ヘッダー高さ */
  background: linear-gradient(135deg, #e83820 0%, #c0001a 60%, #8a0010 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0;       /* 四角 */
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  pointer-events: auto;   /* クリック明示的に有効化 */
  animation: headerBtnPulse 3.5s ease-out infinite;
}

/* shimmer：左から右へ光沢が流れる（fvBtnShimmer keyframes を再利用） */
.header-contact-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.25) 50%,
      transparent 100%);
  transform: skewX(-15deg);
  animation: fvBtnShimmer 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* テキストを shimmer の上に重ねる */
.header-contact-link span,
.header-contact-link > :not(::before) {
  position: relative;
  z-index: 1;
}

.header-contact-link:hover {
  background: linear-gradient(135deg, #ff4430 0%, #d4001e 60%, #9e0014 100%);
  color: #ffffff;
  text-decoration: none;
}

/* pulse ring：赤系（控えめ） */
@keyframes headerBtnPulse {
  0%   { box-shadow: 0 2px 12px rgba(200, 0, 26, 0.25), 0 0 0 0   rgba(232, 56, 32, 0.40); }
  70%  { box-shadow: 0 2px 12px rgba(200, 0, 26, 0.25), 0 0 0 10px rgba(232, 56, 32, 0);   }
  100% { box-shadow: 0 2px 12px rgba(200, 0, 26, 0.25), 0 0 0 0   rgba(232, 56, 32, 0);   }
}

/* FV表示中（非スクロール時）もグラデーション維持 */
body:not(.body--scrolled) .header-contact-link,
body:not(.body--scrolled) #header.active .header-contact-link {
  background: linear-gradient(135deg, #e83820 0%, #c0001a 60%, #8a0010 100%);
}

/* SP：ヘッダー内ボタンは非表示（固定バーに切り替え） */
@media screen and (max-width: 767px) {
  #header_contact_btn {
    display: none;
  }
}

/* ==============================================================
   SP 画面下固定お問い合わせバー
   ============================================================== */

/* PC では非表示 */
#sp-contact-bar {
  display: none;
}

@media screen and (max-width: 767px) {
  /* SP のみ有効 */
  #sp-contact-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9990;
    transform: translateY(100%);          /* 初期：画面外に隠す */
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #sp-contact-bar.is-visible {
    transform: translateY(0);             /* FV通過後：スライドイン */
  }

  .sp-contact-bar__link {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    background: linear-gradient(135deg, #e83820 0%, #c0001a 60%, #8a0010 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    clip-path: inset(0);
    animation: headerBtnPulse 3.5s ease-out infinite;
  }

  /* shimmer */
  .sp-contact-bar__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.25) 50%,
        transparent 100%);
    transform: skewX(-15deg);
    animation: fvBtnShimmer 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
  }

  .sp-contact-bar__link span {
    position: relative;
    z-index: 1;
  }

  /* スクロールトップボタン：SP では非表示 */
  #return_top {
    display: none !important;
  }
}

/* ==============================================================
   ヘッダーナビ：PC（1161px以上）で強制表示
   親テーマ responsive.css が max-width:1301px で読み込まれ
   #global_menu を非表示にするため、子テーマで上書き
   1160px以下はハンバーガーメニューに切り替え
   ============================================================== */
@media screen and (min-width: 1161px) {
  #global_menu {
    display: block !important;
  }
  #drawer_menu_button {
    display: none !important;
  }

  /* ── ヘッダーメニュー：ロゴを避けてお問い合わせボタン寄りに配置 ── */
  /* left でロゴ右端を確保、right でお問い合わせボタン幅＋余白を確保し
     その間の領域を使ってメニューを右寄り（ボタン側）に整列          */
  #global_menu {
    left: 220px !important;
    right: 200px !important;
    transform: none !important;
    width: auto !important;
  }

  /* メニュー項目をお問い合わせボタン寄り（右寄り）に整列 */
  #global_menu > ul {
    text-align: right !important;
  }

  /* 幅に応じて padding・文字サイズを可変（1400px 基準で最大値） */
  #global_menu > ul > li > a {
    padding: 0 clamp(6px, 1.1vw, 22px) !important;
    font-size: clamp(0.78rem, 1.0vw, 0.95rem) !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
}

@media screen and (max-width: 1160px) {
  #global_menu {
    display: none !important;
  }
  #drawer_menu_button {
    display: block !important;
  }
  #header_contact_btn {
    display: none !important;
  }
}