/* =========================================================
   AI業務アプリ LP
   1. トークン  2. 基本  3. 共通部品  4. セクション
   5. 体験デモ  6. レスポンシブ  7. 動きを減らす設定
   ========================================================= */

/* ---------- 1. トークン ---------- */
:root {
  /* 色:メインは展示会A0パネルの緑。白文字を乗せる面は --green-strong */
  --green: #0b9948;
  --green-strong: #087a3a;
  --green-strong-hover: #066b33;
  --green-deep: #0e3d24;
  --green-tint: #e8f4ec;
  --ink: #17241c;
  --sub: #4a5b50;
  --body: #33443a;
  --paper: #f5f7f3;
  --surface: #ffffff;
  --line: #d8e2d4;
  --signal: #f2c200; /* フォーカスリング専用 */
  --yellow: #ffe14d; /* チラシの黄色。濃い緑(#087a3a)の上の大きな文字だけに使う */
  --kakusa: #033481; /* KAKUSAのブランド色(KAKUSAの案内だけに使う) */
  --check-red: #d7261e; /* 「こんな方におすすめです」のチェックだけに使う */
  --warn-fg: #7a5000;
  --warn-bg: #fff4db; /* デモ内の注意表示(在庫不足など) */

  /* 書体 */
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  /* 文字サイズ(比率1.25) */
  --fs-13: 13px; --fs-14: 14px; --fs-16: 16px; --fs-20: 20px; --fs-25: 25px;
  --fs-31: 31px; --fs-39: 39px;

  /* 余白(4px基準) */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-48: 48px; --sp-64: 64px; --sp-96: 96px; --sp-112: 112px;

  /* 角丸(役割ごと) */
  --r-chip: 6px; --r-btn: 10px; --r-panel: 20px; --r-phone: 40px;

  --header-h: 64px;
  color-scheme: light;
}

/* ---------- 2. 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
}
h1, h2, h3 { font-family: var(--font-head); font-feature-settings: "palt"; line-height: 1.4; margin: 0; }
/* 見出しと短い文は文節で折り返す(対応ブラウザのみ。非対応でも通常の折り返しになる) */
h1, h2, h3, dt, .checklist li, .hero__lead, .phone-cap, .timeline__text, .r-done__title, .r-done__text, .d-card__text { word-break: auto-phrase; }
/* 本文も文節で折り返し、最終行に1〜2文字だけ残らないようにする */
p, li, dd { word-break: auto-phrase; text-wrap: pretty; }
/* ひとまとまりで読ませたい語句は途中で改行しない(狭い画面でははみ出さないよう折り返す) */
.nobr { display: inline-block; max-width: 100%; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: var(--green-strong); }
a:hover { color: var(--green-strong-hover); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ink);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-btn);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--sp-24); }
.section { padding: var(--sp-112) 0; }

/* ---------- 3. 共通部品 ---------- */
.section-head { display: flex; flex-direction: column; gap: var(--sp-12); margin-bottom: var(--sp-48); }
.section-title { font-size: clamp(28px, 3.4vw, var(--fs-39)); font-weight: 900; letter-spacing: .01em; }
.section-sub { color: var(--sub); font-size: var(--fs-16); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-btn); border: 2px solid transparent;
  font: inherit; font-size: var(--fs-16); font-weight: 700; line-height: 1.3; text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--green-strong); color: #fff; }
.btn--primary:hover { background: var(--green-strong-hover); color: #fff; }
.btn--outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--paper); color: var(--ink); }
.btn--white { background: #fff; color: var(--green-strong); }
.btn--white:hover { background: var(--green-tint); color: var(--green-strong-hover); }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 18px; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-12); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: var(--r-btn);
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: var(--fs-13); font-weight: 700; cursor: pointer; text-decoration: none;
}
.icon-btn:hover { color: var(--green-strong); border-color: var(--green-strong); }

/* ---------- 4. セクション ---------- */

/* ヘッダー */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; gap: var(--sp-12); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__company { font-size: 11px; letter-spacing: .08em; color: var(--sub); }
.brand__service { font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: .01em; }
.brand__ai { color: var(--green-strong); }
.brand__kind { display: inline-block; margin-right: 8px; padding: 3px 7px; border-radius: var(--r-chip); background: var(--green-strong); color: #fff; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .02em; vertical-align: 3px; }
.site-nav { display: flex; align-items: center; gap: 4px 24px; font-size: 15px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 8px 0; }
.site-nav a:not(.btn):hover { color: var(--green-strong); text-decoration: underline; text-underline-offset: 4px; }
.menu-btn, .header-tel { display: none; }

/* ヒーロー */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 88px 0 96px; }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--sp-48); align-items: center;
}
.hero__copy { display: flex; flex-direction: column; gap: var(--sp-24); }
.hero__lead { font-size: var(--fs-16); font-weight: 700; color: var(--green-strong); }
.hero__title { font-size: clamp(30px, 4.4vw, 60px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; }
.hero__title span { display: inline-block; } /* 改行は <br> の位置だけにする */
.hero__title .hang { margin-left: -.5em; } /* 先頭の「を左にぶら下げて揃える */
.hero__title .hero__lead { display: block; margin-bottom: var(--sp-24); font-family: var(--font-body); font-size: var(--fs-16); line-height: 1.6; letter-spacing: 0; }
.brand__industry { margin-left: 6px; padding: 0 6px; border-radius: var(--r-chip); background: var(--green-tint); color: var(--green-strong); font-size: 11px; font-weight: 700; letter-spacing: 0; white-space: nowrap; }
.hero__text { font-size: 18px; color: var(--body); max-width: 30em; }
.hero__copy .btn-row { margin-top: var(--sp-8); }
.hero__note { font-size: var(--fs-14); color: var(--sub); }

/* ヒーロー図:方眼紙の上で「日報づくり」を切り出す */
.cutout {
  display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.15fr); align-items: center;
  padding: var(--sp-32) var(--sp-24); border-radius: var(--r-panel); border: 1px solid var(--line);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M24 0H0v24' fill='none' stroke='%23e1e9de' stroke-width='1'/%3E%3C/svg%3E");
}
.day-sheet { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 0 6px; }
.day-sheet__title { font-size: var(--fs-13); font-weight: 700; color: var(--sub); padding: 0 16px 8px; border-bottom: 1px solid var(--line); }
.day-sheet__list { list-style: none; margin: 0; padding: 0; }
.day-sheet__list li {
  display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--sub);
  padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.day-sheet__list li:last-child { border-bottom: 0; }
.day-sheet__list .is-cut {
  position: relative; z-index: 1;
  margin: 2px -2px; border: 2px dashed var(--green); border-radius: 8px;
  background: var(--green-tint); color: var(--green-strong); font-weight: 700;
  transform: translateX(12px);
  animation: cut-row .6s ease-out .5s both;
}
.scissors { flex: 0 0 auto; }
.cutout__link {
  justify-self: stretch; height: 0; margin-top: 30px;
  border-top: 2px dashed var(--green); position: relative; transform-origin: left center;
  animation: draw-x .45s ease-out 1.05s both;
}
.cutout__link::after {
  content: ""; position: absolute; right: -2px; top: -7px; width: 10px; height: 10px;
  border-top: 2px solid var(--green); border-right: 2px solid var(--green); transform: rotate(45deg);
}
.app-card {
  background: var(--surface); border: 2px solid var(--green); border-radius: var(--r-panel);
  padding: 16px; display: flex; flex-direction: column; gap: 10px;
  animation: rise .6s ease-out 1.35s both;
}
.app-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 8px; }
.app-card__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; white-space: nowrap; }
.app-card__tag { font-size: 12px; color: var(--sub); background: var(--paper); border-radius: var(--r-chip); padding: 1px 8px; white-space: nowrap; }
.app-card__box { background: var(--paper); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.app-card__label, .app-card__count, .app-card__hint { font-size: var(--fs-13); color: var(--sub); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; }
.app-card__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.app-card__thumbs img, .app-card__voice { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: 8px; }
.app-card__voice { display: flex; align-items: center; justify-content: center; background: #d9e4d6; color: var(--sub); }
.app-card__ai {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-strong); color: #fff; font-size: var(--fs-13); font-weight: 700;
  border-radius: 999px; padding: 4px 14px;
}
.app-card__box--done { background: var(--green-tint); }
.app-card__done { font-size: var(--fs-14); font-weight: 700; color: var(--green-strong); }
.app-card__bar { display: block; height: 8px; border-radius: 4px; background: #c8dccd; }

@keyframes cut-row {
  from { transform: none; border-color: transparent; background: transparent; color: var(--sub); }
}
@keyframes draw-x { from { transform: scaleX(0); } }
@keyframes draw-y { from { transform: scaleY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }

/* お悩み:1枚の点検表 */
.problem__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-64); align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.checklist li {
  display: flex; align-items: flex-start; gap: var(--sp-16);
  padding: 22px 24px; border-top: 1px solid var(--line);
  font-size: 18px; font-weight: 700; line-height: 1.6;
}
.checklist li:first-child { border-top: 0; }
.checklist__box {
  flex: 0 0 auto; width: 26px; height: 26px; margin-top: 2px;
  border: 2px solid var(--green-strong); border-radius: 4px; background: var(--surface) center / 18px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23087a3a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}

/* AI業務アプリとは */
.about { background: var(--green-deep); color: #fff; }
.about__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-64); align-items: center; }
.about__copy { display: flex; flex-direction: column; gap: var(--sp-24); }
.about__copy p { color: #d6e3d9; max-width: 26em; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-16); }
.compare th, .compare td { text-align: left; padding: 16px; vertical-align: top; }
.compare thead th { color: #a9c4b2; font-weight: 400; }
.compare tbody th { font-weight: 700; border-top: 1px solid #2f5a40; white-space: nowrap; }
.compare tbody td { border-top: 1px solid #2f5a40; color: #d6e3d9; }
.compare .compare__ours {
  background: #14512f; color: #fff; font-weight: 700;
  border-left: 2px dashed #6fdc9c; border-right: 2px dashed #6fdc9c;
}
.compare thead .compare__ours {
  background: var(--green); font-size: 19px; border-top: 2px dashed #6fdc9c; border-radius: 12px 12px 0 0;
}
.compare tbody tr:last-child .compare__ours { border-bottom: 2px dashed #6fdc9c; border-radius: 0 0 12px 12px; }
.compare tbody .compare__ours { border-top-color: #2f6a48; border-top-style: solid; border-top-width: 1px; }

/* できること16業務:罫線で区切った帳票型グリッド */
.cases { background: var(--surface); }
.case-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.case {
  display: flex; align-items: flex-start; gap: var(--sp-16);
  padding: 24px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.case__icon { width: 52px; height: 52px; flex: 0 0 auto; padding: 10px; border-radius: 12px; background: var(--green-tint); }
.case__title { font-size: 17px; font-weight: 700; line-height: 1.45; }
.case__desc { font-size: var(--fs-14); color: var(--sub); line-height: 1.6; margin-top: 4px; }

/* 3つの特長 */
.features { background: var(--paper); }
.feature-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature { padding: 0 var(--sp-32); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--sp-16); }
.feature:first-child { padding-left: 0; border-left: 0; }
.feature:last-child { padding-right: 0; }
.feature__title { font-size: 22px; font-weight: 700; padding-top: var(--sp-16); border-top: 4px solid var(--green); }
.feature p { font-size: var(--fs-16); color: var(--body); }

/* 導入の流れ:工程表のようなタイムライン */
.flow { background: var(--surface); }
.timeline { position: relative; list-style: none; margin: 0; padding: 24px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* STEP1〜2(無料の範囲)は背景をうっすら緑にし、STEP3との間に破線の境界線を入れる */
.timeline::before {
  content: ""; position: absolute; left: -16px; top: 0; bottom: -20px; width: calc(40% + 2px);
  background: var(--green-tint); border-radius: 16px;
}
.timeline::after {
  content: ""; position: absolute; left: calc(40% - 14px); top: 0; bottom: -20px; border-left: 2px dashed var(--green-strong);
}
.timeline__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 44px 20px 0 0; }
/* 「無料」の札(最初の画面の無料相談ボタンの札と同じ赤) */
.timeline__badge { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--check-red); color: #fff; font-size: var(--fs-13); font-weight: 900; line-height: 1.6; letter-spacing: .04em; vertical-align: 1px; }
.timeline__step.is-free::after { box-shadow: 0 0 0 4px var(--green-tint); }
.timeline__step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--green);
}
.timeline__step:last-child::before { right: auto; width: 20px; }
.timeline__step::after {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-strong); box-shadow: 0 0 0 4px var(--surface);
}
.timeline__num { font-size: var(--fs-14); font-weight: 700; color: var(--green-strong); }
.timeline__title { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.45; }
.timeline__text { font-size: 15px; color: var(--sub); line-height: 1.7; }

/* 料金(未確定のあいだは破線枠。確定したら .pricing に is-fixed を付ける) */
.pricing { padding-bottom: var(--sp-64); }
.pricing__box {
  max-width: 880px; margin: 0 auto; background: var(--surface);
  border: 2px dashed #b9c8b5; border-radius: var(--r-panel); padding: var(--sp-48) var(--sp-32);
  display: flex; flex-direction: column; gap: var(--sp-16); align-items: center; text-align: center;
}
.pricing.is-fixed .pricing__box { border-style: solid; border-color: var(--line); }
.pricing__value { font-family: var(--font-head); font-size: 28px; font-weight: 900; }
.pricing__text { font-size: 15px; color: var(--sub); }

/* FAQ */
.faq__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sp-64); align-items: start; }
.faq-list { margin: 0; }
.faq-item { padding: var(--sp-24) 0; border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item dt, .faq-item dd { display: flex; gap: 14px; align-items: flex-start; }
.faq-item dt { font-size: 18px; font-weight: 700; line-height: 1.6; }
.faq-item dd { margin: 12px 0 0; font-size: var(--fs-16); color: var(--body); }
.faq-mark {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: var(--r-chip);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 15px; font-weight: 900; line-height: 1;
}
.faq-mark--q { background: var(--green-strong); color: #fff; }
.faq-mark--a { background: var(--surface); color: var(--sub); border: 1.5px solid var(--line); }

/* 問い合わせ:切り取り線で囲んだ「相談券」 */
.contact { background: var(--green-strong); color: #fff; padding: var(--sp-96) 0; }
.contact__ticket {
  position: relative; max-width: 880px; margin: 0 auto; text-align: center;
  border: 2px dashed rgba(255, 255, 255, .75); border-radius: var(--r-panel);
  padding: var(--sp-64) var(--sp-48) var(--sp-48);
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-24);
}
.contact__scissors { position: absolute; top: -15px; left: 48px; padding: 0 6px; width: 40px; background: var(--green-strong); color: #fff; }
.contact__title { font-size: clamp(21px, 5.8vw, 40px); font-weight: 900; }
.contact__title span { display: inline-block; }
.contact__text { font-size: 17px; color: #e4f4e9; }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-16) var(--sp-32); }
.contact__tel {
  display: inline-flex; align-items: center; gap: 10px; min-height: 60px; padding: 0 8px;
  color: #fff; font-family: var(--font-head); font-size: 26px; font-weight: 900; text-decoration: none;
}
.contact__tel:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.contact__hours { font-size: var(--fs-14); color: #e4f4e9; }

/* フッター */
.site-footer { background: var(--green-deep); color: #c9d6cd; padding: var(--sp-48) 0 var(--sp-24); font-size: var(--fs-14); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #e4f4e9; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-24); }
.site-footer__col { display: flex; flex-direction: column; gap: 6px; }
.site-footer__company { font-family: var(--font-head); font-weight: 700; font-size: 18px; text-decoration: none; }
.site-footer__head { color: #fff; font-weight: 700; }
.site-footer__copy { margin-top: var(--sp-32); color: #a9c4b2; }

/* スマホ用 下部固定CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}

/* ---------- 5. 体験デモ ---------- */
.screens { background: var(--green-tint); }
.screens .section-head { align-items: flex-start; }
.demo-tabs { display: none; }
.demo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; }
.screens__note { margin-top: var(--sp-48); font-size: var(--fs-13); color: var(--sub); }

.phone-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 290px; }
.phone { width: 290px; height: 590px; background: var(--ink); border-radius: var(--r-phone); padding: 12px; }
.phone-screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; background: #fff; line-height: 1.6; }
.phone-screen--chat { background: var(--paper); }
.phone-head { background: var(--green-strong); color: #fff; padding: 22px 18px 16px; display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; }
.phone-head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 8px; }
.phone-head__stack { display: flex; flex-direction: column; gap: 2px; }
.phone-head__sub { font-size: 11px; }
.phone-head__main { font-size: 16px; font-weight: 700; }
.phone-cap { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.phone-cap__title { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.phone-cap__text { font-size: var(--fs-14); color: var(--sub); }
.mini-label { font-size: 11px; font-weight: 700; color: var(--sub); }

.btn-fill { width: 100%; min-height: 48px; border: 0; border-radius: 12px; background: var(--green-strong); color: #fff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-fill:hover { background: var(--green-strong-hover); }
.btn-outline { width: 100%; min-height: 46px; border: 1.5px solid var(--green-strong); background: #fff; color: var(--green-strong); border-radius: 12px; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.btn-outline-sm { margin-top: 8px; min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1.5px solid var(--green-strong); background: #fff; color: var(--green-strong); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.btn-outline:hover, .btn-outline-sm:hover { background: var(--green-tint); }

/* 1. 日報 */
.r-main { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; min-height: 0; }
.r-field { display: flex; flex-direction: column; gap: 6px; }
.r-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.r-photos img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: 8px; background: #c9d8c5; }
.r-voice { display: flex; align-items: center; gap: 8px; background: var(--paper); border-radius: 10px; padding: 10px; }
.r-voice__play { width: 26px; height: 26px; border-radius: 50%; background: var(--green-strong); display: flex; align-items: center; justify-content: center; }
.r-voice__bar { flex: 1; height: 4px; border-radius: 2px; background: #d9e4d6; }
.r-voice__time { font-size: 11px; color: var(--sub); }
.r-loading { display: flex; align-items: center; gap: 10px; background: var(--green-tint); border-radius: 12px; padding: 14px; font-size: 12px; font-weight: 700; color: var(--green-strong); }
.r-draft { display: flex; flex-direction: column; gap: 6px; background: var(--green-tint); border-radius: 12px; padding: 12px; }
.r-draft__label { font-size: 11px; font-weight: 700; color: var(--green-strong); }
.r-draft__text { font-size: 12px; line-height: 1.6; color: var(--ink); }
.r-actions { margin-top: auto; }
.r-done { flex: 1; padding: 24px 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.r-done__mark { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green-strong); display: flex; align-items: center; justify-content: center; }
.r-done__title { font-size: 17px; font-weight: 700; }
.r-done__text { font-size: 12px; color: var(--sub); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid #b7d9c2; border-top-color: var(--green-strong); animation: spin .8s linear infinite; flex: 0 0 auto; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 2. 写真整理 */
.p-tags { padding: 14px 16px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 32px; font: inherit; font-size: 11px; border-radius: 999px; padding: 4px 12px; cursor: pointer; background: var(--green-tint); color: var(--ink); border: 1px solid #d3ddd0; }
.chip[aria-pressed="true"] { font-weight: 700; background: var(--green-strong); color: #fff; border-color: var(--green-strong); }
.p-grid { padding: 14px 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; align-content: start; flex: 1; min-height: 0; overflow-y: auto; }
.p-cell { display: flex; flex-direction: column; gap: 4px; }
.p-cell img { aspect-ratio: 4 / 3; width: 100%; height: auto; object-fit: cover; border-radius: 8px; background: #c9d8c5; }
.p-cell span { font-size: 10px; color: var(--sub); }
.p-foot { padding: 0 16px 16px; }

/* 3. 見積 */
.e-reset { min-height: 32px; padding: 0 10px; border-radius: 999px; border: 1px solid #fff; background: transparent; color: #fff; font: inherit; font-size: 11px; cursor: pointer; }
.e-log { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; overflow-y: auto; }
.e-foot { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.e-suggest { display: flex; flex-direction: column; gap: 6px; }
.suggest { min-height: 44px; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1.5px solid var(--green-strong); background: #fff; color: var(--ink); font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; }
.suggest:hover { background: var(--green-tint); }
.e-input { display: flex; gap: 8px; }
.e-input__field { flex: 1; background: #fff; border-radius: 12px; padding: 11px; font-size: 12px; color: var(--sub); }
.e-input__send { width: 40px; border-radius: 12px; background: var(--green-strong); display: flex; align-items: center; justify-content: center; }
.bubble-me { align-self: flex-end; max-width: 80%; background: var(--green-strong); color: #fff; font-size: 12px; line-height: 1.6; border-radius: 14px 14px 4px 14px; padding: 10px 12px; }
.bubble-ai { align-self: flex-start; max-width: 88%; background: #fff; font-size: 12px; line-height: 1.6; border-radius: 14px 14px 14px 4px; padding: 10px 12px; }
.bubble-ai.is-thinking { color: var(--sub); }
.bubble-ai.is-answer { width: 88%; display: flex; flex-direction: column; gap: 8px; }
.e-table { border-top: 1px solid #e3e9e1; padding-top: 8px; display: flex; flex-direction: column; gap: 4px; font-size: 11px; }
.e-row { display: flex; justify-content: space-between; gap: 8px; }
.e-row span:last-child { color: var(--sub); }
.e-row.is-total { font-weight: 700; border-top: 1px solid #e3e9e1; padding-top: 4px; }
.e-row.is-total span:last-child { color: inherit; }

/* 製造業・卸売業ページのデモ部品(demo-common.js の LPDemo.screen で使う) */
.d-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.d-foot { flex: 0 0 auto; padding: 0 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.d-foot:empty { display: none; }
.d-photo { width: 100%; height: auto; border-radius: 10px; }
.d-doc { width: 62%; height: auto; align-self: center; border-radius: 6px; border: 1px solid var(--line); }
.d-field { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--paper); font-size: 12px; line-height: 1.5; }
.d-field__label { color: var(--sub); flex: 0 0 auto; }
.d-field__value { font-weight: 700; text-align: right; }
.d-field.is-filled { background: var(--green-tint); box-shadow: inset 3px 0 0 var(--green); }
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d-card { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.d-card.is-new { border-color: var(--green); background: var(--green-tint); }
.d-card__title { font-size: 12px; font-weight: 700; line-height: 1.5; }
.d-card__text { font-size: 11px; color: var(--sub); line-height: 1.6; }
.d-warn { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-fg); font-size: 12px; font-weight: 700; line-height: 1.5; }
.d-hint { margin: 0; font-size: 11px; color: var(--sub); text-align: center; line-height: 1.5; }
.d-badge { display: inline-block; margin-left: 6px; padding: 0 6px; border-radius: var(--r-chip); background: var(--green-strong); color: #fff; font-size: 10px; font-weight: 700; line-height: 1.7; vertical-align: 1px; }
.d-hit { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: inherit; text-align: left; cursor: pointer; }
.d-hit:hover { border-color: var(--green-strong); }
.d-hit img { width: 76px; height: auto; flex: 0 0 auto; border-radius: 6px; }
.d-hit__text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.d-hit__text .d-badge { margin-left: 0; }
.d-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; font-size: 12px; padding: 4px 0; border-bottom: 1px solid #e3e9e1; }
.d-line:last-of-type { border-bottom: 0; }
.d-line__name { font-weight: 700; }
.d-line__qty, .d-line__price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.d-line__price { color: var(--sub); }
.d-line-msg { max-width: 92%; background: var(--paper); border: 1px solid var(--line); }
.d-letter { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.d-foot .btn-fill, .d-foot .btn-outline { min-height: 44px; }

/* ヒーロー図の中身(製造業:書類 / 卸売業:メッセージ) */
.app-card__doc { width: 46%; height: auto; align-self: center; border-radius: 4px; border: 1px solid var(--line); }
.app-card__chat { align-self: flex-start; max-width: 100%; padding: 8px 10px; border-radius: 12px 12px 12px 4px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; line-height: 1.6; }

/* ---------- 6. レスポンシブ ---------- */
@media (max-width: 1023px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px var(--sp-24) var(--sp-24);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-16); }
  .site-nav .btn { margin-top: var(--sp-16); }
  .menu-btn, .header-tel { display: inline-flex; }

  .hero { padding: 56px 0 64px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-48); }
  .cutout { max-width: 640px; }
  .problem__inner, .about__inner, .faq__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-32); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .feature-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .feature, .feature:first-child, .feature:last-child { padding: var(--sp-24) 0; border-left: 0; }
  .feature__title { padding-top: var(--sp-16); }

  .timeline { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .timeline::before, .timeline::after { display: none; }
  .timeline__step { padding: 0 0 var(--sp-32) 40px; }
  /* 縦並びでは STEP1〜2 の背景を緑にし、STEP2 との境目で背景が切れる */
  .timeline__step.is-free { margin: 0 -12px; padding: 0 12px var(--sp-32) 52px; background: var(--green-tint); }
  .timeline__step.is-free:first-child { padding-top: 16px; border-radius: 14px 14px 0 0; }
  .timeline__step.is-free:nth-child(2) { padding-bottom: 16px; border-radius: 0 0 14px 14px; margin-bottom: var(--sp-32); }
  .timeline__step.is-free::before { left: 21px; }
  .timeline__step.is-free::after { left: 12px; }
  .timeline__step.is-free:first-child::before, .timeline__step.is-free:first-child::after { top: 20px; }
  .timeline__step::before { left: 9px; right: auto; top: 4px; bottom: 0; width: 2px; height: auto; }
  .timeline__step:last-child::before { display: none; }
  .timeline__step::after { top: 4px; }

  body.has-sticky-cta { padding-bottom: 76px; }
}
@media (min-width: 1024px) {
  .sticky-cta { display: none !important; }
}

@media (max-width: 899px) {
  .demo-tabs {
    display: flex; max-width: 360px; margin: 0 auto var(--sp-24);
    border: 1.5px solid var(--green-strong); border-radius: var(--r-btn); overflow: hidden; background: var(--surface);
  }
  .demo-tabs [role="tab"] {
    flex: 1; min-height: 48px; border: 0; background: transparent; color: var(--green-strong);
    font: inherit; font-size: 15px; font-weight: 700; cursor: pointer;
  }
  .demo-tabs [role="tab"] + [role="tab"] { border-left: 1.5px solid var(--green-strong); }
  .demo-tabs [role="tab"][aria-selected="true"] { background: var(--green-strong); color: #fff; }
  .demo-tabs [role="tab"]:focus-visible { outline-offset: -5px; }
  .screens__note { text-align: center; margin-top: var(--sp-32); }
}

@media (max-width: 719px) {
  body { font-size: 16px; }
  .container { padding: 0 var(--sp-16); }
  .section { padding: 72px 0; }
  .pricing { padding-bottom: var(--sp-48); }
  .pricing__box { padding: var(--sp-32) var(--sp-16); }
  .pricing .pricing__parts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; }
  .section-head { margin-bottom: var(--sp-32); }
  .brand__service { font-size: 20px; }
  .menu-btn__label { display: none; }
  .hero { padding: 40px 0 56px; }
  .hero__text { font-size: 16px; }
  .br-pc { display: none; }
  .btn--lg { width: 100%; padding: 0 16px; }
  .sticky-cta .btn { padding: 0 12px; white-space: nowrap; }

  /* ヒーロー図は縦に並べる */
  .cutout { grid-template-columns: minmax(0, 1fr); padding: var(--sp-24) var(--sp-16); }
  .day-sheet__list .is-cut { transform: none; }
  .cutout__link {
    justify-self: center; width: 0; height: 32px; margin: 0;
    border-top: 0; border-left: 2px dashed var(--green); transform-origin: center top;
    animation-name: draw-y;
  }
  .cutout__link::after { right: auto; left: -7px; top: auto; bottom: -2px; transform: rotate(135deg); }
  .app-card { width: 100%; max-width: 320px; justify-self: center; }

  .checklist li { padding: 18px 16px; font-size: 16px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .case { padding: 16px; }

  /* 比較表は観点ごとの縦積み */
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { padding: var(--sp-16) 0; border-top: 1px solid #2f5a40; }
  .compare tbody th, .compare tbody td { border: 0; padding: 4px 0; }
  .compare tbody th { font-size: 17px; margin-bottom: 4px; }
  .compare tbody td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 400; color: #a9c4b2; }
  .compare tbody .compare__ours,
  .compare tbody tr:last-child .compare__ours {
    margin-top: 8px; padding: 10px 14px; border: 2px dashed #6fdc9c; border-radius: 10px;
  }
  .compare tbody .compare__ours::before { color: #c4ecd3; }

  .contact { padding: 72px 0; }
  .contact__ticket { padding: var(--sp-48) var(--sp-16) var(--sp-32); }
  .contact__scissors { left: 24px; }
  .contact__actions { flex-direction: column; width: 100%; }
  .contact__tel { font-size: 23px; }
  .faq-item dt { font-size: 17px; }
}

/* ---------- 7. 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .day-sheet__list .is-cut, .cutout__link, .app-card { animation: none; }
  .spinner { display: none; }
}

/* 入口ページ:業種の選択 */
.industry-picker { display: flex; flex-direction: column; gap: var(--sp-12); padding: var(--sp-24); border-radius: var(--r-panel); border: 1px solid var(--line); background: var(--paper); }
.industry-picker__title { font-size: var(--fs-20); font-weight: 700; margin-bottom: var(--sp-4); }
.industry {
  display: grid; gap: 4px; padding: 18px 20px; border-radius: 12px; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line);
}
.industry:hover { border-color: var(--green-strong); color: var(--ink); }
.industry__name { font-family: var(--font-head); font-size: 22px; font-weight: 900; }
.industry__tasks { font-size: var(--fs-14); color: var(--sub); line-height: 1.6; }
.industry__more { font-size: var(--fs-14); font-weight: 700; color: var(--green-strong); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 719px) { .industry-picker { padding: var(--sp-16); } }

/* 2026-10-20 討論を受けた追加 */
/* ヒーロー:相談の形と、運営会社の一文 */
.hero__title .hero__lead { font-size: var(--fs-20); }
.hero__origin { display: flex; align-items: center; gap: 10px; font-size: var(--fs-14); font-weight: 700; color: var(--ink); line-height: 1.6; }
.hero__origin img { width: 24px; height: 24px; flex: 0 0 auto; }
.hero__note + .hero__origin { margin-top: calc(var(--sp-8) * -1); }

/* 料金:費用の構成 */
.pricing__parts { margin: var(--sp-8) 0 0; width: 100%; max-width: 560px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; }
.pricing__parts > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding: 12px 16px; background: var(--surface); }
.pricing__parts dt { font-weight: 700; }
.pricing__parts dd { margin: 0; color: var(--sub); font-size: 15px; }
.pricing__note { font-size: var(--fs-14); color: var(--sub); }

/* 問い合わせ:フォームへの導線と「正直に伝えます」 */
.contact__form, .contact__honest { font-size: var(--fs-14); color: #e4f4e9; }
.contact__form a { color: #fff; font-weight: 700; }
.contact__honest { padding-top: var(--sp-16); border-top: 1px dashed rgba(255, 255, 255, .45); }

/* デモ:人が確認する箇所 */
.d-field.is-check { background: var(--warn-bg); box-shadow: inset 3px 0 0 var(--warn-fg); }
.d-field.is-check .d-field__value { color: var(--warn-fg); }
.d-check { display: grid; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1.5px dashed var(--warn-fg); background: #fff; }
.d-check p { margin: 0; font-size: 11px; line-height: 1.6; color: var(--warn-fg); font-weight: 700; }
.d-check .btn-outline { min-height: 40px; font-size: 12px; }
/* 押せない状態のボタン(確認前など) */
.btn-fill:disabled { background: #c4d3c8; color: #4a5b50; cursor: not-allowed; }
.btn-fill:disabled:hover { background: #c4d3c8; }

/* =========================================================
   修正版(2026-10-22):チラシ「AI業務アプリ」と修正案に合わせた追加
   ========================================================= */

/* ボタン:緑の上で使う枠線だけのボタン */
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* 最初の画面(チラシ表紙の形) */
.fhero { background: var(--green-strong); color: #fff; padding: 56px 0 64px; overflow-x: clip; /* 登場中のノートPCで横にはみ出さないように */ }
.fhero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--sp-32); align-items: center; }
.fhero__copy { display: flex; flex-direction: column; gap: var(--sp-16); }
.fhero__pill {
  align-self: flex-start; padding: 8px 28px; border: 2px solid rgba(255, 255, 255, .75); border-radius: 999px;
  font-family: var(--font-head); font-feature-settings: "palt"; font-weight: 900; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.4;
}
.fhero__pill-accent { color: var(--yellow); }
.fhero__title { font-weight: 900; line-height: 1.3; letter-spacing: .01em; color: #fff; margin-top: var(--sp-8); }
.fhero__lead { display: block; margin-bottom: var(--sp-12); font-family: var(--font-body); font-size: var(--fs-16); font-weight: 700; color: #e4f4e9; letter-spacing: 0; }
.fhero__line { display: inline-block; margin-right: .2em; font-size: clamp(28px, 3.6vw, 46px); }
.fhero__pin { position: relative; display: inline-block; margin-top: 6px; font-size: clamp(30px, 8.4vw, 78px); color: var(--yellow); line-height: 1.2; }
.fhero__pin::after { content: ""; position: absolute; left: -.1em; right: -.1em; bottom: -.1em; height: .14em; background: var(--yellow); border-radius: 2px; }
.fhero__sub { word-break: auto-phrase; margin-top: var(--sp-8); font-family: var(--font-head); font-weight: 700; font-size: clamp(18px, 2vw, 22px); color: var(--yellow); }
.fhero .btn-row { margin-top: var(--sp-8); }
.fhero__note { font-size: var(--fs-14); color: #e4f4e9; }
.fhero__origin { font-size: var(--fs-14); font-weight: 700; color: #fff; }
.fhero__origin span { display: inline-block; } /* 「、」の位置でだけ改行する(1行に収まらなければ2段) */
.fhero__visual img { width: 100%; height: auto; }
.fhero :focus-visible { outline-color: var(--yellow); }

.fhero__tiles { list-style: none; margin: var(--sp-48) 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ftile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: 14px; background: #fff; color: var(--ink); text-align: center; }
.ftile__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.ftile__icon img { width: 30px; height: 30px; }
.ftile__label { font-size: var(--fs-14); font-weight: 700; line-height: 1.45; word-break: auto-phrase; }

.fhero__industries { margin-top: var(--sp-48); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fhero__industry { display: grid; gap: 4px; padding: 18px 20px; border-radius: 14px; background: #fff; color: var(--sub); text-decoration: none; font-size: var(--fs-14); line-height: 1.6; }
.fhero__industry:hover { color: var(--sub); box-shadow: 0 0 0 3px var(--yellow); }
.fhero__industry-name { font-family: var(--font-head); font-size: 22px; font-weight: 900; color: var(--green-strong); }

/* こんな方におすすめです(見出しは他の見出しより大きく、「おすすめ」に黄色の下線) */
.recommend .section-head { align-items: center; text-align: center; }
.recommend__title { font-size: clamp(32px, 5vw, 56px); font-weight: 900; letter-spacing: .02em; line-height: 1.3; }
.recommend__title em { font-style: normal; color: var(--green-strong); box-shadow: inset 0 -.3em 0 var(--yellow); padding: 0 .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.recommend__check { flex: 0 0 auto; width: 30px; height: 30px; color: var(--check-red); }
.recommend__list { list-style: none; margin: 0; padding: var(--sp-24) var(--sp-32); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; gap: var(--sp-16) var(--sp-32); background: var(--green-tint); border-radius: 16px; }
.recommend__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.6; }
.recommend__list b { font-family: var(--font-head); font-weight: 900; font-size: 1.12em; color: var(--ink); }

/* 欲しい機能が無いなら、作ればいい(放射図) */
.radial { background: var(--surface); }
.radial__map { position: relative; max-width: 1100px; height: 620px; margin: 0 auto; }
.radial__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.radial__lines line { stroke: #9fd2b1; stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; }
.radial__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  width: 176px; height: 176px; border-radius: 50%; background: var(--green-strong); color: #fff;
  display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-size: 24px; font-weight: 900; line-height: 1.4;
}
.radial__nodes { list-style: none; margin: 0; padding: 0; }
.rnode {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); z-index: 1;
  width: 232px; display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.rnode__icon { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.rnode__icon img { width: 24px; height: 24px; }
.rnode__text { display: flex; flex-direction: column; line-height: 1.4; }
.rnode__text b { font-family: var(--font-head); font-size: 16px; }
.rnode__text span { font-size: 12px; color: var(--sub); word-break: auto-phrase; }

/* KAKUSAの案内(右下についてくる) */
.kakusa-badge {
  position: relative; width: 260px;
  border-radius: 14px; background: var(--surface); border: 1px solid #d3dcea;
  box-shadow: 0 10px 28px rgba(3, 52, 129, .16), 0 2px 6px rgba(3, 52, 129, .08);
  transition: translate .25s var(--ease-out, ease), box-shadow .25s;
}
.kakusa-badge:hover { translate: 0 -3px; box-shadow: 0 14px 34px rgba(3, 52, 129, .22), 0 2px 6px rgba(3, 52, 129, .08); }
.kakusa-badge__link { display: block; color: var(--ink); text-decoration: none; border-radius: inherit; overflow: hidden; }
.kakusa-badge__link:hover { color: var(--ink); }
.kakusa-badge__eyebrow { display: block; padding: 6px 14px; background: var(--kakusa); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.kakusa-badge__body { display: grid; gap: 8px; padding: 12px 14px 12px; }
.kakusa-badge__logo { display: block; padding: 6px 8px; border-radius: 8px; background: #fff; }
.kakusa-badge__logo img { display: block; width: 100%; height: auto; }
.kakusa-badge__text { font-family: var(--font-head); font-size: 14px; font-weight: 700; line-height: 1.5; word-break: auto-phrase; }
.kakusa-badge__more { display: inline-flex; align-items: center; gap: 4px; justify-self: end; color: var(--kakusa); font-size: 13px; font-weight: 700; }
.kakusa-badge__more svg { transition: translate .2s; }
.kakusa-badge__link:hover .kakusa-badge__more { text-decoration: underline; text-underline-offset: 3px; }
.kakusa-badge__link:hover .kakusa-badge__more svg { translate: 3px 0; }

/* 問い合わせ:無料診断・無料デモ */
.contact__free { width: 100%; max-width: 640px; text-align: left; padding: 16px 20px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; background: rgba(255, 255, 255, .08); }
.contact__free-head { font-family: var(--font-head); font-size: 19px; font-weight: 900; color: var(--yellow); margin-bottom: 10px; }
.contact__free dl { margin: 0; display: grid; gap: 10px; }
.contact__free dl > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 12px; align-items: start; }
.contact__free dt { padding: 2px 10px; border-radius: 999px; background: #fff; color: var(--green-strong); font-size: var(--fs-14); font-weight: 700; text-align: center; }
.contact__free dd { margin: 0; font-size: 15px; color: #e4f4e9; line-height: 1.7; }

@media (max-width: 1099px) {
  .radial__map { height: auto; }
  .radial__lines { display: none; }
  .radial__center { position: static; transform: none; margin: 0 auto var(--sp-24); width: 150px; height: 150px; font-size: 20px; }
  .radial__nodes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
  .rnode { position: static; transform: none; width: auto; }
}
@media (max-width: 1023px) {
  .fhero__inner { grid-template-columns: minmax(0, 1fr); }
  .fhero__visual { max-width: 640px; }
  .fhero__tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* スマホ・タブレットでは本文にかぶらないよう、見出し帯とロゴだけの小さな形にする */
}
@media (max-width: 719px) {
  .fhero { padding: 36px 0 44px; }
  .fhero__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: var(--sp-32); }
  .ftile { padding: 12px 4px 10px; gap: 6px; }
  .ftile__icon { width: 44px; height: 44px; }
  .ftile__icon img { width: 24px; height: 24px; }
  .ftile__label { font-size: 12px; }
  .fhero__industries { grid-template-columns: minmax(0, 1fr); }
  .recommend__list { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; padding: var(--sp-16); }
  .radial__nodes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .rnode { gap: 8px; padding: 10px; }
  .rnode__icon { width: 34px; height: 34px; }
  .rnode__icon img { width: 20px; height: 20px; }
  .rnode__text b { font-size: 14px; }
  .rnode__text span { font-size: 11px; }
  .recommend__list li { font-size: 16px; }
  .contact__free dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .contact__free dt { justify-self: start; }
}

/* =========================================================
   動き(修正版)。html.motion のときだけ効く(motion.js / layout.html の先頭で付与)
   transform と競合しないよう、translate / scale プロパティで動かす
   ========================================================= */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); --ease-out: cubic-bezier(.22, 1, .36, 1); }

@keyframes pop-up { from { opacity: 0; translate: 0 32px; scale: .94; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes pop-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes rise-in { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }
@keyframes drop-in { from { opacity: 0; translate: 0 -18px; } to { opacity: 1; translate: 0 0; } }
@keyframes slide-in-r { from { opacity: 0; translate: 80px 0; rotate: 3deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes bar-in { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes nudge { 0%, 70%, 100% { translate: 0 0; } 35% { translate: 6px 0; } }
@keyframes dash-flow { to { stroke-dashoffset: -24; } }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 rgba(11, 153, 72, .4); } 100% { box-shadow: 0 0 0 30px rgba(11, 153, 72, 0); } }
@keyframes fly-out { from { left: 50%; top: 50%; opacity: 0; scale: .3; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 4px; } }

/* スクロールで出す要素 */
.motion [data-reveal]:not(.is-in) { opacity: 0; }
.motion [data-reveal].is-in { animation: pop-up .8s var(--spring) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

/* 最初の画面:読み込み時の登場。待たされた感じが出ないよう、どの要素も0.3秒以内に動き始める */
.motion .fhero__pill { animation: drop-in .4s var(--ease-out) backwards; }
.motion .fhero__title > :nth-child(1) { animation: rise-in .4s var(--ease-out) backwards; }
.motion .fhero__title > :nth-child(2) { animation: rise-in .45s var(--ease-out) .04s backwards; }
.motion .fhero__title > :nth-child(3) { animation: rise-in .45s var(--ease-out) .08s backwards; }
.motion .fhero__title > :nth-child(4) { animation: rise-in .45s var(--ease-out) .12s backwards; }
.motion .fhero__pin { transform-origin: left center; animation: pop-in .6s var(--spring) .16s backwards; }
.motion .fhero__pin::after { transform-origin: left center; animation: bar-in .45s var(--ease-out) .3s backwards; }
.motion .fhero__sub { animation: rise-in .4s var(--ease-out) .2s backwards; }
.motion .fhero .btn-row, .motion .fhero__guide, .motion .fhero__note, .motion .fhero__origin { animation: rise-in .4s var(--ease-out) .25s backwards; }
.motion .fhero__visual { animation: slide-in-r .7s var(--ease-out) .1s backwards; }
.motion .fhero__visual img { animation: float 6s ease-in-out 1s infinite; }
.motion .ftile, .motion .fhero__industry { animation: pop-up .7s var(--spring) backwards; animation-delay: calc(1.25s + var(--i, 0) * 70ms); }
.motion .fhero__industries-title { animation: rise-in .6s var(--ease-out) 1.15s backwards; }
.motion .kakusa-badge--top { animation: pop-in .6s var(--spring) .6s backwards; transform-origin: top right; }

/* 放射図:中心がポンと出て、業務が中心から飛び出す。点線は流れ続ける */
.motion .radial__map[data-reveal] { opacity: 1; animation: none; }
.motion .radial__map:not(.is-in) .radial__center,
.motion .radial__map:not(.is-in) .rnode,
.motion .radial__map:not(.is-in) .radial__lines { opacity: 0; }
.motion .radial__map.is-in .radial__center { animation: pop-in .7s var(--spring) backwards, ripple 2.4s ease-out 1.4s infinite; }
.motion .radial__map.is-in .rnode { animation: pop-up .6s var(--spring) backwards; animation-delay: calc(.3s + var(--i, 0) * 50ms); }
.motion .radial__map.is-in .radial__lines { animation: fade-in .8s ease 1.1s backwards; }
.motion .radial__lines line { animation: dash-flow 1.4s linear infinite; }
@media (min-width: 1100px) {
  .motion .radial__map.is-in .rnode { animation: fly-out .9s var(--spring) backwards; animation-delay: calc(.35s + var(--i, 0) * 70ms); }
}

/* 押せるものの手ざわり(ボタン・リンクのカード) */
.btn { transition: transform .2s var(--spring), box-shadow .2s, background-color .2s, color .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .16); }
.btn:active { transform: translateY(1px); box-shadow: none; }

/* 入口ページの業種カード:押せることがひと目で分かる形 */
.fhero__industries-title { grid-column: 1 / -1; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; }
.fhero__industries-title::after { content: ""; width: 10px; height: 10px; border-right: 3px solid var(--yellow); border-bottom: 3px solid var(--yellow); rotate: 45deg; margin-left: 4px; translate: 0 -3px; }
.motion .fhero__industries-title::after { animation: bob 1.4s ease-in-out infinite; }
.fhero__industry {
  display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; border-radius: 16px;
  background: #fff; color: var(--ink); text-decoration: none; cursor: pointer;
  border: 3px solid transparent; box-shadow: 0 6px 0 rgba(0, 0, 0, .2);
  transition: transform .25s var(--spring), box-shadow .25s, border-color .2s;
}
.fhero__industry:hover { color: var(--ink); transform: translateY(-4px); box-shadow: 0 10px 0 rgba(0, 0, 0, .2); border-color: var(--yellow); }
.fhero__industry:active { transform: translateY(4px); box-shadow: 0 2px 0 rgba(0, 0, 0, .2); }
.fhero__industry-icon { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.fhero__industry-icon img { width: 34px; height: 34px; }
.fhero__industry-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fhero__industry-name { font-family: var(--font-head); font-size: 24px; font-weight: 900; color: var(--green-strong); line-height: 1.3; }
.fhero__industry-tasks { font-size: 13px; color: var(--sub); line-height: 1.6; word-break: auto-phrase; }
.fhero__industry-cta { margin-top: 4px; font-size: var(--fs-14); font-weight: 700; color: var(--green-strong); text-decoration: underline; text-underline-offset: 3px; }
.fhero__industry-arrow {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--green-deep);
  display: grid; place-items: center; transition: background-color .2s, color .2s;
}
.motion .fhero__industry-arrow svg { animation: nudge 1.8s ease-in-out infinite; }
.fhero__industry:hover .fhero__industry-arrow { background: var(--green-strong); color: #fff; }

/* スクロールしたらヘッダーに影 */
.site-header { transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(23, 36, 28, .08); }

@media (max-width: 719px) {
  .fhero__industry { padding: 14px 14px 14px 16px; gap: 12px; }
  .fhero__industry-icon { width: 48px; height: 48px; }
  .fhero__industry-icon img { width: 28px; height: 28px; }
  .fhero__industry-name { font-size: 20px; }
  .fhero__industry-arrow { width: 40px; height: 40px; }
}

/* 動きを減らす設定では、ボタンの浮き沈みも止める */
@media (prefers-reduced-motion: reduce) {
  .btn, .fhero__industry { transition: none; }
  .btn:hover, .fhero__industry:hover { transform: none; }
}

/* =========================================================
   1ページ版(2026-10-23):業種の切り替えと、何度も出す相談・資料請求の帯
   ========================================================= */

/* 業種で切り替わる部分:選んでいない業種は表示しない */
.ind-pane:not(.is-active) { display: none; }

/* 各セクション上部の「表示中の業種」切り替え */
.ind-switch__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: var(--sp-32); }
.ind-switch__label { font-size: var(--fs-14); font-weight: 700; color: var(--sub); }
.ind-switcher { display: inline-flex; gap: 2px; padding: 3px; border: 2px solid var(--green-strong); border-radius: 999px; background: #fff; }
.ind-switcher__btn {
  min-height: 40px; padding: 6px 18px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; font-size: 15px; font-weight: 700; color: var(--green-strong); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.ind-switcher__btn:hover:not([aria-pressed="true"]) { background: var(--green-tint); }
.ind-switcher__btn[aria-pressed="true"] { background: var(--green-strong); color: #fff; }

/* 最初の画面:業種のカード(ボタン)。選んでいるカードは黄色い枠とチェック */
.fhero__select { margin-top: var(--sp-48); }
.fhero__select .fhero__tiles { margin-top: var(--sp-24); }
.fhero__choices { margin-top: 0; }
.fhero__select .fhero__industries-title { margin-bottom: var(--sp-12); }
button.fhero__industry { width: 100%; font: inherit; text-align: left; }
.fhero__industry .icon-check, .fhero__industry .when-on { display: none; }
.fhero__industry[aria-pressed="true"] { border-color: var(--yellow); background: #fffbe0; }
.fhero__industry[aria-pressed="true"] .icon-arrow, .fhero__industry[aria-pressed="true"] .when-off { display: none; }
.fhero__industry[aria-pressed="true"] .icon-check, .fhero__industry[aria-pressed="true"] .when-on { display: inline; }
.fhero__industry[aria-pressed="true"] .fhero__industry-arrow { background: var(--green-strong); color: #fff; }
.fhero__industry[aria-pressed="true"] .fhero__industry-cta { text-decoration: none; }
.fhero__tel { color: #fff; font-weight: 700; }
.fhero__tel:hover { color: #fff; }

/* 相談・資料請求の帯 */
.cta-band { background: var(--green-tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--sp-32) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-16) var(--sp-32); }
.cta-band__text { font-family: var(--font-head); font-size: 20px; font-weight: 900; line-height: 1.5; word-break: auto-phrase; flex: 1 1 360px; }
.cta-band__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.cta-band__tel { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 4px; color: var(--green-strong); font-family: var(--font-head); font-size: 20px; font-weight: 900; text-decoration: none; }
.cta-band__tel:hover { color: var(--green-strong-hover); text-decoration: underline; text-underline-offset: 4px; }

/* スマホの下部バー:無料相談・資料請求・電話の3つ */
.sticky-cta { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); gap: 8px; }
.sticky-cta .btn { padding: 0 8px; white-space: nowrap; font-size: 15px; }

@media (max-width: 719px) {
  .cta-band { padding: var(--sp-24) 0; }
  .cta-band__text { font-size: 18px; flex-basis: 100%; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 140px; }
  .cta-band__tel { width: 100%; justify-content: center; }
  .ind-switch__bar { margin-bottom: var(--sp-24); }
  .ind-switcher { width: 100%; }
  .ind-switcher__btn { flex: 1; padding: 6px 8px; }
}

/* 業種を切り替えたあとは、12アイコンなどをすぐに出す(読み込み時の待ち時間を使わない) */
.motion.is-switched .ftile { animation-delay: calc(var(--i, 0) * 40ms); }
@media (max-width: 719px) {
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* =========================================================
   1ページ版:業種を選ぶセクション(大きなカード)
   ========================================================= */
.industry-pick { background: var(--green-strong); color: #fff; padding: var(--sp-96) 0; overflow-x: clip; }
.industry-pick__head { text-align: center; display: flex; flex-direction: column; gap: var(--sp-12); }
.industry-pick__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: #fff; }
.industry-pick__sub { font-size: 17px; color: #e4f4e9; word-break: auto-phrase; }
.industry-pick__grid { margin-top: var(--sp-48); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-24); }

.industry-pick__card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 40px 24px 24px; border-radius: 24px; border: 4px solid transparent;
  background: #fff; color: var(--ink); font: inherit; cursor: pointer;
  box-shadow: 0 10px 0 rgba(0, 0, 0, .22);
  transition: transform .3s var(--spring), box-shadow .3s, background-color .25s, border-color .25s;
}
.industry-pick__card::after { content: ""; position: absolute; inset: -4px; border-radius: 24px; pointer-events: none; }
.industry-pick__card:hover { transform: translateY(-10px) rotate(-1.2deg) scale(1.02); box-shadow: 0 18px 0 rgba(0, 0, 0, .22); border-color: var(--yellow); }
.industry-pick__card:active { transform: translateY(6px); box-shadow: 0 4px 0 rgba(0, 0, 0, .22); }
.industry-pick__card:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }

.industry-pick__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--green); display: grid; place-items: center; transition: rotate .4s var(--spring); }
.industry-pick__icon img { width: 52px; height: 52px; }
.industry-pick__card:hover .industry-pick__icon { rotate: -8deg; }
.industry-pick__name { font-family: var(--font-head); font-feature-settings: "palt"; font-size: clamp(30px, 3vw, 40px); font-weight: 900; line-height: 1.2; color: var(--green-strong); }
.industry-pick__tasks { font-size: var(--fs-14); color: var(--sub); line-height: 1.6; min-height: 3.2em; word-break: auto-phrase; }
.industry-pick__go {
  margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 16px; border-radius: 999px; background: var(--green-strong); color: #fff; font-size: 18px; font-weight: 700;
}
.industry-pick__arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--green-deep); display: grid; place-items: center; }
.industry-pick__card .icon-check, .industry-pick__card .when-on, .industry-pick__badge { display: none; }

/* 選んでいる業種:黄色いカード+「表示中」 */
.industry-pick__card[aria-pressed="true"] { background: var(--yellow); border-color: #fff; }
.industry-pick__card[aria-pressed="true"] .industry-pick__name { color: var(--green-deep); }
.industry-pick__card[aria-pressed="true"] .industry-pick__tasks { color: var(--ink); }
.industry-pick__card[aria-pressed="true"] .industry-pick__go { background: var(--green-deep); }
.industry-pick__card[aria-pressed="true"] .icon-arrow, .industry-pick__card[aria-pressed="true"] .when-off { display: none; }
.industry-pick__card[aria-pressed="true"] .icon-check, .industry-pick__card[aria-pressed="true"] .when-on { display: inline; }
.industry-pick__card[aria-pressed="true"] .industry-pick__arrow { background: #fff; color: var(--green-deep); }
.industry-pick__card[aria-pressed="true"] .industry-pick__badge {
  display: inline-flex; align-items: center; gap: 4px; position: absolute; top: -16px; right: 20px;
  padding: 4px 14px; border-radius: 999px; background: var(--green-deep); color: #fff; font-size: var(--fs-14); font-weight: 700;
  border: 3px solid #fff;
}
.industry-pick__badge .icon-check { display: inline; }

/* 動き:選んでいないカードは黄色い輪が広がって「押せる」ことを知らせる。押した瞬間に弾む */
@keyframes call { 0% { box-shadow: 0 0 0 0 rgba(255, 225, 77, .75); } 70%, 100% { box-shadow: 0 0 0 18px rgba(255, 225, 77, 0); } }
@keyframes select-pop { 0% { scale: 1; } 40% { scale: 1.08; } 100% { scale: 1; } }
.motion .industry-pick__card:not([aria-pressed="true"])::after { animation: call 2.2s ease-out infinite; }
.motion .industry-pick__card:not([aria-pressed="true"]):nth-child(3)::after { animation-delay: .5s; }
.motion .industry-pick__card:hover::after { animation: none; }
.motion .industry-pick__arrow .icon-arrow { animation: nudge 1.6s ease-in-out infinite; }
.motion .industry-pick__card.is-popped { animation: select-pop .55s var(--spring); }

@media (max-width: 899px) {
  .industry-pick { padding: 64px 0; }
  .industry-pick__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sp-24); margin-top: var(--sp-32); }
  .industry-pick__card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon name" "icon tasks" "go go";
    align-items: center; text-align: left; gap: 4px 16px; padding: 24px 20px 20px;
  }
  .industry-pick__icon { grid-area: icon; width: 72px; height: 72px; }
  .industry-pick__icon img { width: 40px; height: 40px; }
  .industry-pick__name { grid-area: name; font-size: 30px; }
  .industry-pick__tasks { grid-area: tasks; min-height: 0; }
  .industry-pick__go { grid-area: go; margin-top: 12px; font-size: 17px; }
  .industry-pick__card:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .industry-pick__card, .industry-pick__icon { transition: none; }
  .industry-pick__card:hover { transform: none; }
  .industry-pick__card:hover .industry-pick__icon { rotate: none; }
}

/* 最初の画面:業種選択への案内 */
.fhero__guide { display: inline-block; margin-top: var(--sp-16); color: var(--yellow); font-weight: 700; font-size: var(--fs-16); text-underline-offset: 4px; }
.fhero__guide:hover { color: #fff; }
.fhero__guide svg { margin-left: 4px; vertical-align: -4px; }
.motion .fhero__guide svg { animation: bob 1.4s ease-in-out infinite; }

/* 業種を選んだあとの知らせ */
.industry-pick__status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px;
  max-width: 880px; margin: var(--sp-32) auto 0; padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; color: #fff; text-align: center; font-size: var(--fs-16);
}
.industry-pick__status b { color: var(--yellow); font-size: 1.15em; }
.industry-pick__jump { display: inline; color: #fff; font-weight: 700; text-underline-offset: 4px; }
.industry-pick__jump:hover { color: var(--yellow); }
.industry-pick__status.is-flash, .ind-switch__bar.is-flash { animation: flash-ring 1.4s ease-out; }
.ind-switch__bar { border-radius: 14px; }
@keyframes flash-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 225, 77, .95); background-color: rgba(255, 225, 77, .35); }
  100% { box-shadow: 0 0 0 14px rgba(255, 225, 77, 0); background-color: rgba(255, 225, 77, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .industry-pick__status.is-flash, .ind-switch__bar.is-flash { animation: none; }
}
.industry-pick__jump svg { margin-left: 4px; vertical-align: -3px; }

/* =========================================================
   2026-11-02 AILP修正点.pptx の反映
   ========================================================= */

/* 最初の画面:無料相談ボタンを強調(黄色・「無料」「約30分」の札)。資料請求は白枠のまま */
.fhero__ctas { padding-top: 14px; align-items: stretch; }
.btn--cta { position: relative; background: var(--yellow); color: var(--green-deep); border-color: var(--yellow); box-shadow: 0 5px 0 #c9a800; font-weight: 900; }
.btn--cta:hover { background: #ffe97a; color: var(--green-deep); translate: 0 -2px; box-shadow: 0 7px 0 #c9a800; }
.btn--cta:active { translate: 0 3px; box-shadow: 0 2px 0 #c9a800; }
.btn__tag { position: absolute; top: -14px; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 900; line-height: 1.5; letter-spacing: .04em; border: 2px solid #fff; }
.btn__tag--free { left: -8px; background: var(--check-red); color: #fff; }
.btn__tag--time { right: -8px; background: var(--green-deep); color: var(--yellow); }
.fhero__ctas .btn svg { flex: 0 0 auto; }

/* 最初の画面:相談の気軽さ */
.fhero__checks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fhero__checks li { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: var(--fs-16); }
.fhero__checks li::before { content: ""; width: 18px; height: 18px; flex: 0 0 auto; border-radius: 4px; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e3d24' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.fhero__welcome { color: #e4f4e9; font-size: var(--fs-16); line-height: 1.8; }
.fhero__welcome b { color: var(--yellow); font-size: 1.1em; }
.fhero__guide { margin-top: 0; }

/* KAKUSAの案内:最初の画面の右下と、ページの一番下(ついてこない) */
.kakusa-badge[hidden] { display: none; }
.kakusa-badge--top { margin: var(--sp-24) 0 0 auto; }
.kakusa-foot { background: var(--paper); padding: var(--sp-32) 0; border-top: 1px solid var(--line); }
.kakusa-foot:has(.kakusa-badge[hidden]) { display: none; }
.kakusa-badge--bottom { width: 100%; max-width: 760px; margin: 0 auto; }
.kakusa-badge--bottom .kakusa-badge__body { grid-template-columns: 220px minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; padding: 14px 20px; }
.kakusa-badge--bottom .kakusa-badge__text { font-size: 16px; }

/* 上部の固定バーの下段:業種の切り替え */
.header-ind { border-top: 1px solid var(--line); background: var(--surface); }
.header-ind[hidden] { display: none; }
.header-ind .ind-switch__bar { margin: 0 auto; padding: 6px var(--sp-24); justify-content: center; }
.header-ind .ind-switcher__btn { min-height: 36px; }

/* 導入の流れ:STEP1のリンク */
.timeline__text a { color: var(--green-strong); font-weight: 700; text-underline-offset: 3px; }

@media (max-width: 1023px) {
  .kakusa-badge--top { margin: var(--sp-16) auto 0; }
}
@media (max-width: 719px) {
  .fhero__ctas .btn--lg { width: 100%; }
  .fhero__checks li { font-size: 15px; }
  .fhero__welcome { font-size: 15px; }
  .kakusa-badge--bottom .kakusa-badge__body { grid-template-columns: minmax(0, 1fr); }
  .kakusa-badge--bottom .kakusa-badge__logo { max-width: 240px; }
  .header-ind .ind-switch__label { display: none; }
  .header-ind .ind-switcher { width: 100%; }
}

/* スマホ:業種カードを小さくし、3つが1画面に収まるようにする */
@media (max-width: 899px) {
  .industry-pick { padding: 48px 0; }
  .industry-pick__grid { gap: 12px; margin-top: var(--sp-24); }
  .industry-pick__card {
    grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon name go" "icon tasks go";
    gap: 2px 14px; padding: 14px 16px;
  }
  .industry-pick__icon { width: 52px; height: 52px; }
  .industry-pick__icon img { width: 30px; height: 30px; }
  .industry-pick__name { font-size: 22px; }
  .industry-pick__tasks { font-size: 12px; line-height: 1.5; }
  .industry-pick__go { margin-top: 0; padding: 0; min-height: 0; background: none; }
  .industry-pick__card[aria-pressed="true"] .industry-pick__go { background: none; }
  .industry-pick__go .when-off, .industry-pick__go .when-on { display: none !important; }
  .industry-pick__arrow { width: 38px; height: 38px; }
  .industry-pick__card[aria-pressed="true"] .industry-pick__arrow { background: var(--green-deep); color: #fff; }
  .industry-pick__card[aria-pressed="true"] .industry-pick__badge { top: -12px; padding: 2px 10px; font-size: 12px; }
  .industry-pick__status { margin-top: var(--sp-16); padding: 10px 12px; font-size: 14px; }
}

/* 2026-11-04 KAKUSAの案内:上部の業種バーの右端に小さく(最初の画面には置かない) */
.header-ind .ind-switch__bar { justify-content: flex-start; flex-wrap: nowrap; }
.kakusa-badge--header { width: auto; margin-left: auto; flex: 0 0 auto; border-radius: 999px; border-color: #d3dcea; box-shadow: none; }
.kakusa-badge--header:hover { translate: none; box-shadow: none; border-color: var(--kakusa); }
.kakusa-badge--header .kakusa-badge__link { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px 0 4px; border-radius: 999px; }
.kakusa-badge--header .kakusa-badge__eyebrow { padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
.kakusa-badge--header .kakusa-badge__body { display: flex; align-items: center; gap: 10px; padding: 0; }
.kakusa-badge--header .kakusa-badge__logo { width: 92px; padding: 0; border-radius: 0; }
.kakusa-badge--header .kakusa-badge__text { font-size: 13px; white-space: nowrap; }
.kakusa-badge--header .kakusa-badge__more { font-size: 12px; white-space: nowrap; }
@media (max-width: 1099px) {
  .kakusa-badge--header .kakusa-badge__text { display: none; }
}
@media (max-width: 719px) {
  .header-ind .ind-switcher { width: auto; flex: 1 1 auto; min-width: 0; }
  .header-ind .ind-switcher__btn { padding: 0 6px; font-size: 13px; }
  .kakusa-badge--header .kakusa-badge__link { gap: 4px; padding: 0 8px; }
  .kakusa-badge--header .kakusa-badge__eyebrow, .kakusa-badge--header .kakusa-badge__more { display: none; }
  .kakusa-badge--header .kakusa-badge__logo { width: 72px; }
}
@media (max-width: 719px) { .header-ind .ind-switch__bar { padding: 6px var(--sp-16); } }
