@charset "UTF-8";
/* ==========================================================================
   インフィニティサポート株式会社 — コーポレートサイト
   Claudeデザイン（インフィニティサポート HP.dc.html）からの実装版
   調整はまず「1. デザイントークン」を触れば全体に効きます。
   ========================================================================== */

/* ==========================================================================
   1. デザイントークン（ここを変えるとサイト全体に反映されます）
   ========================================================================== */
:root {
  /* --- 配色 --- */
  --ink:        #14181d;   /* 基調の黒（文字・濃色セクション背景） */
  --paper:      #f7f5f1;   /* 紙色（ベース背景） */
  --paper-2:    #f1eee8;   /* 一段沈めた紙色（ステップ／お問い合わせ） */
  --card:       #fffdfa;   /* カード面 */
  --ac:         #20455f;   /* アクセント：藍 */
  --ac2:        #7d6248;   /* サブアクセント：枯茶 */
  --mute:       #6a6f76;   /* 補助テキスト */
  --body:       #2c3238;   /* 本文 */
  --body-2:     #3a4046;   /* カード内本文 */

  /* 濃色セクション（導入の流れ）用 */
  --on-dark:        #f2f0ec;
  --on-dark-mute:   #8d949c;
  --on-dark-body:   #b9bfc6;
  --on-dark-accent: #7fa3bc;

  /* --- 罫線 --- */
  --line:        rgba(20, 24, 29, .07);
  --line-strong: rgba(20, 24, 29, .16);
  --line-btn:    rgba(20, 24, 29, .28);
  --line-card:   rgba(20, 24, 29, .08);
  --line-dark:   rgba(242, 240, 236, .14);

  /* --- 書体 --- */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;   /* 英字ディスプレイ */
  --f-serif:   "Noto Serif JP", "Hiragino Mincho ProN", serif;   /* 見出し（明朝） */
  --f-sans:    "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* --- 余白・幅 --- */
  --pad-x:    clamp(20px, 6vw, 110px);   /* セクション左右 */
  --pad-y:    clamp(110px, 15vw, 210px); /* セクション上下 */
  --maxw:     1320px;                    /* 標準の内容幅 */
  --maxw-narrow: 1180px;                 /* 導入の流れ */
  --header-h: 84px;

  /* --- モーション --- */
  --motion:   1;                          /* 数値を上げるとアニメーションが速くなります */
  --ease:     cubic-bezier(.2, .8, .2, 1);
}

/* ==========================================================================
   2. リセット・ベース
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  /* 横スクロール防止はbodyだけでは不十分（iOS Safariはbodyのoverflow-xを無視することがある） */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

body.is-nav-open { overflow: hidden; }

img, picture, source { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--ac); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

/* display を持つ要素（.contact-form 等）でも hidden 属性を必ず効かせる */
[hidden] { display: none !important; }

::selection { background: rgba(32, 69, 95, .13); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. 共通パーツ
   ========================================================================== */
.section {
  padding: var(--pad-y) var(--pad-x);
}

/* 英字の小見出しラベル（01 — OUR ROLE など） */
.eyebrow {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--mute);
}
.eyebrow--dark { color: var(--on-dark-mute); }

/* 明朝の見出し */
.sec-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.6;
  letter-spacing: .03em;
}

/* 本文中の強調（下線マーカー） */
.marker {
  font-weight: 500;
  border-bottom: 2px solid rgba(32, 69, 95, .35);
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: .1em;
  white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s, background .5s, color .5s;
}
.btn__arrow { font-family: var(--f-display); }

.btn--ink {
  padding: 19px 38px;
  background: var(--ink);
  color: #fff;
}
.btn--ink:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(20, 24, 29, .6);
}

.btn--accent {
  padding: 13px 24px;
  background: var(--ac);
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  transition: transform .4s var(--ease), background .4s;
}
.btn--accent:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  padding: 20px 40px;
  border: 1px solid var(--line-btn);
  color: var(--ink);
}
.btn--outline:hover { background: var(--card); color: var(--ink); }

/* --- 下線つきテキストリンク --- */
.link-under {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(20, 24, 29, .25);
  font-size: 13.5px;
  letter-spacing: .1em;
  color: var(--ink);
  transition: border-color .4s, color .4s;
}
.link-under:hover { border-color: var(--ac); color: var(--ac); }
.link-under__arrow { font-family: var(--f-display); font-size: 12px; }

/* --- スクロール連動フェードイン ---
   .js は <head> のインラインスクリプトが付けます。
   JSが無効／読み込み失敗のときは最初から表示されたままになります。 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

/* ==========================================================================
   4. ヘッダー・グローバルナビ
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px clamp(20px, 4vw, 64px);
}
/* すりガラスの地は擬似要素に持たせる。
   backdrop-filter を .site-header 自体に付けると、その中の position:fixed
   （モバイルのドロワー）がヘッダーを基準に配置されてしまうため。 */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 245, 241, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__mark {
  font-family: var(--f-display);
  font-size: 30px;
  line-height: 1;
  color: var(--ac);
}
.brand__names { display: flex; flex-direction: column; gap: 2px; }
.brand__en {
  font-family: var(--f-display);
  font-size: 15px;
  letter-spacing: .16em;
}
.brand__ja {
  font-size: 9.5px;
  letter-spacing: .34em;
  color: var(--mute);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 38px);
}
.site-nav__link {
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ink);
  transition: color .3s;
}
.site-nav__link:hover { color: var(--ac); }

/* ハンバーガー（モバイルのみ表示） */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 4px;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 10px;
  letter-spacing: .18em;
  cursor: pointer;
}
.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 22px;
  height: 14px;
}
.nav-toggle__bars i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   5. ヒーロー
   ========================================================================== */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100svh;
  padding: clamp(120px, 14vh, 180px) var(--pad-x) 48px;
  overflow: hidden;
}

/* 墨のインフィニティマーク */
.hero__ink {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  -webkit-mask-image:
    linear-gradient(102deg, transparent 4%, rgba(0, 0, 0, .28) 30%, rgba(0, 0, 0, .7) 52%, #000 74%),
    linear-gradient(rgba(0, 0, 0, 0) 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(102deg, transparent 4%, rgba(0, 0, 0, .28) 30%, rgba(0, 0, 0, .7) 52%, #000 74%),
    linear-gradient(rgba(0, 0, 0, 0) 0%, #000 16%);
  mask-composite: intersect;
}
.ink-drift, .ink-spin, .ink-breathe {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.ink-drift  { position: absolute; inset: 0; animation: ink-drift calc(31s / var(--motion)) ease-in-out infinite; }
.ink-spin   { animation: ink-spin calc(78s / var(--motion)) linear infinite; }
.ink-breathe{ animation: ink-breathe calc(23s / var(--motion)) ease-in-out infinite; }
/* --ink-zoom: 画面が狭いほどインクを拡大する（1 = ヒーロー幅と同じ）。
   狭い画面では呼吸アニメの「引き」で小さくなりすぎるため、土台を大きくしておく */
.ink-breathe picture { display: block; width: calc(100% * var(--ink-zoom, 1)); max-width: none; }
.ink-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  animation: ink-in 4.2s cubic-bezier(.3, 0, .2, 1) .25s forwards;
}

.hero__body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 3.4vw, 40px);
  max-width: 820px;
}
.hero .eyebrow { font-size: 12px; letter-spacing: .42em; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(48px, 8.6vw, 116px);
  line-height: 1;
  letter-spacing: -.01em;
}
.hero__lead {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(17px, 2.1vw, 26px);
  line-height: 1.9;
  letter-spacing: .06em;
}
.hero__scroll {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 40px;
}
.hero__scroll-label {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--mute);
}
.hero__scroll-rail {
  position: relative;
  display: block;
  width: 1px;
  height: 56px;
  background: rgba(20, 24, 29, .14);
  overflow: hidden;
}
.hero__scroll-dot {
  position: absolute;
  inset: 0;
  background: var(--ac);
  animation: scroll-hint calc(2.6s / var(--motion)) cubic-bezier(.6, 0, .2, 1) infinite;
}

/* ==========================================================================
   6. 01 私たちの役割
   ========================================================================== */
.about { border-top: 1px solid var(--line); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(48px, 7vw, 120px);
  max-width: var(--maxw);
  margin-inline: auto;
}
.about__head { display: flex; flex-direction: column; gap: 32px; }
.about__head .sec-title {
  font-size: clamp(28px, 3.9vw, 52px);
  line-height: 1.55;
  letter-spacing: .02em;
}
.about__text {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-top: clamp(0px, 3vw, 54px);
}
.about__text p {
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 2.35;
  letter-spacing: .05em;
  color: var(--body);
}

/* ==========================================================================
   7. 02 支援の3ステップ
   ========================================================================== */
.steps { background: var(--paper-2); }
.steps__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 7vw, 96px);
  max-width: var(--maxw);
  margin-inline: auto;
}
.steps__head {
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* 見出しの改行は HTML の <br> で決める。ここを狭めると文中で折り返す */
  max-width: 640px;
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(28px, 3.4vw, 56px);
}
.step {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(28px, 3vw, 44px) 0 0;
  border-top: 1px solid var(--line-strong);
  transition: border-color .6s;
}
.step:hover { border-color: var(--ac); }
.step__no {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--ac);
}
.step__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: .14em;
}
.step__body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .045em;
  color: var(--body-2);
}
.steps__closing {
  font-family: var(--f-serif);
  font-size: clamp(16px, 1.9vw, 22px);
  line-height: 2.1;
  letter-spacing: .06em;
  text-align: center;
  color: var(--ac);
}

/* ==========================================================================
   8. 03 経営支援メニュー
   ========================================================================== */
.service__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 6vw, 88px);
  max-width: var(--maxw);
  margin-inline: auto;
}
.service__head { display: flex; flex-direction: column; gap: 28px; }
.service__head .sec-title {
  font-size: clamp(28px, 3.9vw, 52px);
  line-height: 1.55;
  letter-spacing: .02em;
}
.service__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(20px, 2vw, 32px);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(32px, 3.2vw, 48px);
  background: var(--card);
  border: 1px solid var(--line-card);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -34px rgba(20, 24, 29, .34);
}
.card__no {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--ac2);
}
.card__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.6;
  letter-spacing: .08em;
}
.card__body {
  flex: 1;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .045em;
  color: var(--body-2);
}
.card__cta {
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: .08em;
  color: var(--ac);
  border-bottom-color: rgba(32, 69, 95, .3);
}

/* ==========================================================================
   9. 04 導入の流れ（濃色セクション）
   ========================================================================== */
.flow {
  background: var(--ink);
  color: var(--on-dark);
}
.flow__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(52px, 6vw, 84px);
  max-width: var(--maxw-narrow);
  margin-inline: auto;
}
.flow__head { display: flex; flex-direction: column; gap: 26px; }

.flow-item {
  display: grid;
  grid-template-columns: 64px minmax(140px, 220px) 1fr;
  gap: clamp(16px, 3vw, 48px);
  align-items: baseline;
  padding: clamp(26px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line-dark);
  transition: background .6s, padding-left .6s;
}
.flow-item:hover {
  background: rgba(242, 240, 236, .045);
  padding-left: 14px;
}
.flow-item__no {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--on-dark-accent);
}
.flow-item__title {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(16px, 1.7vw, 20px);
  letter-spacing: .1em;
}
.flow-item__body {
  font-size: 14px;
  line-height: 2.15;
  letter-spacing: .045em;
  color: var(--on-dark-body);
}
.flow__note {
  font-size: 13px;
  line-height: 2.2;
  letter-spacing: .06em;
  color: var(--on-dark-mute);
}

/* ==========================================================================
   10. 05 取り組みとコラム
   ========================================================================== */
.column__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 5vw, 76px);
  max-width: var(--maxw);
  margin-inline: auto;
}
.column__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 90px);
  align-items: end;
}
.column__title-col { display: flex; flex-direction: column; gap: 26px; }
.column__intro {
  font-size: clamp(13.5px, 1.3vw, 15.5px);
  line-height: 2.3;
  letter-spacing: .05em;
  color: var(--mute);
}
.column__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 2.6vw, 44px);
}
.post {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
  transition: color .4s;
}
.post:hover { color: var(--ac); }
.post__thumb {
  position: relative;
  display: block;
  /* アイキャッチは1200×630（16:9相当）で作る運用のため枠も合わせる */
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #eae6df 0 9px, #f4f1ec 9px 18px);
  border: 1px solid var(--line-card);
}
.post__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__slot {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: .14em;
  color: #9a958c;
}
.post__meta {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: .26em;
  color: var(--mute);
}
/* 未公開のプレースホルダーカード */
.post--soon { opacity: .55; }
.post--soon .post__title { color: var(--mute); }
.post__title {
  font-family: var(--f-serif);
  font-size: clamp(15.5px, 1.6vw, 19px);
  line-height: 1.9;
  letter-spacing: .04em;
}
.column__more {
  align-self: center;
  padding: 17px 42px;
  font-size: 13px;
  letter-spacing: .12em;
}
.column__more:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   11. 06 お問い合わせ
   ========================================================================== */
.contact {
  position: relative;
  padding: clamp(110px, 15vw, 200px) var(--pad-x);
  background: var(--paper-2);
  overflow: hidden;
}
.contact__ink {
  position: absolute;
  right: -12%;
  bottom: -30%;
  width: min(70vw, 760px);
  pointer-events: none;
  opacity: .24;
}
.ink-spin-rev {
  width: 100%;
  animation: ink-spin calc(96s / var(--motion)) linear infinite reverse;
  will-change: transform;
}
.ink-bleed {
  width: 100%;
  animation: ink-bleed calc(24s / var(--motion)) ease-in-out infinite;
}
.contact__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.contact .sec-title { letter-spacing: .04em; }
.contact__lead {
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 2.35;
  letter-spacing: .05em;
  color: var(--body);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}
.contact__actions .btn--ink { padding: 20px 42px; }
.contact__actions .btn--ink:hover { box-shadow: 0 20px 44px -20px rgba(20, 24, 29, .6); }
.contact__assurance {
  font-size: 11.5px;
  letter-spacing: .18em;
  color: var(--mute);
}

/* --- お問い合わせフォーム --- */
.contact-form {
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 8px;
  text-align: left;
}

/* ハニーポット: 視覚・支援技術の双方から外す（display:noneはボットも避けるため画面外へ） */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px clamp(24px, 3vw, 40px);
}

.cf-field { display: flex; flex-direction: column; gap: 10px; }
.cf-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .14em;
  color: var(--body);
}
.cf-req {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .1em;
  color: #a4562f;
  border: 1px solid rgba(164, 86, 47, .45);
  border-radius: 2px;
  padding: 1px 6px;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-btn);
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: .04em;
  color: var(--ink);
  transition: border-color .3s;
}
.cf-field textarea { resize: vertical; line-height: 1.9; }
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-bottom-color: var(--ac);
}

/* select の矢印 */
.cf-select-wrap { position: relative; display: block; }
.cf-select-wrap::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--mute);
  border-bottom: 1px solid var(--mute);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.cf-select-wrap select { cursor: pointer; padding-right: 28px; }

.cf-error {
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: #a4562f;
}

.cf-submit {
  align-self: center;
  min-width: 260px;
  margin-top: 6px;
  cursor: pointer;
  border: 0;
  font-family: inherit;
}
.cf-submit:disabled { opacity: .55; cursor: default; transform: none; }

.cf-alt {
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mute);
  text-align: center;
}

/* 送信完了 */
.cf-done {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid rgba(32, 69, 95, .3);
  background: var(--card);
  max-width: 560px;
  width: 100%;
}
.cf-done__title {
  font-family: var(--f-serif);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: .14em;
  color: var(--ac);
}
.cf-done__body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: .05em;
  color: var(--body);
}

/* ==========================================================================
   12. フッター・追従CTA
   ========================================================================== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px var(--pad-x);
  border-top: 1px solid rgba(20, 24, 29, .09);
}
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__mark { font-family: var(--f-display); font-size: 22px; color: var(--ac); }
.site-footer__name { font-family: var(--f-display); font-size: 12.5px; letter-spacing: .18em; }
.site-footer__link {
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--mute);
  border-bottom: 1px solid rgba(20, 24, 29, .2);
  padding-bottom: 2px;
}
.site-footer__link:hover { color: var(--ac); border-color: var(--ac); }
.site-footer__copy { font-size: 11px; letter-spacing: .14em; color: var(--mute); }

.floating-cta {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  bottom: clamp(16px, 3vw, 40px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 30px;
  border-radius: 100px;
  background: var(--ac);
  color: #fff;
  font-size: 13px;
  letter-spacing: .1em;
  white-space: nowrap;
  box-shadow: 0 18px 40px -18px rgba(20, 24, 29, .55);
  /* 初期は非表示。ヒーローを抜けたら main.js が .is-visible を付けます */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .5s, visibility .5s, transform .5s var(--ease), background .5s;
}
.floating-cta.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.floating-cta:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   13. キーフレーム
   ========================================================================== */
@keyframes ink-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes ink-breathe {
  0%   { transform: scale(.72); }
  50%  { transform: scale(1.85); }
  100% { transform: scale(.72); }
}
@keyframes ink-drift {
  0%   { transform: translate(-6%, 4%); }
  25%  { transform: translate(5%, -5%); }
  50%  { transform: translate(7%, 6%); }
  75%  { transform: translate(-5%, -3%); }
  100% { transform: translate(-6%, 4%); }
}
@keyframes ink-in {
  from { opacity: 0; filter: blur(14px); }
  to   { opacity: 1; filter: blur(0); }
}
@keyframes ink-bleed {
  0%   { opacity: .18; transform: scale(1); }
  50%  { opacity: .32; transform: scale(1.08); }
  100% { opacity: .18; transform: scale(1); }
}
@keyframes scroll-hint {
  0%   { transform: translateY(-40%); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: translateY(120%); opacity: 0; }
}

/* ==========================================================================
   14. レスポンシブ
   ========================================================================== */

/* --- タブレット以下：導入の流れを2カラムに畳む --- */
@media (max-width: 860px) {
  .flow-item {
    grid-template-columns: 48px 1fr;
    gap: 8px clamp(14px, 3vw, 28px);
    align-items: start;
  }
  .flow-item__no { grid-row: span 2; line-height: 1.5; }
  .flow-item__title { grid-column: 2; }
  .flow-item__body { grid-column: 2; }
}

/* --- タブレット以下：ヒーローのインクを拡大 --- */
@media (max-width: 1024px) {
  :root { --ink-zoom: 1.4; }
}

/* --- モバイル：ナビをドロワーに --- */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .site-header { padding: 16px 20px; gap: 16px; }
  .brand__mark { font-size: 26px; }
  .brand__en { font-size: 13px; }
  .brand__ja { font-size: 8.5px; letter-spacing: .26em; }

  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 32px 12vh;
    background: var(--paper);
    border-top: 1px solid var(--line);
    /* 閉状態 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .35s, visibility .35s, transform .35s var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .site-nav__link {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--f-serif);
    font-size: 17px;
    letter-spacing: .1em;
  }
  .site-nav__cta {
    width: 100%;
    margin-top: 28px;
    padding: 18px 24px;
    font-size: 14px;
  }
}

/* --- スマートフォン --- */
@media (max-width: 600px) {
  :root { --ink-zoom: 2; }

  .hero { padding-top: 132px; }
  .hero__scroll { padding-top: 28px; }

  .steps__closing { text-align: left; }

  .contact__actions { width: 100%; }
  .contact__actions .btn { width: 100%; }

  .site-footer { justify-content: flex-start; gap: 16px; }

  .floating-cta { padding: 15px 24px; font-size: 12.5px; }
}

/* ==========================================================================
   15. モーション低減・印刷
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ink-drift, .ink-spin, .ink-breathe, .ink-spin-rev, .ink-bleed, .hero__scroll-dot {
    animation: none !important;
  }
  .ink-img { animation: none; opacity: 1; }
  [data-reveal] { opacity: 1; transform: none; }
  [data-reveal].is-revealed { transition: none; }
  * { transition-duration: .01ms !important; }
}

@media print {
  .site-header, .floating-cta, .hero__ink, .contact__ink, .hero__scroll { display: none; }
  body { background: #fff; }
  [data-reveal] { opacity: 1; transform: none; }
  .section, .hero { padding: 24px 0; }
}
