/* 📣 広告用ページ(/for-agency 事務所向け・/for-liver 配信者向け)。色・角丸・影・書体はテーマの名前だけ(app.css の先頭の一覧)。
   スマホが先(1 列)→ 広い画面で 2〜3 列。動きは押したときの小さな変化だけ(画面を勝手に動かさない) */
.lpbody { padding-bottom: 84px; }
@media (min-width: 900px) { .lpbody { padding-bottom: 0; } }
.lp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lpbody .topbar .in { max-width: 1120px; }
.lp-navlinks { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 560px) { .lp-navlinks .wide { display: none; } }

/* ---- 大きな一言(ヒーロー):アプリの絵の上に濃い下地 ---- */
.lp-hero { position: relative; overflow: hidden; border-radius: 0 0 calc(var(--radius) + 10px) calc(var(--radius) + 10px); background: var(--stage); color: var(--on-video); isolation: isolate; }
.lp-hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--scrim-strong) 0%, var(--scrim) 55%, color-mix(in srgb, var(--stage) 30%, transparent) 100%),
    linear-gradient(to right, var(--scrim-strong) 0%, transparent 60%); }
.lp-hero .lp-wrap { padding-top: 56px; padding-bottom: 36px; min-height: min(68vh, 560px); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
@media (min-width: 900px) { .lp-hero .lp-wrap { padding-top: 96px; padding-bottom: 64px; min-height: 560px; } }
.lp-kicker { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--scrim-strong); color: var(--video-hi); border: var(--chip-edge, 1px solid var(--line)); }
.lp-hero h1 { margin: 0; font-size: clamp(28px, 7.4vw, 52px); line-height: 1.25; letter-spacing: .01em; max-width: 15em; text-wrap: balance; }
.lp-hero h1 em { font-style: normal; color: var(--video-hi); }
.lp-lead { margin: 0; font-size: clamp(15px, 3.9vw, 18px); line-height: 1.85; color: var(--on-video-sub); max-width: 34em; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.lp-ctas .btn { font-size: 16px; padding: 12px 20px; min-height: 48px; }
.lp-ctas .btn:not(.primary) { background: var(--scrim-strong); color: var(--on-video); border-color: color-mix(in srgb, var(--on-video) 35%, transparent); }
.lp-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.lp-pills li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; background: var(--scrim); color: var(--on-video); border: 1px solid color-mix(in srgb, var(--on-video) 22%, transparent); }

/* ---- 節 ---- */
.lp-sec { padding: 44px 0 8px; }
.lp-sec > .lp-wrap > h2, .lp-h2 { text-wrap: balance; font-size: clamp(22px, 5.6vw, 30px); margin: 0 0 6px; line-height: 1.35; }
.lp-sub { color: var(--sub); margin: 0 0 20px; line-height: 1.8; font-size: 15px; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--accent); margin-bottom: 6px; }
.lp-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .lp-grid.three { grid-template-columns: repeat(3, 1fr); } }
.lp-card { background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 18px 16px; }
.lp-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 18px; line-height: 1.4; }
.lp-card h3 .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: var(--panel2); border: 1px solid var(--line); }
.lp-card p { margin: 0; line-height: 1.8; font-size: 15px; color: var(--text); }
.lp-card p + p { margin-top: 6px; }
.lp-card .note, .lp-note { font-size: 13px; color: var(--sub); line-height: 1.7; }
.lp-card ul { margin: 6px 0 0; padding-left: 1.2em; line-height: 1.8; }
.lp-tagnew { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: var(--tab-on-bg); color: var(--tab-on-text); vertical-align: middle; }
.lp-tagtry { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--warn); color: var(--warn-text); vertical-align: middle; }

/* ---- いちばんの売り(大きな 1 枚) ---- */
.lp-feature { display: grid; gap: 18px; align-items: center; grid-template-columns: 1fr; background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); padding: 20px 18px; }
@media (min-width: 900px) { .lp-feature { grid-template-columns: 1.05fr 1fr; padding: 32px; gap: 32px; } }
.lp-feature h3 { margin: 0 0 8px; font-size: clamp(20px, 5vw, 26px); line-height: 1.4; }
.lp-feature p { margin: 0 0 8px; line-height: 1.85; }
.lp-checks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.lp-checks li { position: relative; padding-left: 32px; line-height: 1.7; }
.lp-checks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: var(--tab-on-bg); color: var(--tab-on-text); }

/* 「同じ数字」の図(数字は入れない。形だけ) */
.lp-twin { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.lp-phone { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; padding: 12px 10px 14px; box-shadow: var(--shadow); min-width: 0; }
.lp-phone .lp-who { font-size: 12px; font-weight: 800; text-align: center; margin-bottom: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-phone .lp-row { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--sub); margin: 7px 0 3px; white-space: nowrap; }
.lp-phone .lp-bar { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent2)); }
.lp-bar.b2 { width: 72%; } .lp-bar.b3 { width: 48%; } .lp-bar.b4 { width: 86%; } .lp-bar.b1 { width: 62%; }
.lp-eq { font-size: 26px; font-weight: 800; color: var(--accent2); text-align: center; line-height: 1; }
.lp-eq small { display: block; font-size: 11px; font-weight: 700; color: var(--sub); margin-top: 4px; }
.lp-fig-note { font-size: 12px; color: var(--sub); text-align: center; margin: 10px 0 0; }

/* ---- 流れ(ステップ) ---- */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: st; grid-template-columns: 1fr; }
@media (min-width: 900px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } .lp-steps.s3 { grid-template-columns: repeat(3, 1fr); } }
.lp-steps li { position: relative; background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px 62px; line-height: 1.75; counter-increment: st; }
.lp-steps li::before { content: counter(st); position: absolute; left: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: var(--head-weight); font-size: 18px; background: var(--btn); color: var(--on-btn); }
.lp-steps li > b { display: block; font-size: 16px; margin-bottom: 2px; }
.lp-steps li > span { font-size: 14px; color: var(--sub); }

/* ---- ギフトの並び(アプリの絵) ---- */
.lp-gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 640px) { .lp-gifts { grid-template-columns: repeat(8, 1fr); } }
.lp-gift { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px 8px; border-radius: var(--radius-s); background: var(--panel2); border: 1px solid var(--line); text-align: center; min-width: 0; }
.lp-gift img { width: 100%; max-width: 72px; aspect-ratio: 1; object-fit: contain; filter: var(--art-shadow); }
.lp-gift b { font-size: 12px; font-weight: 700; line-height: 1.3; word-break: keep-all; }
.lp-gift small { font-size: 11px; color: var(--sub); }
.lp-gift.g5 { border-color: var(--accent2); background: color-mix(in srgb, var(--accent2) 10%, var(--panel2)); }
.lp-show { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: center; margin-top: 16px; }
@media (min-width: 900px) { .lp-show { grid-template-columns: 1fr 1fr; } }
.lp-stage { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--stage-bg, var(--stage)); box-shadow: var(--frame, var(--shadow)); aspect-ratio: 4 / 3; isolation: isolate; }
.lp-stage > img.sky { position: absolute; left: 0; top: 0; width: 100%; height: 175%; object-fit: cover; object-position: center top; opacity: .9; z-index: -1; }   /* 家の絵の空だけ(建物は下に外す) */
.lp-stage > img.hero { position: absolute; left: 50%; bottom: 2%; width: 78%; transform: translateX(-50%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .55)); }
.lp-stage .band { position: absolute; left: 6%; right: 6%; top: 7%; padding: 8px 12px; border-radius: 999px; text-align: center; font-weight: 800; font-size: clamp(13px, 3.6vw, 17px); color: var(--on-video);
  background: var(--gift-line); box-shadow: 0 0 0 2px var(--video-hi) inset; z-index: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-stage .cap { position: absolute; right: 10px; bottom: 10px; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: var(--scrim-strong); color: var(--on-video-sub); }
.lp-tiers { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lp-tiers li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius-s); background: var(--panel2); border: 1px solid var(--line); line-height: 1.6; font-size: 14px; }
.lp-tiers li i { font-style: normal; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 20px; text-align: center; color: var(--accent2); }
.lp-tiers li b { display: block; font-size: 15px; }

/* テーマの見本 */
.lp-swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
@media (min-width: 640px) { .lp-swatches { grid-template-columns: repeat(3, 1fr); } }
.lp-sw { border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--panel2); padding: 10px; font-size: 13px; line-height: 1.5; }
.lp-sw .dots { display: flex; gap: 4px; margin-bottom: 6px; }
.lp-sw .dots i { flex: 1; height: 18px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(127, 127, 127, .35) inset; }
.lp-sw b { display: block; font-size: 14px; }
.lp-sw span { color: var(--sub); font-size: 12px; }

/* 家の絵(ブースト) */
.lp-houses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.lp-houses figure { margin: 0; text-align: center; font-size: 11px; color: var(--sub); }
.lp-houses .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); margin-bottom: 3px; background: var(--stage); }
.lp-houses .ph img { position: absolute; width: 230%; max-width: none; left: -65%; bottom: -8%; }   /* 家は絵の下 40% の真ん中。そこに寄せる */
.lp-houses + .note { margin-top: 8px; }

/* ---- よくある質問 ---- */
.lp-faq { display: grid; gap: 10px; }
.lp-faq details { background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.lp-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; position: relative; font-weight: 700; line-height: 1.6; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::before { content: "Q"; display: inline-block; margin-right: 8px; color: var(--accent); font-family: var(--font-head); font-weight: var(--head-weight); }
.lp-faq summary::after { content: "＋ 開く"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; color: var(--sub); white-space: nowrap; }
.lp-faq details[open] summary::after { content: "－ 閉じる"; }
.lp-faq details > div { padding: 0 16px 14px 16px; line-height: 1.85; color: var(--text); font-size: 15px; border-top: 1px dashed var(--line); padding-top: 12px; }
@media (min-width: 560px) { .lp-faq summary { padding-right: 84px; } }
@media (max-width: 559px) { .lp-faq summary::after { content: "＋"; font-size: 18px; } .lp-faq details[open] summary::after { content: "－"; } }

/* ---- 最後のお誘い ---- */
.lp-end { margin: 44px 0 0; padding: 28px 18px; border-radius: calc(var(--radius) + 6px); text-align: center; color: var(--on-video); background: var(--stage); position: relative; overflow: hidden; isolation: isolate; box-shadow: var(--frame, var(--shadow)); }
.lp-end > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; z-index: -2; }
.lp-end::before { content: ""; position: absolute; inset: 0; background: var(--scrim); z-index: -1; }
.lp-end h2 { text-wrap: balance; margin: 0 0 8px; font-size: clamp(22px, 5.6vw, 30px); }
.lp-end p { margin: 0 auto 14px; max-width: 36em; line-height: 1.85; color: var(--on-video-sub); }
.lp-end .lp-ctas { justify-content: center; }
.lp-howto { margin: 16px auto 0; max-width: 40em; text-align: left; font-size: 13.5px; line-height: 1.8; background: var(--scrim-strong); border-radius: var(--radius-s); padding: 12px 14px; color: var(--on-video-sub); }
.lp-howto b { color: var(--on-video); }

.lp-foot { max-width: 1120px; margin: 36px auto 0; padding: 18px 16px 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--sub); }
.lp-foot a { color: var(--link); }

/* ---- スマホ:画面の下にいつも押せるボタン(IRIAM などと同じ形)。広い画面では出さない(上のボタンで足りる) ---- */
.lp-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 88%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.lp-dock .btn { flex: 1; justify-content: center; min-height: 48px; font-size: 15px; }
.lp-dock .btn.sub { flex: 0 0 auto; }
@media (min-width: 900px) { .lp-dock { display: none; } }
.fbbadge { margin-left: 4px; }

/* ---- 2026-10-31 見直し(ChatGPT・Gemini):いまの状態・相談の案内・折りたたみ・カードの色分け ---- */
.lp-hero h1 .nb { display: inline-block; }   /* 言葉の切れ目でだけ折り返す(「る。」だけの行を作らない) */
.lp-status { list-style: none; margin: 4px 0 0; padding: 10px 12px; display: grid; gap: 4px; max-width: 40em; font-size: 13.5px; line-height: 1.6;
  background: var(--scrim-strong); color: var(--on-video-sub); border-radius: var(--radius-s); border-left: 3px solid var(--video-hi); }
.lp-status b { color: var(--on-video); }
.lp-asknote { margin: 0; font-size: 13px; line-height: 1.7; color: var(--on-video-sub); max-width: 40em; }
.lp-band { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--sel-bg); border: 1px solid var(--sel-line); color: var(--on-sel); font-size: 15px; line-height: 1.7; text-align: center; }
.lp-more { margin-top: 14px; background: var(--panel-bg, var(--panel)); border: 1px dashed var(--line); border-radius: var(--radius); }
.lp-more > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--link); line-height: 1.6; }
.lp-more[open] > summary { border-bottom: 1px dashed var(--line); }
.lp-more > .lp-tiers { padding: 12px 12px 0; }
.lp-specs { display: grid; gap: 10px; padding: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-specs { grid-template-columns: repeat(2, 1fr); } }
.lp-specs > div { font-size: 14px; line-height: 1.75; background: var(--panel2); border-radius: var(--radius-s); padding: 10px 12px; }
.lp-specs b { display: block; margin-bottom: 2px; }
.lp-rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-rules { grid-template-columns: repeat(2, 1fr); } }
.lp-rules li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); background: var(--bg2); border: 1px solid var(--line); line-height: 1.75; font-size: 14.5px; }
.lp-rules .ic { flex: none; font-size: 24px; line-height: 1.2; }
.lp-rules b { display: block; font-size: 16px; }
/* 同じ形の白いカードが続かないように、上のふちを順番に色分け(テーマの色だけ) */
.lp-accent > .lp-card { border-top: 3px solid var(--accent); }
.lp-accent > .lp-card:nth-child(3n+2) { border-top-color: var(--accent2); }
.lp-accent > .lp-card:nth-child(3n) { border-top-color: var(--neon); }
.lp-three { display: grid; gap: 10px; }
.lp-three .lp-card { padding: 14px 16px; }
.lp-three .lp-card h3 { font-size: 17px; margin-bottom: 4px; }
.lp-dock .btn { flex: 1; }
.lp-dock.off { visibility: hidden; }   /* 大きな一言の相談ボタンが見えている間は隠す(動かさない・下のあきはそのまま) */

/* ---- 2026-11-10 配信者登録のあとの「次にやること」(見た目は login.css の lgpanel。ここは中身の並びだけ) ---- */
.lpnx { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lpnx > li { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--panel2); border: 1px solid var(--line); }
.lpnx > li > b { font-size: 15px; }
.lpnxid { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--sub); }
.lpnxid code { font-size: 14px; color: var(--text); background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; word-break: break-all; user-select: all; }
.lpnext .note a { color: var(--link); }

/* 還元率(2026-11-10 オーナー「還元率をわかりやすく」「それが一番重要。サーバー代を極限まで削っていることも」) */
.lp-paygrid { display: grid; gap: 14px; grid-template-columns: 1fr; margin-top: 14px; }
@media (min-width: 760px) { .lp-paygrid { grid-template-columns: 1.1fr 1fr; } }
.lp-paybig { text-align: center; }
.lp-payrate { display: flex; align-items: baseline; justify-content: center; gap: 4px; color: var(--accent); line-height: 1; margin: 6px 0 12px; }
.lp-payrate b { font-size: clamp(72px, 22vw, 120px); font-weight: 900; letter-spacing: -.02em; }
.lp-payrate span { font-size: clamp(28px, 8vw, 44px); font-weight: 900; }
.lp-paybig p { text-align: left; }
.lp-payfirst { margin-top: 10px !important; padding: 10px 12px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
.lp-paycalc { width: 100%; border-collapse: collapse; font-size: 15px; margin: 4px 0 8px; }
.lp-paycalc th, .lp-paycalc td { padding: 8px 4px; border-bottom: 1px solid var(--line); }
.lp-paycalc th { text-align: left; font-weight: 600; color: var(--sub); }
.lp-paycalc td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-paycalc tr.you th, .lp-paycalc tr.you td { color: var(--accent); font-weight: 900; font-size: 18px; border-bottom: none; }
.lp-h3 { font-size: clamp(17px, 4.6vw, 21px); margin: 26px 0 10px; line-height: 1.5; text-wrap: balance; }
.lp-cost { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-cost { grid-template-columns: repeat(3, 1fr); } }
.lp-h3 .nb { display: inline-block; }

/* SNS で URL を告知するだけ(2026-11-10 オーナー「あなたのSNSでURLで告知して、入ってもらうだけとか、全面にださないと」) */
.lp-sns h2 .nb { display: inline-block; }
.lp-lead2 { font-size: 16px; line-height: 1.9; margin: 8px 0 14px; }
.lp-snssteps { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .lp-snssteps { grid-template-columns: repeat(3, 1fr); } }
.lp-snssteps li { display: flex; gap: 12px; align-items: flex-start; background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.lp-snssteps .no { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; background: var(--accent); }
.lp-snssteps b { font-size: 16px; }
.lp-snssteps p { margin: 2px 0 0; font-size: 14px; color: var(--sub); line-height: 1.6; }
.lp-dual h2 .nb { display: inline-block; }
.lp-neta h2 .nb { display: inline-block; }
@media (min-width: 760px) { .lp-neta .lp-cost { grid-template-columns: repeat(2, 1fr); } }

/* ---- 2026-11-10 事務所向け「本気の PR」(/for-agency。class agpage。3 人で決めた構成):実際の画面の写真を主役に ---- */
.ag-hero .lp-wrap.ag-herogrid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: end; min-height: 0; padding-top: 40px; }
@media (min-width: 900px) { .ag-hero .lp-wrap.ag-herogrid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 56px; } }
.ag-hero > img.bg { opacity: .55; }
.ag-herotext { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.ag-hero h1 { max-width: 13em; }
.ag-facts li { font-weight: 700; }
.ag-payline { margin: 0; font-size: 15px; line-height: 1.7; color: var(--on-video); padding: 10px 14px; border-radius: var(--radius-s); background: var(--scrim-strong); border-left: 3px solid var(--video-hi); max-width: 40em; }
.ag-payline b { font-size: 22px; color: var(--video-hi); }
.ag-payline a { color: var(--video-hi); margin-left: 6px; white-space: nowrap; }
.ag-askbox { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 2px; }
.ag-askbox.ag-c { align-items: center; }
.ag-ask { font-size: 16px; padding: 13px 22px; min-height: 52px; max-width: 100%; white-space: normal; text-align: center; line-height: 1.4; }
.ag-asksub { font-size: 13px; color: var(--on-video-sub); }
.ag-herophone { margin: 0 auto; width: min(300px, 78vw); text-align: center; }
@media (min-width: 900px) { .ag-herophone { width: 320px; } }
/* スマホの写真の枠(端末の形。写真そのものは実際の画面) */
.ag-phone { position: relative; border-radius: 30px; padding: 8px; background: linear-gradient(160deg, #3a3346, #15111b); box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.ag-phone img { display: block; width: 100%; height: auto; border-radius: 23px; background: #000; }
.ag-phone.sm { border-radius: 24px; padding: 6px; }
.ag-phone.sm img { border-radius: 19px; }
.ag-demo { display: block; margin: 8px 0 0; font-size: 12px; color: var(--sub); }
.ag-hero .ag-demo { color: var(--on-video-sub); }
.ag-demo.ag-c { text-align: center; }
.ag-wide { margin: 0 0 18px; }
.ag-wide img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius) + 4px); box-shadow: var(--frame, var(--shadow)); border: 1px solid var(--line); }

/* 企画 3 例 */
.ag-plans { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 980px) { .ag-plans { grid-template-columns: repeat(3, 1fr); } }
.ag-plan { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: start; background: var(--panel-bg, var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
@media (min-width: 560px) and (max-width: 979px) { .ag-plan { grid-template-columns: 180px 1fr; gap: 20px; padding: 18px; } }
@media (min-width: 980px) { .ag-plan { grid-template-columns: 1fr; padding: 18px 18px 16px; } .ag-plan .ag-phone { width: 76%; margin: 0 auto; } }
.ag-plan:nth-child(1) { border-top: 3px solid var(--accent); }
.ag-plan:nth-child(2) { border-top: 3px solid var(--accent2); }
.ag-plan:nth-child(3) { border-top: 3px solid var(--neon); }
.ag-plantext { min-width: 0; }
.ag-no { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 2px 9px; border-radius: 999px; background: var(--tab-on-bg); color: var(--tab-on-text); }
.ag-plan h3 { margin: 6px 0 6px; font-size: 18px; line-height: 1.4; }
.ag-plan p { margin: 0; font-size: 14.5px; line-height: 1.8; }
.ag-tags { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ag-tags li { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--panel2); border: 1px solid var(--line); color: var(--text); }
.ag-support { margin-top: 18px; padding: 14px 16px; border-radius: var(--radius); background: var(--sel-bg); border: 1px solid var(--sel-line); color: var(--on-sel); line-height: 1.7; }
.ag-support b { display: block; font-size: 15.5px; margin-bottom: 6px; }
.ag-support ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px 18px; grid-template-columns: 1fr; font-size: 14.5px; }
@media (min-width: 760px) { .ag-support ul { grid-template-columns: repeat(3, auto); justify-content: start; } }

/* 事務所の画面と本人の画面 */
.ag-twin { display: grid; gap: 10px; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: 6px; }
.ag-twin figure { margin: 0; text-align: center; min-width: 0; }
.ag-twin figcaption { margin-top: 8px; font-size: 13px; font-weight: 800; }
.ag-twin .ag-memo { grid-column: 1 / -1; width: min(62%, 260px); margin: 8px auto 0; }
@media (min-width: 900px) { .ag-twin { grid-template-columns: 1fr auto 1fr 1fr; gap: 18px; max-width: 980px; margin-left: auto; margin-right: auto; } .ag-twin .ag-memo { grid-column: auto; width: auto; margin: 0; } }
.ag-eq { font-size: 26px; font-weight: 800; color: var(--accent2); text-align: center; line-height: 1; }
.ag-eq small { display: block; font-size: 11px; font-weight: 700; color: var(--sub); margin-top: 4px; writing-mode: horizontal-tb; }
#same .lp-grid { margin-top: 16px; }

.agpage .lp-dock .btn { white-space: normal; line-height: 1.3; }
.agpage h2 .nb { display: inline-block; }
