/* ZIBAN 公式ホームページ（raas-app.com/ziban/）— 2026-11-01 作り直し
   アプリと同じ決まり: 紺・白・朱、角は四角、罫線、BIZ UD ゴシック。
   年配の方が読みやすいように、字は 19px から。「文字を大きく」で 1.2 倍。
   説明は図（ページの中の SVG）が受け持ち、画面の写しは少なく大きく、端末の枠に入れる。 */

:root {
  --kon: #0b2a5b;
  --kon2: #1d4690;
  --shu: #c8102e;
  --shu-soft: #fdecee;
  --kami: #ffffff;
  --ji: #f3f5f9;
  --sora: #eaf1fa;      /* 紺をうすくした空色（やわらかい面） */
  --sora2: #d6e3f4;
  --sumi: #111827;
  --nezu: #3f4a5c;
  --kei: #c3cad6;
  --kin: #f2b134;
  --hada: #f6dcc6;
  --font: "BIZ UDPGothic", "BIZ UDゴシック", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  --in: 1160px;
  --head: 76px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { font-size: 19px; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
html.big { font-size: 23px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--kami); color: var(--sumi);
  font-family: var(--font); line-height: 1.8; font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg { display: block; max-width: 100%; }
a { color: var(--kon2); text-underline-offset: 3px; }
a:hover { color: var(--shu); }
:focus-visible { outline: 4px solid var(--kin); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.4; font-weight: 700; margin: 0; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.in { max-width: var(--in); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .in { padding-inline: 28px; } }

.skip { position: absolute; left: -9999px; top: 0; background: var(--kon); color: #fff; padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- 上の帯 ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--kami); border-bottom: 3px solid var(--kon); }
.top .in { display: flex; align-items: center; gap: 8px; min-height: var(--head); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--kon); flex: 0 0 auto; margin-right: auto; }
.logo img { height: 34px; width: auto; }
.logo span { font-size: 13px; color: var(--nezu); line-height: 1.3; display: none; }
@media (min-width: 1240px) { .logo span { display: block; } }
.nav { display: none; align-items: stretch; }
.nav a {
  display: flex; align-items: center; min-height: 48px; padding: 4px 11px;
  font-weight: 700; font-size: 16px; color: var(--sumi); text-decoration: none; white-space: nowrap;
}
.nav a:hover { color: var(--shu); background: var(--ji); }
.nav a.hot { color: var(--shu); }
.nav a.cta { background: var(--kon); color: #fff; margin-left: 6px; }
.nav a.cta:hover { background: var(--kon2); color: #fff; }
.bigtoggle, .menubtn {
  min-height: 48px; padding: 4px 12px; flex: 0 0 auto;
  font: inherit; font-size: 15px; font-weight: 700; line-height: 1.2;
  background: var(--kami); color: var(--kon); border: 2px solid var(--kon); border-radius: 0; cursor: pointer;
}
.bigtoggle[aria-pressed="true"] { background: var(--kon); color: #fff; }
.menubtn { display: inline-flex; align-items: center; gap: 6px; background: var(--kon); color: #fff; }
.menubtn svg { width: 18px; height: 18px; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .menubtn { display: none; }
}
@media (max-width: 420px) {
  .top .in { gap: 6px; }
  .logo img { height: 26px; }
  .bigtoggle, .menubtn { font-size: 14px; padding: 4px 8px; min-height: 46px; }
}
/* スマートフォン・タブレットのメニュー（大きなボタンが並ぶ） */
.menu { display: none; border-top: 1px solid var(--kei); background: var(--kami); }
.menu.open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 8px 16px 14px; display: grid; gap: 6px; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: var(--in); margin-inline: auto; }
.menu li { margin: 0; }
.menu a {
  display: flex; align-items: center; min-height: 54px; padding: 6px 12px;
  border: 2px solid var(--kon); color: var(--kon); font-weight: 700; text-decoration: none; font-size: 17px; line-height: 1.3;
}
.menu a.hot { border-color: var(--shu); color: var(--shu); }
.menu a.cta { background: var(--kon); color: #fff; }
.menu li.wide { grid-column: 1 / -1; }
@media (min-width: 1100px) { .menu, .menu.open { display: none; } }
@media (max-width: 1099px) { html { scroll-padding-top: 80px; } }

/* ---------- 区切りと見出し ---------- */
section { padding-block: 72px; }
section.tint { background: var(--ji); }
section.sky { background: var(--sora); }
.band {
  display: inline-block; color: var(--shu); font-weight: 700; font-size: .82rem; letter-spacing: .12em;
  border-bottom: 3px solid var(--shu); padding-bottom: 2px; margin-bottom: 14px;
}
h2 { font-size: clamp(1.5rem, 3.6vw, 2.15rem); margin-bottom: 14px; text-wrap: balance; color: var(--kon); }
h2 em, h1 em { font-style: normal; color: var(--shu); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead { font-size: 1.05rem; max-width: 40em; margin-bottom: 36px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.small { font-size: .85rem; color: var(--nezu); }
.note { font-size: .85rem; color: var(--nezu); margin-top: 12px; }
.imgnote { font-size: .8rem; color: var(--nezu); margin: 10px 0 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 60px; padding: 10px 26px;
  background: var(--kon); color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.35;
  border: 2px solid var(--kon); border-radius: 0; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--kon2); border-color: var(--kon2); color: #fff; }
.btn.line { background: var(--kami); color: var(--kon); }
.btn.line:hover { background: var(--ji); color: var(--kon); }
.btn.shu { background: var(--shu); border-color: var(--shu); }
.btn.shu:hover { background: #a50d26; border-color: #a50d26; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 560px) { .btns .btn { width: 100%; } }

/* ---------- 表紙 ---------- */
.hero { padding-block: 48px 64px; background: linear-gradient(180deg, var(--sora) 0, var(--kami) 100%); }
.hero .in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .in { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; } }
.hero .kind { display: inline-block; background: var(--kon); color: #fff; font-weight: 700; font-size: .85rem; padding: 3px 12px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(1.75rem, 5vw, 2.8rem); margin-bottom: 18px; text-wrap: balance; color: var(--kon); }
.hero h1 .kind { display: table; line-height: 1.6; letter-spacing: normal; }
.hero .sub { font-size: 1.08rem; margin-bottom: 26px; max-width: 30em; }
.hero .devices { margin-top: 18px; font-size: .9rem; color: var(--nezu); }
.hero .devices b { color: var(--sumi); }
.camp-ribbon {
  display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 16px;
  background: var(--kami); border: 2px solid var(--shu); color: var(--sumi); text-decoration: none; max-width: 34em;
}
.camp-ribbon:hover { background: var(--shu-soft); color: var(--sumi); }
.camp-ribbon b { color: var(--shu); font-size: 1.05rem; display: block; line-height: 1.4; }
.camp-ribbon > span > span { font-size: .85rem; color: var(--nezu); display: block; line-height: 1.5; }
.camp-ribbon svg { width: 44px; height: 44px; flex: 0 0 auto; }
.hero-visual { position: relative; padding: 0 0 28px 0; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-visual .photo { width: 78%; margin-left: auto; aspect-ratio: 4 / 4.2; object-fit: cover; border: 0; }
.hero-visual .phone { position: absolute; left: 0; bottom: 34px; width: 40%; max-width: 210px; }
.hero-visual .chip {
  position: absolute; right: -4px; top: 18px; background: var(--kami); border: 2px solid var(--kon);
  padding: 8px 12px; font-weight: 700; font-size: .85rem; color: var(--kon); line-height: 1.4; max-width: 46%;
}
.hero-visual .chip i { font-style: normal; color: var(--shu); }
.hero-visual .imgnote { position: absolute; right: 0; bottom: 0; margin: 0; }

/* ---------- 端末の枠（画面の写しを入れる） ---------- */
.dev-phone { background: #1b2433; border-radius: 26px; padding: 10px 7px 14px; box-shadow: 0 10px 24px rgba(11, 42, 91, .18); margin: 0; }
.dev-phone img { border-radius: 16px; width: 100%; background: #fff; }
.dev-phone::before { content: ""; display: block; width: 34%; height: 5px; margin: 0 auto 7px; border-radius: 3px; background: #3a4558; }
.dev-pc { margin: 0; }
.dev-pc .scr { background: #1b2433; border-radius: 10px 10px 0 0; padding: 10px 10px 12px; box-shadow: 0 10px 24px rgba(11, 42, 91, .14); }
.dev-pc .scr img { width: 100%; background: #fff; }
.dev-pc::after { content: ""; display: block; height: 14px; background: linear-gradient(#c9d1dd, #aeb8c7); border-radius: 0 0 12px 12px; margin: 0 -3%; }
.devcap { font-size: .85rem; color: var(--nezu); margin-top: 10px; text-align: center; }

/* ---------- 3 つの良さ ---------- */
.benefits { display: grid; gap: 18px; }
@media (min-width: 860px) { .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.benefit { background: var(--kami); border: 2px solid var(--kon); padding: 28px 24px 24px; text-align: center; }
.benefit .ico { width: 96px; height: 96px; margin: 0 auto 14px; }
.benefit h3 { font-size: 1.35rem; color: var(--kon); margin-bottom: 8px; }
.benefit p { margin: 0; font-size: 1rem; }

/* ---------- まんが ---------- */
.manga { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: k; }
@media (min-width: 720px) { .manga { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .manga { grid-template-columns: repeat(6, minmax(0, 1fr)); } .manga li { grid-column: span 2; } .manga li:nth-child(4) { grid-column: 2 / span 2; } }
.manga li { margin: 0; }
.manga svg { width: 100%; height: auto; border: 3px solid var(--kon); background: #fff; }
.manga-after { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; justify-content: space-between; }
.manga-after a { font-weight: 700; }
/* まんがの中の字（SVG の中。BIZ UD ゴシック） */
.mg-t { font-family: var(--font); font-size: 19px; font-weight: 700; fill: var(--sumi); }
.mg-s { font-family: var(--font); font-size: 16px; font-weight: 700; fill: var(--kon); }
.mg-n { font-family: var(--font); font-size: 18px; font-weight: 700; fill: #fff; }
.mg-b { fill: #fff; stroke: var(--sumi); stroke-width: 2.5; }
@media (min-width: 720px) { .manga.manga4 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; margin-inline: auto; } }
@media (min-width: 1040px) { .manga.manga4 li, .manga.manga4 li:nth-child(4) { grid-column: auto; } }

/* ---------- 登場人物 ---------- */
.cast { margin: 0 0 32px; }
.cast-h { color: var(--kon); font-size: 1.2rem; margin-bottom: 12px; text-align: center; }
.cast-h span { font-size: .8rem; color: var(--nezu); font-weight: 400; }
.cast-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13em), 1fr)); }
.cast-list li { margin: 0; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--kami); border: 2px solid var(--kon); padding: 12px; }
.cast-list svg { width: 76px; height: 76px; background: var(--sora); border-radius: 50%; }
.cast-list b { display: block; color: var(--kon); font-size: 1.1rem; line-height: 1.35; }
.cast-list .role { display: block; font-size: .78rem; font-weight: 700; color: var(--shu); line-height: 1.4; margin: 2px 0 4px; }
.cast-list p { margin: 0; font-size: .88rem; line-height: 1.6; }

/* ---------- 人物のひとこと（各区切りに 1 人まで） ---------- */
.cv { display: flex; align-items: flex-end; gap: 14px; margin: -8px 0 32px; max-width: 34em; }
.center .cv { margin-inline: auto; text-align: left; justify-content: center; }
.cv-fig { flex: 0 0 auto; width: 76px; height: auto; transition: transform .25s ease; }
.cv:hover .cv-fig { transform: translateY(-3px); }
.cv-say {
  position: relative; margin: 0 0 14px 10px; flex: 0 1 auto; min-width: 0;
  background: var(--kami); border: 2.5px solid var(--sumi); border-radius: 16px; padding: 10px 16px 11px;
  font-weight: 700; color: var(--kon); font-size: 1.02rem; line-height: 1.55;
}
.cv-say::before, .cv-say::after { content: ""; position: absolute; bottom: 16px; width: 0; height: 0; border-style: solid; }
.cv-say::before { left: -14px; border-width: 8px 14px 8px 0; border-color: transparent var(--sumi) transparent transparent; }
.cv-say::after { left: -10px; bottom: 18px; border-width: 6px 11px 6px 0; border-color: transparent var(--kami) transparent transparent; }
.cv-say .who { display: block; font-size: .75rem; color: var(--shu); letter-spacing: .04em; line-height: 1.4; margin-bottom: 2px; }
.cv-say .hint { display: block; font-size: .8rem; color: var(--nezu); font-weight: 400; }
.stamp + .cv { margin-top: 0; }

/* ---------- 前と後 ---------- */
.ba { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .ba { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1fr); } }
.ba-card { background: var(--kami); border: 2px solid var(--kei); padding: 22px; }
.ba-card.after { border-color: var(--kon); }
.ba-card .lbl { display: inline-block; font-weight: 700; font-size: .85rem; padding: 2px 10px; margin-bottom: 10px; background: var(--nezu); color: #fff; }
.ba-card.after .lbl { background: var(--shu); }
.ba-card h3 { font-size: 1.3rem; color: var(--kon); }
.ba-card svg { width: 100%; height: auto; margin: 6px 0 14px; }
.ba-card ul { margin: 0; }
.ba-arrow { display: flex; align-items: center; justify-content: center; }
.ba-arrow svg { width: 56px; height: 56px; transform: rotate(90deg); }
@media (min-width: 900px) { .ba-arrow svg { transform: none; } }
.story-photo { margin: 40px 0 0; position: relative; }
.story-photo img { width: 100%; aspect-ratio: 16 / 6; object-fit: cover; }
.story-photo figcaption {
  position: absolute; left: 0; bottom: 0; background: rgba(11, 42, 91, .88); color: #fff;
  font-weight: 700; padding: 10px 18px; font-size: 1.05rem; max-width: 92%;
}
@media (max-width: 600px) { .story-photo img { aspect-ratio: 16 / 9; } .story-photo figcaption { position: static; max-width: none; } }

/* ---------- 名簿がまんなか ---------- */
.hub { position: relative; display: grid; gap: 14px; }
.hub-lines { display: none; }
.hub-core {
  background: var(--kon); color: #fff; text-align: center; padding: 26px 18px; position: relative; z-index: 1;
  border: 4px solid var(--kon); box-shadow: 0 0 0 6px var(--sora2);
}
.hub-core svg { width: 72px; height: 72px; margin: 0 auto 8px; }
.hub-core b { display: block; font-size: 1.9rem; letter-spacing: .25em; text-indent: .25em; }
.hub-core span { display: block; font-size: .92rem; margin-top: 4px; }
.hub-nodes { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; position: relative; }
.hub-nodes li { margin: 0; background: var(--kami); border: 2px solid var(--kon); padding: 14px 12px; position: relative; z-index: 1; }
.hub-nodes svg { width: 44px; height: 44px; margin-bottom: 6px; }
.hub-nodes b { display: block; color: var(--kon); font-size: 1.05rem; line-height: 1.35; }
.hub-nodes span { display: block; font-size: .85rem; color: var(--nezu); line-height: 1.55; margin-top: 4px; }
/* スマートフォン: 名簿から下へ 1 本の線 */
@media (max-width: 899px) {
  .hub::before { content: ""; position: absolute; left: 50%; top: 40px; bottom: 40px; border-left: 3px dashed var(--kon2); }
}
@media (max-width: 380px) { .hub-nodes { grid-template-columns: minmax(0, 1fr); } }
html.big .hub-nodes { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  html.big .hub-nodes, .hub-nodes { grid-template-columns: none; }
  .hub { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) minmax(0, 1fr); align-items: center; gap: 0 56px; }
  .hub-nodes { display: contents; }
  .hub-nodes li:nth-child(-n+3) { grid-column: 1; }
  .hub-nodes li:nth-child(n+4) { grid-column: 3; }
  .hub-nodes li:nth-child(1), .hub-nodes li:nth-child(4) { grid-row: 1; }
  .hub-nodes li:nth-child(2), .hub-nodes li:nth-child(5) { grid-row: 2; }
  .hub-nodes li:nth-child(3), .hub-nodes li:nth-child(6) { grid-row: 3; }
  .hub-nodes li { margin-block: 8px; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 0 12px; align-items: start; }
  .hub-nodes li svg { grid-row: span 2; margin: 0; }
  .hub-core { grid-column: 2; grid-row: 1 / span 3; }
  .hub-lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
}

/* ---------- 撮る → 読む → 確かめる → 登録 ---------- */
.steps-wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .steps-wrap { grid-template-columns: minmax(0, 1fr) 250px; gap: 48px; } }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 50px; counter-reset: st; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }
.steps li { margin: 0; position: relative; background: var(--kami); border: 2px solid var(--kon); padding: 18px 14px 16px; text-align: center; counter-increment: st; }
.steps li.human { border-color: var(--shu); box-shadow: 0 0 0 4px var(--shu-soft); }
.steps li::before {
  content: counter(st); position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; background: var(--kon); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps li.human::before { background: var(--shu); }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 50%; bottom: -33px; transform: translateX(-50%);
  border: 11px solid transparent; border-top: 14px solid var(--kon2); border-bottom: 0;
}
@media (min-width: 700px) {
  .steps li:not(:last-child)::after { left: auto; right: -26px; bottom: auto; top: 50%; transform: translateY(-50%); border: 11px solid transparent; border-left: 14px solid var(--kon2); border-right: 0; }
}
.steps svg { width: 64px; height: 64px; margin: 4px auto 8px; }
.steps b { display: block; font-size: 1.12rem; color: var(--kon); line-height: 1.35; }
.steps li.human b { color: var(--shu); }
.steps span { display: block; font-size: .88rem; color: var(--nezu); line-height: 1.6; margin-top: 6px; }
.steps-wrap .dev-phone { max-width: 250px; margin-inline: auto; width: 100%; }
.pointbox { margin-top: 32px; border-left: 6px solid var(--shu); background: var(--kami); padding: 14px 18px; max-width: 46em; }
.pointbox p:last-child { margin-bottom: 0; }

/* ---------- 01〜07 の機能 ---------- */
.fcards { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 640px) { .fcards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .fcards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fcards li { margin: 0; background: var(--kami); border: 2px solid var(--kon); padding: 20px 18px 18px; position: relative; }
.fcards .no { font-size: 1.6rem; font-weight: 700; color: var(--shu); line-height: 1; letter-spacing: .02em; }
.fcards svg { width: 56px; height: 56px; position: absolute; right: 16px; top: 14px; }
.fcards h3 { font-size: 1.12rem; color: var(--kon); margin: 18px 0 6px; padding-right: 0; }
.fcards p { margin: 0; font-size: .93rem; }
.fcards li.elec { border-color: var(--shu); }
.fcards li.more { background: var(--kon); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.fcards li.more p { font-size: .95rem; }
.fcards li.more a { color: #fff; font-weight: 700; }

.gallery { display: grid; gap: 28px; margin-top: 48px; align-items: end; }
@media (min-width: 900px) { .gallery { grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 36px; } }
.gallery .g-phone { max-width: 220px; width: 100%; margin-inline: auto; }
.gallery .g-paper img { border: 1px solid var(--kei); box-shadow: 0 8px 20px rgba(11, 42, 91, .12); width: 100%; max-width: 260px; margin-inline: auto; }

/* ---------- 地図 ---------- */
.mapwrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) { .mapwrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; } }
.mapwrap > svg { width: 100%; max-width: 520px; margin-inline: auto; height: auto; }
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.layers li { margin: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; background: var(--kami); border: 2px solid var(--kei); padding: 14px 16px; }
.layers .n { grid-row: span 2; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; background: var(--kon); }
.layers b { color: var(--kon); font-size: 1.08rem; line-height: 1.4; }
.layers span { font-size: .9rem; color: var(--nezu); line-height: 1.6; }
.layers .dv { font-style: normal; display: inline-block; font-size: .78rem; font-weight: 700; border: 1.5px solid var(--kon2); color: var(--kon2); padding: 0 6px; margin: 4px 4px 0 0; }
.poster-row { display: grid; gap: 24px; align-items: center; margin-top: 44px; background: var(--kami); border: 2px solid var(--kon); padding: 22px; }
@media (min-width: 800px) { .poster-row { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; } }
.poster-row svg { width: 100%; max-width: 260px; margin-inline: auto; height: auto; }
.poster-row ul { margin: 0; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.6em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8em; height: .8em; border: 2px solid var(--shu); }

/* ---------- 端末 ---------- */
.devices3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .devices3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.devices3 > div { background: var(--kami); border: 2px solid var(--kei); padding: 22px 20px; text-align: center; }
.devices3 > div.rec { border-color: var(--kon); box-shadow: 0 0 0 4px var(--sora2); }
.devices3 svg { width: 120px; height: 90px; margin: 0 auto 10px; }
.devices3 h3 { color: var(--kon); font-size: 1.15rem; }
.devices3 .tag { display: inline-block; background: var(--shu); color: #fff; font-size: .78rem; font-weight: 700; padding: 1px 10px; margin-bottom: 8px; }
.devices3 p { margin: 0; font-size: .93rem; text-align: left; }

/* ---------- 統一地方選挙 ---------- */
.ts-hero { position: relative; color: #fff; background: var(--kon); }
.ts-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: .42; }
.ts-hero .in { position: relative; padding-block: 72px 64px; }
.ts-hero .band { color: #fff; border-color: #fff; }
.ts-hero h2 { color: #fff; font-size: clamp(1.6rem, 4.2vw, 2.5rem); }
.ts-hero p { font-size: 1.08rem; max-width: 36em; }
.ts-hero .year { display: inline-block; background: var(--shu); color: #fff; font-weight: 700; padding: 4px 14px; margin-bottom: 14px; font-size: 1rem; }
.ts-hero .photonote { position: absolute; right: 12px; bottom: 6px; font-size: .7rem; opacity: .8; margin: 0; }
.timeline { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 0; position: relative; }
.timeline li { margin: 0; position: relative; padding: 0 0 26px 76px; min-height: 90px; }
.timeline li::before { content: ""; position: absolute; left: 31px; top: 8px; bottom: -8px; border-left: 4px solid var(--sora2); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 66px; height: 66px; background: var(--kami); border: 3px solid var(--kon); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.timeline li.now .dot { border-color: var(--shu); box-shadow: 0 0 0 5px var(--shu-soft); }
.timeline .dot svg { width: 40px; height: 40px; }
.timeline .when { display: block; font-weight: 700; color: var(--shu); font-size: .9rem; }
.timeline b { display: block; font-size: 1.15rem; color: var(--kon); line-height: 1.4; }
.timeline span.d { display: block; font-size: .92rem; line-height: 1.65; margin-top: 4px; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .timeline li { padding: 92px 6px 0; text-align: center; min-height: 0; }
  .timeline li::before { left: 50%; right: -50%; top: 33px; bottom: auto; border-left: 0; border-top: 4px solid var(--sora2); }
  .timeline .dot { left: 50%; transform: translateX(-50%); }
}
.ts-grid { display: grid; gap: 32px; align-items: start; }
.ts-check { margin-top: 44px; border: 2px solid var(--kon); background: var(--kami); padding: 22px 22px 18px; }
.ts-check h3 { color: var(--kon); font-size: 1.25rem; margin-bottom: 12px; }
.ts-check .checks { margin-bottom: .6em; }
@media (min-width: 940px) { .ts-grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 48px; } }
.ts-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .ts-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ts-cards > div { background: var(--kami); border: 2px solid var(--kon); padding: 18px; }
.ts-cards svg { width: 48px; height: 48px; margin-bottom: 6px; }
.ts-cards h3 { color: var(--kon); font-size: 1.1rem; }
.ts-cards p { margin: 0; font-size: .93rem; }
.ts-grid .dev-phone { max-width: 240px; margin-inline: auto; width: 100%; }

.campaign { margin-top: 56px; background: var(--kami); border: 4px solid var(--shu); position: relative; }
.campaign .head { background: var(--shu); color: #fff; padding: 14px 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.campaign .head b { font-size: 1.05rem; letter-spacing: .04em; }
.campaign .body { padding: 26px 22px 24px; display: grid; gap: 22px; }
@media (min-width: 860px) { .campaign .body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 36px; align-items: center; } }
.campaign .big { font-size: clamp(1.7rem, 5.4vw, 2.7rem); font-weight: 700; color: var(--kon); line-height: 1.3; margin: 0 0 6px; }
.campaign .big em { font-style: normal; color: var(--shu); font-size: 1.25em; }
.campaign .sub { margin: 0; font-size: 1rem; }
.campaign ul { margin: 0; }
.campaign .foot-n { padding: 0 22px 18px; margin: 0; font-size: .8rem; color: var(--nezu); }
.campaign .btns { padding: 0 22px 22px; }
.price-wrap .zero a.c.kon { border-color: var(--kon); color: var(--kon); }
.price-wrap .zero a.c.kon:hover { background: var(--sora); }

/* ---------- 番号つきの流れの図 ---------- */
.sub-h { color: var(--kon); font-size: 1.3rem; margin: 0 0 18px; padding-left: 12px; border-left: 6px solid var(--shu); }
.ipad-flow { margin-top: 0; }
.flow4.ipad-flow li::before { content: counter(fl); display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: var(--kon); color: #fff; letter-spacing: 0; font-size: .9rem; }
@media (min-width: 860px) { .flow4.ipad-flow li::before { margin-inline: auto; } }
.ipad-flow li:last-child { border-color: var(--shu); }
.flow4.ipad-flow li:last-child::before { background: var(--shu); }

/* ---------- セキュリティ ---------- */
.shieldwrap { display: grid; gap: 32px; align-items: center; }
@media (min-width: 940px) { .shieldwrap { grid-template-columns: 340px minmax(0, 1fr); gap: 52px; } }
.shieldwrap > svg { width: 100%; max-width: 320px; margin-inline: auto; height: auto; }
.sec-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: ss; }
.sec-steps li { margin: 0; display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 2px 16px; background: var(--kami); border: 2px solid var(--kon); padding: 16px 18px; counter-increment: ss; }
.sec-steps svg { grid-row: span 2; width: 52px; height: 52px; }
.sec-steps b { color: var(--kon); font-size: 1.1rem; line-height: 1.4; }
.sec-steps b::before { content: counter(ss) ". "; color: var(--shu); }
.sec-steps span { font-size: .92rem; line-height: 1.65; }
.sec-more { display: grid; gap: 0; border: 2px solid var(--kon); background: var(--kami); margin-top: 28px; }
@media (min-width: 760px) { .sec-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sec-more > div:nth-child(odd) { border-right: 1px solid var(--kei); } }
.sec-more > div { padding: 16px 20px; border-bottom: 1px solid var(--kei); }
.sec-more h3 { font-size: 1.02rem; color: var(--kon); margin-bottom: 2px; }
.sec-more p { margin: 0; font-size: .92rem; }
.stamp { display: inline-block; border: 3px solid var(--shu); color: var(--shu); font-weight: 700; padding: 6px 14px; margin-bottom: 26px; transform: rotate(-1.5deg); background: var(--kami); }

/* ---------- 料金 ---------- */
.ledger { width: 100%; border-collapse: collapse; border: 2px solid var(--kon); background: var(--kami); }
.ledger th, .ledger td { border-bottom: 1px solid var(--kei); padding: 14px 16px; text-align: left; vertical-align: top; }
.ledger thead th { background: var(--sora); border-bottom: 2px solid var(--kon); font-size: .92rem; color: var(--kon); }
.ledger tbody th { font-weight: 700; }
.ledger tr:last-child td, .ledger tr:last-child th { border-bottom: 0; }
.ledger .yen { font-size: 1.35rem; font-weight: 700; color: var(--kon); white-space: nowrap; }
.ledger .tax { font-size: .85rem; color: var(--shu); font-weight: 700; }
.wide { overflow-x: auto; }
.price-wrap { max-width: 900px; }
.price-wrap .zero { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.price-wrap .zero span { border: 2px solid var(--kon); padding: 6px 14px; font-weight: 700; color: var(--kon); background: var(--kami); }
.price-wrap .zero a.c { border: 2px solid var(--shu); padding: 6px 14px; font-weight: 700; color: var(--shu); background: var(--kami); text-decoration: none; }
.price-wrap .zero a.c:hover { background: var(--shu-soft); }
@media (max-width: 640px) {
  .ledger th, .ledger td { padding: 10px 8px; }
  .ledger td { overflow-wrap: anywhere; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody, .price-table tr, .price-table th, .price-table td { display: block; width: 100%; }
  .price-table tr { border-bottom: 2px solid var(--kon); }
  .price-table tr:last-child { border-bottom: 0; }
  .price-table tbody th { background: var(--sora); color: var(--kon); }
  .price-table td { border-bottom: 1px solid var(--kei); }
  .price-table td::before { content: attr(data-h); display: block; font-size: .8rem; color: var(--nezu); font-weight: 700; }
  .company .ledger tbody th { width: 5.5em; }
}

/* ---------- 導入の流れ ---------- */
.flow4 { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; counter-reset: fl; }
@media (min-width: 860px) { .flow4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; } }
.flow4 li { align-content: start; margin: 0; position: relative; background: var(--kami); border: 2px solid var(--kon); padding: 20px 16px 18px; counter-increment: fl; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 2px 14px; }
.flow4 li::before { content: "STEP " counter(fl); grid-column: 1 / -1; font-weight: 700; font-size: .8rem; letter-spacing: .1em; color: var(--shu); }
.flow4 svg { width: 56px; height: 56px; grid-row: span 2; }
.flow4 b { color: var(--kon); font-size: 1.12rem; line-height: 1.4; }
.flow4 span { font-size: .9rem; line-height: 1.65; }
.flow4 li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); border: 10px solid transparent; border-top: 13px solid var(--kon2); border-bottom: 0; }
@media (min-width: 860px) {
  .flow4 li { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .flow4 svg { grid-row: auto; margin: 6px auto 8px; }
  .flow4 li:not(:last-child)::after { left: auto; right: -26px; bottom: auto; top: 50%; transform: translateY(-50%); border: 10px solid transparent; border-left: 13px solid var(--kon2); border-right: 0; }
}

/* ---------- よくあるご質問 ---------- */
.faq { max-width: 880px; display: grid; gap: 12px; }
.faq details { background: var(--kami); border: 2px solid var(--kon); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 16px 18px; min-height: 64px; font-weight: 700; font-size: 1.08rem; color: var(--kon);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { color: var(--shu); font-size: 1rem; letter-spacing: .04em; }
.faq summary::after { content: "＋"; font-size: 1.3rem; color: var(--kon); }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { border-bottom: 1px solid var(--kei); }
.faq .a { padding: 14px 18px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.faq .a::before { content: "A"; font-weight: 700; color: var(--kon2); font-size: 1.05rem; }
.faq .a p { margin: 0 0 .6em; }
.faq .a p:last-child { margin: 0; }

/* ---------- 会社 ---------- */
.stance { border-left: 6px solid var(--shu); padding: 6px 0 6px 20px; font-size: 1.1rem; max-width: 40em; margin-bottom: 36px; }
.stance p:last-child { margin-bottom: 0; }
.family { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 760px) { .family { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.family > div { padding: 24px; display: flex; flex-direction: column; gap: 6px; background: var(--kami); border: 2px solid var(--kon); }
.family h3 { color: var(--kon); font-size: 1.25rem; }
.family .tag { font-size: .8rem; font-weight: 700; color: var(--nezu); }
.family .btn { margin-top: auto; align-self: flex-start; }
.family p { margin: 0 0 10px; }
.company { margin-top: 40px; max-width: 760px; }

/* ---------- いちばん下の 3 枚 ---------- */
.contact3 { display: grid; gap: 16px; }
@media (min-width: 860px) { .contact3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.contact3 a {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  background: var(--kami); border: 3px solid var(--kon); padding: 26px 18px 22px; text-decoration: none; color: var(--sumi);
}
.contact3 a:hover { background: var(--sora); color: var(--sumi); }
.contact3 a.main { background: var(--kon); color: #fff; }
.contact3 a.main:hover { background: var(--kon2); }
.contact3 svg { width: 64px; height: 64px; }
.contact3 b { font-size: 1.2rem; color: var(--kon); line-height: 1.4; }
.contact3 a.main b { color: #fff; }
.contact3 span { font-size: .9rem; line-height: 1.6; }
.contact3 .go { margin-top: 6px; font-weight: 700; font-size: .95rem; border-bottom: 2px solid currentColor; }
.mailline { margin-top: 26px; text-align: center; }
.mailline a { font-size: 1.25rem; font-weight: 700; word-break: break-all; }

/* ---------- 下の帯 ---------- */
.foot { background: var(--kon); color: #fff; padding-block: 48px 28px; }
.foot a { color: #fff; }
.foot a:hover { color: var(--kin); }
.foot .cols { display: grid; gap: 28px; }
@media (min-width: 860px) { .foot .cols { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
@media (max-width: 859px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .foot .cols > div:first-child, .foot .cols > div:last-child { grid-column: 1 / -1; } }
.foot h2 { font-size: 1rem; margin-bottom: 10px; color: #fff; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; }
.foot .brandline { font-size: .78rem; letter-spacing: .12em; opacity: .85; margin-top: 8px; }
.foot .copy { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 28px; padding-top: 16px; font-size: .8rem; opacity: .92; }
.foot img { height: 34px; width: auto; margin-bottom: 10px; }
.foot .fcta { display: inline-flex; min-height: 52px; align-items: center; padding: 6px 18px; background: #fff; color: var(--kon); font-weight: 700; text-decoration: none; margin-top: 4px; }
.foot .fcta:hover { background: var(--sora); color: var(--kon); }

/* ---------- 文書のページ（お問い合わせ・プライバシーポリシー・特商法） ---------- */
.pagehead { background: var(--sora); padding-block: 36px 30px; }
.pagehead h1 { font-size: clamp(1.45rem, 3.8vw, 2rem); color: var(--kon); }
.pagehead .crumb { font-size: .85rem; margin-bottom: 6px; color: var(--nezu); }
.doc { max-width: 900px; padding-block: 36px 64px; }
.doc h1 { font-size: clamp(1.4rem, 3.6vw, 1.9rem); margin-bottom: 16px; color: var(--kon); }
.doc h2 { font-size: 1.2rem; color: var(--kon); border-top: 3px solid var(--kon); padding-top: 12px; margin: 40px 0 10px; }
.doc h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.doc .box { border: 2px solid var(--kon); padding: 14px 18px; margin: 14px 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .95rem; }
.doc th, .doc td { border-bottom: 1px solid var(--kei); padding: 10px 8px; text-align: left; vertical-align: top; }
.doc th { color: var(--kon); }
.doc thead th, .doc tr.h th { border-bottom: 2px solid var(--kon); }
.doc .wrap { overflow-x: auto; }
.doc td { overflow-wrap: anywhere; }
/* 利用規約（terms.html）: 目次・項（1 2 3）・号（（1）（2）） */
.doc .toc { border: 2px solid var(--kon); padding: 14px 18px; margin: 14px 0; }
.doc .toc p { margin: 0 0 6px; }
.doc .toc > ol { list-style: none; padding: 0; margin: 0; }
.doc .toc > ol > li { margin: 0 0 10px; }
.doc .toc > ol > li > a { font-weight: 700; }
.doc .toc ol ol { list-style: none; padding-left: 1em; margin: 2px 0 0; font-size: .95rem; display: grid; gap: 2px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16em), 1fr)); }
.doc ol.kou { padding-left: 1.6em; }
.doc ol.kou > li { margin-bottom: .45em; }
.doc ol.go { list-style: none; counter-reset: go; padding-left: 2.8em; margin: .3em 0 .6em; }
.doc ol.go > li { counter-increment: go; position: relative; }
.doc ol.go > li::before { content: "（" counter(go) "）"; position: absolute; left: -2.8em; }
.todo { background: #fff4d6; border: 2px dashed #b7791f; padding: 0 6px; font-weight: 700; color: #7a4b00; }
.pagetop { display: inline-block; margin-top: 24px; font-weight: 700; }

/* ---------- お問い合わせのフォーム ---------- */
.form { display: grid; gap: 18px; max-width: 720px; }
.form label { font-weight: 700; display: block; margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; min-height: 56px;
  border: 2px solid var(--kon); border-radius: 0; background: var(--kami); color: var(--sumi);
}
.form textarea { min-height: 180px; resize: vertical; }
.form .hint { font-size: .85rem; color: var(--nezu); margin-top: 4px; }
.form .req, .form .opt { display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1.5; padding: 1px 8px; margin-left: 6px; vertical-align: .15em; }
.form .req { background: var(--shu); color: #fff; }
.form .opt { background: var(--ji); color: var(--nezu); border: 1px solid var(--kei); }
.form .req-note { margin: 0; font-size: .9rem; color: var(--nezu); }
.form .req-note .req { margin-left: 0; }
.form .err { margin: 6px 0 0; color: var(--shu); font-weight: 700; font-size: .95rem; }
.form .err::before { content: "！ "; }
.form [aria-invalid="true"] { border-color: var(--shu); border-width: 3px; background: var(--shu-soft); }
.form select { appearance: auto; }
.form .check { display: flex; align-items: center; gap: 12px; }
.form .check input { width: 30px; height: 30px; min-height: 0; flex: 0 0 auto; margin: 0; accent-color: var(--kon); }
.form .check label { margin: 0; }
.form .agree .hint { margin: 6px 0 0 42px; }
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form .sendrow { display: grid; gap: 10px; }
.form .btn.send { width: 100%; min-height: 64px; font-size: 1.2rem; }
@media (min-width: 720px) { .form .btn.send { width: auto; min-width: 320px; } }
.form .btn.send:disabled { opacity: .7; cursor: wait; }
.form .status { margin: 0; font-weight: 700; color: var(--kon); }
.form .status:empty { display: none; }
.form-errors { border: 3px solid var(--shu); background: var(--shu-soft); padding: 14px 18px; }
.form-errors .h { margin: 0 0 6px; font-weight: 700; color: var(--shu); }
.form-errors ul { margin: 0; }
.form-errors a { color: var(--sumi); font-weight: 700; }
.done, .fallback { max-width: 720px; border: 3px solid var(--kon); background: var(--sora); padding: 20px 22px; margin-bottom: 28px; }
.done .h, .fallback .h { font-size: 1.2rem; font-weight: 700; color: var(--kon); margin-bottom: 8px; }
.fallback { border-color: var(--shu); background: var(--kami); }
.fallback .h { color: var(--shu); }
.fallback .addr { font-size: 1.35rem; font-weight: 700; word-break: break-all; user-select: all; }
.mailbox { border: 2px solid var(--kon); padding: 20px 22px; background: var(--kami); max-width: 720px; margin-bottom: 28px; }
.mailbox a.mail { font-size: 1.3rem; font-weight: 700; word-break: break-all; }

/* ---------- 図の中の線と色（ページの中の SVG で共通） ---------- */
.ic { fill: none; stroke: var(--kon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ic .a { stroke: var(--shu); }
.ic .fk { fill: var(--kon); stroke: none; }
.ic .fa { fill: var(--shu); stroke: none; }
.ic .fs { fill: var(--sora); }
.ic .fw { fill: #fff; }
.ic .thin { stroke-width: 1.8; }
.nw { display: inline-block; }
@media (max-width: 899px) {
  .hub-nodes li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; align-items: center; }
  .hub-nodes li svg { grid-row: span 2; margin: 0; }
}

/* ---------- 機能ごとのページ（H327。meibo.html など）と、事務所の声 ---------- */
.lphead { background: linear-gradient(180deg, var(--sora) 0, var(--kami) 100%); padding-block: 22px 44px; }
.lphead .grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .lphead .grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 44px; } }
.lphead h1 { font-size: clamp(1.65rem, 4.6vw, 2.5rem); color: var(--kon); margin-bottom: 14px; word-break: auto-phrase; }
.lphead .lead { margin-bottom: 22px; max-width: 34em; }
.lphead .art svg, .lphead .art img { width: 100%; max-width: 480px; height: auto; margin-inline: auto; }
.crumbs { font-size: .85rem; color: var(--nezu); margin: 0 0 18px; }
.crumbs a { color: var(--kon2); }
.lp section { padding-block: 52px; }
.lp section:nth-of-type(even) { background: var(--ji); }
.lp h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); }
.lp h3 { color: var(--kon); font-size: 1.15rem; margin: 26px 0 8px; }
.lp p, .lp ul, .lp ol { max-width: 44em; }
.lp .checks li { margin-bottom: .6em; }
.lp .pointbox { margin-top: 20px; }
.lp .note { max-width: 46em; }
.lp .wide { max-width: 760px; margin-bottom: 14px; }
.lp-steps { list-style: none; padding: 0; counter-reset: lps; display: grid; gap: 10px; }
.lp-steps li { counter-increment: lps; margin: 0; position: relative; background: var(--kami); border: 2px solid var(--kon); padding: 12px 14px 12px 58px; min-height: 56px; }
.lp-steps li::before { content: counter(lps); position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; background: var(--kon); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-fig { margin: 18px 0; max-width: 620px; }
.lp-fig svg { width: 100%; height: auto; }
.lp-two { display: grid; gap: 24px; align-items: start; }
@media (min-width: 860px) { .lp-two { grid-template-columns: minmax(0, 1fr) 240px; gap: 40px; } }
.lp-two figure { margin: 0; max-width: 240px; width: 100%; margin-inline: auto; }
.lp-cards { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; max-width: none !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5em), 1fr)); }
.lp-cards li { margin: 0; }
.lp-cards a { display: block; height: 100%; background: var(--kami); border: 2px solid var(--kon); padding: 14px 16px; text-decoration: none; color: var(--sumi); }
.lp-cards a:hover { background: var(--sora); color: var(--sumi); }
.lp-cards b { display: block; color: var(--kon); font-size: 1.08rem; line-height: 1.4; margin-bottom: 4px; }
.lp-cards span { display: block; font-size: .88rem; line-height: 1.6; color: var(--nezu); }
.lp-cta { background: var(--kon) !important; color: #fff; }
.lp-cta h2 { color: #fff; }
.lp-cta .btn { border-color: #fff; }
.lp-cta .btn.line { background: var(--kon); color: #fff; }
.lp-cta .btn.line:hover { background: var(--kon2); color: #fff; }
.lp-cta a:not(.btn) { color: #fff; }
.voices { margin: 18px 0 8px; border: 2px solid var(--kon); background: var(--kami); padding: 16px 18px 12px; max-width: 900px; }
.voices .vh { font-weight: 700; color: var(--kon); margin: 0 0 10px; }
.voices ul { list-style: none; padding: 0; margin: 0; max-width: none; display: grid; gap: 10px; }
.voices li { margin: 0; background: var(--sora); padding: 10px 14px; border-left: 5px solid var(--shu); }
.voices .vn { font-size: .8rem; color: var(--nezu); margin: 10px 0 0; }
#voices .voices { margin-inline: auto; }
@media (min-width: 860px) { #voices .voices ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-map { border-top: 1px solid rgba(255, 255, 255, .3); margin-top: 28px; padding-top: 16px; }
.foot-map h2 { font-size: .95rem; margin-bottom: 8px; }
.foot-map ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-map li { margin: 0; font-size: .88rem; }
.foot-map a { display: inline-block; padding-block: 4px; }
.lp .flow4 li { grid-template-columns: minmax(0, 1fr); }
.lp .campaign { margin-top: 36px; max-width: none; }
.lp .campaign p, .lp .campaign ul { max-width: none; }
.lp .faq { margin-top: 12px; }
.lp .faq p { max-width: none; }
#voices h2 { word-break: auto-phrase; }

/* ---------- H329 トップページ（絵が主役。見出しは大きく、文は少なく） ---------- */
.sec { padding-block: 64px; }
.sec.tint { background: var(--ji); }
.big-h { font-size: clamp(1.75rem, 6.4vw, 2.7rem); line-height: 1.35; color: var(--kon); margin-bottom: 28px; word-break: auto-phrase; }
.big-h.center, .center .big-h { text-align: center; }
.nav a.line { border: 2px solid var(--kon); color: var(--kon); margin-left: 6px; }
.nav a.line:hover { background: var(--sora); color: var(--kon); }
.btn.big { min-height: 68px; font-size: 1.2rem; padding-inline: 34px; }
.btn.white { background: #fff; color: var(--kon); border-color: #fff; }
.btn.white:hover { background: var(--sora); color: var(--kon); border-color: var(--sora); }
.center-btns { justify-content: center; margin-top: 28px; }

/* 表紙 */
.hero2 { padding-block: 28px 56px; background: linear-gradient(180deg, var(--sora) 0, var(--kami) 100%); }
.hero2 .in { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1040px) { .hero2 .in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; } }
.hero2 h1 { margin: 0 0 10px; color: var(--kon); }
.hero2 h1 .kind { display: inline-block; background: var(--kon); color: #fff; font-size: .9rem; line-height: 1.5; padding: 3px 12px; margin-bottom: 14px; }
.hero2 h1 .line1 { display: block; font-size: clamp(2.2rem, 10.4vw, 3.9rem); line-height: 1.22; word-break: auto-phrase; }
.hero2 h1 em { font-style: normal; color: var(--shu); }
.hero2 .sub { font-size: clamp(1.15rem, 3.6vw, 1.45rem); font-weight: 700; color: var(--kon); margin-bottom: 20px; word-break: auto-phrase; }
.badges { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.badges li { margin: 0; background: var(--kami); border: 2px solid var(--kon); padding: 8px 4px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.badges li a { color: inherit; text-decoration: none; display: block; }
.badges span { display: block; font-size: .72rem; line-height: 1.3; font-weight: 700; color: var(--nezu); }
.badges b { display: block; font-size: clamp(1.05rem, 4.6vw, 1.45rem); line-height: 1.25; color: var(--kon); white-space: nowrap; }
.badges li.hot { background: var(--shu); border-color: var(--shu); }
.badges li.hot span, .badges li.hot b { color: #fff; }
html.big .badges { grid-template-columns: minmax(0, 1fr); }
html.big .badges li { flex-direction: row; gap: 10px; align-items: center; }
html.big .badges li a { display: flex; gap: 10px; align-items: center; justify-content: center; }
.hero2-art { position: relative; padding-bottom: 18px; }
.hero2-art .dev-pc { width: 92%; }
.hero2-art .phone { position: absolute; right: 0; bottom: 0; width: 24%; max-width: 170px; padding: 6px 4px 8px; border-radius: 16px; }
.hero2-art .phone img { border-radius: 10px; }
.hero2-art .phone::before { display: none; }
@media (max-width: 559px) { .hero2 .btns .btn { width: 100%; } }

/* 3 つの絵 */
.pics3 { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; max-width: none !important; }
@media (min-width: 720px) { .pics3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pics3 li { margin: 0; text-align: center; }
.pics3 svg.pic { width: 100%; height: auto; }
.pics3 h3 { font-size: clamp(1.4rem, 5.4vw, 1.75rem); color: var(--kon); margin: 12px 0 0; }
.pics3-lp svg.pic { max-width: 300px; margin-inline: auto; }
.pics3-lp p { margin: 6px 0 0; font-weight: 700; }

/* まんが */
.manga-sec { background: var(--sora); }
.cast2 { list-style: none; padding: 0; margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; max-width: 720px; }
.cast2 li { margin: 0; text-align: center; }
.cast2 svg { width: min(92%, 92px); height: auto; margin-inline: auto; background: var(--kami); border: 2px solid var(--sumi); border-radius: 50%; }
.cast2 b { display: block; font-size: .86rem; color: var(--kon); line-height: 1.3; margin-top: 4px; word-break: keep-all; }
.cast2 span { display: block; font-size: .72rem; color: var(--nezu); line-height: 1.3; }
/* H332: 6 つの枠。パソコンは右から左へ 2 列（読む順は 右上→左上→右の 2 段目…）、スマートフォンは 1 列 */
.manga3 { list-style: none; margin: 0 auto; padding: 6px; display: grid; gap: 6px; max-width: 960px; background: #fff; }
.manga3 li { margin: 0; direction: ltr; }
.manga3 svg { width: 100%; height: auto; pointer-events: none; } /* <title> のふきだしを出さない */
@media (min-width: 720px) { .manga3 { grid-template-columns: repeat(2, minmax(0, 1fr)); direction: rtl; } }
@media (max-width: 560px) { .manga3 { margin-inline: -16px; padding: 4px; gap: 4px; } }
.small.center { text-align: center; margin-top: 14px; }

/* 機能の絵のならび */
.fgrid { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
@media (min-width: 560px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fgrid li { margin: 0; scroll-margin-top: 90px; }
.fgrid a { display: flex; flex-direction: column; height: 100%; background: var(--kami); border: 2px solid var(--kon); color: var(--sumi); text-decoration: none; }
.fgrid a:hover { background: var(--sora); color: var(--sumi); }
.fgrid img, .fgrid .fpic { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-bottom: 2px solid var(--kon); }
.fgrid h3 { font-size: 1.5rem; color: var(--kon); margin: 12px 14px 2px; }
.fgrid h3::after { content: " ›"; color: var(--shu); }
.fgrid p { margin: 0 14px 14px; font-size: 1rem; line-height: 1.5; font-weight: 700; word-break: auto-phrase; }
.guide2 { margin-top: 34px; }
.guide2 h3 { color: var(--kon); font-size: 1.25rem; text-align: center; margin-bottom: 12px; }
.guide2 ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14em), 1fr)); }
.guide2 li { margin: 0; }
.guide2 a { display: flex; align-items: center; justify-content: center; text-align: center; height: 100%; min-height: 58px; padding: 8px 12px; background: var(--kami); border: 2px solid var(--kon); font-weight: 700; color: var(--kon); text-decoration: none; line-height: 1.4; }
.guide2 a:hover { background: var(--sora); }

/* 比較の表 */
.cmp-wrap { max-width: 900px; margin-inline: auto; }
.cmp { width: 100%; table-layout: fixed; border-collapse: collapse; background: var(--kami); border: 2px solid var(--kon); }
.cmp th, .cmp td { border-bottom: 1px solid var(--kei); padding: 9px 2px; text-align: center; line-height: 1.35; }
.cmp thead th { background: var(--kon); color: #fff; font-size: .92rem; }
.cmp thead th.z { background: var(--shu); letter-spacing: -.02em; font-size: .78rem; }
.cmp tbody th { text-align: left; font-size: .9rem; padding-left: 8px; word-break: auto-phrase; }
.cmp td { font-size: 1.25rem; font-weight: 700; color: var(--kon); }
.cmp td.z { background: var(--shu-soft); color: var(--shu); }
.cmp colgroup { display: none; }
.cmp thead th:first-child { width: 40%; }
@media (min-width: 720px) { .cmp thead th, .cmp thead th.z { font-size: 1.05rem; } .cmp tbody th { font-size: 1rem; padding-left: 14px; } .cmp thead th:first-child { width: 46%; } }
@media (max-width: 420px) { .cmp thead th { font-size: .78rem; } }
html.big .cmp tbody th { font-size: .8rem; }
html.big .cmp thead th, html.big .cmp thead th.z { font-size: .62rem; }
#hikaku .note { max-width: 900px; margin-inline: auto; }

/* セキュリティ */
.sec-navy { background: var(--kon); color: #fff; }
.sec-navy .big-h { color: #fff; }
.sec2 { display: grid; gap: 24px; align-items: center; }
@media (min-width: 860px) { .sec2 { grid-template-columns: 320px minmax(0, 1fr); gap: 56px; } }
.shield { width: min(60%, 280px); height: auto; margin-inline: auto; }
@media (min-width: 860px) { .shield { width: 100%; } }
.sec3 { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.sec3 li { margin: 0; display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 12px; align-items: center; }
.sec3 b { font-size: 1.5rem; line-height: 1; color: var(--kon); background: #fff; display: flex; align-items: center; justify-content: center; height: 2.3em; }
.sec3 span { font-weight: 700; font-size: 1.05rem; line-height: 1.5; word-break: auto-phrase; }
.sec-navy a:not(.btn) { color: #fff; }

/* 料金 */
.price2 { max-width: 900px; margin-inline: auto; }
.price2 .yen, .lp .ledger .yen { font-size: clamp(1.45rem, 5vw, 1.9rem); }
.price2 .ledger th, .price2 .ledger td { padding-block: 16px; }
.price2 .small { margin-top: 10px; }
.camp2 { max-width: 900px; margin: 28px auto 0; border: 4px solid var(--shu); background: var(--kami); text-align: center; padding: 0 16px 16px; scroll-margin-top: 90px; }
.camp2-h { margin: 0 -16px 10px; background: var(--shu); color: #fff; font-weight: 700; padding: 8px 12px; line-height: 1.45; word-break: auto-phrase; }
.camp2-big { margin: 0 0 10px; font-size: clamp(1.5rem, 6vw, 2.2rem); font-weight: 700; color: var(--kon); line-height: 1.3; }
.camp2-big em { font-style: normal; color: var(--shu); font-size: 1.5em; display: inline-block; }
.camp2-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 6px; max-width: none !important; }
@media (min-width: 560px) { .camp2-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.camp2-list li { margin: 0; background: var(--shu-soft); padding: 8px 6px; line-height: 1.4; font-size: .95rem; }
.camp2-list b { color: var(--shu); }

/* 流れの絵 */
.flow5 { list-style: none; padding: 0; margin: 0; display: grid; gap: 30px; counter-reset: fl5; }
@media (min-width: 560px) { .flow5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 34px; } }
@media (min-width: 960px) { .flow5 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.flow5 li { margin: 0; position: relative; background: var(--kami); border: 2px solid var(--kon); padding: 16px 10px; text-align: center; counter-increment: fl5; }
.flow5 svg { width: min(100%, 170px); height: auto; margin: 0 auto 6px; }
.flow5 b { display: block; font-size: 1.35rem; color: var(--kon); line-height: 1.35; }
.flow5 b::before { content: counter(fl5) " "; color: var(--shu); }
.flow5 span { display: block; font-weight: 700; color: var(--shu); line-height: 1.4; }
.flow-note { margin: 24px 0 0; font-weight: 700; }
.home .faq { margin-inline: auto; }

/* 機能のページ: スマートフォンでは絵を先に、見出しを大きく */
.lphead h1 { font-size: clamp(1.85rem, 6.6vw, 2.8rem); }
.lphead .lead { font-weight: 700; font-size: 1.15rem; }
.lphead .art svg, .lphead .art img { max-width: 560px; }
@media (max-width: 899px) { .lphead .art { order: -1; } .lphead .grid > div:first-child { order: 0; } }
.art-phone { max-width: 230px; margin-inline: auto; }
.seimu-fig { max-width: 640px; }
.calc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 700; margin: 8px 0 10px; }
.calc .c1 { background: var(--kon); color: #fff; padding: 12px 16px; font-size: 1.5rem; line-height: 1.2; }
.calc .c1 small { font-size: .7em; }
.calc .op { font-size: 2rem; color: var(--shu); line-height: 1; }
.calc .c2 { border: 3px dashed var(--shu); color: var(--shu); padding: 10px 14px; font-size: 1.3rem; line-height: 1.3; }
.lp .pics3 { margin-block: 12px; }
.lp .ledger td { overflow-wrap: anywhere; }

/* 表紙: いま→ZIBAN の図（運営者の決め 11/02） */
body.home { --kon: #14284b; --shu: #c8321e; --shu-soft: #fbeeeb; }
.hero3 { padding-block: 22px 44px; background: var(--kami); text-align: center; }
.hero3 h1 { margin: 0 0 6px; color: var(--kon); }
.hero3 h1 .kind { display: inline-block; background: var(--kon); color: #fff; font-size: .82rem; line-height: 1.5; padding: 2px 12px; margin-bottom: 8px; }
.hero3 h1 .line1 { display: block; font-size: clamp(2.05rem, 10vw, 4.2rem); line-height: 1.2; word-break: auto-phrase; }
.hero3 h1 em { font-style: normal; color: var(--shu); }
.hero3 .sub { font-size: clamp(1.02rem, 3.4vw, 1.5rem); font-weight: 700; color: var(--kon); margin: 0 0 12px; word-break: auto-phrase; line-height: 1.45; }
.hero3-btn { margin: 0 0 18px; }
.hero3-btn .btn { min-width: min(100%, 340px); }
.ba2 { display: grid; gap: 4px; margin-bottom: 18px; }
@media (min-width: 820px) { .ba2 { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); gap: 10px; align-items: stretch; } }
.ba2-l, .ba2-r { padding: 14px 14px 12px; display: flex; flex-direction: column; }
.ba2-l { background: var(--ji); border: 2px solid var(--kei); }
.ba2-r { background: var(--kon); color: #fff; }
.ba2-h { margin: 0 0 10px; font-size: clamp(1.45rem, 5.8vw, 2.1rem); font-weight: 700; line-height: 1.25; color: var(--kon); }
.ba2-h span { display: inline-block; font-size: .62em; background: var(--nezu); color: #fff; padding: 1px 10px; margin-right: 8px; vertical-align: .14em; }
.ba2-r .ba2-h { color: #fff; }
.ba2-r .ba2-h span { background: var(--shu); }
.ba2-cap { margin: auto 0 0; padding-top: 10px; font-weight: 700; font-size: 1.05rem; line-height: 1.45; word-break: auto-phrase; }
.ba2-l .ba2-cap { color: var(--shu); }
.scat, .tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.scat li { margin: 0; background: #fff; border: 1.5px solid var(--nezu); box-shadow: 2px 3px 0 rgba(20, 40, 75, .22); padding: 12px 2px; font-weight: 700; font-size: .92rem; line-height: 1.3; color: var(--sumi); display: flex; align-items: center; justify-content: center; word-break: keep-all; }
.scat li:nth-child(1) { transform: rotate(-5deg); }
.scat li:nth-child(2) { transform: rotate(4deg) translateY(4px); }
.scat li:nth-child(3) { transform: rotate(-2deg) translate(2px, -3px); background: #fff8d8; }
.scat li:nth-child(4) { transform: rotate(3deg) translateY(3px); }
.scat li:nth-child(5) { transform: rotate(-6deg) translateY(5px); background: #fff8d8; }
.scat li:nth-child(6) { transform: rotate(5deg); }
.tiles li { margin: 0; background: #fff; color: var(--kon); padding: 8px 2px 7px; font-weight: 700; font-size: 1rem; line-height: 1.25; text-align: center; }
.tiles svg { width: 36px; height: 36px; margin: 0 auto 2px; fill: none; stroke: var(--kon); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ba2-arrow { display: flex; align-items: center; justify-content: center; }
.ba2-arrow svg { width: 56px; height: 56px; fill: var(--shu); transform: rotate(90deg); }
@media (min-width: 820px) { .ba2-arrow svg { width: 96px; height: 96px; transform: none; } }
.hero3 .badges { margin-bottom: 10px; }
.hero3-more { margin: 0; font-weight: 700; font-size: 1.1rem; }
.screen-big { max-width: 1040px; margin-inline: auto; }
html.big .scat, html.big .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* 料金の表: スマートフォンでも月払い・年払いを横に */
@media (max-width: 640px) {
  .price-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-table tbody th { grid-column: 1 / -1; width: auto; }
  .price-table td { width: auto; border-bottom: 0; }
  .price-table td + td { border-left: 1px solid var(--kei); }
  .price-table .yen { font-size: 1.32rem; }
}
html.big .price-table tr { grid-template-columns: minmax(0, 1fr); }

/* 事務所の声: まんがの吹き出し（人の顔・名前は描かない） */
.vbubs { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; max-width: none !important; }
@media (min-width: 820px) { .vbubs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; } }
@media (min-width: 1100px) { .vbubs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vbubs li { margin: 0; display: flex; align-items: flex-end; gap: 16px; }
.vbubs .vb-ic { flex: 0 0 auto; width: 34px; height: auto; margin-bottom: 4px; }
.vb { position: relative; flex: 1 1 auto; min-width: 0; margin: 0 !important; background: #fff; border: 3px solid #111; border-radius: 26px; padding: 16px 20px; font-size: 1.08rem; line-height: 1.6; color: var(--sumi); max-width: none !important; }
.vb strong { color: var(--shu); font-size: 1.14em; }
.vb::before, .vb::after { content: ""; position: absolute; bottom: 14px; width: 0; height: 0; border-style: solid; }
.vb::before { left: -19px; border-width: 9px 18px 9px 0; border-color: transparent #111 transparent transparent; }
.vb::after { left: -13px; bottom: 16px; border-width: 7px 14px 7px 0; border-color: transparent #fff transparent transparent; }
/* 尾は右と左を交互に */
.vbubs li:nth-child(even) { flex-direction: row-reverse; }
.vbubs li:nth-child(even) .vb::before { left: auto; right: -19px; border-width: 9px 0 9px 18px; border-color: transparent transparent transparent #111; }
.vbubs li:nth-child(even) .vb::after { left: auto; right: -13px; border-width: 7px 0 7px 14px; border-color: transparent transparent transparent #fff; }
#voices { background: var(--sora); }
#voices .big-h { font-size: clamp(1.45rem, 5.2vw, 2.2rem); }
.voices2 { margin: 18px 0 8px; max-width: 900px; background: var(--sora); padding: 16px 16px 12px; }
.voices2 .vh { font-weight: 700; color: var(--kon); margin: 0 0 12px; }
.voices2 .vn { font-size: .8rem; color: var(--nezu); margin: 12px 0 0; }
.lp .voices2 .vbubs { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .lp .voices2 .vbubs:has(li:nth-child(2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- H332: ページを分けた形（上の帯の今いる所・ページの頭・トップの短い区切り・本物の航空写真） ---- */
.nav a[aria-current] { color: var(--shu); box-shadow: inset 0 -4px 0 var(--shu); }
.menu a[aria-current] { background: var(--sora); border-width: 3px; }
.phead { padding-block: 16px 0; background: var(--kami); }
.phead .crumbs { margin-bottom: 10px; }
.phead .big-h { margin-bottom: 18px; }
.sec-first { padding-top: 12px; }
#hikaku.sec-first, #voices.sec-first { padding-top: 28px; }
@media (max-width: 560px) { .sec { padding-block: 40px; } .sec-first { padding-top: 8px; } #hikaku.sec-first, #voices.sec-first { padding-top: 24px; } .lp-cta { padding-block: 44px; } }
/* トップの機能: スマートフォンでも 2 列。絵と名前だけ */
.fgrid-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .fgrid-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.fgrid-top h3 { font-size: 1.1rem; margin: 8px 10px; }
.price-line { padding-block: 26px; background: var(--ji); text-align: center; }
.price-line p { margin: 0; font-weight: 700; font-size: 1.1rem; line-height: 1.6; word-break: auto-phrase; }
.price-line b { font-size: 1.5em; color: var(--kon); }
.price-line a { white-space: nowrap; margin-left: .4em; }
/* 地理院タイルの写真。出典は写真のすぐ下（切らない・下の帯に移さない） */
.aerial { margin: 0 auto; max-width: 1040px; background: var(--kami); border: 2px solid var(--kon); }
.aerial img { width: 100%; height: auto; }
.aerial figcaption { padding: 10px 14px 12px; font-size: .88rem; line-height: 1.6; }
.aerial figcaption p { margin: 0; }
.aerial .credit { font-weight: 700; color: var(--sumi); overflow-wrap: anywhere; }
.aerial-fact { margin: 18px 0 0; font-weight: 700; word-break: auto-phrase; }
/* 始め方: 試し方ふたつ */
.try2 { list-style: none; padding: 0; margin: 0 auto; display: grid; gap: 16px; max-width: 900px; }
@media (min-width: 720px) { .try2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.try2 li { margin: 0; background: var(--kami); border: 2px solid var(--kon); padding: 16px; text-align: center; }
.try2 svg { width: 130px; height: auto; margin: 0 auto 6px; }
.try2 h3 { font-size: 1.35rem; color: var(--kon); margin-bottom: 6px; }
.try2 p { margin: 0 0 6px; font-weight: 700; line-height: 1.6; word-break: auto-phrase; }
.try2 b { color: var(--shu); }
.guide2 .big-h { font-size: clamp(1.45rem, 5.2vw, 2.2rem); margin-bottom: 18px; }
#guide ul { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18em), 1fr)); }
/* トップをスマートフォンで短く */
@media (max-width: 560px) {
  .home .sec { padding-block: 32px; }
  .home .big-h { margin-bottom: 16px; }
  .hero3 { padding-block: 14px 26px; }
  .hero3-btn { margin-bottom: 12px; }
  .scat li { padding-block: 7px; }
  .tiles li { padding-block: 5px 4px; }
  .tiles svg { width: 28px; height: 28px; }
  .ba2-l, .ba2-r { padding: 10px; }
  .ba2-h { margin-bottom: 8px; }
  .ba2-cap { padding-top: 7px; font-size: .95rem; }
  .ba2-arrow svg { width: 38px; height: 38px; }
  #voices .vbubs { gap: 10px; }
  #voices .vb { padding: 10px 14px; font-size: 1rem; line-height: 1.5; border-radius: 20px; }
  .price-line { padding-block: 18px; }
  .lp-cta p { font-size: .95rem; }
}

/* ---- H331: ポスターの貼り替えの体験（poster.html・トップ） ---- */
.pd-ba { display: grid; gap: 14px; margin: 8px 0 22px; }
@media (min-width: 640px) { .pd-ba { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pd-ba > div { padding: 14px 16px; background: var(--kami); text-align: center; }
.pd-ba svg { width: 100%; max-width: 320px; height: auto; margin-inline: auto; }
.pd-l { border: 3px solid var(--kei); }
.pd-r { border: 3px solid var(--kon); }
.pd-h { font-weight: 700; font-size: 1.1rem; line-height: 1.4; margin: 0 0 8px; color: var(--nezu); }
.pd-r .pd-h { color: var(--kon); }
.pd-cap { font-weight: 700; font-size: .9rem; line-height: 1.5; margin: 8px 0 0; color: var(--shu); word-break: auto-phrase; text-wrap: balance; }
.pd-r .pd-cap { color: var(--kon); }
.pd-flow { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pd-flow li { margin: 0; text-align: center; border-top: 4px solid var(--kon); padding-top: 8px; }
.pd-flow svg { width: 100%; max-width: 220px; height: auto; margin-inline: auto; }
.pd-flow b { display: block; color: var(--kon); line-height: 1.35; margin-top: 4px; font-size: .92rem; word-break: auto-phrase; }
.pd-try { border: 3px solid var(--shu); background: var(--kami); padding: 18px 20px; max-width: 760px; margin-inline: auto; }
.pd-qr { display: flex; align-items: center; gap: 24px; }
.pd-qr img { flex: none; width: 220px; height: 220px; }
.pd-qr p { margin: 0; }
.pd-qr b { display: block; font-size: 1.3rem; line-height: 1.45; color: var(--kon); margin-bottom: 8px; word-break: auto-phrase; }
.pd-qr span { font-size: .9rem; color: var(--nezu); }
.pd-tap { display: none; text-align: center; }
.pd-tap .btn { width: 100%; max-width: 420px; }
.pd-tap .small { margin: 10px 0 0; }
.pd-fine { margin: 16px auto 0; max-width: 760px; line-height: 1.7; }
.pd-more { margin: 16px 0 0; font-weight: 700; }
#poster-demo h2 { word-break: auto-phrase; }
/* QR は別の端末で読むもの。スマートフォン・タブレットの画面では読めないので、ボタンにする */
@media (pointer: coarse), (max-width: 760px) { .pd-qr { display: none; } .pd-tap { display: block; } }
/* H335: ポリスケの小さな案内。パソコンは右下のカード、スマートフォンは下の細い帯。固定の位置なので本文はずれない */
.promo { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(340px, calc(100vw - 32px)); box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px;
  padding: 0 0 12px; background: var(--kami); border: 2px solid var(--kon); box-shadow: 0 4px 14px rgba(11, 42, 91, .22); transform: translateY(calc(100% + 24px)); transition: transform .35s ease; }
.promo[hidden] { display: none; }
.promo.show { transform: none; }
.promo.show.dodge { transform: translateY(calc(100% + 24px)); }
.promo p { margin: 0; }
.promo-pic { display: block; border-bottom: 2px solid var(--kon); }
.promo-pic img { display: block; width: 100%; height: auto; }
.promo-text { padding: 0 12px; }
.promo-sub { font-size: .68rem; line-height: 1.4; color: var(--nezu); }
.promo-main { font-size: .92rem; line-height: 1.4; font-weight: 700; color: var(--kon); word-break: auto-phrase; }
.promo-line { font-size: .78rem; line-height: 1.5; }
.promo-go { justify-self: start; margin-left: 12px; display: inline-flex; align-items: center; min-height: 44px; padding: 4px 16px; background: var(--kon); color: #fff; font-size: .8rem; font-weight: 700; text-decoration: none; }
.promo-go:hover { background: var(--kon2); color: #fff; }
.promo-x { position: absolute; right: 8px; bottom: 12px; width: 44px; height: 44px; padding: 0; margin: 0; background: #fff; border: 2px solid var(--kon); color: var(--kon); font-size: 1.2rem; line-height: 1; cursor: pointer; font-family: inherit; }
.promo-x svg { display: block; margin: auto; }
.promo-x:hover { background: var(--ji); }
@media (max-width: 719px) {
  .promo { right: 0; bottom: 0; width: 100%; grid-template-columns: 52px minmax(0, 1fr) auto 44px; align-items: center; gap: 6px; padding: 6px 2px calc(6px + env(safe-area-inset-bottom, 0px)) 6px; border-width: 2px 0 0; box-shadow: 0 -2px 10px rgba(11, 42, 91, .18); }
  .promo-sub { display: none; }
  .promo-main { font-size: .74rem; line-height: 1.3; }
  .promo-line { font-size: .68rem; line-height: 1.3; }
  .promo-pic { border: 1px solid var(--kei); }
  .promo-text { padding: 0; }
  .promo-go { margin: 0; padding: 4px 6px; font-size: .68rem; text-align: center; max-width: 5.6em; line-height: 1.25; }
  .promo-x { position: static; border: 0; background: none; }
  .promo + .foot { padding-bottom: 96px; } /* 帯が下の帯の字にかぶらないように、はじめから空けておく */
  html.big .promo + .foot { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }
@media print { .promo { display: none !important; } }
.kind .nb { display: inline-block; } /* 「名簿・名刺・ポスター管理アプリ」を途中で折らない */
/* H335: 「最短 当日から使える」の 1 行と、条件の注 */
.sameday { margin: 14px auto 0; text-align: center; max-width: 720px; }
.sameday b { display: block; color: var(--shu); font-size: 1.15rem; line-height: 1.4; }
.sameday b.sameday-2 { color: var(--kon); font-size: 1rem; }
.sameday small { display: block; font-size: .78rem; line-height: 1.5; color: var(--nezu); margin-top: 2px; word-break: auto-phrase; }
/* H335: トップページのキャンペーンの案内（ドン！）。site.js が開く。スマートフォンでも周りのページが見える */
.cp { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 42, 91, .62); animation: cp-fade .2s ease; }
.cp[hidden] { display: none; }
html.cp-lock, html.cp-lock body { overflow: hidden; }
.cp-box { position: relative; box-sizing: border-box; width: min(480px, 100%); max-height: 92vh; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain; background: var(--kami); border: 6px solid var(--shu); box-shadow: 0 12px 40px rgba(0, 0, 0, .4); animation: cp-don .34s cubic-bezier(.2, 1.5, .4, 1); outline: none; }
.cp-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: flex-end; background: #0b2a5b; padding: 6px; } /* 絵の上の帯と同じ色 */
.cp-x { display: inline-flex; align-items: center; gap: 6px; min-width: 64px; min-height: 56px; padding: 4px 14px; background: #fff; color: var(--kon); border: 0; font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.cp-x:hover, .cp-x:focus-visible { background: var(--ji); }
.cp-ad { display: block; }
.cp-ad img { display: block; width: 100%; height: auto; }
.cp-ad:focus-visible { outline: 4px solid var(--kon); outline-offset: -4px; }
.cp-body { padding: 6px 14px 10px; text-align: center; }
.cp-note { margin: 0; font-size: .68rem; line-height: 1.4; color: var(--nezu); text-align: left; }
.cp-see { display: block; width: 100%; min-height: 46px; margin-top: 8px; background: #fff; color: var(--kon); border: 2px solid var(--kon); font-family: inherit; font-size: .95rem; font-weight: 700; cursor: pointer; }
.cp-more { margin: 6px 0 0; font-size: .72rem; line-height: 1.5; }
@media (max-width: 719px) { .cp-box { max-height: 80vh; max-height: 80dvh; } .cp { padding: 12px; } }
@keyframes cp-don { 0% { transform: scale(.55); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes cp-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cp, .cp-box { animation: none; } }
@media print { .cp { display: none !important; } }

/* H336: 更新情報（トップの小さな枠と news.html）。字は textContent で入る。長い字・改行でもはみ出さない */
.news-top { padding: 28px 0; }
.news-box { border: 2px solid var(--kon); background: var(--kami); padding: 16px 20px; }
.news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; border-bottom: 2px solid var(--kon); padding-bottom: 8px; margin-bottom: 4px; }
.news-head h2 { font-size: 1.2rem; margin: 0; }
.news-head a { font-weight: 700; }
.news-rows { list-style: none; margin: 0; padding: 0; }
.news-rows li { border-bottom: 1px solid var(--kei); }
.news-rows li:last-child { border-bottom: 0; }
.news-rows a { display: flex; flex-wrap: wrap; gap: 0 16px; padding: 10px 0; text-decoration: none; color: var(--sumi); }
.news-rows a:hover .news-title { color: var(--shu); text-decoration: underline; }
.news-date { color: var(--nezu); font-weight: 700; flex: 0 0 auto; }
.news-title { overflow-wrap: anywhere; min-width: 0; }
.news-rows .news-title { flex: 1 1 16em; }
.news-msg { margin: 10px 0; color: var(--nezu); }
.news-nojs { text-align: center; margin: 16px 0; }
.news-page { min-height: 8rem; }
.news-page .in { max-width: 860px; }
.news-item { border-top: 2px solid var(--kon); padding: 18px 0 24px; }
.news-item:last-child { border-bottom: 2px solid var(--kon); }
.news-item h2.news-title { font-size: 1.3rem; margin: 4px 0 8px; line-height: 1.5; }
.news-body { white-space: pre-line; overflow-wrap: anywhere; margin: 0 0 8px; }
.news-link { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
