@charset "UTF-8";
/*
 * style_v2.css — siro WordPress theme TOP V2
 *
 * 新Hero + Service Block 1(採用ファンマーケティング)+
 * Service Block 2(障がい者雇用設計・定着サポート)用のスタイル。
 *
 * page-top-v2.php (Template Name: TOP V2) からのみ読み込まれる。
 * 既存 style_pcsp.css と併用されるが、クラス名衝突は確認済みでなし。
 *
 * Generated: 2026-05-02
 */

:root {
  color-scheme: light;
  --white: #FFFFFF;
  --ivory: #F7F6F3;
  --warm-gray: #ECEAE5;
  --orange: #E05C2A;
  --peach: #F5A882;
  --charcoal: #1A1A1A;
  --text-secondary: #5A5A5A;
}

/* PATCH_FINAL パート3 — Force light theme even when user prefers dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #FFFFFF;
    --ivory: #F7F6F3;
    --warm-gray: #ECEAE5;
    --orange: #E05C2A;
    --peach: #F5A882;
    --charcoal: #1A1A1A;
    --text-secondary: #5A5A5A;
  }
  html, body {
    background: #FFFFFF !important;
    color: #1A1A1A !important;
  }
}

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

/* PATCH MOBILE_UX パート4 — 日本語タイポグラフィ最適化(palt: Proportional Alternate Layout) */
html {
  font-feature-settings: 'palt' 1;
}

html, body {
  background: var(--white);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.viewport {
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px max(48px, 5vw);
  z-index: 10;
}

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 28px;
  letter-spacing: 0.16em;
  color: var(--charcoal);
  text-decoration: none;
}

.site-nav { display: flex; gap: 36px; }

.site-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--charcoal);
  text-decoration: none;
  transition: opacity 0.3s;
}

.site-nav a:hover { opacity: 0.55; }

/* MOTION 1 — measurement track with COMET dot (Orange head + Peach trail) */
.measure-track {
  position: absolute;
  top: 92px;
  left: max(48px, 5vw);
  right: max(48px, 5vw);
  height: 1px;
  background: var(--warm-gray);
  z-index: 5;
}

.measure-track::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow:
    -8px 0 4px -1px rgba(245, 168, 130, 0.7),
    -16px 0 6px -2px rgba(245, 168, 130, 0.5),
    -28px 0 8px -3px rgba(245, 168, 130, 0.3),
    -44px 0 10px -4px rgba(245, 168, 130, 0.15),
    -64px 0 12px -5px rgba(245, 168, 130, 0.06);
  animation: travelRight 32s linear infinite;
}

@keyframes travelRight {
  0%   { left: 0%; opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
  min-height: 100vh;
  padding: 140px max(48px, 5vw) 120px;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-left { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
  transform-origin: left center;
}

/* MOTION 2 — eyebrow line breathes */
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  animation: breathe 2.6s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes breathe {
  0%, 100% { opacity: 0.5; transform: scaleX(0.7); }
  50%      { opacity: 1; transform: scaleX(1.2); }
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.0s forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.4s; }
.hero-title .word:nth-child(3) { animation-delay: 0.6s; }

/* MOTION 3 — caret blinks */
.hero-title .caret {
  display: inline-block;
  width: 4px;
  height: 0.78em;
  background: var(--orange);
  margin-left: 6px;
  vertical-align: -0.04em;
  opacity: 0;
  animation: caretFade 1.0s 1.6s forwards, caretBlink 1.4s 2.6s ease-in-out infinite;
}

@keyframes caretFade { to { opacity: 1; } }
@keyframes caretBlink {
  0%, 50%    { opacity: 1; }
  51%, 100%  { opacity: 0.15; }
}

.hero-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 56px;
  opacity: 0;
  animation: fadeUp 1.0s 0.85s forwards;
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 1.0s 1.0s forwards;
  position: relative;
  z-index: 2;
  max-width: 480px;
}

.hero-lead {
  font-family: 'Noto Sans JP', 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.hero-lead-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-top: 20px;
}

/* CTA */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 380px;
  padding: 22px 28px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  transition: background 0.5s ease, transform 0.4s;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

/* MOTION 7 (interaction) — Orange→Peach gradient on hover */
.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange) 0%, var(--peach) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.cta-primary:hover::before { opacity: 1; }

.cta-primary > * { position: relative; z-index: 1; }

.cta-primary .cta-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta-primary .cta-label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.cta-primary .cta-sub {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
}

.cta-primary .cta-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 18px;
  transition: transform 0.4s;
}

.cta-primary:hover .cta-arrow { transform: translateX(8px); }

/* Secondary — text links */
.cta-secondary-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.cta-secondary {
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--warm-gray);
  padding-bottom: 4px;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.cta-secondary:hover {
  border-color: var(--peach);
  color: var(--orange);
}

.cta-divider {
  width: 1px;
  height: 14px;
  background: var(--warm-gray);
}

/* Soft Peach ambient — gentle heartbeat (resting human pulse, ~60bpm) */
.ambient {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 70vw;
  height: 90vh;
  background: radial-gradient(circle at 50% 50%,
    rgba(245, 168, 130, 0.20) 0%,
    rgba(245, 168, 130, 0.07) 35%,
    transparent 65%);
  pointer-events: none;
  animation: heartbeat 4s ease-in-out infinite, drift 24s ease-in-out infinite;
  transform-origin: center;
  z-index: 0;
  will-change: transform, opacity;
}

/* Heartbeat: lub-dub pattern.
   - 0%   resting
   - 12%  lub (small swell)
   - 22%  ease back
   - 34%  dub (slightly bigger)
   - 50%  fully relaxed
   - 100% next cycle (4s ≈ 15bpm — slow, contemplative, not anxious) */
@keyframes heartbeat {
  0%   { transform: scale(1.00); opacity: 0.85; }
  12%  { transform: scale(1.018); opacity: 1.0; }
  22%  { transform: scale(1.005); opacity: 0.9; }
  34%  { transform: scale(1.025); opacity: 1.0; }
  50%  { transform: scale(1.00); opacity: 0.82; }
  100% { transform: scale(1.00); opacity: 0.85; }
}

/* Drift kept as secondary slow motion, layered with heartbeat */
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: -2vw 1.5vh; }
}

/* MOTION 4 — bottom accent line: Orange→Peach gradient, looping */
.accent-divider {
  position: absolute;
  bottom: 80px;
  left: max(48px, 5vw);
  right: max(48px, 5vw);
  height: 1px;
  background: var(--warm-gray);
  max-width: calc(1440px - 2 * max(48px, 5vw));
  margin: 0 auto;
  z-index: 3;
}

.accent-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(to right, var(--orange) 0%, var(--peach) 100%);
  animation: lineLoop 7s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes lineLoop {
  0%   { width: 0;     opacity: 1; }
  35%  { width: 120px; opacity: 1; }
  60%  { width: 120px; opacity: 1; }
  90%  { width: 120px; opacity: 0; }
  100% { width: 0;     opacity: 0; }
}

/* Bottom meta */
.hero-meta {
  position: absolute;
  bottom: 32px;
  left: max(48px, 5vw);
  right: max(48px, 5vw);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  max-width: calc(1440px - 2 * max(48px, 5vw));
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.0s 1.4s forwards;
  z-index: 5;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-meta-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
}

/* MOTION 5 — scroll dot pulse */
.hero-meta-item.scroll::before {
  animation: scrollPulse 2.0s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(3px); opacity: 0.5; }
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.pc-br { display: inline; }

@media (max-width: 768px) {
  .pc-br { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 140px;
    padding-bottom: 200px;
    /* PATCH FIX E2: text-align を center に戻す(Naoki さん意向再変更) */
    text-align: center;
  }
  .site-nav { display: none; }
  .hero-meta { position: static; margin-top: 64px; flex-direction: column; gap: 12px; align-items: center; }
  .accent-divider { bottom: 240px; }
  .measure-track { top: 76px; }
  .cta-primary { max-width: 100%; }
  /* PATCH FIX E2: align-items も center に */
  .hero-right { gap: 36px; align-items: center; max-width: 100%; }
  .hero-tagline { margin-bottom: 24px; }
  /* PATCH FIX E2: justify-content: center を復活 */
  .cta-secondary-row { flex-wrap: wrap; gap: 16px 24px; justify-content: center; }
  /* PATCH FIX E2: eyebrow を中央揃えに */
  .eyebrow { justify-content: center; }
  .hero-title {
    /* PATCH FIX E2: center に戻す */
    text-align: center;
    /* PATCH FIX C: 375px 等の小画面で Encounter. のあとの caret が改行されてしまう問題対策(font-size はキープ) */
    font-size: clamp(48px, 13vw, 72px);
    line-height: 1.0;
    letter-spacing: -0.025em;
  }
  /* PATCH FIX E2: 各種テキストも center に */
  .hero-lead, .hero-lead-sub, .hero-tagline { text-align: center; }
  /* Bottom meta on mobile: meta items horizontal, separated */
  .hero-meta { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 16px 20px; }
  .ambient {
    top: 20%;
    left: -40%;
    right: -40%;
    width: 180%;
    height: 60vh;
    background: radial-gradient(ellipse at center,
      rgba(245, 168, 130, 0.16) 0%,
      rgba(245, 168, 130, 0.05) 40%,
      transparent 70%);
  }
}

/* ============================================
   SERVICE SECTION
   ============================================ */

.section-service {
  position: relative;
  background: var(--white);
  padding: 160px 0 120px;
  overflow: hidden;
}

/* Section header */
.service-header {
  max-width: 1440px;
  margin: 0 auto 140px;
  padding: 0 max(48px, 5vw);
  text-align: center;
}

.service-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.service-header-eyebrow::before,
.service-header-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--warm-gray);
}

.service-header-eyebrow .num {
  color: var(--orange);
}

.service-header-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.service-header-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

/* Block container */
.service-block {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 max(48px, 5vw);
  margin-bottom: 200px;
}

.service-block:last-child { margin-bottom: 0; }

/* Block intro — 2-column asymmetric like hero */
.block-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 96px;
  margin-bottom: 120px;
  align-items: start;
}

.block-intro-left {
  position: relative;
}

.block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.block-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.block-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.block-title-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.block-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 36px;
  position: relative;
  padding-left: 20px;
}

.block-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange), var(--peach));
}

.block-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--text-secondary);
}

.block-body p { margin-bottom: 20px; }
.block-body p:last-child { margin-bottom: 0; }

/* Service items list (right column) */
.service-items {
  border-top: 1px solid var(--warm-gray);
  padding-top: 32px;
}

.service-items-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.service-items-category {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.service-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-items-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--charcoal);
  padding: 14px 0 14px 22px;
  border-bottom: 1px solid var(--warm-gray);
  position: relative;
}

.service-items-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 1px;
  background: var(--orange);
}

.service-items-list li:last-child { border-bottom: none; }

/* 4-step process */
.process {
  margin-bottom: 120px;
  position: relative;
}

.process-header {
  margin-bottom: 56px;
}

.process-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.process-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.process-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.5vw, 32px);
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

/* Step connector line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--warm-gray);
  z-index: 0;
}

.process-steps::after {
  content: '';
  position: absolute;
  top: 32px;
  left: 6%;
  height: 1px;
  width: 0;
  background: linear-gradient(to right, var(--orange), var(--peach));
  z-index: 1;
  animation: stepConnectorDraw 4s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes stepConnectorDraw {
  to { width: 88%; }
}

.process-step {
  position: relative;
  z-index: 2;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 50%;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: all 0.4s;
}

.process-step:hover .step-number {
  border-color: var(--orange);
  transform: scale(1.05);
}

.step-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.step-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
}

/* Info callout */
.info-callout {
  background: var(--ivory);
  padding: 40px 48px;
  margin-bottom: 120px;
  position: relative;
}

.info-callout-label {
  position: absolute;
  top: -10px;
  left: 32px;
  background: var(--white);
  padding: 0 12px;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
}

.info-callout-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--charcoal);
}

/* 3 engagement options A/B/C */
.engagement {
  margin-bottom: 120px;
}

.engagement-header {
  margin-bottom: 56px;
}

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

.engagement-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  padding: 48px 36px 40px;
  position: relative;
  transition: all 0.4s;
  display: flex;
  flex-direction: column;
}

.engagement-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.engagement-letter {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 80px;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.engagement-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.engagement-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-bottom: 28px;
  min-height: 80px;
}

.engagement-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex: 1;
}

.engagement-list li {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  color: var(--charcoal);
  padding: 8px 0 8px 16px;
  position: relative;
}

.engagement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 1px;
  background: var(--peach);
}

.engagement-duration {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--orange);
  text-transform: uppercase;
  padding-top: 24px;
  border-top: 1px solid var(--warm-gray);
}

/* Case study card */
.case-study {
  background: linear-gradient(135deg, rgba(245, 168, 130, 0.08), rgba(245, 168, 130, 0.02));
  border: 1px solid rgba(224, 92, 42, 0.15);
  padding: 56px 64px;
  margin-bottom: 80px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.case-study::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--peach));
  animation: caseStudyLine 2.5s 0.5s ease-out forwards;
}

@keyframes caseStudyLine {
  to { width: 100%; }
}

.case-study-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.case-study-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
}

.case-study-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.case-study-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
  max-width: 580px;
}

.case-study-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--charcoal);
  white-space: nowrap;
  transition: all 0.4s;
}

.case-study-link:hover {
  background: var(--charcoal);
  color: var(--white);
}

.case-study-link span:last-child {
  transition: transform 0.4s;
}

.case-study-link:hover span:last-child {
  transform: translateX(6px);
}

/* Block CTA */
.block-cta {
  text-align: center;
  padding: 32px 0;
}

.block-cta-line {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.block-cta-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.block-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}

.block-cta-row .cta-primary { min-width: 320px; flex: 0 0 auto; }
.block-cta-row .block-cta-secondary { flex: 0 0 auto; }

.block-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 22px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  border: 1px solid var(--charcoal);
  transition: all 0.4s;
  min-width: 280px;
  justify-content: space-between;
}

.block-cta-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}

.block-cta-secondary .cta-arrow {
  transition: transform 0.4s;
}

.block-cta-secondary:hover .cta-arrow {
  transform: translateX(6px);
}

/* Block 2 — slightly differentiated */
.service-block.alt {
  background: var(--ivory);
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding-top: 120px;
  padding-bottom: 120px;
}

.service-block.alt > * {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* Block 2: alt-block specific overrides for ivory background */
.service-block.alt .info-callout {
  background: var(--white);
}

.service-block.alt .info-callout-label {
  background: var(--ivory);
}

.service-block.alt .step-number {
  background: var(--ivory);
}

.service-block.alt .engagement-card {
  background: var(--white);
}

/* 3-step process variant */
.process-steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

.process-steps-3::before,
.process-steps-3::after {
  left: 8%;
  right: 8%;
}

.process-steps-3::after {
  animation-name: stepConnectorDraw3;
}

@keyframes stepConnectorDraw3 {
  to { width: 84%; }
}

/* Cross-sell card (Block 2 specific) */
.cross-sell-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}

.cross-sell-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--orange), var(--peach));
}

.cross-sell-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.cross-sell-card-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.cross-sell-card-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
}

.cross-sell-card-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--charcoal);
  white-space: nowrap;
  transition: all 0.4s;
}

.cross-sell-card-link:hover {
  background: var(--charcoal);
  color: var(--white);
}

.cross-sell-card-link span:last-child {
  transition: transform 0.4s;
}

.cross-sell-card-link:hover span:last-child {
  transform: translateY(-4px);
}

@media (max-width: 900px) {
  .block-intro { grid-template-columns: 1fr; gap: 56px; }
  /* 旧: .process-steps { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; } を削除し
     PATCH FIX F1 で Block 1 4ステップも carousel に統一 */
  /* PATCH MOBILE_UX パート2 — Block 2 Process: horizontal carousel
     PATCH FIX A: margin/padding を max(48px, 5vw) に統一
     PATCH FIX F1: Block 1 process(.process-steps)も同じ carousel に統一 */
  .process-steps,
  .process-steps-3 {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline-start: max(48px, 5vw);
    scrollbar-width: none;
    gap: 16px;
    padding: 8px max(48px, 5vw);
    margin-left: calc(-1 * max(48px, 5vw));
    margin-right: calc(-1 * max(48px, 5vw));
  }
  .process-steps::-webkit-scrollbar,
  .process-steps-3::-webkit-scrollbar { display: none; }

  .process-steps > .process-step,
  .process-steps-3 > .process-step {
    flex: 0 0 calc(100vw - 88px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* PATCH FIX B2: モバイル carousel 時にカード化(視認性向上) */
    border: 1px solid var(--warm-gray);
    padding: 28px 24px;
  }
  /* Block 1(.process-steps、白セクション)は ivory カード */
  .process-steps > .process-step {
    background: var(--ivory);
  }
  /* Block 2(.process-steps-3、ivoryセクション)は white カード */
  .process-steps-3 > .process-step {
    background: var(--white);
  }
  .process-steps::before, .process-steps::after { display: none; }
  /* ============================================
     PATCH MOBILE_UX パート1 — Engagement: horizontal carousel
     PATCH FIX A: margin/padding を service-block の左右 padding (max(48px, 5vw)) と
     相殺する形に修正 → peek 用余白がビューポート内に確保される
     ============================================ */
  .engagement-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline-start: max(48px, 5vw);
    scrollbar-width: none;
    gap: 16px;
    padding: 8px max(48px, 5vw);
    margin-left: calc(-1 * max(48px, 5vw));
    margin-right: calc(-1 * max(48px, 5vw));
  }
  .engagement-grid::-webkit-scrollbar { display: none; }

  .engagement-grid > .engagement-card {
    flex: 0 0 calc(100vw - 88px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* PATCH FIX B2: 白セクション上で peek 時にコントラストを出すため ivory 化 */
    background: var(--ivory);
  }
  .case-study { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .case-study-link { justify-self: flex-start; }
  .cross-sell-card { grid-template-columns: 1fr; padding: 36px 32px; gap: 32px; }
  .cross-sell-card-link { justify-self: flex-start; }
  /* PATCH_FINAL パート7-2: grid-template-columns: 1fr の子要素が min-width: auto で広がりすぎる問題を防ぐ */
  .cross-sell-card > * { min-width: 0; }

  /* ============================================
     PATCH MOBILE_UX パート3 — Blog: horizontal carousel (mobile)
     PATCH FIX B: 既存 style_pcsp.css の `.blog_list_set > ul` (specificity 0,1,1)
     に勝つために `.blog_list_set.top_blog_list .top_article_list` (0,2,0) で記述
     PATCH FIX A: margin/padding を max(48px, 5vw) に統一
     ============================================ */
  .blog_list_set.top_blog_list .top_article_list {
    display: flex;
    list-style: none;
    padding: 8px max(48px, 5vw);
    margin: 0 calc(-1 * max(48px, 5vw));
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline-start: max(48px, 5vw);
    scrollbar-width: none;
    gap: 16px;
  }
  .blog_list_set.top_blog_list .top_article_list::-webkit-scrollbar { display: none; }

  .blog_list_set.top_blog_list .top_article_list > li {
    flex: 0 0 calc(100vw - 88px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* 既存の li スタイルは維持。以下は縦スタック前提の指定をリセット */
    width: auto;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .section-service { padding: 100px 0 80px; }
  .service-header { margin-bottom: 80px; }
  .service-block { margin-bottom: 120px; }
  .block-intro { margin-bottom: 80px; }
  .process { margin-bottom: 80px; }
  .info-callout { padding: 32px 28px; margin-bottom: 80px; }
  .info-callout-label { left: 16px; }
  .engagement { margin-bottom: 80px; }
  /* PATCH MOBILE_UX パート1 — Engagement card compaction (mobile)
     PATCH FIX D: モバイルでより一層コンパクトに
     PATCH FIX D2: 下余白の追加削減(padding-bottom 18→12, list margin/duration padding-top 縮小) */
  .engagement-card {
    padding: 24px 20px 12px;
  }
  .engagement-letter {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .engagement-title {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .engagement-lead {
    min-height: auto;
    margin-bottom: 16px;
    font-size: 12.5px;
    line-height: 1.75;
  }
  .engagement-list {
    margin-bottom: 10px;
  }
  .engagement-list li {
    line-height: 1.5;
    padding: 3px 0 3px 14px;
    font-size: 12.5px;
  }
  .engagement-list li::before {
    top: 10px;
  }
  .engagement-duration {
    padding-top: 8px;
    font-size: 10px;
  }
  .case-study { padding: 36px 28px; }
  .case-study-title { font-size: 22px; }
  .cross-sell-card { padding: 32px 24px; }
  .cross-sell-card-lead { font-size: 18px; }
  .block-cta-row { flex-direction: column; }
  .block-cta-row .cta-primary, .block-cta-secondary { min-width: 100%; }

  /* PATCH_FINAL パート7-1: モバイル時の改行・はみ出し対応 */

  /* Long CTA labels: prevent character-level wrapping
     例: 「障がい者雇用について相談する」が「す/る」で改行されてしまう問題 */
  .cta-primary .cta-label {
    font-size: 15px;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .cta-primary {
    padding: 18px 22px;
    gap: 16px;
  }

  /* Long process titles: shrink and proper word break
     例:「採用ファンマーケティングとの統合支援」 */
  .process-title {
    font-size: 22px;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  /* Body text: tighter line-height on mobile */
  .block-body {
    line-height: 1.85;
    font-size: 14px;
  }
  .block-body p {
    margin-bottom: 16px;
  }

  /* Block tagline: smaller on mobile */
  .block-tagline {
    font-size: 19px;
    line-height: 1.65;
    padding-left: 16px;
  }

  /* Cross-sell card: text overflow fix (本文がカード境界からはみ出さない) */
  .cross-sell-card-text {
    min-width: 0;
  }
  .cross-sell-card-lead {
    font-size: 16px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .cross-sell-card-body {
    font-size: 13px;
    line-height: 1.85;
    overflow-wrap: anywhere;
  }
  .cross-sell-card-link {
    width: 100%;
    justify-content: center;
  }

  /* Case study title: prevent character break */
  .case-study-title {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* ============================================
   PATCH #001 — Arrow rendering + hover color fix
   2026-05-03 追加。検証ページで判明した2件:
   1) 矢印 → ↗ ↓ ↑ が Apple Color Emoji 描画される
   2) WordPress / プラグインCSS で a:hover が青になる
   ============================================ */

/* 1. Arrow characters: force monochrome (no emoji rendering)
   Mac Safari/Chrome render → ↗ ↓ ↑ as Apple Color Emoji by default.
   The font-variant-emoji property + emoji-free font stack prevents this. */
.cta-arrow,
.cta-secondary span:last-child,
.case-study-link span:last-child,
.cross-sell-card-link span:last-child,
.lower-nav-cta-arrow,
.footer-cta-card-link-arrow,
.side-cta-icon,
.footer-col-list a .arrow,
.hero-meta-item,
.breadcrumb,
.breadcrumb-sep,
.breadcrumb-current,
.eyebrow,
.process-label,
.case-study-eyebrow,
.footer-cta-card-eyebrow,
.footer-col-label,
.service-header-eyebrow,
.block-eyebrow,
.service-items-label,
.engagement-duration {
  font-variant-emoji: text;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
}

/* 2. Anywhere arrow characters appear, force them to render as text
   This is the catch-all using a class. Apply via HTML where needed. */
.no-emoji,
.arrow-text {
  font-variant-emoji: text;
  font-family: 'DM Mono', 'Helvetica Neue', Arial, sans-serif !important;
}

/* 3. Hover color preservation for primary CTA
   WordPress + plugin CSS commonly applies a:hover { color: blue }
   We need to override this for CTA elements where we want white-on-orange. */
.cta-primary,
.cta-primary:hover,
.cta-primary:focus,
.cta-primary:active,
.cta-primary:visited {
  color: var(--white) !important;
}

.cta-primary .cta-label,
.cta-primary .cta-sub,
.cta-primary .cta-arrow,
.cta-primary:hover .cta-label,
.cta-primary:hover .cta-sub,
.cta-primary:hover .cta-arrow {
  color: var(--white) !important;
}

/* Secondary CTA: keep charcoal on hover, gradient under */
.cta-secondary,
.cta-secondary:visited {
  color: var(--charcoal);
}

.cta-secondary:hover {
  color: var(--orange) !important;
}

.cta-secondary:hover span {
  color: var(--orange) !important;
}

/* Block CTA secondary (the bordered "まずは相談する" button after gradient primary) */
.block-cta-secondary,
.block-cta-secondary:visited {
  color: var(--charcoal) !important;
}

.block-cta-secondary:hover,
.block-cta-secondary:hover .cta-arrow {
  color: var(--white) !important;
}

/* Case study link: same fix */
.case-study-link,
.case-study-link:visited {
  color: var(--charcoal) !important;
}

.case-study-link:hover,
.case-study-link:hover span {
  color: var(--white) !important;
}

/* Cross-sell card link: same fix */
.cross-sell-card-link,
.cross-sell-card-link:visited {
  color: var(--charcoal) !important;
}

.cross-sell-card-link:hover,
.cross-sell-card-link:hover span {
  color: var(--white) !important;
}

/* Footer CTA card link */
.footer-cta-card-link,
.footer-cta-card-link:visited,
.footer-cta-card-link:hover,
.footer-cta-card-link:hover span {
  color: var(--white) !important;
}

/* Lower nav CTA */
.lower-nav-cta,
.lower-nav-cta:visited {
  color: var(--white) !important;
}

.lower-nav-cta:hover,
.lower-nav-cta:hover span {
  color: var(--white) !important;
}

/* Side CTA */
.side-cta,
.side-cta:visited {
  color: var(--charcoal) !important;
}

.side-cta:hover,
.side-cta:hover span {
  color: var(--white) !important;
}

/* 4. Universal arrow rendering hint — applies wherever DM Mono is used
   Since DM Mono has no emoji glyphs, this is a backup safety net. */
[class*="arrow"],
[class*="-arrow"] {
  font-variant-emoji: text;
}

/* 5. Specifically target arrow characters inside CTAs to ensure they render
   in DM Mono (which doesn't have emoji versions of these symbols). */
.cta-secondary span:last-child,
.cta-arrow,
.case-study-link span:last-child,
.cross-sell-card-link span:last-child,
.lower-nav-cta-arrow,
.footer-cta-card-link-arrow,
.side-cta-icon,
.footer-col-list .arrow {
  font-family: 'DM Mono', 'SF Mono', 'Menlo', monospace !important;
  font-variant-emoji: text;
}

/* ============================================
   PATCH #003 — Blog/News セクション調整(V2 のみ)
   2026-05-03 追加。検証ページで判明した2件:
   1) 「一覧はこちら」ボタンのホバー時、既存テーマの青グラデが出る
   2) Hero(.viewport)直後の Blog セクションが詰まりすぎ
   全て body.g-top-v2 にスコープ限定し、他ページに影響なし。
   ============================================ */

/* 1. 「一覧はこちら」ボタンの :before 青グラデを Orange→Peach に置換 */
body.g-top-v2 .top_title_btn_link .icon_arrow_circle:before {
  background: linear-gradient(135deg, var(--orange) 0%, var(--peach) 100%) !important;
}

/* 2. Hero(.viewport)直後の Blog セクションに上余白を追加 */
body.g-top-v2 .viewport + .bg_white {
  padding-top: 120px;
}

/* 3. Blog/News と Service の境界も明示(息継ぎ) */
body.g-top-v2 .bg_white + .section-service {
  padding-top: 120px;
}

/* 4. モバイル */
@media (max-width: 768px) {
  body.g-top-v2 .viewport + .bg_white { padding-top: 80px; }
  body.g-top-v2 .bg_white + .section-service { padding-top: 80px; }
}

/* ============================================
   PATCH_FINAL パート2 — PRODUCTS SECTION
   2026-05-05 追加。Service の後、Blog の前に新規セクション。
   scoutyou(Closed Beta)+ applicants(Coming Soon)2カード構成。
   ============================================ */

.section-products {
  position: relative;
  background: var(--white);
  padding: 160px 0 140px;
  overflow: hidden;
}

.products-header {
  max-width: 1440px;
  margin: 0 auto 80px;
  padding: 0 max(48px, 5vw);
  text-align: center;
}

.products-header-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.products-header-eyebrow::before,
.products-header-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--warm-gray);
}

.products-header-eyebrow .num { color: var(--orange); }

.products-header-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.products-header-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
}

.products-lead {
  max-width: 720px;
  margin: 0 auto 100px;
  padding: 0 max(48px, 5vw);
  text-align: center;
}

.products-lead-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.products-lead-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--text-secondary);
}

.products-list {
  max-width: 1280px;
  margin: 0 auto 100px;
  padding: 0 max(48px, 5vw);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-card {
  display: grid;
  grid-template-columns: 200px 1fr 220px;
  gap: 56px;
  padding: 56px 64px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
  align-items: center;
}

.product-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.product-card.coming-soon {
  background: var(--ivory);
  border-style: dashed;
  border-color: var(--warm-gray);
}

.product-card.coming-soon:hover { border-color: var(--peach); }

.product-name-block { position: relative; }

.product-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.product-name-text {
  display: inline-block;
}

.product-name-icon {
  display: inline-flex;
  align-items: center;
  height: 22px;
  position: relative;
  top: 1px;
}

.product-name-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--warm-gray);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.product-status.beta {
  border-color: var(--orange);
  color: var(--orange);
}

.product-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-secondary);
}

.product-status.beta::before {
  background: var(--orange);
  animation: brandDotPulse 4s ease-in-out infinite;
}

/* 静かなパルス。心拍系のアンビエントと馴染ませる(派手な点滅は避ける) */
@keyframes brandDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

.product-description {
  border-left: 1px solid var(--warm-gray);
  padding-left: 56px;
}

.product-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.product-description-body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
}

.product-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.product-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--peach));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.product-cta:hover::before { opacity: 1; }
.product-cta > * { position: relative; z-index: 1; }

.product-cta-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  transition: transform 0.4s;
}

.product-cta:hover .product-cta-arrow { transform: translateX(6px); }

.product-cta.outlined {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}

.product-cta.outlined:hover { color: var(--white); }

/* WordPress テーマの a:hover による青色化を防ぐ */
.product-cta,
.product-cta:visited,
.product-cta:hover,
.product-cta:hover span {
  color: var(--white) !important;
}

.product-cta.outlined,
.product-cta.outlined:visited {
  color: var(--charcoal) !important;
}

.product-cta.outlined:hover,
.product-cta.outlined:hover span {
  color: var(--white) !important;
}

.products-closing {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 max(48px, 5vw);
  text-align: center;
}

.products-closing-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.products-closing-tagline::before,
.products-closing-tagline::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--orange);
  vertical-align: middle;
  margin: 0 16px;
}

@media (max-width: 900px) {
  /* ============================================
     PATCH FIX E — Products: horizontal carousel (mobile)
     engagement-grid / process-steps-3 / blog と同じ寸法体系
     ============================================ */
  .products-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 16px;
    /* PATCH FIX 4: viewport 比 15vw で左右に対称な余白を作り、1枚目を完全に中央配置。
       margin の negative 拡張は撤廃(両側余白を残したいので) */
    padding: 8px 15vw;
    scroll-padding-inline-start: 15vw;
    margin: 0 0 100px;
    max-width: none;
  }
  .products-list::-webkit-scrollbar { display: none; }

  .products-list > .product-card {
    /* PATCH FIX 4: viewport の 70% でカード幅、両側 15vw 余白で中央配置 */
    flex: 0 0 70vw;
    /* center snap で 1枚目スクロール時も中央維持 */
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* product-card の内部レイアウトは下記指定をキープ */
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 36px;
  }
  .product-description {
    border-left: none;
    border-top: 1px solid var(--warm-gray);
    padding-left: 0;
    padding-top: 32px;
  }
  .product-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .section-products { padding: 100px 0 80px; }
  .products-header { margin-bottom: 56px; }
  .products-lead { margin-bottom: 64px; }
  .products-list { margin-bottom: 64px; gap: 16px; }
  /* PATCH FIX E: 900px の .products-list > .product-card と同じ specificity に揃える */
  .products-list > .product-card { padding: 32px 24px; }
  .product-name { font-size: 30px; }
  .products-closing-tagline::before,
  .products-closing-tagline::after { display: none; }
}

/* ============================================
   Phase 4a-1 — 下層ページ用 CSS
   02_lower_template.html の <style> から抽出。
   :root / html, body は既存と同一値(後勝ちで上書きされても同じ)。
   .lower-header / .page-hero / .page-body / .site-footer / .side-ctas 等の
   下層構造クラスを追加。一部 .footer-cta-* / .breadcrumb-* / .lower-nav-* /
   .side-cta-* は PATCH #001 等で既存にもあるが、レイアウト指定は新規。
   既存の色/ホバー指定は後勝ち順序で維持される。
   2026-05-12 追加
   ============================================ */

:root {
  --white: #FFFFFF;
  --ivory: #F7F6F3;
  --warm-gray: #ECEAE5;
  --orange: #E05C2A;
  --peach: #F5A882;
  --charcoal: #1A1A1A;
  --text-secondary: #5A5A5A;
}

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

html, body {
  background: var(--white);
  color: var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   HEADER (lower page variant)
   ============================================ */

.lower-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--warm-gray);
}

.lower-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px max(32px, 4vw);
  max-width: 1600px;
  margin: 0 auto;
}

.brand-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 24px;
  letter-spacing: 0.16em;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: brandDotFade 1.4s 0.4s forwards, brandDotPulse 4s 1.8s ease-in-out infinite;
}

@keyframes brandDotFade { to { opacity: 1; } }
@keyframes brandDotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.5; }
}

.lower-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.lower-nav-links {
  display: flex;
  gap: 32px;
}

.lower-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.lower-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
}

.lower-nav-links a:hover::after { transform: scaleX(1); }
.lower-nav-links a.is-current::after {
  transform: scaleX(1);
  background: var(--orange);
}

.lower-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.lower-nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--peach));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.lower-nav-cta:hover::before { opacity: 1; }
.lower-nav-cta > * { position: relative; z-index: 1; }

.lower-nav-cta-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  transition: transform 0.4s;
}

.lower-nav-cta:hover .lower-nav-cta-arrow { transform: translateX(4px); }

.menu-toggle {
  display: none;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
}

/* ============================================
   PAGE HERO (lower-page header banner)
   ============================================ */

.page-hero {
  position: relative;
  padding: 100px max(48px, 5vw) 80px;
  /* 白棒対策: max-width / margin auto を撤廃して viewport 全幅にし、ambient を全幅に広げる。
     コンテンツの中央配置は .page-hero-content 側で行う */
  border-bottom: 1px solid var(--warm-gray);
  overflow: hidden;
}

.page-hero-ambient {
  position: absolute;
  /* 白棒対策2: サイズを大きくして、グラデの透明 hard edge が viewport 外まで延びるように。
     これで page-hero 内に「白い四角」 が見えなくなる */
  top: -40%;
  right: -25%;
  width: 90vw;
  height: 110vh;
  background: radial-gradient(circle at 50% 50%,
    rgba(245, 168, 130, 0.18) 0%,
    rgba(245, 168, 130, 0.08) 30%,
    rgba(245, 168, 130, 0.03) 55%,
    transparent 85%);
  pointer-events: none;
  animation: heroAmbientHeartbeat 4s ease-in-out infinite;
  transform-origin: center;
  z-index: 0;
}

@keyframes heroAmbientHeartbeat {
  0%   { transform: scale(1.00); opacity: 0.85; }
  12%  { transform: scale(1.018); opacity: 1.0; }
  22%  { transform: scale(1.005); opacity: 0.9; }
  34%  { transform: scale(1.025); opacity: 1.0; }
  50%  { transform: scale(1.00); opacity: 0.82; }
  100% { transform: scale(1.00); opacity: 0.85; }
}

.page-hero-content {
  position: relative;
  z-index: 1;
  /* コンテンツだけ中央寄せ(白棒対策で page-hero から max-width をこちらに移動) */
  max-width: 1440px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--warm-gray); }
.breadcrumb-current { color: var(--orange); }

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--orange);
  animation: eyebrowBreathe 2.6s ease-in-out infinite;
  transform-origin: left center;
}

@keyframes eyebrowBreathe {
  0%, 100% { opacity: 0.5; transform: scaleX(0.7); }
  50%      { opacity: 1; transform: scaleX(1.2); }
}

.page-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.page-title-jp {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.04em;
  color: var(--charcoal);
  margin-bottom: 32px;
}

.page-lead {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.0;
  color: var(--text-secondary);
  max-width: 640px;
}

/* ============================================
   PAGE BODY (placeholder for actual content)
   ============================================ */

.page-body {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px max(48px, 5vw);
  min-height: 400px;
}

.placeholder-block {
  text-align: center;
  padding: 80px 24px;
  background: var(--ivory);
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  border: 1px dashed var(--warm-gray);
}

/* ============================================
   FOOTER CTA SECTION
   ============================================ */

.footer-cta {
  position: relative;
  padding: 120px max(48px, 5vw);
  background: var(--white);
  border-top: 1px solid var(--warm-gray);
  overflow: hidden;
}

.footer-cta-ambient {
  position: absolute;
  bottom: -30%;
  left: 30%;
  width: 60vw;
  height: 80vh;
  background: radial-gradient(circle at 50% 50%,
    rgba(245, 168, 130, 0.12) 0%,
    rgba(245, 168, 130, 0.04) 40%,
    transparent 70%);
  pointer-events: none;
  animation: heroAmbientHeartbeat 4s ease-in-out infinite;
  z-index: 0;
}

.footer-cta-inner {
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-cta-eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-cta-eyebrow::before,
.footer-cta-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--warm-gray);
}

.footer-cta-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 20px;
}

.footer-cta-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 56px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.footer-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.footer-cta-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.4s, transform 0.4s;
  display: flex;
  flex-direction: column;
}

.footer-cta-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.footer-cta-card-eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-cta-card-eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--orange);
}

.footer-cta-card-title {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.footer-cta-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-bottom: 28px;
  flex: 1;
}

.footer-cta-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  background: var(--charcoal);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
}

.footer-cta-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--peach));
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
}

.footer-cta-card-link:hover::before { opacity: 1; }
.footer-cta-card-link > * { position: relative; z-index: 1; }

.footer-cta-card-link-arrow {
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  transition: transform 0.4s;
}

.footer-cta-card-link:hover .footer-cta-card-link-arrow { transform: translateX(6px); }

/* ============================================
   FOOTER (white)
   ============================================ */

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--warm-gray);
  padding: 80px max(48px, 5vw) 40px;
  position: relative;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--warm-gray);
  margin-bottom: 32px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 200;
  font-size: 56px;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: flex-end;
  gap: 12px;
}

.footer-brand::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-bottom: 14px;
  animation: brandDotPulse 4s ease-in-out infinite;
}

.footer-brand-tagline {
  font-family: 'Shippori Mincho', serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--charcoal);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-col-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-col-label::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--orange);
}

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

.footer-col-list li {
  margin-bottom: 12px;
}

.footer-col-list a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--charcoal);
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col-list a:hover {
  color: var(--orange);
}

.footer-col-list a .arrow {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s;
}

.footer-col-list a:hover .arrow {
  opacity: 1;
  transform: translateX(0);
}

.footer-wantedly {
  margin-top: 32px;
}

.footer-wantedly-label {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.footer-wantedly-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--warm-gray);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
  transition: border-color 0.3s, color 0.3s;
}

.footer-wantedly-link:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.footer-address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-address-divider {
  color: var(--warm-gray);
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-meta a {
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-meta a:hover {
  color: var(--orange);
}

.footer-meta-divider {
  width: 1px;
  height: 12px;
  background: var(--warm-gray);
}

/* Footer accent line at very top */
.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: max(48px, 5vw);
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--orange), var(--peach));
  animation: footerLineDraw 3s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes footerLineDraw {
  to { width: 120px; }
}

/* ============================================
   FLOATING SIDE CTAS (right edge, fixed)
   ============================================ */

.side-ctas {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: sideFadeIn 0.8s 1.2s ease-out forwards;
}

@keyframes sideFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.side-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--charcoal);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.4s;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
}

.side-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--peach));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}

.side-cta:hover::before { opacity: 1; }
.side-cta:hover { color: var(--white); border-color: var(--orange); }
.side-cta > * { position: relative; z-index: 1; }

.side-cta-icon {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lower-nav-links { display: none; }
  .menu-toggle { display: flex; }
  .lower-nav { gap: 16px; }
  .lower-nav-cta { padding: 8px 14px; font-size: 12px; }
  .page-hero { padding: 64px max(24px, 4vw) 56px; text-align: center; }
  .page-hero-content { display: flex; flex-direction: column; align-items: center; }
  .breadcrumb { justify-content: center; }
  .page-lead { text-align: left; }
  .footer-cta { padding: 80px max(24px, 4vw); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-brand { font-size: 40px; }
  .side-ctas { bottom: 16px; right: 12px; }
  .side-cta { padding: 12px 14px; font-size: 11px; }
}

@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ============================================
   PATCH FIX 5 — 下層 v2 ロゴ・ナビのホバー青色対策
   既存 a:hover { color: blue } リーク対策。PATCH #001 を下層クラスに拡張。
   2026-05-12 追加
   ============================================ */

/* ヘッダー: brand-logo, lower-nav links */
body.g-lower-v2 .brand-logo,
body.g-lower-v2 .brand-logo:hover,
body.g-lower-v2 .brand-logo:focus,
body.g-lower-v2 .brand-logo:active,
body.g-lower-v2 .brand-logo:visited {
  color: var(--charcoal) !important;
}

body.g-lower-v2 .lower-nav-links a,
body.g-lower-v2 .lower-nav-links a:visited {
  color: var(--charcoal) !important;
}
body.g-lower-v2 .lower-nav-links a:hover {
  color: var(--orange) !important;
}
body.g-lower-v2 .lower-nav-links a.is-current {
  color: var(--orange) !important;
}

/* lower-nav-cta(右上のお問い合わせボタン)— Charcoal 塗りに白文字キープ */
body.g-lower-v2 .lower-nav-cta,
body.g-lower-v2 .lower-nav-cta:hover,
body.g-lower-v2 .lower-nav-cta:focus,
body.g-lower-v2 .lower-nav-cta:active,
body.g-lower-v2 .lower-nav-cta:visited {
  color: var(--white) !important;
}
body.g-lower-v2 .lower-nav-cta span {
  color: var(--white) !important;
}

/* breadcrumb */
body.g-lower-v2 .breadcrumb a,
body.g-lower-v2 .breadcrumb a:visited {
  color: var(--text-secondary) !important;
}
body.g-lower-v2 .breadcrumb a:hover {
  color: var(--orange) !important;
}

/* フッター: brand, col list, wantedly, meta */
body.g-lower-v2 .footer-brand,
body.g-lower-v2 .footer-brand:hover,
body.g-lower-v2 .footer-brand:focus,
body.g-lower-v2 .footer-brand:active,
body.g-lower-v2 .footer-brand:visited {
  color: var(--charcoal) !important;
}

body.g-lower-v2 .footer-col-list a,
body.g-lower-v2 .footer-col-list a:visited {
  color: var(--charcoal) !important;
}
body.g-lower-v2 .footer-col-list a:hover {
  color: var(--orange) !important;
}

body.g-lower-v2 .footer-wantedly-link,
body.g-lower-v2 .footer-wantedly-link:visited {
  color: var(--charcoal) !important;
}
body.g-lower-v2 .footer-wantedly-link:hover {
  color: var(--orange) !important;
}

body.g-lower-v2 .footer-meta a,
body.g-lower-v2 .footer-meta a:visited {
  color: var(--text-secondary) !important;
}
body.g-lower-v2 .footer-meta a:hover {
  color: var(--orange) !important;
}

/* side-cta(右下フローティング)*/
body.g-lower-v2 .side-cta,
body.g-lower-v2 .side-cta:hover,
body.g-lower-v2 .side-cta:focus,
body.g-lower-v2 .side-cta:visited {
  color: var(--charcoal) !important;
}

/* footer-cta-card-link は既存 PATCH #001 でカバー済(白文字キープ)*/

/* ============================================
   PATCH 下層v2-2 — モバイル UX 改善
   2026-05-12 追加。 page-lead 改行、 Blog サムネ高さ、 footer 2カラム維持
   ============================================ */

/* 1. page-lead: 日本語 word break を自然に(「、」が行頭に来ないなど)*/
body.g-lower-v2 .page-lead {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 2. Blog 一覧 .second_article_list: サムネ高さをモバイルで適切に
       既存 .blog_list_set .top_info_ph_link { height: 15.97svw }(svw 短辺 16% = 60px @ 375)を上書き */
@media (max-width: 768px) {
  body.g-lower-v2 .second_article_list .top_info_ph_link,
  body.g-lower-v2 .blog_list_set .second_article_list > li .top_info_ph_link {
    width: 100%;
    height: 56vw; /* 約 16:9 比率、 375px で 210px */
  }
  /* 抜粋テキストの読みやすさ調整 */
  body.g-lower-v2 .second_article_list .blog_list_text {
    font-size: 13px;
    line-height: 1.75;
  }
  body.g-lower-v2 .second_article_list .blog_list_tit {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 8px;
  }
}

/* 3. フッター: 480px breakpoint で 1fr (1カラム) になっていた指定を上書きして
       375px でも 2カラム維持で全体縦長を短縮 */
@media (max-width: 480px) {
  body.g-lower-v2 .footer-cols {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 16px;
  }
  body.g-lower-v2 .footer-col-list li {
    padding: 4px 0;
  }
  body.g-lower-v2 .footer-col-list a {
    font-size: 12.5px;
  }
}
