/* Homepage — 2026-10-27 刷新。実画面を大きく見せる。配色・文章は従来どおり */
:root { --sub: #526174; --line: #dce4ee; --cta: #f57c00; --soft: #f5f7fa; --shadow: 0 1px 4px #101c2e10; }
body { -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1160px; padding-inline: 28px; }
header.top { background: color-mix(in srgb, var(--panel) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); }
header.top .wrap { min-height: 72px; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ボタン */
.btn, .btn.sm, .btn.reg { border-radius: 12px; box-shadow: none; animation: none; font-family: inherit; }
.btn { cursor: pointer; min-height: 48px; }
.btn.sm { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; }
.btn.pri { box-shadow: none; }
.btn.reg { background: var(--cta); border-color: var(--cta); font-size: 22px; padding: 17px 30px; gap: 6px; box-shadow: 0 10px 24px #71330033; transition: transform .15s, box-shadow .15s; }
.btn.reg:hover { transform: translateY(-2px); box-shadow: 0 14px 28px #71330040; }
.btn.reg small { font-size: 14px; font-weight: 500; }
.btn:hover { filter: brightness(.96); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--ai); outline-offset: 4px; }

/* 最初の画面 */
.herobg { background: linear-gradient(180deg, transparent 72%, var(--bg)), radial-gradient(900px 520px at 80% 10%, #d6e5fb 0%, transparent 72%), var(--bg); overflow: hidden; }
.hero { grid-template-columns: .82fr 1.18fr; gap: 44px; padding: 64px 0 96px; align-items: center; }
.hero h1 { font-size: clamp(34px, 3.8vw, 48px); line-height: 1.32; margin: 12px 0 16px; letter-spacing: -.035em; }
.hero p.sub { font-weight: 500; font-size: 19px; margin-bottom: 26px; }
.badge.free { background: var(--ai-bg); color: var(--ai); font-size: 15px; padding: 6px 16px; box-shadow: none; }
.price-hero { background: transparent; color: var(--text); padding: 0; border-radius: 0; box-shadow: none; gap: 4px 8px; margin-bottom: 28px; }
.price-hero .num { font-size: 52px; color: var(--ai); }
.price-hero .lbl, .price-hero .from { font-size: 17px; font-weight: 700; }
.price-hero .tax, .price-hero .tax2 { color: var(--sub); font-size: 14px; font-weight: 500; opacity: 1; }
.price-note { word-break: auto-phrase; text-wrap: pretty; margin: -12px 0 26px; max-width: 30em; font-size: 15px; line-height: 1.7; color: var(--sub); }
.hero .cta { align-items: center; gap: 20px; }
.hero .secondary { font-size: 15px; font-weight: 700; text-underline-offset: 5px; }

/* 実画面の組み合わせ(パソコンの画面 + スマホ) */
.stage { position: relative; padding: 0 0 54px 56px; }
.browser { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--soft); border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #c3ccd9; }
.browser .bar span { margin-left: 10px; font-size: 12px; font-weight: 700; color: var(--sub); }
.browser img { display: block; width: 100%; height: auto; }
.stage .phone { position: absolute; left: 0; bottom: 0; width: 30%; min-width: 120px; margin: 0; border: 6px solid #1f2d42; border-radius: 28px; box-shadow: 0 6px 16px #0b1b3333; background: #eef1f6; }
.stage .phone img { aspect-ratio: 390 / 800; object-fit: cover; object-position: top; }
.tag { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 800; padding: 7px 13px; border-radius: 99px; box-shadow: 0 3px 10px #1b355a1a; }
.tag .i { color: var(--ai); font-size: 15px; }
.tag.t1 { left: 8%; top: 54%; transform: translateX(-30%); display: none; }
.tag.t2 { right: -8px; top: -14px; }

/* 要点 */
.facts { list-style: none; margin: -34px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 4px 14px #1b355a12; position: relative; z-index: 2; }
.facts li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; padding: 20px 22px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .i { grid-row: span 2; font-size: 26px; color: var(--ai); }
.facts b { font-size: 16px; line-height: 1.4; word-break: keep-all; }
.facts span { font-size: 13px; color: var(--sub); line-height: 1.4; }

/* 全体 */
section { padding: 84px 0; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.45; letter-spacing: -.02em; }
.lead { margin-bottom: 40px; font-size: 17px; }
.more-link { text-align: center; margin: 22px 0 0; font-weight: 800; }
.more-link a { text-underline-offset: 5px; }

/* 3回押す */
.psteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 880px; margin: 0 auto; position: relative; }
.pstep { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px 16px 26px; text-align: center; position: relative; box-shadow: 0 3px 10px #1b355a0d; }
.pstep .n { position: absolute; left: 14px; top: 12px; font-size: 14px; font-weight: 900; color: var(--ai); background: var(--ai-bg); border-radius: 99px; padding: 1px 11px; }
.pstep .ico { display: grid; place-items: center; width: 76px; height: 76px; margin: 6px auto 14px; border-radius: 22px; background: var(--ai); color: var(--on-ai); font-size: 38px; box-shadow: 0 4px 10px #2a5aa62e; }
.pstep h3 { margin: 0; font-size: 22px; word-break: keep-all; }
.pstep:not(:last-child)::after { content: ''; position: absolute; right: -16px; top: 50%; width: 14px; height: 14px; border-top: 3px solid #b9c7dc; border-right: 3px solid #b9c7dc; transform: translateY(-50%) rotate(45deg); }

/* 事務の画面(実画面の見せ場) */
.show-sec { background: linear-gradient(180deg, var(--soft), var(--bg)); }
.show { display: grid; grid-template-columns: .72fr 1.28fr; gap: 56px; align-items: center; margin: 0 auto 72px; }
.show:last-child { margin-bottom: 0; }
.show.rev { grid-template-columns: 1.28fr .72fr; }
.show.rev .show-txt { order: 2; }
.show-txt .kick { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ai); background: var(--ai-bg); border-radius: 99px; padding: 3px 13px; margin-bottom: 14px; }
.show-txt h3 { text-wrap: balance; word-break: auto-phrase; margin: 0 0 12px; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.45; letter-spacing: -.02em; }
.show-txt p { text-wrap: pretty; word-break: auto-phrase; margin: 0 0 16px; color: var(--sub); font-size: 16px; line-height: 1.9; }
.show-txt .more { font-weight: 800; text-decoration: none; }
.show-txt .more:hover { text-decoration: underline; text-underline-offset: 5px; }
.shot { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.shot img { display: block; width: 100%; height: auto; }
/* 画像の一部だけを見せる(画像そのものは加工しない)。--cx・--cy・--cw・--ch = 見せる範囲(元画像の画素)、--iw = 元画像の幅 */
.shot.crop { aspect-ratio: var(--cw) / var(--ch); }
.shot.crop img { width: calc(var(--iw) / var(--cw) * 100%); max-width: none; height: auto; margin-left: calc(var(--cx) / var(--cw) * -100%); margin-top: calc(var(--cy) / var(--cw) * -100%); }
.show.wide { grid-template-columns: .62fr 1.38fr; }
.show.rev.wide { grid-template-columns: 1.38fr .62fr; }

/* 機能 */
.fgrid.six { gap: 20px; max-width: none; grid-template-columns: repeat(3, 1fr); }
.fcard, .fcard.key { border: 1px solid var(--line); border-radius: 18px; padding: 26px; text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
.fcard:hover { transform: translateY(-3px); box-shadow: 0 6px 16px #1b355a16; border-color: var(--ai); }
.fcard .fic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ai-bg); color: var(--ai); font-size: 24px; margin-bottom: 4px; }
.fcard.key .fic { background: var(--ai); color: var(--on-ai); }
.fcard h3 { font-size: 20px; margin: 12px 0 6px; }
.fcard .more { display: inline-block; margin-top: 16px; font-weight: 800; color: var(--ai); }

/* 安全 */
.safe-sec { background: linear-gradient(180deg, var(--soft), var(--bg) 70%); }
.safe-sec h2 { font-size: clamp(25px, 3.8vw, 42px); text-wrap: balance; word-break: auto-phrase; }
.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scard { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto 1fr; align-content: start; column-gap: 20px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 30px; box-shadow: 0 3px 10px #1b355a0a; }
.daily { display: flex; align-items: center; gap: 24px; background: var(--ai); color: var(--on-ai); border-radius: 20px; padding: 28px 32px; margin-bottom: 24px; }
.daily .fic { flex: none; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #ffffff26; font-size: 42px; }
.daily .fic .i { stroke-width: 1.6; }
.daily h3 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; text-wrap: balance; word-break: auto-phrase; }
.daily p { margin: 0; font-size: 16px; line-height: 1.9; opacity: .95; word-break: auto-phrase; text-wrap: pretty; }
.safe.pain { width: 100%; margin-bottom: 64px; }
.show-sec .lead { text-wrap: balance; word-break: auto-phrase; }
.scard .fic { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--ai-bg); color: var(--ai); font-size: 42px; }
.scard .fic .i { stroke-width: 1.6; }
.scard h3 { font-size: 20px; line-height: 1.55; margin: 0; letter-spacing: -.01em; word-break: auto-phrase; text-wrap: balance; }
.scard p { grid-column: 1 / -1; align-self: start; margin: 18px 0 0; color: var(--sub); font-size: 15.5px; line-height: 1.9; word-break: auto-phrase; }

/* 料金・登録 */
.feat-alt { background: var(--panel); }
.plan, .plan.main { border: 1px solid var(--line); border-radius: 20px; padding: 32px 22px; }
.plan.main { border: 1px solid var(--line); box-shadow: none; }
.qr { border-radius: 20px; padding: 34px; box-shadow: 0 4px 12px #1b355a10; }
#price { padding-bottom: 56px; }
#start { padding-top: 56px; }
details.faq { border-radius: 14px; }
details.faq summary { padding: 17px 20px; }
.form label { font-size: 16px; }
.form input[type=text], .form input[type=email], .form textarea { border-width: 1px; }
footer { padding-top: 36px; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 60px; }
  .hero-txt { text-align: center; }
  .hero .cta { justify-content: center; }
  .price-hero { justify-content: center; }
  .price-note { margin-inline: auto; text-align: left; }
  .stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .show, .show.rev, .show.wide, .show.rev.wide { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .show.rev .show-txt { order: 0; }
  .show-txt { text-align: center; }
  .fgrid.six, .safe { grid-template-columns: repeat(2, 1fr); }
  .safe.pain { grid-template-columns: 1fr; margin-bottom: 48px; }
  .daily { padding: 24px 22px; gap: 18px; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  header.top .wrap { min-height: 64px; gap: 8px; }
  .hero { padding: 32px 0 48px; }
  .hero h1 { font-size: clamp(31px, 8vw, 42px); }
  .hero p.sub { font-size: 16px; margin-bottom: 22px; }
  .hero .cta { flex-direction: column; gap: 14px; }
  .price-hero .num { font-size: 44px; }
  .stage { padding: 0 0 28px 14px; }
  .stage .phone { width: 32%; min-width: 96px; border-width: 4px; border-radius: 18px; }
  .tag { font-size: 11px; padding: 5px 10px; }
  .facts { grid-template-columns: 1fr 1fr; margin-top: -18px; }
  .facts li { padding: 14px 14px; grid-template-columns: 22px 1fr; column-gap: 9px; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts .i { font-size: 22px; }
  .facts b { font-size: 14px; }
  .facts span { font-size: 12px; }
  section { padding: 56px 0; }
  #price { padding-bottom: 36px; }
  #start { padding-top: 40px; }
  .shot.crop.sites { --cx: 56 !important; --cy: 380 !important; --cw: 1090 !important; --ch: 270 !important; }
  .lead { margin-bottom: 28px; font-size: 15.5px; }
  .regbar { display: none; }
  body { padding-bottom: 0; }
  .psteps { gap: 8px; }
  .pstep { padding: 26px 4px 18px; border-radius: 16px; }
  .pstep .n { left: 8px; top: 8px; font-size: 12px; padding: 0 8px; }
  .pstep .ico { width: 56px; height: 56px; font-size: 28px; border-radius: 16px; margin-bottom: 10px; }
  .pstep h3 { font-size: 16px; }
  .pstep:not(:last-child)::after { display: none; }
  .fgrid.six, .safe { grid-template-columns: 1fr; gap: 14px; }
  .scard { grid-template-columns: 60px 1fr; column-gap: 16px; padding: 22px 20px 24px; border-radius: 18px; }
  .scard .fic { width: 60px; height: 60px; font-size: 30px; }
  .daily { flex-direction: column; align-items: flex-start; }
  .daily .fic { width: 56px; height: 56px; font-size: 28px; }
  .daily p { font-size: 15px; }
  .scard h3 { font-size: 18px; }
  .scard p { margin-top: 14px; font-size: 15px; }
  .fcard, .fcard.key { padding: 20px; }
}
@media (max-width: 380px) {
  header.top .wrap { padding-inline: 12px; gap: 6px; }
  .plate b { font-size: 15px; }
  header.top .btn.sm { font-size: 12px; padding-inline: 8px; }
}

.onetap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin: 26px auto 0; font-size: 15px; }
.onetap b { font-weight: 800; margin-right: 4px; }
.onetap span { background: var(--soft); border: 1px solid var(--line); border-radius: 99px; padding: 4px 14px; font-weight: 700; }
.onetap span:not(:last-of-type)::after { content: "→"; margin-left: 12px; color: var(--sub); }
.onetap a { margin-left: 6px; font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) { .onetap { font-size: 14px; gap: 6px 8px; } .onetap b { flex-basis: 100%; text-align: center; margin: 0; } }
.hero h1 em { white-space: nowrap; }

/* 2026-11-06 配色(site.css の末尾と対) */
.btn.reg { background: var(--cta); border-color: var(--cta); box-shadow: none; transform: none; }
.btn.reg:hover { background: #dd6800; border-color: #dd6800; transform: none; box-shadow: none; }
.btn.reg small { opacity: 1; }
.herobg { background: #fff; }
.show-sec, .safe-sec { background: var(--soft); }
.badge.free { background: var(--ai-bg); color: var(--ai); }
.facts, .pstep, .scard, .browser, .shot, .qr { box-shadow: none; }
.fcard:hover { box-shadow: none; transform: none; }
.pstep .ico { box-shadow: none; }
h1, h2, h3 { color: var(--text); }
h1 em, h2 em { color: var(--ai); }
.feat-alt { background: var(--soft); }
/* 「毎日の出面報告…」の帯: 濃い青地に濃紺の文字で見にくかったので、薄い青地 + 濃紺の文字 + 青い丸の絵に */
.daily { background: var(--ai-bg); color: var(--text); border: 1px solid var(--ai); }
.daily h3 { color: var(--text); }
.daily p { color: var(--text); opacity: 1; }
.daily .fic { background: var(--ai); color: #fff; }

/* 2026-11-06 参考画像に寄せた配置: ヘッダーの青い線・機能/料金のリンク・3ステップの帯・スマホの吹き出し */
header.top { border-bottom: 2px solid var(--ai); }
.hnav { display: flex; gap: 6px; margin-right: 10px; }
.hnav a { color: var(--text); font-weight: 800; font-size: 16px; text-decoration: none; padding: 8px 14px; border-radius: 8px; }
.hnav a:hover { background: var(--soft); color: var(--ai); }
.hero { padding-bottom: 44px; }
.facts { margin-top: 8px; }
.strip { padding: 0; }
.strip .wrap { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px 36px; align-items: center; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--ai); }
.strip h2 { margin: 0; text-align: left; font-size: 24px; line-height: 1.4; }
.strip .steps { gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strip .step { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; background: none; border: 0; padding: 0; position: relative; }
.strip .step::before { grid-row: span 2; margin: 0; }
.strip .step h3 { margin: 0; font-size: 17px; line-height: 1.4; }
.strip .step p { margin: 2px 0 0; font-size: 14px; line-height: 1.5; color: var(--sub); }
.strip .step:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--ai); border-right: 2px solid var(--ai); transform: translateY(-50%) rotate(45deg); }
.strip .steps-note { grid-column: 1 / -1; margin: 0; text-align: left; font-size: 15px; }
.stage .callout { position: absolute; right: 0; bottom: 4px; max-width: 52%; background: var(--ai-bg); border: 1px solid var(--ai); color: var(--ai); font-weight: 800; font-size: 15px; line-height: 1.5; padding: 10px 16px; border-radius: 10px; }
.stage .arrow { position: absolute; left: 33%; bottom: 20px; width: 20%; max-width: 130px; height: auto; fill: none; stroke: var(--ai); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .strip .wrap { grid-template-columns: 1fr; } .strip .steps { gap: 14px; } }
@media (max-width: 760px) {
  .hnav { display: none; }
  .strip .steps { grid-template-columns: 1fr; }
  .strip .step:not(:last-child)::after { display: none; }
  .strip h2 { font-size: 22px; }
  .stage .callout { position: static; max-width: none; margin: 14px 0 0 14px; text-align: center; }
  .stage .arrow { display: none; }
  .facts { margin-top: 8px; }
}
.strip .wrap { grid-template-columns: 260px minmax(0, 1fr); }
.strip h2 em { white-space: nowrap; }
.strip .steps { gap: 36px; }
.strip .step p { display: none; }
.strip .step h3 { font-size: 16px; }
@media (max-width: 980px) { .strip .wrap { grid-template-columns: 1fr; } }
.strip .steps-note { max-width: none; }
.strip .step { display: flex; align-items: center; gap: 12px; }
.strip .step::before { flex: none; }
@media (max-width: 760px) {
  .stage { padding-bottom: 64px; }
  .stage .callout { position: absolute; right: 0; bottom: 6px; max-width: 62%; margin: 0; font-size: 13px; padding: 8px 12px; text-align: left; }
}
@media (max-width: 980px) { .strip .steps { gap: 16px; } }

/* 2026-11-17: トップの右に現場の写真。管理者の画面は空の所に小さく、職人さんの画面は左下に重ねる */
.stage.has-photo { padding: 0 0 54px 40px; }
.stage.has-photo .hero-photo { border-radius: 16px; overflow: hidden; aspect-ratio: 1376 / 768; background: #dfe7f1; }
.stage.has-photo .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.stage.has-photo .browser { position: absolute; left: 22%; top: 6%; width: 40%; border-radius: 10px; box-shadow: 0 6px 18px #0b1b3333; }
.stage.has-photo .browser .bar { padding: 5px 9px; }
.stage.has-photo .browser .bar i { width: 6px; height: 6px; }
.stage.has-photo .browser .bar span { font-size: 10px; margin-left: 6px; }
.stage.has-photo .tag.t2 { right: auto; left: 17%; top: 0; }
.stage.has-photo .phone { width: 24%; }
@media (max-width: 760px) {
  .stage.has-photo { padding: 0 0 64px 10px; }
  .stage.has-photo .browser { left: 30%; top: 4%; width: 42%; }
  .stage.has-photo .browser .bar { display: none; }
  .stage.has-photo .tag.t2 { left: auto; right: 4px; top: -12px; }
  .stage.has-photo .phone { width: 27%; }
}
/* スマホ・タブレット: 写真を見出しのすぐ下に出す(開いたときに見える) */
@media (max-width: 980px) {
  .hero:has(.stage.has-photo) { gap: 0; }
  .hero:has(.stage.has-photo) .hero-txt { display: contents; }
  .hero:has(.stage.has-photo) > .hero-txt > * { order: 2; }
  .hero:has(.stage.has-photo) > .hero-txt > .badge,
  .hero:has(.stage.has-photo) > .hero-txt > h1,
  .hero:has(.stage.has-photo) > .hero-txt > .sub { order: 0; justify-self: center; text-align: center; }
  .hero:has(.stage.has-photo) > .stage { order: 1; margin: 0 auto 28px; }
}
@media (max-width: 760px) {
  .stage.has-photo { padding-bottom: 84px; }
  .stage.has-photo .callout { max-width: 68%; }
}
/* 2026-11-17: 「月末の集計」の見出しの下に、事務所の写真 */
.office-photo { max-width: 880px; margin: -12px auto 40px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8; background: #e6e9ee; }
.office-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 760px) { .office-photo { aspect-ratio: 4 / 3; margin: -6px auto 28px; } .office-photo img { object-position: 45% 50%; } }
/* 2026-11-17: 領収書の画面に手元の写真を重ねる・外国語の段の写真 */
.shot-pair { position: relative; padding: 0 0 36px 0; }
.inset-photo { position: absolute; left: -28px; bottom: 0; width: 44%; margin: 0; border: 5px solid #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px #0b1b3333; aspect-ratio: 4 / 3; }
.inset-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot.photo { aspect-ratio: 4 / 3; border: 0; }
.shot.photo img { height: 100%; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 980px) { .inset-photo { left: 0; } }
@media (max-width: 760px) { .shot-pair { padding-bottom: 28px; } .inset-photo { width: 48%; border-width: 3px; border-radius: 10px; } }

/* ===== 2026-11-17 v2: ChatGPT の案をもとにした作り直し(配色・最初の画面・出面表・領収書の流れ・登録の段) ===== */
:root {
  --bg: #FAF7F0; --soft: #FAF7F0; --band: #ECE2D2; --head: #172C46;
  --cta: #A63E19; --cta-hover: #8A3214; --on-cta: #FFFFFF;
  --ai: #234B78; --ai-bg: #E7ECF2; --line: #E3D8C6; --sub: #55606E; --text: #1E2733;
}
body { background: var(--bg); }
h1, h2, h3 { color: var(--head); }
h1 em, h2 em { color: var(--ai); }
header.top { background: color-mix(in srgb, var(--bg) 90%, transparent); border-bottom: 1px solid var(--line); }
header.top .btn.pri, .btn.reg, .regbar a { background: var(--cta); border-color: var(--cta); color: var(--on-cta); }
header.top .btn.pri:hover, .btn.reg:hover, .regbar a:hover { background: var(--cta-hover); border-color: var(--cta-hover); }
.btn.reg { box-shadow: 0 8px 20px #a63e1933; }
.herobg { background: var(--bg); }
.show-sec, .safe-sec { background: var(--bg); }
.feat-alt, .strip { background: var(--band); border-color: var(--line); }
.strip .step::before { background: var(--head); }
.ptable thead th { background: var(--head); }
.ptable td { color: var(--ai); }
.badge.free { background: #F3E3D6; color: var(--cta); }
.daily { background: #fff; border-color: var(--line); }
.daily .fic { background: var(--head); }
.scard, .fcard, .shot, .ptable, .office-photo { border-color: var(--line); }

/* 最初の画面 */
.hero.v2 { grid-template-columns: .95fr 1.05fr; gap: 48px; padding: 56px 0 64px; }
.hero.v2 h1 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.35; }
.hero.v2 h1 em { white-space: normal; }
.hero.v2 .sub { margin-bottom: 18px; }
.hero.v2 .price-line { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--head); }
.hero.v2 .price-line b { font-size: 1.5em; color: var(--ai); margin: 0 2px 0 6px; }
.hero.v2 .cta { margin: 0; }
.hero.v2 .nocard { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 15px; color: var(--head); }
.hero.v2 .nocard .i { color: #1f9d55; font-size: 18px; stroke-width: 2.4; flex: none; }
.hero.v2 .jump { display: flex; gap: 22px; margin: 18px 0 0; font-weight: 800; font-size: 15px; }
.hero.v2 .jump a { color: var(--ai); text-underline-offset: 4px; }
.hero.v2 .jump a::after { content: " \2193"; }
.stage.v2 { padding: 0; }
.stage.v2 .hero-photo { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 1376 / 768; background: #dfe5ec; }
.stage.v2 .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }

/* 出面表(タップで拡大) */
.demen { padding-top: 64px; }
.demen h2, .demen .lead { text-align: center; }
button.zoom { display: block; position: relative; width: 100%; padding: 0; margin: 0 auto; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
button.zoom img { display: block; width: 100%; height: auto; }
.demen button.zoom { max-width: 1100px; }
.zoomhint { position: absolute; right: 10px; bottom: 10px; background: #172C46e6; color: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px; border-radius: 99px; pointer-events: none; }
.show button.zoom.shot { box-shadow: none; }

/* 拡大の窓 */
.lightbox { position: fixed; inset: 0; z-index: 100; background: #0d1520e8; display: flex; flex-direction: column; }
.lb-x { align-self: flex-end; margin: 10px 12px; padding: 10px 16px; border: 0; border-radius: 99px; background: #fff; color: var(--head); font: inherit; font-weight: 900; font-size: 16px; cursor: pointer; }
.lb-sc { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 0 12px 16px; display: flex; align-items: flex-start; justify-content: center; }
.lb-sc img { display: block; max-width: none; width: min(1705px, 160vw); height: auto; border-radius: 8px; background: #fff; }
@media (min-width: 1100px) { .lb-sc img { width: min(1705px, 96vw); } }
html.lb-open, html.lb-open body { overflow: hidden; }

/* 3ステップ */
ol.steps.v2 { list-style: none; margin: 0; padding: 0; }

/* 領収書の流れ(撮る → 読み取る → 一覧で確認) */
.rcflow-wrap { margin: 0 0 72px; text-align: center; }
.rcflow-wrap .kick { display: inline-block; font-size: 13px; font-weight: 800; color: var(--ai); background: var(--ai-bg); border-radius: 99px; padding: 3px 13px; margin-bottom: 14px; }
.rcflow-wrap h3 { margin: 0 0 24px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; text-wrap: balance; word-break: auto-phrase; }
.rcflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; counter-reset: rc; text-align: left; }
.rcflow li { position: relative; counter-increment: rc; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 12px 18px; }
.rcflow li:not(:last-child)::after { content: "\2192"; position: absolute; right: -27px; top: 34%; font-size: 22px; font-weight: 900; color: var(--cta); }
.rcflow figure { margin: 0 0 12px; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef0f3; }
.rcflow img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.rcflow b { display: block; font-size: 19px; color: var(--head); margin-bottom: 4px; }
.rcflow b::before { content: counter(rc) ". "; color: var(--cta); }
.rcflow span { display: block; font-size: 15px; line-height: 1.75; color: var(--sub); }

/* 機能カード(4つ) */
.fgrid.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: none; }

/* 料金の表の上の一言 */
.pnote-top { display: flex; align-items: center; justify-content: center; gap: 8px; margin: -18px auto 14px; font-size: 16px; color: var(--head); }
.pnote-top .i { color: var(--ai); font-size: 20px; }

/* 下の登録の段: スマホはボタン優先、QR はパソコンだけ */
.startbox { display: flex; gap: 32px; align-items: center; justify-content: center; max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.startbox .txt { flex: 1 1 360px; min-width: 0; }
.startbox .btn.reg { width: 100%; justify-content: center; }
.trial-list { list-style: none; margin: 16px 0 0; padding: 0; font-size: 15.5px; line-height: 1.7; }
.trial-list li { position: relative; padding-left: 22px; margin: 4px 0; }
.trial-list li::before { content: "\2713"; position: absolute; left: 0; color: #1f9d55; font-weight: 900; }
.qr-pc { flex: 0 0 200px; text-align: center; }
.qr-pc img { width: 168px; height: 168px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.qr-pc p { margin: 8px 0 0; font-size: 13px; color: var(--sub); line-height: 1.6; }

/* 固定の登録ボタン(スマホ): 最初の画面のボタンを通り過ぎてから出す */
.regbar.later { transform: translateY(110%); transition: transform .2s; }
.regbar.later.show { transform: none; }

@media (max-width: 980px) {
  .hero.v2 { grid-template-columns: 1fr; gap: 28px; padding: 28px 0 40px; }
  .hero.v2 .hero-txt { text-align: center; }
  .hero.v2 .nocard, .hero.v2 .jump { justify-content: center; }
  .stage.v2 { max-width: 640px; margin: 0 auto; width: 100%; }
  .rcflow { gap: 26px; }
  .fgrid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero.v2 { padding: 18px 0 32px; gap: 22px; }
  .hero.v2 .badge { font-size: 13px; padding: 4px 12px; }
  .hero.v2 h1 { font-size: clamp(25px, 7.2vw, 32px); margin: 10px 0 12px; letter-spacing: -.02em; }
  .hero.v2 .sub { font-size: 15.5px; line-height: 1.75; margin-bottom: 12px; }
  .hero.v2 .price-line { font-size: 15px; margin-bottom: 12px; }
  .hero.v2 .btn.reg { width: 100%; justify-content: center; font-size: 21px; padding: 14px 16px; }
  .hero.v2 .nocard { font-size: 14px; margin-top: 10px; }
  .hero.v2 .jump { margin-top: 14px; }
  .stage.v2 .hero-photo { aspect-ratio: 4 / 3; }
  .demen { padding-top: 44px; }
  .rcflow { grid-template-columns: 1fr; gap: 30px; }
  .rcflow li:not(:last-child)::after { content: "\2193"; right: auto; left: 50%; top: auto; bottom: -29px; transform: translateX(-50%); }
  .fgrid.four { grid-template-columns: 1fr; }
  .startbox { display: block; padding: 20px 16px; }
  .qr-pc { display: none; }
  .pnote-top { margin-top: -10px; font-size: 15px; }
  .regbar { display: block; }
}
@media (max-width: 360px) {
  .hero.v2 h1 { font-size: 24px; }
  .hero.v2 .btn.reg { font-size: 19px; }
  .hero.v2 .jump { gap: 14px; font-size: 14px; }
  .startbox .btn.reg { font-size: 19px; padding: 14px 10px; }
}
.hero.v2 .nw { display: inline-block; }
.hero.v2 .sub, .demen .lead, .rcflow span { word-break: auto-phrase; text-wrap: pretty; }
main h2 { word-break: auto-phrase; text-wrap: balance; }
.lb-sc { justify-content: flex-start; } .lb-sc img { margin: 0 auto; flex: none; }
.lightbox { background: #0d1520f2; }

/* ===== 2026-11-17 v2b: ChatGPT の2回目の意見 ===== */
/* 拡大の文は画像の下に(数字にかぶらない)。PC・スマホで同じ文 */
button.zoom .zoomhint { position: static; display: block; margin: 0; padding: 10px 14px; border-radius: 0; background: var(--ai-bg); color: var(--head); text-align: center; border-top: 1px solid var(--line); font-size: 14px; }
button.zoom .zoomhint::before { content: "\1F50D  "; }
button.zoom:hover .zoomhint { background: #dfe6ee; }
/* サンプル画面の札 */
button.zoom, .rcflow figure.has-sample { position: relative; }
.sample { position: absolute; left: 8px; top: 8px; z-index: 1; background: #172C46d9; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 6px; pointer-events: none; }
/* 料金表の下の一言 */
.ptable-cap { max-width: 560px; margin: -4px auto 16px; text-align: center; font-size: 14px; color: var(--sub); }
/* 手順の文: 言葉の途中で折れないように */
.strip .step p, .strip .steps-note { word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 760px) {
  .office-photo { aspect-ratio: 16 / 9; margin-bottom: 22px; }
  .show { margin-bottom: 44px; gap: 18px; }
  .shot.photo { aspect-ratio: 16 / 10; }
  .rcflow-wrap { margin-bottom: 44px; }
  .safe.pain { margin-bottom: 36px; }
}
button.zoom .sample { top: auto; bottom: 9px; left: 10px; }
.rcflow figure.has-sample .sample { top: auto; left: auto; right: 8px; bottom: 8px; }
.strip .step h3 { word-break: auto-phrase; text-wrap: balance; }

/* ===== 2026-11-17 v3: 濃紺の冒頭・青い登録ボタン・吹き出しつきの写真・領収書の役割(ChatGPT の3回目の指示) ===== */
:root {
  --bg: #F8FAFC; --soft: #F8FAFC; --band: #EEF2F7; --head: #0B1426;
  --cta: #3157F5; --cta-hover: #2443D6; --on-cta: #FFFFFF;
  --ai: #3157F5; --ai-bg: #E8EDFE; --line: #E2E8F0; --sub: #526174; --text: #0F1B2D;
  --shu: #E2572B;   /* 朱: ロゴの色。小さなアクセントだけに使う */
}
body { background: var(--bg); }
h1 em, h2 em { color: var(--ai); }
header.top { background: color-mix(in srgb, #fff 92%, transparent); border-bottom: 1px solid var(--line); }
.btn.reg { box-shadow: 0 8px 22px #3157f540; }
.badge.free { background: var(--ai-bg); color: var(--ai); }
.feat-alt, .strip { background: var(--band); border-color: var(--line); }
.strip .step::before { background: var(--head); }
.ptable thead th { background: var(--head); }
.daily { background: #fff; border-color: var(--line); }
.scard, .fcard, .shot, .ptable, .office-photo, button.zoom, .startbox { border-color: var(--line); }
.show-sec, .safe-sec, .demen { background: var(--bg); }
.zoomhint, button.zoom .zoomhint { background: var(--ai-bg); color: var(--head); }
.kick, .rcflow-wrap .kick { color: var(--ai); background: var(--ai-bg); }

/* 冒頭: 濃紺に白の見出し */
.herobg.v3 { background: #0B1426; color: #fff; }
.herobg.v3 h1 { color: #fff; }
.herobg.v3 h1 em { color: #8FB0FF; }
.herobg.v3 .sub { color: #C9D3E4; }
.herobg.v3 .badge.free { background: #ffffff14; color: #E6ECFA; border: 1px solid #ffffff30; }
.herobg.v3 .badge.free::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--shu); margin-right: 8px; vertical-align: middle; }
.herobg.v3 .price-line { color: #E6ECFA; }
.herobg.v3 .price-line b { color: #fff; }
.herobg.v3 .nocard { color: #E6ECFA; }
.herobg.v3 .nocard .i { color: #4ADE80; }
.herobg.v3 .jump a { color: #A9C0FF; }
.herobg.v3 .btn.reg { box-shadow: 0 10px 28px #3157f566; }
.herobg.v3 .hero.v2 { padding-bottom: 56px; }

/* 写真 + 吹き出し(顔と手元に重ねない) */
.stage.v3 { display: grid; gap: 14px; }
.hero-photo.v3 { position: relative; margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 1376 / 768; }
.hero-photo.v3 img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-photo.v3 .pointer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-photo.v3 .pointer line { stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.hero-photo.v3 .pointer circle { fill: #fff; }
.bubble { position: absolute; display: inline-flex; align-items: center; gap: 6px; margin: 0; background: #fff; color: var(--head); font-weight: 900; font-size: 16px; line-height: 1.3; padding: 9px 14px; border-radius: 12px; box-shadow: 0 6px 18px #0b142659; white-space: nowrap; }
.bubble .i { color: var(--cta); font-size: 18px; flex: none; }
.hero-photo.v3 .bubble.b1 { left: 4%; top: 50%; }

/* 出面表(事務所で現場別に集計) */
.month-card { position: relative; margin: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #ffffff22; box-shadow: 0 10px 30px #00000040; }
.month-card .card-label { display: flex; align-items: center; gap: 8px; padding: 10px 14px; font-weight: 900; font-size: 16px; color: var(--head); border-bottom: 1px solid var(--line); }
.month-card .card-label .i { color: var(--cta); font-size: 18px; }
.month-card img { display: block; width: 100%; height: auto; }
.month-card .sample { top: auto; bottom: 8px; left: auto; right: 8px; }

/* 領収書の欄: 撮影 → 「AIで読み取る」を押す → 読み取り結果 */
.rcv3 { margin: 0 0 72px; text-align: center; }
.rcv3 .kick { display: inline-block; font-size: 13px; font-weight: 800; border-radius: 99px; padding: 3px 13px; margin-bottom: 14px; }
.rcv3 h3 { margin: 0 0 24px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; text-wrap: balance; word-break: auto-phrase; }
.rcv3-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; align-items: stretch; text-align: left; }
.rc-photo { position: relative; margin: 0; border-radius: 16px; overflow: hidden; min-height: 100%; }
.rc-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.rc-photo .bubble { left: 14px; top: 14px; }
.rc-screen { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.rc-screen .sample { top: auto; left: auto; right: 10px; bottom: 10px; }
.rc-step .lbl { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 900; font-size: 16px; color: var(--head); }
.rc-step .lbl .no { background: var(--head); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.rc-step .lbl.ai .i { color: var(--cta); font-size: 20px; }
.btnshot { position: relative; display: inline-block; max-width: 300px; width: 70%; border-radius: 10px; box-shadow: 0 0 0 4px #3157f540; }
.btnshot img { display: block; width: 100%; height: auto; border-radius: 10px; }
.btnshot .tap { position: absolute; right: -14px; bottom: -18px; width: 40px; height: 40px; fill: #fff; stroke: var(--head); stroke-width: 1.6; }
.rc-down { height: 30px; position: relative; }
.rc-down::after { content: ""; position: absolute; left: 24px; top: 6px; width: 12px; height: 12px; border-right: 3px solid var(--shu); border-bottom: 3px solid var(--shu); transform: rotate(45deg); }
.rc-result { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 10px; }

@media (max-width: 980px) {
  .rcv3-grid { grid-template-columns: 1fr; }
  .rc-photo { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 760px) {
  .herobg.v3 .hero.v2 { padding-bottom: 36px; }
  .bubble { font-size: 13px; padding: 6px 10px; border-radius: 10px; gap: 4px; }
  .bubble .i { font-size: 15px; }
  .hero-photo.v3 .bubble.b1 { left: 3%; top: 47%; }
  .month-card .card-label { font-size: 14px; padding: 8px 12px; }
  .rcv3 { margin-bottom: 44px; }
  .rc-screen { padding: 14px; }
  .rc-step .lbl { font-size: 15px; }
  .btnshot { width: 78%; }
}
.month-card .sample { top: 9px; bottom: auto; right: 10px; left: auto; }
@media (max-width: 760px) { .month-card .sample { top: 7px; } }
.office-photo img { object-position: 68% 45%; }

/* ===== 2026-11-17 v3t: 写真にテロップ(文字の帯)と吹き出し。顔と手元にはかけない ===== */
.office-photo, .shot.photo.tl-wrap, .rc-photo, .hero-photo.v3 { position: relative; }
.telop { position: absolute; z-index: 2; color: #fff; pointer-events: none; }
.telop b { display: block; font-weight: 900; line-height: 1.35; letter-spacing: .01em; text-shadow: 0 2px 8px #0b142680; }
.telop .t-sub { display: block; font-weight: 800; font-size: 14px; opacity: .92; margin-bottom: 2px; }
/* 左上(空・棚の所)に置く帯 */
.telop.tl-top { left: 0; top: 0; padding: 16px 22px 18px 18px; border-left: 6px solid var(--shu); background: linear-gradient(100deg, #0b1426e6 0%, #0b1426b3 70%, #0b142600 100%); border-bottom-right-radius: 14px; }
.telop.tl-top b { font-size: clamp(20px, 2.1vw, 28px); }
/* 冒頭: 出勤・現場・退勤のボタン風の札 */
.telop .t-keys { display: flex; gap: 6px; margin: 6px 0 4px; }
.telop .t-keys i { font-style: normal; font-weight: 900; font-size: 15px; background: #fff; color: var(--head); padding: 4px 10px; border-radius: 8px; }
.telop .t-keys i:first-child { background: var(--cta); color: #fff; }
.hero-photo.v3 .telop.tl-top b { font-size: 18px; }
/* 下に置く帯(外国語) */
.telop.tl-bottom { left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(0deg, #0b1426eb 0%, #0b1426b3 55%, #0b142600 100%); }
.telop.tl-bottom b { font-size: clamp(20px, 2.2vw, 28px); }
.telop .t-langs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.telop .t-langs i { font-style: normal; font-size: 13px; font-weight: 700; background: #ffffff26; border: 1px solid #ffffff55; padding: 2px 9px; border-radius: 99px; }
/* 左下に置く札(領収書) */
.telop.tl-bl { left: 14px; bottom: 14px; padding: 10px 14px 12px; border-left: 5px solid var(--shu); background: #0b1426d9; border-radius: 4px 12px 12px 4px; }
.telop.tl-bl b { font-size: clamp(17px, 1.8vw, 22px); }
/* 事務の写真の吹き出しと線 */
.office-photo .pointer { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.office-photo .pointer line { stroke: #fff; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.office-photo .pointer circle { fill: #fff; }
.office-photo .bubble.ob { left: 4%; top: 62%; z-index: 2; }
@media (max-width: 760px) {
  .telop .t-sub { font-size: 12px; }
  .telop.tl-top { padding: 9px 14px 10px 11px; border-left-width: 4px; }
  .telop.tl-top b { font-size: 16px; }
  .hero-photo.v3 .telop.tl-top { padding: 7px 12px 8px 9px; }
  .hero-photo.v3 .telop.tl-top b { font-size: 13px; }
  .hero-photo.v3 .telop .t-sub { font-size: 11px; }
  .telop .t-keys { gap: 4px; margin: 4px 0 2px; }
  .telop .t-keys i { font-size: 12px; padding: 2px 6px; border-radius: 6px; }
  .telop.tl-bottom { padding: 28px 12px 10px; }
  .telop.tl-bottom b { font-size: 17px; }
  .telop .t-langs { gap: 4px; margin-top: 6px; }
  .telop .t-langs i { font-size: 11px; padding: 1px 7px; }
  .telop.tl-bl { left: 10px; bottom: 10px; padding: 7px 10px 8px; }
  .telop.tl-bl b { font-size: 15px; }
  .office-photo .bubble.ob { top: 64%; }
  .shot.photo.tl-wrap { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .telop.tl-bottom .t-langs { display: none; }
  .telop.tl-bottom { padding: 22px 12px 10px; }
  .office-photo .bubble.ob { top: 80%; left: 3%; }
  .office-photo .pointer { display: none; }
  .hero-photo.v3 .bubble.b1 { top: 62%; }
}

/* ===== 2026-11-17 v4: スマホで短く見て回れる構成(タブ・料金・3ステップ・開く詳細・下の細いバー) ===== */
section[id], .feat-tabs { scroll-margin-top: 76px; }
.feat-tabs { background: var(--bg); padding-top: 56px; }
.feat-tabs h2 { text-align: center; margin-bottom: 18px; }

/* タブ */
.tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 720px; margin: 0 auto 22px; padding: 5px; background: #E8EDF5; border-radius: 14px; }
.tabs [role="tab"] { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 8px 6px; border: 0; border-radius: 10px; background: transparent; color: var(--sub); font: inherit; font-weight: 800; font-size: 16px; line-height: 1.25; cursor: pointer; text-align: center; }
.tabs [role="tab"] .i { font-size: 18px; flex: none; }
.tabs [role="tab"][aria-selected="true"] { background: #fff; color: var(--head); box-shadow: 0 2px 8px #0b142622; }
.tabs [role="tab"][aria-selected="true"] .i { color: var(--cta); }
.tabs [role="tab"]:focus-visible { outline: 3px solid var(--cta); outline-offset: 1px; }

/* タブの中身 */
.tabpanel[hidden] { display: none; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.tp-grid.one { grid-template-columns: minmax(0, 1fr); max-width: 980px; margin: 0 auto; }
.tabpanel .office-photo { max-width: none; margin: 0; aspect-ratio: 1376 / 768; }
.tp-points { list-style: none; margin: 18px auto 0; padding: 0; max-width: 980px; display: grid; gap: 8px; }
.tp-points li { position: relative; padding: 12px 14px 12px 40px; background: #fff; border: 1px solid var(--line); border-radius: 12px; font-size: 15.5px; line-height: 1.7; color: var(--sub); }
.tp-points li::before { content: "\2713"; position: absolute; left: 14px; top: 12px; color: var(--cta); font-weight: 900; }
.tp-points b { color: var(--head); }
.tabpanel .more-link { margin-top: 14px; }
.tabpanel .rcv3-grid { margin: 0; }
.rc-step .lbl .no { min-width: 22px; text-align: center; }

/* 料金の中の登録欄 */
#price .startbox { margin-top: 26px; }

/* 導入の3ステップ(一覧) */
.steps3 { background: var(--band); }
.steps3 h2 { text-align: center; }
.steps3-list { list-style: none; counter-reset: s3; margin: 0 auto; padding: 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.steps3-list li { counter-increment: s3; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 16px 18px; }
.steps3-list li::before { content: counter(s3); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--head); color: #fff; font-weight: 900; margin-bottom: 8px; }
.steps3-list b { display: block; font-size: 17px; color: var(--head); margin-bottom: 4px; word-break: auto-phrase; }
.steps3-list span { display: block; font-size: 14.5px; line-height: 1.7; color: var(--sub); word-break: auto-phrase; }
.steps3 .steps-note { margin-top: 14px; }

/* くわしく知りたい方へ(押すと開く) */
.details-sec h2 { text-align: center; }
.more-d { max-width: 860px; margin: 0 auto 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; scroll-margin-top: 80px; }
.more-d summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
.more-d summary::-webkit-details-marker { display: none; }
.more-d summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-left: auto; border-right: 2.5px solid var(--sub); border-bottom: 2.5px solid var(--sub); transform: rotate(45deg); transition: transform .15s; }
.more-d[open] summary::after { transform: rotate(-135deg); }
.md-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ai-bg); color: var(--cta); font-size: 22px; }
.md-t { min-width: 0; }
.md-t b { display: block; font-size: 17px; color: var(--head); }
.md-t small { display: block; font-size: 14px; color: var(--sub); line-height: 1.5; }
.md-body { padding: 0 16px 16px; border-top: 1px solid var(--line); }
.md-body p { margin: 12px 0 0; font-size: 15px; line-height: 1.8; color: var(--sub); }
.md-body .shot.photo { margin-top: 14px; }
.md-list { margin: 12px 0 0; padding-left: 1.1em; font-size: 15px; line-height: 1.8; color: var(--sub); }
.md-list b { color: var(--head); }

/* スマホの下の細いバー */
.regbar { display: none !important; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; height: 52px; padding-bottom: env(safe-area-inset-bottom); background: #0B1426; box-shadow: 0 -2px 10px #0b142640; transform: translateY(110%); transition: transform .2s; }
  .mbar.show { transform: none; margin: 0; }
  .mbar a { display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; border-right: 1px solid #ffffff22; }
  .mbar a.go { background: var(--cta); border-right: 0; font-size: 16px; }
  body { padding-bottom: 56px; }

  .feat-tabs { padding-top: 40px; }
  .tabs { gap: 4px; padding: 4px; margin-bottom: 16px; }
  .tabs [role="tab"] { flex-direction: column; gap: 2px; font-size: 13px; min-height: 54px; padding: 6px 2px; }
  .tabs [role="tab"] .i { font-size: 17px; }
  .tp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tp-points li { font-size: 14.5px; padding: 10px 12px 10px 34px; }
  .tp-points li::before { left: 12px; top: 10px; }
  .steps3-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .steps3-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .steps3-list li::before { grid-row: span 2; margin: 0; }
  .more-d summary { padding: 12px 14px; }
  .md-ic { width: 38px; height: 38px; font-size: 19px; }
  .md-t b { font-size: 16px; }
  .md-t small { font-size: 13px; }
}
@media (max-width: 360px) {
  .tabs [role="tab"] { font-size: 12px; }
  .mbar a { font-size: 14px; }
}
.steps3 .steps-note { word-break: auto-phrase; text-wrap: balance; text-align: center; }

/* ===== 2026-11-17 v5: 大きく見せたい文字を大きく(テロップ・吹き出し・タブ・要点・見出し) ===== */
.hero-photo.v3 .pointer.sp { display: none; }
.nw { display: inline-block; }

/* パソコン */
.bubble { font-size: 18px; padding: 10px 16px; }
.bubble .i { font-size: 20px; }
.telop .t-sub { font-size: 16px; }
.telop.tl-top b { font-size: clamp(24px, 2.4vw, 32px); }
.hero-photo.v3 .telop.tl-top b { font-size: 24px; }
.telop .t-keys i { font-size: 18px; padding: 5px 12px; }
.telop.tl-bottom b { font-size: clamp(24px, 2.4vw, 32px); }
.telop .t-langs i { font-size: 14px; }
.telop.tl-bl b { font-size: clamp(20px, 2vw, 26px); }
.feat-tabs h2, .details-sec h2, .steps3 h2, #price h2 { font-size: clamp(28px, 3.2vw, 40px); }
.tabs [role="tab"] { font-size: 18px; min-height: 56px; }
.tabs [role="tab"] .i { font-size: 20px; }
.tp-points li { font-size: 17px; }
.tp-points b { font-size: 18px; }
.steps3-list b { font-size: 20px; }
.steps3-list span { font-size: 16px; }
.md-t b { font-size: 20px; }
.md-t small { font-size: 15.5px; }
.rc-step .lbl { font-size: 18px; }
.month-card .card-label { font-size: 18px; }

/* スマホ: 写真を 4:3 にして文字の場所を広げる(顔・手元・表の数字にかけない) */
@media (max-width: 760px) {
  .hero-photo.v3 { aspect-ratio: 4 / 3; }
  .hero-photo.v3 img { object-position: 30% 50%; }
  .hero-photo.v3 .pointer.pc { display: none; }
  .hero-photo.v3 .pointer.sp { display: block; }
  .hero-photo.v3 .telop.tl-top { padding: 10px 14px 12px 11px; }
  .hero-photo.v3 .telop .t-sub { font-size: 14px; }
  .hero-photo.v3 .telop.tl-top b { font-size: 19px; }
  .telop .t-keys i { font-size: 15px; padding: 3px 8px; }
  .hero-photo.v3 .bubble.b1 { left: 3%; top: 64%; }
  .bubble { font-size: 15px; padding: 7px 11px; gap: 5px; }
  .bubble .i { font-size: 17px; }

  .tabpanel .office-photo { aspect-ratio: 4 / 3; }
  .office-photo img { object-position: 70% 50%; }
  .office-photo .telop.tl-top { padding: 10px 14px 12px 11px; }
  .telop .t-sub { font-size: 14px; }
  .telop.tl-top b { font-size: 19px; }
  .office-photo .bubble.ob { top: 85%; left: 3%; }

  .telop.tl-bl b { font-size: 18px; }
  .telop.tl-bottom b { font-size: 21px; }

  .hero.v2 .sub { font-size: 16.5px; }
  .hero.v2 .price-line { font-size: 17px; }
  .hero.v2 .nocard { font-size: 15.5px; }
  .hero.v2 .jump { font-size: 16px; }

  .feat-tabs h2, .details-sec h2, .steps3 h2, #price h2 { font-size: 26px; }
  .tabs [role="tab"] { font-size: 15px; min-height: 60px; }
  .tabs [role="tab"] .i { font-size: 19px; }
  .tp-points li { font-size: 16px; line-height: 1.75; }
  .tp-points b { font-size: 17px; display: block; }
  .rc-step .lbl { font-size: 17px; }
  .steps3-list b { font-size: 18px; }
  .steps3-list span { font-size: 15.5px; }
  .md-t b { font-size: 18px; }
  .md-t small { font-size: 14.5px; }
  .ptable { font-size: 17px; }
  .mbar a { font-size: 16px; }
  .mbar a.go { font-size: 17px; }
}
@media (max-width: 360px) {
  .hero-photo.v3 .telop.tl-top b, .telop.tl-top b { font-size: 17px; }
  .telop .t-keys i { font-size: 14px; padding: 2px 6px; }
  .tabs [role="tab"] { font-size: 13.5px; }
  .bubble { font-size: 14px; }
}
.stage.v3 { padding: 0; }
.telop { text-align: left; }
@media (max-width: 760px) {
  .office-photo .telop.tl-top { max-width: 60%; }
  .hero-photo.v3 .telop.tl-top { max-width: 58%; }
}
.office-photo .telop.tl-top { max-width: 60%; }
.tabpanel .office-photo .telop.tl-top b { font-size: clamp(20px, 2vw, 28px); }

/* ===== 2026-11-17 v6: 4つ目のタブ「現場情報」(新機能)・班・グループ ===== */
.tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 880px; }
.tabs [role="tab"] { position: relative; }
.newtag { position: absolute; top: -9px; right: 6px; font-style: normal; font-size: 11px; font-weight: 900; line-height: 1; color: #fff; background: var(--shu); padding: 4px 7px; border-radius: 99px; box-shadow: 0 2px 6px #e2572b55; }
.site-shot { position: relative; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; place-items: center; padding: 14px; min-height: 100%; }
.site-shot img { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; border-radius: 8px; }
.site-shot.pdf { background: #EEF2F7; }
.site-shot.pdf img { box-shadow: 0 6px 18px #0b142630; }
.site-shot .bubble { z-index: 2; }
.site-shot .bubble.se { left: 12px; bottom: 12px; }
.site-shot .bubble.sp2 { right: 12px; bottom: 12px; background: var(--cta); color: #fff; }
.site-shot .bubble.sp2 .i { color: #fff; }
.site-shot .sample { top: 10px; right: 10px; left: auto; bottom: auto; }
@media (max-width: 760px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabs [role="tab"] { flex-direction: row; gap: 6px; min-height: 50px; font-size: 15px; }
  .newtag { top: -7px; right: 4px; font-size: 10px; padding: 3px 6px; }
  .site-shot { padding: 10px; }
  .site-shot img { max-height: 380px; }
  .site-shot .bubble.se, .site-shot .bubble.sp2 { left: 8px; right: 8px; bottom: 8px; justify-content: center; white-space: normal; }
}
@media (max-width: 360px) {
  .tabs [role="tab"] { font-size: 13.5px; gap: 4px; }
}
@media (max-width: 760px) {
  .site-shot { display: flex; flex-direction: column; gap: 10px; }
  .site-shot .bubble.se, .site-shot .bubble.sp2 { position: static; width: 100%; box-shadow: none; border: 1px solid var(--line); }
}

/* ===== 2026-11-17 v7: 灰色の説明文を、ふつうの濃い色に。太字はマーカーでさらに強調(ユーザー「灰色が見づらい」) ===== */
:root { --sub: #263241; }
.lead, .tp-points li, .md-body p, .md-list, .steps3-list span, .pnotes, .ptable-cap, .trial-list, .qr-pc p, .rcflow span, .md-t small, .steps-note { color: #263241; }
/* 太字(強調)は、濃紺 + 黄色のマーカー */
.tp-points b, .md-list b, .trial-list b, .steps-note b, .pnote-top b {
  color: #0B1426; font-weight: 900;
  background: linear-gradient(transparent 58%, #FFE27A 58%);
  padding: 0 2px;
}
.tp-points b { font-size: 1.08em; }
/* 冒頭(濃紺の地)の説明も、少し明るく読みやすく */
.herobg.v3 .sub { color: #E9EEF7; }
.herobg.v3 .price-line, .herobg.v3 .nocard { color: #F2F5FB; }
@media (max-width: 760px) {
  .tp-points b { display: inline; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .tp-points b::after { content: "\A"; white-space: pre; }
}

/* ===== 2026-11-17 v8: 班・グループの欄に写真と本物の画面 ===== */
.details-sec .more-d#groups { max-width: 980px; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 14px; margin-top: 14px; align-items: stretch; }
.team-photo { position: relative; margin: 0; border-radius: 14px; overflow: hidden; min-height: 100%; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.team-photo .telop.tl-top b { font-size: clamp(22px, 2.2vw, 30px); }
.team-shot { position: relative; margin: 0; background: #F4F6FA; border: 1px solid var(--line); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.team-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
.team-shot .sample { top: 16px; right: 16px; left: auto; bottom: auto; }
.team-shot .bubble.tm { position: static; justify-content: center; white-space: normal; box-shadow: none; border: 1px solid var(--line); }
.md-body p b { color: #0B1426; font-weight: 900; background: linear-gradient(transparent 58%, #FFE27A 58%); padding: 0 2px; }
@media (max-width: 760px) {
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .team-photo { aspect-ratio: 4 / 3; min-height: 0; }
  .team-photo img { object-position: 55% 50%; }
  .team-photo .telop.tl-top { max-width: 62%; }
  .team-photo .telop.tl-top b { font-size: 19px; }
}
@media (max-width: 760px) {
  .team-photo { aspect-ratio: 1376 / 768; }
  .team-photo .telop .t-sub, .team-photo .pc-br { display: none; }
  .team-photo .telop.tl-top { max-width: 80%; padding: 7px 12px 8px 10px; }
  .team-photo .telop.tl-top b { font-size: 17px; }
}

/* ===== 2026-11-17 v9: 応援・一人親方の欄に写真と本物の画面 ===== */
.details-sec .more-d#support { max-width: 980px; }
.ouen-photo { aspect-ratio: 16 / 9; margin-top: 14px; min-height: 0; }
.ouen-photo img { object-position: 50% 50%; }
.ouen-shot { margin-top: 12px; }
.ouen-shot .sample { top: 16px; right: 16px; }
@media (max-width: 760px) {
  .ouen-photo { aspect-ratio: 4 / 3; }
  .ouen-photo img { object-position: 50% 50%; }
}
.ouen-shot .zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ouen-shot .zoom img { display: block; width: 100%; height: auto; border-radius: 8px; }
.ouen-shot .zoom .sample { top: 6px; left: 6px; right: auto; bottom: auto; height: auto; width: auto; }
@media (max-width: 760px) {
  .ouen-photo .telop.tl-top { max-width: 70%; }
  .ouen-shot .zoom .sample { font-size: 10px; padding: 3px 6px; }
}

/* ===== 2026-11-17 v10: 押し忘れの通知の欄 ===== */
.details-sec .more-d#notify { max-width: 980px; }
.notify-photo { aspect-ratio: 16 / 9; margin-top: 14px; min-height: 0; }
.notify-photo img { object-position: 30% 50%; }
.ntf { position: absolute; z-index: 2; right: 4%; top: 8%; width: min(50%, 430px); background: #ffffffeb; color: #0B1426; border-radius: 16px; padding: 12px 14px 13px; box-shadow: 0 10px 30px #0b142659; backdrop-filter: blur(6px); }
.ntf-h { display: flex; align-items: center; gap: 7px; font-size: 13px; color: #4A5565; font-weight: 700; }
.ntf-h img { width: 20px; height: 20px; border-radius: 5px; }
.ntf-h span { flex: 1; color: #0B1426; font-weight: 900; }
.ntf p { margin: 6px 0 0; font-size: clamp(15px, 1.6vw, 19px); font-weight: 800; line-height: 1.45; }
.telop.tl-br { left: auto; right: 14px; }
.ntf-times { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ntf-times li { background: #F4F6FA; border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 11px; font-size: 14px; font-weight: 700; color: #263241; line-height: 1.45; }
.ntf-times time { display: block; font-size: 20px; font-weight: 900; color: var(--cta); margin-bottom: 2px; }
.ntf-cap { margin: 0 0 10px; font-size: 13px !important; color: #263241; }
@media (max-width: 760px) {
  .notify-photo { aspect-ratio: 4 / 3; }
  .notify-photo img { object-position: 0% 50%; }
  .ntf { right: 3%; top: 5%; width: 54%; padding: 8px 10px 9px; border-radius: 12px; }
  .ntf-h { font-size: 11px; gap: 5px; }
  .ntf-h img { width: 16px; height: 16px; }
  .ntf p { font-size: 13.5px; margin-top: 3px; }
  .telop.tl-br { right: 10px; }
  .ntf-times { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ntf-times li { display: flex; align-items: baseline; gap: 8px; padding: 7px 10px; font-size: 14px; }
  .ntf-times time { font-size: 16px; margin: 0; flex: 0 0 76px; }
}

/* ===== v11: スマホの写真を小さく・写真の上の文字を整理(2026-11-20。ChatGPT で表示を確かめた mobile-photo.css をそのまま。幅760px以下だけ。PC は変えない) ===== */
/* Public homepage photo-size adjustments, limited to phone layouts. */
@media (max-width: 760px) {
  .hero-photo.v3 {
    height: clamp(160px, 50vw, 190px);
    aspect-ratio: auto;
  }

  .hero-photo.v3 > img {
    object-position: 64% 50%;
  }

  .hero-photo.v3 > .telop,
  .hero-photo.v3 > .pointer.pc,
  .hero-photo.v3 > .pointer.sp {
    display: none;
  }

  .hero-photo.v3 .bubble.b1 {
    top: auto;
    right: auto;
    bottom: 10px;
    left: 10px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .tabpanel .office-photo {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    height: 110px;
    min-height: 0;
    aspect-ratio: auto;
    background: #e6edf9;
  }

  .tabpanel .office-photo > img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    object-position: 70% 45%;
  }

  .office-photo > .telop,
  .office-photo > .pointer {
    display: none;
  }

  .office-photo .bubble.ob {
    position: static;
    margin: 8px;
    padding: 8px 6px;
    white-space: normal;
    font-size: 14px;
    line-height: 1.55;
    background: transparent;
    box-shadow: none;
    word-break: auto-phrase;
  }

  .office-photo .bubble.ob .i {
    font-size: 20px;
  }

  .rc-photo {
    height: 140px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .rc-photo > img {
    height: 140px;
    object-position: 60% 56%;
  }

  .rc-photo > .telop {
    display: none;
  }

  .rc-photo > .bubble {
    top: 9px;
    left: 9px;
    padding: 6px 9px;
    font-size: 14px;
  }

  .team-photo,
  .shot.photo.tl-wrap {
    height: 130px;
    min-height: 0;
    aspect-ratio: auto;
  }

  .team-photo > img,
  .shot.photo.tl-wrap > img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    object-position: center 48%;
  }

  .team-photo > .telop.tl-top {
    top: auto;
    bottom: 0;
    max-width: 72%;
    padding: 7px 9px;
  }

  .team-photo > .telop .t-sub {
    display: none;
  }

  .team-photo > .telop.tl-top b {
    font-size: 14px;
  }

  .notify-photo > .telop {
    display: none;
  }

  .notify-photo > img {
    object-position: 0% 50%;
  }

  .notify-photo .ntf {
    top: 8px;
    right: 8px;
    width: 55%;
  }

  .shot.photo.tl-wrap > .telop.tl-bottom {
    padding: 16px 10px 8px;
  }

  .shot.photo.tl-wrap > .telop.tl-bottom b {
    font-size: 14px;
    line-height: 1.4;
  }
}

/* ===== v12: 「くわしく知りたい方へ」の写真を小さく(2026-11-20。PC・タブレット = 幅761px以上。冒頭の写真と同じくらいの高さ 260px にそろえる。アプリの画面の大きさは変えない) ===== */
@media (min-width: 761px) {
  .team-grid { align-items: center; }
  .team-grid .team-photo { height: 260px; min-height: 0; aspect-ratio: auto; }
  .notify-photo, .ouen-photo { height: 260px; aspect-ratio: auto; }
  .notify-photo img { object-position: 30% 35%; }
  .ouen-photo img { object-position: 50% 28%; }
  .shot.photo.tl-wrap { height: 260px; aspect-ratio: auto; }
  .shot.photo.tl-wrap > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
  .team-photo .telop.tl-top b { font-size: clamp(18px, 1.8vw, 24px); }
}


/* ===== v13(2026-11-22): 上のログインを外した・押す所を高さ44px以上・小さい文字を大きく ===== */
header.top .btn.sm { min-height: 44px; font-size: 15px; padding-inline: 18px; }
.hero.v2 .jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; }
.more-link a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; }
footer a { display: inline-block; padding: 12px 4px; }
.newtag { font-size: 12px; background: #C2410C; padding: 4px 8px; }
.sample { font-size: 13px; }
@media (max-width: 760px) {
  header.top .btn.sm { font-size: 15px; padding-inline: 16px; }
  .newtag { top: -10px; right: 4px; font-size: 12px; padding: 4px 7px; }
  .ouen-shot .zoom .sample { font-size: 12px; }
}
/* ===== v13b(2026-11-22): 機能の4つのタブを上に残す。スマホは上の帯を残さない(下の帯に「無料で始める」があるため) ===== */
.tabs { position: sticky; top: 73px; z-index: 5; }
.tabs.stuck { box-shadow: 0 0 0 100vmax var(--bg), 0 1px 0 100vmax var(--line); clip-path: inset(0 -100vmax -1px); }
@media (max-width: 760px) {
  header.top { position: static; }
  section[id], .feat-tabs, .more-d { scroll-margin-top: 8px; }
  .tabs { top: 0; }
  .tabs.stuck { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; padding: 3px; }
  .tabs.stuck [role="tab"] { min-height: 46px; font-size: 13px; padding: 2px 0; white-space: nowrap; letter-spacing: -0.02em; }
  .tabs.stuck [role="tab"] .i { display: none; }
  .tabs.stuck .newtag { display: none; }
}
/* ===== v13c(2026-11-22): スマホの下の帯 = 「料金」と「無料で始める」の2つ。iPhone のホームバーの分を高さに足す(前は 52px の中に入っていて、押せる所が細かった) ===== */
@media (max-width: 760px) {
  .mbar { grid-template-columns: 1fr 2fr; grid-template-rows: 56px; align-items: stretch; height: calc(56px + env(safe-area-inset-bottom)); }
  .mbar a { font-size: 16px; }
  .mbar a.go { font-size: 18px; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}