/* =========================================================
   下層ページの共通の部品（2026-10-05）。不動産会社様ページ（page-mb.css）と同じ作りを、ほかのページでも使えるようにしたもの
   方向性：短い見出し＋図解・写真（AI画像を含む）＋1行。BtoBサービス（SmartHR・freee・バクラク）の質
   手描きの人物イラストは使わない。写真・アプリやサイトの実際の画面・線のアイコンで見せる
   ========================================================= */
:root { --k-tx: #0b1b2b; --k-tx2: #4f5b67; --k-bd: rgba(11,27,43,.1); --k-blue: #0077d9; --k-sky: #009ffd; --k-mint: #19c39a; --k-tint: #f3f8fd; --k-r: 22px; }

/* 区画 */
.k-wrap { width: min(1120px, 100% - 40px); margin: 0 auto; }
.k-wrap--narrow { width: min(820px, 100% - 40px); }
.k-sec { padding: 88px 0; }
.k-sec--tint { background: var(--k-tint); }
.k-sec--tight { padding: 56px 0; }
.k-pc { display: inline; } .k-sp { display: none; }

/* 小見出し・見出し・説明 */
.k-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 14px; font-weight: 800; color: var(--k-blue); }
.k-k::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--k-sky), var(--k-mint)); }
.k-center { text-align: center; } .k-center .k-k { display: flex; justify-content: center; }
.k-h2 { margin: 0; font: 900 clamp(24px, 3vw, 38px)/1.35 "Noto Sans JP", sans-serif; letter-spacing: -.01em; color: var(--k-tx); }
.k-h2 { text-wrap: balance; } /* 見出しの最後の行に数文字だけ落ちないように（2026-10-09） */
.k-h3 { margin: 0 0 6px; font-size: 18px; font-weight: 900; line-height: 1.5; color: var(--k-tx); }
.k-sub { margin: 14px 0 0; max-width: 680px; color: var(--k-tx2); font-size: 16px; line-height: 1.8; }
.k-center .k-sub { margin-left: auto; margin-right: auto; }
.k-note { margin: 16px 0 0; color: var(--k-tx2); font-size: 13px; line-height: 1.8; }
.k-grad { background: linear-gradient(90deg, #0077d9, #19c39a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-nw { white-space: nowrap; }

/* ボタン */
.k-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.k-center .k-actions { justify-content: center; }
.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--k-blue); color: #fff; font: 800 16px "Noto Sans JP", sans-serif; text-decoration: none; cursor: pointer; box-shadow: 0 12px 26px rgba(0,119,217,.26); transition: transform .2s, box-shadow .2s; }
.k-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(0,119,217,.32); }
.k-btn svg { width: 18px; height: 18px; }
.k-btn--line { background: #fff; color: var(--k-tx); box-shadow: inset 0 0 0 1.5px var(--k-bd); }
.k-btn--white { background: #fff; color: var(--k-blue); box-shadow: none; }
.k-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.k-link { display: inline-flex; align-items: center; gap: 6px; color: var(--k-blue); font-weight: 800; text-decoration: none; }
.k-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* カード・並び */
.k-grid { display: grid; gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.k-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k-card { padding: 24px; border-radius: var(--k-r); background: #fff; box-shadow: 0 0 0 1px var(--k-bd); }
.k-card--lift { box-shadow: 0 0 0 1px var(--k-bd), 0 18px 40px rgba(0,40,90,.06); }
.k-card p { margin: 0; color: var(--k-tx2); font-size: 14px; line-height: 1.8; }
a.k-card { display: block; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.k-card:hover { box-shadow: 0 0 0 2px var(--k-sky); transform: translateY(-2px); }
.k-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 16px; background: #eaf6ff; color: var(--k-blue); }
.k-ic svg { width: 26px; height: 26px; }
.k-ic--mint { background: #e6faf3; color: #0f9e7b; }

/* 写真・画面（AI画像を含む）：角を丸めた枠 */
.k-media { position: relative; margin: 0; border-radius: var(--k-r); overflow: hidden; background: #eef4fa; }
.k-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.k-media--4x3 { aspect-ratio: 4 / 3; } .k-media--16x9 { aspect-ratio: 16 / 9; } .k-media--1x1 { aspect-ratio: 1; }
/* AI画像の作成待ちの場所（仮）。data-ai に指示書の番号を入れる */
.k-ai { display: grid; place-items: center; align-content: center; gap: 6px; padding: 16px; border: 2px dashed #b9cde0; background: repeating-linear-gradient(135deg, #f5f9fd 0 12px, #eef4fa 12px 24px); color: var(--k-tx2); font-size: 13px; font-weight: 700; text-align: center; }
.k-ai::before { content: "AI画像（作成待ち）" attr(data-ai); font-size: 12px; font-weight: 800; color: var(--k-blue); }

/* 左に文・右に絵の2段 */
.k-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.k-split--rev > :first-child { order: 2; }

/* 番号付きの手順カード（矢印でつなぐ） */
.k-steps { display: grid; gap: 28px; margin: 40px 0 0; padding: 0; list-style: none; }
.k-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.k-steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.k-steps > li { position: relative; padding: 22px; border-radius: var(--k-r); background: #fff; box-shadow: 0 0 0 1px var(--k-bd), 0 18px 40px rgba(0,40,90,.06); }
.k-steps > li + li::before { content: ""; position: absolute; left: -24px; top: 50%; margin-top: -10px; border: 10px solid transparent; border-left: 12px solid var(--k-blue); }
.k-steps__n { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 900; color: var(--k-tx); }
.k-steps__n span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 8px; background: var(--k-blue); color: #fff; font: 800 15px "Inter", sans-serif; }

/* チェックの並び */
.k-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.k-checks li { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 800; color: var(--k-tx); }
.k-checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--k-mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* よくある質問（開閉） */
.k-faq { display: grid; gap: 10px; margin: 32px 0 0; }
.k-faq details { border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-bd); }
.k-faq summary { position: relative; display: flex; align-items: center; gap: 12px; padding: 18px 54px 18px 18px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 800; line-height: 1.6; }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::before { content: "Q"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--k-blue); color: #fff; font: 800 13px "Inter", sans-serif; }
.k-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: #eef4fa; font: 700 16px/24px "Inter", sans-serif; text-align: center; transition: transform .25s; }
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq details > p, .k-faq details > div { margin: 0; padding: 0 22px 20px 58px; color: var(--k-tx2); font-size: 15px; line-height: 1.85; }

/* 申し込み・ダウンロードの帯 */
.k-cta { padding: 0 0 88px; }
.k-sec--tint + .k-cta { padding-top: 88px; } /* 色付きの区画のすぐ後では、上にも余白（2026-10-06 全ページ点検） */
.k-cta__in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 48px 56px; border-radius: 28px; background: linear-gradient(120deg, #0077d9 0%, #009ffd 60%, #19c39a 130%); color: #fff; }
.k-cta h2 { margin: 0; font: 900 clamp(22px, 2.6vw, 32px)/1.4 "Noto Sans JP", sans-serif; }
.k-cta p { margin: 8px 0 0; opacity: .9; }
.k-cta .k-actions { margin: 0; flex: none; }

/* スマホ：画面の下に固定するボタン（data-k-sticky に hidden を付けておき、スクリプトで出す） */
.k-sticky { display: none; }

@media (max-width: 960px) {
  .k-pc { display: none; } .k-sp { display: inline; }
  .k-sec { padding: 60px 0; }
  .k-sub { font-size: 15px; }
  .k-grid--2, .k-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .k-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .k-split--rev > :first-child { order: 0; }
  .k-steps--3, .k-steps--4 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .k-steps > li + li::before { left: 50%; top: -28px; margin: 0 0 0 -10px; transform: rotate(90deg); }
  .k-btn { width: 100%; }
  .k-faq summary { font-size: 15px; padding: 16px 48px 16px 14px; }
  .k-faq details > p, .k-faq details > div { padding: 0 16px 18px 54px; font-size: 14px; }
  .k-cta { padding-bottom: 60px; }
  .k-sec--tint + .k-cta { padding-top: 60px; }
  .k-cta__in { flex-direction: column; align-items: stretch; padding: 36px 22px; text-align: center; }
  .k-sticky { display: block; position: fixed; left: 12px; right: 84px; bottom: 14px; z-index: 40; }
  .k-sticky[hidden] { display: none; }
  .k-sticky .k-btn { height: 52px; box-shadow: 0 12px 30px rgba(0,60,120,.35); }
}

/* 2026-10-09 質の基準（docs/下層ページの質の基準.md）：入居者向け・不動産会社向けのページの大きい見出し。
   左右に分けた最初の画面の大見出し＝PC 56px 以上、区画の見出し＝PC 48px 以上（トップ 118px・69px） */
.k-h1l { margin: 0; font: 900 clamp(34px, 4.6vw, 60px)/1.18 "Noto Sans JP", sans-serif; letter-spacing: -.035em; color: var(--k-tx); text-wrap: balance; }
.k-h2l { font-size: clamp(26px, 3.8vw, 48px); line-height: 1.25; letter-spacing: -.03em; }
