@charset "UTF-8";
/* ==========================================================================
   BUP 共通CSS
   値は bup-top-page-v6.html（承認済みトップ）のものをそのまま使う
   命名：l- レイアウト　c- 部品（c-部品名__要素 / c-部品名--種類）　u- 補助
   ========================================================================== */

:root {
  --ink: #0d274f;
  --ink-2: #17457f;
  --paper: #fcfcfb;
  --mist: #f3f6fa;
  --sand: #f2ead9;
  --line: #dce3ec;
  --muted: #6b7788;
  --coral: #cd5d57;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(18, 43, 80, .10);

  /* 文字の大きさ（ここを変えると全ページに反映される。スマホの値は下の「スマホ」で上書き） */
  --fs-hero: clamp(43px, 5vw, 62px);        /* トップの大見出し */
  --fs-hero-sub: clamp(34px, 4.6vw, 56px);  /* 下層ページの大見出し */
  --fs-h2: clamp(30px, 3.75vw, 48px);       /* セクションの見出し */
  --fs-body: 20px;                          /* 説明文・本文・よくある質問の答え */
  --lh-body: 1.9;
  --fs-card-title: 22px;                    /* カードの見出し */
  --fs-card-text: 18px;                     /* カードの説明 */
  --lh-card-text: 1.9;
  --fs-check: 19px;                         /* チェックリストの項目 */
  --fs-faq-q: 20px;                         /* よくある質問の問い */
  --fs-label: 17px;                         /* サービス名のラベル */
  --fs-chip: 15px;                          /* chip・タグ */
  --fs-nav: 15px;                           /* ヘッダーのメニュー */
  --fs-breadcrumb: 15px;                    /* パンくず */
  --fs-link: 17px;                          /* 「→」の付くリンク */
  --fs-footer-text: 15px;                   /* フッターの説明文 */
  --fs-footer-link: 16px;                   /* フッターのリンク */
  --fs-small: 13px;                         /* 番号・補足の小さな文字（これより小さくしない） */
  --fs-eyebrow: 15px;                       /* 小見出し */
  --fs-eyebrow-hero: 16px;                  /* ヒーローの小見出し */
  --fs-statement: 22px;                     /* 強調の一文 */
  --fs-note-title: 19px;                    /* ヒーローの白い枠の見出し */
  --fs-note-text: 16px;                     /* ヒーローの白い枠の説明文 */
  --fs-hero-area: 16px;                     /* ヒーローの対応範囲の一行 */
  --fs-cta-note: 15px;                      /* 相談への誘導の返信の目安 */
  --fs-button: 17px;                        /* ボタン */
  --fs-button-header: 15px;                 /* ヘッダーのボタン */
  --fs-button-consult: 16px;                /* 相談への横長カードのボタン */
  --fs-header-sp: 14px;                     /* スマホのヘッダー */
  --fs-badge: 14px;                         /* バッジ */
  --fs-news: 16px;                          /* お知らせ */
  --fs-news-title: 18px;                    /* お知らせのタイトル */
  --fs-news-date: 14px;                     /* お知らせの日付 */
  --fs-news-list-date: 15px;                /* お知らせ一覧の日付 */
  --fs-form-error: 16px;                    /* フォームのエラー */
  --fs-step-no: 14px;                       /* ステップの番号 */
  --fs-relation-desc: 16px;                 /* 関係図の説明 */
}

/* ---------- 基本 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font-family: "Noto Sans JP", system-ui, sans-serif; font-size: 15px; line-height: 1.8;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
/* 見出しは単語の途中で折り返さない（文節の切れ目で折り返す。auto-phrase に対応していないブラウザは keep-all のまま） */
h1, h2, h3, .c-feature-card__title, .c-image-card__title, .c-work-card__title, .c-step__title, .c-news__title, .c-consult__title, .c-faq__q { word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }

/* ---------- レイアウト ---------- */
.l-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.l-section { padding: 112px 0; }
.l-section--compact { padding: 95px 0; }
.l-section--mist { background: var(--mist); }
.l-section--sand { background: var(--sand); }
/* 左上の小さな通し番号（data-number="02" など） */
.l-section--numbered { position: relative; }
.l-section--numbered::before { display: none; content: attr(data-number); position: absolute; top: 109px; left: max(24px, calc((100vw - 1275px)/2)); font: 500 var(--fs-small) "DM Mono", monospace; color: #9ba8b9; }

/* ---------- 共通の小さな部品 ---------- */
.c-eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--coral); font: 500 var(--fs-eyebrow)/1 "DM Mono", monospace; letter-spacing: .13em;
}
.c-eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.c-heading { margin: 0; max-width: 650px; font-size: var(--fs-h2); line-height: 1.32; letter-spacing: -.055em; }
.c-copy { max-width: 560px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.c-copy + .c-copy { margin-top: 1em; }
.c-note { margin-top: 22px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.c-statement { margin: 30px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--coral); font-size: var(--fs-statement); font-weight: 700; line-height: 1.9; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }  /* 長い文でも画面からはみ出さないように（文節の切れ目で折り返す） */
.c-statement + .c-link, .c-person__name + .c-link { display: inline-block; margin-top: 28px; }

.c-button {
  display: inline-flex; align-items: center; gap: 14px; justify-content: center; min-height: 50px;
  padding: 0 21px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink);
  color: #fff; font-size: var(--fs-button); font-weight: 700; transition: .25s ease;
}
.c-button:hover { transform: translateY(-2px); background: var(--ink-2); box-shadow: 0 8px 18px rgba(13,39,79,.2); }
.c-button--light { background: transparent; color: var(--ink); }
.c-button--light:hover { background: #fff; }
.c-button__arrow { font-size: 17px; line-height: 1; }
.c-button:disabled { opacity: .55; cursor: default; }
.c-button:disabled:hover { transform: none; background: var(--ink); box-shadow: none; }

.c-link { color: #1b5eaa; font: 500 var(--fs-link) "DM Mono", monospace; letter-spacing: .02em; word-break: keep-all; }
.c-links { display: flex; flex-wrap: wrap; gap: 9px 48px; min-height: 27px; margin-top: 20px; }

.c-badge { display: inline-flex; align-items: center; min-height: 26px; margin: 0 0 14px; padding: 0 12px; border-radius: 99px; background: var(--coral); color: #fff; font-size: var(--fs-badge); font-weight: 700; }
.c-tag { display: inline-flex; padding: 3px 8px; margin-bottom: 8px; color: #1f61a8; border-radius: 99px; background: #eef5fd; font: 500 var(--fs-chip)/1.45 "DM Mono", monospace; letter-spacing: .03em; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.c-tags .c-tag { margin-bottom: 0; }
.c-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.c-chip { padding: 6px 11px; border: 1px solid var(--line); border-radius: 100px; color: #52647c; background: #fff; font-size: var(--fs-chip); word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
/* 押せる chip（button.c-chip　aria-pressed="true" が選ばれている状態） */
button.c-chip { min-height: 36px; padding: 6px 14px; font-family: inherit; cursor: pointer; transition: .2s; }
button.c-chip:hover:not(:disabled) { border-color: #c7d5e5; color: var(--ink); }
button.c-chip:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
button.c-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
button.c-chip:disabled { opacity: .45; cursor: default; }

/* ---------- ヘッダー ---------- */
.c-header { border-bottom: 1px solid rgba(13,39,79,.10); background: rgba(255,255,255,.92); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.c-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.c-logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.06em; }
.c-logo__mark { color: #0b4e9a; font-size: 28px; line-height: 1; }
.c-logo__text small { display: block; color: #5f6b7a; font: 500 8px/1.25 "DM Mono", monospace; letter-spacing: .08em; }
.c-header__nav { display: flex; align-items: center; gap: 23px; font-size: var(--fs-nav); font-weight: 700; }
.c-header__nav a:not(.c-button) { opacity: .78; }
.c-header__nav a:not(.c-button):hover { color: var(--coral); opacity: 1; }
.c-header .c-button { min-height: 38px; padding: 0 16px; font-size: var(--fs-button-header); }
.c-header__menu, .c-header__mobile-nav { display: none; }
.c-header__menu { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 26px/1 sans-serif; cursor: pointer; }
.c-header__menu:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.c-header__sp { display: none; padding: 1px 6px; color: var(--ink); }

/* ヘッダーのメニュー：PCは項目にマウスを乗せる／Tabで移ると下層ページの一覧が開く */
.c-nav-item { position: relative; display: flex; align-items: center; height: 44px; }
.c-nav-item__top { display: inline-flex; align-items: center; gap: 6px; }
.c-nav-item__caret { width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); opacity: .6; transition: transform .2s; }
.c-nav-item__panel { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 30; display: grid; min-width: 230px; padding: 16px 10px 10px; border: 1px solid rgba(13,39,79,.10); border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(13,39,79,.14); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity .18s, transform .18s, visibility .18s; }
.c-nav-item__panel::before { content: ""; position: absolute; top: -22px; right: 0; left: 0; height: 22px; }
.c-nav-item__en { margin: 0 12px 6px; color: var(--coral); font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .1em; }
.c-header__nav .c-nav-item__panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 12px; border-radius: 8px; color: var(--ink); opacity: 1; white-space: nowrap; }
.c-header__nav .c-nav-item__panel a::after { content: "→"; color: var(--muted); font-weight: 400; transition: transform .15s; }
.c-header__nav .c-nav-item__panel a:hover, .c-header__nav .c-nav-item__panel a:focus-visible { background: var(--mist); color: var(--coral); }
.c-header__nav .c-nav-item__panel a:hover::after { color: var(--coral); transform: translateX(3px); }
.c-nav-item:hover .c-nav-item__panel, .c-nav-item:focus-within .c-nav-item__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.c-nav-item:hover .c-nav-item__top, .c-nav-item:focus-within .c-nav-item__top { color: var(--coral); opacity: 1; }
.c-nav-item:hover .c-nav-item__caret, .c-nav-item:focus-within .c-nav-item__caret { transform: translateY(3px) rotate(225deg); }
.c-nav-item.is-current .c-nav-item__top { color: var(--ink); opacity: 1; box-shadow: inset 0 -2px 0 var(--coral); }
.c-header__nav a[aria-current="page"] { color: var(--coral); }
.c-header__mobile-group { border-bottom: 1px solid var(--line); }
.c-header__mobile-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--ink); font-size: var(--fs-nav); font-weight: 700; list-style: none; cursor: pointer; }
.c-header__mobile-head::-webkit-details-marker { display: none; }
.c-header__mobile-head::after { content: ""; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.c-header__mobile-group[open] > .c-header__mobile-head { color: var(--coral); }
.c-header__mobile-group[open] > .c-header__mobile-head::after { border-color: var(--coral); transform: translateY(2px) rotate(-135deg); }
.c-header__mobile-sub { display: grid; margin: -4px 0 12px; padding: 4px 0 4px 14px; border-left: 2px solid rgba(205,93,87,.35); }

html.is-menu-open { overflow: hidden; }  /* body には付けない（ヘッダーの sticky が効かなくなる） */

/* ---------- パンくず ---------- */
.c-breadcrumb { padding: 18px 0; color: var(--muted); font-size: var(--fs-breadcrumb); }
.c-breadcrumb__list { display: flex; flex-wrap: wrap; margin: 0 auto; padding: 0; list-style: none; }
.c-breadcrumb__item + .c-breadcrumb__item::before { content: "＞"; margin: 0 .9em; color: #9ba8b9; }
.c-breadcrumb a { color: var(--ink); opacity: .78; }
.c-breadcrumb a:hover { color: var(--coral); opacity: 1; }

/* ---------- ヒーロー（共通） ---------- */
.c-hero { min-height: 670px; background: #ecf0f0; position: relative; overflow: hidden; }
.c-hero__inner { position: relative; z-index: 2; min-height: 670px; display: flex; align-items: center; padding: 88px 0; }
.c-hero__number { position: absolute; left: 0; top: 60px; color: rgba(13,39,79,.35); font: 500 var(--fs-small) "DM Mono", monospace; }
.c-hero__number::after { content: ""; display: block; margin-top: 11px; width: 1px; height: 39px; background: rgba(13,39,79,.28); }
.c-hero__content { max-width: 575px; }
.c-hero__title { margin: 0 0 23px; font-size: var(--fs-hero); line-height: 1.18; letter-spacing: -.08em; }
.c-hero .c-eyebrow, .c-hero__lead { width: min(420px, 100%); margin: 0 0 31px; color: #4f5d6e; font-size: var(--fs-eyebrow-hero); }
.c-hero__lead { font-size: var(--fs-body); line-height: var(--lh-body); }
.c-hero__area { width: min(420px, 100%); margin: -15px 0 28px; color: #4f5d6e; font-size: var(--fs-hero-area); line-height: 1.7; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ヒーロー（動画）トップ用 */
.c-hero--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(252,252,251,1) 0%, rgba(252,252,251,.96) 34%, rgba(252,252,251,.12) 67%, rgba(8,26,52,.10)); z-index: 1; pointer-events: none; }
.c-hero__video { position: absolute; inset: 0 0 0 34%; width: 66%; height: 100%; object-fit: cover; object-position: center; }
.c-hero__note { position: absolute; z-index: 3; right: max(24px, calc((100vw - 1180px)/2)); bottom: 43px; width: 380px; padding: 17px 18px; background: rgba(255,255,255,.92); border-radius: 14px; box-shadow: var(--shadow); color: #42526a; font-size: var(--fs-note-text); line-height: 1.75; }
.c-hero__note strong { display: block; color: var(--ink); font-size: var(--fs-note-title); }

/* ヒーロー（画像）下層ページ用　左に文字　右に画像 */
.c-hero--image { min-height: 0; background: var(--paper); }
.c-hero--image .c-hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; min-height: 600px; padding: 104px 0 88px; }
.c-hero--image .c-hero__content { max-width: none; }
.c-hero--image .c-hero__number { top: 24px; }
.c-hero--image .c-hero__title { font-size: var(--fs-hero-sub); }
/* 画像の縦横比が変わっても枠は 3:2 のまま */
.c-hero__image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: #e9eef5; box-shadow: var(--shadow); }
.c-hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* ヒーロー（画像なし）下層ページ用　eyebrow＋見出し＋説明文だけ　高さは低め */
.c-hero--plain { min-height: 0; background: var(--mist); }
.c-hero--plain .c-hero__inner { display: block; min-height: 0; padding: 64px 0 60px; }
.c-hero--plain .c-hero__content { max-width: none; }
.c-hero--plain .c-hero__title { font-size: var(--fs-hero-sub); }
.c-hero--plain .c-hero__title:last-child { margin-bottom: 0; }
.c-hero--plain .c-hero__lead { width: min(640px, 100%); margin: 0; }

/* ---------- セクション見出し ---------- */
.c-section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 38px; }
.c-section-head .c-copy { margin: 0; padding-bottom: 5px; }
.c-section-head > div:first-child { flex-shrink: 0; }  /* 見出しの列を縮めない（右の文章のほうを狭める） */
.c-section-head__note { max-width: 280px; margin: 0; padding-bottom: 5px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }

/* ---------- カードを並べる枠 ---------- */
.c-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.c-grid--2 { grid-template-columns: repeat(2, 1fr); }
.c-grid--4 { grid-template-columns: repeat(4, 1fr); }
.c-grid--tight { gap: 10px; }

/* ---------- チェックリスト ---------- */
.c-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; list-style: none; }
.c-checklist__item { position: relative; display: flex; align-items: center; min-height: 64px; padding: 14px 18px 14px 46px; border: 1px solid rgba(13,39,79,.07); border-radius: 13px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); font-size: var(--fs-check); font-weight: 700; }
.c-checklist__item::before { content: "✓"; position: absolute; left: 19px; color: var(--coral); font-size: 16px; font-weight: 800; }
.c-checklist__close { margin: 26px 0 0; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }

/* 小さなチェック（文章の中で使う） */
.c-ticklist { margin: 0 0 26px; padding: 0; list-style: none; color: #596678; font-size: var(--fs-card-text); }
.c-ticklist li { position: relative; padding-left: 17px; }
.c-ticklist li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-weight: 800; }

/* ---------- 入口カード（アイコン＋一言） ---------- */
.c-entry-card { display: flex; align-items: center; gap: 13px; min-height: 86px; padding: 16px 18px; border: 1px solid rgba(13,39,79,.07); border-radius: 13px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); font-size: var(--fs-label); font-weight: 700; transition: .2s; }
.c-entry-card:hover { border-color: #c7d5e5; transform: translateY(-2px); }
.c-entry-card__icon, .c-feature-card__icon, .c-consult__icon { flex: none; display: grid; width: 33px; height: 33px; place-items: center; color: #2f6ab0; background: #edf4fc; border-radius: 50%; }
.c-entry-card__icon svg, .c-feature-card__icon svg, .c-consult__icon svg { display: block; width: 18px; height: 18px; }

/* ---------- 説明つきカード（アイコン＋見出し＋説明） ---------- */
.c-feature-card { display: flex; flex-direction: column; min-height: 230px; padding: 24px 23px 22px; border: 1px solid rgba(13,39,79,.07); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); transition: .2s; }
a.c-feature-card:hover { border-color: #c7d5e5; transform: translateY(-2px); }
.c-feature-card__icon { margin-bottom: 22px; }
.c-feature-card__title { margin: 0 0 6px; font-size: var(--fs-card-title); letter-spacing: -.04em; }
.c-feature-card__label { margin: 0 0 4px; color: var(--ink-2); font-size: var(--fs-label); font-weight: 700; }
.c-feature-card__text { margin: 0; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }
.c-feature-card .c-link { margin-top: auto; padding-top: 16px; }

/* ---------- 相談への横長カード ---------- */
.c-consult { margin-top: 15px; padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 14px; color: #fff; background: linear-gradient(115deg, #0b3670, #174c90 70%, #4871a5); box-shadow: var(--shadow); }
.c-consult > div { flex: 1; }
.c-consult__title { font-size: var(--fs-card-title); }
.c-consult__text { margin: 2px 0 0; font-size: var(--fs-card-text); line-height: var(--lh-card-text); opacity: .78; }
.c-consult .c-button { flex: none; min-height: 39px; background: #fff; color: var(--ink); border-color: #fff; font-size: var(--fs-button-consult); }
.c-consult:hover .c-button { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(13,39,79,.2); }

/* ---------- 画像つきカード／実績カード ---------- */
.c-image-card, .c-work-card { display: block; position: relative; overflow: hidden; background: #fff; border: 1px solid rgba(13,39,79,.08); border-radius: 14px; box-shadow: 0 10px 28px rgba(13,39,79,.07); transition: .2s; }
a.c-image-card:hover, a.c-work-card:hover { border-color: #c7d5e5; transform: translateY(-2px); }
.c-image-card__image, .c-work-card__image { height: 175px; background-color: #e9eef5; }
.c-image-card__image img, .c-work-card__image img { width: 100%; height: 100%; object-fit: cover; }
.c-grid--2 .c-image-card__image, .c-grid--2 .c-work-card__image { height: 250px; }
.c-image-card__number { position: absolute; top: 151px; left: 17px; display: grid; place-items: center; width: 35px; height: 35px; border: 3px solid #fff; border-radius: 50%; background: var(--ink); color: #fff; font: 500 var(--fs-small) "DM Mono", monospace; }
.c-image-card__body, .c-work-card__body { padding: 20px 21px 22px; }
.c-image-card__title, .c-work-card__title { margin: 0 0 7px; font-size: var(--fs-card-title); letter-spacing: -.04em; }
.c-image-card__text, .c-work-card__text { margin: 0 0 13px; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }
/* まだ決まっていない実績の枠 */
.c-work-card--placeholder { box-shadow: none; border-style: dashed; }
.c-work-card--placeholder .c-work-card__text { margin: 0; }

.c-work-card[hidden] { display: none; }

/* ---------- 実績の絞り込み ---------- */
.c-filter { display: grid; gap: 14px; margin-bottom: 36px; }
.c-filter__group { display: flex; align-items: center; gap: 16px; }
.c-filter__label { flex: none; width: 5em; margin: 0; font-size: var(--fs-label); font-weight: 700; white-space: nowrap; }
.c-filter .c-chips { margin: 0; }

/* ---------- 関係図（SVG） ---------- */
.c-relation { padding: 30px 28px; border: 1px solid rgba(13,39,79,.08); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.c-relation svg { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; font-family: "Noto Sans JP", system-ui, sans-serif; }
.c-relation__box { fill: var(--mist); stroke: var(--line); }
.c-relation__box--main { fill: var(--ink); stroke: none; }
.c-relation__box--sub { fill: #fff; }
.c-relation__name { fill: var(--ink); font-size: 20px; font-weight: 700; text-anchor: middle; }
.c-relation__box--main + .c-relation__name { fill: #fff; font-size: 30px; font-weight: 800; letter-spacing: -.04em; }
.c-relation__desc { fill: var(--muted); font-size: var(--fs-relation-desc); text-anchor: middle; }
.c-relation__desc--main { fill: #fff; opacity: .86; }
.c-relation__arrow { stroke: var(--coral); stroke-width: 2; fill: none; }
.c-relation__head { fill: var(--coral); }

/* ---------- 文章＋画像 ---------- */
.c-media-text { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 70px; }
.c-media-text .c-heading { margin: 0 0 18px; font-size: var(--fs-h2); line-height: 1.26; letter-spacing: -.06em; }
.c-media-text .c-copy { margin: 0; }
.c-media-text .c-copy + .c-copy { margin-top: 1em; }
.c-media-text .c-chips { margin-top: 24px; }
.c-media-text__image { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: #e9eef5; box-shadow: var(--shadow); }
.c-media-text__image img { width: 100%; height: 100%; object-fit: cover; }
/* 左右同じ幅（トップの MISSION） */
.c-media-text--split { grid-template-columns: 1fr 1fr; gap: 105px; }
.c-media-text--split .c-heading { margin: 0; font-size: var(--fs-h2); line-height: 1.32; letter-spacing: -.055em; }
.c-media-text--split .c-copy { margin: 1em 0; }

/* 文章が長いときは上でそろえる（セクション見出し＋本文） */
.c-media-text--top { align-items: start; }
.c-media-text + .c-steps { margin-top: 56px; }

/* 写真に手書き風の一言（トップの MISSION） */
.c-photo-message { min-height: 362px; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.c-photo-message__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 33% center; }
.c-photo-message::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,.07), rgba(255,255,255,.20)); }
.c-photo-message__text { position: absolute; z-index: 1; right: 42px; top: 77px; max-width: 265px; color: #1a467c; font-size: 22px; font-weight: 600; letter-spacing: .06em; line-height: 1.6; text-shadow: 0 1px 15px rgba(255,255,255,.64); transform: rotate(-5deg); }
.c-photo-message__text small { display: block; margin-top: 62px; color: #738298; font: 500 var(--fs-small)/1.7 "DM Mono", monospace; letter-spacing: .12em; transform: rotate(5deg); }

/* 画像と一言を左右に並べた箱（トップの AI AUTOMATION） */
.c-visual-panel { min-height: 290px; display: grid; grid-template-columns: 1.05fr .95fr; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.c-visual-panel__image { position: relative; min-height: 290px; }
.c-visual-panel__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 32% center; }
.c-visual-panel__text { display: flex; align-items: center; margin: 0; padding: 34px; background: #fff; color: #29466d; font-size: 24px; font-weight: 700; line-height: 1.68; letter-spacing: .04em; }

/* ---------- ステップ ---------- */
.c-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.c-steps--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.c-step { min-height: 185px; padding: 25px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.c-steps--5 .c-step { padding: 24px 19px; }
.c-step__no { display: grid; width: 34px; height: 34px; place-items: center; margin-bottom: 21px; border-radius: 50%; background: #eaf1fa; color: #2862a3; font: 500 var(--fs-step-no) "DM Mono", monospace; }
.c-step__title { margin: 0 0 8px; font-size: var(--fs-card-title); }
.c-step__text { margin: 0; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }

/* 2列つきのステップ（縦に並べる　お客様にお願いすること／BUPがすること） */
.c-steps--detail { grid-template-columns: 1fr; gap: 12px; }
.c-steps--detail .c-step { display: grid; grid-template-columns: 34px 170px 1fr; align-items: start; gap: 22px; min-height: 0; }
.c-steps--wide-title .c-step { grid-template-columns: 34px 230px 1fr; }
.c-steps--detail .c-step__no { margin: 0; }
.c-steps--detail .c-step__title { margin: 3px 0 0; }
.c-step__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.c-step__label { margin: 3px 0 6px; color: var(--ink-2); font-size: var(--fs-label); font-weight: 700; }

/* ---------- 人物紹介 ---------- */
.c-person { display: grid; grid-template-columns: 420px 1fr; gap: 85px; align-items: center; }
.c-person__photo { position: relative; min-height: 382px; overflow: hidden; border-radius: 16px; background: #e9eef5; box-shadow: var(--shadow); }
.c-person__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-person__label { position: absolute; left: 19px; bottom: 16px; padding: 6px 9px; border-radius: 6px; background: rgba(255,255,255,.94); font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .08em; }
.c-person__title { margin: 0 0 17px; font-size: var(--fs-h2); line-height: 1.3; letter-spacing: -.06em; }
.c-person .c-eyebrow, .c-person__text, .c-person__name { color: var(--muted); font-size: var(--fs-eyebrow); }
.c-person__name { font-size: var(--fs-small); }
.c-person__text { font-size: var(--fs-body); line-height: var(--lh-body); }
.c-person__name { margin-top: 24px; font-weight: 700; }

/* ---------- よくある質問 ---------- */
.c-faq { width: min(860px, calc(100% - 48px)); margin: 0 auto; }
.c-faq__head { margin-bottom: 32px; }
.c-faq__item { border-bottom: 1px solid var(--line); }
.c-faq__q { cursor: pointer; list-style: none; padding: 19px 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; font-size: var(--fs-faq-q); font-weight: 700; }
.c-faq__q::-webkit-details-marker { display: none; }
.c-faq__q::after { content: "+"; color: #2d68ac; font: 400 22px/1 sans-serif; }
.c-faq__item[open] .c-faq__q::after { content: "−"; }
.c-faq__a { margin: -3px 0 19px; max-width: 700px; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.c-faq__more { margin-top: 18px; }
/* 分類ごとの小見出し（よくある質問ページ） */
.c-faq__group { margin: 56px 0 6px; font-size: var(--fs-card-title); letter-spacing: -.04em; }
.c-faq__group:first-child { margin-top: 0; }

/* お知らせ（トップ） */
.c-news { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--fs-news); }
.c-news__title { margin: 0; font-size: var(--fs-news-title); }
.c-news time { color: var(--muted); font-family: "DM Mono", monospace; font-size: var(--fs-news-date); margin-right: 16px; }

/* お知らせ一覧（日付＋見出し） */
.c-news-list { max-width: 860px; margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.c-news-list__item { border-bottom: 1px solid var(--line); }
.c-news-list__link { display: flex; align-items: baseline; gap: 32px; padding: 20px 0; font-size: var(--fs-body); font-weight: 700; }
.c-news-list__link:hover { color: var(--coral); }
.c-news-list time { flex: none; min-width: 9.5em; color: var(--muted); font: 500 var(--fs-news-list-date) "DM Mono", monospace; }

/* ---------- 表（左に項目　右に内容） ---------- */
.c-table { width: 100%; max-width: 860px; border-collapse: collapse; border-top: 1px solid var(--line); font-size: var(--fs-body); line-height: var(--lh-body); }
.c-table th, .c-table td { padding: 18px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.c-table th { width: 180px; padding-right: 24px; font-weight: 700; }
.c-table--wide th { width: 320px; }
.c-table td { color: var(--muted); }
.c-table a { color: #1b5eaa; }

/* ---------- 枠（あとから中身が入る場所　フォーム・料金の目安） ---------- */
.c-frame { padding: 40px 32px; border: 1px dashed #9ba8b9; border-radius: 14px; background: #fff; }
.c-frame__title { margin: 0; font-size: var(--fs-card-title); font-weight: 700; text-align: center; }
.c-frame__list { margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }

/* ---------- フォーム ---------- */
.c-form { position: relative; display: grid; gap: 26px; max-width: 760px; padding: 40px 36px; border: 1px solid rgba(13,39,79,.07); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-form[hidden] { display: none; }
.c-form__field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.c-form__label { padding: 0; font-size: var(--fs-check); font-weight: 700; }
.c-form__label a, .c-form__option a { color: #1b5eaa; text-decoration: underline; }
.c-form__input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; }
textarea.c-form__input { min-height: 150px; resize: vertical; }
.c-form__input:focus-visible { outline: 2px solid var(--ink-2); outline-offset: 1px; }
.c-form__input[aria-invalid="true"] { border-color: #b3423c; }
.c-form__options { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.c-form__option { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-size: var(--fs-check); }
.c-form__option input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.c-form__error { margin: 0; color: #b3423c; font-size: var(--fs-form-error); font-weight: 700; }
.c-form__message { margin: 0; color: #b3423c; font-size: var(--fs-check); font-weight: 700; line-height: var(--lh-body); }
.c-form__message a { text-decoration: underline; }
.c-form__done { max-width: 760px; padding: 40px 36px; border-radius: 14px; background: #fff; font-size: var(--fs-card-title); font-weight: 700; line-height: 1.7; }
/* 迷惑送信の対策：人には見えない入力欄 */
.c-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 文章だけのページ（見出しと段落） ---------- */
.c-prose { max-width: 760px; }
.c-prose h2 { margin: 40px 0 8px; font-size: var(--fs-card-title); letter-spacing: -.04em; }
.c-prose h2:first-child { margin-top: 0; }
.c-prose p { margin: 0 0 1em; color: var(--muted); font-size: var(--fs-body); line-height: var(--lh-body); }
.c-prose ul { margin: 0; padding: 0; list-style: none; font-size: var(--fs-body); line-height: var(--lh-body); }
.c-prose li a:hover { color: var(--coral); }

/* ---------- 相談への誘導 ---------- */
.c-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.c-cta > * { min-width: 0; }
.c-cta__title { margin: 0 0 18px; font-size: var(--fs-h2); line-height: 1.25; letter-spacing: -.07em; }
.c-cta .c-eyebrow, .c-cta__text { max-width: 470px; margin: 0 0 27px; color: #677383; font-size: var(--fs-eyebrow); }
.c-cta__text { font-size: var(--fs-body); line-height: var(--lh-body); }
.c-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.c-cta__note { max-width: 470px; margin: 16px 0 0; color: #4f5d6e; font-size: var(--fs-cta-note); line-height: 1.7; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-cta__art { min-height: 250px; border-radius: var(--radius); background: linear-gradient(140deg, rgba(255,255,255,.98), rgba(236,241,248,.97)); box-shadow: var(--shadow); display: grid; place-items: center; text-align: center; color: var(--ink); }
.c-cta__art b { display: block; margin-bottom: 9px; font-size: 21px; letter-spacing: -.04em; }
.c-cta__art span { color: var(--muted); font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .06em; }

/* ---------- フッター ---------- */
.c-footer { color: #d7e0ef; background: #0a2349; padding: 57px 0 29px; }
.c-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 55px; }
.c-footer .c-logo__mark { color: #fff; }
.c-footer .c-logo__text small { color: #aebcd2; }
.c-footer__text { margin: 17px 0 0; max-width: 240px; color: #aebcd2; font-size: var(--fs-footer-text); line-height: 1.75; }
.c-footer__heading { margin: 2px 0 15px; color: #fff; font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .10em; }
.c-footer__nav a { display: block; margin: 5px 0; color: #b8c5d7; font-size: var(--fs-footer-link); white-space: nowrap; }
.c-footer__grid { grid-template-columns: 1fr; gap: 40px; }
.c-footer__sitemap { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.c-footer__sub { display: grid; grid-template-columns: 4fr 1fr; gap: 28px; }
.c-footer__nav--lp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; align-content: start; }
.c-footer__nav--lp .c-footer__heading { grid-column: 1 / -1; }
.c-footer__nav--lp a { white-space: normal; font-size: 15px; }
.c-footer__nav a:hover { color: #fff; }
@media (min-width: 801px) and (max-width: 1100px) {
  .c-footer__sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c-footer__sub { grid-template-columns: 1fr; }
  .c-footer__nav--lp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 861px) and (max-width: 1100px) {
  .c-header__nav { gap: 16px; }
  .c-nav-item__caret { display: none; }
}
.c-footer__copyright { margin-top: 52px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.15); color: #8fa1b9; font: 500 var(--fs-small) "DM Mono", monospace; }

/* ---------- スクロール演出（assets/js/motion.js）　html.js のときだけ隠す ---------- */
/* 01 ふわっと浮き上がる */
.js .fx-up { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .fx-up.in { opacity: 1; transform: none; }
/* 02 見出しが1行ずつ現れる */
.fx-line { display: inline-block; overflow: hidden; vertical-align: top; }
.fx-line > span { display: inline-block; }
.js .fx-lines .fx-line > span { transform: translateY(110%); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.js .fx-lines.in .fx-line > span { transform: none; }
.js .fx-lines.in .fx-line:nth-of-type(2) > span { transition-delay: .12s; }
/* 03 画像がカーテンのように開く */
.js .fx-reveal img { clip-path: inset(0 100% 0 0); transform: scale(1.15); transition: clip-path 1.1s cubic-bezier(.7,0,.2,1), transform 1.6s cubic-bezier(.2,.7,.2,1); }
.js .fx-reveal.in img { clip-path: inset(0 0 0 0); transform: none; }
/* 07 線が伸びる（カードの外の余白に引く　横は5列のときだけ） */
.js .c-steps--5, .js .c-steps--detail { position: relative; }
.fx-rail { position: absolute; top: 0; bottom: 0; left: -12px; width: 2px; background: var(--line); }
.fx-rail i { display: block; width: 100%; height: 100%; background: var(--coral); transform: scaleY(var(--progress, 0)); transform-origin: top; }
.js .c-step.fx-on .c-step__no { background: var(--coral); color: #fff; transition: .3s; }
@media (min-width: 1001px) {
  .c-steps--5 .fx-rail { top: -14px; right: 0; bottom: auto; left: 0; width: auto; height: 2px; }
  .c-steps--5 .fx-rail i { transform: scaleX(var(--progress, 0)); transform-origin: left; }
}
@media print {
  .js .fx-up, .js .fx-lines .fx-line > span, .js .fx-reveal img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .fx-rail { display: none; }
}

/* ---------- 補助 ---------- */
.u-nowrap { white-space: nowrap; }
.u-object-top { object-position: top; }  /* 切り抜くときに画像の上側を見せる（ホームページの画面など） */
.u-sp-only { display: none; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c-button, .c-entry-card, .c-feature-card, .c-image-card, .c-work-card { transition: none; }
  .c-button:hover, .c-entry-card:hover, a.c-feature-card:hover, a.c-image-card:hover, a.c-work-card:hover, .c-consult:hover .c-button { transform: none; }
}

/* ---------- 5ステップは中くらいの幅で3列に　4列のカードは2列に ---------- */
@media (max-width: 1000px) {
  .c-steps--5 { grid-template-columns: repeat(3, 1fr); }
  .c-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* セクションの番号は、小見出しと並ばない広い画面だけ */
@media (min-width: 1400px) {
  .l-section--numbered::before { display: block; }
}

/* ---------- ヘッダーのスマホ用表示（メニューが1行に収まらない幅から） ---------- */
@media (max-width: 860px) {
  .c-header__inner { height: 64px; gap: 12px; }
  .c-header .c-logo__text small { white-space: nowrap; }
  .c-header__nav { display: none; }
  .c-header__menu { display: grid; flex: none; place-items: center; }
  .c-header__sp { display: block; flex-shrink: 0; padding: 1px 0; font-size: var(--fs-header-sp); font-weight: 700; white-space: nowrap; }
  .c-header__mobile-nav { position: absolute; z-index: 19; top: 100%; right: 0; left: 0; display: block; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; padding: 28px 0 48px; border-top: 1px solid var(--line); background: var(--paper); }
  .c-header__mobile-nav[hidden] { display: none; }
  .c-header__mobile-nav-inner { display: grid; gap: 0; }
  .c-header__mobile-nav a { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font-size: var(--fs-nav); font-weight: 700; }
  .c-header__mobile-nav .c-header__mobile-sub a { min-height: 44px; border-bottom: 0; color: var(--ink-2); font-size: 15px; }
  .c-header__mobile-nav .c-header__mobile-sub a[aria-current="page"] { color: var(--coral); }
  .c-header__mobile-nav .c-header__mobile-sub a::after { content: "→"; margin-left: auto; color: var(--coral); font-weight: 400; }
  .c-header__mobile-nav .c-button { justify-self: start; min-height: 46px; margin-top: 24px; padding: 0 20px; border-bottom: 1px solid var(--ink); font-size: var(--fs-button); }
  .c-hero__note { width: 340px; }
}

/* ロゴの横にメニューボタンと無料相談が並ぶと1行に収まらない幅では、ロゴの小さな文字を空白の位置で折り返す */
@media (max-width: 480px) {
  .c-header .c-logo { min-width: 0; }
  .c-header .c-logo__text small { white-space: normal; word-break: keep-all; }
}

/* ---------- スマホ ---------- */
@media (max-width: 800px) {
  :root { --fs-hero: 43px; --fs-body: 18px; --fs-card-text: 17px; --fs-statement: 19px; }

  .l-wrap { width: min(100% - 36px, 590px); }
  .l-section { padding: 75px 0; }
  .l-section--compact { padding: 95px 0; }
  .u-sp-only { display: inline; }
  .u-pc-only { display: none; }

  .c-breadcrumb { padding: 14px 0; }

  .c-hero, .c-hero__inner { min-height: 700px; }
  .c-hero--video, .c-hero--video .c-hero__inner { min-height: 740px; }
  .c-hero--video .c-hero__inner { padding-bottom: 170px; }  /* 下に重なる白い枠のぶんを空ける */
  .c-hero__video { inset: 40% 0 0; width: 100%; height: 60%; object-position: center; }
  .c-hero--video::after { background: linear-gradient(180deg, rgba(252,252,251,1) 0%, rgba(252,252,251,.97) 42%, rgba(252,252,251,.13) 74%, rgba(8,26,52,.14)); }
  .c-hero__inner { align-items: flex-start; padding-top: 92px; }
  .c-hero__number { top: 39px; }
  .c-hero__note { right: 18px; bottom: 22px; width: calc(100% - 36px); }
  .c-hero--image, .c-hero--image .c-hero__inner, .c-hero--plain, .c-hero--plain .c-hero__inner { min-height: 0; }
  .c-hero--plain .c-hero__inner { padding: 48px 0 44px; }
  .c-hero--image .c-hero__inner { grid-template-columns: 1fr; gap: 38px; padding: 92px 0 60px; }

  .c-section-head { display: block; }
  .c-section-head .c-copy, .c-section-head__note { margin-top: 15px; }

  .c-grid, .c-grid--2, .c-grid--4, .c-steps, .c-steps--5, .c-checklist { grid-template-columns: 1fr; }
  .c-feature-card { min-height: 0; padding: 20px 21px; }
  .c-feature-card__icon { margin-bottom: 14px; }
  .c-feature-card .c-link { padding-top: 10px; }
  .c-consult { display: block; }
  .c-consult__icon { margin-bottom: 14px; }
  .c-consult .c-button { margin-top: 16px; }
  .c-image-card__image, .c-work-card__image, .c-grid--2 .c-image-card__image, .c-grid--2 .c-work-card__image { height: 190px; }
  .c-image-card__number { top: 166px; }

  .c-filter__group { display: block; }
  .c-filter__label { width: auto; margin-bottom: 8px; }

  .c-relation { padding: 22px 18px; }

  .c-media-text, .c-media-text--split, .c-person, .c-cta { grid-template-columns: 1fr; gap: 38px; }
  .c-photo-message__text { right: 25px; top: 58px; font-size: 18px; }
  .c-photo-message__text small { margin-top: 38px; }
  .c-visual-panel { grid-template-columns: 1fr; }
  .c-visual-panel__image { min-height: 230px; }
  .c-visual-panel__text { min-height: 150px; font-size: 20px; }

  .c-steps--5 .c-step { min-height: 0; }
  .c-steps--detail .c-step { grid-template-columns: 1fr; gap: 12px; }
  .c-step__columns { grid-template-columns: 1fr; gap: 14px; }
  .c-person__photo { min-height: 320px; }
  .c-faq { width: min(100% - 36px, 590px); }
  .c-faq__group { margin-top: 44px; }

  .c-news-list__link { display: block; padding: 16px 0; }
  .c-news-list time { display: block; margin-bottom: 2px; }
  .c-news time { display: block; margin: 0 0 2px; }

  .c-table th, .c-table td { display: block; width: auto; padding: 0; border-bottom: 0; }
  .c-table th { padding-top: 14px; }
  .c-table td { padding-bottom: 14px; border-bottom: 1px solid var(--line); }

  .c-frame { padding: 28px 20px; }
  .c-form, .c-form__done { padding: 28px 20px; }
  .c-form__options { display: grid; }

  .c-cta__art { display: none; }
  .c-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .c-footer__sitemap { display: block; columns: 2; column-gap: 18px; }
  .c-footer__sitemap .c-footer__nav { break-inside: avoid; padding-bottom: 22px; }
  .c-footer__sitemap .c-footer__heading { margin-top: 0; }
  .c-footer__nav a { margin: 0; padding: 6px 0; }
  .c-footer__sub { grid-template-columns: 1fr; gap: 24px; }
  .c-footer__nav--lp { grid-template-columns: 1fr; }
  .c-footer__nav a { white-space: normal; }
}

/* ---------- タブレット（iPad の縦向きなど　幅740〜1000px） ----------
   PCの3列ではカードが狭く、スマホの1列では間延びする幅。カードは2列にし、余った1枚は横長にする */
@media (min-width: 740px) and (max-width: 1000px) {
  .c-section-head { display: block; }
  .c-section-head .c-copy, .c-section-head__note { margin-top: 15px; }
  .c-section-head__note { max-width: none; }

  .c-grid, .c-grid--2, .c-grid--4, .c-checklist { grid-template-columns: repeat(2, 1fr); }
  .c-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .c-steps, .c-steps--5 { grid-template-columns: repeat(3, 1fr); }
  .c-steps--detail { grid-template-columns: 1fr; }

  /* 横長になった画像カードは、画像を左・文章を右に */
  .c-grid > .c-image-card:last-child:nth-child(odd), .c-grid > .c-work-card:last-child:nth-child(odd) { display: grid; grid-template-columns: 1fr 1fr; }
  .c-grid > .c-image-card:last-child:nth-child(odd) .c-image-card__image, .c-grid > .c-work-card:last-child:nth-child(odd) .c-work-card__image { height: 100%; min-height: 220px; }
  .c-grid > .c-image-card:last-child:nth-child(odd) .c-image-card__number { top: 17px; }
  .c-grid > .c-image-card:last-child:nth-child(odd) .c-image-card__body, .c-grid > .c-work-card:last-child:nth-child(odd) .c-work-card__body { align-self: center; }

  .c-consult { display: flex; }
  .c-consult__icon { margin-bottom: 0; }
  .c-consult .c-button { margin-top: 0; }

  .c-media-text { gap: 40px; }
  .c-media-text--split { gap: 48px; }
  .c-person { grid-template-columns: minmax(240px, 36%) 1fr; gap: 40px; }
  .c-person__photo { min-height: 340px; }
  .c-cta { gap: 40px; }
}

/* タブレットの縦向き（幅740〜800px）：スマホ用の1列の部品はそのままで、左右の余白と幅だけ広げる */
@media (min-width: 740px) and (max-width: 800px) {
  .l-wrap, .c-faq { width: min(100% - 64px, 720px); }
  .c-hero__note { right: 32px; width: 420px; }
  /* 見出しの改行はPCと同じに */
  .u-sp-only { display: none; }
  .u-pc-only { display: inline; }
}

/* タブレット（幅801〜1000px）：画像つきの見出しは文章の列を広くとる */
@media (min-width: 801px) and (max-width: 1000px) {
  .c-hero--image .c-hero__inner { grid-template-columns: 1.35fr .65fr; gap: 32px; }
}

/* iPad Pro の縦向きなど（幅1001〜1100px）：4列のカードは見出しが入りきらないので2列に */
@media (min-width: 1001px) and (max-width: 1100px) {
  .c-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

/* 保守のLP（/lp/hoshu/）：料金プランのカード。PCは3列、幅1000px以下は1列 */
.c-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.c-plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px 26px; border: 1px solid rgba(13,39,79,.07); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-plan--recommend { border: 2px solid var(--coral); }
.c-plan .c-badge { position: absolute; top: -14px; left: 24px; margin: 0; }
.c-plan__name { margin: 0; font-size: var(--fs-card-title); letter-spacing: -.04em; }
.c-plan__price { margin: 12px 0 0; color: var(--ink); font-size: 40px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.c-plan__unit { margin: 0 4px; font-size: var(--fs-card-text); font-weight: 700; letter-spacing: 0; }
.c-plan__unit:first-child { margin-left: 0; }
.c-plan__ref { margin: 6px 0 0; color: var(--muted); font-size: var(--fs-card-text); font-weight: 700; }
.c-plan__lead { margin: 14px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-label); font-weight: 700; }
.c-plan__list { margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: var(--fs-card-text); line-height: 1.6; }
.c-plan__list li { position: relative; padding: 4px 0 4px 24px; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--coral); font-size: 15px; font-weight: 800; }
.c-plans__note { margin: 14px 0 0; max-width: 860px; color: var(--muted); font-size: var(--fs-cta-note); line-height: 1.8; }
.c-checklist__close a { color: #1b5eaa; }
@media (max-width: 1000px) {
  .c-plans { grid-template-columns: 1fr; max-width: 640px; gap: 28px; }
}

/* 業務システムのLP（/lp/gyomu-system/）：3つの段階の下の「作り分け」カード（横長・高さは中身なり） */
.c-feature-card--wide { min-height: 0; margin-top: 28px; max-width: 860px; }

/* 保守プランの詳細（/process/hoshu-plans/）：プランの比較表と、復旧できない主な場合 */
.u-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.c-compare { max-width: 1040px; overflow-x: auto; padding-top: 16px; }
.c-compare__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-card-text); line-height: 1.5; }
.c-compare__table th, .c-compare__table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.c-compare__table thead th { position: relative; padding: 22px 10px 20px; border-bottom: 0; background: var(--mist); color: var(--ink); text-align: center; vertical-align: bottom; word-break: keep-all; }
.c-compare__table thead th:nth-child(2) { border-radius: 14px 0 0 0; }
.c-compare__table thead th:last-child { border-radius: 0 14px 0 0; }
.c-compare__table thead th.c-compare__corner { background: transparent; }
.c-compare__table thead th.is-recommend { background: var(--coral); color: #fff; border-radius: 14px 14px 0 0; }
.c-compare__plan { display: block; font-size: var(--fs-card-title); font-weight: 700; letter-spacing: -.03em; line-height: 1.3; }
.c-compare__price { display: block; margin-top: 8px; font-size: 30px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.c-compare__price small { margin: 0 2px; font-size: 14px; letter-spacing: 0; }
.c-compare__lead { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.5; }
.c-compare__table thead .is-recommend .c-compare__lead { color: rgba(255,255,255,.88); }
.c-compare__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; min-height: 26px; padding: 0 12px; border: 2px solid var(--coral); border-radius: 99px; background: #fff; color: var(--coral); font-size: var(--fs-badge); font-weight: 700; white-space: nowrap; }
.c-compare__group th { padding: 24px 0 8px; border-bottom: 2px solid var(--ink); color: var(--coral); font-family: inherit; font-size: var(--fs-label); font-weight: 700; letter-spacing: .08em; text-align: left; }
.c-compare__table tbody tr:not(.c-compare__group) th { width: 43%; color: var(--ink); font-weight: 700; text-align: left; word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }
.c-compare__table td { width: 19%; color: var(--ink); text-align: center; word-break: keep-all; }
.c-compare__table td.is-recommend { background: rgba(205,93,87,.07); box-shadow: inset 2px 0 0 var(--coral), inset -2px 0 0 var(--coral); }
.c-compare__table tbody tr:last-child td.is-recommend { box-shadow: inset 2px 0 0 var(--coral), inset -2px 0 0 var(--coral), inset 0 -2px 0 var(--coral); }
.c-compare__table tbody tr:not(.c-compare__group):hover th, .c-compare__table tbody tr:not(.c-compare__group):hover td:not(.is-recommend) { background: rgba(13,39,79,.025); }
.c-compare__val { font-weight: 700; line-height: 1.4; }
.c-compare__val small { color: var(--muted); font-size: 14px; font-weight: 700; }
.c-compare__yes, .c-compare__no { display: inline-block; width: 26px; height: 26px; vertical-align: middle; }
.c-compare__yes { border-radius: 50%; background: var(--coral) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.c-compare__no { position: relative; }
.c-compare__no::before { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #b7c1ce; }
.c-compare__yes--inline, .c-compare__no--inline { width: 22px; height: 22px; margin: -3px 4px 0 0; background-size: 14px; }
.c-compare__fee { max-width: 1040px; margin: 22px 0 0; padding: 18px 22px; border-radius: 12px; background: var(--sand); color: var(--ink); font-size: var(--fs-card-text); line-height: 1.7; }
.c-compare__fee b { color: var(--coral); }
.c-price { max-width: 1040px; }
.c-price__plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.c-price__item { position: relative; padding: 26px 24px 24px; border: 1px solid rgba(13,39,79,.08); border-radius: 14px; background: #fff; text-align: center; }
.c-price__item.is-recommend { border: 2px solid var(--coral); }
.c-price__item dt { color: var(--ink); font-size: var(--fs-card-title); font-weight: 700; }
.c-price__item dd { margin: 10px 0 0; color: var(--ink); font-size: 38px; font-weight: 700; line-height: 1.2; letter-spacing: -.03em; }
.c-price__item dd small { margin: 0 3px; font-size: 16px; letter-spacing: 0; }
.c-price__ref { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; letter-spacing: 0; }
.c-price__fee { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 14px 0 0; padding: 20px 24px; border: 1px dashed rgba(13,39,79,.25); border-radius: 14px; color: var(--ink); font-size: var(--fs-card-text); font-weight: 700; }
.c-price__fee > span { color: var(--coral); font-size: 22px; }
.c-price__fee b { font-size: 26px; letter-spacing: -.02em; }
.c-price__fee small { color: var(--muted); font-size: 15px; font-weight: 400; }
.c-reasons__title { margin: 40px 0 0; color: var(--ink); font-size: var(--fs-card-title); letter-spacing: -.02em; }
.c-reasons { max-width: 860px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: reason; }
.c-reasons__item { position: relative; padding: 20px 0 20px 52px; border-top: 1px solid rgba(13,39,79,.12); counter-increment: reason; }
.c-reasons__item::before { content: counter(reason); position: absolute; top: 20px; left: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; }
.c-reasons__name { display: block; color: var(--ink); font-size: var(--fs-card-title); line-height: 1.5; }
.c-reasons__text { margin: 8px 0 0; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }
@media (max-width: 800px) {
  .c-compare__table { font-size: 15px; }
  .c-compare__table th, .c-compare__table td { padding: 12px 4px; }
  .c-compare__table thead th { padding: 18px 3px 14px; }
  .c-compare__table tbody tr:not(.c-compare__group) th { width: 37%; padding-left: 0; }
  .c-compare__table td { width: 21%; }
  .c-compare__plan { font-size: 15px; }
  .c-compare__price { margin-top: 6px; font-size: 19px; }
  .c-compare__price small { display: block; margin: 0; font-size: 12px; }
  .c-compare__price small:last-child { display: inline; }
  .c-compare__lead { display: none; }
  .c-compare__badge { top: -12px; min-height: 22px; padding: 0 7px; font-size: 12px; }
  .c-compare__yes, .c-compare__no { width: 22px; height: 22px; background-size: 14px; }
  .c-compare__val small { font-size: 12px; }
  .c-compare__fee { padding: 16px 18px; font-size: 16px; }
  .c-price__plans { grid-template-columns: 1fr; gap: 10px; }
  .c-price__item { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 18px 20px; text-align: left; }
  .c-price__item dt { font-size: 19px; }
  .c-price__item dt .c-compare__badge { top: -12px; left: 18px; transform: none; }
  .c-price__item dd { margin: 0; font-size: 28px; text-align: right; }
  .c-price__ref { font-size: 13px; }
  .c-price__fee { padding: 16px 20px; }
  .c-price__fee b { font-size: 22px; }
  .c-reasons__item { padding-left: 46px; }
  .c-reasons__name { font-size: 19px; }
}

/* トップの「3つの分野」：カード全体は代表のページへ、下のリンクは個別のサービスへ */
.c-image-card--multi { transition: .2s; }
.c-image-card--multi:hover { border-color: #c7d5e5; transform: translateY(-2px); }
.c-image-card__main::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.c-image-card__main:focus-visible { outline: none; }
.c-image-card--multi:has(.c-image-card__main:focus-visible) { outline: 2px solid var(--ink-2); outline-offset: 3px; }
.c-image-card__sublinks { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; }
.c-image-card__sublink { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; transition: .15s; }
.c-image-card__sublink span { color: var(--coral); }
.c-image-card__sublink:hover { border-color: var(--coral); color: var(--coral); }
@media (prefers-reduced-motion: reduce) { .c-image-card--multi, .c-image-card--multi:hover { transition: none; transform: none; } }

/* 比較表を薄い青の背景のセクションに置くとき（/lp/hoshu/）：見出しの地を白にする */
.l-section--mist .c-compare__table thead th:not(.is-recommend):not(.c-compare__corner) { background: #fff; }
.l-section--mist .c-compare__fee { background: #fff; }
.c-compare__legend { margin: 0 0 8px; color: var(--muted); font-size: var(--fs-card-text); }

/* 参考見積もり（/process/estimate/）：左に質問、右に金額（スマホは金額が下に固定で付いてくる） */
.c-estimate { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.c-estimate__q { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
.c-estimate__q-title { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 0; color: var(--ink); font-size: var(--fs-card-title); font-weight: 700; }
.c-estimate__q-no { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 14px "DM Mono", monospace; }
.c-estimate__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.c-estimate__cat { position: relative; display: grid; gap: 4px; padding: 18px 16px 16px; border: 2px solid transparent; border-radius: 14px; background: #fff; box-shadow: 0 6px 16px rgba(13,39,79,.05); color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; }
.c-estimate__cat:hover { border-color: #c7d5e5; }
.c-estimate__cat input { position: absolute; opacity: 0; }
.c-estimate__cat-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 6px; border-radius: 10px; background: var(--mist); color: var(--ink-2); }
.c-estimate__cat-icon svg { width: 22px; height: 22px; }
.c-estimate__cat b { font-size: 17px; line-height: 1.4; }
.c-estimate__cat small { color: var(--muted); font-size: 14px; }
.c-estimate__cat:has(input:checked) { border-color: var(--coral); }
.c-estimate__cat:has(input:checked) .c-estimate__cat-icon { background: var(--coral); color: #fff; }
.c-estimate__cat:has(input:focus-visible) { outline: 2px solid var(--ink-2); outline-offset: 2px; }
.c-estimate__options { display: grid; gap: 8px; }
.c-estimate__option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.5; cursor: pointer; }
.c-estimate__option:hover { border-color: #c7d5e5; }
.c-estimate__option input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--coral); }
.c-estimate__option:has(input:checked) { border-color: var(--coral); background: #fdf6f5; }
.c-estimate__reset { margin-top: 4px; padding: 8px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; text-decoration: underline; cursor: pointer; }
.c-estimate__result { position: sticky; top: 96px; padding: 26px 24px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.c-estimate__result-title { margin: 0; color: var(--coral); font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .1em; }
.c-estimate__empty { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.c-estimate__price { margin: 8px 0 0; color: var(--ink); font-size: 36px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; }
.c-estimate__monthly { display: flex; gap: 8px; align-items: baseline; margin: 6px 0 0; color: var(--ink); font-size: 18px; }
.c-estimate__monthly span { color: var(--coral); }
.c-estimate__detail { margin-top: 16px; border-top: 1px solid var(--line); }
.c-estimate__detail summary { padding: 12px 0 6px; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.c-estimate__list { margin: 0; padding: 0; list-style: none; }
.c-estimate__list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: 14px; line-height: 1.5; }
.c-estimate__list b { flex: none; color: var(--ink); font-weight: 700; text-align: right; }
.c-estimate__notes { margin: 14px 0 0; padding: 12px 14px 12px 30px; border-radius: 10px; background: var(--sand); color: var(--ink); font-size: 14px; line-height: 1.7; }
.c-estimate__consult { width: 100%; justify-content: center; margin-top: 18px; }
.c-estimate__caution { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 1000px) {
  .c-estimate { grid-template-columns: 1fr; }
  .c-estimate__result { position: static; }
}
@media (max-width: 800px) {
  .c-estimate__cats { grid-template-columns: 1fr; }
  .c-estimate__cat { grid-template-columns: 40px 1fr; column-gap: 12px; padding: 14px; }
  .c-estimate__cat-icon { grid-row: span 2; margin: 0; }
  .c-estimate__q-title { font-size: 19px; }
  .c-estimate__option { font-size: 16px; }
  .c-estimate__price { font-size: 30px; }
}
.c-estimate [hidden], .c-estimate-bar[hidden] { display: none !important; }
/* スマホ：答えている間も金額が見えるよう、画面の下に金額の帯を出す */
.c-estimate-bar { display: none; }
@media (max-width: 1000px) {
  .c-estimate-bar { position: fixed; z-index: 15; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(13,39,79,.08); backdrop-filter: blur(10px); }
  .c-estimate-bar__label { display: block; color: var(--coral); font-size: 12px; font-weight: 700; }
  .c-estimate-bar__price { display: block; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.3; }
  .c-estimate-bar__monthly { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
  .c-estimate-bar a { flex: none; display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; }
  body:has(.c-estimate-bar:not([hidden])) .c-footer { padding-bottom: 110px; }
}

/* ===== ビジュアル追加 A（2026-11-13） ===== */
/* 料金の目安：アイコン付きのカード（費用の考え方） */
.c-price-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.c-price-card { display: flex; flex-direction: column; gap: 10px; padding: 24px 20px 22px; border: 1px solid rgba(13,39,79,.07); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-price-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mist); color: var(--ink-2); }
.c-price-card__icon svg { width: 24px; height: 24px; }
.c-price-card__name { margin: 4px 0 0; color: var(--ink); font-size: var(--fs-label); font-weight: 700; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.c-price-card__price { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 15px; font-weight: 700; }
.c-price-card__price b { color: var(--ink); font-size: 30px; letter-spacing: -.03em; }
@media (max-width: 1000px) { .c-price-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) {
  .c-price-cards { grid-template-columns: 1fr; gap: 10px; }
  .c-price-card { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 14px 16px; }
  .c-price-card__icon { width: 44px; height: 44px; }
  .c-price-card__name { margin: 0; font-size: 16px; }
  .c-price-card__price { margin: 0; padding: 0; border: 0; text-align: right; white-space: nowrap; font-size: 13px; }
  .c-price-card__price b { font-size: 22px; }
}

/* 予算に合わせて段階的に：右上がりの階段（費用の考え方） */
.c-stairs { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 16px; margin: 0; padding: 0; list-style: none; }
.c-stairs__item { display: flex; flex-direction: column; }
.c-stairs__card { padding: 22px 22px 20px; border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; background: #fff; }
.c-stairs__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--mist); color: var(--ink-2); }
.c-stairs__icon svg { width: 22px; height: 22px; }
.c-stairs__title { margin: 0 0 6px; font-size: var(--fs-card-title); }
.c-stairs__text { margin: 0; color: var(--muted); font-size: var(--fs-card-text); line-height: var(--lh-card-text); }
.c-stairs__step { display: flex; align-items: flex-end; padding: 0 22px 14px; border-radius: 0 0 14px 14px; color: #fff; font: 500 15px "DM Mono", monospace; letter-spacing: .08em; }
.c-stairs__item:nth-child(1) .c-stairs__step { height: 56px; background: #8fb0d6; }
.c-stairs__item:nth-child(2) .c-stairs__step { height: 112px; background: #4f7fb8; }
.c-stairs__item:nth-child(3) .c-stairs__step { height: 168px; background: var(--ink-2); }
@media (max-width: 800px) {
  .c-stairs { grid-template-columns: 1fr; gap: 12px; }
  .c-stairs__card { padding: 18px 18px 16px; border-bottom: 1px solid var(--line); border-radius: 14px 14px 0 0; }
  .c-stairs__step { height: 34px !important; align-items: center; padding: 0 18px; }
  .c-stairs__item:nth-child(1) .c-stairs__step { width: 40%; }
  .c-stairs__item:nth-child(2) .c-stairs__step { width: 70%; }
  .c-stairs__item:nth-child(3) .c-stairs__step { width: 100%; }
  .c-stairs__step { border-radius: 0 0 14px 14px; }
  .c-stairs__item:nth-child(-n+2) .c-stairs__step { border-radius: 0 0 14px 0; }
  .c-stairs__item:nth-child(-n+2) .c-stairs__card { border-radius: 14px 14px 14px 0; }
}

/* 5つのステップの流れ図（制作の流れ） */
.c-flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.c-flow::before { content: ""; position: absolute; top: 36px; right: 10%; left: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--coral) 0 8px, transparent 8px 14px); }
.c-flow__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.c-flow__icon { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink-2); }
.c-flow__icon svg { width: 30px; height: 30px; }
.c-flow__no { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 500 13px "DM Mono", monospace; }
.c-flow__label { color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.c-flow__item:last-child .c-flow__icon { border-color: var(--coral); color: var(--coral); }
@media (max-width: 800px) {
  .c-flow { gap: 2px; margin-bottom: 22px; }
  .c-flow::before { top: 25px; }
  .c-flow__icon { width: 50px; height: 50px; }
  .c-flow__icon svg { width: 22px; height: 22px; }
  .c-flow__no { top: -6px; right: -8px; width: 22px; height: 22px; }
  .c-flow__label { max-width: 3.4em; font-size: 13px; }
}

/* 保守でしていること：4つの柱（保守プランの詳細） */
.c-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 36px; padding: 0; list-style: none; }
.c-pillar { padding: 22px 20px 20px; border: 1px solid rgba(13,39,79,.07); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-pillar__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: var(--ink-2); color: #fff; }
.c-pillar__icon svg { width: 24px; height: 24px; }
.c-pillar__title { margin: 0 0 6px; color: var(--ink); font-size: var(--fs-card-title); }
.c-pillar__text { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.c-pillars__note { margin: -22px 0 32px; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .c-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) {
  .c-pillars { gap: 10px; margin-bottom: 30px; }
  .c-pillar { padding: 16px 14px; }
  .c-pillar__icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .c-pillar__icon svg { width: 20px; height: 20px; }
  .c-pillar__title { font-size: 18px; }
  .c-pillar__text { font-size: 14px; line-height: 1.7; }
  .c-pillars__note { margin-top: -18px; }
}

/* 流れ図の3段（トラブルのときの連絡） */
.c-flow--3 { grid-template-columns: repeat(3, 1fr); max-width: 860px; }
.c-flow--3::before { right: 16.6%; left: 16.6%; }
.c-flow__sub { margin-top: -4px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 800px) {
  .c-flow--3 .c-flow__label { max-width: none; font-size: 15px; }
  .c-flow--3 { gap: 12px; }
  .c-flow__sub { font-size: 13px; word-break: keep-all; }
}

/* よくある質問の分類にアイコン */
.c-faq__group:has(.c-faq__group-icon) { display: flex; align-items: center; gap: 12px; }
.c-faq__group-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--ink-2); }
.c-faq__group-icon svg { width: 21px; height: 21px; }
@media (max-width: 480px) {
  .c-faq__group:has(.c-faq__group-icon) { gap: 8px; }
  .c-faq__group-icon { width: 30px; height: 30px; border-radius: 8px; }
  .c-faq__group-icon svg { width: 17px; height: 17px; }
}

/* ===== ビジュアル追加 B（2026-11-14） ===== */
/* 仕組みの図：連絡文 → AIが読み取る → 条件 → 計算 → 確認（送迎ルートAI） */
.c-mech { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 44px; }
.c-mech__input { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed #b9c8da; border-radius: 12px; background: #fff; }
.c-mech__input-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mist); color: var(--ink-2); }
.c-mech__input-icon svg { width: 20px; height: 20px; }
.c-mech__input b { display: block; color: var(--ink); font-size: 16px; }
.c-mech__input span { color: var(--muted); font-size: 14px; }
.c-mech__ai { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 0 14px 18px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.c-mech__ai::before { content: ""; position: absolute; top: 0; bottom: 0; left: 30px; border-left: 2px dashed var(--coral); }
.c-mech__ai-badge { position: relative; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font: 700 11px "DM Mono", monospace; }
.c-mech__ai-text { padding-left: 4px; }
.c-mech__steps { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: 44px; margin: 0; padding: 0; list-style: none; }
.c-mech__step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.c-mech__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -34px; width: 24px; height: 24px; margin-top: -12px; background: var(--coral); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.c-mech__step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.c-mech__step-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--ink-2); }
.c-mech__step-icon svg { width: 22px; height: 22px; }
.c-mech__step-no { margin-left: auto; color: #8fa3bd; font: 500 15px "DM Mono", monospace; }
.c-mech__step-title { margin: 0 0 6px; font-size: var(--fs-card-title); }
.c-mech__step-text { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.c-mech__step--core { border-color: var(--ink); background: var(--ink); }
.c-mech__step--core .c-mech__step-icon { background: rgba(255,255,255,.12); color: #fff; }
.c-mech__step--core .c-mech__step-title { color: #fff; }
.c-mech__step--core .c-mech__step-text, .c-mech__step--core .c-mech__step-no { color: rgba(255,255,255,.8); }
@media (max-width: 800px) {
  .c-mech { grid-template-columns: 1fr; }
  .c-mech__steps { grid-template-columns: 1fr; gap: 34px; }
  .c-mech__step { padding: 18px 18px 16px; }
  .c-mech__step:not(:last-child)::after { top: auto; right: auto; bottom: -30px; left: 50%; margin: 0 0 0 -12px; transform: rotate(90deg); }
  .c-mech__step-text { font-size: 16px; }
}

/* だれに届けるかの図（寺院の連絡・案内） */
.c-roles { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 0 28px; margin: 0 0 32px; padding: 26px 28px; border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-roles__hub { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 150px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 18px; font-weight: 700; }
.c-roles__hub svg { width: 30px; height: 30px; }
.c-roles__rows { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.c-roles__row { display: grid; grid-template-columns: 1fr 34px 1fr; align-items: center; gap: 10px; }
.c-roles__tool, .c-roles__who { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 10px 14px; border-radius: 10px; font-size: 16px; font-weight: 700; line-height: 1.45; }
.c-roles__tool { background: var(--mist); color: var(--ink); }
.c-roles__who { border: 1px solid var(--line); color: var(--ink); }
.c-roles__tool svg, .c-roles__who svg { flex: none; width: 22px; height: 22px; color: var(--ink-2); }
.c-roles__tool small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.c-roles__arrow { height: 2px; background: var(--coral); position: relative; }
.c-roles__arrow::after { content: ""; position: absolute; top: -5px; right: -1px; border: 6px solid transparent; border-right: 0; border-left: 8px solid var(--coral); }
@media (max-width: 800px) {
  .c-roles { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .c-roles__hub { flex-direction: row; min-height: 0; padding: 12px; font-size: 16px; }
  .c-roles__hub svg { width: 22px; height: 22px; }
  .c-roles__row { grid-template-columns: 1fr; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
  .c-roles__tool, .c-roles__who { min-height: 0; padding: 6px 4px; border: 0; background: none; font-size: 15px; }
  .c-roles__arrow { width: 2px; height: 16px; margin-left: 15px; }
  .c-roles__arrow::after { top: auto; right: auto; bottom: -1px; left: -5px; border: 6px solid transparent; border-bottom: 0; border-top: 8px solid var(--coral); }
}

/* 4段の流れ図（撮影・配信） */
.c-flow-block { margin-top: 48px; padding: 28px 24px 24px; border-radius: 14px; background: var(--mist); }
.l-section--mist .c-flow-block { background: #fff; }
.c-flow-block__title { margin: 0 0 22px; color: var(--ink); font-size: var(--fs-label); font-weight: 700; text-align: center; }
.c-flow-block .c-flow { margin: 0; }
.c-flow--4 { grid-template-columns: repeat(4, 1fr); }
.c-flow--4::before { right: 12.5%; left: 12.5%; }
@media (max-width: 800px) {
  .c-flow-block { margin-top: 36px; padding: 20px 10px 18px; }
  .c-flow--4 { gap: 4px; }
  .c-flow--4 .c-flow__label { max-width: none; font-size: 13px; }
  .c-flow--4 .c-flow__sub { font-size: 12px; }
}

/* 小さく始めて大きくする目盛り（業務改善） */
.c-scale { display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.c-scale__item { display: flex; flex-direction: column; gap: 10px; }
.c-scale__bar { border-radius: 8px 8px 0 0; background: #8fb0d6; }
.c-scale__item:nth-child(1) .c-scale__bar { height: 36px; background: var(--coral); }
.c-scale__item:nth-child(2) .c-scale__bar { height: 62px; background: #e08b85; }
.c-scale__item:nth-child(3) .c-scale__bar { height: 88px; background: #8fb0d6; }
.c-scale__item:nth-child(4) .c-scale__bar { height: 114px; border: 2px dashed #8fb0d6; background: transparent; }
.c-scale__label { color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.45; word-break: keep-all; }
.c-scale__label small { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.c-scale__axis { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.c-flow__item { min-width: 0; }
@media (max-width: 800px) {
  .c-flow--4 .c-flow__label, .c-flow--4 .c-flow__sub { word-break: normal; overflow-wrap: anywhere; }
}
.c-mech__input, .c-mech__ai { grid-column: 1; }
.c-scale { align-items: start; }
.c-scale__item { display: grid; grid-template-rows: 114px auto; gap: 10px; }
.c-scale__bar { align-self: end; }
@media (max-width: 480px) {
  .c-flow--4 { grid-template-columns: 1fr; gap: 12px; max-width: 300px; margin: 0 auto; }
  .c-flow--4::before { top: 25px; right: auto; bottom: 25px; left: 24px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--coral) 0 6px, transparent 6px 11px); }
  .c-flow--4 .c-flow__item { display: grid; grid-template-columns: 50px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; text-align: left; }
  .c-flow--4 .c-flow__icon { grid-row: span 2; }
  .c-flow--4 .c-flow__label { align-self: end; font-size: 15px; }
  .c-flow--4 .c-flow__sub { align-self: start; margin: 0; font-size: 13px; }
}

/* 見出しの下に写真（制作の流れ・パートナー） */
.c-media-text--split .c-media-text__image { margin-top: 32px; }

/* ===== ビジュアル追加 C（2026-11-14） ===== */
/* ステップのカードにアイコン */
.c-step:has(.c-step__icon) { position: relative; }
.c-step__icon { position: absolute; top: 22px; right: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--ink-2); }
.c-step__icon svg { width: 21px; height: 21px; }
.l-section--mist .c-step__icon { background: #eef3f9; }
.c-steps--detail .c-step:has(.c-step__icon) { padding-right: 80px; }
@media (max-width: 800px) {
  .c-step__icon { top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 10px; }
  .c-step__icon svg { width: 18px; height: 18px; }
  .c-steps--detail .c-step:has(.c-step__icon) { padding-right: 25px; }
}
/* 料金の目安の札（LP） */
.c-price-tag { margin: 0 0 24px; padding: 22px 24px 20px; border: 1px solid rgba(13,39,79,.08); border-left: 5px solid var(--coral); border-radius: 14px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.04); }
.c-price-tag__label { margin: 0; color: var(--ink-2); font-size: var(--fs-label); font-weight: 700; }
.c-price-tag__price { margin: 2px 0 14px; color: var(--muted); font-size: 18px; font-weight: 700; }
.c-price-tag__price b { color: var(--ink); font-size: 48px; letter-spacing: -.03em; }
.c-price-tag__by { margin: 0; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--muted); font-size: 14px; font-weight: 700; }
.c-price-tag .c-chips { margin-top: 8px; }
@media (max-width: 800px) { .c-price-tag { padding: 18px 18px 16px; } .c-price-tag__price b { font-size: 40px; } }

/* 参考見積もり：AIに文章で伝える欄（2026-11-14） */
.c-estimate-ai { margin: 0 0 36px; padding: 24px 24px 22px; border: 1px solid rgba(13,39,79,.08); border-radius: 16px; background: #fff; box-shadow: 0 8px 20px rgba(13,39,79,.05); }
.c-estimate-ai__title { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--ink); font-size: var(--fs-card-title); font-weight: 700; }
.c-estimate-ai__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--coral); color: #fff; }
.c-estimate-ai__icon svg { width: 19px; height: 19px; }
.c-estimate-ai__lead { margin: 0 0 14px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.c-estimate-ai__text { display: block; width: 100%; min-height: 120px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; line-height: 1.7; resize: vertical; }
.c-estimate-ai__text:focus { outline: 2px solid var(--ink-2); outline-offset: 1px; }
.c-estimate-ai__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.c-estimate-ai__go[disabled] { opacity: .65; cursor: wait; }
.c-estimate-ai__count { color: var(--muted); font-size: 13px; }
.c-estimate-ai__note { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.c-estimate-ai__error { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: #fdf0ef; color: #a2403b; font-size: 14px; }
.c-estimate-ai__result { margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--mist); }
.c-estimate-ai__result-title { margin: 0 0 4px; color: var(--coral); font: 500 var(--fs-small) "DM Mono", monospace; letter-spacing: .08em; }
.c-estimate-ai__summary { margin: 0; color: var(--ink); font-size: 17px; font-weight: 700; line-height: 1.7; }
.c-estimate-ai__sub { margin: 12px 0 2px; color: var(--ink-2); font-size: 14px; font-weight: 700; }
.c-estimate-ai__result ul { margin: 0; padding-left: 1.3em; color: var(--ink); font-size: 14px; line-height: 1.8; }
.c-estimate-ai__fix { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.c-estimate-ai [hidden] { display: none !important; }
@media (max-width: 800px) { .c-estimate-ai { padding: 18px 16px; } .c-estimate-ai__go { width: 100%; justify-content: center; } }

/* お知らせ：一覧の小さな写真・記事の写真（11/14） */
.c-news-list__link--thumb { align-items: center; }
.c-news-list__thumb { flex: none; width: 120px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #e9eef5; }
.c-news-list__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-news-photo { margin: 0 0 32px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: #e9eef5; }
.c-news-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .c-news-list__link--thumb { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 16px; align-items: center; }
  .c-news-list__link--thumb .c-news-list__thumb { grid-row: 1 / 3; width: 96px; }
  .c-news-list__link--thumb time { margin: 0; align-self: end; }
  .c-news-list__link--thumb span:last-child { align-self: start; }
}

/* 写真の帯（11/15 写真をふんだんに）：段の終わりに横長の写真。--duo は2枚並べ */
.c-photo-band { grid-column: 1 / -1; margin: 48px 0 0; display: grid; gap: 16px; }
.c-photo-band__item { position: relative; margin: 0; aspect-ratio: 21 / 8; overflow: hidden; border-radius: var(--radius); background: #e9eef5; box-shadow: var(--shadow); }
.c-photo-band__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-photo-band--duo { grid-template-columns: 1fr 1fr; }
.c-photo-band--duo .c-photo-band__item { aspect-ratio: 3 / 2; }
@media (max-width: 800px) {
  .c-photo-band { margin-top: 32px; }
  .c-photo-band__item { aspect-ratio: 3 / 2; }
  .c-photo-band--duo { grid-template-columns: 1fr; }
}
