@charset "UTF-8";
/* ===========================================================================
   site.css — 共通デザインシステム

   Google Stitch で起こした「C案：ダークテーマのテック系レイアウト」を、
   外部CDNに依存しない形で実装したもの。
     ・細い枠線で区切る。影はほとんど使わない
     ・角は 2px 程度のごく浅い丸み
     ・小さな英字ラベルは等幅書体
     ・アクセント色は数字・印・ボタン・区切り線にだけ効かせる

   面の色（明るい/暗い）とアクセント色は brand.css が決める。
   このファイルは構造だけを持ち、サイトごとの色は一切持たない。
     cruzy.jp        … 濃紺のダークテーマ + アンバー
     unitechjapan.jp … 白背景 + 赤

   和文フォントは tools/build-fonts.py が用意した fonts.css（自前ホスト）。
   両サイトのズレは tools/sync-parts.py が検出する。
   =========================================================================== */

/* --- 構造トークン（色は brand.css 側） ------------------------------------- */
:root {
  /* brand.css が必ず上書きする。ここの値は読み込み順が崩れたときの保険 */
  --bg: #0c1322;
  --bg-sunken: #090f1b;
  --bg-raised: #151b2b;
  --bg-raised-2: #1c2332;
  --ink: #dce2f8;
  --ink-600: #a2aec8;
  --ink-400: #74809a;
  --line: #262e40;
  --line-soft: #1b2232;
  --accent: #f5a700;
  --accent-ink: #ffc97a;      /* 面に乗せる文字色として読める明るさ */
  --accent-contrast: #2a1c00; /* --accent の面に乗せる文字色 */
  --accent-soft: #241c0c;     /* タグ・アイコン枠の淡い面 */

  --gutter: 20px;
  --measure: 1240px;
  --measure-text: 800px;

  --r: 3px;
  --r-pill: 999px;

  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --font-label: ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Noto Sans Mono", "Noto Sans JP", monospace;

  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --- リセット -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* .form や .nav には display を指定しているため、UA 既定の [hidden]{display:none}
   が負けてしまう。hidden 属性は常に効いてほしいので明示的に勝たせる。 */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt" 1;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.5; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
table { border-collapse: collapse; }

a { color: var(--accent-ink); text-underline-offset: 0.22em; transition: color 0.15s var(--ease); }
a:hover { color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* --- レイアウト基本 -------------------------------------------------------- */
.layout { display: flex; flex-direction: column; min-height: 100dvh; }
.layout > main { flex: 1; }

.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--measure-text); }

.section { padding-block: clamp(54px, 7vw, 100px); }
.section--sunken { background: var(--bg-sunken); border-block: 1px solid var(--line-soft); }
.section--tight { padding-block: clamp(36px, 4.5vw, 64px); }

.stack > * + * { margin-top: var(--stack-gap, 20px); }
.stack--sm { --stack-gap: 12px; }
.stack--lg { --stack-gap: 40px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-contrast);
  padding: 12px 20px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--accent-contrast); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.center { text-align: center; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* --- 小さな英字ラベル ------------------------------------------------------ */
.label {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-label);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-ink);
}
.label::before { content: ""; width: 6px; height: 6px; background: var(--accent); flex: none; }
.label--muted { color: var(--ink-400); }
.label--bare::before { display: none; }

/* 枠で囲ったラベル（ヒーローやCTAの頭に置く） */
.label--pill {
  padding: 8px 16px 8px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bg-raised);
  text-transform: none; letter-spacing: 0.07em; font-size: 0.76rem;
}

.section-head { margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .label { margin-bottom: 16px; }
.section-head--center { text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head--center .lede { margin-inline: auto; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row .lede { max-width: 30em; }

/* --- 見出し ---------------------------------------------------------------- */
.h-xl { font-size: clamp(1.85rem, 1.15rem + 2.5vw, 2.95rem); font-weight: 900; line-height: 1.36; letter-spacing: -0.012em; text-wrap: balance; }
.h-lg { font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.2rem); font-weight: 900; line-height: 1.44; letter-spacing: -0.008em; text-wrap: balance; }
.h-md { font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.38rem); font-weight: 700; }
.h-sm { font-size: 1.02rem; font-weight: 700; }

.lede { font-size: clamp(0.96rem, 0.94rem + 0.2vw, 1.05rem); color: var(--ink-600); max-width: 50em; }
.muted { color: var(--ink-600); }
.small { font-size: 0.85rem; }

/* --- 本文（規約・ポリシー・記事） ------------------------------------------ */
.prose { font-size: 0.97rem; color: var(--ink-600); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 {
  color: var(--ink);
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.5rem); font-weight: 900;
  margin-top: 2.6em; padding-bottom: 0.6em;
  border-bottom: 1px solid var(--line); position: relative;
}
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--accent); }
.prose h3 { color: var(--ink); font-size: 1.06rem; margin-top: 2em; padding-left: 13px; border-left: 3px solid var(--accent); }
.prose h4 { color: var(--ink); font-size: 0.97rem; margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.45em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose img { border: 1px solid var(--line); border-radius: var(--r); margin-block: 2em; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--font-label); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--ink-400); margin-top: 0.7em; }
.prose > :first-child { margin-top: 0; }

/* --- ヘッダー -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

/* ロゴ: マークは小さくても読める「菱形だけ」を使い、社名は HTML の文字で出す。
   画像に焼き込まれた社名はヘッダーの大きさでは潰れて読めないため。 */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; height: 34px; flex: none; }
.brand__name { display: block; line-height: 1.3; }
.brand__ja { display: block; font-size: 1.02rem; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.brand__en {
  display: block;
  font-family: var(--font-label);
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-400); margin-top: 2px;
}
@media (max-width: 420px) {
  .brand__ja { font-size: 0.9rem; }
  .brand img { width: 30px; height: 30px; }
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  display: block; position: relative;
  padding: 10px 14px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink-600); text-decoration: none;
  transition: color 0.15s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.18s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 700; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 21px; height: 21px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    display: block; padding: 8px var(--gutter) 24px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav__list { display: block; }
  .nav__link { padding: 15px 2px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); }
  .nav__link::after { display: none; }
  .nav .btn { width: 100%; margin-top: 16px; justify-content: center; }
}

/* --- ボタン ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent; border-radius: var(--r);
  font: inherit; font-size: 0.92rem; font-weight: 700; line-height: 1.4;
  text-decoration: none; cursor: pointer;
  transition: background 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease), transform 0.12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-ink); color: var(--accent-contrast); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-raised); color: var(--ink); border-color: var(--accent); }

.btn--sm { padding: 9px 17px; font-size: 0.83rem; }
.btn--lg { padding: 16px 32px; font-size: 0.98rem; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 700; text-decoration: none;
  color: var(--accent-ink);
}
.link-arrow .icon { width: 15px; height: 15px; transition: transform 0.18s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* --- ヒーロー -------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft); }
/* 背景にごく薄いグリッドを敷く（テック感の下地） */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.hero__inner { position: relative; display: grid; gap: clamp(34px, 4vw, 56px); align-items: center; padding-block: clamp(50px, 6.5vw, 96px); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }

.hero__title { font-size: clamp(1.95rem, 1.2rem + 2.7vw, 3.1rem); font-weight: 900; line-height: 1.34; letter-spacing: -0.018em; text-wrap: balance; }
.hero__title em { font-style: normal; color: var(--accent-ink); }
.hero__lede { font-size: clamp(0.97rem, 0.95rem + 0.25vw, 1.06rem); color: var(--ink-600); max-width: 40em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; }

.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; }
.hero__checks li { display: flex; align-items: center; gap: 9px; font-size: 0.83rem; color: var(--ink-600); }
.hero__checks .icon { width: 17px; height: 17px; color: var(--accent); }

/* 画像を囲むフレーム（上に小さなラベル帯を載せる） */
.frame { border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-raised); overflow: hidden; }
.frame__bar {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 15px; border-bottom: 1px solid var(--line);
  font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-400);
}
.frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.frame__note {
  display: flex; align-items: center; gap: 11px;
  padding: 13px 15px; border-top: 1px solid var(--line);
  font-size: 0.8rem; color: var(--ink-600);
}
.frame__note .icon { width: 18px; height: 18px; color: var(--accent); }
.frame__note strong { color: var(--ink); font-weight: 700; }

/* --- ページ見出し（下層ページ） -------------------------------------------- */
.page-head { border-bottom: 1px solid var(--line-soft); background: var(--bg-sunken); padding-block: clamp(22px, 3vw, 34px) clamp(34px, 4.5vw, 56px); }
.page-head__title { margin-top: 18px; }
.page-head .lede { margin-top: 18px; }
.page-head .label { margin-top: 20px; }

/* --- パンくず -------------------------------------------------------------- */
.breadcrumb { font-family: var(--font-label); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--ink-400); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { color: var(--ink-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-ink); }

/* --- グリッド -------------------------------------------------------------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* --- カード ---------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 26px;
  background: var(--bg-raised);
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), transform 0.18s var(--ease);
}
.card__title { font-size: 1.05rem; font-weight: 700; line-height: 1.55; color: var(--ink); }
.card__text { font-size: 0.89rem; color: var(--ink-600); line-height: 1.95; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }

.card--link { text-decoration: none; color: inherit; }
.card--link:hover { background: var(--bg-raised-2); border-color: var(--accent); transform: translateY(-2px); color: inherit; }
.card--link:hover .card__title { color: var(--accent-ink); }

.card__points { list-style: none; display: grid; gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.card__points li { display: flex; gap: 9px; font-size: 0.8rem; color: var(--ink-600); line-height: 1.75; }
.card__points .icon { width: 15px; height: 15px; color: var(--accent); margin-top: 0.3em; }

.card__more { margin-top: auto; padding-top: 6px; font-size: 0.85rem; font-weight: 700; color: var(--accent-ink); display: inline-flex; align-items: center; gap: 7px; }
.card__more .icon { width: 14px; height: 14px; transition: transform 0.18s var(--ease); }
.card--link:hover .card__more .icon { transform: translateX(4px); }

.icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--accent-soft); border: 1px solid var(--line);
  color: var(--accent-ink); flex: none;
}
.icon-box .icon { width: 21px; height: 21px; }

.tag {
  display: inline-block; padding: 4px 11px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--accent-soft);
  font-family: var(--font-label); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-ink); white-space: nowrap;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.card > .tag, .card > .icon-box { align-self: start; }

/* --- 統計 ------------------------------------------------------------------ */
.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat { padding: 26px 24px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r); }
.stat__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stat__label { font-family: var(--font-label); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-400); }
.stat__head .icon { width: 17px; height: 17px; color: var(--ink-400); }
.stat__value {
  font-size: clamp(2rem, 1.5rem + 1.9vw, 2.7rem); font-weight: 900; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--accent-ink);
  font-variant-numeric: tabular-nums; margin-top: 14px;
}
.stat__value small { font-size: 0.4em; font-weight: 700; letter-spacing: 0; margin-left: 3px; }
.stat__name { font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-top: 10px; }
.stat__note { font-size: 0.77rem; color: var(--ink-400); margin-top: 5px; line-height: 1.8; }

/* --- お知らせ -------------------------------------------------------------- */
.news-list { list-style: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--bg-raised); }
.news-item + .news-item { border-top: 1px solid var(--line-soft); }
.news-item__link {
  display: grid; gap: 5px 20px; padding: 20px 24px;
  text-decoration: none; color: inherit; align-items: center;
  transition: background 0.15s var(--ease);
}
.news-item__link:hover { background: var(--bg-raised-2); color: inherit; }
.news-item__link:hover .news-item__title { color: var(--accent-ink); }
@media (min-width: 820px) { .news-item__link { grid-template-columns: 104px 118px 1fr 22px; } }
.news-item__date { font-family: var(--font-label); font-size: 0.73rem; letter-spacing: 0.06em; color: var(--ink-400); }
.news-item__title { font-size: 0.95rem; font-weight: 700; line-height: 1.65; color: var(--ink); }
.news-item__arrow { color: var(--ink-400); justify-self: end; }
.news-item__link:hover .news-item__arrow { color: var(--accent); }
@media (max-width: 819px) { .news-item__arrow { display: none; } }
.news-item__excerpt { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-600); }
@media (min-width: 820px) { .news-item__excerpt { grid-column: 3 / 5; } }

/* --- 定義テーブル ---------------------------------------------------------- */
.panel { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.panel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 24px; border-bottom: 1px solid var(--line); background: var(--bg-sunken);
}
.panel__head .label { color: var(--ink); }
.panel__body { padding: 24px; }
.panel__body > :first-child { margin-top: 0; }

.spec { width: 100%; font-size: 0.92rem; }
.spec th, .spec td { padding: 17px 22px; text-align: left; vertical-align: top; color: var(--ink-600); }
.spec tr + tr th, .spec tr + tr td { border-top: 1px solid var(--line-soft); }
.spec td { color: var(--ink); }
.spec th {
  width: 210px; background: var(--bg-sunken); white-space: nowrap;
  font-family: var(--font-label); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400);
}
.spec th .ja { display: block; font-family: var(--font); font-size: 0.86rem; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); margin-top: 3px; }
.spec ul { list-style: none; }
.spec li { display: flex; gap: 10px; }
.spec li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 0.78em; background: var(--accent); }
.spec li + li { margin-top: 7px; }
@media (max-width: 680px) {
  .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; width: auto; }
  .spec th { padding-bottom: 8px; }
  .spec tr + tr td { border-top: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-sunken); font-family: var(--font-label); font-size: 0.72rem; color: var(--ink-600); white-space: nowrap; }

/* --- プロフィール ---------------------------------------------------------- */
.profile { display: grid; gap: 28px; }
@media (min-width: 760px) { .profile { grid-template-columns: 190px 1fr; } }
.profile__photo { width: 170px; height: 170px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r); }
.profile__text { font-size: 0.91rem; color: var(--ink-600); line-height: 2; }
.profile__text + .profile__text { margin-top: 1.1em; }

/* --- 画像グリッド ---------------------------------------------------------- */
.figure-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.figure-grid figure { display: flex; flex-direction: column; margin: 0; }
.figure-grid img { border: 1px solid var(--line); border-radius: var(--r); width: 100%; background: var(--bg-raised); }
.figure-grid figcaption { margin-top: auto; padding-top: 11px; font-family: var(--font-label); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-400); }

/* --- 番号つきステップ ------------------------------------------------------ */
.steps { list-style: none; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start; }
.step__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--accent-soft);
  font-family: var(--font-label); font-size: 0.86rem; font-weight: 700;
  color: var(--accent-ink);
}
.step__title { font-weight: 700; font-size: 0.95rem; color: var(--ink); }
.step__text { font-size: 0.85rem; color: var(--ink-600); margin-top: 5px; line-height: 1.85; }

.check-list { list-style: none; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 11px; font-size: 0.87rem; color: var(--ink-600); line-height: 1.8; }
.check-list .icon { width: 17px; height: 17px; color: var(--accent); margin-top: 0.3em; }

.link-list { list-style: none; display: grid; gap: 11px; }
.link-list a { font-weight: 700; }
.ext::after { content: "↗"; display: inline-block; margin-left: 0.3em; font-size: 0.85em; opacity: 0.7; }

/* --- CTA ------------------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(40px, 5.5vw, 72px) clamp(24px, 5vw, 56px);
}
/* アクセント色の淡い光を 1 つだけ置く */
.cta::after {
  content: ""; position: absolute; top: -45%; left: 50%; translate: -50% 0;
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 66%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .label { justify-content: center; }
.cta h2 { font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.15rem); font-weight: 900; line-height: 1.42; margin-top: 20px; }
.cta p { color: var(--ink-600); margin-top: 18px; max-width: 46em; margin-inline: auto; font-size: 0.95rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 30px; }

/* --- フォーム -------------------------------------------------------------- */
.contact-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1.55fr 1fr; } }

.form { display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 9px; }
.field__label { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.field__req, .field__opt {
  display: inline-block; padding: 2px 9px; border-radius: var(--r);
  font-family: var(--font-label); font-size: 0.63rem; font-weight: 500; letter-spacing: 0.08em;
}
.field__req { background: var(--accent); color: var(--accent-contrast); }
.field__opt { border: 1px solid var(--line); color: var(--ink-400); }
.field__hint { font-size: 0.79rem; color: var(--ink-400); }

.input, .textarea, .select {
  width: 100%; padding: 13px 15px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r);
  font: inherit; font-size: 1rem; line-height: 1.6;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 24%, transparent);
}
.textarea { min-height: 190px; resize: vertical; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--accent); }
.field__error { font-size: 0.82rem; color: var(--accent-ink); font-weight: 700; }
.field__error:empty { display: none; }

/* ハニーポット: 人間には見えず、支援技術からも外す。bot だけが埋める */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form-note { padding: 18px 20px; background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--r); font-size: 0.85rem; color: var(--ink-600); line-height: 1.85; }

.alert { padding: 18px 20px; border: 1px solid; border-radius: var(--r); font-size: 0.92rem; font-weight: 700; line-height: 1.8; }
.alert--ok { background: var(--bg-sunken); border-color: var(--accent); color: var(--ink); }
.alert--ng { background: var(--bg-sunken); border-color: var(--accent); color: var(--ink); }

/* --- フッター -------------------------------------------------------------- */
.site-footer { background: var(--bg-sunken); border-top: 1px solid var(--line); padding-block: clamp(44px, 5.5vw, 68px) 22px; margin-top: auto; }
.site-footer__grid { display: grid; gap: 34px; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 880px) { .site-footer__grid { grid-template-columns: 1.8fr 1fr 1fr; } }
.site-footer h2 {
  font-family: var(--font-label); font-size: 0.64rem; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 11px; }
.site-footer a { color: var(--ink-600); text-decoration: none; font-size: 0.88rem; }
.site-footer a:hover { color: var(--accent-ink); text-decoration: underline; }
.site-footer__desc { font-size: 0.86rem; color: var(--ink-600); margin-top: 18px; line-height: 1.95; max-width: 32em; }
.site-footer__addr { font-style: normal; font-size: 0.83rem; color: var(--ink-400); margin-top: 16px; line-height: 1.95; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  justify-content: space-between; align-items: center; padding-top: 20px;
  font-family: var(--font-label); font-size: 0.65rem; letter-spacing: 0.08em; color: var(--ink-400);
}

/* --- ページ最上部へ -------------------------------------------------------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--ink-600); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s, color 0.15s, border-color 0.15s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--accent-ink); border-color: var(--accent); }
.to-top svg { width: 20px; height: 20px; }

/* --- 細かな間隔調整用のクラス ----------------------------------------------
   CSP を default-src 'self' に閉じている関係で、インラインの style="" は
   ブラウザに拒否される。間隔の微調整はここのクラスで行うこと。
   -------------------------------------------------------------------------- */
.mt-12 { margin-top: 12px; }
.mt-20 { margin-top: 20px; }
.mt-26 { margin-top: 26px; }
.mt-34 { margin-top: 34px; }
.mt-2em { margin-top: 2em; }
.mt-section { margin-top: clamp(32px, 4vw, 46px); }
.pad-block { padding-block: clamp(40px, 8vw, 96px); }
.center-x { margin-inline: auto; }
.justify-center { justify-content: center; }
.measure-46 { max-width: 46em; }
.fs-lg { font-size: 1.2rem; }

@media print {
  .site-header, .site-footer, .to-top, .breadcrumb, .cta { display: none !important; }
  body { color: #000; background: #fff; }
}
