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

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

@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.12em;
}

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;
  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;
}

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

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

.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);
}

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

/* 写真背景ヒーロー（技術顧問・ITコンサル・Web制作・あんしんIT 共通） */
.sp-photo-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72vh, 760px);
  background: #f8fbff;
  border-bottom: 1px solid var(--astha-line);
}

.sp-photo-hero-bg {
  position: absolute;
  inset: clamp(12px, 2.5vw, 36px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--astha-bg);
}

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

.sp-photo-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.97)  0%,
      rgba(255, 255, 255, 0.90) 36%,
      rgba(255, 255, 255, 0.22) 68%,
      rgba(255, 255, 255, 0)    100%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 52, 95, 0.05));
}

.sp-photo-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: inherit;
  max-width: 1240px;
  margin: 0 auto;
  padding: 88px 24px 72px;
}

.sp-photo-hero-copy {
  max-width: 620px;
}

.sp-photo-hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.2;
}

.sp-photo-hero-copy .sp-lead {
  max-width: 600px;
  margin-top: 20px;
  color: var(--astha-text);
  font-size: 17px;
  font-weight: 600;
}

.sp-photo-hero-copy .sp-hero-badges {
  margin-top: 28px;
}

.sp-photo-hero-copy .sp-button-row {
  margin-top: 32px;
}

@media (max-width: 760px) {
  .sp-photo-hero {
    min-height: 0;
  }

  .sp-photo-hero-bg {
    position: relative;
    inset: 0;
    height: 240px;
    border-radius: 0;
  }

  .sp-photo-hero-bg::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 70%,
      rgba(255, 255, 255, 1) 100%
    );
  }

  .sp-photo-hero-inner {
    padding: 24px 20px 56px;
  }
}

.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;
  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;
}

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

/* あんしんITサポート比較カードのタグ */
.sp-service-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 20px;
  padding: 5px 18px;
  border: 2px solid var(--astha-blue);
  border-radius: 999px;
  color: var(--astha-blue);
  background: var(--astha-blue-soft);
  font-size: 13px;
  font-weight: 800;
}

.sp-service-tag-primary {
  border-color: var(--astha-orange);
  color: var(--astha-orange);
  background: var(--astha-orange-soft);
}

/* 比較カード内ボタンの余白確保 */
#difference .sp-card .sp-button {
  margin-top: 28px;
}

/* ---------- 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;
}

.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;
}

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

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

.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;
}

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

.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;
}

.home-stat strong {
  display: block;
  margin-top: 14px;
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  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;
}

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

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

.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;
}

/* 最終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;
}

.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;
}

.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-voice-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: 0;
  margin: 0 0 44px;
  overflow: hidden;
  border: 1px solid var(--astha-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 113, 188, 0.08), transparent 34%),
    #fff;
  box-shadow: 0 18px 42px rgba(0, 52, 95, 0.08);
}

.content-voice-image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #eef5fb;
}

.content-voice-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.content-voice-intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.content-voice-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 800;
}

.content-voice-intro-copy h2 {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: 28px;
}

.content-voice-intro-copy h2::before {
  display: none;
}

.content-voice-intro-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
}

.content-voice-highlight {
  margin-top: 24px;
  padding: 18px 20px;
  border-left: 4px solid var(--astha-orange);
  border-radius: 10px;
  color: var(--astha-navy);
  background: #f3f9fd;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.7;
}

.content-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
  margin: 28px 0 40px;
  padding: 34px;
  border: 1px solid var(--astha-line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(244, 249, 253, 0.94)),
    radial-gradient(circle at 100% 0%, rgba(0, 113, 188, 0.1), transparent 34%);
  box-shadow: 0 18px 42px rgba(0, 52, 95, 0.08);
}

.content-profile-photo {
  margin: 18px 0 26px;
}

.content-profile-photo img {
  display: block;
  width: min(100%, 260px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 52, 95, 0.12);
}

.content-profile-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 800;
}

.content-profile-main h3 {
  margin: 0 0 10px;
  color: var(--astha-ink);
  font-size: 28px;
  line-height: 1.35;
}

.content-profile-main h3 small {
  display: block;
  margin-top: 6px;
  color: var(--astha-muted);
  font-size: 15px;
  font-weight: 700;
}

.content-profile-role {
  margin-bottom: 22px !important;
  color: var(--astha-navy) !important;
  font-weight: 800;
}

.content-profile-highlights {
  display: grid;
  gap: 14px;
}

.content-profile-highlights article {
  padding: 22px;
  border: 1px solid var(--astha-line-soft);
  border-radius: 14px;
  background: #fff;
}

.content-profile-highlights span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  font-size: 13px;
  font-weight: 800;
}

.content-profile-highlights h4 {
  margin: 12px 0 8px;
  color: var(--astha-ink);
  font-size: 17px;
  line-height: 1.45;
}

.content-profile-highlights p {
  margin: 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.8;
}

.content-profile-main > p:not(.content-profile-role) {
  max-width: 34em;
}

.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;
}

.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;
}

.content-cta-band .sp-button:not(.sp-button-primary) {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.content-cta-band .sp-button:not(.sp-button-primary):hover,
.content-cta-band .sp-button:not(.sp-button-primary):focus-visible {
  color: var(--astha-navy) !important;
  border-color: #fff;
  background: #fff;
}

/* ---------- 会社概要 写真カルーセル ---------- */

.company-carousel-wrap {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 94%,
    transparent 100%
  );
}

.company-carousel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: company-carousel-scroll 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .company-carousel-track {
    animation: none;
  }
}

.company-carousel-item {
  flex: none;
  width: 300px;
  height: 200px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--astha-radius);
}

.company-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes company-carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 760px) {
  .company-carousel-item {
    width: 220px;
    height: 148px;
  }
}

/* ---------- 会社概要 CTAフォト ---------- */

.company-cta-photo {
  margin: 40px auto -8px;   /* CTA バンドに少し被せる */
  max-width: 560px;
  line-height: 0;
  position: relative;
  z-index: 1;
}

.company-cta-photo img {
  width: 100%;
  height: auto;
  display: block;
  /* 中心（被写体）を残し、縁を白（透明）にフェード */
  -webkit-mask-image: radial-gradient(
    ellipse 62% 58% at 50% 44%,
    black        28%,
    rgba(0,0,0,.7) 48%,
    rgba(0,0,0,.2) 65%,
    transparent  82%
  );
  mask-image: radial-gradient(
    ellipse 62% 58% at 50% 44%,
    black        28%,
    rgba(0,0,0,.7) 48%,
    rgba(0,0,0,.2) 65%,
    transparent  82%
  );
}

@media (max-width: 640px) {
  .company-cta-photo {
    max-width: 280px;
    margin-bottom: -4px;
  }
}

/* ---------- 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-voice-intro {
    grid-template-columns: 1fr;
  }

  .content-voice-image img {
    min-height: 260px;
    aspect-ratio: 16 / 9;
  }

  .content-voice-intro-copy {
    padding: 28px 22px 30px;
  }

  .content-voice-intro-copy h2 {
    font-size: 23px;
  }

  .content-voice-highlight {
    font-size: 15px;
  }

  .content-profile-card {
    padding: 26px 20px;
  }

  .content-profile-photo {
    max-width: 220px;
  }

  .content-profile-main h3 {
    font-size: 23px;
  }

  .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;
  }
}

/* ======================================
   AI セルフチェック（60秒診断）
   ====================================== */

.ai-selfcheck-card {
  background: #fff;
  border-radius: var(--astha-radius-l);
  box-shadow: var(--astha-shadow-card);
  padding: 40px 48px;
  max-width: 680px;
  margin: 0 auto;
}

/* プログレスバー */
.ai-selfcheck-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
}

.ai-selfcheck-progress-step {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: var(--astha-line);
  transition: background .25s;
}

.ai-selfcheck-progress-step.done {
  background: var(--astha-orange);
}

.ai-selfcheck-progress-step.current {
  background: #fcd3b0;
}

/* ステップラベル */
.ai-selfcheck-step-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--astha-orange);
  margin: 0 0 12px;
}

/* 設問テキスト */
.ai-selfcheck-q {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.65;
  color: var(--astha-navy);
  margin: 0 0 22px;
}

/* 選択肢一覧 */
.ai-selfcheck-opts {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}

.ai-selfcheck-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 18px;
  background: var(--astha-bg);
  border: 1.5px solid var(--astha-line);
  border-radius: var(--astha-radius);
  font-size: .95rem;
  font-weight: 500;
  color: var(--astha-text);
  cursor: pointer;
  text-align: left;
  line-height: 1.5;
  transition: background .15s, border-color .15s, transform .12s;
}

.ai-selfcheck-opt:hover {
  background: var(--astha-orange-soft);
  border-color: var(--astha-orange);
  transform: translateX(4px);
}

.ai-selfcheck-opt-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  background: var(--astha-navy);
  color: #fff !important;
  font-size: .72rem;
  font-weight: 700;
}

/* 「前の質問へ」ボタン */
.ai-selfcheck-back {
  background: none;
  border: none;
  padding: 4px 0;
  color: var(--astha-muted);
  font-size: .82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}

.ai-selfcheck-back:hover {
  color: var(--astha-navy);
}

/* 結果パネル */
.ai-selfcheck-score-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 16px 0 24px;
}

.ai-selfcheck-score-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 50%;
  background: var(--astha-orange);
  color: #fff !important;
  font-size: 1.55rem;
  font-weight: 800;
}

.ai-selfcheck-score-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-selfcheck-tier-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 700;
  align-self: flex-start;
}

.ai-selfcheck-result-msg {
  font-size: .97rem;
  line-height: 1.75;
  color: var(--astha-text);
  margin: 0;
}

.ai-selfcheck-result-cta {
  border-top: 1px solid var(--astha-line);
  padding-top: 22px;
  margin-top: 4px;
}

.ai-selfcheck-result-cta > p {
  font-size: .88rem;
  color: var(--astha-muted);
  margin: 0 0 14px;
}

.ai-selfcheck-result-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 「もう一度」ボタン：sp-button のスタイルを上書き */
button.ai-selfcheck-retry.sp-button {
  background: none;
  color: var(--astha-muted) !important;
  border-color: var(--astha-line);
}

button.ai-selfcheck-retry.sp-button:hover {
  background: none;
  color: var(--astha-navy) !important;
  border-color: var(--astha-navy);
}

/* レスポンシブ */
@media (max-width: 640px) {
  .ai-selfcheck-card {
    padding: 26px 20px;
  }

  .ai-selfcheck-q {
    font-size: 1rem;
  }

  .ai-selfcheck-score-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .ai-selfcheck-result-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

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

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

.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;
}

.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: 8px;
}

.ac-nav-item,
.ac-nav-has-submenu > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 10px;
  color: var(--astha-ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  white-space: nowrap;
  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: 14px;
  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: 2px;
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  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: 8px 0;
  color: var(--astha-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

/* 階層ラベル（サービス・実績一覧） */
.ac-mobile-nav-group {
  margin-top: 10px;
  padding: 6px 0 4px;
  color: var(--astha-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 52, 95, 0.12);
}

.ac-mobile-nav-group:first-child {
  margin-top: 0;
}

/* 子メニュー項目（インデント） */
.ac-mobile-nav-child {
  padding-left: 14px !important;
  color: rgba(11, 28, 48, 0.72) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ac-mobile-nav-cta {
  margin-top: 6px;
  padding: 14px 16px !important;
  border-radius: 8px;
  color: #fff !important;
  text-align: center;
  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;
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
  padding-top: 48px;
  padding-bottom: 48px;
}

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

.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-cta-reasons {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ac-footer-cta-reasons li {
  position: relative;
  padding-left: 18px;
  color: #c0d6eb;
  font-size: 13px;
  line-height: 1.6;
}

.ac-footer-cta-reasons li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--astha-orange);
  font-size: 11px;
  font-weight: 800;
  top: 0.1em;
}

.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;
}

.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;
  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;
  justify-content: center;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.ac-page-top-button {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--astha-blue), var(--astha-blue-deep));
  box-shadow: 0 18px 34px rgba(0, 52, 95, 0.24);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ac-page-top-button span {
  display: block;
  margin-bottom: -6px;
  font-size: 22px;
  line-height: 1;
}

.ac-page-top-button strong {
  display: block;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.ac-page-top-button:hover,
.ac-page-top-button:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--astha-orange), var(--astha-blue-deep));
  box-shadow: 0 22px 42px rgba(0, 52, 95, 0.3);
  transform: translateY(-4px);
}

.ac-page-top-button:focus-visible {
  outline: 3px solid rgba(242, 138, 34, 0.35);
  outline-offset: 4px;
}

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

.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;
}

.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: #fff !important;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  writing-mode: vertical-rl;
  background: none !important;
}

.home-scroll-cue span {
  display: inline-block;
  color: #fff !important;
}

.home-scroll-cue::after {
  content: "";
  width: 2px;
  height: 58px;
  border-radius: 999px;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff, rgba(255, 255, 255, 0)) !important;
  background-size: 100% 116px !important;
  background-repeat: no-repeat !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  background-position: 0 -58px, 0 0;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6)) !important;
  animation: home-scroll-line-flow 1.7s ease-in-out infinite;
}

@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;
  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;
}

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

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

.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;
  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;
}

.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;
}

.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;
  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;
  align-items: stretch;
}

.home-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border: 1px solid var(--astha-line-soft);
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 52, 95, 0.06);
  transition: box-shadow .2s, transform .2s;
}

.home-service-card::before {
  display: none;
}

.home-service-card:not(.home-service-card-primary):hover {
  box-shadow: 0 6px 24px rgba(0, 52, 95, 0.12);
  transform: translateY(-2px);
}

.home-service-card-primary {
  grid-column: span 2;
  color: #fff;
  border: none;
  background:
    radial-gradient(circle at 92% 6%, rgba(247, 132, 25, 0.24) 0%, rgba(247, 132, 25, 0) 36%),
    linear-gradient(135deg, #004a7d 0%, #0065a8 48%, #003a63 100%);
  box-shadow: var(--astha-shadow-card);
}

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

.home-service-card-head {
  display: none;
}

.home-service-number {
  display: none;
}

.home-service-label {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: var(--astha-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-service-card h3,
.home-service-card > p,
.home-service-card .home-service-feature-list,
.home-service-card .home-button {
  position: relative;
  z-index: 1;
}

.home-service-card h3 {
  margin-bottom: 14px;
  font-size: 22px;
}

/* AI活用支援(primary)以外のh3: 左アクセントライン 6px */
.home-service-card:not(.home-service-card-primary) h3 {
  position: relative;
  padding-left: 14px;
}

.home-service-card:not(.home-service-card-primary) h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  bottom: 0.1em;
  width: 6px;
  border-radius: 3px;
  background: var(--service-accent);
}

.home-service-card > p {
  margin-bottom: 0;
}

.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;
}

.home-service-card .home-button {
  width: 100%;
  margin-top: auto;
}

.home-service-card-primary h3 {
  color: #fff;
  font-size: 28px;
}

.home-service-card-primary > p,
.home-service-card-primary .home-service-feature-list li {
  color: rgba(255, 255, 255, 0.92);
}

.home-service-card-primary .home-service-number {
  color: #004a7d;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 30, 58, 0.22);
}

.home-service-card-primary .home-service-label {
  color: rgba(255, 255, 255, 0.75);
}

.home-service-card-primary .home-service-feature-list li::before {
  background: var(--astha-orange);
}

.home-service-advisory {
  --service-accent: #1565c0;
  --service-accent-soft: #e4f4ff;
}

.home-service-consulting {
  --service-accent: #00796b;
  --service-accent-soft: #e3f7f8;
}

.home-service-web {
  --service-accent: #5e35b1;
  --service-accent-soft: #ede7f6;
}

.home-service-mail {
  --service-accent: #e65100;
  --service-accent-soft: #fff3df;
}

.home-service-monthly {
  --service-accent: #2e7d32;
  --service-accent-soft: #e8f5e9;
}

.home-service-system {
  --service-accent: #c62828;
  --service-accent-soft: #ffebee;
}

.home-service-online {
  --service-accent: #ad1457;
  --service-accent-soft: #fce4ec;
}

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

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

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

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

  .home-service-card-primary .home-button {
    justify-self: stretch;
    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 {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  row-gap: 10px;
  align-items: center;
  padding: 26px 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: none;
}

.home-process-img {
  grid-column: 1;
  grid-row: 1;
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  justify-self: center;
}

.home-process-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
  align-self: center;
}

.home-process-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
}

.home-industry-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  padding: 20px 28px;
  background: var(--astha-blue-soft);
  border-radius: var(--astha-radius-l);
  letter-spacing: 0;
}

.home-industry-strip > span {
  color: var(--astha-blue);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.home-industry-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-industry-list li {
  padding: 10px 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--astha-navy);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.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;
}

.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-copy .home-button-row {
  margin-top: 28px;
}

.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;
}

/* ---------- ブログセクション（外部ブログ連携）---------- */

/* ピックアップ（固定記事）カード */

.home-blog-featured {
  margin-bottom: 36px;
}

.home-blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.home-blog-featured-thumb {
  position: relative;
  overflow: hidden;
  background: var(--astha-blue-soft);
  min-height: 280px;
}

.home-blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-blog-featured-card:hover .home-blog-featured-thumb img {
  transform: scale(1.04);
}

.home-blog-pickup-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: var(--astha-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: var(--astha-radius-s);
}

.home-blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 40px 44px;
}

.home-blog-featured-title {
  margin: 0;
  color: var(--astha-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
}

.home-blog-featured-excerpt {
  margin: 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.9;
}

.home-blog-featured-link {
  color: var(--astha-blue);
  font-size: 14px;
  font-weight: 700;
}

/* 通常記事グリッド */

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 40px;
}

.home-blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

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

.home-blog-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--astha-blue-soft);
  flex-shrink: 0;
}

.home-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-thumb img {
  transform: scale(1.04);
}

.home-blog-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--astha-blue-soft), #dceefb);
}

.home-blog-thumb-fallback span {
  color: var(--astha-blue);
  font-size: 13px;
  font-weight: 800;
  opacity: 0.6;
}

.home-blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 20px 22px 24px;
}

.home-blog-date {
  color: var(--astha-muted);
  font-size: 12px;
  font-weight: 500;
}

.home-blog-title {
  margin: 0;
  color: var(--astha-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.home-blog-excerpt {
  margin: 0;
  color: var(--astha-text);
  font-size: 13px;
  line-height: 1.8;
}

.home-blog-footer {
  display: flex;
  justify-content: flex-end;
}

/* ---------- WORKS セクション（トップページ）---------- */

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

.home-works-nav-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 430px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
}

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

.home-works-nav-image {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--astha-blue-soft);
}

.home-works-nav-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 52, 95, 0) 40%, rgba(0, 52, 95, 0.28) 100%),
    linear-gradient(135deg, rgba(0, 113, 188, 0.12), rgba(255, 255, 255, 0));
}

.home-works-nav-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.home-works-nav-card:hover .home-works-nav-image img {
  transform: scale(1.04);
}

.home-works-nav-card > div {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 30px;
}

.home-works-nav-icon {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f4fc;
  color: var(--astha-blue);
  font-size: 11px;
  font-weight: 800;
}

.home-works-nav-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--astha-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
}

.home-works-nav-card p {
  margin: 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.85;
}

.home-works-nav-count {
  display: block;
  margin-top: auto;
  padding-top: 22px;
  color: var(--astha-blue);
  font-size: 12px;
  font-weight: 800;
}

.home-works-nav-arrow {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 113, 188, 0.22);
  border-radius: 50%;
  color: var(--astha-blue);
  font-size: 18px;
  font-weight: 700;
  background: #fff;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.home-works-nav-card:hover .home-works-nav-arrow {
  color: #fff;
  background: var(--astha-blue);
  transform: translateX(4px);
}

/* ---------- 実績詳細ページ（works-system / works-web）---------- */

.works-grid {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-bottom: 56px;
}

.works-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 48px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--astha-line-soft);
}

.works-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.works-card-thumb {
  display: block;
  overflow: hidden;
  border-radius: var(--astha-radius);
  border: 1px solid var(--astha-line);
  box-shadow: var(--astha-shadow-card);
  aspect-ratio: 16 / 10;
  background: var(--astha-blue-soft);
}

.works-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}

.works-card-thumb:hover img {
  transform: scale(1.02);
}

.works-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}

.works-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.works-card-title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.works-card-sub {
  margin: 0;
  color: var(--astha-muted);
  font-size: 13px;
  font-weight: 600;
}

.works-card-desc {
  margin: 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.9;
}

.works-plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.works-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--astha-line-soft);
  align-items: center;
}

/* プランセクション見出し */
.works-section-label {
  margin: 72px 0 32px;
  padding: 0 0 20px;
  border-bottom: 2px solid var(--astha-line);
  font-size: 22px;
  font-weight: 700;
  color: var(--astha-ink);
}

.works-section-label span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.works-section-label span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 22px;
  background: linear-gradient(180deg, var(--astha-blue), var(--astha-orange));
  border-radius: 3px;
  flex-shrink: 0;
}

.works-section-label:first-of-type {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .home-works-nav {
    grid-template-columns: 1fr;
  }

  .home-works-nav-card {
    grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
    grid-template-rows: none;
    min-height: 0;
  }

  .home-works-nav-image {
    min-height: 240px;
  }

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

@media (max-width: 767px) {
  .home-works-nav-card {
    grid-template-columns: 1fr;
    grid-template-rows: 180px 1fr;
  }

  .home-works-nav-card > div {
    padding: 22px 20px 64px;
  }

  .home-works-nav-card strong {
    font-size: 19px;
  }
}

/* ---------- カテゴリーアーカイブページ（category.php）---------- */

.astha-archive-page {
  background: #fff;
}

.archive-page-header {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
  border-bottom: 1px solid var(--astha-line-soft);
}

.archive-page-header .sp-container {
  padding-top: 0;
  padding-bottom: 0;
}

.archive-page-title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
}

.astha-archive-page > .sp-container {
  padding-top: 48px;
  padding-bottom: 80px;
}

.archive-news-list {
  border-top: 1px solid var(--astha-line);
  margin-bottom: 48px;
}

.archive-news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0 28px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--astha-line);
  text-decoration: none;
  color: inherit;
  transition: color 0.18s ease;
}

.archive-news-item:hover .archive-news-title {
  color: var(--astha-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-news-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 6px;
}

.archive-news-title {
  margin: 0;
  color: var(--astha-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.archive-news-excerpt {
  margin: 0;
  color: var(--astha-text);
  font-size: 14px;
  line-height: 1.85;
}

/* ページネーション */
.archive-pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.archive-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1.5px solid var(--astha-line);
  border-radius: var(--astha-radius-s);
  color: var(--astha-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.archive-pagination .page-numbers:hover {
  background: var(--astha-blue);
  border-color: var(--astha-blue);
  color: #fff;
}

.archive-pagination .page-numbers.current {
  background: var(--astha-blue);
  border-color: var(--astha-blue);
  color: #fff;
}

.archive-pagination .page-numbers.dots {
  border-color: transparent;
  background: none;
  pointer-events: none;
}

.archive-page-back {
  display: flex;
  justify-content: flex-start;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .archive-news-item {
    grid-template-columns: 1fr; /* ロゴ非表示に合わせて1カラムに */
    gap: 0;
  }

  .archive-news-item .home-news-logo {
    display: none;
  }

  .archive-page-title {
    font-size: 26px;
  }
}

/* ---------- 単記事ページ（single.php）---------- */

.astha-single-post {
  background: #fff;
}

.single-post-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--astha-line-soft);
  background: linear-gradient(180deg, #f8fbfe 0%, #fff 100%);
}

.single-post-header .sp-container {
  padding-top: 0;
  padding-bottom: 0;
}

.single-post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.single-post-date {
  color: var(--astha-muted);
  font-size: 13px;
  font-weight: 500;
}

.single-post-title {
  max-width: 860px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
}

.astha-single-post > .sp-container {
  padding-top: 56px;
  padding-bottom: 96px;
}

.single-post-thumbnail {
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: var(--astha-radius);
}

.single-post-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.single-post-footer {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--astha-line-soft);
}

/* ---------- 固定ページ（page.php）---------- */

.astha-page {
  background: #fff;
}

.astha-page-wrap {
  max-width: 860px; /* 狭いコンテンツ幅 */
}

.astha-page-title {
  margin: 0 0 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--astha-blue);
  font-size: 32px;
  font-weight: 700;
}

.astha-page-content {
  max-width: 100%;
}

/* ---------- Contact Form 7 ---------- */

.astha-page-content .wpcf7 {
  margin-top: 48px;
}

/* フィールドグループ */
.cf7-field-group {
  margin-bottom: 24px;
}

/* label全体：縦積みフレックス */
.cf7-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* CF7 が label 内の改行を <br> に変換するのを非表示 */
.cf7-label br {
  display: none;
}

/* CF7 の入力ラッパースパンをブロック表示に */
.astha-page-content .wpcf7-form-control-wrap {
  display: block;
}

/* ラベル名＋バッジを横並びに */
.cf7-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--astha-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

/* 必須・任意バッジ */
.cf7-required,
.cf7-optional {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.cf7-required {
  background: var(--astha-orange);
  color: #fff;
}

.cf7-optional {
  background: var(--astha-line-soft);
  color: var(--astha-muted);
  border: 1px solid var(--astha-line);
}

/* 入力フィールド共通 */
.astha-page-content .wpcf7-form input[type="text"],
.astha-page-content .wpcf7-form input[type="email"],
.astha-page-content .wpcf7-form select,
.astha-page-content .wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--astha-line);
  border-radius: var(--astha-radius-s);
  background: #fff;
  color: var(--astha-ink);
  font-size: 15px;
  font-family: inherit;
  line-height: 1.6;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
  appearance: none;
}

.astha-page-content .wpcf7-form input[type="text"]:focus,
.astha-page-content .wpcf7-form input[type="email"]:focus,
.astha-page-content .wpcf7-form select:focus,
.astha-page-content .wpcf7-form textarea:focus {
  border-color: var(--astha-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 188, 0.1);
  outline: none;
}

/* セレクトボックス（矢印付き） */
.astha-page-content .wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236a7a8c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* テキストエリア */
.astha-page-content .wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* バリデーションエラー */
.astha-page-content .wpcf7-not-valid {
  border-color: #e05252 !important;
}

.astha-page-content .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  color: #e05252;
  font-size: 12px;
}

/* 送信ボタン行 */
.cf7-submit-row {
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--astha-line-soft);
}

.astha-page-content .wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 44px;
  border: 1.5px solid var(--astha-orange);
  border-radius: var(--astha-radius-s);
  background: var(--astha-orange);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease;
}

.astha-page-content .wpcf7-form input[type="submit"]:hover {
  background: #fff;
  color: var(--astha-orange) !important;
  border-color: var(--astha-orange);
  transform: translateY(-2px);
}

/* 送信完了メッセージ */
.astha-page-content .wpcf7-mail-sent-ok {
  padding: 20px 24px;
  border: none;
  border-left: 4px solid #3aaa6e;
  border-radius: var(--astha-radius-s);
  background: #f0faf5;
  color: #1a6b42;
  font-size: 15px;
  font-weight: 600;
}

.astha-page-content .wpcf7-validation-errors {
  padding: 16px 20px;
  border: none;
  border-left: 4px solid #e05252;
  border-radius: var(--astha-radius-s);
  background: #fff5f5;
  color: #b83232;
  font-size: 14px;
}

/* ---------- お問い合わせページ ---------- */

.contact-page-intro {
  max-width: 760px;
  margin: 0 auto 48px;
}

.contact-page-lead {
  margin-bottom: 36px;
}

.contact-page-lead-main {
  font-size: 22px;
  font-weight: 700;
  color: var(--astha-ink);
  line-height: 1.5;
  margin: 0 0 16px;
}

.contact-page-lead p {
  margin: 0;
  color: var(--astha-text);
  font-size: 16px;
  line-height: 1.95;
}

.contact-page-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.contact-page-card {
  padding: 26px 22px;
  border: 1px solid var(--astha-line);
  border-radius: var(--astha-radius);
  background: #fff;
  box-shadow: var(--astha-shadow-card);
}

.contact-page-card-num {
  display: block;
  margin-bottom: 10px;
  color: var(--astha-blue);
  font-size: 11px;
  font-weight: 800;
}

.contact-page-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--astha-ink);
  font-size: 15px;
  font-weight: 700;
}

.contact-page-card p {
  margin: 0;
  color: var(--astha-text);
  font-size: 13px;
  line-height: 1.85;
}

.contact-page-note {
  padding: 16px 20px;
  background: var(--astha-bg);
  border-radius: var(--astha-radius-s);
  border: 1px solid var(--astha-line-soft);
}

.contact-page-note p {
  margin: 0;
  color: var(--astha-muted);
  font-size: 13px;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .contact-page-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-page-lead-main {
    font-size: 18px;
  }
}

/* ---------- お知らせセクション ---------- */

.home-news-list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.home-news-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 0 28px;
  align-items: center;
  min-height: 132px;
  padding: 20px 26px 20px 20px;
  border: 1px solid rgba(0, 113, 188, 0.14);
  border-radius: var(--astha-radius-l);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px rgba(0, 52, 95, 0.07);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.home-news-item::after {
  content: "詳しく見る";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--astha-blue);
  border-radius: 6px;
  color: var(--astha-blue);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.home-news-item:hover {
  border-color: rgba(0, 113, 188, 0.28);
  box-shadow: 0 22px 46px rgba(0, 52, 95, 0.12);
  transform: translateY(-2px);
}

.home-news-item:hover .home-news-title {
  color: var(--astha-blue);
}

.home-news-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  border: 1px solid var(--astha-line);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  flex-shrink: 0;
}

.home-news-logo img {
  max-width: 118px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.home-news-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.home-news-date {
  color: var(--astha-muted);
  font-size: 14px;
  font-weight: 700;
}

.home-news-title {
  margin: 0;
  color: var(--astha-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.65;
}

.home-news-footer {
  display: flex;
  justify-content: flex-end;
}

.home-news-empty {
  padding: 40px 0;
  color: var(--astha-muted);
  font-size: 14px;
  text-align: center;
}

.home-news-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 2px 8px;
  margin-left: 10px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}

/* ---------- トップページ 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 {
}

.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-map-copy span,
.ac-footer-eyebrow,
.ac-footer-contact-label {
  font-weight: 700;
}

.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,
.ac-mobile-nav-panel a,
.ac-mobile-nav-cta {
  letter-spacing: 0.06em;
  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,
  .content-profile-card,
  .home-company-layout,
  .home-service-map,
  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-service-card-primary {
    grid-column: 1 / -1;
  }

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

  /* ブログ：タブレットはピックアップ縦積み・グリッド2カラム */
  .home-blog-featured-card {
    grid-template-columns: 1fr;
  }

  .home-blog-featured-thumb {
    min-height: 220px;
  }

  .home-blog-featured-body {
    padding: 28px 32px;
  }

  .home-blog-grid {
    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-page-top-button {
    width: 54px;
    height: 54px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .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 {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .home-industry-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .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;
  }

  /* お知らせ：モバイルはロゴ非表示 */
  .home-news-item {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding: 22px;
  }

  .home-news-logo {
    display: none;
  }

  .home-news-item::after {
    width: 100%;
  }

  /* ブログ：モバイルは1カラム */
  .home-blog-featured-body {
    padding: 24px 20px;
    gap: 10px;
  }

  .home-blog-featured-title {
    font-size: 17px;
  }

  .home-blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
