/* =============================================================
   アイツイン (i-TWIN) コーポレートサイト 共通スタイル
   - ブランドカラー: ネイビー #0d2b4e / オレンジ #d4691a
   - フォント: Zen Kaku Gothic New (本文) / Shippori Mincho (見出し)
   - 文章はHTMLを直接編集して書き換えてください。
     色やサイズなど見た目はこのファイルの :root 変数で調整できます。
   ============================================================= */

/* ---- カラー・サイズ変数（ここを変えると全体の見た目が変わります） ---- */
:root {
  --navy:        #0d2b4e;   /* メインカラー */
  --navy-deep:   #081e38;   /* より濃いネイビー（グラデ用） */
  --navy-soft:   #16406e;   /* 明るめネイビー */
  --orange:      #d4691a;   /* アクセント */
  --orange-dark: #b4530f;   /* アクセント（ホバー） */
  --ink:         #1c2733;   /* 本文テキスト */
  --ink-soft:    #4a5663;   /* 補助テキスト */
  --paper:       #ffffff;   /* 背景・白 */
  --paper-soft:  #f5f7fa;   /* うすいグレー背景 */
  --line:        #e2e8f0;   /* 罫線 */
  --maxw:        1120px;    /* コンテンツ最大幅 */
  --radius:      14px;
  --shadow:      0 8px 30px rgba(13, 43, 78, 0.08);
}

/* ---- リセット ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN",
               "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- 共通レイアウト ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--paper-soft); }
/* アンカー移動時に固定ヘッダー(72px)へ隠れないよう余白を確保 */
section[id] { scroll-margin-top: 84px; }

.section-head { text-align: center; margin-bottom: 52px; }
.section-head .eyebrow {
  display: inline-block;
  font-family: "Shippori Mincho", serif;
  font-size: 0.8rem;
  letter-spacing: 0.32em;
  color: var(--orange);
  margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--navy);
}
.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* ---- ボタン（塗り / 枠線 / 白抜き の3種） ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease,
              color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

/* 塗り（オレンジ） */
.btn--fill {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 105, 26, 0.28);
}
.btn--fill:hover { background: var(--orange-dark); }

/* 枠線（ネイビー） */
.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

/* 白抜き（暗い背景用） */
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover { background: #fff; color: var(--navy); border-color:#fff; }

/* ===========================================================
   ヘッダー
   =========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-wrap { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: flex; align-items: center; flex-shrink: 0; }   /* ロゴは縮めない（原寸維持） */
.brand img { height: 46px; width: auto; flex-shrink: 0; }
/* ロゴ横のタグライン（何をする会社か）
   ※ ナビ項目が増えたため、横幅確保のためタグラインは非表示。
     ナビを減らす等で余裕ができたら display:none を外して復活可。 */
.brand-tag {
  display: none;
  font-family: "Shippori Mincho", serif;
  font-size: 0.76rem;
  color: var(--ink-soft);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;   /* 各項目を1行に固定（折り返し禁止） */
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width .2s ease;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 9px 16px; font-size: 0.85rem; }

/* モバイル開閉 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px; height: 40px;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ===========================================================
   ヒーロー（トップ）
   =========================================================== */
.hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(8,30,56,0.94) 0%, rgba(13,43,78,0.82) 55%, rgba(13,43,78,0.55) 100%),
    url("hero-main.png") center/cover no-repeat;
}
/* 薄いグリッド模様（工業感） */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
}
.hero-inner { max-width: 720px; }
.hero h1 {
  font-size: clamp(2.1rem, 5.4vw, 3.5rem);
  line-height: 1.4;
  text-shadow: 0 2px 18px rgba(0,0,0,0.3);
}
.hero h1 .accent { color: #ffb072; }
.hero .lead {
  margin-top: 22px;
  font-size: 1.12rem;
  color: #e7eef7;
  max-width: 620px;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 下層ページ用コンパクトヒーロー */
.subhero {
  color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy-soft));
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.subhero .wrap { position: relative; padding: 64px 24px 56px; }
.breadcrumb {
  font-size: 0.85rem;
  color: #aebfd4;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { color: #ffb072; }
.subhero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.subhero .catch {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #cdd9ea;
}

/* ===========================================================
   汎用カード / グリッド
   =========================================================== */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cdd9ea;
}
.card .num {
  font-family: "Shippori Mincho", serif;
  font-size: 1.5rem;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}
.card .ic {
  font-size: 2rem;
  display: block;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }

/* ===========================================================
   デジタルツイン（最重要セクション）
   =========================================================== */
.dt {
  background: linear-gradient(160deg, #0d2b4e 0%, #102f55 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dt::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}
.dt .wrap { position: relative; }
.dt .section-head h2 { color: #fff; }
.dt .section-head .eyebrow { color: #ffb072; }
.dt .section-head p { color: #cdd9ea; }

.dt-points { margin-top: 8px; }
.dt-point {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .18s ease, background .18s ease;
}
.dt-point:hover { transform: translateY(-4px); background: rgba(255,255,255,0.09); }
.dt-point .ic { font-size: 1.9rem; margin-bottom: 14px; }
.dt-point h3 { color: #fff; font-size: 1.12rem; margin-bottom: 10px; }
.dt-point p { color: #c6d3e6; font-size: 0.95rem; }

/* 無料体験バナー */
.trial-banner {
  margin-top: 52px;
  background: linear-gradient(110deg, var(--orange), #e8821f);
  border-radius: 18px;
  padding: 40px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  box-shadow: 0 14px 40px rgba(212,105,26,0.32);
}
.trial-banner .t-text .tag {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.trial-banner h3 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
}
.trial-banner p { color: #fff4ea; margin-top: 8px; font-size: 0.98rem; }
.trial-banner .btn--fill {
  background: #fff; color: var(--orange-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.trial-banner .btn--fill:hover { background: var(--navy); color:#fff; }
.trial-note { color: #fff3e8; font-size: 0.82rem; margin-top: 12px; max-width: 470px; }
.trial-actions { display: flex; flex-direction: column; gap: 10px; }
.trial-banner .btn--ghost {
  border-color: rgba(255,255,255,0.75); color: #fff; background: rgba(255,255,255,0.12);
}
.trial-banner .btn--ghost:hover { background: #fff; color: var(--orange-dark); border-color: #fff; }

/* ===========================================================
   技術ティザー
   =========================================================== */
.tech-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-card .label {
  font-family: "Shippori Mincho", serif;
  color: var(--orange);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}
.tech-card h3 { font-size: 1.6rem; color: var(--navy); margin: 8px 0 6px; }
.tech-card .catch {
  font-family: "Shippori Mincho", serif;
  font-size: 1.15rem;
  color: var(--navy-soft);
  margin-bottom: 14px;
}
.tech-card p { color: var(--ink-soft); margin-bottom: 0; }

/* ===========================================================
   循環ダイアグラム（設計図イメージ：cycle-diagram.png をそのまま配置）
   =========================================================== */
/* セクション背景を画像の背景色に統一（継ぎ目を消す） */
#tech.section--soft { background: #ccd6dd; }

.cycle-img {
  display: block;
  width: 100%;
  max-width: 1040px;   /* 拡大表示（ユーザー指示 2026-06-01） */
  margin: 4px auto 40px;
}

.solutions-subhead {
  text-align: center;
  color: var(--navy);
  font-size: 1.15rem;
  margin: 6px 0 28px;
}

/* ===========================================================
   お悩みチェックリスト（当てはまれば当社へ）
   =========================================================== */
.checklist { margin-top: 56px; }
.check-lead {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.check-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.check-card .ch-head { padding: 16px 18px; color: #fff; }
.check-card .ch-head .ch-badge {
  display: inline-block;
  width: 26px; height: 26px; line-height: 26px;
  text-align: center;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  font-weight: 700;
  margin-right: 8px;
}
.check-card .ch-head h3 {
  color: #fff; font-size: 1rem; display: inline;
  font-family: "Zen Kaku Gothic New", sans-serif;
}
.check-card .ch-head small {
  display: block; color: rgba(255, 255, 255, 0.88);
  font-size: 0.76rem; margin-top: 6px;
}
.check-card .ch-body { padding: 14px 12px 18px; }
.chk {
  display: flex; gap: 7px; align-items: center;
  font-size: 0.8rem; color: var(--ink);
  padding: 6px 0; cursor: pointer; line-height: 1.4;
  letter-spacing: 0; white-space: nowrap;   /* 各項目を1行に収める */
}
.chk input {
  width: 15px; height: 15px;
  accent-color: var(--orange); flex: 0 0 auto;
}
.ch-a .ch-head { background: var(--orange); }
.ch-b .ch-head { background: #0f766e; }
.ch-c .ch-head { background: #3f7d3f; }
.ch-d .ch-head { background: var(--navy); }

.checklist-cta { text-align: center; margin-top: 38px; }
.checklist-cta p {
  font-size: 1.1rem; color: var(--navy);
  font-family: "Shippori Mincho", serif; margin-bottom: 20px;
}

/* ===========================================================
   安心訴求バンド
   =========================================================== */
.assure {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
}
.assure .ic { font-size: 2.4rem; margin-bottom: 16px; }
.assure h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  margin-bottom: 16px;
}
.assure h2 .accent { color: #ffb072; }
.assure p { color: #cdd9ea; max-width: 720px; margin: 0 auto; }

/* ===========================================================
   CTAバンド
   =========================================================== */
.cta-band {
  background: linear-gradient(110deg, var(--navy), var(--navy-soft));
  color: #fff;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 14px; }
.cta-band p { color: #cdd9ea; margin-bottom: 30px; }

/* ===========================================================
   特徴リスト（下層ページ）
   =========================================================== */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: box-shadow .18s ease, transform .18s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature .ic {
  font-size: 1.8rem;
  flex: 0 0 auto;
  line-height: 1;
  margin-top: 2px;
}
.feature h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* 業種アイコン並び */
.industries {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}
.industry {
  flex: 1 1 150px;
  max-width: 180px;
  text-align: center;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry .ic { font-size: 2.4rem; margin-bottom: 10px; }
.industry .name { font-weight: 700; color: var(--navy); }
/* 業種ごとに色分け */
.industries .industry:nth-child(1) { background: #fdeee0; border-color: #e9b27e; }  /* 製造業：オレンジ */
.industries .industry:nth-child(2) { background: #e7f2ea; border-color: #93c7a6; }  /* 飲食：グリーン */
.industries .industry:nth-child(3) { background: #e6eef8; border-color: #9bbce0; }  /* 建設：ブルー */
.industries .industry:nth-child(4) { background: #f1e9f5; border-color: #c4a6d6; }  /* 整備：パープル */
.industries .industry:nth-child(5) { background: #fbf3da; border-color: #e3c879; }  /* 農業：イエロー */

/* ステップ */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: none; }
.step .step-no {
  counter-increment: step;
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
}
.step .step-no::before { content: counter(step); }
.step h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ===========================================================
   プロフィールページ
   =========================================================== */
.profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
/* 写真プレースホルダ：後で <img> に差し替え可能 */
.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, var(--paper-soft), #e7edf4);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.9rem;
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-photo .ph-note { padding: 20px; }
.profile-photo .ph-note .ic { font-size: 2.4rem; display:block; margin-bottom: 10px; }

.profile-body .role {
  color: var(--orange);
  font-family: "Shippori Mincho", serif;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
}
.profile-body h2 { font-size: 1.8rem; color: var(--navy); margin: 6px 0 4px; }
.profile-body .name-en { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 22px; }
.profile-body p { margin-bottom: 16px; color: var(--ink); }
.profile-body .quote {
  border-left: 4px solid var(--orange);
  padding: 6px 0 6px 20px;
  margin: 26px 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.7;
}
.profile-meta {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.profile-meta dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; }
.profile-meta dt { color: var(--navy); font-weight: 700; }
.profile-meta dd { color: var(--ink-soft); }

/* ===========================================================
   お問い合わせ
   =========================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.contact-info h3 { color: var(--navy); font-size: 1.2rem; margin: 24px 0 12px; }
.contact-info .flow li {
  list-style: none;
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.contact-info .flow li::before {
  content: "▶";
  position: absolute; left: 0; top: 2px;
  color: var(--orange);
  font-size: 0.8rem;
}
.company-box {
  margin-top: 28px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.company-box dl { display: grid; grid-template-columns: 90px 1fr; gap: 10px 14px; }
.company-box dt { color: var(--navy); font-weight: 700; }
.company-box dd { color: var(--ink-soft); }

/* フォーム */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.field .req {
  color: #fff; background: var(--orange);
  font-size: 0.7rem; padding: 2px 8px; border-radius: 999px;
  margin-left: 8px; vertical-align: middle;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fcfdfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(212,105,26,0.12);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 6px; }

/* 送信完了メッセージ */
.sent-banner {
  background: #e8f5e9;
  border: 1px solid #43a047;
  color: #2e7d32;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ===========================================================
   フッター
   =========================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #cdd9ea;
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
/* フッターは濃紺背景に白ロゴを直接配置（白い枠なし） */
.footer-brand .footer-name {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand p { margin-top: 14px; font-size: 0.9rem; max-width: 320px; }
.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-nav h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; font-family: inherit; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 10px; }
.footer-nav a { font-size: 0.9rem; color: #aebfd4; }
.footer-nav a:hover { color: #fff; }
.copyright {
  text-align: center;
  font-size: 0.82rem;
  color: #8499b5;
  padding-top: 24px;
}
.copyright .data-note {
  max-width: 780px;
  margin: 0 auto 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #6f86a3;
  line-height: 1.7;
  text-align: left;
}

/* ヘッダー内の白チップ版ロゴ（必要時用） */
.logo-chip-inline {
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-flex;
}

/* ===========================================================
   アイツインにできること（アコーディオン）
   =========================================================== */
.accordion { max-width: 860px; margin: 0 auto; }
.acc-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.acc-item.open { box-shadow: var(--shadow); border-color: #cdd9ea; }
.acc-head {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-family: inherit;
  transition: background .15s ease;
}
.acc-head:hover { background: var(--paper-soft); }
.acc-num {
  flex: 0 0 auto;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "Shippori Mincho", serif; font-size: 0.95rem;
}
.acc-item.open .acc-num { background: var(--orange); }
.acc-label { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acc-title { font-family: "Shippori Mincho", serif; font-weight: 700; color: var(--navy); font-size: 1.08rem; line-height: 1.4; }
.acc-sub { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.4; }
.acc-mark { flex: 0 0 auto; color: var(--orange); font-size: 1.4rem; font-weight: 700; transition: transform .2s ease; }
.acc-item.open .acc-mark { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-item.open .acc-body { max-height: 720px; }
.acc-inner { padding: 2px 20px 18px; }
.cap-hint {
  font-size: 0.82rem;
  color: var(--orange-dark);
  background: #fff6ee;
  border: 1px solid #f0d3b8;
  border-radius: 8px;
  padding: 8px 12px;
  margin: 2px 0 10px;
}
.cap-hint strong { color: var(--orange-dark); }
.acc-inner ul { list-style: none; }
.acc-inner li { border-top: 1px solid var(--line); }
/* 項目をチェックボックス化（チェックでまとめて問い合わせ） */
.cap-chk {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 4px; cursor: pointer;
  color: var(--ink); font-size: 0.96rem; line-height: 1.5;
}
.cap-chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--orange); flex: 0 0 auto; }
.acc-note { margin-top: 10px; color: var(--ink-soft); font-size: 0.84rem; }
.acc-note a { color: var(--orange); font-weight: 700; }

/* 業種別ワザノコシのアコーディオン（業種ごとに左カラーバー） */
.accordion--ind .acc-item { border-left: 4px solid var(--line); }
.accordion--ind .acc-item:nth-child(1) { border-left-color: #d4691a; } /* 製造業 */
.accordion--ind .acc-item:nth-child(2) { border-left-color: #2e9e6b; } /* 飲食 */
.accordion--ind .acc-item:nth-child(3) { border-left-color: #2f6fb0; } /* 建設 */
.accordion--ind .acc-item:nth-child(4) { border-left-color: #8a4fb0; } /* 整備 */
.accordion--ind .acc-item:nth-child(5) { border-left-color: #c79a2a; } /* 農業 */

/* できること 選択バー（下部固定のサブ画面） */
.cap-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(13, 43, 78, 0.97); color: #fff;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  max-height: 85vh; overflow: hidden;   /* 画面内に必ず収める */
}
.cap-bar-inner { display: flex; align-items: center; gap: 18px; padding: 14px 24px; flex-wrap: wrap; }
.cap-bar-main { flex: 1; min-width: 220px; }
.cap-bar-title { font-size: 0.88rem; color: #cdd9ea; margin-bottom: 8px; }
.cap-bar-title span { color: #ffb072; font-weight: 700; font-size: 1.05rem; }
.cap-chips { display: flex; flex-wrap: wrap; gap: 7px; max-height: 92px; overflow-y: auto; }
.cap-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px; padding: 4px 6px 4px 12px; font-size: 0.8rem;
}
.cap-chip-x { background: none; border: none; color: #ffd9b0; cursor: pointer; font-size: 1.05rem; line-height: 1; padding: 0 3px; }
.cap-bar-actions { display: flex; gap: 10px; align-items: center; flex: 0 0 auto; }
.cap-clear {
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); color: #fff;
  border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 0.85rem; font-family: inherit;
}
.cap-clear:hover { background: rgba(255, 255, 255, 0.12); }
.cap-bar .btn--fill { white-space: nowrap; }
body.cap-bar-open { padding-bottom: 120px; }  /* 固定バーで本文末尾が隠れないように */
@media (max-width: 820px) {
  /* スマホ・小型タブレット：選択バーを縦積み・コンパクト化して必ず画面内に収める */
  .cap-bar-inner { flex-direction: column; align-items: stretch; gap: 8px; padding: 10px 14px; }
  .cap-bar-main { min-width: 0; }
  .cap-bar-title { font-size: 0.8rem; margin-bottom: 4px; }
  .cap-chips { max-height: 30vh; gap: 6px; }
  .cap-chip { font-size: 0.76rem; padding: 3px 5px 3px 10px; max-width: 100%; }
  .cap-bar-actions { width: 100%; flex-direction: column; gap: 8px; }
  .cap-bar .btn--fill { width: 100%; order: 1; white-space: nowrap; padding: 12px; font-size: 0.95rem; }
  .cap-clear { width: 100%; order: 2; padding: 10px 14px; font-size: 0.84rem; }
}

/* ===========================================================
   レスポンシブ
   =========================================================== */
/* チェックリストは十分広い画面のみ4列（狭いと項目が折り返すため2列に） */
@media (max-width: 1120px) {
  .check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .profile { grid-template-columns: 1fr; }
  .profile-photo { max-width: 320px; }

  .nav {
    position: fixed;
    top: 72px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px;
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .25s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.06);
  }
  .nav.open { transform: translateX(0); }
  .nav a { width: 100%; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 12px; width: 100%; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .trial-banner { padding: 30px 26px; }
  .hero .wrap { padding-top: 80px; padding-bottom: 80px; }
  .check-grid { grid-template-columns: 1fr; }
}

/* ===========================================================
   かんたん編集モード（edit.js 用）
   =========================================================== */
#edit-bar {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 43, 78, 0.95);
  color: #fff;
  padding: 9px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28);
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 0.85rem;
}
#edit-bar button {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  transition: filter .15s ease;
}
#edit-bar button:hover { filter: brightness(1.08); }
#ed-toggle { background: var(--orange); color: #fff; }
#ed-actions { display: flex; gap: 6px; }
#ed-save   { background: #fff; color: var(--navy); }
#ed-export { background: #2e7d32; color: #fff; }
#ed-reset  { background: var(--orange-dark); color: #fff; }
#ed-exit   { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
#ed-msg    { color: #ffd9b0; font-size: 0.78rem; max-width: 220px; }

body.edit-on [contenteditable="true"] {
  outline: 2px dashed rgba(212, 105, 26, 0.65);
  outline-offset: 3px;
  border-radius: 3px;
  cursor: text;
}
body.edit-on [contenteditable="true"]:hover { background: rgba(212, 105, 26, 0.06); }
body.edit-on [contenteditable="true"]:focus {
  outline: 2px solid var(--orange);
  background: rgba(212, 105, 26, 0.08);
}

@media print { #edit-bar { display: none !important; } }

/* ===========================================================
   v2 専用スタイル（省人化・自動化「一本集中」版）
   index-v2.html / contact-v2.html で使用。
   ここより上は既存 style.css のコピーです（共通部品を流用）。
   =========================================================== */

/* 画像プレースホルダ枠（後で <img> に差し替え可能）
   差し替え方: この枠の中の説明を消し、<img src="◯◯.png" alt="..."> を入れる。
   枠ごと <img class="img-frame"> に置き換えてもOK（比率は object-fit:cover）。 */
.img-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, var(--paper-soft), #e7edf4);
  border: 1px dashed #b3c2d6;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--ink-soft); font-size: 0.9rem;
  padding: 24px; overflow: hidden;
}
img.img-frame { object-fit: cover; }
.img-frame .ic { font-size: 1.9rem; display: block; margin-bottom: 8px; }
.img-frame small { display: block; font-size: 0.78rem; margin-top: 6px; color: var(--ink-soft); }
/* 暗い背景（#goal）用 */
.img-frame--dark {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.22);
  color: #cdd9ea;
}

/* 中央寄せの補足リード */
.lead-center { text-align: center; max-width: 760px; margin: -28px auto 40px; color: var(--ink-soft); }
.dt .lead-center { color: #cdd9ea; }

/* ---- 一本道フロー（測る → 試す → 提案する） ---- */
.flow-path {
  display: flex; align-items: stretch; justify-content: center;
  gap: 8px; flex-wrap: wrap;
}
.flow-step {
  flex: 1 1 240px; max-width: 320px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.flow-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-step .fp-no {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: "Shippori Mincho", serif; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.flow-step h3 { color: var(--navy); font-size: 1.22rem; margin-bottom: 8px; }
.flow-step h3 small {
  display: block; font-family: inherit; font-size: 0.78rem;
  color: var(--orange); font-weight: 700; letter-spacing: 0.14em; margin-bottom: 5px;
}
.flow-step p { color: var(--ink-soft); font-size: 0.95rem; }
.flow-arrow {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  color: var(--orange); font-size: 1.9rem; font-weight: 700;
}
.flow-note {
  text-align: center; margin-top: 36px;
  font-family: "Shippori Mincho", serif; font-size: 1.12rem; color: var(--navy);
  line-height: 1.7;
}
.flow-note .accent { color: var(--orange); }
@media (max-width: 720px) {
  .flow-path { flex-direction: column; align-items: stretch; }
  .flow-step { max-width: none; }
  .flow-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ---- 階段セクション（伴走・3ヶ月ごとに一段ずつ） ---- */
.stairs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; align-items: start; margin-top: 26px;
}
.stair {
  background: var(--paper); border: 1px solid var(--line);
  border-top: 5px solid var(--orange); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow); position: relative;
}
.stairs .stair:nth-child(1) { margin-top: 132px; }
.stairs .stair:nth-child(2) { margin-top: 88px; }
.stairs .stair:nth-child(3) { margin-top: 44px; }
.stairs .stair:nth-child(4) { margin-top: 0; }
.stair .st-no {
  font-family: "Shippori Mincho", serif; font-size: 0.8rem;
  color: var(--orange); font-weight: 700; letter-spacing: 0.12em;
}
.stair h3 { color: var(--navy); font-size: 1.12rem; margin: 2px 0 8px; line-height: 1.4; }
.stair > p { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 13px; }
.stair .gain {
  background: #fff6ee; border: 1px solid #f0d3b8; border-radius: 10px;
  padding: 10px 12px; font-size: 0.87rem; color: var(--ink); line-height: 1.6;
}
.stair .gain b {
  display: block; color: var(--orange-dark); font-size: 0.7rem;
  letter-spacing: 0.12em; margin-bottom: 3px;
}
.stair .clue { margin-top: 11px; font-size: 0.76rem; color: var(--navy-soft); }
/* STEP3・4＝めざす姿（将来像）は控えめ＋タグ */
.stair--future { border-top-style: dashed; border-top-color: var(--navy-soft); background: var(--paper-soft); }
.stair--future .st-no { color: var(--navy-soft); }
.stair-tag {
  display: inline-block; background: var(--navy-soft); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  padding: 2px 9px; border-radius: 999px; margin-bottom: 8px;
}
.stairs-foot { text-align: center; margin-top: 38px; color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 900px) {
  .stairs { grid-template-columns: repeat(2, 1fr); }
  .stairs .stair { margin-top: 0 !important; }
}
@media (max-width: 560px) {
  .stairs { grid-template-columns: 1fr; }
}

/* ---- めざす姿＝循環ループ（ダーク背景上） ---- */
.loop {
  display: flex; align-items: stretch; justify-content: center;
  gap: 10px; flex-wrap: wrap; margin-top: 10px;
}
.loop-node {
  flex: 1 1 210px; max-width: 260px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); padding: 26px 20px; text-align: center;
}
.loop-node .ln-no { color: #ffb072; font-family: "Shippori Mincho", serif; font-size: 0.8rem; letter-spacing: 0.12em; }
.loop-node h3 { color: #fff; font-size: 1.08rem; margin-top: 4px; }
.loop-node p { color: #c6d3e6; font-size: 0.86rem; margin-top: 6px; }
.loop-arrow { flex: 0 0 auto; display: flex; align-items: center; color: #ffb072; font-size: 1.7rem; font-weight: 700; }
.loop-return {
  text-align: center; margin-top: 26px;
  color: #ffb072; font-family: "Shippori Mincho", serif; font-size: 1.06rem;
}
.loop-return .accent { color: #fff; }
@media (max-width: 760px) {
  .loop { flex-direction: column; }
  .loop-node { max-width: none; width: 100%; }
  .loop-arrow { transform: rotate(90deg); justify-content: center; }
}

/* v2: 閉じたモバイルメニュー（オフキャンバスの .nav）による横スクロールを防止 */
html { overflow-x: hidden; }

/* v2: デジタルツインとは（従来シミュレーションとの比較カード） */
.card--twin { border: 2px solid var(--orange); }
.tw-list { list-style: none; margin-top: 8px; }
.tw-list li { position: relative; padding: 6px 0 6px 22px; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.6; }
.tw-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; background: var(--line); border-radius: 2px; }
.card--twin .tw-list li { color: var(--ink); }
.card--twin .tw-list li::before { background: var(--orange); }
.tw-tag { display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; padding: 3px 12px; border-radius: 999px; margin-bottom: 6px; }
.tw-tag--old { background: var(--paper-soft); color: var(--ink-soft); border: 1px solid var(--line); }
.tw-tag--new { background: var(--orange); color: #fff; }

/* v2: シンプルな階段の線画（#steps） */
.stairs-illust { text-align: center; margin: 6px 0 30px; }
.stairs-illust svg { width: 100%; max-width: 340px; height: auto; }

/* v2: #steps を「枠なし＋連結した階段線」に変更（ユーザー指示：枠を削除）
   ・各段の上に踏み板（border-top）、段差を蹴上げ（::before の縦線）でつなぐ
   ・gap:0 で隣の段とトレッドを連続させる（段差=margin-top差分の44px） */
.stairs { gap: 0; }
.stair,
.stair--future {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  border-top: 6px solid var(--navy);   /* 踏み板（トレッド） */
  padding: 18px 20px 0;
  position: relative;
}
.stairs .stair:not(:first-child)::before {   /* 蹴上げ（リザー）：前段の高さまで縦線でつなぐ */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 44px;
  background: var(--navy);
}
@media (max-width: 900px) {
  .stairs { gap: 16px; }                       /* 縦積み時は段差・連結をやめて読みやすく */
  .stairs .stair:not(:first-child)::before { display: none; }
}
