/* マスネット：ご案内AI（チャット部分だけ。ヘッダー・フッター・ボタンは /assets/mn-common.css） */
.annai__wrap { max-width: 800px; }
.annai__hero { text-align: center; }
.annai__hero .crumb ol { justify-content: center; }
.gbadge { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: .82rem; font-weight: 700; color: var(--blue-ink); background: #fff; border: 1.5px solid var(--blue); border-radius: 999px; padding: 4px 14px; }
.gbadge .i { width: 16px; height: 16px; }
.annai .pg__lead { max-width: 560px; margin-left: auto; margin-right: auto; }

.gchat { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 10px 40px rgba(13, 153, 65, .10); overflow: hidden; }
.glog { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; min-height: 260px; max-height: 58vh; overflow-y: auto; background: #f7faf8; }
.gmsg { max-width: 88%; padding: 11px 15px; border-radius: 18px; font-size: .92rem; line-height: 1.8; word-break: break-word; animation: gin .3s ease; color: var(--navy); }
@keyframes gin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gmsg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.gmsg--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.gmsg a { color: var(--blue-ink); }
.gwait { display: inline-flex; gap: 5px; padding: 15px 16px; }
.gwait span { width: 7px; height: 7px; border-radius: 50%; background: #2db85a; animation: gdot 1.1s ease-in-out infinite; }
.gwait span:nth-child(2) { animation-delay: .15s; } .gwait span:nth-child(3) { animation-delay: .3s; }
@keyframes gdot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-4px); } }
.gchips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 4px; border-top: 1px solid var(--line); }
.gchips button { font: inherit; font-size: .82rem; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); border: 1px solid rgba(13, 153, 65, .2); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: transform .15s; line-height: 1.5; }
.gchips button:hover { transform: translateY(-1px); }
.gform { display: flex; gap: 8px; align-items: flex-end; padding: 10px 14px; }
.gform textarea { flex: 1; resize: none; border: 1.5px solid var(--line); border-radius: 22px; padding: 11px 16px; font: inherit; font-size: 16px; line-height: 1.5; max-height: 120px; color: var(--navy); }
.gform textarea:focus { outline: none; border-color: var(--blue); }
.gform button { width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; border: none; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gform button .i { width: 20px; height: 20px; }
.gform button:disabled { opacity: .5; }
.gnote { font-size: .72rem; color: var(--ink-light); padding: 0 16px 14px; text-align: center; line-height: 1.7; }
.gnote--off { padding-top: 14px; font-size: .84rem; }
@media (max-width: 767px) { .gchat { border-radius: 18px; } .glog { max-height: 52vh; } }
@media (prefers-reduced-motion: reduce) { .gmsg, .gwait span { animation: none; } }
