:root {
  --color-primary: #1d5fd1;
  --color-primary-dark: #1649a1;
  --color-accent: #18a999;
  --color-text: #172033;
  --color-muted: #64748b;
  --color-border: #dbe3ef;
  --bg-white: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-blue: #eef5ff;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: var(--color-text);
  background: var(--bg-white);
  line-height: 1.75;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(950px, calc(100% - 40px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 227, 239, 0.8);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.header-nav a:hover {
  color: var(--color-primary);
}

.nav-cta {
  padding: 9px 16px;
  color: #fff !important;
  background: var(--color-primary);
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    radial-gradient(circle at top right, rgba(29, 95, 209, 0.18), transparent 38%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

/* メインビジュアル背景の「マス目」（サービス名にちなんだ意匠） */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#c9d9f0 1px, transparent 1px),
    linear-gradient(90deg, #c9d9f0 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: 0.9;
  -webkit-mask-image: radial-gradient(68% 74% at 50% 44%, #000 0%, transparent 80%);
  mask-image: radial-gradient(68% 74% at 50% 44%, #000 0%, transparent 80%);
}

/* マス目より前面にコンテンツを表示 */
.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.32;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.45;
}

.hero-lead,
.section-lead {
  color: var(--color-muted);
  font-size: 17px;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.hero-actions.center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 14px 28px rgba(29, 95, 209, 0.24);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-border);
}

.small-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
}

.center-note {
  margin-top: 18px;
  text-align: center;
}

.hero-visual {
  display: flex;
  flex-direction: column;
}

.mock-window {
  position: relative;
  width: 90%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 1;
}

/* 左上：スプレッドシート／右下：サイト（少し左右にズラして重ねる） */
.sheet-window {
  align-self: flex-start;
}

.site-window {
  align-self: flex-end;
}

/* ウィンドウ上部バー */
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  height: 34px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.mock-bar.sheet { background: #34a853; }

.mock-bar.site {
  background: #5b6675;
}

.mock-bar .dots {
  display: flex;
  gap: 5px;
  flex: none;
}

.mock-bar .dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.mock-bar .site-url {
  flex: 1;
  padding: 4px 10px;
  background: #fff;
  border-radius: 999px;
  color: #98a2b3;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.4;
}

.mock-body { padding: 14px; }

/* スプレッドシート表 */
.sheet-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 12.5px;
}

.sheet-table th,
.sheet-table td {
  padding: 8px 10px;
  border: 1px solid #e3e9f1;
  text-align: left;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sheet-table thead th {
  background: #f1f4f8;
  color: #7c869a;
  font-size: 11.5px;
  font-weight: 700;
  text-align: center;
}

.sheet-table .rn {
  width: 30px;
  background: #f1f4f8;
  color: #a3abb8;
  font-size: 11px;
  text-align: center;
}

.sheet-table .c1 { width: 27%; }
.sheet-table .c2 { width: 34%; }

.sheet-table tbody tr.hl td { background: #fffbe8; }

/* 矢印（そのままサイトへ） */
.flow-arrow {
  display: flex;
  align-self: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 22px;
  white-space: nowrap;
  z-index: 3;
}

.flow-arrow img {
  width: 30px;
  height: 30px;
  transform: rotate(90deg);
}

.flow-arrow span {
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* サイト側モック */
.news-ttl {
  margin: -1px 0 8px;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

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

.news li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 6px;
  border-bottom: 1px solid #eef2f7;
}

.news li:last-child { border-bottom: 0; }

.news li.hl {
  background: #fffbe8;
  border-radius: 6px;
}

.news .d {
  flex: none;
  width: 78px;
  color: #98a2b3;
  font-size: 11.5px;
  font-weight: 600;
}

.news .t {
  color: #2b3648;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}


.section {
  padding: 86px 0;
}

.alt-section,
.problem-section,
.usecase-section,
.faq-section {
  background: var(--bg-soft);
}

.section-heading {
  max-width: 1000px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading p {
  color: var(--color-muted);
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.price-card,
.note-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
}

.card p,
.price-card p,
.note-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.small-card {
  padding: 22px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: 54px;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
}

.feature-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 14px;
  font-weight: 900;
}

.feature-item p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.usecase-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.usecase-box {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
}

.usecase-box h3,
.usecase-box p {
  text-align: center;
}

.usecase-box p {
  color: var(--color-muted);
}

.pill-grid span {
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: #334155;
  font-weight: 700;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.price-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: 0 22px 50px rgba(29, 95, 209, 0.22);
  transform: translateY(-14px) scale(1.03);
}

.plan-name {
  margin-bottom: 6px !important;
  color: var(--color-primary) !important;
  font-size: 13px;
  font-weight: 900;
}

.price {
  margin-bottom: 18px !important;
  color: var(--color-text) !important;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.custom-box,
.cta-box {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 42px;
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid var(--color-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.custom-box > div:first-child {
  flex: 1;
  min-width: 0;
}

.custom-box .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.custom-box p,
.cta-box p {
  color: var(--color-muted);
}

.custom-box p:last-child,
.cta-box p:last-child {
  margin-bottom: 0;
}

details {
  margin-bottom: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

#faq-existing-site {
  scroll-margin-top: 88px;
}

#faq-maintenance {
  scroll-margin-top: 88px;
}

#faq-nomente {
  scroll-margin-top: 88px;
}

#diagResult,
#diagQuiz {
  scroll-margin-top: 88px;
}

/* 通常テキストと同色・下線のみのインラインリンク（small-note内など） */
.small-note a.note-link {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.small-note a.note-link:hover {
  opacity: 0.75;
}

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

.small-note a:hover {
  opacity: 0.85;
}

summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-primary);
  border-bottom: 2px solid var(--color-primary);
  transform: rotate(45deg);
  transition: transform 0.28s ease;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

.faq-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

details[open] .faq-body {
  grid-template-rows: 1fr;
}

.faq-body-inner {
  overflow: hidden;
}

.faq-body-inner p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

@media (prefers-reduced-motion: reduce) {
  .faq-body {
    transition: none;
  }

  summary::after {
    transition: none;
  }
}

.cta-section {
  padding: 86px 0;
  background: linear-gradient(135deg, #123d86 0%, #1d5fd1 100%);
}

.cta-section .cta-box {
  display: block;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.cta-section .eyebrow,
.cta-section p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-section .eyebrow::before {
  background: currentColor;
}

.cta-section h2 {
  color: #fff;
}

.footer {
  padding: 28px 0;
  background: #fff;
  color: var(--color-muted);
  font-size: 14px;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer p {
  margin: 0;
}

.footer a {
  text-decoration: underline;
  color: var(--color-text);
}

.page-hero {
  padding: 80px 0;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(29, 95, 209, 0.16), transparent 36%),
    var(--bg-soft);
}

.page-hero p:last-child {
  color: var(--color-muted);
  font-size: 17px;
}

.process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.process-step {
  position: relative;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 22px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
  font-weight: 900;
}

.process-step p,
.comparison-list p,
.check-list li,
.notice {
  color: var(--color-muted);
}

.notice {
  margin: 26px 0 0;
  padding: 18px 20px;
  background: var(--bg-blue);
  border: 1px solid rgba(29, 95, 209, 0.2);
  border-radius: 18px;
}

.comparison-list,
.check-list {
  display: grid;
  gap: 14px;
}

.comparison-list div,
.check-list {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
}

.comparison-list strong,
.check-list p {
  display: block;
  margin-bottom: 6px;
  font-weight: 900;
}

.comparison-list p,
.check-list p {
  margin-bottom: 0;
}

.check-list ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
}

.table-wrap {
  width: 100%;
  min-width: 100%;
  padding: 4px;
  box-sizing: border-box;
}

.info-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

/* .table-wrap の角丸（20px）− 内側余白（4px）に合わせる */
.table-wrap .info-table thead th:first-child {
  border-top-left-radius: 16px;
}

.table-wrap .info-table thead th:last-child {
  border-top-right-radius: 16px;
}

.table-wrap .info-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.table-wrap .info-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.info-table th,
.info-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: var(--bg-blue);
  color: #0f2c62;
  font-size: 14px;
}

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

.risk-section {
  background: #fff;
}

.note-card + .note-card {
  margin-top: 16px;
}

.plain-list {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: var(--color-muted);
}

.plain-list li + li {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .card-grid.two,
  .card-grid.four,
  .usecase-columns,
  .pricing-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
    font-size: 13px;
  }

  .nav-cta {
    padding: 7px 12px;
  }

  .hero,
  .page-hero {
    padding: 54px 0 64px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .section,
  .cta-section {
    padding: 58px 0;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: auto;
    padding: 4px 0 8px;
  }

  .mock-window {
    width: 100%;
    max-width: 360px;
  }

  .flow-arrow {
    margin: 14px 0;
  }

  .mock-bar {
    height: 30px;
    padding: 0 11px;
    font-size: 11px;
  }

  .mock-body { padding: 11px; }

  .sheet-table { font-size: 11px; }

  .sheet-table th,
  .sheet-table td { padding: 6px 7px; }

  .sheet-table thead th { font-size: 10.5px; }

  .sheet-table .rn { width: 24px; padding-left: 3px; padding-right: 3px; font-size: 10px; }

  /* SP：日付列を詰めて、タイトル・本文の省略を回避 */
  .sheet-table .c1 { width: 20%; }
  .sheet-table .c2 { width: 38%; }
  .sheet-table tbody td:nth-child(2) { font-size: 10px; letter-spacing: -0.02em; }

  .flow-arrow img { width: 26px; height: 26px; }

  .flow-arrow span { font-size: 12px; }

  .news .d { width: 68px; font-size: 11px; }

  .news .t { font-size: 12px; }


  .card-grid.three,
  .card-grid.two,
  .card-grid.four,
  .usecase-columns,
  .pricing-grid,
  .process {
    grid-template-columns: 1fr;
  }

  .custom-box,
  .cta-box {
    display: block;
    padding: 28px;
  }

  .custom-box .btn {
    margin-top: 18px;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner p + p {
    margin-top: 8px;
  }
}


/* ============================================================
   追加コンポーネント（統合LP用 / 2026-06 追記）
   ============================================================ */

/* 導入の流れ：4ステップ表示 */
.process.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 中間CV：説得ピーク直後に置く、文脈付きの相談導線 */
.cv-strip {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 24px;
  padding: 26px 32px;
  text-align: center;
  background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
}

.cv-strip p {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
}

/* SP追従CTA：スマホのみ画面下に常駐 */
.sp-sticky-cta { display: none; }

@media (max-width: 980px) {
  .process.steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .process.steps-4 { grid-template-columns: 1fr; }

  .cv-strip { padding: 24px; }

  .sp-sticky-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -6px 20px rgba(23, 32, 51, 0.08);
  }

  .sp-sticky-cta .btn {
    flex: 1;
    min-height: 52px;
  }

  /* 追従バーにフッターの内容が隠れないよう余白を確保（footer自身に付与） */
  footer.footer { padding-bottom: 78px; }
}


/* 値訴求カード（FV直下の3アピール） */
.highlight-card { text-align: center; }

.highlight-card .lead-word {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}


/* 値訴求カードのアイコン（高さを揃えて中央配置） */
.highlight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  margin-bottom: 14px;
}

.highlight-icon img {
  max-height: 100%;
  max-width: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* 中央アイコン（学習コストは、ゼロ）のみ20%拡大 */
.highlight-icon.is-lg img { transform: scale(1.2); transform-origin: center; }


/* Problemカードのアイコン（サイズ統一）＋タイトル中央寄せ */
.problem-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  margin-bottom: 14px;
}

.problem-icon img {
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.problem-card h3 { text-align: center; }


/* 料金：おすすめバッジ（スタンダード） */
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(29, 95, 209, 0.30);
  white-space: nowrap;
}

/* 比較表：Spread CMS列を強調 */
/* thead/tr への background はブラウザで効かないため table 本体に指定 */
.info-table.emphasize-spread {
  background: var(--bg-blue);
  border-radius: 20px;
}

.info-table.emphasize-spread tbody td:not(:nth-child(3)) {
  background: #fff;
}

.info-table.emphasize-spread th:nth-child(3) {
  background: var(--color-primary);
  color: #fff;
  border-top: 2px solid var(--color-primary);
}

.info-table.emphasize-spread td:nth-child(3) {
  background: #f2f6fc;
  color: var(--color-primary);
  font-weight: 800;
}

.info-table.emphasize-spread th:nth-child(3),
.info-table.emphasize-spread td:nth-child(3) {
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.info-table.emphasize-spread tr:last-child td:nth-child(3) {
  border-bottom: 2px solid var(--color-primary);
}

.info-table.emphasize-spread .th-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  vertical-align: middle;
}

@media (max-width: 720px) {
  /* スマホ：縦積み時は持ち上げ・拡大を解除（バッジと枠は維持） */
  .price-card.featured { transform: none; margin-top: 8px; }
}


/* 圏点（傍点）：ノーメンテを強調 */
.boten {
  position: relative;
}

.boten::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: -20px;
  color: transparent;
  pointer-events: none;
  -webkit-text-emphasis: filled dot var(--color-primary);
  text-emphasis: filled dot var(--color-primary);
  -webkit-text-emphasis-position: over right;
  text-emphasis-position: over right;
}

.info-table.emphasize-spread th:nth-child(3) {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.info-table.emphasize-spread tr:last-child td:nth-child(3) {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}


/* 比較表：SNS/WordPress/Spread CMS の列幅を均等に */
.info-table.emphasize-spread { table-layout: fixed; }
.info-table.emphasize-spread th:nth-child(1) { width: 34%; }
.info-table.emphasize-spread th:nth-child(2),
.info-table.emphasize-spread th:nth-child(3),
.info-table.emphasize-spread th:nth-child(4) { width: 22%; }


/* 強調列の角丸：セル枠だと角の線が欠けるため、枠線は擬似要素で描画 */
.info-table.emphasize-spread { position: relative; }

.info-table.emphasize-spread th:nth-child(3),
.info-table.emphasize-spread td:nth-child(3) {
  border-left: 0;
  border-right: 0;
}
.info-table.emphasize-spread th:nth-child(3) { border-top: 0; }
.info-table.emphasize-spread tr:last-child td:nth-child(3) { border-bottom: 0; }

.info-table.emphasize-spread::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56%;
  width: 22%;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  pointer-events: none;
}


/* Problem/Cost アイコン：画像の上下に3pxずつ余白 */
.problem-icon { padding: 3px 0; }

/* Recommend：タイトル中央＋カード中央寄せ（画像はhighlight-icon流用で100px） */
#recommend .card { text-align: center; }

/* Cost：タイトル中央寄せ（画像はproblem-icon流用で60px） */
.cost-section .small-card { text-align: center; }

/* 比較表：SNS/WordPress/Spread CMS 列を中央表示 */
.info-table.emphasize-spread th:nth-child(n+2),
.info-table.emphasize-spread td:nth-child(n+2) { text-align: center; }

/* 比較表：強調列の角丸がclipされないよう余白を確保（padding は .table-wrap に統合済み） */

/* Use Case：ダミー画像 */
.usecase-img {
  display: block;
  width: 100%;
  margin-top: 18px;
  border-radius: 14px;
}

/* 最終CTAボタン：色を反転（白地に青文字） */
.cta-box .btn-primary {
  background: #fff;
  color: var(--color-primary);
}
.cta-box .btn-primary:hover {
  background: #eef2f7;
  color: var(--color-primary);
}


/* ロゴ画像 */
.logo img { height: 34px; width: auto; display: block; }
.footer-logo img { height: 38px; width: auto; display: block; }


/* アコーディオン内コンテンツの上余白 */
.faq-body-inner .card-grid,
.faq-body-inner .table-scroll,
.faq-body-inner .process { margin-top: 16px; }


/* セクション内アコーディオンの上余白 */
.acc-block { margin-top: 28px; }


/* ヒーロー見出しの行間を広げる */
.hero-content h1 { line-height: 1.42; }


/* Recommend：説明文は左揃え（アイコン・見出しは中央のまま） */
#recommend .card p { text-align: left; }

/* CVエリア：全体をクリック可能なリンクに */
.cv-strip {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cv-strip:hover {
  box-shadow: 0 16px 36px rgba(29, 95, 209, 0.16);
  transform: translateY(-2px);
}
.cv-strip:hover .btn-primary {
  background: var(--color-primary-dark);
}


/* 価格の単位（万円〜）を2周り小さく */
.price-unit {
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
}


/* FAQ内の箇条書き上余白 */
.faq-body-inner .plain-list { margin-top: 12px; }


/* ヒーロー：eyebrowの下を広げる */
.hero-content .eyebrow { margin-bottom: 24px; }

/* FVロゴ（モノクロ） */
.hero-logo { max-height: 124px; max-width: 82%; width: auto; height: auto; display: inline-block; vertical-align: bottom; margin-top: 20px; }

/* Why：ロゴ左＋説明右 */
.why-brand { display: flex; align-items: center; gap: 30px; }
.why-brand-logo img { height: 84px; width: auto; display: block; }
.why-brand-text { margin: 0; }

/* CTA：全体をリンクに */
.cta-box { display: block; text-decoration: none; color: inherit; cursor: pointer; }

/* CVエリア：青背景・白文字・ボタン反転 */
.cv-strip { background: var(--color-primary); border-color: var(--color-primary); box-shadow: 0 14px 30px rgba(29, 95, 209, 0.22); }
.cv-strip p { color: #fff; }
.cv-strip .btn-primary { background: #fff; color: var(--color-primary); }
.cv-strip:hover { box-shadow: 0 18px 40px rgba(29, 95, 209, 0.30); }
.cv-strip:hover .btn-primary { background: #eef2f7; color: var(--color-primary); }

/* フッター：サイトマップ */
.footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
.footer-tagline { margin: 0; font-size: 13px; color: var(--color-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-nav a { color: var(--color-text); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: var(--color-primary); }
.footer-company { margin: 0; }

@media (max-width: 720px) {
  .why-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .why-brand-logo img { height: 60px; }
  .hero-logo { max-height: 88px; }
}


/* Why note-card：上下余白を倍に */
.why-brand { padding-top: 56px; padding-bottom: 56px; }

/* フッター：ロゴとタグラインを横並び */
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-brand p { margin: 0 0 25px 0; }

/* ===== Template セクション（3列グリッド：画像＋タイトル） ===== */
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.template-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.template-card:hover {
  box-shadow: 0 16px 36px rgba(23, 32, 51, 0.12);
  transform: translateY(-2px);
}
.template-thumb {
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.template-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.template-card h3 {
  margin: 0;
  padding: 16px 18px;
  font-size: 17px;
  text-align: center;
}
@media (max-width: 980px) {
  .template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .template-grid { grid-template-columns: 1fr; }
}

/* eyebrow をSolutionと同じ青に（section-heading内のグレー上書き対策） */
.eyebrow.is-primary { color: var(--color-primary); }

/* ============================================================
   2026-06 追記：SP最適化（≤720pxのみ／PCは不変）＋ヘルパー
   ============================================================ */

/* SP専用の改行ヘルパー（PCでは無効） */
.br-sp { display: none; }

/* PC専用の改行ヘルパー（SPでは無効・自然折り返しにする） */
.br-pc { display: inline; }

/* COMPARISON / PLANS：横スクロール誘導アイコン（SPのみ表示） */
.scroll-cue { display: none; }

@media (max-width: 720px) {
  /* 改行ヘルパーを有効化 */
  .br-sp { display: inline; }
  .br-pc { display: none; }

  /* --- Header：上段＝ロゴ(左)＋無料で相談する(右)／下段＝特徴・比較・料金を等間隔 --- */
  .header-inner {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    row-gap: 12px;
    column-gap: 10px;
    flex-direction: row;   /* 既存のcolumn指定を打ち消し */
    padding: 12px 0;
  }
  .header-nav { display: contents; }
  .logo { grid-column: 1 / 4; grid-row: 1; }
  .header-nav .nav-cta { grid-column: 4 / 7; grid-row: 1; justify-self: end; white-space: nowrap; }
  .header-nav a[href="#features"]   { grid-column: 1 / 3; grid-row: 2; }
  .header-nav a[href="#comparison"] { grid-column: 3 / 5; grid-row: 2; }
  .header-nav a[href="#plans"]      { grid-column: 5 / 7; grid-row: 2; }
  .header-nav a:not(.nav-cta) { text-align: center; }

  /* --- FV：ボタンは横並びのまま中央 --- */
  .hero-actions { justify-content: center; }

  /* --- WHY：Spread CMS ロゴを中央 --- */
  .why-brand { align-items: center; text-align: center; }

  /* --- COMPARISON：表をコンパクトに（高さ・幅を圧縮） --- */
  .info-table { min-width: 540px; }
  .info-table th,
  .info-table td { padding: 10px 12px; font-size: 13px; }
  .info-table th { font-size: 12px; }
  .info-table.emphasize-spread .th-tag { display: none; }

  /* --- CUSTOM：見出しを1行＋「詳しく見る」を中央 --- */
  .custom-section h2 { font-size: 22px; white-space: nowrap; }
  .custom-box .btn { display: flex; width: fit-content; margin: 18px auto 0; }

  /* --- Footer：タグライン→ロゴの順で中央、リンクも中央 --- */
  .footer-inner { display: block; text-align: center; }
  .footer-brand { flex-direction: column-reverse; align-items: center; gap: 10px; }
  .footer-nav { justify-content: center; }
}

/* ============================================================
   2026-06 追記その2：SP微調整（≤720pxのみ／PCは不変）
   ============================================================ */
@media (max-width: 720px) {
  /* 横スクロール誘導アイコン（指マーク）を表中央にオーバーレイ */
  .table-scroll { position: relative; }
  .table-scroll .info-table {
    border-right: 4px solid #fff;
  }
  .scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(38, 42, 51, 0.82);
    color: #fff;
    pointer-events: none;
    z-index: 3;
    transition: opacity 0.4s ease;
  }
  .scroll-cue.is-hidden { opacity: 0; }
  .scroll-cue-icon { display: flex; align-items: center; gap: 4px; }
  .cue-hand { width: 30px; height: 30px; }
  .cue-arrow { width: 16px; height: 16px; opacity: 0.92; }
  .scroll-cue-text { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }

  /* section-heading：説明文のみ左揃え（英語タイトル・タイトルは中央のまま） */
  .section-heading p:not(.eyebrow) { text-align: left; }

  /* WHY：ロゴは中央のまま、説明テキストを左揃え */
  .why-brand-text { text-align: left; }

  /* USE CASE：ピルを小さくして2段に収める */
  .pill-grid { gap: 8px; }
  .pill-grid span { padding: 6px 12px; font-size: 12px; }

  /* Footer：ロゴ上下に15pxスペース */
  .footer-brand { gap: 0; }
  .footer-logo { margin: 15px 0; }
}

/* ============================================================
   Diagnosis：Spread CMS 4グレード診断（YES/NO・3問）
   ============================================================ */
.diagnosis-section .container.narrow { max-width: 720px; }

/* 進捗バー */
.diag-progress {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.diag-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}
.diag-bar-fill {
  height: 100%;
  width: 33.3%;
  background: var(--color-primary);
  border-radius: 999px;
  transition: width 0.35s ease;
}
.diag-step {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
}

/* 質問カード */
.diag-card {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 36px 34px;
}
.diag-qnum {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  margin-bottom: 10px;
}
.diag-qtext {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 24px;
}
.diag-choices {
  display: grid;
  gap: 12px;
}
.diag-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  background: var(--bg-white);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
  font-family: inherit;
}
.diag-choice:hover {
  border-color: var(--color-primary);
  background: var(--bg-blue);
  transform: translateY(-1px);
}
.diag-yn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 5px 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #fff;
}
.diag-yn.yes { background: var(--color-accent); }
.diag-yn.no  { background: var(--color-muted); }
.diag-ctxt { flex: 1; }

.diag-back {
  display: block;
  margin: 22px auto 0;
  background: none;
  border: none;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.diag-back:disabled { visibility: hidden; }
.diag-back:hover { color: var(--color-primary); }

/* 結果カード */
.diag-result { display: none; }
.diag-result.show { display: block; animation: diagRise 0.5s cubic-bezier(.2,.8,.2,1); }
@keyframes diagRise { from{opacity:0; transform:translateY(14px);} to{opacity:1; transform:translateY(0);} }

.diag-result-eyebrow {
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
}
.diag-result-card {
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.diag-result-banner {
  background: var(--color-primary);
  color: #fff;
  padding: 28px 30px;
}
.diag-result-banner .pre {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  margin: 0 0 8px;
}
.diag-result-banner .pname {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0;
}
.diag-result-banner .price {
  margin: 10px 0 0;
  color: #fff;
}
.diag-price-num {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
}
.diag-price-unit {
  font-size: 0.6em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 2px;
  color: #fff;
}
.diag-result-body { padding: 26px 30px 30px; }
.diag-result-catch {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 12px;
  line-height: 1.6;
}
.diag-result-desc {
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 18px;
  line-height: 1.8;
}
.diag-result-config {
  font-size: 12.5px;
  color: var(--color-muted);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px;
  line-height: 1.6;
}
.diag-result-config b { color: var(--color-text); }
.diag-result-points {
  counter-reset: diagpt;
  list-style: none;
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
}
.diag-result-points li {
  counter-increment: diagpt;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--color-text);
  line-height: 1.6;
}
.diag-result-points li::before {
  content: counter(diagpt);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}
.diag-result-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.diag-result-actions .diag-cta {
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.diag-retry-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  font-family: inherit;
}
.diag-retry-link:hover { color: var(--color-primary); }

/* 兄弟プラン（他グレード） */
.diag-siblings { margin-top: 28px; }
.diag-siblings-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  text-align: center;
  margin: 0 0 14px;
}
.diag-sib-grid { display: grid; gap: 10px; }
.diag-sib {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}
.diag-sib .sn { font-size: 14px; font-weight: 800; color: var(--color-text); }
.diag-sib .sc { font-size: 11.5px; color: var(--color-muted); margin-top: 3px; }
.diag-sib .sp { font-size: 13px; font-weight: 900; color: var(--color-primary); white-space: nowrap; }

@media (max-width: 720px) {
  .diag-card { padding: 28px 22px; }
  .diag-qtext { font-size: 17px; }
  .diag-result-banner { padding: 24px 22px; }
  .diag-result-body { padding: 22px 22px 26px; }
  .diag-result-actions .diag-cta { max-width: none; }
}

/* ============================================================
   Comparison：記号（◎○△）＋補足テキストの比較表
   ============================================================ */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.cmp-table thead th {
  padding: 14px 10px 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--color-muted);
  text-align: center;
  border-bottom: 2px solid var(--color-border);
}

.cmp-table thead th:first-child {
  text-align: left;
}

.cmp-table thead th.me {
  color: #fff;
  background: var(--color-primary);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}

.cmp-table thead th.me .th-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}

.cmp-table tbody th {
  padding: 16px 12px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid var(--color-border);
}

.cmp-table tbody td {
  padding: 16px 10px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}

.cmp-table tbody td b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.cmp-table tbody td span {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #94a3b8;
}

.cmp-table tbody td b.g1 { color: var(--color-primary); }
.cmp-table tbody td b.g2 { color: #5b6675; }
.cmp-table tbody td b.g3 { color: #a3abb8; }

.cmp-table tbody td.me {
  background: var(--bg-blue);
}

.cmp-table tbody td.me span {
  color: var(--color-primary-dark);
  opacity: 0.75;
}

.cmp-table tbody tr:last-child td.me {
  border-radius: 0 0 12px 12px;
}

.cmp-note {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #98a2b3;
  text-align: center;
}

@media (max-width: 720px) {
  .cmp-table { min-width: 500px; }
  .cmp-table thead th { padding: 11px 7px 12px; font-size: 12px; }
  .cmp-table thead th.me .th-tag { margin-left: 5px; padding: 2px 7px; font-size: 10px; }
  .cmp-table tbody th { padding: 12px 8px; font-size: 12px; }
  .cmp-table tbody td { padding: 12px 7px; }
  .cmp-table tbody td b { font-size: 22px; }
  .cmp-table tbody td span { font-size: 10.5px; }
  .cmp-note { font-size: 11px; text-align: left; }
}

/* Comparison：記号を持たない「主な役割」行のテキスト表示 */
.cmp-table tbody tr.row-text td span {
  margin-top: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

.cmp-table tbody tr.row-text td.me span {
  color: var(--color-primary);
  opacity: 1;
}

@media (max-width: 720px) {
  .cmp-table tbody tr.row-text td span { font-size: 11.5px; }
}

/* Comparison：最終行の下線を消して、表の外枠との二重線を解消 */
.cmp-table tbody tr:last-child th,
.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

/* フッター下部：コピーライト行 */
.footer-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

.footer-company {
  margin: 0;
  font-size: 12px;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .footer-bottom {
    margin-top: 18px;
    padding-top: 16px;
    text-align: center;
  }
}

/* ============================================
   料金セクション：オプション（初期設定 / 公開後）
   ============================================ */
.opt-block {
  margin-top: 56px;
}

.opt-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.opt-head h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.opt-head .opt-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.opt-lead {
  margin: 0 0 20px;
  color: var(--color-muted);
  font-size: 14px;
}

.opt-wrap {
  padding: 4px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(23, 32, 51, 0.05);
  overflow: hidden;
}

.opt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.opt-table th,
.opt-table td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
  font-size: 15px;
}

.opt-table thead th {
  background: var(--bg-blue);
  color: #0f2c62;
  font-size: 13px;
  font-weight: 800;
}

.opt-table thead th:first-child {
  border-top-left-radius: 16px;
}

.opt-table thead th:last-child {
  border-top-right-radius: 16px;
}

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

.opt-table .col-name {
  width: 30%;
  font-weight: 800;
}

.opt-table .col-name .col-sub {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
}

.opt-table .col-desc {
  color: var(--color-muted);
  font-size: 14px;
}

.opt-table .col-price {
  width: 17%;
  text-align: right;
  white-space: nowrap;
  font-weight: 900;
  font-size: 17px;
}

.opt-table .col-price small {
  margin-left: 2px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-muted);
}

.tag-jihi {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fff2e6;
  color: #a1560f;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
}

/* パック：price-card.featured と同じ作法で強調 */
.opt-pack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 34px 0 10px;
  padding: 26px 30px;
  background: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 22px;
  box-shadow: 0 22px 50px rgba(29, 95, 209, 0.22);
}

.opt-pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(29, 95, 209, 0.3);
  white-space: nowrap;
}

.opt-pack-l {
  min-width: 0;
}

.opt-pack-l h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: var(--color-text);
}

.opt-pack-l p {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
}

.opt-pack-r {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.opt-pack-before {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-muted);
  text-decoration: line-through;
}

.opt-pack-arrow {
  font-size: 18px;
  color: var(--color-muted);
}

.opt-pack-after {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-primary);
}

.opt-pack-after small {
  margin-left: 3px;
  font-size: 15px;
  font-weight: 800;
}

.opt-foot {
  margin: 14px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

@media (max-width: 720px) {
  .opt-block {
    margin-top: 44px;
  }

  .opt-head {
    gap: 4px;
  }

  .opt-head h3 {
    font-size: 19px;
  }

  .opt-wrap {
    padding: 0;
    border-radius: 16px;
  }

  .opt-table thead {
    display: none;
  }

  .opt-table,
  .opt-table tbody,
  .opt-table tr,
  .opt-table td {
    display: block;
    width: 100%;
  }

  .opt-table tr {
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
  }

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

  .opt-table td {
    padding: 0;
    border: none;
  }

  .opt-table .col-name {
    width: auto;
    margin-bottom: 4px;
    font-size: 15px;
  }

  .opt-table .col-desc {
    width: auto;
    margin-bottom: 8px;
    font-size: 13px;
  }

  .opt-table .col-price {
    width: auto;
    text-align: left;
    font-size: 20px;
    color: var(--color-primary);
  }

  .opt-pack {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 34px 0 10px;
    padding: 26px 22px 22px;
    border-radius: 18px;
  }

  .opt-pack-badge {
    top: -13px;
  }

  .opt-pack-r {
    align-self: flex-end;
  }

  .opt-pack-after {
    font-size: 30px;
  }
}
