/* frectas のデザインのルール（research/2026-10-17-design-rules.md）
   残す要素: 六角形のロゴ、ロゴの青、ひし形のモチーフ、ネイビーのフッター
   独自の部品: 図面の「表題欄」にならった、項目名と値の罫線の枠（.tb） */
:root {
  --blue: #016dc4; /* ロゴの青: リンク・主ボタン・数字 */
  --facet-deep: #1156bb; /* ひし形の濃い面: 業種のラベル */
  --navy: #0d1b33; /* フッター・表題欄の枠・見出し */
  --ink: #26344b; /* 本文 */
  --sub: #55637a; /* 補足の文字 */
  --rule: #c9d3df; /* 罫線 */
  --tint: #f1f6fb; /* 表題欄の項目名の地 */
  --wrap: 1120px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family:
    "Instrument Sans", "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo,
    "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  font-feature-settings:
    "palt" 1,
    "kern" 1;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
@supports (text-autospace: normal) {
  body {
    text-autospace: normal;
  }
}
@supports (text-spacing-trim: normal) {
  body {
    text-spacing-trim: normal;
  }
}
@supports (word-break: auto-phrase) {
  h1,
  h2,
  h3 {
    word-break: auto-phrase;
    text-wrap: balance;
  }
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--blue);
  text-underline-position: under;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--facet-deep);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
}
em {
  font-style: normal;
  text-emphasis: filled sesame;
  text-emphasis-position: over right;
}
sup {
  color: var(--blue);
  font-size: 0.7em;
  margin-left: 1px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 48px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 8px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  z-index: 10;
}

/* ヘッダー */
.site-header {
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}
.brand img {
  display: block;
  height: 32px;
  width: auto;
}
.gnav {
  display: flex;
  align-items: center;
  gap: 4px 30px;
  flex-wrap: wrap;
  font-size: 14px;
}
.gnav a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  padding: 4px 0;
}
.gnav a[aria-current="page"] {
  color: var(--blue);
  box-shadow: inset 0 -2px 0 var(--blue);
}
.gnav .btn {
  padding: 9px 20px;
  font-size: 14px;
}

/* ボタン: 角の小さい長方形。矢印は付けない */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  border-radius: 3px;
  padding: 11px 26px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--facet-deep);
  border-color: var(--facet-deep);
  color: #fff;
}
.btn.secondary {
  background: #fff;
  color: var(--blue);
}
.btn.secondary:hover {
  background: var(--tint);
  color: var(--facet-deep);
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.textlink {
  color: var(--navy);
  font-weight: 700;
}

/* 表題欄 */
.tb {
  margin: 0;
  border: 2px solid var(--navy);
  font-size: 13px;
  line-height: 1.6;
  align-self: start;
  background: #fff;
}
.tb div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  border-top: 1px solid var(--navy);
}
.tb div:first-child {
  border-top: 0;
}
.tb dt {
  padding: 7px 10px;
  background: var(--tint);
  border-right: 1px solid var(--navy);
  font-weight: 700;
  color: var(--navy);
}
.tb dd {
  margin: 0;
  padding: 7px 10px;
}
.tb.wide {
  font-size: 15px;
}
.tb.wide div {
  grid-template-columns: 8em 1fr;
}
.tb.wide dt,
.tb.wide dd {
  padding: 12px 16px;
}
.tb ul {
  margin: 0;
  padding-left: 1.2em;
}

/* 数字 */
.figs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  margin-top: 24px;
}
.figs b {
  display: block;
  font-size: 30px;
  line-height: 1.3;
  color: var(--blue);
  letter-spacing: 0.01em;
}
.figs span {
  font-size: 13px;
  color: var(--sub);
}

/* 見出しの行（見出しと右側のリンク） */
.head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
}
.head h2 {
  font-size: 28px;
  margin: 0;
}
.block {
  padding-top: 96px;
}
.crumbs {
  font-size: 13px;
  color: var(--sub);
  margin: 0 0 18px;
}
.crumbs a {
  color: var(--sub);
}
.foot-note {
  font-size: 12px;
  color: var(--sub);
  margin: 14px 0 0;
}

/* トップ: ヒーロー */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero .wrap {
  position: relative;
  padding-top: 96px;
  padding-bottom: 88px;
}
.hero h1 {
  font-size: 50px;
  line-height: 1.4;
  margin: 0;
}
.hero .lead {
  max-width: 34em;
  margin: 28px 0 36px;
  font-size: 17px;
}
.hero .act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.hero .dia {
  position: absolute;
  right: 0;
  top: -8%;
  height: 128%;
  width: auto;
  max-width: none;
}

/* トップ: 裏付け（実績・進め方・拠点） */
.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  border-bottom: 1px solid var(--rule);
}
.proof div {
  padding: 26px 28px 28px 0;
}
.proof div + div {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
.proof dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--facet-deep);
  margin-bottom: 4px;
}
.proof dd {
  margin: 0;
  color: var(--navy);
}
.sec-lead {
  max-width: 40em;
  margin: -8px 0 28px;
}
.svc-table .grp th {
  padding-top: 26px;
  font-size: 13px;
  font-weight: 700;
  color: var(--facet-deep);
  border-top: 2px solid var(--navy);
}
.who .name {
  font-weight: 700;
  color: var(--navy);
}
.steps-h {
  font-size: 18px;
  margin: 6px 0 10px;
}
.lead-case .ind {
  display: block;
  margin-bottom: 6px;
}

/* トップ: 事例 */
.lead-case {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 36px 0;
  border-top: 2px solid var(--navy);
}
.lead-case h3 {
  font-size: 26px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.lead-case h3 a {
  color: inherit;
  text-decoration: none;
}
.lead-case h3 a:hover {
  color: var(--blue);
}
.lead-case p {
  margin: 0;
  max-width: 36em;
}
.sub-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.sub-cases a {
  display: block;
  padding: 24px 28px 26px 0;
  color: var(--ink);
  text-decoration: none;
}
.sub-cases a + a {
  padding-left: 28px;
  border-left: 1px solid var(--rule);
}
.sub-cases a:hover h3 {
  color: var(--blue);
}
.ind {
  font-size: 13px;
  color: var(--facet-deep);
  font-weight: 700;
}
.sub-cases h3 {
  font-size: 18px;
  line-height: 1.55;
  margin: 6px 0 8px;
}
.sub-cases p {
  margin: 0;
  font-size: 14px;
}

/* トップ: 誰が、どう作るか */
.who {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
.who h2 {
  font-size: 28px;
  margin: 0 0 18px;
}
.who p {
  margin: 0 0 16px;
  max-width: 30em;
}
.steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  counter-reset: s;
}
.steps li {
  counter-increment: s;
  display: grid;
  grid-template-columns: 44px 1fr;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.steps li:last-child {
  border-bottom: 1px solid var(--rule);
}
.steps li::before {
  content: counter(s);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.5;
}
.steps b {
  display: block;
  color: var(--navy);
}
.steps span {
  font-size: 14px;
}

/* 料金の表（トップ・サービス一覧） */
.svc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.svc-table th,
.svc-table td {
  padding: 15px 16px 15px 0;
  border-top: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}
.svc-table tr:last-child th,
.svc-table tr:last-child td {
  border-bottom: 1px solid var(--rule);
}
.svc-table th a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
}
.svc-table th a:hover {
  color: var(--blue);
}
.svc-table th {
  width: 13em;
}
.svc-table .price {
  color: var(--navy);
  text-align: right;
  padding-right: 0;
  width: 15em;
}
.svc-table thead th {
  font-size: 13px;
  color: var(--sub);
  border-top: 2px solid var(--navy);
}

/* 記事の一覧 */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}
.post-list a {
  display: grid;
  grid-template-columns: 8em 1fr 12em;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.post-list a:hover .t {
  color: var(--blue);
}
.post-list time,
.post-list .c {
  font-size: 13px;
  color: var(--sub);
  padding-top: 2px;
}
.post-list .t {
  color: var(--navy);
  font-weight: 700;
}

/* 一覧ページの冒頭 */
.intro {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: end;
}
.intro h1 {
  font-size: 37px;
  margin: 0;
}
.intro p {
  margin: 0;
  max-width: 30em;
}

/* 事例の一覧 */
.case-rows {
  border-top: 2px solid var(--navy);
}
.case-row {
  display: grid;
  grid-template-columns: 270px 1fr 200px;
  gap: 40px;
  padding: 34px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
}
.case-row h2 {
  font-size: 22px;
  line-height: 1.55;
  margin: 0 0 10px;
}
.case-row:hover h2 {
  color: var(--blue);
}
.case-row p {
  margin: 0;
  max-width: 34em;
}
.case-row .fig {
  text-align: right;
}
.case-row .fig b {
  display: block;
  font-size: 26px;
  line-height: 1.3;
  color: var(--blue);
}
.case-row .fig span {
  font-size: 12px;
  color: var(--sub);
}

/* 詳細ページの冒頭（事例・サービス・記事） */
.page-top {
  padding: 56px 0 48px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  border-bottom: 2px solid var(--navy);
}
.page-top.single {
  grid-template-columns: 1fr;
}
.page-top h1 {
  font-size: 37px;
  line-height: 1.45;
  margin: 0 0 20px;
}
.page-top .lead {
  font-size: 17px;
  margin: 0;
  max-width: 32em;
}
.page-top .meta {
  font-size: 13px;
  color: var(--sub);
  margin: 18px 0 0;
}
.page-top .act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}
.detail.single {
  grid-template-columns: 1fr;
}
.detail aside {
  padding-top: 64px;
  font-size: 14px;
}
.detail aside h2 {
  font-size: 14px;
  margin: 0 0 10px;
}
.detail aside a {
  display: block;
  margin-bottom: 8px;
}
.detail aside .group + .group {
  margin-top: 28px;
}

/* 本文 */
.prose {
  max-width: 38em;
  padding-top: 24px;
}
.prose h2 {
  font-size: 22px;
  line-height: 1.55;
  margin: 48px 0 14px;
}
.prose h3 {
  font-size: 18px;
  margin: 32px 0 10px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 18px;
}
.prose li {
  margin-bottom: 4px;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  margin: 8px 0 24px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 9px 14px 9px 0;
  text-align: left;
  vertical-align: top;
  font-feature-settings: normal;
}
.prose thead th {
  color: var(--navy);
  border-top: 2px solid var(--navy);
}
.prose blockquote {
  margin: 0 0 18px;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--blue);
  color: var(--sub);
}
.prose code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 0.88em;
  background: var(--tint);
  padding: 1px 5px;
  border-radius: 2px;
  font-feature-settings: normal;
}
.prose pre {
  background: var(--navy);
  color: #e6edf5;
  padding: 16px;
  border-radius: 3px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.pr-note {
  font-size: 13px;
  color: var(--sub);
  border: 1px solid var(--rule);
  padding: 8px 12px;
  margin: 0 0 8px;
  max-width: 38em;
}
.pr-label {
  font-size: 11px;
  color: var(--sub);
  margin-left: 4px;
}

/* 注記（数字の根拠をページの下にまとめる） */
.notes {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 20px;
  font-size: 13px;
  max-width: 52em;
  color: var(--sub);
}
.notes h2 {
  font-size: 14px;
  margin: 0 0 8px;
}
.notes ol {
  margin: 0;
  padding-left: 1.6em;
}
.notes li {
  margin-bottom: 6px;
}

/* よくある質問 */
.faq {
  max-width: 52em;
  margin-top: 72px;
}
.faq h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
.faq details {
  border-top: 1px solid var(--rule);
}
.faq details:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 0;
}
.faq details p {
  margin: 0;
  padding: 0 0 16px;
}

/* 関連する事例・サービス */
.related {
  margin-top: 72px;
}
.related h2 {
  font-size: 22px;
  margin: 0 0 16px;
}
.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--navy);
}
.link-list a {
  display: grid;
  grid-template-columns: 14em 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.link-list a b {
  color: var(--navy);
}
.link-list a:hover b {
  color: var(--blue);
}
.link-list a span {
  font-size: 14px;
}

/* 相談・資料請求の呼びかけ */
.close {
  padding-top: 88px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
.close p {
  margin: 0;
  font-size: 20px;
  color: var(--navy);
  font-weight: 700;
}
.close .act {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

/* フォーム */
.form {
  display: grid;
  gap: 18px;
  margin: 32px 0;
  max-width: 40em;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding: 10px 12px;
  border: 1px solid #9fb0c4;
  border-radius: 3px;
  width: 100%;
  background: #fff;
}
.form .check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  color: var(--ink);
}
.form .check input {
  width: auto;
}
.req {
  font-size: 12px;
  color: var(--blue);
  margin-left: 6px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-msg {
  margin: 0;
}

/* フッター */
.site-footer {
  background: var(--navy);
  color: #c7d2e0;
  margin-top: 96px;
  position: relative;
  overflow: hidden;
  font-size: 14px;
}
.site-footer .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.site-footer .logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site-footer p {
  margin: 14px 0 0;
  line-height: 1.9;
}
.site-footer h2 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 12px;
}
.site-footer a {
  display: block;
  color: #c7d2e0;
  text-decoration: none;
  line-height: 2.1;
}
.site-footer a:hover {
  color: #fff;
}
/* 相談の帯のひし形（右上）と対角になるよう、フッターのひし形は左下に置く */
.site-footer .mark {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 200px;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.site-footer small {
  display: block;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 48px;
  border-top: 1px solid #2a3b57;
  color: #8ea0b8;
  position: relative;
}

/* スマホ・タブレット */
@media (max-width: 900px) {
  .wrap {
    padding: 0 20px;
  }
  .site-header .wrap {
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 12px;
  }
  .gnav {
    width: 100%;
    gap: 4px 18px;
    font-size: 13px;
  }
  .gnav .btn {
    margin-left: auto;
  }
  .hero .wrap {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero h1 {
    font-size: 30px;
  }
  .hero h1 br {
    display: none;
  }
  .hero .dia {
    height: 46%;
    top: 0;
    opacity: 0.25;
  }
  .lead-case,
  .who,
  .intro,
  .case-row,
  .page-top,
  .detail,
  .site-footer .wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sub-cases,
  .proof {
    grid-template-columns: 1fr;
  }
  .proof div,
  .proof div + div {
    padding: 16px 0;
    border-left: 0;
  }
  .proof div + div {
    border-top: 1px solid var(--rule);
  }
  .sub-cases a,
  .sub-cases a + a {
    padding: 20px 0;
    border-left: 0;
  }
  .sub-cases a + a {
    border-top: 1px solid var(--rule);
  }
  .case-row .fig {
    text-align: left;
  }
  .intro h1,
  .page-top h1 {
    font-size: 28px;
  }
  .block {
    padding-top: 64px;
  }
  .detail aside {
    padding-top: 8px;
  }
  .post-list a,
  .link-list a {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .svc-table thead {
    display: none;
  }
  .svc-table tr {
    display: grid;
    border-top: 1px solid var(--rule);
    padding: 12px 0;
  }
  .svc-table th,
  .svc-table td,
  .svc-table tr:last-child th,
  .svc-table tr:last-child td {
    border: 0;
    padding: 2px 0;
  }
  .svc-table .price {
    text-align: left;
  }
  .site-footer .mark {
    height: 120px;
    opacity: 0.5;
  }
  .site-footer small {
    padding: 16px 20px;
  }
}

/* ===== 2026-10-21 ブラッシュアップ（research/2026-10-17-reference-sites.md） ===== */

/* セクションと見出し: 小さな英字のラベル＋日本語の見出し */
.sec {
  padding: 120px 0;
}
.sec-s {
  padding: 72px 0 96px;
}
.tint {
  background: linear-gradient(180deg, #eef5fc, #f7fafd);
}
.lbl {
  display: block;
  font-family: "Instrument Sans", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.sh {
  margin-bottom: 44px;
}
.sh h2 {
  font-size: 38px;
  margin: 0;
  letter-spacing: 0.05em;
}
.sh p {
  margin: 14px 0 0;
  max-width: 40em;
}
.more {
  margin: 28px 0 0;
  text-align: right;
  font-weight: 700;
}

/* トップのヒーロー */
.hero2 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf3fc 0%, #fff 60%);
}
.hero2 .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: 660px;
  padding-top: 40px;
  padding-bottom: 120px;
}
.hero2 h1 {
  font-size: 60px;
  line-height: 1.35;
  margin: 0;
}
.hero2 .lead {
  font-size: 18px;
  line-height: 1.9;
  margin: 28px 0 40px;
  max-width: 30em;
}
.hero2 .act,
.phero .act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

/* ひし形に切り抜いた写真と、ゆっくり動くひし形（元のサイトの動きを引き継ぐ） */
.vis {
  position: relative;
  height: 560px;
}
.vis .ph {
  position: absolute;
  left: 4%;
  top: 0;
  width: 92%;
  aspect-ratio: 1;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: center / cover no-repeat;
}
.vis .d {
  position: absolute;
  transform: rotate(45deg);
  animation: float 7s ease-in-out infinite;
}
.vis .d1 {
  width: 150px;
  height: 150px;
  border-radius: 14px;
  background: #18b3f0;
  right: -2%;
  top: 2%;
}
.vis .d2 {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: var(--facet-deep);
  left: 2%;
  bottom: 6%;
  animation-duration: 9s;
}
.vis .d3 {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #3e6ed7;
  right: 6%;
  bottom: 16%;
  animation-duration: 6s;
}
.vis .d4 {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #0db2f0;
  left: 8%;
  top: 10%;
  animation-duration: 8s;
}
.vis.small {
  height: 340px;
}
.vis.small .ph {
  left: 10%;
  width: 80%;
}
.vis.small .d1 {
  width: 92px;
  height: 92px;
}
.vis.small .d2 {
  width: 56px;
  height: 56px;
}
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}

/* 実績の帯（ヒーローに重ねる白い面） */
.proof2 {
  position: relative;
  z-index: 2;
  margin: -72px 0 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(13, 27, 51, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof2 div {
  padding: 28px 32px;
}
.proof2 div + div {
  border-left: 1px solid var(--rule);
}
.proof2 dt {
  font-weight: 700;
  color: var(--facet-deep);
  font-size: 13px;
}
.proof2 dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.7;
}
.proof2 dd small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--sub);
}

/* サービスのカード（写真つき） */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.card2 {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--rule);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card2:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(13, 27, 51, 0.12),
    0 0 0 1px var(--rule);
}
.card2 .img {
  height: 210px;
  position: relative;
  overflow: hidden;
  background: var(--tint);
}
.card2 .img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card2 .img span {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  font-size: 15px;
}
.card2 .body {
  padding: 22px 28px 26px;
}
.card2 .body > p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--sub);
}
.card2 ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.card2 li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}
.card2 li a:hover {
  color: var(--blue);
}
.card2 li em {
  font-style: normal;
  text-emphasis: none;
  color: var(--blue);
  white-space: nowrap;
  font-size: 14px;
}
.card2 li em small {
  color: var(--sub);
  font-weight: 400;
  font-size: 11px;
}

/* 進め方（4つの手順を横に） */
.process {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: s;
}
.process li {
  counter-increment: s;
  position: relative;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--rule);
  padding: 64px 24px 26px;
}
.process li::before {
  content: counter(s);
  position: absolute;
  left: 24px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.process li + li::after {
  content: "";
  position: absolute;
  left: -24px;
  top: 36px;
  width: 24px;
  border-top: 2px dashed #9fc0e3;
}
.process b {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}
.process span {
  font-size: 14px;
}

/* 事例 */
.case-lead {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  background: #fff;
  border-radius: 6px;
  padding: 40px 44px;
  box-shadow: 0 0 0 1px var(--rule);
}
.case-lead h3 {
  font-size: 28px;
  margin: 6px 0 14px;
  line-height: 1.5;
}
.case-lead h3 a {
  color: inherit;
  text-decoration: none;
}
.case-lead h3 a:hover {
  color: var(--blue);
}
.case-lead p {
  margin: 0;
}
.case-lead .figs b {
  font-size: 42px;
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.case-card {
  display: block;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(13, 27, 51, 0.12),
    0 0 0 1px var(--rule);
}
.case-card .band {
  height: 96px;
  background: var(--navy) url(/diamond-right-navy.svg) right center / auto 160% no-repeat;
  position: relative;
}
.case-card .band span {
  position: absolute;
  left: 22px;
  bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.case-card .t {
  padding: 18px 22px 22px;
}
.case-card h2,
.case-card h3 {
  font-size: 17px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.case-card:hover h2,
.case-card:hover h3 {
  color: var(--blue);
}
.case-card p {
  margin: 0;
  font-size: 13px;
  color: var(--sub);
}
.case-card .fig {
  margin-top: 10px;
  font-size: 12px;
}
.case-card .fig b {
  display: block;
  font-size: 24px;
  color: var(--blue);
  line-height: 1.3;
}

/* 写真を敷いたネイビーの帯（大切にしていること） */
.msg {
  color: #dbe4ef;
  background:
    linear-gradient(rgba(13, 27, 51, 0.88), rgba(13, 27, 51, 0.93)),
    url(/img/business-meeting-data-viz.webp) center / cover;
}
.msg .sh h2 {
  color: #fff;
}
.msg .lbl {
  color: #7cc4f5;
}
.vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #33476a;
}
.vals div {
  padding: 28px 28px 0 0;
}
.vals div + div {
  padding-left: 28px;
  border-left: 1px solid #33476a;
}
.vals h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 10px;
}
.vals p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

/* 資料の案内 */
.doc {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: center;
  background: #fff;
  border-radius: 6px;
  padding: 44px;
  box-shadow: 0 0 0 1px var(--rule);
}
.doc img,
.doc-cover {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 16px 40px rgba(13, 27, 51, 0.16);
  transform: rotate(-2deg);
}
.doc h2 {
  font-size: 30px;
  margin: 0 0 12px;
}

/* 最後の相談の帯 */
.cta2 {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #dbe4ef;
  text-align: center;
  padding: 96px 0;
}
.cta2 .wrap {
  position: relative;
}
.cta2 h2 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 14px;
}
.cta2 p {
  margin: 0;
}
.cta2 .act {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 30px;
}
.cta2 .dia {
  position: absolute;
  right: -40px;
  top: -30px;
  height: 140%;
  width: auto;
  max-width: none;
}
.btn.inv {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn.inv.secondary {
  background: transparent;
  color: #fff;
}
.btn.inv:hover {
  background: var(--tint);
  color: var(--navy);
}
.btn.inv.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.cta2 + .site-footer,
.site-footer {
  margin-top: 0;
}
.site-footer {
  border-top: 1px solid #2a3b57;
}

/* 下層ページの冒頭 */
.phero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #eaf3fc 0%, #fff 70%);
  border-bottom: 1px solid var(--rule);
}
.phero .wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}
.phero .wrap.single {
  grid-template-columns: minmax(0, 760px);
  position: relative;
}
/* 下層ページの冒頭: 写真は使わず、ひし形の図形だけを右端に置く */
.phero-dia {
  position: absolute;
  right: 0;
  top: -12%;
  height: 124%;
  width: auto;
  max-width: none;
  pointer-events: none;
}
.phero h1 {
  font-size: 40px;
  line-height: 1.45;
  margin: 0 0 18px;
}
.phero .lead {
  font-size: 17px;
  margin: 0;
  max-width: 36em;
}
.phero .lead p {
  margin: 0 0 8px;
}
.phero .act {
  margin-top: 28px;
}
.phero .meta {
  font-size: 13px;
  color: var(--sub);
  margin: 18px 0 0;
}
.phero .figs {
  margin-top: 26px;
}
.phero .tb {
  background: #fff;
}
.phero + .wrap .proof2 {
  margin-top: -36px;
}

/* スクロールで表示する（元のサイトの演出を引き継ぐ） */
.fade {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity 0.7s ease,
    translate 0.7s ease;
}
.fade.in {
  opacity: 1;
  translate: 0 0;
}
@media (prefers-reduced-motion: reduce) {
  .vis .d {
    animation: none;
  }
  .fade {
    opacity: 1;
    translate: none;
    transition: none;
  }
  .card2,
  .case-card {
    transition: none;
  }
}

@media (max-width: 900px) {
  .sec {
    padding: 72px 0;
  }
  .sec-s {
    padding: 48px 0 64px;
  }
  .sh h2 {
    font-size: 28px;
  }
  .hero2 .wrap,
  .phero .wrap,
  .cards,
  .case-lead,
  .case-grid,
  .vals,
  .doc,
  .proof2,
  .process {
    grid-template-columns: 1fr;
  }
  .hero2 .wrap {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 100px;
  }
  .hero2 h1 {
    font-size: 34px;
  }
  .hero2 h1 br {
    display: none;
  }
  .vis {
    height: 300px;
    order: -1;
  }
  .vis.small {
    height: 240px;
  }
  .phero h1 {
    font-size: 28px;
  }
  .proof2 div + div,
  .vals div + div {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding-left: 0;
  }
  .proof2 div {
    padding: 20px 24px;
  }
  .proof2 div + div {
    padding-left: 24px;
  }
  .vals div + div {
    border-top-color: #33476a;
  }
  .vals div {
    padding: 22px 0;
  }
  .case-lead {
    padding: 28px 24px;
  }
  .process li + li::after {
    display: none;
  }
  .doc {
    padding: 28px 24px;
    gap: 28px;
  }
  .cta2 .dia {
    opacity: 0.35;
  }
  .phero-dia {
    opacity: 0.2;
  }
}

/* ヘッダーの小さなボタンと、スマホのメニュー */
.btn.sm {
  padding: 7px 16px;
  font-size: 13px;
}
.gnav .btn.sm {
  padding: 7px 16px;
  font-size: 13px;
}
.gnav .btn.secondary {
  margin-left: 6px;
}
.menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  color: var(--navy);
  cursor: pointer;
}
.menu-btn .bars,
.menu-btn .bars::before,
.menu-btn .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s;
}
.menu-btn .bars::before,
.menu-btn .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn .bars::before {
  top: -6px;
}
.menu-btn .bars::after {
  top: 6px;
}
.menu-btn[aria-expanded="true"] .bars {
  background: transparent;
}
.menu-btn[aria-expanded="true"] .bars::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .bars::after {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 900px) {
  .site-header .wrap {
    flex-wrap: wrap;
    min-height: 64px;
  }
  .menu-btn {
    display: inline-flex;
  }
  .gnav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 14px;
    font-size: 15px;
  }
  .gnav.open {
    display: flex;
  }
  .gnav a:not(.btn) {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
  }
  .gnav a[aria-current="page"] {
    box-shadow: none;
  }
  .gnav .btn,
  .gnav .btn.sm {
    margin: 10px 0 0;
    text-align: center;
    padding: 11px 16px;
    font-size: 15px;
  }
}

/* 業務の流れ図 */
.flow2 {
  margin: 48px 0 0;
  padding: 28px 32px 30px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 0 1px var(--rule);
}
.flow-wrap .flow2 {
  margin-top: 56px;
}
.flow2 figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 18px;
  color: var(--navy);
}
.flow2 .lg {
  font-size: 12px;
  color: var(--sub);
  display: flex;
  align-items: center;
  gap: 6px;
}
.flow2 .lg i + i {
  margin-left: 10px;
}
.flow2 i {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--sub);
  border-radius: 3px;
  padding: 1px 7px;
  line-height: 1.6;
}
.flow2 i.ai,
.flow2 li.ai i {
  background: var(--blue);
}
.flow2 i.hu,
.flow2 li.hu i {
  background: var(--navy);
}
.flow2 ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 28px;
}
.flow2 li {
  position: relative;
  flex: 1;
  background: var(--tint);
  border-radius: 6px;
  padding: 14px 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.flow2 li.ai {
  background: #e6f2fc;
  box-shadow: inset 0 0 0 1px #b5d6f2;
}
.flow2 li.hu {
  background: #eef0f5;
  box-shadow: inset 0 0 0 1px #c9cfdb;
}
.flow2 li + li::before {
  content: "";
  position: absolute;
  left: -22px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg) scale(0.6);
}
@media (max-width: 900px) {
  .flow2 {
    padding: 22px 20px;
  }
  .flow2 ol {
    flex-direction: column;
    gap: 22px;
  }
  .flow2 li + li::before {
    left: 50%;
    top: -19px;
    margin: 0 0 0 -8px;
    transform: rotate(135deg) scale(0.6);
  }
}

/* 業界から探す */
.ind-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 32px;
  padding: 18px 22px;
  background: var(--tint);
  border-radius: 6px;
}
.ind-strip b {
  color: var(--navy);
  font-size: 14px;
  margin-right: 8px;
}
.ind-strip a {
  background: #fff;
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--rule);
}
.ind-strip a:hover {
  box-shadow: 0 0 0 1px var(--blue);
}
.ind-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ind-card {
  display: block;
  padding: 30px 32px 32px;
  border-radius: 6px;
  background: #fff url(/diamond-right.svg) right -60px bottom -40px / 180px no-repeat;
  box-shadow: 0 0 0 1px var(--rule);
  text-decoration: none;
  color: var(--ink);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px rgba(13, 27, 51, 0.12),
    0 0 0 1px var(--rule);
}
.ind-card h2 {
  font-size: 22px;
  margin: 0 0 10px;
}
.ind-card:hover h2 {
  color: var(--blue);
}
.ind-card p {
  margin: 0;
  font-size: 14px;
  max-width: 30em;
}
@media (max-width: 900px) {
  .ind-grid {
    grid-template-columns: 1fr;
  }
}
