/*
 * AI開発のセカンドオピニオン（second-opinion）専用の見た目。共通の lp.css のあとに読む。
 * 共通の紙の組版（明朝の見出し・等幅のラベル・ダークモード）は使わず、
 * 日本語のゴシック体・白と淡い緑の背景・角の丸いカードで組む。
 * 色：緑（安心・確認済み）を主に、申込のボタンだけ暖色にする。
 */

:root {
  color-scheme: light;
  --so-green: #0f7b5f;
  --so-green-dark: #0a5c47;
  --so-green-tint: #eaf5f0;
  --so-green-tint-2: #d4ecdf;
  --so-orange: #ea6a1f;
  --so-orange-light: #f5922c;
  --so-navy: #1f2b3a;
  --so-text: #2b3644;
  --so-text-2: #55606e;
  --so-text-3: #7b8592;
  --so-line: #e2e8e5;
  --so-bg-gray: #f5f7f6;
  --so-marker: #ffe58f;
  --so-radius: 16px;
  --so-radius-sm: 10px;
  --so-shadow: 0 8px 28px rgba(18, 45, 36, 0.08);
  --so-shadow-sm: 0 2px 10px rgba(18, 45, 36, 0.06);

  /* 共通の変数も、明るい配色とゴシック体に置き換える（記事やプロフィールのページにも効かせる） */
  --paper: #ffffff;
  --paper-2: #f5f7f6;
  --sheet: #f5f7f6;
  --ink: #2b3644;
  --ink-2: #55606e;
  --ink-3: #7b8592;
  --rule: #e2e8e5;
  --rule-strong: #c9d3cf;
  --danger: #c2410c;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
  --serif: var(--sans);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 42em;
}

body {
  background: #fff;
  color: var(--so-text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

h1,
h2,
h3 {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--so-navy);
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  font-variation-settings: normal;
  word-break: auto-phrase;
  text-wrap: balance;
}

a {
  text-decoration-color: color-mix(in srgb, var(--so-green) 45%, transparent);
}

a:hover {
  text-decoration-color: var(--so-green);
}

strong,
b {
  font-weight: 700;
}

.so-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.so-icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* ヘッダー */

.preview-bar {
  font-family: var(--sans);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 0;
  box-shadow: 0 1px 0 var(--so-line), 0 4px 16px rgba(18, 45, 36, 0.04);
}

.header-inner {
  max-width: 1120px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--so-navy);
  letter-spacing: 0.02em;
}

.so-logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--so-green);
  color: #fff;
}

.so-logo-mark .so-icon {
  width: 22px;
  height: 22px;
}

.so-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--so-text-2);
}

.so-logo-text b {
  font-size: 1.05rem;
  color: var(--so-navy);
}

.site-nav {
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:not(.button) {
  color: var(--so-text);
}

.site-nav a:not(.button):hover {
  color: var(--so-green);
}

/* ボタン */

.button,
.so-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 52px;
  padding: 12px 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--so-orange), var(--so-orange-light));
  color: #fff;
  font: 700 1rem/1.3 var(--sans);
  letter-spacing: 0.04em;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(234, 106, 31, 0.28);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.button:hover,
.so-btn:hover {
  background: linear-gradient(90deg, var(--so-orange), var(--so-orange-light));
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(234, 106, 31, 0.32);
}

.button:focus-visible,
.so-btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--so-green) 50%, transparent);
  outline-offset: 3px;
}

.so-btn small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.so-btn-outline,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 2px solid var(--so-green);
  border-radius: 999px;
  background: #fff;
  color: var(--so-green);
  font-weight: 700;
  text-decoration: none;
  box-shadow: none;
}

.so-btn-outline:hover,
.text-link:hover {
  background: var(--so-green-tint);
  color: var(--so-green-dark);
  filter: none;
  box-shadow: none;
}

.text-link::after {
  content: "";
}

.so-btn-lg {
  min-height: 64px;
  padding: 14px 56px;
  font-size: 1.1rem;
}

.so-btn-block {
  display: flex;
  width: 100%;
}

.site-nav .button {
  min-height: 42px;
  padding: 8px 22px;
  font-size: 0.88rem;
  box-shadow: 0 4px 12px rgba(234, 106, 31, 0.24);
}

.cta-row {
  gap: 14px 16px;
}

/* セクションの共通 */

.section-html {
  padding: 88px 0;
}

.so-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.so-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.45;
}

.so-head p {
  margin: 0;
  color: var(--so-text-2);
}

.so-marker {
  background: linear-gradient(transparent 62%, var(--so-marker) 62%);
  padding: 0 2px;
}

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

.so-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
}

.so-checks .so-icon {
  margin-top: 0.3em;
  width: 1.1em;
  height: 1.1em;
  padding: 2px;
  border-radius: 50%;
  background: var(--so-green);
  color: #fff;
  stroke-width: 3;
}

.so-source {
  margin-left: 6px;
  font-size: 0.78rem;
  color: var(--so-text-3);
  white-space: nowrap;
}

.so-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: var(--so-text-3);
}

.so-visual-label {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--so-text-3);
}

/* ファーストビュー */

.so-s-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 85% 20%, rgba(15, 123, 95, 0.1), transparent 40%),
    linear-gradient(180deg, #f2faf6 0%, #ffffff 100%);
}

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

.so-pill {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--so-green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.so-hero-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.4;
}

.so-hero-lead {
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: var(--so-text);
}

.so-hero-lead strong {
  color: var(--so-green-dark);
}

.so-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.so-badges li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--so-green-tint-2);
  border-radius: 999px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--so-green-dark);
}

.so-badges .so-icon {
  width: 1em;
  height: 1em;
  stroke-width: 3;
  color: var(--so-green);
}

.so-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}

.so-hero-visual {
  position: relative;
}

.so-doc {
  padding: 22px 24px 12px;
  border-radius: var(--so-radius);
  background: #fff;
  box-shadow: var(--so-shadow);
  border: 1px solid var(--so-line);
}

.so-doc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--so-green);
  font-size: 0.85rem;
  font-weight: 700;
}

.so-doc-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--so-navy);
}

.so-doc-title .so-icon {
  color: var(--so-green);
}

.so-doc-count {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--so-green-tint);
  color: var(--so-green-dark);
  font-size: 0.78rem;
}

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

.so-doc-items li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--so-line);
  font-size: 0.86rem;
  line-height: 1.65;
}

.so-doc-items li:last-child {
  border-bottom: 0;
}

.so-doc-items p {
  margin: 0;
  color: var(--so-text-2);
}

.so-doc-item-title {
  font-weight: 700;
  color: var(--so-navy) !important;
}

.so-doc-next {
  margin-top: 4px !important;
  color: var(--so-green-dark) !important;
  font-weight: 600;
}

.so-sev {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}

.so-sev-high {
  background: #d9534f;
}

.so-sev-mid {
  background: #e7a12b;
}

.so-sev-low {
  background: #8a96a3;
}


/* 対応ツール */

.so-s-tools {
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--so-line);
  border-bottom: 1px solid var(--so-line);
}

.so-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: center;
}

.so-tools p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--so-text-2);
}

.so-tools ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.so-tools li {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--so-bg-gray);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--so-text);
}

/* こんな不安 */

.so-s-worries {
  background: var(--so-bg-gray);
}

.so-worries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.so-worries li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.so-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--so-green-tint-2);
  color: var(--so-text-3);
}

.so-worries p {
  position: relative;
  flex: 1;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--so-radius-sm);
  background: #fff;
  box-shadow: var(--so-shadow-sm);
  font-weight: 600;
  line-height: 1.65;
}

.so-worries p::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 18px;
  border-width: 7px 8px 7px 0;
  border-style: solid;
  border-color: transparent #fff transparent transparent;
}

.so-down {
  display: flex;
  justify-content: center;
  margin: 36px 0 8px;
  color: var(--so-green);
}

.so-down .so-icon {
  width: 40px;
  height: 40px;
  stroke-width: 2.5;
}

.so-answer {
  margin: 0;
  text-align: center;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  font-weight: 700;
  color: var(--so-navy);
  font-feature-settings: "palt";
}

/* AI だけでは足りない理由 */

.so-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 48px;
  padding: 28px 8px;
  border-radius: var(--so-radius);
  background: #fff;
  box-shadow: var(--so-shadow);
  border: 1px solid var(--so-line);
}

.so-stat {
  padding: 0 24px;
  text-align: center;
}

.so-stat + .so-stat {
  border-left: 1px dashed var(--so-line);
}

.so-stat p {
  margin: 0;
}

.so-stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--so-navy);
}

.so-stat-num {
  margin: 4px 0 8px !important;
  font-size: clamp(2.4rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--so-green);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.so-stat-num span {
  margin-left: 2px;
  font-size: 0.45em;
  font-weight: 700;
}

.so-stat-note {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--so-text-2);
  text-align: left;
}

.so-compare {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.so-compare-box {
  height: 100%;
  padding: 28px 32px;
  border-radius: var(--so-radius);
}

.so-compare-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.so-compare-before {
  background: #eef1f4;
  color: var(--so-text-2);
}

.so-compare-before ul {
  margin: 0;
  padding-left: 1.2em;
}

.so-compare-before li {
  margin-bottom: 10px;
}

.so-compare-after {
  background: var(--so-green);
  color: #fff;
}

.so-compare-after .so-compare-title {
  color: #fff;
}

.so-compare-after .so-checks .so-icon {
  background: #fff;
  color: var(--so-green);
}

.so-compare-arrow {
  display: grid;
  place-items: center;
  color: var(--so-green);
}

.so-compare-arrow .so-icon {
  width: 44px;
  height: 44px;
  stroke-width: 2.5;
}

/* 3つの特長 */

.so-s-features {
  background: var(--so-green-tint);
}

.so-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}

.so-feature:last-child {
  margin-bottom: 0;
}

.so-feature-reverse .so-feature-text {
  order: 2;
}

.so-point {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--so-green);
  letter-spacing: 0.08em;
}

.so-point span {
  font-size: 1.9rem;
  line-height: 1;
}

.so-feature h3 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}

.so-feature-text p:last-child {
  margin: 0;
  color: var(--so-text);
}

.so-comment,
.so-files,
.so-finding {
  padding: 24px 26px;
  border-radius: var(--so-radius);
  background: #fff;
  box-shadow: var(--so-shadow);
}

.so-comment-body {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.so-comment-body img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.so-comment-body p {
  position: relative;
  margin: 0;
  padding: 14px 16px;
  border-radius: 4px 12px 12px 12px;
  background: var(--so-green-tint);
  line-height: 1.75;
}

.so-files ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.so-files li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius-sm);
  font-weight: 600;
}

.so-files .so-icon {
  color: var(--so-green);
}

.so-finding-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  font-weight: 700;
  color: var(--so-navy);
}

.so-finding dl {
  margin: 0;
}

.so-finding dt {
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--so-text-3);
}

.so-finding dd {
  margin: 2px 0 0;
  font-size: 0.92rem;
}

.so-finding dd:last-child {
  padding: 10px 14px;
  border-left: 4px solid var(--so-green);
  border-radius: 0 8px 8px 0;
  background: var(--so-green-tint);
  font-weight: 600;
  color: var(--so-green-dark);
}

/* 申込への帯 */

.so-s-band {
  padding: 64px 0;
  background: linear-gradient(120deg, var(--so-green-dark), var(--so-green) 60%, #1b9a76);
  color: #fff;
  text-align: center;
}

.so-s-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  color: #fff;
}

.so-s-band p {
  margin: 0 0 28px;
  opacity: 0.92;
}

/* 見ること・見ないこと */

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

.so-scope-card {
  overflow: hidden;
  border-radius: var(--so-radius);
  border: 1px solid var(--so-line);
  background: #fff;
}

.so-scope-title {
  margin: 0;
  padding: 14px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.so-scope-yes .so-scope-title {
  background: var(--so-green);
}

.so-scope-no .so-scope-title {
  background: #6b7684;
}

.so-scope-list {
  list-style: none;
  margin: 0;
  padding: 8px 24px 16px;
}

.so-scope-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--so-line);
}

.so-scope-list li:last-child {
  border-bottom: 0;
}

.so-scope-list .so-icon {
  margin-top: 0.25em;
  stroke-width: 3;
}

.so-scope-yes .so-icon {
  color: var(--so-green);
}

.so-scope-no .so-icon {
  color: #8a96a3;
}

.so-scope-list p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--so-text-2);
}

.so-scope-list p:first-child {
  font-size: 1rem;
  font-weight: 700;
  color: var(--so-navy);
}

/* 料金 */

.so-s-pricing {
  background: var(--so-bg-gray);
}

.so-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.so-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--so-radius);
  background: #fff;
  box-shadow: var(--so-shadow-sm);
  border: 2px solid transparent;
}

.so-plan-strong {
  border-color: var(--so-green);
  box-shadow: var(--so-shadow);
}

.so-plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--so-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.so-plan-name {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--so-navy);
}

.so-plan-name .so-icon {
  color: var(--so-green);
}

.so-plan-price {
  margin: 10px 0 6px;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--so-navy);
  letter-spacing: 0;
}

.so-plan-price span {
  margin-left: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--so-text-2);
}

.so-plan-desc {
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--so-line);
  text-align: center;
  font-size: 0.92rem;
  color: var(--so-text-2);
}

.so-plan .so-checks {
  flex: 1;
  margin-bottom: 24px;
  font-size: 0.94rem;
}

/* 流れ */

.so-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}

.so-flow li {
  position: relative;
  text-align: center;
}

.so-flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(50% + 44px);
  width: calc(100% - 88px + 16px);
  border-top: 2px dashed var(--so-green-tint-2);
}

.so-flow-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--so-green-tint);
  color: var(--so-green);
}

.so-flow-mark .so-icon {
  width: 30px;
  height: 30px;
}

.so-flow-num {
  position: absolute;
  top: -4px;
  left: -4px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--so-green);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.so-flow-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--so-navy);
}

.so-flow li p:last-child {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--so-text-2);
  text-align: left;
}

/* レビューする人 */

.so-s-reviewer {
  background: var(--so-green-tint);
}

.so-profile {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--so-radius);
  background: #fff;
  box-shadow: var(--so-shadow);
}

.so-profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.so-profile-role {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--so-green);
}

.so-profile-name {
  margin: 0 0 12px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--so-navy);
}

.so-facts {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}

.so-facts li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.94rem;
  font-weight: 600;
}

.so-facts .so-icon {
  margin-top: 0.25em;
  color: var(--so-green);
}

.so-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  color: var(--so-green);
  text-decoration: none;
}

.so-link:hover {
  text-decoration: underline;
}

/* 記事 */

.so-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.so-articles a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.so-articles a:hover {
  transform: translateY(-2px);
  box-shadow: var(--so-shadow);
}

.so-tag {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--so-green-tint);
  color: var(--so-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
}

.so-article-title {
  margin-bottom: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--so-navy);
}

.so-article-desc {
  flex: 1;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--so-text-2);
}

.so-article-more {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--so-green);
}

/* 共通の部品（FAQ・フォーム・ほかのページ）を、同じ見た目にそろえる */

.section {
  padding: 88px 0;
  border-top: 0;
}

.section-grid {
  display: block;
  max-width: 880px;
  margin: 0 auto;
}

.section-head {
  position: static;
  margin-bottom: 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.45;
}

.section-head .lead,
.lead {
  color: var(--so-text-2);
  font-size: 1rem;
}

.section-faq {
  background: var(--so-bg-gray);
}

.faq {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.faq details {
  border: 0;
  border-radius: var(--so-radius-sm);
  background: #fff;
  box-shadow: var(--so-shadow-sm);
}

.faq summary {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 56px 18px 20px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--so-navy);
}

.faq summary::before {
  content: "Q";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--so-green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.faq summary::after {
  content: "";
  top: 50%;
  right: 24px;
  width: 9px;
  height: 9px;
  margin-top: -6px;
  border-right: 2px solid var(--so-text-3);
  border-bottom: 2px solid var(--so-text-3);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  content: "";
  margin-top: -2px;
  transform: rotate(-135deg);
}

.faq .answer {
  display: flex;
  gap: 14px;
  max-width: none;
  margin: 0 20px;
  padding: 16px 0 20px;
  border-top: 1px dashed var(--so-line);
  color: var(--so-text);
}

.faq .answer::before {
  content: "A";
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--so-orange);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
}

.section-form {
  background: linear-gradient(140deg, var(--so-green-dark), var(--so-green) 55%, #1b9a76);
}

.section-form .section-grid {
  max-width: 760px;
  padding: 48px 48px 40px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(6, 40, 30, 0.25);
}

.section-form .section-head {
  margin-bottom: 28px;
}

.lp-form {
  gap: 20px;
  max-width: none;
  padding-top: 0;
  border-top: 0;
}

.field label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--so-navy);
}

.req,
.opt {
  margin-left: 0;
  padding: 1px 8px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
}

.req {
  background: #d9534f;
  color: #fff;
}

.opt {
  background: #e6eaee;
  color: var(--so-text-2);
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  padding: 14px 16px;
  border: 1px solid #dde3e0;
  border-radius: var(--so-radius-sm);
  background: #f5f7f6;
  color: var(--so-text);
  font-size: 1rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b9c4bf;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid color-mix(in srgb, var(--so-green) 30%, transparent);
  outline-offset: 0;
  border-color: var(--so-green);
  background: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa4ae;
}

.field-checkbox {
  justify-content: center;
}

.field-checkbox label {
  font-weight: 600;
}

.lp-form .button {
  justify-self: center;
  width: min(100%, 360px);
  min-height: 60px;
  font-size: 1.08rem;
}

.cf-turnstile {
  justify-self: center;
}

/* フッター */

.site-footer {
  margin-top: 0;
  padding: 40px 0 48px;
  border-top: 0;
  background: var(--so-navy);
  color: #c6cdd5;
  font-size: 0.85rem;
}

.site-footer a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}

.colophon {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.92rem;
  color: #fff;
}

/* プロフィールなど、共通の部品で作ったページ */

.section-hero {
  padding: 64px 0;
  background: linear-gradient(180deg, #f2faf6 0%, #ffffff 100%);
}

.hero-grid h1,
.section-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.4;
}

.eyebrow {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--so-green);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.05rem;
  line-height: 1.85;
}

.portrait {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-left: auto;
  border-radius: 50%;
  border: 6px solid #fff;
  box-shadow: var(--so-shadow);
}

.name-en {
  display: block;
  margin-top: 0.4em;
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--so-text-3);
}

.section-text + .section-text,
.section-text + .section-cards,
.section-cards + .section-text {
  padding-top: 0;
}

.prose p {
  font-size: 1rem;
}

.entries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border-top: 0;
}

.entry {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  background: #fff;
}

.entry h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 700;
}

.entry p {
  font-size: 0.92rem;
}

/* 特定商取引法に基づく表記 */

.legal-table th {
  width: 11em;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  color: var(--so-navy);
}

.legal-table th,
.legal-table td {
  padding: 14px 16px 14px 0;
}

.legal-table td {
  font-size: 0.95rem;
}

/* 記事 */

.article-container {
  max-width: 800px;
}

.breadcrumb ol {
  font-family: var(--sans);
  font-size: 0.8rem;
}

.article-header {
  border-bottom: 2px solid var(--so-green);
}

.article-header h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
  line-height: 1.5;
}

.article-meta {
  font-family: var(--sans);
  font-size: 0.85rem;
}

.article-lead {
  font-size: 1.02rem;
  color: var(--so-text-2);
}

.toc {
  border: 0;
  border-radius: var(--so-radius);
  background: var(--so-green-tint);
}

.toc-title {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--so-green-dark);
  letter-spacing: 0.04em;
}

.toc a {
  text-decoration: none;
  font-weight: 600;
}

.toc a:hover {
  text-decoration: underline;
}

.article-body h2 {
  padding: 8px 0 8px 16px;
  border-top: 0;
  border-left: 5px solid var(--so-green);
  font-size: clamp(1.3rem, 2.6vw, 1.55rem);
  line-height: 1.5;
}

.article-body h3 {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--so-line);
  font-size: 1.1rem;
}

.article-body li {
  font-size: 1rem;
}

.article-body table {
  font-size: 0.92rem;
}

.article-body thead th {
  background: var(--so-green-tint);
  border-bottom: 2px solid var(--so-green);
  padding-left: 10px;
}

.article-body td {
  padding-left: 10px;
}

.article-body pre {
  border: 0;
  border-radius: var(--so-radius-sm);
  background: #1f2b3a;
  color: #e6edf3;
}

.article-body :not(pre) > code {
  border: 0;
  border-radius: 4px;
  background: #eef1f4;
}

.article-sources h2,
.related h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.article-cta {
  border-top: 0;
  border-radius: var(--so-radius);
  background: var(--so-green-tint);
  text-align: center;
}

.article-cta h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.5rem);
}

.article-cta .cta-row {
  justify-content: center;
}

.author-box {
  padding: 24px;
  border-top: 0;
  border-radius: var(--so-radius);
  border: 1px solid var(--so-line);
}

.author-photo {
  border-radius: 50%;
  border: 0;
}

.author-label {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--so-green);
}

.author-name {
  font-family: var(--sans);
  font-weight: 700;
}

.article-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}

.article-list li {
  padding: 20px 24px;
  border: 1px solid var(--so-line);
  border-radius: var(--so-radius);
  background: #fff;
}

.article-list h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
}

.article-list .article-item-date {
  font-family: var(--sans);
}

/* 完了・エラーのページ */

.container.narrow h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.2rem);
}

/* 画面の幅ごと */

@media (max-width: 960px) {
  .so-hero-grid,
  .so-feature,
  .so-compare {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .so-feature-reverse .so-feature-text {
    order: 0;
  }

  .so-compare-arrow {
    transform: rotate(90deg);
  }


  .so-worries,
  .so-articles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .so-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .so-flow li {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    column-gap: 18px;
    padding-bottom: 24px;
    text-align: left;
  }

  .so-flow-mark {
    grid-row: span 2;
    margin: 0;
  }

  .so-flow-title {
    align-self: end;
  }

  .so-flow li:not(:last-child)::after {
    top: 80px;
    left: 36px;
    width: 0;
    height: calc(100% - 84px);
    border-top: 0;
    border-left: 2px dashed var(--so-green-tint-2);
  }
}

@media (max-width: 640px) {
  .so-container {
    padding: 0 16px;
  }

  .section-html,
  .section {
    padding: 56px 0;
  }

  .so-s-hero {
    padding: 36px 0 48px;
  }

  .so-head {
    margin-bottom: 32px;
  }

  .so-cta-row .so-btn {
    width: 100%;
  }


  .so-worries,
  .so-articles,
  .so-scope,
  .so-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .so-stats {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 4px;
  }

  .so-stat {
    padding: 20px 16px;
  }

  .so-stat + .so-stat {
    border-left: 0;
    border-top: 1px dashed var(--so-line);
  }

  .so-compare-box {
    padding: 22px 20px;
  }

  .so-plans {
    gap: 32px;
  }

  .so-plan {
    padding: 32px 22px 24px;
  }

  .so-profile {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 28px 22px;
    text-align: left;
  }

  .so-profile-photo {
    width: 120px;
    height: 120px;
  }

  .so-btn-lg {
    width: 100%;
    padding: 14px 24px;
  }

  .section-form .section-grid {
    padding: 32px 20px 28px;
    border-radius: var(--so-radius);
  }

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

  .portrait {
    max-width: 180px;
    margin-left: 0;
  }

  .legal-table th {
    width: 7em;
  }
}

/* 動きを減らす設定の人には、スクロールや浮き上がりの動きを止める */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .so-btn,
  .so-articles a {
    transition: none;
  }
}

/* 担当エンジニアの条件と紹介 */

.so-rules {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  list-style: none;
  margin: -16px 0 32px;
  padding: 0;
}

.so-rules li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--so-shadow-sm);
  font-weight: 700;
  color: var(--so-navy);
}

.so-rules .so-icon {
  color: var(--so-green);
}

.so-profile-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--so-green-tint);
  color: var(--so-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.so-files-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px dashed var(--so-line);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--so-green-dark);
}

.so-files-foot .so-icon {
  color: var(--so-green);
}

@media (max-width: 640px) {
  .so-rules {
    flex-direction: column;
    align-items: stretch;
  }
}
