/* ============================================================
   Web技術顧問サービス LP
   配色: ネイビー/ブルー基調 + 信頼感のあるグリーンティールをCTAアクセントに
   ============================================================ */

:root {
  --navy:        #14233f;
  --navy-soft:   #1f3a63;
  --blue:        #2f6fed;
  --accent:      #0aa37f;   /* CTA専用アクセント */
  --accent-dark: #08886a;
  --text:        #1c2a3a;
  --text-muted:  #56657a;
  --line:        #e2e8f0;
  --bg:          #ffffff;
  --bg-soft:     #f5f8fc;
  --bg-navy:     #14233f;
  --radius:      14px;
  --shadow:      0 10px 30px rgba(20, 35, 63, .08);
  --shadow-lg:   0 20px 50px rgba(20, 35, 63, .14);
  --container:   1200px;
  --maxw-narrow: 800px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.9;
  font-size: 18px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

/* PC専用改行（スマホでは改行しない） */
@media (max-width: 768px) {
  .br-pc { display: none; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--maxw-narrow); }

/* ============ ボタン ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  padding: 16px 32px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-cta {
  background: var(--accent);
  color: #fff;
  padding: 16px 48px;
  box-shadow: 0 8px 20px rgba(10, 163, 127, .3);
}
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 163, 127, .38); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--navy); background: var(--bg-soft); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ============ ヘッダー ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.global-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
}
.global-nav a { color: var(--text-muted); transition: color .15s; }
.global-nav a:hover { color: var(--blue); }
.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  padding: 10px;
  margin-left: auto;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ ヒーロー ============ */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 80px 0 88px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 100%; min-width: 0; }
.hero-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue);
  background: rgba(47, 111, 237, .1);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 0 24px;
}
.hero-title {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
  color: var(--navy);
  margin: 0 0 22px;
}
.hero-subtitle {
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 28px;
}
.hero-lead {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0 0 18px;
  max-width: 660px;
}
.hero-lead strong {
  font-weight: 700;
  color: var(--navy);
}
.hero-lead-sub { font-size: 16px; }
.hero-lead-sub strong { color: var(--navy-soft); }

/* 対応内容チップ（ノウン羅列を視認しやすく） */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.hero-tags li {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-soft);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 15px 7px 28px;
  border-radius: 999px;
  position: relative;
  box-shadow: 0 2px 6px rgba(20, 35, 63, .05);
}
.hero-tags li::before {
  content: "";
  position: absolute;
  left: 13px; top: 50%;
  width: 7px; height: 7px; margin-top: -3.5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 28px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0; margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.hero-points li { position: relative; padding-left: 22px; }
.hero-points li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--accent);
}

/* --- 関係図（ハブ&スポーク / HTML+CSS / 画像なし） --- */
.hero-diagram {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  margin: 0 0 0 auto;
}
/* スマホ専用クローン（PCでは非表示） */
.hero-diagram-m { display: none; }
.diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.diagram-lines line {
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 7 7;
  opacity: .45;
  animation: dash-flow 1s linear infinite;
}
@keyframes dash-flow {
  to { stroke-dashoffset: -14; }
}

.dgm-node {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 700;
  line-height: 1.4;
}
/* 衛星カード（四隅） */
.dgm-sat {
  width: 39%;
  padding: 14px 8px;
  font-size: 14px;
  color: var(--navy);
  border: 2px solid var(--c, var(--blue));
  animation: node-float 6s ease-in-out infinite;
}
.dgm-sat small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 2px;
}
.dgm-a { top: 0; left: 0;    --c: var(--blue);   }
.dgm-b { top: 0; right: 0;   --c: #9b5cf0;       animation-delay: -1.5s; }
.dgm-c { bottom: 0; left: 0; --c: var(--accent); animation-delay: -3s;   }
.dgm-d { bottom: 0; right: 0;--c: #ffb83d;       animation-delay: -4.5s; }

/* 中央のハブ */
.dgm-hub {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46%;
  padding: 20px 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-soft), var(--blue));
  box-shadow: 0 16px 36px rgba(47, 111, 237, .32);
}
.dgm-hub strong { font-size: 17px; }
.dgm-hub small {
  font-size: 11px;
  font-weight: 500;
  opacity: .85;
  margin-top: 4px;
}
.dgm-hub::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px dashed rgba(47, 111, 237, .35);
  border-radius: 20px;
  animation: spin-slow 40s linear infinite;
}

@keyframes node-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .diagram-lines line,
  .dgm-sat,
  .dgm-hub::after { animation: none !important; }
}

/* ============ セクション共通 ============ */
.section { padding: 88px 0; }
.section-problems { background: var(--bg-soft); }
.section-services { background: var(--bg-soft); }
.section-faq { background: var(--bg-soft); }

.section-head { max-width: 880px; margin: 0 auto 48px; text-align: center; }
.section-contact .section-head { text-align: left; max-width: none; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--blue);
  margin: 0 0 16px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  border-radius: 2px;
}
.section-contact .section-eyebrow::after { display: none; }
.section-title {
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
  margin: 0 0 18px;
  text-wrap: balance;
}
.section-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ============ 課題 ============ */
.problem-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 16px;
  list-style: none;
  padding: 0; margin: 0;
}
.problem-list li {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 22px 64px;
  font-size: 16.5px;
  font-weight: 500;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.problem-list li:hover {
  transform: translateY(-2px);
  border-color: #f0b5a0;
  box-shadow: var(--shadow-lg);
}
.problem-list li::before {
  content: "!";
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ff7a59, #e5484d);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 19px;
  padding-left: 2px;
  box-shadow: 0 4px 10px rgba(229, 72, 77, .28);
}

/* ============ 解決策 ============ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.solution-card {
  --card-c: var(--blue);
  position: relative;
  background: #fff;
  border: 2px solid var(--card-c);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
/* カードごとに配色を変えてテンプレ感を軽減 */
.solution-card:nth-child(1) { --card-c: #2f6fed; }
.solution-card:nth-child(2) { --card-c: #8a4fe0; }
.solution-card:nth-child(3) { --card-c: #0aa37f; }
.solution-card:nth-child(4) { --card-c: #e0900b; }
.solution-card:nth-child(5) { --card-c: #1f3a63; }
.solution-card:nth-child(6) { --card-c: #0e8fb0; }
.solution-icon {
  display: flex;
  width: 68px; height: 68px;
  align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--card-c) 12%, #fff);
  color: var(--card-c);
  border-radius: 18px;
  margin: 0 auto 20px;
  transition: transform .2s;
}
.solution-card:hover .solution-icon { transform: scale(1.06) rotate(-3deg); }
.solution-icon svg { width: 32px; height: 32px; }
.solution-card h3 {
  font-size: 19px;
  color: var(--navy);
  margin: 0 0 12px;
}
.solution-card p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* ============ 対応領域 ============ */
.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  list-style: none;
  padding: 0; margin: 0 0 40px;
}
.service-list li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 22px 18px 60px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.service-list li:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}
.service-list li::before {
  content: "";
  position: absolute; left: 18px; top: 50%;
  width: 28px; height: 28px; margin-top: -14px;
  background: rgba(10, 163, 127, .12);
  border-radius: 50%;
}
.service-list li::after {
  content: "";
  position: absolute; left: 27px; top: 50%;
  width: 7px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
}
.service-note {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #e8eefb;
  border-radius: var(--radius);
  padding: 34px 40px;
  font-size: 17px;
  box-shadow: var(--shadow-lg);
}
.service-note-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #1b2d4d;
  background: #ffd23f;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.service-note-badge svg { width: 14px; height: 14px; }
.service-note strong { color: #fff; display: block; font-size: 22px; margin-bottom: 10px; }
.service-note p { margin: 0; }
.service-note-badge,
.service-note strong,
.service-note p { position: relative; z-index: 1; }
/* 遊び心の星バッジ（右上にふわっと） */
.service-note-star {
  position: absolute;
  top: -18px; right: -18px;
  width: 110px; height: 110px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 210, 63, .18);
  transform: rotate(12deg);
  pointer-events: none;
}
.service-note-star svg { width: 100%; height: 100%; }

/* ============ 料金 ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: var(--shadow);
}
.price-card-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.price-label {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-name { font-size: 22px; color: var(--navy); margin: 0 0 2px; }
.price-sub { font-size: 14px; color: var(--text-muted); margin: 0 0 18px; }
.price-amount {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 18px;
  display: flex; align-items: baseline; gap: 4px;
}
.price-currency { font-size: 16px; font-weight: 500; color: var(--text-muted); }
.price-unit { font-size: 18px; font-weight: 500; }
.price-target {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.price-features {
  list-style: none;
  padding: 0; margin: 0 0 22px;
  flex-grow: 1;
}
.price-features li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px dashed var(--line);
}
.price-features li::before {
  content: "";
  position: absolute; left: 2px; top: 16px;
  width: 7px; height: 12px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
}
.price-value {
  font-size: 14.5px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 0 0 22px;
}
.pricing-notes {
  max-width: 880px;
  margin: 40px auto 0;
  font-size: 13.5px;
  color: var(--text-muted);
}
.pricing-notes p { margin: 0 0 10px; padding-left: 18px; position: relative; }
.pricing-notes p::before { content: "※"; position: absolute; left: 0; }

/* ============ 導入の流れ ============ */
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 820px;
  counter-reset: flow;
}
.flow-step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 22px;
  align-items: stretch;
  counter-increment: flow;
}
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 28px; top: 64px; bottom: -2px;
  width: 2px;
  background: rgba(47, 111, 237, .28);
}
.flow-num {
  flex-shrink: 0;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 23px;
  border-radius: 18px;
  z-index: 1;
}
.flow-body {
  flex: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 28px;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.flow-body:hover {
  transform: translateX(4px);
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}
.flow-body h3 { font-size: 20px; color: var(--navy); margin: 0 0 6px; }
.flow-body h3::before {
  content: "STEP " counter(flow, decimal-leading-zero);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 4px;
}
.flow-body p { font-size: 16.5px; color: var(--text-muted); margin: 0; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 56px 22px 26px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute; right: 26px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { margin: 0; font-size: 16.5px; color: var(--text-muted); }

/* ============ お問い合わせフォーム ============ */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { margin-bottom: 24px; }
.form-label {
  display: block;
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 8px;
  color: var(--navy);
}
.req {
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  transition: border-color .15s, box-shadow .15s;
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, .15);
}
textarea.form-input { resize: vertical; }
.form-check-group, .form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  cursor: pointer;
  font-weight: 500;
}
.form-check input { margin-top: 4px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--blue); }
.form-note {
  font-size: 13.5px;
  color: var(--text-muted);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 8px 0 28px;
}
.form-result {
  margin: 18px 0 0;
  padding: 16px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}
.form-result.is-success { background: rgba(10, 163, 127, .12); color: var(--accent-dark); }
.form-result.is-error { background: rgba(229, 72, 77, .1); color: #c5292e; }
.form-input.is-error { border-color: #e5484d; box-shadow: 0 0 0 3px rgba(229, 72, 77, .12); }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-recaptcha-note {
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 14px 0 0;
  text-align: center;
}
.form-recaptcha-note a { color: inherit; text-decoration: underline; }
.form-success {
  text-align: center;
  background: rgba(10, 163, 127, .08);
  border: 1px solid rgba(10, 163, 127, .25);
  border-radius: 14px;
  padding: 40px 24px;
}
.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(10, 163, 127, .14);
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success__title { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: var(--text); }
.form-success__text { font-size: 15px; line-height: 1.9; color: var(--text-muted); margin: 0; }
.form-success__text strong { color: var(--accent-dark); }

/* ============ 担当者・実績 ============ */
.profile-card {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: start;
  background: #fff;
  border: 1px solid #e3ebf5;
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 18px 40px rgba(20, 35, 63, .07);
}
.profile-person { text-align: center; }
.profile-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 8px 22px rgba(20, 35, 63, .18);
}
.profile-name { margin-top: 18px; }
.profile-company { font-size: 13px; color: var(--text-muted); margin: 0 0 4px; }
.profile-fullname { font-size: 19px; font-weight: 700; color: var(--navy); margin: 0 0 6px; }
.profile-role { font-size: 12.5px; color: var(--blue); font-weight: 600; margin: 0; line-height: 1.6; }
.profile-points { list-style: none; margin: 0 0 22px; padding: 0; }
.profile-points li {
  position: relative;
  padding: 0 0 14px 28px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text);
}
.profile-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.profile-points strong { color: var(--accent-dark); font-weight: 700; }
.profile-trust {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  padding: 26px 30px;
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  font-size: 16px;
  line-height: 2.05;
  color: var(--text-muted);
}
.profile-trust strong { color: var(--navy); font-weight: 700; }
@media (max-width: 720px) {
  .profile-trust { padding: 20px 22px; font-size: 14.5px; line-height: 1.95; }
}
@media (max-width: 720px) {
  .profile-card { grid-template-columns: 1fr; gap: 28px; padding: 30px 22px; }
  .profile-photo { width: 132px; height: 132px; }
}

/* ============ フッター ============ */
.site-footer { background: var(--navy); color: #b9c6dc; padding: 56px 0 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.footer-brand img { height: 36px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: 15px; margin: 0 0 14px; max-width: 340px; text-wrap: balance; }
.footer-company-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #9db3e0;
  border-bottom: 1px solid rgba(157, 179, 224, .4);
  padding-bottom: 2px;
  transition: color .15s, border-color .15s;
}
.footer-company-link:hover { color: #fff; border-color: #fff; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 12px 40px;
  font-size: 15px;
}
.footer-nav a:hover { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  text-align: center;
  color: #7e8fab;
}
.footer-copy small { font-size: 15px; letter-spacing: .5px; }

/* ============ スマホ固定CTA ============ */
.sticky-cta {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 90;
  text-align: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(10, 163, 127, .4);
}

/* ============ レスポンシブ ============ */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { max-width: 100%; }
  /* PCの右カラム図は隠し、サブタイトル直下のクローンを表示 */
  .hero-inner > .hero-diagram { display: none; }
  .hero-diagram-m { display: block; margin: 6px auto 24px; max-width: 380px; aspect-ratio: 1.4 / 1; }
  .solution-grid, .service-list { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card-featured { transform: none; }
}

@media (max-width: 768px) {
  .global-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .global-nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow);
  }
  .global-nav.is-open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { padding-top: 20px; }
  .section { padding: 60px 0; }
  .problem-list { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
  .contact-form { padding: 26px 20px; }
}

@media (max-width: 540px) {
  .solution-grid, .service-list { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .dgm-sat { font-size: 12px; padding: 10px 6px; }
  .dgm-sat small { display: none; }
  .dgm-hub strong { font-size: 15px; }
  /* FLOW: 番号バッジ・縦線を省いてカードを全幅に（STEPラベルが番号を担う） */
  .flow-step { gap: 0; }
  .flow-num { display: none; }
  .flow-step:not(:last-child)::before { display: none; }
}

/* ============ A/Bプレビュー用トグル（公開時は js で非表示にしてもOK） ============ */
.hero-ab-toggle {
  position: fixed;
  right: 16px; bottom: 90px;
  z-index: 120;
  display: flex;
  gap: 4px;
  background: rgba(20, 35, 63, .9);
  padding: 6px;
  border-radius: 999px;
  font-size: 12px;
}
.hero-ab-toggle button {
  border: none;
  background: transparent;
  color: #cbd5e1;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.hero-ab-toggle button.is-active { background: var(--accent); color: #fff; }

@media print { .hero-ab-toggle, .sticky-cta { display: none; } }
