/* LINE のトークの画面の枠と、カード・リッチメニューの案
 * 枠: 竹蔵の iPhone の写真 (b12_chat_after.png・402pt 幅) から測った値 上の帯 #111111 トークの地 #1a1a1a 日付 #161616 と #aaaaaa 副題 #4d73fd カードの幅 300 (LINE の mega) 角丸 18
 * カードの文字とボタンは端末の書体 (iPhone の LINE はヒラギノ角ゴ) 画像の部分 (.img) は LP の FV の部品 (a.css .bn / c.css .cv) を 300 幅に縮めた物
 */
.gx-page{margin:0;background:var(--mist)}
.gx__nav{position:sticky;top:0;z-index:50;display:flex;justify-content:center;gap:4px;padding:6px 8px;background:var(--white);box-shadow:0 0 5px rgba(0,0,0,.1)}
.gx__nav a{padding:9px 10px;color:var(--navy);font-weight:700;font-size:13px;line-height:1;text-decoration:none;white-space:nowrap}
.gx__h{margin:30px 16px 14px;text-align:center;font-weight:700;font-size:20px;line-height:1.4;color:var(--black)}
.gx{max-width:402px;margin:0 auto 28px}
.gx__k{display:inline-block;margin:0 0 8px 12px;padding:6px 12px;background:var(--navy);transform:skewX(-5deg);font-family:var(--font-hero);font-weight:700;font-size:15px;line-height:1;letter-spacing:.04em;color:var(--white)}

/* ---------- トークの画面 (ダークモード) ---------- */
.talk{width:100%;max-width:402px;margin:0 auto;overflow:hidden;background:#1a1a1a;font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN",system-ui,sans-serif;font-weight:400;color:#fff}
.talk__hd{display:flex;align-items:center;gap:14px;height:56px;padding:0 14px 0 10px;background:#111}
.talk__name{flex:1;min-width:0}
.talk__t{overflow:hidden;font-weight:600;font-size:17px;line-height:1.25;white-space:nowrap;text-overflow:ellipsis}
.talk__s{font-size:11px;line-height:1.35;color:#4d73fd}
.talk__body{padding:10px 0 24px}
.talk__date{display:flex;justify-content:center;margin:0 0 10px}
.talk__date span{padding:4px 11px;border-radius:12px;background:#161616;font-size:12px;line-height:1.2;color:#aaa}
.talk__ft{display:flex;align-items:center;gap:13px;height:52px;padding:0 12px;background:#111}
.talk__in{flex:1;display:flex;align-items:center;justify-content:space-between;height:34px;padding:0 6px 0 12px;border-radius:17px;background:#262626;font-size:15px;color:#7a7a7a}
.ic{flex:none;display:block}

.msg{position:relative;padding-left:48px}
.av{position:absolute;left:8px;top:0;display:grid;place-items:center;width:32px;height:32px;overflow:hidden;border-radius:50%;background:var(--white)}
.av img{width:27px;height:auto}
.msg--car{padding:42px 0 0}
.car{display:flex;gap:8px;padding:0 8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.car::-webkit-scrollbar{display:none}
.car .bub{scroll-snap-align:start}

/* ---------- カード (Flex Message の bubble・mega) ---------- */
.bub{position:relative;flex:none;width:300px;overflow:hidden;border-radius:18px;background:var(--white);color:var(--text)}
.img{position:relative;isolation:isolate;overflow:hidden}
.img--wide{--u:.8px;height:calc(312*var(--u))}
.img--tall{--u:.8px;height:calc(578*var(--u))}
.img--docs,.img--doc1{display:grid;place-items:center;aspect-ratio:3/2}
.img--docs{background:var(--navy)}
.img--doc1{background:var(--mist)}
.covers{display:flex;align-items:center;gap:16px}
.covers img,.img--doc1 img{width:96px;height:auto;border:1px solid rgba(255,255,255,.7);box-shadow:0 6px 14px rgba(0,0,0,.3)}
.covers--1 img,.img--doc1 img{width:104px}
.img--doc1 img{border-color:var(--rule);box-shadow:0 4px 10px rgba(11,31,59,.18)}

.fx-body{padding:16px 18px 2px}
.fx-h{font-weight:700;font-size:20px;line-height:1.45;color:var(--navy);word-break:keep-all;overflow-wrap:anywhere}
.fx-name{font-weight:700;font-size:16px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.fx-docs{display:grid;gap:10px}
.fx-doc{display:flex;align-items:center;gap:12px}
.fx-doc img{flex:none;width:40px;height:auto;border:1px solid var(--rule)}
.fx-doc span{font-weight:700;font-size:14px;line-height:1.5;word-break:keep-all;overflow-wrap:anywhere}
.fx-ft{display:grid;gap:10px;padding:14px 16px 18px}
.fx-ft--2{padding-top:16px}
.fx-over{position:absolute;left:0;right:0;bottom:calc(86*.8px + 14px);z-index:2;padding:0 16px}

/* ボタン: 紺の箱の上に緑の箱を重ね 下に 4px だけ紺を見せる (LP の立体ボタンを箱で作る) 右の矢印は画像 */
.fx-btn{display:block;padding-bottom:4px;border-radius:26px;background:var(--navy-deep)}
.fx-btn__in{position:relative;display:flex;align-items:center;justify-content:center;height:50px;padding:0 44px;border-radius:26px;background:var(--green);color:var(--white)}
.fx-btn__t{font-weight:700;font-size:17px;line-height:1;white-space:nowrap}
.fx-btn__arrow{position:absolute;top:50%;right:10px;width:30px;height:30px;margin-top:-15px}
.fx-btn--line{padding-bottom:0;background:none}
.fx-btn--line .fx-btn__in{height:48px;border:2px solid var(--navy);background:var(--white);color:var(--navy)}

/* ---------- リッチメニュー (1枚の画像を区画に分けて押せるようにした物) ----------
 * 基本は2区画: 一番大きい「アンケートに回答して資料を見る」と「面談を予約する」
 * 区画の中の字は画像の一部なので LP の FV と同じ組み方 (斜め 5度・紺と黒・黄色の帯・緑の立体ボタン)
 */
.talk__body--menu{padding-bottom:14px}
.rm{display:grid;width:100%;background:var(--white);font-family:var(--font-hero)}
.rm--a{aspect-ratio:2500/1686;grid-template-rows:19fr 10fr;grid-template-areas:"d" "m"}
.rm--b{aspect-ratio:2500/1686;grid-template-columns:3fr 2fr;grid-template-areas:"d m"}
.rm--c{aspect-ratio:2500/843;grid-template-columns:2fr 1fr;grid-template-areas:"d m"}
.rm--d{aspect-ratio:2500/1686;grid-template-columns:2fr 1fr;grid-template-rows:19fr 10fr;grid-template-areas:"d d" "m t"}
.rm__a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:0;overflow:hidden;text-decoration:none;color:var(--navy)}
.rm__a--doc{grid-area:d;align-items:flex-start;padding:0 0 0 7%;background:var(--white)}
.rm__a--doc::before{content:"";position:absolute;top:0;left:0;width:16%;aspect-ratio:1;background:var(--slate);clip-path:polygon(0 0,100% 0,0 100%)}
.rm__a--meet{grid-area:m;background:var(--navy)}
.rm__a--tel{grid-area:t;background:var(--white);box-shadow:inset 1px 0 0 var(--rule)}
.rm__label{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.rm__lead{transform:skewX(-5deg);font-weight:700;font-size:16px;line-height:1;letter-spacing:.02em;color:var(--black);white-space:nowrap}
.rm__catch{transform:skewX(-5deg);font-weight:700;font-size:38px;line-height:1.05;letter-spacing:.011em;color:var(--navy);white-space:nowrap}
.rm__fan{position:absolute;right:7%;top:50%;z-index:1;display:flex;transform:translateY(-50%)}
.rm__fan img{width:62px;height:auto;border:1px solid var(--rule);box-shadow:0 4px 10px rgba(11,31,59,.2)}
.rm__fan img + img{margin-left:-26px}
.rm__fan img:nth-child(2){margin-top:12px}
.rm__fan img:nth-child(3){margin-top:24px}
.rm__t{transform:skewX(-5deg);font-weight:700;font-size:14px;line-height:1.2;white-space:nowrap}
.rm__icon{width:52px;height:52px}
/* 面談: 紺の地に LP の緑の立体ボタン (写真ありはヒロミを右に) */
.rm__meet-ph{position:absolute;inset:0}
.rmp__person{position:absolute;right:2%;bottom:-40%;width:36%}
.rmp__person img{width:100%;height:auto}
.rm__go{position:relative;z-index:2;align-self:flex-start;margin-left:6%;padding-bottom:3px;border-radius:24px;background:var(--navy-deep)}
.rm__go-in{position:relative;display:flex;align-items:center;justify-content:center;height:44px;padding:0 44px 0 18px;border-radius:24px;background:var(--green);color:var(--white)}
.rm__go-t{transform:skewX(-4.57deg);font-weight:700;font-size:17px;line-height:1;letter-spacing:.06em;white-space:nowrap}
.rm__go img{position:absolute;top:50%;right:8px;width:28px;height:28px;margin-top:-14px}
.rm__a--meet-plain .rm__go{align-self:center;margin-left:0}
/* B: 一番大きい区画を LP の FV の縮図にする (ヒロミと黄色の帯の2行) */
.rm__a--doc-photo{justify-content:flex-end;padding:0}
.rm__doc-ph{position:absolute;inset:0}
.rm__a--doc-photo .rmp__person{right:4%;bottom:26%;width:76%}
.rm__band{position:absolute;left:0;right:0;bottom:0;z-index:1;height:36%;background:var(--yellow)}
.rm__a--doc-photo .rm__label{align-self:stretch;align-items:center;justify-content:center;height:36%;gap:6px}
.rm__a--doc-photo .rm__catch{font-size:28px;color:var(--black)}
.rm--b .rm__a--meet .rm__icon{width:64px;height:64px}
.rm--b .rm__go-in{height:40px;padding:0 34px 0 10px}
.rm--b .rm__go-t{font-size:13px;letter-spacing:0}
.rm--b .rm__go img{width:24px;height:24px;margin-top:-12px;right:6px}
/* C: 2500×843 (半分の高さ) */
.rm--c .rm__catch{font-size:26px}
.rm--c .rm__lead{font-size:12px}
.rm--c .rm__fan img{width:42px}
.rm--c .rm__fan img + img{margin-left:-18px}
.rm--c .rmp__person{right:-6%;bottom:-70%;width:62%}
.rm--c .rm__go{margin-left:6%}
.rm--c .rm__go-in{height:34px;padding:0 30px 0 10px}
.rm--c .rm__go-t{font-size:12px;letter-spacing:0}
.rm--c .rm__go img{width:22px;height:22px;margin-top:-11px;right:5px}
/* D: 電話を足した案 (面談の区画を詰める) */
.rm--d .rmp__person{width:42%;bottom:-46%}
.rm--d .rm__go{margin-left:5%}
.rm--d .rm__go-in{padding:0 40px 0 14px}
.rm--d .rm__go-t{font-size:16px;letter-spacing:.02em}
.talk__bar{display:flex;align-items:center;height:44px;padding:0 12px;background:#111}
.talk__bar-t{flex:1;display:flex;align-items:center;justify-content:center;gap:4px;margin-right:24px;font-size:13px;line-height:1;color:#e6e6e6}
.talk__bar-v{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #e6e6e6}

/* 送信の後の1通と予約の後の1通 (文字と箱だけ) */
.fx-link{display:block;text-decoration:none}
.fx-body .fx-h{margin-bottom:12px;font-size:19px}
.fx-body--booked{display:flex;flex-direction:column;align-items:center;padding-top:20px}
.fx-mark{width:40px;height:40px}
.fx-h--c{margin:10px 0 2px;text-align:center}
.fx-when{display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:10px;padding:14px 12px;background:var(--yellow);color:var(--black)}
.fx-when__d{font-weight:700;font-size:19px;line-height:1.2}
.fx-when__t{font-weight:700;font-size:40px;line-height:1.1}
.fx-ft--c{justify-items:center;padding-top:14px}
.fx-tag{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:34px;padding:0 16px;background:var(--navy);font-weight:700;font-size:16px;line-height:1;color:var(--white)}
.talk__date--flow{margin:18px 0 12px}
.talk__date--flow a{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border:1px solid #3a3a3a;border-radius:14px;background:#161616;font-size:12px;line-height:1.2;color:#cfcfcf;text-decoration:none}
.talk__date--flow a::after{content:"";width:6px;height:6px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
