/* ---- ヒーロー ---- */
.kobetsu-hero {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
}
.hero-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(.72);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(26,47,90,.82) 0%,
    rgba(42,74,138,.60) 55%,
    rgba(20,90,160,.40) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 28px 24px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--or);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  width: fit-content;
}
.hero-catch {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.hero-catch em {
  font-style: normal;
  color: #ffe090;
}
.hero-desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.88);
  line-height: 1.8;
  max-width: 500px;
}
.hero-kpi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: linear-gradient(135deg, #1a2f5a, #2a4a8a);
  padding: 14px 18px;
}
.kpi-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 10px 10px 8px;
  text-align: center;
}
.kpi-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  letter-spacing: .04em;
  margin-bottom: 4px;
  line-height: 1.4;
}
.kpi-value {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.kpi-value small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.65);
}
.kpi-card.accent .kpi-value { color: #ffe090; }
 
/* ---- 悩みカード ---- */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.voice-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text);
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.voice-card::before {
  content: "💬";
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.voice-cta {
  background: var(--or-pale);
  border: 1px solid var(--or-tint);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--or-d);
  font-weight: 700;
  text-align: center;
  margin-top: 4px;
}
 
/* ---- メリット（画像付き5カード） ---- */
/* ---- 割安バナー ---- */
.merit-cost-box {
  background: linear-gradient(135deg, var(--or-pale), var(--or-tint));
  border: 2px solid var(--or);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.merit-cost-box .mc-icon { font-size: 30px; flex-shrink: 0; }
.merit-cost-box .mc-title {
  font-size: 14px; font-weight: 900; color: var(--or-d);
  margin-bottom: 4px; line-height: 1.4;
}
.merit-cost-box .mc-text {
  font-size: 12.5px; color: var(--text); line-height: 1.7;
}
 
/* ---- ジグザグ（左右交互）レイアウト ---- */
.support-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 8px;
}
.support-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #eee;
  position: relative;
}
.support-row:last-child { border-bottom: none; }
 
/* 奇数行（1・3・5）: テキスト左・画像右 */
.support-row:nth-child(odd) .support-img   { order: 2; }
.support-row:nth-child(odd) .support-text  { order: 1; padding-right: 40px; padding-left: 0; }
 
/* 偶数行（2・4）: 画像左・テキスト右 */
.support-row:nth-child(even) .support-img  { order: 1; }
.support-row:nth-child(even) .support-text { order: 2; padding-left: 40px; padding-right: 0; }
 
/* 画像エリア */
.support-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.support-img img {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 8px;
}
 
/* テキストエリア */
.support-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.support-num {
  font-size: 10px;
  font-weight: 800;
  color: var(--or);
  letter-spacing: .18em;
}
.support-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--or-pale);
  border: 1.5px solid var(--or-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.support-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  letter-spacing: .02em;
}
.support-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.85;
}
 
/* ---- テーマ例 ---- */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 6px;
}
.theme-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.theme-card-head {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}
.theme-card-head.blue   { background: #2a4a8a; }
.theme-card-head.green  { background: #1a6e30; }
.theme-card-head.amber  { background: #b87000; }
.theme-card-head.red    { background: #a02020; }
.theme-card-head.teal   { background: #1a6a6a; }
.theme-card-head.purple { background: #602090; }
.theme-card-body {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.75;
  background: #fff;
}
.theme-tag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.theme-tag-list li {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--muted);
}
.theme-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}
 
/* ---- フロー ---- */
.flow-wrap {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 18px 18px;
  margin-bottom: 8px;
}
.flow-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
}
.flow-step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--or), var(--or-d));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 3px 10px rgba(222,122,42,.3);
  flex-shrink: 0;
}
.flow-step-num {
  font-size: 9px;
  font-weight: 800;
  color: var(--or);
  letter-spacing: .08em;
}
.flow-step-label {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
}
.flow-step-sub {
  font-size: 10px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  padding: 0 2px;
}
.flow-arrow-wrap {
  display: flex;
  align-items: center;
  padding-bottom: 40px;
  flex-shrink: 0;
}
.flow-arrow-wrap::after {
  content: "›";
  font-size: 26px;
  color: var(--or-tint);
  line-height: 1;
}
.flow-note {
  background: var(--or-pale);
  border: 1px solid var(--or-tint);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--brown);
  line-height: 1.7;
  margin-top: 14px;
}
.flow-note strong { color: var(--or-d); }
 
/* ---- 実績・活用事例 ---- */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.case-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
}
.case-label {
  width: 90px;
  flex-shrink: 0;
  background: var(--or-d);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.case-body {
  flex: 1;
  padding: 12px 16px;
  background: #fff;
}
.case-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.4;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}
.case-tag {
  background: var(--or-pale);
  border: 1px solid var(--or-tint);
  border-radius: 4px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--or-d);
}
.case-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
 
/* ---- 対象企業 ---- */
.target-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.target-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.target-card-head {
  background: var(--or-d);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.target-card-body {
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.8;
  background: #fff;
}
.target-card-body ul { list-style: none; padding: 0; }
.target-card-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 3px 0;
}
.target-card-body ul li::before {
  content: "▸";
  color: var(--or);
  flex-shrink: 0;
  margin-top: 3px;
}
.caution-note {
  background: #fffbf4;
  border: 1px solid #f0d9b5;
  border-left: 3px solid #f0a020;
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 12px;
  color: #6b4a1a;
  line-height: 1.7;
  margin-top: 6px;
}
.caution-note::before { content: "⚠ "; font-weight: 700; }
 
/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
details.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
details.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--or);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}
details.faq-item summary::after {
  content: "▼";
  margin-left: auto;
  font-size: 10px;
  color: var(--muted);
  transition: transform .2s;
  flex-shrink: 0;
  margin-top: 4px;
}
details.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-answer {
  padding: 12px 16px 14px 46px;
  font-size: 13px;
  line-height: 1.85;
  border-top: 1px solid var(--border);
  background: #fff;
}
.faq-answer strong { color: var(--or-d); }
 
/* ---- CTAボタン ---- */
.cta-buttons {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.cta-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--or), var(--or-d));
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 14px rgba(222,122,42,.35);
  flex: 1;
}
.cta-primary-btn:hover {
  background: linear-gradient(135deg, var(--or-d), #9a4010);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(222,122,42,.45);
}
.cta-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: #fff;
  color: var(--or-d);
  border: 2px solid var(--or);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: all .2s;
  flex: 1;
}
.cta-secondary-btn:hover {
  background: var(--or-pale);
  text-decoration: none;
}
 
/* ---- フェードイン ---- */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}
 
/* ---- レスポンシブ ---- */
@media (max-width: 720px) {
  .hero-img-wrap { height: 180px; }
  .hero-overlay { padding: 18px 18px 16px; }
  .hero-catch { font-size: 16px; }
  .hero-kpi { grid-template-columns: 1fr 1fr; padding: 12px 14px; }
  .voice-grid { grid-template-columns: 1fr; }
  .merit-cost-box { flex-direction: column; gap: 8px; }
  /* スマホでは縦1列・画像→テキストの順に */
  .support-row {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }
  .support-row:nth-child(odd) .support-img,
  .support-row:nth-child(even) .support-img  { order: 1; }
  .support-row:nth-child(odd) .support-text,
  .support-row:nth-child(even) .support-text { order: 2; padding: 0; }
  .support-title { font-size: 16px; }
  .theme-grid { grid-template-columns: 1fr; }
  .target-grid { grid-template-columns: 1fr; }
  .flow-steps {
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 32px;
  }
  .flow-steps::before {
    content: "";
    position: absolute;
    left: 25px; top: 26px; bottom: 26px;
    width: 2px;
    background: linear-gradient(to bottom, var(--or), var(--or-tint));
    border-radius: 2px;
  }
  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 0 0 20px 0;
    text-align: left;
  }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-step-circle { width: 44px; height: 44px; font-size: 18px; flex-shrink: 0; position: relative; z-index: 1; }
  .flow-step-info { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
  .flow-step-num, .flow-step-label, .flow-step-sub { text-align: left; }
  .flow-step-label { font-size: 13px; }
  .flow-step-sub { font-size: 11px; }
  .flow-arrow-wrap { display: none; }
  .case-label { width: 70px; font-size: 11px; }
  .cta-buttons { flex-direction: column; }
  .cta-primary-btn, .cta-secondary-btn { text-align: center; }
}
@media (max-width: 400px) {
 
  .hero-kpi { grid-template-columns: 1fr 1fr; }
  .cta-primary-btn, .cta-secondary-btn { font-size: 13px; padding: 12px 16px; }
}