/* ==========================================================================
   変数
   ========================================================================== */
:root {
  --c-cyan: #0096C8;
  --c-cyan-light: #38BDF8;
  --c-navy-dark: #06202B;
  --c-navy: #0B4A66;
  --c-bg: #F7F8FA;
  --c-text: #111418;
  --c-teal: #0E7490;
  --c-cyan-pale: #E0F6FC;
  --c-white: #fff;
  --c-text-body: #333B44;
  --c-text-sub: #4B5565;
  --c-text-muted: #697586;
  --c-text-faint: #9AA4B2;
  --c-border: #E4E7EC;
  --c-border-strong: #CBD2D9;
  --c-border-soft: #EEF0F2;
  --c-num: #E9ECEF;
  --c-line-light: #EDEFF2;
  --c-chip: #F1F3F5;
  --c-blue-deep: #0369A1;
  --c-sky: #7DD3FC;
  --c-sky-light: #BAE6FD;
  --c-sky-pale: #E0F2FE;
  --c-mist: #C8D3DC;
  --c-slate: #1F2937;
  --c-slate-2: #374151;
  --c-bubble-border: #E7ECEF;
  --c-ink: #1A1F2B;
  --font-base: "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  --container: 1600px;
  --gutter: 40px;
  --header-h: 75px;
}

/* ==========================================================================
   基本
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-text-size-adjust: 100%;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
:where(a):hover { color: var(--c-teal); }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   ボタン・タグ・カード
   ========================================================================== */
.btn-fill {
  display: inline-block;
  background: var(--c-cyan);
  color: var(--c-navy-dark);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-fill:hover { color: var(--c-navy-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 20, 24, .18); }
.btn-pill { border-radius: 999px; padding: 16px 28px; font-size: 15px; font-weight: 800; text-align: center; }
.btn-white { background: var(--c-white); color: var(--c-text); }
.btn-white:hover { color: var(--c-text); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--c-border-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  transition: background .25s ease, border-color .25s ease;
}
.btn-ghost:hover { background: var(--c-white); }

.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--c-cyan-pale);
  color: var(--c-teal);
  margin-right: 6px;
}

.card-hover { transition: transform .3s ease, box-shadow .3s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(17, 20, 24, .10); }

/* ==========================================================================
   見出し（英字＋日本語）
   ========================================================================== */
.eyebrow {
  font-weight: 800;
  line-height: 1;
  /* 文字色をグラデーションで塗るため、g・p などの下の部分まで塗れるよう下に余白を足す（並びは変えない） */
  padding-bottom: .2em;
  margin-bottom: -.2em;
  background: linear-gradient(135deg, var(--c-text), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow-xl { font-size: 48px; }

.sec-head .sec-label { font-size: 13px; color: var(--c-teal); font-weight: 700; line-height: 1.6; margin-top: 14px; }
.sec-head .sec-label::before { content: "● "; }
.sec-head .sec-title { font-size: 28px; font-weight: 800; line-height: 1.6; margin-top: 22px; max-width: 880px; }

.section { padding: 100px 0; }
.section--white { background: var(--c-white); }

/* ==========================================================================
   FAQ（details / summary）
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 22px 26px;
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "＋"; color: var(--c-text-faint); flex-shrink: 0; }
.faq-item[open] summary::after { content: "－"; }
.faq-q::before { content: "Q."; color: var(--c-cyan); margin-right: 10px; }
.faq-a { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); margin-top: 14px; }
.faq-a::before { content: "A."; font-weight: 800; color: var(--c-text); margin-right: 10px; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  background: rgba(247, 248, 250, .94);
  border-bottom: 1px solid var(--c-border);
}
.admin-bar .site-header { top: 32px; }
.site-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.hdr-logo { display: block; flex-shrink: 0; }
.hdr-logo img { display: block; height: 46px; width: auto; }

.main-nav__list { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 0; }
.main-nav a { display: block; font-size: 14px; font-weight: 500; line-height: 1.6; transition: color .2s ease; }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-menu-parent > a,
.main-nav .current-page-ancestor > a,
.main-nav .current_page_parent > a { color: var(--c-cyan); font-weight: 700; }

/* スマホ・タブレットのメニュー（3×3。760px以下で使う） */
.hdr-logo .hdr-logo__white { display: none; }
.menu-dots {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--c-navy-dark);
  grid-template-columns: repeat(3, 6px);
  gap: 5px;
  place-content: center;
  cursor: pointer;
  transition: background .3s;
}
.menu-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-white); transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s; }
.menu-dots:focus-visible { outline: 3px solid var(--c-cyan-light); outline-offset: 2px; }
.menu-dots[aria-expanded="true"] { background: rgba(255, 255, 255, .14); }
/* 開いたとき：上下左右の4点が消え、角の4点が中央に寄って×の形になる */
.menu-dots[aria-expanded="true"] i:nth-child(2),
.menu-dots[aria-expanded="true"] i:nth-child(4),
.menu-dots[aria-expanded="true"] i:nth-child(6),
.menu-dots[aria-expanded="true"] i:nth-child(8) { opacity: 0; transform: scale(.2); }
.menu-dots[aria-expanded="true"] i:nth-child(1) { transform: translate(3px, 3px); }
.menu-dots[aria-expanded="true"] i:nth-child(3) { transform: translate(-3px, 3px); }
.menu-dots[aria-expanded="true"] i:nth-child(7) { transform: translate(3px, -3px); }
.menu-dots[aria-expanded="true"] i:nth-child(9) { transform: translate(-3px, -3px); }

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-content: safe center;
  overflow-y: auto;
  padding: 88px 16px 24px;
  background: rgba(6, 32, 43, .55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility 0s .6s;
}
.menu-overlay[hidden] { display: none; }
.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(56, 189, 248, .35), transparent 45%), radial-gradient(circle at 85% 80%, rgba(0, 150, 200, .35), transparent 45%);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
/* ぼかしが使えないブラウザでは、背景をほぼ不透明にして文字を読めるようにする */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .menu-overlay { background: rgba(6, 32, 43, .96); }
  .menu-card { background: rgba(255, 255, 255, .1); }
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  /* 縦が短い画面では、グリッドを縮めて画面に収める（文字が入る 288px までは縮め、それより低い画面はスクロール） */
  width: min(100%, 420px, max(288px, calc(100vh - 190px)));
  width: min(100%, 420px, max(288px, calc(100dvh - 190px)));
  flex-shrink: 0;
}
.menu-card {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  color: var(--c-white);
  text-align: center;
  opacity: 0;
  transform: translateY(10px) scale(.94);
  transition: opacity .3s, transform .3s cubic-bezier(.2, .8, .2, 1), background .2s;
  transition-delay: calc((8 - var(--i)) * 35ms);
}
.menu-overlay.is-open .menu-card { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 80ms); }
.menu-card:hover, .menu-card:focus-visible { background: rgba(255, 255, 255, .22); color: var(--c-white); outline: none; }
.menu-card:focus-visible { box-shadow: 0 0 0 3px var(--c-cyan-light); }
.menu-card svg { width: 28px; height: 28px; stroke-width: 1.6; }
.menu-card span { font-size: 12px; font-weight: 700; line-height: 1.4; letter-spacing: .02em; }
.menu-card.is-cta { background: linear-gradient(135deg, var(--c-cyan), var(--c-cyan-light)); border-color: rgba(255, 255, 255, .5); }
.menu-card__badge { position: absolute; top: 6px; right: 6px; padding: 1px 6px; border-radius: 999px; background: var(--c-cyan-light); color: var(--c-navy-dark); font-size: 9px; font-weight: 800; }
.menu-sub { display: flex; gap: 16px; margin-top: 20px; font-size: 12px; opacity: 0; transition: opacity .3s; }
.menu-overlay.is-open .menu-sub { opacity: .8; transition-delay: .5s; }
.menu-sub a { color: var(--c-white); }
.menu-sub a:hover { color: var(--c-white); text-decoration: underline; }

/* ==========================================================================
   下層ページ上部（パンくず・英字見出し・H1・リード文・動くX）
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 72px 0 64px;
  background: var(--c-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.page-hero__inner { position: relative; z-index: 2; }
.page-hero .eyebrow-xl { font-size: 64px; }
.page-h1 { font-size: 34px; font-weight: 800; line-height: 1.5; margin: 18px 0; max-width: 980px; }
.page-lead { font-size: 15px; line-height: 1.95; color: var(--c-text-sub); max-width: 820px; }
.page-hero__links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }

.breadcrumb { font-size: 13px; line-height: 1.6; color: var(--c-text-faint); margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin: 0 .5em; }

/* 動くX */
@keyframes barFlow { from { background-position: 0% 0; } to { background-position: 300% 0; } }
@keyframes barBreathPos { 0%, 100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); } 50% { transform: translate(-50%, -50%) rotate(45deg) scale(1.045); } }
@keyframes barBreathNeg { 0%, 100% { transform: translate(-50%, -50%) rotate(-45deg) scale(1); } 50% { transform: translate(-50%, -50%) rotate(-45deg) scale(1.045); } }
@keyframes floatDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.sub-x {
  position: absolute;
  right: -60px;
  top: -120px;
  width: 760px;
  height: 760px;
  z-index: 1;
  pointer-events: none;
}
.hero-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 999px;
  background-image: linear-gradient(90deg, var(--c-cyan), var(--c-cyan-light), var(--c-navy-dark), var(--c-cyan), var(--c-cyan-light));
  background-size: 300% 100%;
}
.hero-bar-a { animation: barFlow 7s linear infinite, barBreathPos 8s ease-in-out infinite; }
.hero-bar-b { animation: barFlow 7s linear infinite, barBreathNeg 8s ease-in-out infinite; animation-delay: 1.2s, 0s; }
.hero-bar-c { animation: barFlow 7s linear infinite, barBreathPos 8s ease-in-out infinite; animation-delay: 2.4s, 0s; opacity: .55; }
.sub-x .hero-bar-a, .sub-x .hero-bar-b { width: 720px; height: 124px; }
.sub-x .hero-bar-c { width: 410px; height: 46px; }

.hero-dot { position: absolute; border-radius: 999px; }
.hero-dot-a { left: 10%; top: 12%; width: 16px; height: 16px; background: var(--c-cyan); animation: floatDot 5s ease-in-out infinite; }
.hero-dot-b { left: 4%; top: 80%; width: 11px; height: 11px; background: var(--c-navy-dark); opacity: .5; animation: floatDot 6.5s ease-in-out infinite; animation-delay: .8s; }

/* ==========================================================================
   本文・一覧
   ========================================================================== */
.page-body { padding: 64px 0 100px; }
.entry-content { font-size: 15px; line-height: 2; color: var(--c-text-body); }
.entry-content > * + * { margin-top: 1.4em; }
.entry-content h2 { font-size: 26px; font-weight: 800; line-height: 1.6; color: var(--c-text); margin-top: 2.4em; }
.entry-content h3 { font-size: 20px; font-weight: 800; line-height: 1.6; color: var(--c-text); margin-top: 2em; }
.entry-content a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--c-teal); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.entry-content thead th { background: var(--c-bg); font-weight: 700; color: var(--c-text); }
.entry-content hr { border: none; border-top: 1px solid var(--c-border); }
/* 固定ページの本文は読みやすい幅にする（サービス詳細は本文側で幅を持つため除く） */
body:not(.xd-service-page) .page-body > .container.entry-content { max-width: 880px; }
.entry-content img { border-radius: 12px; }
.entry-date { font-size: 13px; font-weight: 700; color: var(--c-teal); }
.entry-thumb img { display: block; width: 100%; border-radius: 20px; }

.post-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-border); }
.post-list__item { border-bottom: 1px solid var(--c-border); }
.post-list__link { display: flex; gap: 32px; align-items: baseline; padding: 24px 0; }
.post-list__date { flex-shrink: 0; font-size: 13px; font-weight: 700; color: var(--c-teal); }
.post-list__title { font-size: 15px; font-weight: 700; line-height: 1.7; }
.post-list__empty { color: var(--c-text-sub); margin-bottom: 24px; }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.pagination .page-numbers.current { background: var(--c-navy-dark); border-color: var(--c-navy-dark); color: var(--c-white); }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   フッター
   ========================================================================== */
.site-footer { background: var(--c-white); border-top: 1px solid var(--c-border); padding: 64px 0 32px; }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 48px; padding-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { display: block; height: 58px; width: auto; }
.footer-desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.9; }
.footer-name { margin-top: 14px; font-size: 13px; font-weight: 800; color: var(--c-text); line-height: 1.6; }
.footer-name + .footer-addr { margin-top: 2px; }
.footer-addr { font-size: 12px; color: var(--c-text-faint); line-height: 1.9; margin-top: 12px; }

.footer-links { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col__title { font-size: 13px; font-weight: 800; color: var(--c-text); line-height: 1.6; margin-bottom: 16px; }
.footer-col__list { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-col__list a { font-size: 13px; line-height: 1.6; color: var(--c-text-muted); transition: color .2s ease; }
.footer-col__list a:hover { color: var(--c-teal); }

/* フッターメニューを管理画面で設定したとき（1階層目＝見出し、2階層目＝リンク） */
.footer-menu { display: flex; gap: 56px; flex-wrap: wrap; list-style: none; padding: 0; margin: 0; }
.footer-menu > li > a { display: block; font-size: 13px; font-weight: 800; color: var(--c-text); line-height: 1.6; margin-bottom: 16px; }
.footer-menu .sub-menu { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; margin: 0; }
.footer-menu .sub-menu a { font-size: 13px; line-height: 1.6; color: var(--c-text-muted); }

.footer-copy { border-top: 1px solid var(--c-line-light); padding-top: 24px; font-size: 12px; color: var(--c-text-faint); }
.footer-copy small { font-size: inherit; }

/* ==========================================================================
   スマホ（760px以下）
   ========================================================================== */
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --header-h: 63px; }

  /* ヘッダーとスマホメニュー */
  .site-hdr { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .hdr-logo img { height: 38px; }
  .main-nav, .header-cta { display: none; }
  .menu-dots { display: grid; }
  .site-header { transition: background .3s, border-color .3s; }
  /* メニューを開いている間：ヘッダーを透明にし、ロゴを白にする */
  body.menu-open .site-header { background: transparent; border-color: transparent; }
  body.menu-open .hdr-logo .hdr-logo__default { display: none; }
  body.menu-open .hdr-logo .hdr-logo__white { display: block; }

  /* 見出し */
  .page-h1 { font-size: 28px; }
  .eyebrow-xl, .page-hero .eyebrow-xl { font-size: 40px; }
  .sec-head .sec-title { font-size: 24px; }
  .section { padding: 72px 0; }

  /* 動くX */
  .sub-x { width: 420px; height: 420px; right: -210px; top: -60px; opacity: .18; }
  .sub-x .hero-bar-a, .sub-x .hero-bar-b { width: 400px; height: 68px; }
  .sub-x .hero-bar-c { width: 230px; height: 26px; }
  /* スマホでは、見出しの下に重なる灰色の小さな丸を出さない */
  .hero-dot-b { display: none; }

  /* 本文・一覧 */
  .page-body { padding: 48px 0 72px; }
  .entry-content h2 { font-size: 22px; }
  .entry-content table { display: block; overflow-x: auto; }
  .entry-content th, .entry-content td { min-width: 120px; }
  .post-list__link { flex-direction: column; gap: 4px; padding: 18px 0; }
  .faq-item { padding: 18px 20px; }

  /* フッター */
  .footer-row { flex-direction: column; gap: 32px; }
  .footer-links, .footer-menu { gap: 28px; row-gap: 28px; }
}

/* ==========================================================================
   動きを減らす設定のとき
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .menu-card, .menu-overlay, .menu-dots i, .menu-sub { transition: none !important; }
  html { scroll-behavior: auto; }
  .hero-bar, .hero-dot { animation: none !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }
}

/* ==========================================================================
   トップページ
   ========================================================================== */
.home { line-height: 1.5; }

/* 共通部品 */
.big-eyebrow {
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
  padding-bottom: .2em;
  margin-bottom: -.2em;
  background: linear-gradient(135deg, var(--c-text), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-eyebrow--center { text-align: center; }
.home-sec-label { font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--c-teal); margin-top: 10px; }
.home-sec-label::before { content: "● "; }
.home-sec-label--plain { letter-spacing: .1em; }
.home-sec-label--plain::before { content: none; }
.home-sec-label--center { text-align: center; margin: 16px 0 56px; }
.home-sec-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; margin-bottom: 40px; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.link-arrow--sm { gap: 10px; font-size: 13px; }
.arrow-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  transition: transform .3s ease;
}
.link-arrow:hover .arrow-chip { transform: translateX(5px); }
.arrow-chip--dark { width: 38px; height: 38px; background: var(--c-text); color: var(--c-white); }
.arrow-chip--lg { width: 40px; height: 40px; }
.arrow-chip--cyan { background: var(--c-cyan); color: var(--c-navy-dark); }

.btn-lg { padding: 15px 30px; font-size: 15px; font-weight: 700; }
.home .btn-ghost { color: var(--c-text); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.home .btn-ghost:hover { background: var(--c-white); border-color: var(--c-cyan); transform: translateY(-3px); }
.btn-ghost--round { border-radius: 999px; font-size: 14px; }
.btn-grad { background: linear-gradient(135deg, var(--c-cyan), var(--c-blue-deep)); color: var(--c-white); padding: 15px 30px; border-radius: 999px; font-size: 14px; }
.btn-grad:hover { color: var(--c-white); }

/* メインビジュアル */
.home-hero { position: relative; padding: 110px 0 90px; background: var(--c-bg); overflow: visible; }
.hero-x {
  position: absolute;
  right: 0;
  top: -10px;
  width: 880px;
  height: 880px;
  z-index: 1;
  pointer-events: none;
}
.hero-x .hero-bar-a, .hero-x .hero-bar-b { width: 840px; height: 150px; }
.hero-x .hero-bar-c { width: 480px; height: 55px; }
.hero-x .hero-dot-a { left: 8%; top: 6%; width: 18px; height: 18px; }
.hero-x .hero-dot-b { left: 2%; top: 84%; width: 12px; height: 12px; }
.home-hero__inner { position: relative; z-index: 2; }
.home-hero__body { max-width: 620px; }
.home-h1 { margin: 0 0 24px; font-weight: 800; }
.home-h1__sub { display: block; font-size: 13px; font-weight: 700; line-height: 1.5; letter-spacing: .1em; color: var(--c-teal); margin-bottom: 18px; }
.home-h1__main { display: block; font-size: 50px; line-height: 1.35; }
.home-hero__lead { font-size: 16px; line-height: 1.95; color: var(--c-text-sub); margin-bottom: 40px; }
.home-hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.home-hero__btns .btn-ghost { border-radius: 4px; }

/* 実績の数字 */
.home-stats-wrap { position: relative; z-index: 2; margin-top: 60px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 36px 16px;
  background: var(--c-white);
  border-radius: 28px;
  box-shadow: 0 20px 48px rgba(17, 20, 24, .08);
}
.stat { display: flex; flex-direction: column-reverse; text-align: center; border-right: 1px solid var(--c-line-light); }
.stat:last-child { border-right: none; }
.stat-value {
  margin: 0;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-navy-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-label { font-size: 12px; color: var(--c-text-muted); margin-top: 8px; }

/* Mission / Vision / Value */
.home-mission { padding: 110px 0; background: var(--c-white); }
.home-mission__inner { display: flex; flex-direction: column; gap: 72px; }
.mission-row { display: flex; gap: 40px; flex-wrap: wrap; }
.mission-label { width: 220px; flex-shrink: 0; }
.mv-label {
  font-size: 40px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-text), var(--c-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mv-sub { font-size: 13px; font-weight: 400; color: var(--c-text-faint); margin-top: 8px; }
.mission-body { flex: 1; min-width: 280px; }
.mission-title { font-size: 26px; font-weight: 800; line-height: 1.6; margin-bottom: 18px; }
.mission-text { font-size: 14px; line-height: 2; color: var(--c-text-sub); max-width: 680px; }
.value-grid { flex: 1; min-width: 280px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value-item__title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.value-item__en { font-size: 12px; color: var(--c-text-faint); }

/* 事業内容（左は固定、右はスクロールで重なるカード） */
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-service { position: relative; padding: 120px 0 60px; overflow: visible; background: var(--c-bg); }
.marquee-wrap { position: absolute; top: 46px; left: 0; z-index: 0; width: 100%; overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-size: 96px;
  font-weight: 800;
  color: var(--c-num);
  animation: marqueeScroll 22s linear infinite;
}
.marquee-track span { padding: 0 24px; }

.svc-row { position: relative; z-index: 1; display: flex; gap: 64px; flex-wrap: wrap; align-items: flex-start; }
.svc-left { flex: 1; min-width: 280px; position: sticky; top: 140px; }
.svc-left .big-eyebrow { font-size: 56px; }
.svc-left .home-sec-label { margin: 16px 0 28px; }
.svc-intro { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); max-width: 360px; margin-bottom: 32px; }

.svc-right { flex: 1.3; min-width: 340px; max-width: 620px; }
.svc-frame { position: relative; background: var(--c-num); border-radius: 40px; padding: 36px 28px 28px; }
.svc-frame__label { text-align: center; font-size: 12px; color: var(--c-text-faint); letter-spacing: .08em; margin-bottom: 20px; }
.svc-frame__dots { position: absolute; right: 22px; top: 60px; z-index: 10; display: flex; flex-direction: column; gap: 6px; }
.svc-frame__dots span { width: 6px; height: 6px; border-radius: 999px; background: var(--c-border-strong); }
.svc-frame__dots span:first-child { background: var(--c-text); }

.svc-card { position: sticky; top: 140px; border-radius: 28px; padding: 40px 36px; margin-bottom: 24px; transition: box-shadow .3s ease; }
.svc-card__head { display: flex; justify-content: space-between; align-items: flex-start; }
.svc-card__no { font-size: 13px; font-weight: 700; }
.svc-card__mark { font-size: 18px; font-weight: 800; line-height: 1; }
.svc-card__title { font-size: 21px; font-weight: 800; margin: 16px 0 12px; }
.svc-card__text { font-size: 13px; line-height: 1.85; margin-bottom: 20px; }

.svc-card--1 { z-index: 1; background: var(--c-white); box-shadow: 0 24px 48px rgba(17, 20, 24, .1); }
.svc-card--1 .svc-card__no, .svc-card--1 .svc-card__mark { color: var(--c-cyan); }
.svc-card--1 .svc-card__text { color: var(--c-text-sub); }
.svc-card--1 .link-arrow { color: var(--c-text); }
.svc-card--1 .arrow-chip { background: var(--c-cyan); color: var(--c-navy-dark); }

.svc-card--2 { z-index: 2; background: var(--c-navy-dark); color: var(--c-white); box-shadow: 0 24px 48px rgba(17, 20, 24, .18); }
.svc-card--2 .svc-card__no, .svc-card--2 .svc-card__mark { color: var(--c-sky); }
.svc-card--2 .svc-card__text { color: var(--c-mist); }
.svc-card--2 .link-arrow { color: var(--c-white); }
.svc-card--2 .arrow-chip { background: var(--c-white); color: var(--c-navy-dark); }

.svc-card--3 { z-index: 3; margin-bottom: 0; background: linear-gradient(135deg, var(--c-cyan), var(--c-blue-deep)); color: var(--c-white); box-shadow: 0 24px 48px rgba(17, 20, 24, .25); }
.svc-card--3 .svc-card__no, .svc-card--3 .svc-card__mark, .svc-card--3 .svc-card__text { color: var(--c-sky-pale); }
.svc-card--3 .link-arrow { color: var(--c-white); }
.svc-card--3 .arrow-chip { background: var(--c-white); color: var(--c-blue-deep); }

/* 制作実績 */
.home-works { padding: 110px 0; background: var(--c-white); }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  color: var(--c-text);
  border: 1px solid var(--c-line-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 20, 24, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.work-card:hover { color: var(--c-text); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(17, 20, 24, .12); }
.work-card__meta { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 0; }
.work-card__title { padding: 14px 20px 0; font-size: 15px; font-weight: 800; line-height: 1.6; }
.work-card__title:first-child { padding-top: 18px; }
.work-card__thumb { margin: 18px 20px 0; aspect-ratio: 1000 / 660; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--c-cyan), var(--c-navy-dark)); }
.work-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.work-card__foot { display: flex; justify-content: flex-end; margin-top: auto; padding: 16px 20px 20px; }
.work-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--c-chip); }

/* お知らせ */
.home-news { padding: 110px 0; background: var(--c-bg); }
.home-news + .home-problem { border-top: 1px solid var(--c-border); }
.news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--c-border); }
.news-list__item { border-bottom: 1px solid var(--c-border); }
.news-list__link { display: flex; align-items: center; gap: 24px; padding: 24px 4px; }
.news-list__date { flex-shrink: 0; min-width: 84px; font-size: 13px; font-weight: 700; color: var(--c-teal); }
.news-list__cat { flex-shrink: 0; margin-right: 0; }
.news-list__title { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.7; }

/* こんな課題はありませんか？ */
.home-problem { padding: 110px 0; background: var(--c-bg); }
.home-problem .big-eyebrow { font-size: 52px; }
.problem-grid { list-style: none; padding: 0; margin: 0 0 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.bubble {
  padding: 28px 20px;
  text-align: center;
  background: var(--c-white);
  border: 1px solid var(--c-bubble-border);
  border-radius: 46% 54% 55% 45% / 50% 48% 52% 50%;
  box-shadow: 0 8px 20px rgba(17, 20, 24, .05);
  transition: transform .3s ease, box-shadow .3s ease;
}
.bubble:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(17, 20, 24, .1); }
.bubble p { font-size: 13px; line-height: 1.8; font-weight: 600; color: var(--c-text-body); }
.problem-header { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 48px; }
.problem-title { font-size: 28px; font-weight: 800; line-height: 1.6; max-width: 520px; }
.problem-text { font-size: 14px; line-height: 1.9; color: var(--c-text-sub); max-width: 420px; }

.cta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cta-card { position: relative; display: block; min-height: 220px; padding: 32px; border-radius: 20px; color: var(--c-white); transition: transform .3s ease, box-shadow .3s ease; }
.cta-card:hover { color: var(--c-white); transform: translateY(-5px); box-shadow: 0 20px 40px rgba(17, 20, 24, .18); }
.cta-card__en { font-size: 13px; font-weight: 600; }
.cta-card__title { font-size: 22px; font-weight: 800; margin-top: 70px; max-width: 280px; }
.cta-card__more { position: absolute; right: 28px; bottom: 28px; display: flex; align-items: center; gap: 10px; font-size: 13px; }
.cta-card__chip { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; }
.cta-card--dark { background: var(--c-slate); }
.cta-card--dark .cta-card__en { color: var(--c-text-faint); }
.cta-card--dark .cta-card__more { color: var(--c-mist); }
.cta-card--dark .cta-card__chip { background: var(--c-slate-2); }
.cta-card--blue { background: var(--c-blue-deep); }
.cta-card--blue .cta-card__en { color: var(--c-sky-light); }
.cta-card--blue .cta-card__more { color: var(--c-sky-pale); }
.cta-card--blue .cta-card__chip { background: rgba(255, 255, 255, .2); }

/* 選ばれる理由 */
.home-why { padding: 110px 0; background: var(--c-white); }
.home-why .big-eyebrow { font-size: 52px; }
.home-why .home-sec-label { margin: 16px 0 28px; }
.why-title { font-size: 30px; font-weight: 800; line-height: 1.6; margin-bottom: 24px; max-width: 680px; }
.marker { background: linear-gradient(transparent 60%, var(--c-sky-light) 0%); }
.why-text { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); max-width: 760px; margin-bottom: 48px; }
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 48px; }
.why-item__no { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--c-cyan-pale); color: var(--c-cyan); font-weight: 800; margin-bottom: 16px; }
.why-item__title { font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.why-item__text { font-size: 13px; line-height: 1.8; color: var(--c-text-muted); }
.why-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.why-btns .btn-ghost { padding: 15px 30px; }

/* 最後の相談導線 */
.home-final { background: var(--c-bg); }
.home-final__inner { padding-top: 110px; padding-bottom: 110px; }
.final-collage { position: relative; display: flex; height: 260px; border-radius: 28px 28px 0 0; overflow: hidden; }
.final-collage__item { position: relative; flex: 1; overflow: hidden; }
.final-collage__item img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.final-collage__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6, 32, 43, .55), rgba(6, 32, 43, .78));
}
.final-collage__caption { position: absolute; left: 40px; bottom: 28px; z-index: 2; color: var(--c-white); }
.final-collage__en { font-size: 52px; font-weight: 800; line-height: 1; }
.final-collage__ja { font-size: 13px; margin-top: 8px; }

.final-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 32px; padding: 48px; background: var(--c-navy-dark); border-radius: 0 0 28px 28px; }
.final-bottom__text { max-width: 380px; }
.final-title { color: var(--c-white); font-size: 24px; font-weight: 800; line-height: 1.6; margin-bottom: 14px; }
.final-lead { color: var(--c-text-faint); font-size: 13px; line-height: 1.8; }
.final-btns { display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.final-btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; border-radius: 999px; background: var(--c-white); color: var(--c-text); font-size: 14px; }
.final-btn:hover { color: var(--c-text); }

/* トップページ：スマホ（760px以下） */
@media (max-width: 760px) {
  .hero-x { width: 560px; height: 560px; left: calc(66.6% - 200px); right: auto; top: 10px; transform: translateX(-50%); opacity: .9; z-index: 0; }
  .hero-x .hero-bar-a, .hero-x .hero-bar-b { width: 520px; height: 92px; }
  .hero-x .hero-bar-c { width: 300px; height: 34px; }
  .hero-x .hero-dot-a { width: 10px; height: 10px; }
  .hero-x .hero-dot-b { width: 7px; height: 7px; }
  .home-h1__main { font-size: 30px; }

  .big-eyebrow, .svc-left .big-eyebrow, .home-problem .big-eyebrow, .home-why .big-eyebrow { font-size: 32px; }
  .mv-label { font-size: 28px; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; padding: 28px 8px; }
  .stat { border-right: none; }
  .stat-value { font-size: 26px; white-space: nowrap; }

  .mission-row { flex-direction: column; gap: 10px; }
  .mission-label { width: auto; }
  .value-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }

  .svc-row { flex-direction: column; gap: 28px; }
  .svc-left { position: static; }
  .svc-right { min-width: 0; width: 100%; }

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

  .news-list__link { flex-wrap: wrap; gap: 6px 14px; padding: 18px 0; }
  .news-list__title { flex-basis: 100%; }

  .problem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem-header { flex-direction: column; gap: 16px; }
  .cta-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }

  .final-collage { flex-direction: column; height: auto; }
  .final-collage__item { height: 110px; min-height: 110px; }
  .final-bottom { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .final-btns { min-width: 0; width: 100%; }
}

/* トップページ：動きを減らす設定のとき */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
}

/* ==========================================================================
   事業内容ページ
   ========================================================================== */
.service { line-height: 1.5; }

/* 3本柱の概要カード */
.svc-overview { padding: 56px 0 0; background: var(--c-bg); }
.svc-overview__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-overview__card { display: block; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 20px; padding: 28px; }
.svc-overview__no { display: block; font-size: 13px; font-weight: 700; color: var(--c-cyan); }
.svc-overview__title { display: block; font-size: 20px; font-weight: 800; margin: 12px 0 6px; color: var(--c-text); }
.svc-overview__sub { display: block; font-size: 13px; color: var(--c-text-muted); }

/* 01〜03 の各領域 */
.svc-pillar { padding: 100px 0; background: var(--c-white); }
.svc-pillar--alt { background: var(--c-bg); }
.svc-pillar__inner { display: flex; gap: 64px; align-items: flex-start; }
.svc-pillar__side { flex: 0 0 380px; max-width: 100%; position: sticky; top: 120px; }
.svc-pillar__no { font-size: 80px; font-weight: 800; line-height: 1; color: var(--c-num); }
.svc-pillar__en { font-size: 13px; font-weight: 700; color: var(--c-teal); margin-top: 12px; }
.svc-pillar__en::before { content: "● "; }
.svc-pillar__title { font-size: 28px; font-weight: 800; line-height: 1.5; margin: 14px 0 6px; }
.svc-pillar__sub { font-size: 14px; font-weight: 700; color: var(--c-text-sub); margin-bottom: 18px; }
.svc-pillar__text { font-size: 14px; line-height: 2; color: var(--c-text-sub); }
.svc-pillar__grid { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.svc-item { display: flex; flex-direction: column; gap: 14px; padding: 30px; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 20px; }
.svc-pillar--alt .svc-item { background: var(--c-white); }
.svc-item__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--c-cyan-pale); color: var(--c-cyan); }
.svc-item__icon svg { display: block; }
.svc-item__title { font-size: 18px; font-weight: 800; line-height: 1.5; }
.svc-item__text { flex: 1; font-size: 13px; line-height: 1.95; color: var(--c-text-sub); }
.svc-item__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--c-border); padding-top: 14px; }
.svc-item__price { font-size: 12px; font-weight: 700; color: var(--c-teal); }
.svc-item__link { font-size: 13px; font-weight: 700; color: var(--c-cyan); }

/* ご依頼の流れ */
.svc-flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.svc-flow__step { background: var(--c-bg); border-radius: 20px; padding: 28px; }
.svc-flow__no { font-size: 13px; font-weight: 800; color: var(--c-cyan); }
.svc-flow__title { font-size: 18px; font-weight: 800; margin: 10px 0 8px; }
.svc-flow__text { font-size: 13px; line-height: 1.9; color: var(--c-text-sub); }

/* 対応エリア */
.svc-area { padding: 80px 0; background: var(--c-bg); }
.svc-area__inner { display: flex; gap: 48px; align-items: center; }
.svc-area__head, .svc-area__body { flex: 1; }
.svc-area__body { font-size: 14px; line-height: 2; color: var(--c-text-sub); }
.svc-area__body p { margin-bottom: 14px; }
.svc-area__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.svc-area__tags .tag { margin-right: 0; }

/* よくあるご質問 */
.svc-faq { display: flex; gap: 64px; align-items: flex-start; }
.svc-faq__head { flex: 0 0 380px; max-width: 100%; }
.svc-faq__list { flex: 1; min-width: 0; }

/* ==========================================================================
   最後の相談導線（濃紺の帯）※事業内容・サービス詳細で共通
   ========================================================================== */
.cta-band { padding: 100px 0; background: var(--c-bg); line-height: 1.5; }
.cta-band__box {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  padding: 56px;
  background: var(--c-navy-dark);
  border-radius: 28px;
}
.cta-band__x { position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; pointer-events: none; opacity: .5; }
.cta-band__x .hero-bar-a, .cta-band__x .hero-bar-b { width: 520px; height: 90px; }
.cta-band__text { position: relative; max-width: 560px; }
.cta-band__title { color: var(--c-white); font-size: 26px; font-weight: 800; line-height: 1.6; margin-bottom: 12px; }
.cta-band__lead { color: var(--c-text-faint); font-size: 14px; line-height: 1.9; }
.cta-band__btns { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 280px; }
.cta-band__btns .btn-white { font-weight: 700; }

/* ==========================================================================
   サービス詳細ページ（chatbot / hearing-bot / content-writing の本文）
   ========================================================================== */
body.xd-service-page .post-article {
  max-width: 880px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: var(--c-text-body);
}
body.xd-service-page .post-article > * + * { margin-top: 0; }
body.xd-service-page .post-article section { margin-top: 64px; }
body.xd-service-page .post-article p + p { margin-top: 1em; }
body.xd-service-page .post-article strong { color: var(--c-text); }
body.xd-service-page .post-article a { color: var(--c-cyan); }
body.xd-service-page .post-article a:hover { color: var(--c-teal); }

/* 見出し */
body.xd-service-page .post-article h2 {
  margin: 0 0 20px;
  padding-left: 16px;
  border-left: 4px solid var(--c-cyan);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--c-text);
}
body.xd-service-page .post-article h3 { font-size: 16px; font-weight: 800; line-height: 1.6; color: var(--c-text); }

/* リード */
body.xd-service-page .post-article .as-lead {
  margin-top: 0;
  padding: 28px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-cyan);
  border-radius: 20px;
}
body.xd-service-page .post-article .as-lead p { font-size: 16px; line-height: 2; color: var(--c-text-sub); }

/* こんな課題に（チェックリスト） */
body.xd-service-page .post-article .as-warn { padding: 24px 28px; background: var(--c-cyan-pale); border-radius: 20px; }
body.xd-service-page .post-article .as-warn ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
body.xd-service-page .post-article .as-warn li { position: relative; padding-left: 1.6em; font-size: 15px; line-height: 1.8; color: var(--c-text-body); }
body.xd-service-page .post-article .as-warn li::before { content: "●"; position: absolute; left: 0; top: 0; color: var(--c-cyan); font-size: .8em; line-height: 2.25; }

/* 料金表 */
body.xd-service-page .post-article .as-table-wrap { overflow-x: auto; margin-top: 4px; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-white); }
body.xd-service-page .post-article .as-table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 14px; }
body.xd-service-page .post-article .as-table th {
  padding: 14px 18px;
  background: var(--c-navy-dark);
  color: var(--c-white);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
body.xd-service-page .post-article .as-table td { padding: 14px 18px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; line-height: 1.75; }
body.xd-service-page .post-article .as-table tr:last-child td { border-bottom: none; }
body.xd-service-page .post-article .as-table tbody tr:nth-child(even) td { background: var(--c-bg); }
body.xd-service-page .post-article .as-small { margin-top: 10px; font-size: 12px; line-height: 1.75; color: var(--c-text-muted); }
body.xd-service-page .post-article .as-small + .as-small { margin-top: 4px; }
body.xd-service-page .post-article .as-small--tight { margin-bottom: 0; }

/* 導入の流れ */
body.xd-service-page .post-article .as-flow { display: flex; flex-direction: column; }
body.xd-service-page .post-article .as-step { position: relative; display: flex; align-items: center; gap: 16px; padding-bottom: 16px; }
body.xd-service-page .post-article .as-step:last-child { padding-bottom: 0; }
body.xd-service-page .post-article .as-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--c-cyan), rgba(0, 150, 200, .1));
}
body.xd-service-page .post-article .as-step-no {
  position: relative;
  z-index: 1;
  flex: 0 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-blue-deep));
  color: var(--c-white);
  font-size: 15px;
  font-weight: 800;
}
body.xd-service-page .post-article .as-step-body { flex: 1; padding: 16px 20px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 14px; }
body.xd-service-page .post-article .as-step-body h3 { font-size: 15px; line-height: 1.6; }
body.xd-service-page .post-article .as-step-body p { margin-top: 6px; font-size: 14px; }

/* よくある質問 */
body.xd-service-page .post-article .as-card { margin-top: 12px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; overflow: hidden; }
body.xd-service-page .post-article h2 + .as-card { margin-top: 0; }
body.xd-service-page .post-article .as-card-head { padding: 18px 24px 0; }
body.xd-service-page .post-article .as-card-head h3 { font-size: 15px; line-height: 1.7; }
body.xd-service-page .post-article .as-card-body { padding: 10px 24px 20px; }
body.xd-service-page .post-article .as-card-body p { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); }

/* 本文内の相談導線（ページ下の濃紺の帯に統一するため表示しない） */
body.xd-service-page .post-article .as-cta { display: none; }

/* 関連サービス */
body.xd-service-page .post-article .xd-service-page__related { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-border); text-align: center; }
body.xd-service-page .post-article .xd-service-page__related-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--c-text-muted); }
body.xd-service-page .post-article .xd-service-page__related-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; list-style: none; margin: 10px 0 0; padding: 0; }
body.xd-service-page .post-article .xd-service-page__related-list li { font-size: 14px; line-height: 1.8; }
body.xd-service-page .post-article .xd-service-page__related-list a { font-weight: 700; text-decoration: none; }

/* チャット会話のビジュアル（chatbot） */
@keyframes chvReveal {
  0% { opacity: 0; transform: translateY(8px); }
  8% { opacity: 1; transform: translateY(0); }
  88% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-6px); }
  100% { opacity: 0; }
}
@keyframes chvBounce { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
@keyframes chvPulse { 0%, 100% { opacity: .18; } 50% { opacity: .32; } }

body.xd-service-page .chv { position: relative; max-width: 420px; margin: 0 auto 40px; line-height: 1.5; }
body.xd-service-page .chv__ring { position: absolute; inset: -30px; z-index: 0; background: radial-gradient(circle, var(--c-cyan-light) 0%, transparent 70%); opacity: .25; filter: blur(10px); animation: chvPulse 4s ease-in-out infinite; }
body.xd-service-page .chv__window { position: relative; z-index: 1; overflow: hidden; background: var(--c-white); border-radius: 20px; box-shadow: 0 20px 40px rgba(17, 20, 24, .12); }
body.xd-service-page .chv__header { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: linear-gradient(120deg, var(--c-navy), var(--c-cyan)); color: var(--c-white); }
body.xd-service-page .chv__avatar { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 12px; font-weight: 700; }
body.xd-service-page .chv__title { flex: 1; font-size: 14px; font-weight: 700; }
body.xd-service-page .chv__badge { padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .25); font-size: 11px; font-weight: 700; }
body.xd-service-page .chv__body { display: flex; flex-direction: column; gap: 10px; min-height: 220px; padding: 16px; }
body.xd-service-page .chv__bubble,
body.xd-service-page .chv__typing { opacity: 0; transform: translateY(8px); border-radius: 14px; animation: chvReveal 9s ease-in-out infinite; }
body.xd-service-page .chv__bubble { max-width: 78%; padding: 9px 13px; font-size: 13px; line-height: 1.5; }
body.xd-service-page .chv__bubble--user { align-self: flex-end; background: var(--c-chip); color: var(--c-text); border-bottom-right-radius: 4px; }
body.xd-service-page .chv__bubble--bot { align-self: flex-start; background: var(--c-navy); color: var(--c-white); border-bottom-left-radius: 4px; }
body.xd-service-page .chv__typing { align-self: flex-start; display: flex; gap: 4px; padding: 9px 13px; background: var(--c-chip); }
body.xd-service-page .chv__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-text-faint); animation: chvBounce 1s ease-in-out infinite; }
body.xd-service-page .chv__typing span:nth-child(2) { animation-delay: .15s; }
body.xd-service-page .chv__typing span:nth-child(3) { animation-delay: .3s; }
body.xd-service-page .chv__d1 { animation-delay: .2s; }
body.xd-service-page .chv__d2 { animation-delay: 1.6s; }
body.xd-service-page .chv__d3 { animation-delay: 3s; }
body.xd-service-page .chv__d4 { animation-delay: 4.6s; }
body.xd-service-page .chv__d5 { animation-delay: 6s; }
body.xd-service-page .chv__d6 { animation-delay: 7.4s; }

/* 問診ヒアリングのビジュアル（hearing-bot） */
@keyframes hbvReveal {
  0% { opacity: 0; transform: translateY(6px); }
  8% { opacity: 1; transform: translateY(0); }
  88% { opacity: 1; transform: translateY(0); }
  96% { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; }
}
@keyframes hbvCheck {
  0% { opacity: 0; transform: translateX(-6px); }
  8%, 100% { opacity: 1; transform: translateX(0); }
}

body.xd-service-page .hbv { display: flex; flex-wrap: wrap; gap: 24px; max-width: 640px; margin: 0 auto 40px; line-height: 1.5; }
body.xd-service-page .hbv__chat,
body.xd-service-page .hbv__sheet { flex: 1 1 260px; overflow: hidden; border-radius: 16px; box-shadow: 0 16px 32px rgba(17, 20, 24, .12); }
body.xd-service-page .hbv__chat { background: var(--c-white); }
body.xd-service-page .hbv__header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: linear-gradient(120deg, var(--c-navy), var(--c-cyan)); color: var(--c-white); font-size: 13px; font-weight: 700; }
body.xd-service-page .hbv__avatar { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: 11px; }
body.xd-service-page .hbv__body { display: flex; flex-direction: column; gap: 8px; min-height: 160px; padding: 14px; }
body.xd-service-page .hbv__bubble,
body.xd-service-page .hbv__chips { opacity: 0; transform: translateY(6px); animation: hbvReveal 8s ease-in-out infinite; }
body.xd-service-page .hbv__bubble { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
body.xd-service-page .hbv__bubble--bot { align-self: flex-start; background: var(--c-chip); color: var(--c-text); border-bottom-left-radius: 4px; }
body.xd-service-page .hbv__bubble--user { align-self: flex-end; background: var(--c-navy); color: var(--c-white); border-bottom-right-radius: 4px; }
body.xd-service-page .hbv__chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.xd-service-page .hbv__chip { padding: 5px 10px; border: 1px solid var(--c-cyan); border-radius: 999px; color: var(--c-teal); font-size: 11px; }
body.xd-service-page .hbv__sheet { padding: 16px; background: var(--c-navy-dark); color: var(--c-white); }
body.xd-service-page .hbv__sheet-title { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .05em; color: rgba(255, 255, 255, .6); }
body.xd-service-page .hbv__check { padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; opacity: 0; transform: translateX(-6px); animation: hbvCheck 8s ease-in-out infinite; }
body.xd-service-page .hbv__check::before {
  content: "\2713";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  color: var(--c-navy-dark);
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}
body.xd-service-page .hbv__d1 { animation-delay: .2s; }
body.xd-service-page .hbv__d2 { animation-delay: 1.6s; }
body.xd-service-page .hbv__d3 { animation-delay: 3s; }
body.xd-service-page .hbv__d4 { animation-delay: 4.4s; }
body.xd-service-page .hbv__d5 { animation-delay: 5.8s; }

/* 記事制作のビジュアル（content-writing） */
@keyframes cwvType {
  0% { opacity: 0; transform: scaleX(0); }
  10%, 90% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(0); }
}
@keyframes cwvHighlight {
  0%, 40% { opacity: 0; }
  50%, 80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes cwvStage {
  0% { opacity: .5; color: var(--c-text-faint); }
  10%, 90% { opacity: 1; color: var(--c-teal); }
  100% { opacity: .5; color: var(--c-text-faint); }
}

body.xd-service-page .cwv { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; max-width: 640px; margin: 0 auto 40px; line-height: 1.5; }
body.xd-service-page .cwv__doc { flex: 1 1 280px; overflow: hidden; background: var(--c-white); border-radius: 14px; box-shadow: 0 16px 32px rgba(17, 20, 24, .12); }
body.xd-service-page .cwv__doc-header { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--c-chip); }
body.xd-service-page .cwv__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-border-strong); }
body.xd-service-page .cwv__doc-title { margin-left: 6px; font-size: 11px; color: var(--c-text-muted); }
body.xd-service-page .cwv__doc-body { position: relative; padding: 18px; }
body.xd-service-page .cwv__line { width: 100%; height: 10px; margin-bottom: 10px; border-radius: 4px; background: var(--c-border); opacity: 0; transform: scaleX(0); transform-origin: left; animation: cwvType 8s ease-in-out infinite; }
body.xd-service-page .cwv__line--title { width: 60%; height: 14px; background: linear-gradient(120deg, var(--c-navy), var(--c-cyan)); }
body.xd-service-page .cwv__line--short { width: 40%; }
body.xd-service-page .cwv__highlight { position: absolute; left: 18px; right: 18px; height: 12px; border-radius: 4px; background: rgba(0, 150, 200, .25); opacity: 0; animation: cwvHighlight 8s ease-in-out infinite; }
body.xd-service-page .cwv__stages { flex: 1 1 220px; display: flex; flex-direction: column; gap: 14px; }
body.xd-service-page .cwv__stage { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--c-text-faint); opacity: .5; animation: cwvStage 8s ease-in-out infinite; }
body.xd-service-page .cwv__stage-icon { display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-cyan-pale); color: var(--c-teal); font-size: 12px; }
body.xd-service-page .cwv__d1 { animation-delay: .2s; }
body.xd-service-page .cwv__d2 { animation-delay: 1s; }
body.xd-service-page .cwv__d3 { animation-delay: 2.6s; }
body.xd-service-page .cwv__d5 { animation-delay: 5s; }

/* ==========================================================================
   事業内容・サービス詳細：スマホ（760px以下）
   ========================================================================== */
@media (max-width: 760px) {
  .svc-overview__grid,
  .svc-pillar__grid,
  .svc-flow { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .svc-pillar__inner,
  .svc-area__inner,
  .svc-faq { flex-direction: column; }
  .svc-pillar { padding: 72px 0; }
  .svc-pillar__inner, .svc-faq { gap: 32px; }
  .svc-pillar__side { position: static; flex-basis: auto; }
  .svc-faq__head { flex-basis: auto; }
  .svc-area__inner { align-items: stretch; gap: 24px; }

  .cta-band { padding: 72px 0; }
  .cta-band__box { flex-direction: column; align-items: stretch; padding: 28px 20px; }
  .cta-band__btns { min-width: 0; }
  .cta-band__btns .btn-pill { white-space: normal; }

  body.xd-service-page .post-article section { margin-top: 48px; }
  body.xd-service-page .post-article h2 { font-size: 21px; }
  body.xd-service-page .post-article .as-lead { padding: 20px; }
  body.xd-service-page .post-article .as-warn { padding: 20px; }
  body.xd-service-page .post-article .as-step { gap: 10px; }
  body.xd-service-page .post-article .as-card-head { padding: 16px 18px 0; }
  body.xd-service-page .post-article .as-card-body { padding: 8px 18px 16px; }
}
@media (max-width: 560px) {
  body.xd-service-page .hbv { flex-direction: column; }
  body.xd-service-page .cwv { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  body.xd-service-page .chv { max-width: 100%; }
  body.xd-service-page .chv__body { min-height: 260px; }
}

/* 事業内容・サービス詳細：動きを減らす設定のとき */
@media (prefers-reduced-motion: reduce) {
  body.xd-service-page .chv__bubble,
  body.xd-service-page .chv__typing,
  body.xd-service-page .chv__typing span,
  body.xd-service-page .chv__ring,
  body.xd-service-page .hbv__bubble,
  body.xd-service-page .hbv__chips,
  body.xd-service-page .hbv__check,
  body.xd-service-page .cwv__line,
  body.xd-service-page .cwv__highlight,
  body.xd-service-page .cwv__stage {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  body.xd-service-page .cwv__stage { color: var(--c-teal) !important; }
}

/* ==========================================================================
   制作実績
   ========================================================================== */
.works { line-height: 1.5; }

/* 絞り込み（制作実績・お知らせで共通） */
.pill {
  display: inline-block;
  padding: 9px 18px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-white);
  color: var(--c-text-sub);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  transition: border-color .2s ease, color .2s ease;
}
.pill:hover { border-color: var(--c-cyan); color: var(--c-text); }
.pill.is-current { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
.works-filter { padding: 28px 0; background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.works-filter__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* 一覧 */
.works-list-wrap { padding: 60px 0 100px; }
.works-list { display: flex; flex-direction: column; gap: 24px; }
.works-item { display: flex; flex-wrap: wrap; gap: 28px; padding: 28px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 8px; }
.works-item__thumb { flex-shrink: 0; width: 260px; aspect-ratio: 1000 / 660; overflow: hidden; border-radius: 4px; background: linear-gradient(135deg, var(--c-cyan), var(--c-navy-dark)); }
.works-item__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.works-item__body { flex: 1; min-width: 280px; }
.works-item__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.works-item__tags .tag { margin-right: 0; }
.works-item__title { margin-bottom: 12px; font-size: 19px; font-weight: 800; line-height: 1.6; }
.works-item__summary, .works-item__excerpt { font-size: 13px; line-height: 1.9; color: var(--c-text-muted); }
.works-item__summary { margin: 0; }
.works-item__summary div { display: flex; }
.works-item__summary dt { flex-shrink: 0; font-weight: 700; color: var(--c-ink); }
.works-item__summary dd { margin: 0; }
.works-item__more { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--c-cyan); }

/* 詳細：上部のタグ・日付 */
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.case-meta .tag { margin-right: 0; }
.case-meta__date { margin-left: 8px; font-size: 12px; color: var(--c-text-faint); }

/* 詳細：メインビジュアルと成果の数字 */
.case-visual { padding: 60px 0 0; background: var(--c-bg); }
/* 実績詳細のメイン画像は切らずに全体を表示する（元の画像より大きく引き伸ばさない） */
.case-visual__image { max-width: 1000px; margin: 0 auto; overflow: hidden; border-radius: 28px; background: var(--c-white); }
.case-visual__image img { display: block; width: 100%; height: auto; }
.case-stats { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: -48px; padding: 0 40px; }
.case-visual__image + .case-stats { max-width: 1000px; margin-left: auto; margin-right: auto; }
.case-visual--no-image .case-stats { margin-top: 0; padding: 0; }
.case-stat { padding: 28px; background: var(--c-white); border-radius: 20px; box-shadow: 0 20px 40px rgba(17, 20, 24, .08); text-align: center; }
.case-stat__value {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-navy-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.case-stat__label { margin-top: 6px; font-size: 14px; font-weight: 800; }
.case-stat__note { margin-top: 4px; font-size: 12px; color: var(--c-text-faint); }

/* 詳細：本文と右側 */
.case-main { padding: 80px 0 40px; background: var(--c-bg); }
.case-main__inner { display: flex; gap: 56px; align-items: flex-start; }
.case-article { flex: 1; min-width: 0; max-width: 920px; }
.case-sec { margin-bottom: 72px; }
.case-sec__en { font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--c-cyan); }
.case-sec__title { margin: 10px 0 20px; padding-bottom: 16px; border-bottom: 2px solid var(--c-text); font-size: 26px; font-weight: 800; line-height: 1.6; }
.case-sec > p { margin-bottom: 18px; font-size: 15px; line-height: 2.05; color: var(--c-text-body); }
.case-measures { list-style: none; margin: 0; padding: 0; }
.case-measure { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.case-measure__no { flex-shrink: 0; width: 40px; font-size: 22px; font-weight: 800; line-height: 1.4; color: var(--c-cyan); }
.case-measure__title { margin-bottom: 6px; font-size: 16px; font-weight: 800; }
.case-measure__text { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); }
.case-voice { margin: 0; padding: 36px; background: var(--c-navy-dark); border-radius: 24px; color: var(--c-white); }
.case-voice__text { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.9; }
.case-voice__text::before { content: "「"; }
.case-voice__text::after { content: "」"; }
.case-voice__by { margin-top: 14px; font-size: 13px; color: var(--c-text-faint); }
.case-body { font-size: 15px; }

.case-aside { position: sticky; top: 110px; flex: 0 0 360px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }
.case-box { padding: 24px 26px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 20px; }
.case-box__title { margin-bottom: 6px; font-size: 14px; font-weight: 800; }
.case-overview { margin: 0; }
.case-overview div { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-border); font-size: 13px; line-height: 1.7; }
.case-overview div:last-child { border-bottom: none; padding-bottom: 0; }
.case-overview dt { flex-shrink: 0; width: 88px; font-weight: 700; color: var(--c-text-muted); }
.case-overview dd { min-width: 0; margin: 0; color: var(--c-text); overflow-wrap: anywhere; }
.case-overview a { color: var(--c-cyan); }
.case-box--related { background: var(--c-cyan-pale); border-color: var(--c-cyan-pale); }
.case-box--related .case-box__title { margin-bottom: 12px; }
.case-related { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; }
.case-cta { padding: 16px 24px; border-radius: 999px; background: var(--c-navy-dark); color: var(--c-white); font-size: 14px; font-weight: 800; text-align: center; white-space: normal; }
.case-cta:hover { color: var(--c-white); }

/* 詳細：ほかの事例 */
.case-others { padding: 60px 0 100px; background: var(--c-bg); }
.case-others__title { margin-bottom: 24px; font-size: 22px; font-weight: 800; }
.case-others__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.case-card { display: block; overflow: hidden; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; color: var(--c-text); }
.case-card:hover { color: var(--c-text); }
.case-card__thumb { aspect-ratio: 1000 / 660; overflow: hidden; background: linear-gradient(135deg, var(--c-cyan), var(--c-navy-dark)); }
.case-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.case-card__body { padding: 20px; }
.case-card__title { margin-top: 10px; font-size: 15px; font-weight: 800; line-height: 1.6; }

/* ==========================================================================
   お知らせ
   ========================================================================== */
.news { line-height: 1.5; }

/* 一覧 */
.news-index { max-width: 960px; margin: 0 auto; padding: 0; list-style: none; border-top: 1px solid var(--c-border); }
.news-index__item { border-bottom: 1px solid var(--c-border); }
.news-index__link { display: block; padding: 28px 4px; color: var(--c-text); }
.news-index__link:hover { color: var(--c-text); }
.news-index__link:hover .news-index__title { color: var(--c-teal); }
.news-index__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.news-index__meta .tag { margin-right: 0; }
.news-index__date { font-size: 13px; font-weight: 700; color: var(--c-teal); }
.news-index__title { margin-top: 10px; font-size: 17px; font-weight: 800; line-height: 1.6; transition: color .2s ease; }
.news-index__excerpt { margin-top: 6px; font-size: 13px; line-height: 1.9; color: var(--c-text-muted); }
.news-list-wrap .pagination { max-width: 960px; margin-left: auto; margin-right: auto; }

/* 記事 */
.news-body { max-width: 760px; margin: 0 auto; }
.news-body__thumb { margin-bottom: 32px; }
.news-body__thumb img { display: block; width: 100%; border-radius: 20px; }
.post-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 760px; margin: 64px auto 0; }
.post-nav__link { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 16px; color: var(--c-text); transition: border-color .2s ease; }
.post-nav__link:hover { border-color: var(--c-cyan); color: var(--c-text); }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__label { font-size: 12px; font-weight: 700; color: var(--c-teal); }
.post-nav__title { font-size: 14px; font-weight: 700; line-height: 1.6; }
.post-nav__back { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 14px; font-weight: 700; }
.post-nav__back a { color: var(--c-cyan); }

/* ==========================================================================
   制作実績・お知らせ：スマホ（760px以下）
   ========================================================================== */
@media (max-width: 760px) {
  .works-filter { padding: 20px 0; }
  .works-list-wrap { padding: 40px 0 72px; }
  .works-item { padding: 20px; gap: 18px; }
  .works-item__thumb { width: 100%; }
  .works-item__body { min-width: 0; }

  .case-visual { padding-top: 40px; }
  .case-visual__image { border-radius: 20px; }
  .case-stats { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 12px; margin-top: -32px; padding: 0 16px; }
  .case-main { padding: 56px 0 24px; }
  .case-main__inner { flex-direction: column; gap: 40px; }
  .case-aside { position: static; flex-basis: auto; width: 100%; }
  .case-sec { margin-bottom: 56px; }
  .case-sec__title { font-size: 22px; }
  .case-voice { padding: 28px 22px; }
  .case-others { padding: 40px 0 72px; }
  .case-others__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }

  .news-index__link { padding: 22px 0; }
  .news-index__title { font-size: 16px; }
  .post-nav { grid-template-columns: repeat(1, minmax(0, 1fr)); margin-top: 48px; }
  .post-nav__link--next { grid-column: auto; }
}

/* ==========================================================================
   企業紹介
   ========================================================================== */
.company { line-height: 1.5; }

/* 代表メッセージ */
.company-message { padding: 100px 0; background: var(--c-bg); }
.company-message__inner { display: flex; gap: 64px; align-items: center; }
.company-message__photo { flex: 0 0 440px; max-width: 100%; margin: 0; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; }
.company-message__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.company-message__body { flex: 1; min-width: 0; }
.company-message__inner--text .company-message__body { max-width: 960px; }
.company-message__text { max-width: 760px; margin-top: 28px; font-size: 15px; line-height: 2.1; color: var(--c-text-body); }
.company-message__text p + p { margin-top: 18px; }
.company-message__sign { margin-top: 28px; }
.company-message__role { font-size: 13px; color: var(--c-text-muted); }
.company-message__name { margin-top: 4px; font-size: 22px; font-weight: 800; }

/* 会社概要 */
.company-profile { padding: 100px 0; background: var(--c-white); }
.company-profile__inner { display: flex; gap: 40px; align-items: flex-start; margin-top: 48px; }
.company-table { flex: 1.4; width: 100%; border-collapse: collapse; border-top: 2px solid var(--c-text); }
.company-table th {
  width: 220px;
  padding: 22px 20px;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  vertical-align: top;
}
.company-table td { padding: 22px 20px; border-bottom: 1px solid var(--c-border); font-size: 14px; line-height: 1.9; color: var(--c-text-body); }
.company-table a { color: var(--c-cyan); text-decoration: underline; text-underline-offset: 3px; }
.company-access { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.company-access__map { padding: 32px 28px; background: linear-gradient(135deg, var(--c-cyan-pale), var(--c-num)); border-radius: 20px; }
.company-access__label { font-size: 13px; font-weight: 700; color: var(--c-teal); }
.company-access__label::before { content: "● "; }
.company-access__address { margin-top: 10px; font-size: 18px; font-weight: 800; line-height: 1.7; }
.company-access__btn { margin-top: 20px; }
.company-access__note { padding: 22px 24px; background: var(--c-bg); border-radius: 16px; font-size: 13px; line-height: 1.9; color: var(--c-text-sub); }
.company-access__title { margin-bottom: 6px; font-weight: 800; color: var(--c-text); }

/* 沿革 */
.company-history { padding: 100px 0; background: var(--c-bg); }
.company-history__inner { display: flex; gap: 64px; align-items: flex-start; }
.company-history__head { flex: 0 0 380px; max-width: 100%; }
.company-timeline { flex: 1; list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--c-border-strong); }
.company-timeline__item { position: relative; padding: 0 0 32px 32px; }
.company-timeline__item:last-child { padding-bottom: 0; }
.company-timeline__item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--c-bg);
  border-radius: 999px;
  background: var(--c-cyan);
}
.company-timeline__year { font-size: 14px; font-weight: 800; color: var(--c-teal); }
.company-timeline__text { margin-top: 4px; font-size: 15px; line-height: 1.9; }

/* 大切にしていること */
.company-values { padding: 100px 0; background: var(--c-white); }
.company-values__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.company-value { padding: 32px 28px; background: var(--c-bg); border-radius: 20px; }
.company-value__en { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--c-teal); }
.company-value__title { margin-top: 10px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.company-value__text { margin-top: 10px; font-size: 13px; line-height: 1.9; color: var(--c-text-sub); }

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.contact { line-height: 1.5; }

/* 相談の入口 */
.contact-entries { padding: 60px 0 0; background: var(--c-bg); }
.contact-entries__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-entries__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-entry { display: block; min-height: 150px; padding: 28px; border-radius: 20px; color: var(--c-white); }
.contact-entry:hover { color: var(--c-white); }
.contact-entry--dark { background: var(--c-slate); }
.contact-entry--blue { background: var(--c-blue-deep); }
.contact-entry--navy { background: var(--c-navy-dark); }
.contact-entry__en { display: block; font-size: 12px; font-weight: 700; color: var(--c-sky-light); }
.contact-entry__lead { display: block; margin-top: 30px; font-size: 14px; color: var(--c-mist); }
.contact-entry__title { display: block; margin-top: 6px; font-size: 20px; font-weight: 800; }

/* フォームと右側 */
.contact-main { padding: 60px 0 100px; background: var(--c-bg); }
.contact-main__inner { display: flex; gap: 40px; align-items: flex-start; }
.contact-form { flex: 1.5; min-width: 0; padding: 40px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 24px; scroll-margin-top: calc(var(--header-h) + 16px); }
.contact-aside { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-box { padding: 28px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 20px; font-size: 13px; line-height: 1.9; color: var(--c-text-sub); }
.contact-box--gray { padding: 24px 28px; background: var(--c-bg); border-color: var(--c-bg); }
.contact-box--pale { padding: 24px 28px; background: var(--c-cyan-pale); border-color: var(--c-cyan-pale); }
.contact-box__title { margin-bottom: 16px; font-size: 16px; font-weight: 800; color: var(--c-text); }
.contact-box--pale .contact-box__title { margin-bottom: 6px; font-size: 14px; }
.contact-box__name { margin-bottom: 8px; font-size: 14px; font-weight: 800; color: var(--c-text); }
.contact-box__small { font-size: 12px; line-height: 1.8; }
.contact-flow { display: flex; flex-direction: column; gap: 16px; list-style: none; margin: 0; padding: 0; }
.contact-flow__step { display: flex; gap: 14px; }
.contact-flow__no { font-weight: 800; color: var(--c-teal); }
.contact-flow__step p { font-size: 13px; line-height: 1.8; }
.contact-flow__step strong { color: var(--c-text); }
.contact-flow__step span { color: var(--c-text-muted); }

/* Contact Form 7 の見た目 */
.contact-form .wpcf7-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form .post-contact { display: flex; flex-direction: column; gap: 24px; }
.contact-form .post-contact > p { font-size: 14px; line-height: 1.9; color: var(--c-text-sub); }
.contact-form .form-purpose { font-size: 13px; line-height: 1.8; color: var(--c-text-sub); }
.contact-form .form-group > p,
.contact-form .wpcf7-form > p { display: flex; flex-wrap: wrap; align-items: center; margin: 0; }
.contact-form .form-group br { display: none; }
.contact-form .form-group:empty { display: none; }
.contact-form label { order: 1; font-size: 14px; font-weight: 800; line-height: 1.6; }
.contact-form .label-required,
.contact-form .form-group > p > label:first-child::after {
  order: 2;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
}
.contact-form .label-required { background: var(--c-blue-deep); color: var(--c-white); }
.contact-form .form-group > p > label:first-child::after { content: "任意"; background: var(--c-border); color: var(--c-text-sub); }
.contact-form .wpcf7-form-control-wrap { order: 3; display: block; flex-basis: 100%; margin-top: 8px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border-strong);
  border-radius: 10px;
  background: var(--c-white);
  color: var(--c-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
}
.contact-form textarea { min-height: 200px; line-height: 1.8; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--c-text-faint); }
.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible { outline: 3px solid var(--c-cyan); outline-offset: 1px; border-color: var(--c-cyan); }

/* 選択肢のまとまり（fieldset） */
.contact-form fieldset.form-group { margin: 0; padding: 0; border: none; min-width: 0; }
.contact-form fieldset.form-group legend { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 800; line-height: 1.6; }
.contact-form fieldset.form-group legend .label-required { margin-left: 8px; }
.contact-form fieldset.form-group .wpcf7-form-control-wrap { margin-top: 0; }

/* チェックボックス・ラジオ・同意 */
.contact-form .wpcf7-checkbox,
.contact-form .wpcf7-radio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-form .wpcf7-list-item { margin: 0; }
.contact-form .wpcf7-checkbox .wpcf7-list-item label,
.contact-form .wpcf7-radio .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: 10px;
  background: var(--c-white);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.contact-form .wpcf7-acceptance .wpcf7-list-item label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 400; cursor: pointer; }
.contact-form input[type="checkbox"],
.contact-form input[type="radio"] { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--c-blue-deep); }
.contact-form .wpcf7-acceptance a { color: var(--c-blue-deep); text-decoration: underline; }

/* 送信ボタン */
.contact-form .btn-container { text-align: center; }
.contact-form .btn-container > p { justify-content: center; }
.contact-form .wpcf7-submit {
  display: inline-block;
  padding: 18px 64px;
  border: none;
  border-radius: 999px;
  background: var(--c-navy-dark);
  color: var(--c-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.contact-form .wpcf7-submit:hover { color: var(--c-white); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 20, 24, .18); }
.contact-form .wpcf7-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.contact-form .wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }

/* エラー・送信完了のメッセージ */
.contact-form .wpcf7-not-valid { border-color: #C0392B; }
.contact-form .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; font-weight: 700; color: #B42318; }
.contact-form .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 16px 20px;
  border: 2px solid var(--c-border-strong);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.8;
}
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-cyan); background: var(--c-cyan-pale); color: var(--c-text); }
.contact-form .wpcf7 form.invalid .wpcf7-response-output,
.contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.contact-form .wpcf7 form.payment-required .wpcf7-response-output { border-color: #D97706; background: #FFF7E6; color: var(--c-text); }
.contact-form .wpcf7 form.failed .wpcf7-response-output,
.contact-form .wpcf7 form.aborted .wpcf7-response-output,
.contact-form .wpcf7 form.spam .wpcf7-response-output { border-color: #B42318; background: #FDECEA; color: var(--c-text); }

/* ==========================================================================
   企業紹介・お問い合わせ：スマホ（760px以下）
   ========================================================================== */
@media (max-width: 760px) {
  .company-message, .company-profile, .company-history, .company-values { padding: 72px 0; }
  .company-message__inner, .company-profile__inner, .company-history__inner { flex-direction: column; gap: 32px; }
  .company-message__photo { flex-basis: auto; width: 100%; }
  .company-history__head { flex-basis: auto; }
  .company-table th, .company-table td { display: block; width: auto; }
  .company-table th { padding: 14px 16px; border-bottom: none; }
  .company-table td { padding: 12px 16px 18px; }
  .company-access { width: 100%; }
  .company-values__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }

  .contact-entries__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .contact-entry { min-height: 0; }
  .contact-entry__lead { margin-top: 18px; }
  .contact-main { padding: 40px 0 72px; }
  .contact-main__inner { flex-direction: column; }
  .contact-form { width: 100%; padding: 28px 20px; }
  .contact-aside { width: 100%; }
  .contact-form .wpcf7-checkbox,
  .contact-form .wpcf7-radio { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .contact-form .wpcf7-submit { width: 100%; padding: 18px 24px; }
}

/* ==========================================================================
   サービス詳細（配列版）
   ========================================================================== */
.sd { line-height: 1.5; }
/* 上下の余白は事業内容ページのセクションと同じ（PC 100px／スマホ 72px） */
.sd-sec { padding: 100px 0; background: var(--c-bg); }
.sd-sec--white { background: var(--c-white); }
.sd-sec--summary { padding: 56px 0; }
.sd-sec .sec-head + * { margin-top: 40px; }
.sd [id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* 要約 */
.sd-summary {
  max-width: 960px;
  padding: 28px 32px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-cyan);
  border-radius: 20px;
  font-size: 16px;
  line-height: 2;
  color: var(--c-text-body);
}

/* こんな課題はありませんか（伴走支援の項目にも使う） */
.sd-problems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; list-style: none; margin: 0; padding: 0; }
.sd-problems li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; background: var(--c-bg); border-radius: 14px; font-size: 15px; line-height: 1.8; color: var(--c-text-body); }
.sd-check { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; background: var(--c-cyan-pale); color: var(--c-teal); }

/* サービス内容・特長 */
.sd-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sd-card { padding: 30px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 20px; }
.sd-card__no, .sd-feature__no { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--c-cyan); }
.sd-card__title, .sd-feature__title { margin: 10px 0 10px; font-size: 18px; font-weight: 800; line-height: 1.5; }
.sd-card__text, .sd-feature__text { font-size: 14px; line-height: 1.95; color: var(--c-text-sub); }
.sd-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.sd-feature { padding: 30px; background: var(--c-bg); border-radius: 20px; }
.sd-note { margin-top: 16px; font-size: 13px; line-height: 1.8; color: var(--c-text-muted); }

/* 料金の目安 */
.sd-diagnosis { margin-bottom: 24px; }
.sd-table-wrap { overflow-x: auto; border: 1px solid var(--c-border); border-radius: 16px; background: var(--c-white); }
.sd-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.sd-table th, .sd-table td { padding: 16px 20px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.sd-table thead th { background: var(--c-navy-dark); color: var(--c-white); font-size: 13px; font-weight: 700; white-space: nowrap; }
.sd-table tbody th { font-weight: 700; color: var(--c-text); }
.sd-table tbody tr:last-child th, .sd-table tbody tr:last-child td { border-bottom: none; }
.sd-table__price { font-size: 16px; font-weight: 800; color: var(--c-teal); white-space: nowrap; }

/* 実績 */
.sd-results { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.sd-results li { position: relative; padding: 18px 22px 18px 44px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 14px; font-size: 15px; line-height: 1.9; color: var(--c-text-body); }
.sd-sec--white .sd-results li { background: var(--c-bg); border-color: var(--c-bg); }
.sd-results li::before { content: "●"; position: absolute; left: 20px; top: 18px; font-size: 11px; line-height: 2.6; color: var(--c-cyan); }
.sd-sub { margin: 48px 0 20px; font-size: 18px; font-weight: 800; }
.sd-more { margin-top: 20px; font-size: 14px; font-weight: 700; text-align: right; }
.sd-more a { color: var(--c-cyan); }

/* ご依頼の流れ（項目数に合わせて並べる） */
.sd-flow { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 40px; }
.sd-sec--white .svc-flow__step { background: var(--c-bg); }
.sd-sec:not(.sd-sec--white) .svc-flow__step { background: var(--c-white); }

/* Webマーケティング伴走支援（事業内容と詳細ページで共通） */
.retainer { padding: 100px 0; background: var(--c-bg); }
/* 同じ背景色のセクションのすぐ後では、上の余白を重ねない */
.sd-sec:not(.sd-sec--white):not(.sd-sec--summary) + .retainer { padding-top: 0; }
.retainer__box { display: flex; flex-wrap: wrap; gap: 40px; padding: 48px; border-radius: 28px; background: var(--c-navy-dark); color: var(--c-white); }
.retainer__main { flex: 1 1 380px; min-width: 0; }
.retainer__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.retainer__en { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--c-sky); }
.retainer__title { margin-top: 12px; font-size: 26px; font-weight: 800; line-height: 1.5; }
.retainer__text { margin-top: 16px; font-size: 15px; line-height: 2; color: var(--c-mist); }
.retainer__items { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.retainer__items li { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.7; }
.retainer__items .sd-check { width: 26px; height: 26px; background: rgba(56, 189, 248, .18); color: var(--c-sky); }
.retainer__price { font-size: 14px; line-height: 1.8; color: var(--c-mist); }
.retainer__btn { align-self: flex-start; white-space: normal; }

/* 関連サービス */
.sd-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sd-related__card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 24px; background: var(--c-bg); border-radius: 16px; font-size: 15px; font-weight: 800; color: var(--c-text); }
.sd-related__card:hover { color: var(--c-text); }
.sd-related__arrow { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 999px; background: var(--c-text); color: var(--c-white); }

@media (max-width: 760px) {
  .sd-sec, .retainer { padding: 72px 0; }
  .sd-sec--summary { padding: 40px 0; }
  .sd-sec:not(.sd-sec--white):not(.sd-sec--summary) + .retainer { padding-top: 0; }
  .sd-summary { padding: 22px 20px; font-size: 15px; }
  .sd-problems, .sd-cards, .sd-features, .sd-related { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .sd-card, .sd-feature { padding: 24px 20px; }
  .sd-table { min-width: 520px; }
  .retainer__box { padding: 32px 22px; gap: 28px; }
  .retainer__title { font-size: 22px; }
  .retainer__btn { align-self: stretch; text-align: center; }
}
