/* =========================================================
   株式会社アスタ コーポレートサイト 共通スタイル
   - サービス詳細ページ（.astha-service-page）
   - トップページ（.astha-home-page）
   - 会社概要などのコンテンツページ（.astha-content-page）
   ========================================================= */

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body.astha-theme-body,
.astha-service-page,
.astha-home-page {
  --astha-blue: #0071bc;
  --astha-blue-deep: #003f78;
  --astha-blue-soft: #e7f2fb;
  --astha-navy: #00345f;
  --astha-navy-2: #001f3a;
  --astha-sky: #eaf7ff;
  --astha-orange: #f28a22;
  --astha-orange-deep: #d96e0c;
  --astha-orange-soft: #fff3e3;
  --astha-ink: #0f1822;
  --astha-text: #2b3a4d;
  --astha-muted: #6a7a8c;
  --astha-line: #dde7f1;
  --astha-line-soft: #eef3f8;
  --astha-bg: #f6fafd;
  --astha-radius-s: 6px;
  --astha-radius: 10px;
  --astha-radius-l: 16px;
  --astha-shadow-card: 0 14px 30px rgba(0, 52, 95, 0.08), 0 2px 4px rgba(0, 52, 95, 0.04);
  --astha-shadow-card-hover: 0 24px 50px rgba(0, 52, 95, 0.16), 0 4px 8px rgba(0, 52, 95, 0.06);
  color: var(--astha-ink);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  font-feature-settings: "palt";
  line-height: 1.85;
  letter-spacing: 0.02em;
}

body.astha-theme-body {
  margin: 0;
  background: #f4f7fb;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.ac-site-shell *,
.ac-site-shell *::before,
.ac-site-shell *::after,
.astha-service-page *,
.astha-home-page * {
  box-sizing: border-box;
}

.astha-service-page img,
.astha-home-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.astha-service-page a,
.astha-home-page a {
  color: inherit;
}

/* ---------- 共通コンテナ ---------- */

.sp-container,
.home-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px;
}

/* ---------- 見出し ---------- */

.sp-eyebrow,
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sp-eyebrow::before,
.home-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--astha-blue), var(--astha-orange));
}

.astha-service-page h1,
.astha-service-page h2,
.astha-service-page h3,
.astha-home-page h1,
.astha-home-page h2,
.astha-home-page h3 {
  margin: 0 0 18px;
  color: var(--astha-ink);
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.astha-service-page h1,
.astha-home-page h1 {
  max-width: 800px;
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
}

.astha-service-page h2,
.astha-home-page h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.005em;
}

.astha-service-page h3,
.astha-home-page h3 {
  font-size: 20px;
  font-weight: 800;
}

.sp-lead,
.home-lead {
  max-width: 760px;
  margin: 0;
  color: var(--astha-text);
  font-size: 16px;
  line-height: 1.95;
}

/* ---------- ボタン ---------- */

.sp-button-row,
.home-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.sp-button,
.home-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 180px;
  padding: 13px 26px;
  border: 1.5px solid var(--astha-blue);
  border-radius: var(--astha-radius-s);
  color: var(--astha-blue);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.18s ease;
}

.sp-button::after,
.home-button::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-left: 12px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.sp-button:hover,
.home-button:hover {
  color: #fff !important;
  background: var(--astha-blue);
  border-color: var(--astha-blue);
  transform: translateY(-1px);
}

.sp-button:hover::after,
.home-button:hover::after {
  transform: rotate(45deg) translate(2px, -2px);
}

/* ---------- プライマリ（オレンジ）ボタン ---------- */

.sp-button-primary,
.home-button-primary {
  border-color: var(--astha-orange);
  color: #fff !important;
  background: var(--astha-orange);
}

.sp-button-primary:hover,
.home-button-primary:hover {
  color: var(--astha-orange) !important;
  background: #fff;
  border-color: var(--astha-orange);
  transform: translateY(-1px);
}

/* ---------- ヒーロー ---------- */

.sp-hero,
.home-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 16%, rgba(0, 113, 188, 0.06), transparent 42%),
    radial-gradient(circle at 90% 80%, rgba(242, 138, 34, 0.06), transparent 50%),
    linear-gradient(120deg, #fbfdff 0%, #fbfdff 50%, #eaf3fb 50%, #e1eef9 100%);
  border-bottom: 1px solid var(--astha-line);
}

.sp-hero::before,
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 56%;
  height: 100%;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 65%),
    radial-gradient(circle at 30% 50%, rgba(0, 113, 188, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.sp-hero::after,
.home-hero::after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -80px;
  width: 540px;
  height: 240px;
  background: linear-gradient(135deg, var(--astha-blue), rgba(0, 52, 95, 0.45));
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.85;
  z-index: 2;
}

.sp-hero-inner,
.home-hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 1.05fr);
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  min-height: 620px;
  margin: 0 auto;
  padding: 88px 24px 80px;
}

.sp-hero-copy,
.home-hero-copy {
  padding: 8px 0;
}

.sp-hero-title-accent,
.sp-hero strong,
.home-hero strong {
  color: var(--astha-blue);
  background: linear-gradient(transparent 70%, rgba(242, 138, 34, 0.18) 70%);
  padding: 0 4px;
}

.sp-hero-badges,
.home-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.sp-hero-badges li,
.home-hero-badges li {
  padding: 8px 14px;
  border: 1px solid rgba(0, 113, 188, 0.22);
  border-radius: 999px;
  color: var(--astha-navy);
  background: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(2px);
}

.sp-hero-visual,
.home-hero-visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--astha-radius-l);
  box-shadow: 0 32px 70px rgba(0, 52, 95, 0.22);
}

.sp-hero-visual::before,
.home-hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 113, 188, 0.0), rgba(0, 52, 95, 0.18));
  z-index: 1;
  pointer-events: none;
}

.sp-hero-visual img,
.home-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.sp-hero {
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.98) 0 52%, rgba(232, 246, 255, 0.92) 52% 100%),
    linear-gradient(135deg, #fff 0%, #edf7ff 100%);
}

.sp-hero::before {
  display: none;
}

.sp-hero::after {
  top: 0;
  right: 8%;
  bottom: auto;
  width: 220px;
  height: 100%;
  clip-path: none;
  background: rgba(0, 113, 188, 0.08);
  opacity: 1;
  transform: skewX(-18deg);
}

.sp-hero-inner {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.92fr);
  gap: 46px;
  max-width: 1180px;
  min-height: 680px;
  padding: 76px 24px 66px;
}

.sp-hero-visual {
  min-height: 0;
  padding: 18px;
  overflow: visible;
  border-radius: 0;
  box-shadow: none;
}

.sp-hero-visual::before {
  display: none;
}

.sp-hero-visual img {
  height: auto;
  min-height: 0;
  border-radius: var(--astha-radius-l);
  object-fit: contain;
}

/* ---------- セクション基本 ---------- */

.home-section,
.sp-section {
  position: relative;
}

.home-section + .home-section,
.sp-section + .sp-section {
  border-top: 1px solid var(--astha-line-soft);
}

.home-section-alt,
.sp-section-alt {
  background: linear-gradient(180deg, #f8fbfe 0%, #eef5fb 100%);
}

.home-section-dark,
.sp-section-dark,
.sp-metrics-band,
.home-stats {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--astha-navy), var(--astha-navy-2));
}

.home-section-dark::before,
.sp-section-dark::before,
.sp-metrics-band::before,
.home-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 113, 188, 0.4), transparent 45%),
    radial-gradient(circle at 80% 90%, rgba(242, 138, 34, 0.18), transparent 50%);
  pointer-events: none;
}

.home-section-dark > *,
.sp-section-dark > *,
.sp-metrics-band > *,
.home-stats > * {
  position: relative;
  z-index: 1;
}

.home-section-dark h2,
.home-section-dark h3,
.sp-section-dark h2,
.sp-section-dark h3,
.sp-metrics-band h2,
.home-stats h2 {
  color: #fff;
}

.sp-section-dark .sp-lead,
.home-section-dark .home-lead,
.sp-metrics-band .sp-lead,
.home-stats .home-lead {
  color: #c8def0;
}

.sp-section-dark .sp-eyebrow,
.home-section-dark .home-eyebrow,
.sp-metrics-band .sp-eyebrow,
.home-stats .home-eyebrow {
  color: #ffd0a3;
}

.sp-head,
.home-head {
  max-width: 880px;
  margin: 0 auto 48px;
  text-align: center;
}

.sp-head-left,
.home-head-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

/* ---------- グリッド ---------- */

.sp-grid,
.home-grid {
  display: grid;
  gap: 22px;
}

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

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

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

/* ---------- カード ---------- */

.sp-card,
.home-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 36px 32px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
}

/* リンクカードのみホバー効果を付与 */
a.sp-card,
a.home-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

a.sp-card:hover,
a.home-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 188, 0.32);
  box-shadow: var(--astha-shadow-card-hover);
}

.sp-card p,
.home-card p,
.sp-price-card p,
.sp-plan-price-note {
  margin: 0;
  color: var(--astha-text);
  font-size: 15px;
  line-height: 1.85;
}

.sp-card h2 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  font-size: 22px;
}

.sp-icon,
.home-icon,
.sp-card-number {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #0d8bd9, var(--astha-navy));
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.sp-card-number {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 14px;
  letter-spacing: 0;
}

/* ---------- 2カラムスプリット ---------- */

.sp-split,
.home-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
}

.sp-image-panel,
.home-image-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--astha-radius-l);
  background: #eaf3f9;
  box-shadow: 0 22px 50px rgba(0, 52, 95, 0.15);
}

.sp-image-panel img,
.home-image-panel img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.sp-image-panel-subtle {
  box-shadow: 0 14px 30px rgba(0, 52, 95, 0.08);
}

.sp-section-stack {
  display: block;
}

.sp-inline-visual {
  margin: 34px 0 30px;
}

.sp-inline-visual img {
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

.sp-image-panel-subtle {
  background: transparent;
  box-shadow: none;
}

.sp-image-panel-subtle img {
  height: auto;
  min-height: 0;
  object-fit: contain;
  opacity: 0.96;
}

/* ---------- 意味を補足する図解 ---------- */

.service-explain-visual {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: center;
  gap: 24px;
  min-height: 420px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(0, 113, 188, 0.12);
  border-radius: var(--astha-radius-l);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 248, 255, 0.92)),
    radial-gradient(circle at 100% 0%, rgba(0, 113, 188, 0.16), transparent 36%);
  box-shadow: 0 18px 44px rgba(0, 52, 95, 0.09);
}

.service-explain-visual::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(242, 138, 34, 0.1);
}

.service-explain-visual > * {
  position: relative;
  z-index: 1;
}

.service-explain-head {
  display: grid;
  gap: 8px;
}

.service-explain-head span {
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-explain-head strong {
  color: var(--astha-ink);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 650;
  line-height: 1.45;
}

.service-flow-line,
.service-step-rail,
.service-support-loop {
  display: grid;
  gap: 12px;
}

.service-flow-line {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.service-flow-line div,
.service-support-loop div {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 18px 14px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.service-flow-line div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  z-index: 2;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--astha-blue);
  border-right: 2px solid var(--astha-blue);
  transform: translateY(-50%) rotate(45deg);
}

.service-flow-line span,
.service-support-loop span,
.service-node-main {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.service-flow-line strong,
.service-support-loop strong,
.service-page-block,
.service-page-columns span,
.service-step-rail span,
.service-topic-grid span,
.service-node {
  color: var(--astha-ink);
  font-weight: 650;
}

.service-flow-line small,
.service-support-note span {
  color: var(--astha-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

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

.service-topic-grid span,
.service-step-rail span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
}

.service-stakeholder-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "management main vendor"
    ". field .";
  gap: 18px;
  align-items: center;
  padding: 18px 0 4px;
}

.service-stakeholder-map::before {
  content: "";
  position: absolute;
  inset: 50% 14% auto;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 113, 188, 0), rgba(0, 113, 188, 0.38), rgba(0, 113, 188, 0));
}

.service-node {
  display: grid;
  place-items: center;
  min-height: 82px;
  border: 1px solid rgba(0, 113, 188, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px rgba(0, 52, 95, 0.06);
  font-size: 15px;
}

.service-node:nth-child(1) {
  grid-area: main;
}

.service-node:nth-child(2) {
  grid-area: management;
}

.service-node:nth-child(3) {
  grid-area: field;
}

.service-node:nth-child(4) {
  grid-area: vendor;
}

.service-node-main {
  width: auto;
  height: 92px;
  border-radius: 20px;
  box-shadow: 0 18px 30px rgba(0, 113, 188, 0.18);
  font-size: 18px;
}

.service-step-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-top: 8px;
}

.service-explain-visual-web .service-step-rail {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-page-wire {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
}

.service-page-block,
.service-page-columns span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border-radius: 12px;
  background: #eef7fd;
  font-size: 14px;
}

.service-page-block-hero {
  min-height: 86px;
  background: linear-gradient(135deg, rgba(0, 113, 188, 0.12), rgba(0, 63, 120, 0.1));
}

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

.service-page-block-cta {
  background: rgba(242, 138, 34, 0.16);
}

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

.service-support-loop div:nth-child(2) span {
  background: linear-gradient(135deg, var(--astha-orange), var(--astha-orange-deep));
}

.service-support-note {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-left: 4px solid var(--astha-orange);
  border-radius: 12px;
  background: #fff;
}

.service-support-note strong {
  color: var(--astha-navy);
  font-size: 15px;
  font-weight: 650;
}

/* ---------- リスト ---------- */

.sp-mini-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.sp-mini-list li {
  position: relative;
  padding-left: 32px;
  color: var(--astha-text);
  font-size: 15px;
  font-weight: 700;
}

.sp-mini-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--astha-blue);
  box-shadow: inset 0 0 0 5px #dff1fc;
}

/* ---------- チェック型カード ---------- */

.sp-check {
  position: relative;
  padding: 22px 22px 22px 60px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  color: var(--astha-text);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  box-shadow: 0 8px 20px rgba(0, 52, 95, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-check:hover {
  border-color: rgba(0, 113, 188, 0.3);
  box-shadow: 0 14px 28px rgba(0, 52, 95, 0.08);
}

.sp-check::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  background-image:
    linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'><path d='M1 4.5l3 3L11 1' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

.sp-check::after {
  content: "";
  position: absolute;
  top: 28px;
  left: 26px;
  width: 14px;
  height: 11px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9'><path d='M1 4.5l3 3L11 1' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}

/* ---------- メトリクス（数値訴求） ---------- */

.sp-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.sp-metrics-head {
  grid-column: 1 / -1;
  margin-bottom: 36px;
  text-align: center;
}

.sp-metric {
  padding: 18px 32px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-metric:last-child {
  border-right: 0;
}

.sp-metric strong {
  display: block;
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.sp-metric span {
  display: block;
  margin-top: 12px;
  color: #c8def0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- プロセスステップ ---------- */

.sp-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.sp-process-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  padding: 32px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
}

.sp-process-card .sp-card-number {
  background: var(--astha-blue);
}

.sp-process-arrow {
  display: none;
}

/* ---------- 料金ブロック ---------- */

.sp-price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  gap: 56px;
  align-items: start;
}

.sp-price-card {
  position: relative;
  padding: 36px;
  border: 1px solid rgba(0, 113, 188, 0.22);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: 0 22px 50px rgba(0, 52, 95, 0.12);
}

/* sp-price-card::before removed — top accent bar eliminated */

.sp-price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--astha-line-soft);
}

.sp-price-row:first-child {
  padding-top: 6px;
}

.sp-price-row:last-of-type {
  border-bottom: 0;
}

.sp-price-row > span {
  align-self: flex-end;
  color: var(--astha-text);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.sp-price-row strong,
.sp-plan-price {
  color: var(--astha-navy);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  text-align: right;
  letter-spacing: 0;
}

.sp-price-row strong small,
.sp-plan-price small {
  display: block;
  margin-top: 6px;
  color: var(--astha-muted);
  font-size: 12px;
  font-weight: 700;
}

.sp-plan-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sp-plan-price {
  text-align: left;
}

/* ---------- 注意書き ---------- */

.sp-note {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px solid rgba(242, 138, 34, 0.22);
  border-radius: var(--astha-radius-s);
  color: var(--astha-text);
  background: #fffbf6;
  font-size: 14px;
  line-height: 1.85;
}

.sp-note-subtle {
  margin-top: 22px;
  padding-left: 0;
  color: var(--astha-muted);
  font-size: 13px;
  line-height: 1.85;
}

.sp-note-subtle::before {
  content: "※ ";
  color: var(--astha-orange);
  font-weight: 800;
}

/* ---------- 最下部CTA ---------- */

.sp-cta,
.home-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.astha-service-page > .sp-section-dark:last-of-type {
  overflow: visible;
  color: var(--astha-ink);
  background:
    radial-gradient(circle at 12% 16%, rgba(242, 138, 34, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.astha-service-page > .sp-section-dark:last-of-type::before {
  display: none;
}

.astha-service-page > .sp-section-dark:last-of-type .sp-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(0, 52, 95, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 255, 0.96));
  box-shadow: 0 26px 62px rgba(0, 52, 95, 0.14);
}

.astha-service-page > .sp-section-dark:last-of-type .sp-cta::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 113, 188, 0.12), transparent 64%);
  pointer-events: none;
}

.astha-service-page > .sp-section-dark:last-of-type .sp-cta > * {
  position: relative;
  z-index: 1;
}

.astha-service-page > .sp-section-dark:last-of-type h2,
.astha-service-page > .sp-section-dark:last-of-type h3 {
  color: var(--astha-ink);
}

.astha-service-page > .sp-section-dark:last-of-type .sp-lead {
  color: var(--astha-text);
}

.astha-service-page > .sp-section-dark:last-of-type .sp-eyebrow {
  color: var(--astha-blue);
}

/* ---------- FAQ ---------- */

.sp-faq {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.sp-faq-item {
  padding: 28px 32px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 52, 95, 0.05);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-faq-item:hover {
  border-color: rgba(0, 113, 188, 0.32);
  box-shadow: var(--astha-shadow-card);
}

.sp-faq-q {
  position: relative;
  margin: 0 0 14px;
  padding-left: 44px;
  color: var(--astha-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.sp-faq-q::before {
  content: "Q";
  position: absolute;
  top: -3px;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  font-size: 14px;
  font-weight: 900;
}

.sp-faq-a {
  position: relative;
  margin: 0;
  padding-left: 44px;
  color: var(--astha-text);
  font-size: 15px;
  line-height: 1.95;
}

.sp-faq-a::before {
  content: "A";
  position: absolute;
  top: -2px;
  left: 0;
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--astha-orange);
  background: var(--astha-orange-soft);
  border: 1.5px solid var(--astha-orange);
  font-size: 14px;
  font-weight: 900;
}

.sp-faq-a ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sp-faq-a ul li {
  position: relative;
  padding-left: 18px;
  font-weight: 600;
}

.sp-faq-a ul li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--astha-blue);
}

@media (max-width: 760px) {
  .sp-faq-item {
    padding: 22px 22px 22px;
  }
  .sp-faq-q {
    padding-left: 38px;
    font-size: 16px;
  }
  .sp-faq-a {
    padding-left: 38px;
  }
}

/* ---------- トップページ専用 ---------- */

.home-services,
.home-strength {
  background: #fff;
}

.home-strength {
  position: relative;
  overflow: hidden;
}

.home-strength::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 113, 188, 0.08), transparent 65%);
  pointer-events: none;
}

.home-strength::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(242, 138, 34, 0.08), transparent 65%);
  pointer-events: none;
}

.home-strength .home-container {
  position: relative;
  z-index: 1;
}

/* 数字で見るアスタ */

.home-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

.home-stat {
  padding: 12px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.home-stat:last-child {
  border-right: 0;
}

.home-stat > span:first-child {
  display: block;
  color: #c8def0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.home-stat strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  background: linear-gradient(135deg, #fff, #b9dcf5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-stat > span:last-child {
  display: block;
  margin-top: 8px;
  color: #c8def0;
  font-size: 13px;
  font-weight: 800;
}

/* 制作実績カード */

.home-case-card {
  overflow: hidden;
  padding: 0;
}

.home-case-card .home-case-body {
  flex-grow: 1;
}

.home-case-image {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.home-case-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0, 0, 0, 0) 60%, rgba(0, 52, 95, 0.18) 100%);
  pointer-events: none;
}

.home-case-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-case-card:hover .home-case-image img {
  transform: scale(1.05);
}

.home-case-image-fallback {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  padding: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 50%),
    linear-gradient(135deg, var(--astha-navy), var(--astha-blue));
  text-align: center;
  letter-spacing: 0.08em;
}

.home-case-image-fallback span {
  position: relative;
  z-index: 1;
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.8;
}

.home-case-image-fallback strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 10px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.home-case-body {
  padding: 28px 30px 32px;
}

.home-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.home-tag {
  padding: 5px 11px;
  border-radius: 4px;
  color: var(--astha-blue-deep);
  background: var(--astha-blue-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* 最終CTA */

.home-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: var(--astha-radius-l);
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 52, 95, 0.18);
}

.home-final-cta-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.home-final-cta-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.home-final-cta-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(0, 52, 95, 0.4) 0%, rgba(0, 52, 95, 0) 60%);
}

.home-final-cta-body {
  padding: 56px 56px;
}

.home-final-cta-body h2 {
  margin-bottom: 14px;
}

.home-strength .home-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 強みグリッドの番号アイコン */

.home-strength .home-card .home-icon {
  background: var(--astha-orange);
}

/* ---------- レスポンシブ ---------- */

@media (max-width: 1080px) {
  .sp-hero-inner,
  .home-hero-inner,
  .sp-split,
  .home-split,
  .sp-price-layout,
  .sp-cta,
  .home-cta,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .sp-hero-visual,
  .home-hero-visual {
    border-radius: var(--astha-radius);
  }

  .home-stat-grid,
  .sp-grid-4,
  .home-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-final-cta-body {
    padding: 40px 32px;
  }

  .service-explain-visual {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .sp-container,
  .home-container,
  .sp-hero-inner,
  .home-hero-inner {
    padding: 64px 18px;
  }

  .astha-service-page h1,
  .astha-home-page h1 {
    font-size: 32px;
  }

  .astha-service-page h2,
  .astha-home-page h2 {
    font-size: 26px;
  }

  .sp-grid-2,
  .sp-grid-3,
  .sp-grid-4,
  .home-grid-2,
  .home-grid-3,
  .home-grid-4,
  .sp-metrics,
  .sp-process,
  .home-stat-grid {
    grid-template-columns: 1fr;
  }

  .sp-metric,
  .home-stat {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sp-metric:last-child,
  .home-stat:last-child {
    border-bottom: 0;
  }

  .service-explain-visual {
    gap: 18px;
    padding: 24px 18px;
  }

  .service-explain-head strong {
    font-size: 22px;
  }

  .service-flow-line,
  .service-step-rail,
  .service-explain-visual-web .service-step-rail,
  .service-support-loop {
    grid-template-columns: 1fr;
  }

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

  .service-flow-line div {
    min-height: 0;
    padding: 14px 14px 14px 58px;
  }

  .service-flow-line span {
    position: absolute;
    top: 14px;
    left: 14px;
  }

  .service-flow-line div:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -14px;
    transform: translateX(50%) rotate(135deg);
  }

  .service-stakeholder-map {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "management"
      "field"
      "vendor";
  }

  .service-stakeholder-map::before {
    inset: 70px 50% 70px auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(0, 113, 188, 0.38), rgba(0, 113, 188, 0));
  }

  .service-page-columns {
    grid-template-columns: 1fr;
  }

  .sp-button,
  .home-button {
    width: 100%;
  }

  .sp-hero::before,
  .sp-hero::after,
  .home-hero::before,
  .home-hero::after {
    display: none;
  }

  .sp-hero-visual,
  .home-hero-visual {
    min-height: 240px;
  }

  .sp-hero-visual img,
  .home-hero-visual img {
    min-height: 240px;
  }

  .home-stat strong {
    font-size: 38px;
  }
}

/* ---------- お知らせ系 通知ボックス ---------- */

.content-notice {
  position: relative;
  margin: 0 0 12px;
  padding: 24px 28px;
  border: 1px solid rgba(242, 138, 34, 0.28);
  border-radius: var(--astha-radius);
  background: #fffbf6;
}

.content-notice h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0;
  border-top: 0;
  color: var(--astha-orange-deep);
  font-size: 20px;
}

.content-notice h2::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--astha-orange);
  font-size: 16px;
  font-weight: 900;
}

.content-notice p {
  margin: 0;
  color: var(--astha-text);
  line-height: 1.85;
}

/* ---------- コンテンツページ（会社概要・法務など） ---------- */

.content-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 113, 188, 0.08), transparent 45%),
    linear-gradient(120deg, #ffffff 0%, #ffffff 56%, #e6f2fb 56%, #d8eaf7 100%);
  border-bottom: 1px solid var(--astha-line);
}

.content-hero::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -90px;
  width: 480px;
  height: 220px;
  background: linear-gradient(135deg, var(--astha-blue), rgba(0, 52, 95, 0.4));
  clip-path: polygon(38% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}

.content-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 24px 84px;
}

.content-hero h1 {
  font-size: 44px;
  letter-spacing: 0;
}

.content-body {
  max-width: 920px;
  margin: 0 auto;
}

.content-body h2 {
  position: relative;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--astha-line-soft);
  font-size: 26px;
}

.content-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.content-body h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--astha-blue), var(--astha-orange));
  border-radius: 2px;
}

.content-body h2:first-child::before {
  display: none;
}

.content-body h3 {
  margin-top: 32px;
  font-size: 19px;
}

.content-body p {
  margin: 0 0 20px;
  color: var(--astha-text);
  line-height: 1.95;
}

.content-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  padding-left: 30px;
  color: var(--astha-text);
  font-weight: 700;
}

.content-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  box-shadow: inset 0 0 0 4px #dff1fc;
}

.content-body ol {
  margin: 22px 0;
  padding: 0 0 0 26px;
  color: var(--astha-text);
}

.content-body ol li {
  padding-left: 6px;
  margin-bottom: 8px;
  font-weight: 700;
}

.content-body ol li::marker {
  color: var(--astha-blue);
  font-weight: 900;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0 36px;
  overflow: hidden;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 52, 95, 0.05);
}

.content-table th,
.content-table td {
  padding: 22px 24px;
  border-bottom: 1px solid var(--astha-line-soft);
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
}

.content-table th {
  width: 28%;
  color: var(--astha-navy);
  background: linear-gradient(180deg, #f3f9fd, #eaf3fa);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.content-table td {
  color: var(--astha-text);
  font-size: 15px;
}

.content-table tr:last-child th,
.content-table tr:last-child td {
  border-bottom: 0;
}

.content-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.content-meta span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--astha-blue-deep);
  background: var(--astha-blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.content-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.content-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
}

.content-card-link.sp-card {
  overflow: hidden;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.content-card-link.sp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 113, 188, 0.4);
  box-shadow: var(--astha-shadow-card-hover);
}

.content-card-thumb {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: var(--astha-blue-soft);
}

.content-card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.content-card-link.sp-card:hover .content-card-thumb img {
  transform: scale(1.035);
}

.content-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 28px 30px 32px;
}

.content-card-body .content-meta {
  margin-top: 0;
}

.content-card-body h3 {
  margin-top: 18px;
}

.content-card-body p {
  margin-bottom: 0;
}

.content-quote {
  position: relative;
  margin: 32px 0;
  padding: 28px 32px 28px 64px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  color: var(--astha-navy);
  background: var(--astha-bg);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.85;
}

.content-quote::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 22px;
  color: var(--astha-orange);
  font-family: serif;
  font-size: 56px;
  line-height: 1;
}

.content-cta-band {
  position: relative;
  overflow: hidden;
  margin-top: 56px;
  padding: 48px 56px;
  border-radius: var(--astha-radius-l);
  color: #fff;
  background: linear-gradient(135deg, var(--astha-navy), var(--astha-navy-2));
  box-shadow: 0 22px 50px rgba(0, 52, 95, 0.22);
}

.content-cta-band::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 138, 34, 0.22), transparent 60%);
}

.content-cta-band h2 {
  position: relative;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #fff;
}

.content-cta-band h2::before {
  display: none;
}

.content-cta-band p {
  position: relative;
  margin: 0;
  color: #c8def0;
}

.content-cta-band .sp-button-row {
  position: relative;
}

/* ---------- AI活用診断LP ---------- */

.ai-diagnosis-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(680px, 78vh, 860px);
  background: #f8fbff;
}

.ai-diagnosis-hero-bg {
  position: absolute;
  inset: clamp(16px, 2.8vw, 42px);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
}

.ai-diagnosis-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ai-diagnosis-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.24) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 52, 95, 0.05));
}

.ai-diagnosis-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: inherit;
  max-width: 1240px;
  margin: 0 auto;
  padding: 92px 24px 76px;
}

.ai-diagnosis-hero-copy {
  max-width: 720px;
}

.ai-diagnosis-hero h1 {
  margin-top: 18px;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.12;
}

.ai-diagnosis-hero .sp-lead {
  max-width: 640px;
  margin-top: 24px;
  color: #243447;
  font-size: 18px;
  font-weight: 700;
}

.ai-diagnosis-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(720px, 100%);
  margin-top: 34px;
}

.ai-diagnosis-hero-proof div {
  padding: 18px 20px;
  border: 1px solid rgba(0, 113, 188, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(0, 52, 95, 0.08);
}

.ai-diagnosis-hero-proof strong {
  display: block;
  color: var(--astha-blue-deep);
  font-size: 30px;
  line-height: 1;
}

.ai-diagnosis-hero-proof span {
  display: block;
  margin-top: 8px;
  color: var(--astha-text);
  font-size: 13px;
  font-weight: 800;
}

.ai-diagnosis-problem {
  padding: 86px 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 138, 34, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ai-diagnosis-problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.ai-diagnosis-problem-grid h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.28;
}

.ai-diagnosis-problem-list {
  padding: 34px 36px;
  border: 1px solid rgba(0, 52, 95, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--astha-shadow-card);
}

.ai-diagnosis-problem-list p {
  margin: 0;
  color: var(--astha-text);
  font-weight: 700;
}

.ai-diagnosis-problem-list p + .sp-mini-list,
.ai-diagnosis-problem-list .sp-mini-list + p {
  margin-top: 24px;
}

.ai-diagnosis-highlight {
  display: grid;
  gap: 10px;
  margin-top: 30px;
  padding: 26px 28px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: var(--astha-radius);
  background: var(--astha-blue-soft);
}

.ai-diagnosis-highlight strong {
  color: var(--astha-navy);
  font-size: 20px;
}

.ai-diagnosis-highlight span {
  color: var(--astha-text);
  font-weight: 700;
}

.ai-diagnosis-image-panel img,
.ai-diagnosis-map img {
  width: 100%;
  height: auto;
}

.ai-diagnosis-map-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px;
  align-items: center;
}

.ai-diagnosis-map {
  padding: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 52px rgba(0, 52, 95, 0.12);
}

.ai-diagnosis-cta-strip {
  padding: 72px 0;
  background: linear-gradient(135deg, #00345f, #001f3a);
}

.ai-diagnosis-cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 42px 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 20%, rgba(242, 138, 34, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ai-diagnosis-cta-panel h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
}

.ai-diagnosis-cta-panel p {
  margin: 18px 0 0;
  color: #c8def0;
  font-weight: 700;
}

.ai-diagnosis-faq {
  display: grid;
  gap: 14px;
}

.ai-diagnosis-faq details {
  border: 1px solid var(--astha-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--astha-shadow-card);
}

.ai-diagnosis-faq summary {
  position: relative;
  padding: 22px 58px 22px 26px;
  color: var(--astha-navy);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.ai-diagnosis-faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 26px;
  color: var(--astha-blue);
  font-size: 24px;
  transform: translateY(-50%);
}

.ai-diagnosis-faq details[open] summary::after {
  content: "-";
}

.ai-diagnosis-faq p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--astha-text);
  font-weight: 700;
}

@media (max-width: 760px) {
  .content-hero {
    background:
      radial-gradient(circle at 12% 18%, rgba(0, 113, 188, 0.08), transparent 45%),
      linear-gradient(120deg, #ffffff 0%, #ffffff 72%, #e6f2fb 72%, #d8eaf7 100%);
  }

  .content-hero::before {
    right: -150px;
    bottom: -132px;
    width: 340px;
    height: 160px;
    opacity: 0.45;
  }

  .content-hero-inner {
    padding: 60px 18px;
  }

  .content-hero h1 {
    font-size: 30px;
  }

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

  .content-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .content-table td {
    padding-top: 6px;
  }

  .content-card-list {
    grid-template-columns: 1fr;
  }

  .content-card-body {
    padding: 24px 22px 28px;
  }

  .content-cta-band {
    padding: 32px 24px;
  }

  .ai-diagnosis-hero {
    min-height: 720px;
  }

  .ai-diagnosis-hero-bg {
    inset: 14px;
    border-radius: 20px;
  }

  .ai-diagnosis-hero-bg img {
    object-position: 64% center;
  }

  .ai-diagnosis-hero-bg::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 64%, rgba(255, 255, 255, 0.36) 100%);
  }

  .ai-diagnosis-hero-inner {
    align-content: start;
    padding: 72px 22px 34px;
  }

  .ai-diagnosis-hero h1 {
    font-size: 38px;
  }

  .ai-diagnosis-hero .sp-lead {
    font-size: 16px;
  }

  .ai-diagnosis-hero-proof,
  .ai-diagnosis-problem-grid,
  .ai-diagnosis-map-layout,
  .ai-diagnosis-cta-panel {
    grid-template-columns: 1fr;
  }

  .ai-diagnosis-problem {
    padding: 58px 0;
  }

  .ai-diagnosis-problem-list,
  .ai-diagnosis-cta-panel {
    padding: 28px 22px;
  }

  .ai-diagnosis-map-copy {
    order: 1;
  }

  .ai-diagnosis-map {
    order: 2;
  }
}

/* ---------- グローバルヘッダー / フッター ---------- */

.ac-site-shell {
  overflow: clip;
  background: #fff;
}

.ac-skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 120;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--astha-navy);
  text-decoration: none;
}

.ac-skip-link:focus {
  top: 16px;
}

.ac-global-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(0, 52, 95, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 31, 58, 0.08);
}

body.admin-bar .ac-global-header {
  top: 32px;
}

.ac-header-top {
  color: #d7e6f6;
  background: linear-gradient(135deg, #03274b, #0b4171);
}

.ac-header-top-inner,
.ac-header-main-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ac-footer-main,
.ac-footer-bottom,
.ac-footer-cta-band {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(28px, 6vw, 96px);
  padding-right: clamp(28px, 6vw, 96px);
}

.ac-header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.ac-header-top-inner p {
  margin: 0;
  font-weight: 700;
}

.ac-header-top-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.ac-header-main-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 90px;
}

.ac-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ac-brand img,
.ac-footer-brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 46px;
}

.ac-global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 10px;
}

.ac-nav-item,
.ac-nav-has-submenu > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--astha-ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ac-nav-item:hover,
.ac-nav-has-submenu:hover > a,
.ac-nav-has-submenu:focus-within > a {
  color: var(--astha-blue);
}

.ac-nav-has-submenu {
  position: relative;
  display: inline-flex;
}

.ac-nav-has-submenu::after {
  content: "";
  position: absolute;
  top: 100%;
  right: -12px;
  left: -12px;
  height: 18px;
}

.ac-nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  min-width: 280px;
  padding: 12px;
  border: 1px solid rgba(0, 52, 95, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 56px rgba(0, 31, 58, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ac-nav-has-submenu:hover .ac-nav-submenu,
.ac-nav-has-submenu:focus-within .ac-nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.ac-nav-submenu a {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--astha-text);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ac-nav-submenu a:hover {
  color: var(--astha-blue);
  background: #f3f8fd;
}

.ac-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.ac-header-link {
  color: var(--astha-text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ac-header-link:hover {
  color: var(--astha-blue);
}

.ac-header-cta,
.ac-footer-cta-button,
.ac-footer-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1.5px solid var(--astha-orange);
  border-radius: 6px;
  color: #fff !important;
  background: var(--astha-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.ac-header-cta:hover,
.ac-footer-cta-button:hover,
.ac-footer-contact-button:hover {
  color: var(--astha-orange) !important;
  background: #fff;
  transform: translateY(-1px);
}

.ac-mobile-nav {
  display: none;
  margin-left: auto;
}

.ac-mobile-nav summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(0, 52, 95, 0.16);
  border-radius: 8px;
  color: var(--astha-ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.ac-mobile-nav summary::-webkit-details-marker {
  display: none;
}

.ac-mobile-nav-icon,
.ac-mobile-nav-icon::before,
.ac-mobile-nav-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--astha-navy);
}

.ac-mobile-nav-icon {
  position: relative;
}

.ac-mobile-nav-icon::before,
.ac-mobile-nav-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.ac-mobile-nav-icon::before {
  top: -6px;
}

.ac-mobile-nav-icon::after {
  top: 6px;
}

.ac-mobile-nav-panel {
  position: absolute;
  right: 24px;
  left: 24px;
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(0, 52, 95, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 26px 50px rgba(0, 31, 58, 0.14);
}

.ac-mobile-nav-panel a {
  padding: 10px 0;
  color: var(--astha-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.ac-mobile-nav-cta {
  margin-top: 6px;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff !important;
  background: linear-gradient(135deg, var(--astha-orange), var(--astha-orange-deep));
}

.ac-global-footer {
  margin-top: 80px;
  color: #d7e6f6;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 113, 188, 0.2), transparent 34%),
    radial-gradient(circle at 85% 78%, rgba(242, 138, 34, 0.16), transparent 30%),
    linear-gradient(180deg, #062848 0%, #031d36 100%);
}

.ac-footer-cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.ac-footer-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffd0a3;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ac-footer-cta-copy h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 34px;
  line-height: 1.35;
}

.ac-footer-cta-copy p,
.ac-footer-cta-actions p {
  margin: 0;
  color: #c0d6eb;
  font-size: 15px;
  line-height: 1.85;
}

.ac-footer-cta-actions {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.ac-footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 36px;
  padding-top: 36px;
  padding-bottom: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ac-footer-brand-block p {
  margin: 18px 0 0;
  color: #c0d6eb;
  font-size: 14px;
  line-height: 1.9;
}

.ac-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ac-footer-badges li {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

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

.ac-footer-links h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
}

.ac-footer-links ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-footer-links a {
  color: #c0d6eb;
  font-size: 14px;
  line-height: 1.6;
  text-decoration: none;
}

.ac-footer-links a:hover {
  color: #fff;
}

.ac-footer-contact-card {
  align-self: start;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ac-footer-contact-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffd0a3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ac-footer-contact-card strong {
  display: block;
  color: #fff;
  font-size: 24px;
  line-height: 1.45;
}

.ac-footer-contact-card p {
  margin: 14px 0 20px;
  color: #c0d6eb;
  font-size: 14px;
  line-height: 1.85;
}

.ac-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ac-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ac-footer-bottom a,
.ac-footer-bottom p {
  margin: 0;
  color: #b4cce2;
  font-size: 12px;
  text-decoration: none;
}

/* ---------- トップページ再設計 ---------- */

.home-hero-corporate {
  border-bottom: 0;
  background: #fff;
}

.home-hero-corporate::before,
.home-hero-corporate::after {
  display: none;
}

.home-hero-corporate .home-hero-inner {
  position: relative;
  display: block;
  max-width: none;
  min-height: calc(100svh - 116px);
  padding: clamp(22px, 3.4vw, 54px);
}

.home-hero-corporate .home-hero-copy {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  min-height: calc(100svh - 224px);
  padding: clamp(38px, 5.4vw, 86px) 0 clamp(38px, 5.4vw, 86px) clamp(20px, 5vw, 76px);
}

.home-hero-corporate h1 {
  max-width: 720px;
  margin-bottom: 28px;
  color: #101820;
  font-size: 72px;
  line-height: 1.08;
}

.home-hero-corporate h1 strong {
  display: block;
  width: fit-content;
  color: var(--astha-blue);
}

.home-hero-corporate .home-lead {
  max-width: 560px;
  color: #304052;
  font-size: 17px;
  line-height: 2;
}

.home-hero-corporate .home-button-row {
  margin-top: 36px;
}

.home-proof-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.home-proof-list div {
  padding: 18px 18px 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(0, 31, 58, 0.08);
}

.home-proof-list dt {
  margin: 0;
  color: var(--astha-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-proof-list dd {
  margin: 8px 0 0;
  color: var(--astha-ink);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
}

.home-hero-visual-corporate {
  position: absolute;
  inset: clamp(18px, 3vw, 46px);
  min-height: 0;
  border-radius: 28px;
  box-shadow: none;
}

.home-hero-visual-corporate img {
  height: 100%;
  min-height: 0;
  object-position: center;
}

.home-hero-visual-corporate::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.68) 38%, rgba(255, 255, 255, 0.02) 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 52, 95, 0.04));
}

.home-hero-visual-corporate::after {
  display: none;
}

.home-scroll-cue {
  position: absolute;
  right: clamp(34px, 5vw, 76px);
  bottom: clamp(34px, 5vw, 76px);
  z-index: 6;
  display: inline-grid;
  gap: 12px;
  justify-items: center;
  padding: 14px 10px 16px;
  color: var(--astha-blue-deep);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-decoration: none;
  writing-mode: vertical-rl;
  animation: home-scroll-cue-float 2.4s ease-in-out infinite;
}

.home-scroll-cue span {
  display: inline-block;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.86);
}

.home-scroll-cue::after {
  content: "";
  width: 2px;
  height: 58px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(0, 113, 188, 0), var(--astha-blue), rgba(0, 113, 188, 0)) 0 -58px / 100% 116px no-repeat,
    rgba(0, 113, 188, 0.18);
  animation: home-scroll-line-flow 1.7s ease-in-out infinite;
}

@keyframes home-scroll-cue-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

@keyframes home-scroll-line-flow {
  0% {
    background-position: 0 -58px, 0 0;
  }

  100% {
    background-position: 0 58px, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-scroll-cue,
  .home-scroll-cue::after {
    animation: none;
  }
}

.home-hero-float-card {
  position: absolute;
  z-index: 3;
  width: min(320px, calc(100% - 36px));
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(0, 31, 58, 0.16);
  backdrop-filter: blur(10px);
}

.home-hero-float-card span {
  display: block;
  color: var(--astha-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero-float-card strong {
  display: block;
  margin-top: 8px;
  color: var(--astha-navy);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
  background: none;
  padding: 0;
}

.home-hero-float-card p {
  margin: 10px 0 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.7;
}

.home-hero-float-card-top {
  top: 40px;
  right: 42px;
  left: auto;
}

.home-hero-float-card-bottom {
  right: 42px;
  bottom: 42px;
}

.home-kpi-ribbon {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 0;
}

.home-kpi-card {
  padding: 26px 28px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 52, 95, 0.96), rgba(0, 31, 58, 0.96));
}

.home-kpi-card:first-child {
  border-radius: 18px 0 0 18px;
}

.home-kpi-card:last-child {
  border-right: 0;
  border-radius: 0 18px 18px 0;
}

.home-kpi-card span {
  display: block;
}

.home-kpi-card > span:first-child {
  color: #c0d6eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.home-kpi-card strong {
  display: block;
  margin-top: 12px;
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.home-kpi-card strong span {
  display: inline;
  margin-left: 4px;
  color: #c0d6eb;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-data-note {
  max-width: 1240px;
  margin: 14px auto 0;
  padding: 0 24px 34px;
  color: var(--astha-muted);
  font-size: 12px;
  text-align: right;
}

.home-hero-topic-ribbon {
  position: relative;
  z-index: 4;
  margin-top: -30px;
  padding-bottom: 38px;
}

.home-hero-topic-ribbon .home-kpi-card {
  min-height: 126px;
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 138, 34, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(0, 52, 95, 0.98), rgba(0, 31, 58, 0.98));
}

.home-hero-topic-ribbon .home-kpi-card strong {
  font-size: 24px;
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.home-ai-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 113, 188, 0.12), transparent 26%),
    radial-gradient(circle at 8% 92%, rgba(242, 138, 34, 0.1), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.home-ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 44px;
  align-items: center;
}

.home-ai-copy {
  align-self: center;
}

.home-ai-visual-panel,
.home-service-map-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 52, 95, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 60px rgba(0, 31, 58, 0.1);
}

.home-ai-visual-panel img,
.home-service-map-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.home-ai-diagnosis-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.home-ai-diagnosis-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px;
  border-radius: 12px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 14%, rgba(242, 138, 34, 0.36), transparent 30%),
    linear-gradient(135deg, var(--astha-navy), var(--astha-blue));
  box-shadow: 0 26px 56px rgba(0, 52, 95, 0.22);
}

.home-ai-diagnosis-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 148px;
  height: 148px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  transform: rotate(16deg);
}

.home-ai-diagnosis-card > * {
  position: relative;
  z-index: 1;
}

.home-ai-diagnosis-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ffd8b2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.home-ai-diagnosis-card h3 {
  color: #fff;
  font-size: 26px;
}

.home-ai-diagnosis-card p,
.home-ai-diagnosis-card li {
  color: #dbeeff;
}

.home-ai-need {
  padding: 28px 26px;
  border: 1px solid rgba(0, 52, 95, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 38px rgba(0, 31, 58, 0.07);
}

.home-ai-need > span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--astha-blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-service-portfolio {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-service-map {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 34px;
}

.home-service-map-copy {
  padding: 20px 0;
}

.home-service-map-copy span {
  display: block;
  margin-bottom: 14px;
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-service-map-copy h3 {
  font-size: 26px;
}

.home-service-map-copy p {
  margin: 0;
  color: var(--astha-text);
  font-size: 15px;
  line-height: 1.9;
}

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

.home-service-card {
  overflow: hidden;
  padding: 30px 28px 32px;
}

.home-service-card-primary {
  grid-column: 1 / -1;
  border-color: rgba(0, 113, 188, 0.22);
  background: var(--astha-blue-soft);
  box-shadow: var(--astha-shadow-card);
}

.home-service-card-primary .home-icon {
  background: var(--astha-orange);
}

.home-service-label {
  margin: 0 0 8px;
  color: var(--astha-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-service-feature-list,
.home-case-result {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.home-service-feature-list li,
.home-case-result li {
  position: relative;
  padding-left: 22px;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.75;
}

.home-service-feature-list li::before,
.home-case-result li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-orange));
}

.home-service-card > a:not(.home-button) {
  margin-top: 18px;
  color: var(--astha-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

@media (min-width: 1081px) {
  .home-service-card-primary {
    display: grid;
    grid-template-columns: 82px minmax(0, 0.9fr) minmax(320px, 1.1fr);
    gap: 0 26px;
    align-items: start;
  }

  .home-service-card-primary .home-icon {
    grid-row: 1 / span 4;
  }

  .home-service-card-primary .home-service-label,
  .home-service-card-primary h3,
  .home-service-card-primary > p:not(.home-service-label) {
    grid-column: 2;
  }

  .home-service-card-primary .home-service-feature-list,
  .home-service-card-primary .home-button {
    grid-column: 3;
  }

  .home-service-card-primary .home-service-feature-list {
    margin-top: 4px;
  }

  .home-service-card-primary .home-button {
    justify-self: start;
    margin-top: 22px;
  }
}

.home-value-section {
  background:
    linear-gradient(180deg, #f2f7fc 0%, #edf4fa 100%);
}

.home-value-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}

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

.home-process-card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid rgba(0, 52, 95, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(0, 31, 58, 0.08);
}

.home-process-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-navy));
  font-size: 14px;
  font-weight: 900;
}

.home-industry-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 32px;
  padding: 20px 22px;
  border: 1px solid rgba(0, 52, 95, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.home-industry-strip > span {
  color: var(--astha-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-industry-list li {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--astha-navy);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.home-stats-board {
  padding: 26px 0 14px;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-stats-card {
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  text-align: center;
}

.home-stats-card span {
  display: block;
  color: #c0d6eb;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-stats-card strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.15;
}

.home-stats-card p {
  margin: 12px 0 0;
  color: #c8def0;
  font-size: 13px;
  line-height: 1.7;
}

.home-case-section {
  background: #fff;
}

.home-case-card-rich .home-case-body {
  display: flex;
  flex-direction: column;
}

.home-company-section {
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 113, 188, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.home-company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: start;
}

.home-company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.home-company-fact {
  padding: 20px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 30px rgba(0, 31, 58, 0.06);
}

.home-company-fact span {
  display: block;
  color: var(--astha-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.home-company-fact strong {
  display: block;
  margin-top: 8px;
  color: var(--astha-ink);
  font-size: 20px;
  line-height: 1.45;
}

.home-company-cards {
  display: grid;
  gap: 18px;
}

.home-company-panel {
  padding: 28px 28px 30px;
}

.home-company-panel .home-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  font-size: 18px;
}

.home-final-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f3f8fd);
  box-shadow: 0 34px 64px rgba(0, 31, 58, 0.16);
}

.home-final-panel-image {
  position: relative;
  min-height: 360px;
}

.home-final-panel-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.home-final-panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 52, 95, 0.34), rgba(0, 52, 95, 0) 56%);
}

.home-final-panel-body {
  padding: 58px 56px;
}

.home-final-panel-body h2 {
  margin-bottom: 16px;
}

/* ---------- トップページ CTAバンド（フォトオーバーレイ型）---------- */

.home-final-cta-band {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: var(--astha-navy-2); /* 画像ロード前のフォールバック */
}

.home-final-cta-band .home-final-panel-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
}

.home-final-cta-band .home-final-panel-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.home-final-cta-band .home-final-panel-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 52, 0.72);
}

.home-final-cta-band .home-container {
  position: relative;
  z-index: 1;
}

.home-final-cta-band .home-final-panel-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0;
  text-align: center;
  color: #fff;
}

.home-final-cta-band h2 {
  color: #fff;
  margin-bottom: 16px;
}

.home-final-cta-band .home-eyebrow {
  color: #ffd0a3;
}

.home-final-cta-band .home-lead {
  color: rgba(255, 255, 255, 0.85);
}

.home-final-cta-band .home-button-row {
  justify-content: center;
  margin-top: 36px;
}

/* ダーク背景でのサブボタン（白アウトライン） */
.home-final-cta-band .home-button:not(.home-button-primary) {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff !important;
  background: transparent;
}

.home-final-cta-band .home-button:not(.home-button-primary):hover {
  border-color: #fff;
  color: var(--astha-navy) !important;
  background: #fff;
  transform: translateY(-1px);
}

/* ---------- タイポグラフィ調整 ---------- */

.astha-service-page,
.astha-home-page {
  letter-spacing: 0.01em;
}

.astha-service-page h1,
.astha-home-page h1 {
  font-weight: 650;
  line-height: 1.34;
}

.astha-service-page h2,
.astha-home-page h2 {
  font-weight: 600;
  line-height: 1.46;
}

.astha-service-page h3,
.astha-home-page h3 {
  font-weight: 700;
  line-height: 1.55;
}

.sp-eyebrow,
.home-eyebrow,
.home-service-label,
.home-service-map-copy span,
.ac-footer-eyebrow,
.ac-footer-contact-label {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.sp-lead,
.home-lead {
  font-weight: 500;
}

.sp-button,
.home-button,
.ac-header-cta,
.ac-footer-cta-button,
.ac-footer-contact-button,
.ac-mobile-nav-panel a {
  font-weight: 700;
}

.ac-nav-item,
.ac-nav-has-submenu > a,
.ac-nav-submenu a,
.ac-mobile-nav summary {
  font-weight: 700;
}

.sp-card h3,
.home-card h3,
.content-body h3,
.content-card-body h3,
.home-service-map-copy h3,
.home-ai-diagnosis-card h3,
.home-final-panel-body h2,
.ac-footer-cta-copy h2,
.ac-footer-contact-card strong {
  font-weight: 700;
}

.sp-card p,
.home-card p,
.content-body p,
.content-card-body p,
.home-service-feature-list li,
.home-case-result li,
.ac-footer-links a,
.ac-footer-brand-block p,
.ac-footer-contact-card p {
  font-weight: 500;
}

.sp-check,
.content-meta span,
.home-ai-need > span,
.home-ai-diagnosis-card span,
.ai-diagnosis-hero-proof span {
  font-weight: 700;
}

.sp-icon,
.home-icon,
.sp-card-number,
.sp-metric strong,
.home-proof-list dd,
.home-kpi-card strong,
.home-service-map-number,
.home-ai-diagnosis-card strong,
.ai-diagnosis-highlight strong,
.ai-diagnosis-report-card strong {
  font-weight: 800;
}

.home-hero-corporate h1 {
  max-width: 700px;
  font-size: clamp(46px, 5vw, 64px);
  font-weight: 650;
  line-height: 1.16;
}

.home-hero-corporate h1 strong {
  font-weight: 650;
}

.home-hero-corporate .home-lead,
.ai-diagnosis-hero .sp-lead,
.ai-diagnosis-problem-list p,
.ai-diagnosis-highlight span,
.ai-diagnosis-cta-panel p,
.ai-diagnosis-faq p {
  font-weight: 500;
}

.ai-diagnosis-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 650;
  line-height: 1.22;
}

.ai-diagnosis-problem-grid h2 {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.36;
}

.ai-diagnosis-cta-panel h2,
.ai-diagnosis-faq summary {
  font-weight: 700;
}

/* ---------- 追加レスポンシブ ---------- */

@media (max-width: 1200px) {
  .ac-global-nav,
  .ac-header-actions {
    display: none;
  }

  .ac-mobile-nav {
    display: block;
  }

  .home-kpi-ribbon,
  .home-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-kpi-card:nth-child(3) {
    border-right: 0;
    border-radius: 0 18px 18px 0;
  }

  .home-kpi-card:nth-child(4) {
    border-radius: 18px 0 0 18px;
  }
}

@media (max-width: 1080px) {
  .ac-footer-cta-band,
  .ac-footer-main,
  .home-ai-layout,
  .home-ai-diagnosis-strip,
  .home-value-layout,
  .home-company-layout,
  .home-service-map,
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .ac-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-list,
  .home-stats-grid,
  .home-company-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-process-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-corporate .home-hero-inner {
    min-height: 760px;
    padding: 26px;
  }

  .home-hero-corporate .home-hero-copy {
    max-width: 620px;
    min-height: 708px;
    padding: 58px 0 58px 28px;
  }

  .home-hero-corporate h1 {
    font-size: 52px;
  }

  .home-hero-visual-corporate {
    inset: 26px;
    min-height: 0;
  }

  .home-hero-visual-corporate img {
    min-height: 0;
  }

  .home-hero-topic-ribbon {
    margin-top: 0;
    padding-bottom: 32px;
  }

  .home-kpi-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-kpi-card,
  .home-kpi-card:nth-child(3),
  .home-kpi-card:nth-child(4) {
    border-right: 0;
    border-radius: 0;
  }

  .home-kpi-card:first-child {
    border-radius: 18px 18px 0 0;
  }

  .home-kpi-card:last-child {
    border-radius: 0 0 18px 18px;
  }

  .home-hero-float-card-bottom {
    right: 20px;
    bottom: 20px;
  }

  .home-hero-float-card-top {
    top: 20px;
    right: 20px;
    left: auto;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 88px;
  }

  body.admin-bar .ac-global-header {
    top: 46px;
  }

  .ac-header-top {
    display: none;
  }

  .ac-header-main-inner {
    min-height: 76px;
    gap: 14px;
  }

  .ac-brand img,
  .ac-footer-brand img {
    height: 34px;
  }

  .ac-header-top-inner,
  .ac-header-main-inner,
  .ac-footer-main,
  .ac-footer-bottom,
  .ac-footer-cta-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ac-mobile-nav-panel {
    right: 18px;
    left: 18px;
  }

  .ac-footer-links,
  .home-proof-list,
  .home-kpi-ribbon,
  .home-stats-grid,
  .home-company-facts {
    grid-template-columns: 1fr;
  }

  .ac-footer-bottom,
  .home-industry-strip {
    grid-template-columns: 1fr;
    display: grid;
  }

  .ac-footer-bottom {
    justify-content: start;
  }

  .ac-footer-cta-copy h2,
  .home-final-panel-body h2 {
    font-size: 28px;
  }

  .home-hero-corporate .home-hero-inner {
    min-height: 690px;
    padding: 16px;
  }

  .home-hero-corporate .home-hero-copy {
    max-width: none;
    min-height: 658px;
    padding: 38px 22px 98px;
  }

  .home-hero-corporate h1 {
    font-size: 40px;
  }

  .home-proof-list dd {
    font-size: 17px;
  }

  .home-hero-visual-corporate {
    inset: 16px;
    min-height: 0;
    border-radius: 20px;
  }

  .home-hero-visual-corporate img {
    min-height: 0;
    object-position: 60% center;
  }

  .home-scroll-cue {
    right: 34px;
    bottom: 36px;
  }

  .home-hero-float-card {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .home-hero-visual-corporate::after {
    display: none;
  }

  .home-kpi-card {
    padding: 22px 22px 24px;
  }

  .home-kpi-card strong {
    font-size: 32px;
  }

  .home-hero-topic-ribbon .home-kpi-card strong {
    font-size: 22px;
  }

  .home-service-card,
  .home-ai-diagnosis-card,
  .home-ai-need,
  .home-process-card,
  .home-company-panel {
    padding: 26px 24px 26px;
  }

  .home-ai-diagnosis-card h3 {
    font-size: 28px;
  }

  .home-ai-visual-panel img,
  .home-service-map-image img {
    min-height: 240px;
  }

  .home-final-panel-body {
    padding: 38px 24px;
  }

  .home-final-cta-band {
    padding: 72px 0;
  }

  /* CTAバンド内はコンテナのパディングで横余白を確保するため上書き */
  .home-final-cta-band .home-final-panel-body {
    padding: 0;
  }
}
