#hero {
  background: radial-gradient(circle at 85% 15%, #dff2ff 0%, #eff6fe 34%, var(--bg) 68%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 84px 24px 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #0a5caf;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-h1 {
  font-size: clamp(29px, 4.2vw, 48px);
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: .02em;
  margin-bottom: 18px;
}

.hero-h1 strong { display: none; }

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 730px;
  margin-bottom: 26px;
  font-weight: 600;
}

.hero-sub br:first-child { display: none; }

/* 実績ティーザー（ページ下部・正直さ＋MOCAの土台） */
.track-record-teaser {
  background: #f4f8fc;
  border-bottom: 1px solid var(--line);
  padding: 36px 0 40px;
}

.track-record-teaser .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.track-record-teaser-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.track-record-teaser h2 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 14px;
  color: var(--text);
  max-width: 900px;
}

.track-record-teaser > .container > p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 600;
  max-width: 800px;
  margin-bottom: 12px;
}

.track-record-chips {
  list-style: none;
  margin: 18px 0 22px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 920px;
}

.track-record-chips li {
  margin: 0;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1d2a38;
  line-height: 1.45;
  box-shadow: 0 4px 12px rgba(16, 55, 96, 0.04);
}

.track-record-teaser-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  border: 1px solid var(--primary-dark);
  padding: 11px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.track-record-teaser-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 26px;
  max-width: 700px;
}

.stat-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(16, 55, 96, 0.05);
}

.stat-num { font-size: 28px; font-weight: 900; color: var(--primary-dark); line-height: 1.2; }
.stat-label { font-size: 12px; color: #1d1d1d; margin-top: 3px; font-weight: 700; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-right .wf-box {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.hero-visual-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#service-detail .container,
#policy .container,
#flow .container,
#faq .container,
#cta .container {
  padding-top: 86px;
  padding-bottom: 86px;
}

#service-detail, #policy, #faq {
  background: #f0f5fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* サービスと料金：カード＋請求表を一体レイアウト */
#service-detail .section-heading {
  text-align: left;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  padding: 0 2px;
}

#service-detail .section-heading h2 {
  text-align: left;
}

#service-detail .section-heading p {
  margin: 0;
  max-width: none;
}

.service-pricing-stack {
  max-width: 920px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #d4e2f2;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(16, 55, 96, 0.1);
  background: var(--surface);
}

.service-pricing-stack .service-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 28px 26px 26px;
}

.service-pricing-stack .service-card--hero {
  padding-bottom: 22px;
}

.service-card-head {
  margin-bottom: 6px;
}

.service-card-head .service-card-title {
  margin-bottom: 0;
  font-size: clamp(19px, 2.4vw, 22px);
}

.service-price-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.service-price-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 14px;
  background: #fff;
  text-align: center;
}

.service-price-tile--accent {
  background: linear-gradient(165deg, #e3f0ff 0%, #f2f8ff 100%);
  border-color: #a8c9eb;
}

.service-price-tile-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #5a6b7d;
  margin-bottom: 8px;
}

.service-price-tile-amount {
  display: block;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.service-price-tile-note {
  display: block;
  font-size: 12px;
  color: #5c6570;
  margin-top: 8px;
  font-weight: 600;
}

.service-card-price-lead {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 600;
}

.service-scope-blocks {
  display: grid;
  gap: 20px;
  margin: 22px 0 20px;
}

@media (min-width: 900px) {
  .service-scope-blocks {
    grid-template-columns: 1fr 1fr;
    gap: 22px 26px;
    align-items: start;
  }
}

.service-scope-block {
  background: #f6f9fc;
  border: 1px solid #e4ecf6;
  border-radius: 12px;
  padding: 18px 18px 16px;
}

.service-scope-heading {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #cde4f8;
  letter-spacing: 0.02em;
}

.service-scope-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #3d4a5a;
  font-weight: 600;
}

.service-detail-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 14px;
  line-height: 1.75;
  font-weight: 600;
  color: #2a3340;
}

.service-detail-list > li {
  margin-bottom: 10px;
}

.service-detail-list > li:last-child {
  margin-bottom: 0;
}

.service-checklist-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-checklist-link:hover {
  color: var(--primary-dark);
}

.service-detail-sublist {
  margin: 8px 0 2px;
  padding-left: 1.15rem;
  list-style: disc;
  font-size: 13px;
  line-height: 1.65;
  color: #3d4a5a;
}

.service-detail-sublist li {
  margin-bottom: 5px;
}

.service-card-cta {
  margin: 18px 0 0;
}

.service-card-cta .plan-btn {
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* 料金・お支払い目安（トップ・スタック下段） */
.service-pricing-stack .billing-panel {
  margin: 0;
  max-width: none;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--line);
  box-shadow: none;
  padding: 26px 22px 30px;
  background: linear-gradient(180deg, #f2f6fb 0%, #e9f2fa 100%);
}

.billing-panel-heading {
  font-size: clamp(17px, 2.1vw, 21px);
  font-weight: 900;
  margin: 0 0 12px;
  color: var(--text);
}

.billing-panel-lead {
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.billing-table-wrap {
  overflow-x: auto;
  margin-top: 4px;
  -webkit-overflow-scrolling: touch;
  border-radius: 10px;
  border: 1px solid #d8e4f0;
  background: #fff;
}

.billing-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 600;
  color: #1d2a38;
}

.billing-table th,
.billing-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  vertical-align: top;
  text-align: left;
}

.billing-table thead th {
  background: #e8f1fb;
  font-weight: 800;
  color: var(--primary-dark);
}

.billing-table .billing-table-subhead {
  background: #fff9e6;
  font-weight: 800;
  font-size: 13px;
  text-align: left;
  color: #5c4a00;
}

.billing-table small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
}

.service-grid,
.diagnosis-grid {
  display: grid;
  gap: 18px;
}

.diagnosis-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.plan-card,
.service-card,
.diagnosis-card,
.reason-item,
.faq-item,
.diagnosis-secret {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(16, 55, 96, 0.05);
}

.plan-card,
.diagnosis-card { padding: 24px; }

.service-card { padding: 28px; }

.plan-card.featured {
  border: 1px solid #85b4e9;
  box-shadow: 0 12px 28px rgba(15, 110, 199, 0.16);
  transform: translateY(-6px);
}

.plan-badge, .service-card-tag, .diagnosis-num {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #0a5caf;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 12px;
}

.plan-badge.dark { background: #0e66bf; color: #fff; }

.plan-title, .service-card-title, .diagnosis-area, .reason-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 10px;
}

.plan-price, .service-card-price {
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

.plan-price {
  display: grid;
  gap: 2px;
  font-size: 20px;
  line-height: 1.45;
}

.plan-price-line {
  display: block;
  font-weight: 900;
  color: var(--primary-dark);
}

.plan-price-line.main {
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.plan-desc, .service-card-price-note, .service-note, .reason-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 600;
}

.service-note a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.plan-btn {
  margin-top: 14px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: #e9f4ff;
  color: #08559f;
  font-size: 14px;
  font-weight: 800;
  padding: 12px;
  cursor: pointer;
}

.plan-btn.dark {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}

a.plan-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

a.cta-btn {
  text-decoration: none;
}

.feature-list { display: grid; gap: 8px; margin-bottom: 14px; }

.feature-item {
  border: 1px solid #d6e4f6;
  border-radius: 10px;
  background: #f7fbff;
  padding: 9px 12px;
  font-size: 14px;
  color: #335274;
}

.scope-box {
  border: 1px solid #dbe6f4;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 14px;
  background: #f9fcff;
}

.scope-box .scope-title {
  font-size: 12px;
  color: #5f7693;
  margin-bottom: 6px;
  font-weight: 700;
}

.scope-box .scope-item {
  font-size: 13px;
  color: #6f8094;
  padding: 3px 0;
}

.scope-box .scope-item a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.diagnosis-intro {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 28px;
  color: var(--muted);
  text-align: left;
  box-shadow: 0 8px 16px rgba(16, 55, 96, 0.05);
  font-weight: 600;
}

.diagnosis-items { display: grid; gap: 6px; }

.diagnosis-item {
  border: 1px solid #dbe6f4;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 13px;
  color: #1a1a1a;
  font-weight: 600;
  background: #fbfdff;
}

.diagnosis-secret { padding: 18px 20px; text-align: left; color: #161616; font-weight: 600; }

.reasons-list { display: grid; gap: 14px; }

.reason-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px;
}

.reason-num {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: linear-gradient(145deg, #0e6ac2, #0b4f98);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(15, 110, 199, 0.22);
}

#flow {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.flow-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 26px;
}

.flow-wrap::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #222;
}

.flow-item {
  position: relative;
  padding: 0 0 20px 26px;
}

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

.flow-item::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #222;
}

.flow-step {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #666;
  font-weight: 700;
  margin-bottom: 4px;
}

.flow-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.flow-note {
  font-size: 14px;
  color: #333;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-block;
  min-width: 70%;
}

.flow-note .flow-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-note .flow-link:hover {
  color: var(--primary-dark);
}

.flow-contract {
  margin-top: 26px;
  padding: 14px 16px;
  border: 1px solid #111;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.faq-list { display: grid; gap: 12px; }
.faq-item { overflow: hidden; }

/* FAQ：グリッドの第2列は .faq-cell 1つにまとめる（テキストと strong が別セルになり改行が壊れるのを防ぐ） */
#faq .faq-cell {
  min-width: 0;
  display: block;
}

#faq .faq-em {
  font-weight: 800;
  color: inherit;
}

.faq-q, .faq-a {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
}

.faq-q {
  background: #f7fbff;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 700;
}

.faq-q::before, .faq-a::before {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.faq-q::before { content: "Q"; background: #deecfb; color: #0d5ea8; }

.faq-a {
  font-size: 14px;
  color: var(--muted);
  background: #fff;
  font-weight: 600;
}

.faq-a::before { content: "A"; background: #e9f6f4; color: #138978; }

#cta {
  background: linear-gradient(140deg, #0a4f9a, #0e6dc5 56%, #15a08f);
  color: #fff;
}

#cta .container { text-align: center; }

.cta-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: .08em;
  margin-bottom: 14px;
  color: #e7f3ff;
}

.cta-title {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.3;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-text {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #eef6ff;
  font-size: 16px;
  font-weight: 600;
}

#cta .cta-phone {
  margin: -12px auto 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

#cta .cta-phone a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#cta.cta-solo .container {
  padding-top: 52px;
  padding-bottom: 60px;
}

.cta-btn {
  display: inline-block;
  border-radius: 999px;
  border: 0;
  padding: 14px 34px;
  font-size: 15px;
  font-weight: 900;
  color: #0a4f9a;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.18);
}

#cta .cta-btn-solo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 440px);
  padding: 22px 40px;
  font-size: clamp(18px, 2.6vw, 22px);
  letter-spacing: 0.04em;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .hero-right .wf-box { height: auto; }
  .diagnosis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-inner { padding: 52px 16px 54px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { grid-template-columns: 1fr; }
  #service-detail .container,
  #policy .container,
  #flow .container,
  #faq .container,
  #cta .container { padding: 58px 16px; }
  .service-price-tiles { grid-template-columns: 1fr; }
  .service-pricing-stack { border-radius: 14px; }
  .service-pricing-stack .service-card { padding: 22px 18px 18px; }
  .service-pricing-stack .billing-panel { padding: 22px 16px 24px; }
  .service-grid, .diagnosis-grid { grid-template-columns: 1fr; }
  .reason-item { grid-template-columns: 1fr; }
  .reason-num { width: 56px; height: 56px; border-radius: 12px; font-size: 22px; }
  .flow-title { font-size: 26px; }
  .flow-note { min-width: 100%; }
}
