/* 皇寿AI の会話型フォーム（2026-10-17） */
.kc { background: linear-gradient(180deg, #f4f9ff, #fffdf5); border: 1px solid var(--line); border-radius: 22px; padding: 18px 14px 14px; max-width: 760px; margin: 0 auto; box-shadow: var(--shadow); }
.kc-top { display: flex; align-items: center; gap: 10px; padding: 0 6px 12px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.kc-top img { width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 4px; }
.kc-top b { display: block; font-size: 15px; } .kc-top small { color: var(--sub); font-size: 12px; }
.kc-top .kc-live { margin-left: auto; font-size: 11px; color: #1a9b58; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.kc-top .kc-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c06b; box-shadow: 0 0 0 4px rgba(34, 192, 107, .18); animation: kcpulse 1.6s infinite; }
@keyframes kcpulse { 50% { box-shadow: 0 0 0 7px rgba(34, 192, 107, 0); } }
.kc-log { display: flex; flex-direction: column; gap: 12px; min-height: 160px; }
.kc-row { display: flex; gap: 8px; align-items: flex-end; animation: kcin .35s ease both; }
@keyframes kcin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.kc-av { width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 1px solid var(--line); object-fit: contain; padding: 3px; flex: none; }
.kc-b { max-width: 82%; padding: 12px 15px; border-radius: 18px; line-height: 1.75; font-size: 15px; }
.kc-ai .kc-b { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.kc-me { justify-content: flex-end; } .kc-me .kc-b { background: var(--navy); color: #fff; border-bottom-right-radius: 6px; font-weight: 700; }
.kc-typing { display: flex; gap: 5px; padding: 16px 18px; } .kc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: kcdot 1s infinite; } .kc-typing i:nth-child(2) { animation-delay: .15s; } .kc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kcdot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.kc-dock { margin-top: 16px; display: grid; gap: 10px; }
.kc-opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.kc-opt { font: inherit; font-weight: 700; font-size: 15px; padding: 12px 16px; border-radius: 999px; border: 1.5px solid var(--blue-l); background: #fff; color: #0f6fae; cursor: pointer; min-height: 48px; transition: background .2s; }
.kc-opt:hover, .kc-opt:focus-visible { background: #eaf6ff; }
.kc-in { display: flex; gap: 8px; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 6px 6px 6px 14px; }
.kc-in input, .kc-in select { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 0; outline: none; background: transparent; padding: 10px 0; }
.kc-in input.bad { color: #c03030; } .kc-unit { color: var(--sub); font-weight: 700; }
.kc-send { font: inherit; font-weight: 700; border: 0; border-radius: 12px; background: var(--navy); color: #fff; padding: 11px 16px; cursor: pointer; }
.kc-skip, .kc-back { justify-self: end; background: none; border: 0; font: inherit; font-size: 13px; color: var(--sub); text-decoration: underline; cursor: pointer; padding: 4px; }
.kc-back { justify-self: start; }
.kc-anl { min-width: 240px; } .kc-anl-h { margin: 0 0 6px; font-weight: 700; color: #0f6fae; }
.kc-anl ol { margin: 0; padding-left: 1.2em; font-size: 13px; color: var(--mute); } .kc-anl li { transition: color .3s; } .kc-anl li.on { color: var(--ink); } .kc-anl li.on::marker { content: '✓ '; color: #22a35a; }
.kc-prog { height: 4px; background: var(--bg2); border-radius: 4px; overflow: hidden; margin-top: 10px; } .kc-prog i { display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--blue-l), var(--yel)); animation: kcbar 1s linear infinite; }
@keyframes kcbar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.kc-res { max-width: 92%; border: 2px solid var(--blue-l) !important; }
.kc-res h3 { margin: 2px 0 6px; font-family: var(--mincho); font-size: 20px; line-height: 1.5; }
.kc-price { font-family: var(--mincho); font-size: clamp(26px, 7vw, 36px); font-weight: 700; color: var(--navy); line-height: 1.3; margin: 4px 0; }
.kc-price small { font-size: 15px; }
.kc-note { font-size: 12px; color: var(--sub); line-height: 1.7; margin: 10px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.kc-tag { display: inline-block; font-size: 12px; font-weight: 700; color: #0f6fae; background: #eaf6ff; border-radius: 999px; padding: 2px 10px; }
.kc-form { display: grid; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; }
.kc-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 700; }
.kc-form input:not([type=checkbox]) { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; }
.kc-form .kc-agree { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.kc-err { color: #c03030; font-weight: 700; margin: 0; font-size: 14px; }
.kc-cta { font: inherit; font-weight: 700; font-size: 16px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; min-height: 54px; cursor: pointer; }
.kc-tel { text-align: center; font-weight: 700; color: #0f6fae; font-size: 14px; }
.kc-row { scroll-margin-top: calc(var(--hd-h) + 14px); }
