@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');
:root{--blue:#bd4b08;--navy:#2c2a28;--yellow:#ffce54;--muted:#77716b;--line:#ece8e3;--paper:#faf8f5}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--navy);font-family:'Noto Sans JP',sans-serif;font-size:16px}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #ebad12;outline-offset:4px}header{height:88px;max-width:1500px;margin:auto;padding:0 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.logo{font-family:Arial,sans-serif;font-size:39px;font-weight:900;letter-spacing:-2px;color:var(--blue);text-decoration:none}.logo span{font-family:'Noto Sans JP',sans-serif;font-size:15px;letter-spacing:1px;margin-left:18px;color:var(--navy);font-weight:500}.header-right{display:flex;align-items:center;gap:22px}.demo-tag{font-size:13px;background:#fff0dc;color:var(--blue);padding:5px 12px;border-radius:6px}.plain{border:0;background:none;color:var(--muted);font-size:14px;padding:9px}main{max-width:1370px;margin:0 auto;display:grid;grid-template-columns:44% 56%;min-height:760px}.host-panel{padding:42px 42px 26px 30px;position:relative}.intro .eyebrow{margin-top:0}.eyebrow{color:var(--blue);font-size:12px;font-weight:700;letter-spacing:2px}h1{font-size:clamp(30px,3vw,44px);letter-spacing:.03em;line-height:1.55;margin:16px 0 14px;font-weight:800}.intro>p:last-child{font-size:14px;color:var(--muted);line-height:1.8}.portrait{position:relative;height:330px;max-width:420px;margin:0 auto;overflow:hidden;border-radius:180px 180px 24px 24px}.halo{position:absolute;background:#fff2df;inset:22px 12px 0;border-radius:50% 50% 22px 22px}.portrait img{width:100%;height:100%;position:relative;object-fit:contain;mix-blend-mode:multiply;animation:breathe 6s ease-in-out infinite;transform-origin:bottom}.host-label{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#ffffffec;box-shadow:0 8px 30px #2c2a2810;padding:12px 24px;border-radius:12px;width:83%;text-align:center}.host-name{font-size:14px;font-weight:700;display:block}.host-label span:last-child{font-size:12px;color:var(--muted);display:block;margin-top:4px}.waves{position:absolute;right:22px;top:54px;background:var(--yellow);border-radius:50%;width:56px;height:56px;display:flex;gap:4px;align-items:center;justify-content:center}.waves i{width:3px;height:8px;background:var(--navy);border-radius:2px}.waves i:nth-child(2),.waves i:nth-child(4){height:16px}.waves i:nth-child(3){height:23px}.speaking .waves i{animation:wave .55s ease-in-out infinite alternate}.speaking .waves i:nth-child(2n){animation-delay:.25s}.listening .waves{background:#b9e8ff}.voice-control{display:flex;justify-content:center;align-items:center;gap:16px;margin:20px 0}.voice-control>span{font-size:13px;color:var(--muted)}.audio-toggle{font-size:13px;background:white;border:1px solid #e6ded6;padding:9px 15px;border-radius:25px;color:var(--navy)}.audio-toggle[aria-pressed=true]{background:var(--blue);color:white;border-color:var(--blue)}.note{margin:22px auto 0;max-width:400px;padding:16px 18px;background:var(--paper);border-radius:10px;font-size:12px;line-height:1.9;color:var(--muted)}.note strong{color:#776450;font-size:13px}.note p{margin:4px 0 0}.work-panel{border-left:1px solid var(--line);padding:36px 34px 28px;display:flex;flex-direction:column;min-width:0}.steps{display:flex;justify-content:space-between;padding-bottom:24px;border-bottom:1px solid var(--line);gap:12px}.steps span{font-size:13px;color:#77716b;display:flex;align-items:center;gap:8px}.steps b{font-family:Arial,sans-serif;background:#eef1f6;color:#7c86a0;border-radius:50%;width:25px;height:25px;display:grid;place-items:center}.steps .active{color:var(--blue);font-weight:700}.steps .active b{background:var(--blue);color:white}.steps .done b{background:#fff0d5;color:var(--blue)}.chat{height:355px;overflow-y:auto;padding:25px 6px 10px 0;scroll-behavior:smooth;scrollbar-width:thin}.message{margin-bottom:22px;animation:appear .3s ease both;max-width:95%}.message .who{font-size:12px;color:var(--muted);margin-bottom:7px}.message .bubble{padding:18px 20px;background:#fff5e9;border-radius:2px 18px 18px 18px;font-size:15px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.message.user{margin-left:auto;max-width:85%}.message.user .who{text-align:right}.message.user .bubble{background:var(--blue);color:white;border-radius:18px 2px 18px 18px;padding:13px 18px}.choices{display:flex;flex-wrap:wrap;gap:8px;padding:12px 0 18px}.choice,.secondary{border:1px solid #e6ded6;background:white;color:var(--navy);border-radius:9px;padding:10px 14px;font-size:14px;line-height:1.55}.choice:hover,.secondary:hover{background:#fff5e9;border-color:#efab65}.choice.primary{background:var(--yellow);border-color:var(--yellow);font-weight:700}.composer{border:1px solid #dfd7cf;border-radius:14px;padding:14px 16px;background:white;box-shadow:0 4px 20px #2c2a2805}.composer:focus-within{border-color:var(--blue)}textarea{resize:vertical}#message{width:100%;border:0;outline:0;min-height:54px;max-height:160px;font-size:15px;line-height:1.7;color:var(--navy);background:transparent}#message::placeholder{color:#999087}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.mic{border:0;background:#faf4eb;color:#796146;font-size:13px;padding:9px 12px;border-radius:7px}.mic[aria-pressed=true]{color:#b42836;background:#ffedf0}.send{background:var(--blue);color:white;border:0;padding:11px 23px;border-radius:8px;font-size:14px;font-weight:600}.send span{margin-left:14px}.send:hover{background:#a64006}.input-status{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 20px;min-height:20px}.memo{background:#fffdf4;border:1px solid #f2e8bc;border-radius:12px;padding:16px 18px}.memo-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:700;gap:8px}.memo-head small{font-size:12px;font-weight:400;color:#847d62}.memo-items{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.memo-items span{font-size:12px;padding:5px 9px;border-radius:5px;background:#f7efd0;overflow-wrap:anywhere;max-width:100%}.memo-items .muted{background:transparent;padding:0;color:#8d8873}.action-card{margin-top:14px;padding:16px;border:1px solid #ead2b6;border-radius:12px;background:white}.action-card h3{font-size:16px;margin:0 0 8px}.action-card p{font-size:14px;line-height:1.8;margin:0 0 12px}.action-card .send{width:100%}.small-link{background:none;border:0;color:var(--blue);font-size:13px;padding:12px 0 0;text-decoration:underline}footer{max-width:1370px;margin:auto;padding:22px 30px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:20px;line-height:1.8}footer span{max-width:650px;text-align:right}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}dialog{border:0;border-radius:20px;padding:30px;width:min(820px,calc(100% - 32px));max-height:90dvh;overflow:auto;color:var(--navy);box-shadow:0 24px 100px #0e234333}dialog::backdrop{background:#14244477;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:10px}.dialog-head h2{font-size:24px;margin:8px 0}.dialog-head .eyebrow{margin:0}.dialog-desc{color:var(--muted);font-size:14px;line-height:1.8}.menu-editor{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;margin:26px 0}.fields label{display:block;font-size:14px;font-weight:600;margin:0 0 18px}.fields input,.fields textarea{display:block;width:100%;margin-top:8px;border:1px solid #dfd7cf;border-radius:8px;padding:12px;color:var(--navy);font-size:15px;line-height:1.7}.hint{font-size:12px;line-height:1.8;color:var(--muted)}.menu-preview{aspect-ratio:1.4;background:#fffdfa;padding:28px 24px;border:1px solid #dacdad;display:flex;flex-direction:column;justify-content:center;text-align:center;color:#454033;overflow-wrap:anywhere}.menu-overline{font-size:12px;letter-spacing:.08em;color:#8f7952}.menu-preview h3{font-family:serif;font-size:26px;margin:18px 0 14px}.menu-rule{width:40px;height:2px;background:#c1a469;margin:0 auto 14px}.menu-preview p{font-size:14px;line-height:1.9;margin:0;white-space:pre-wrap}.menu-footer{font-size:10px;letter-spacing:3px;margin-top:22px;color:#948366}.dialog-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-wrap:wrap}.dialog-actions>span{font-size:13px;color:var(--muted);margin-right:auto}#resetDialog{max-width:480px}#resetDialog h2{font-size:20px;line-height:1.7}#resetDialog p{font-size:14px;line-height:1.8;color:var(--muted);margin-bottom:25px}@keyframes breathe{50%{transform:translateY(3px) rotate(.3deg)}}@keyframes wave{to{transform:scaleY(.35)}}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}@media(min-width:1440px){main{padding:0 24px}.host-panel{padding-top:50px}.portrait{height:360px}.chat{height:390px}}@media(max-width:850px){header{height:70px;padding:0 22px}.logo{font-size:32px}.logo span{margin-left:12px}main{grid-template-columns:37% 63%}.host-panel{padding:30px 18px}.intro h1{font-size:28px}.intro>p:last-child{font-size:13px}.portrait{height:260px;margin-top:16px}.host-label{padding:10px;width:95%}.host-name{font-size:12px}.waves{width:42px;height:42px;right:5px}.work-panel{padding:28px 22px}.steps{gap:5px}.voice-control{flex-direction:column;gap:8px}.note{padding:12px}.chat{height:360px}.steps span{font-size:12px;gap:5px}footer{display:block}footer span{display:block;text-align:left;margin-top:8px}}@media(max-width:620px){header{height:66px}.header-right{gap:10px}.demo-tag{font-size:12px}.plain{font-size:12px}.logo{font-size:30px}main{display:block;min-height:0}.host-panel{padding:23px 22px 15px;min-height:180px;display:grid;grid-template-columns:1fr 125px;gap:0 10px;background:#fffaf5}.intro{z-index:1}.intro .eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:10px}h1{margin:0!important;font-size:25px!important;line-height:1.5}.intro>p:last-child{font-size:12px;max-width:200px;margin-bottom:6px}.portrait{height:153px;width:125px;margin:0;grid-column:2;grid-row:1/3;align-self:end;border-radius:60px 60px 8px 8px}.halo{inset:8px 0 0}.host-label{display:none}.waves{width:33px;height:33px;top:7px;right:0;gap:3px}.waves i{width:2px;height:5px}.waves i:nth-child(3){height:14px}.waves i:nth-child(2),.waves i:nth-child(4){height:10px}.voice-control{align-items:start;margin:8px 0 0;gap:0}.voice-control>span{display:none}.audio-toggle{padding:6px 11px;font-size:12px}.note{grid-column:1/3;margin:14px 0 0;max-width:none;background:white;padding:10px 12px}.note strong{font-size:12px}.note p{font-size:11px;line-height:1.7}.work-panel{border:0;padding:22px 20px}.steps{padding-bottom:17px}.steps span{font-size:12px}.chat{height:330px;padding-top:22px}.message .bubble{font-size:14px;padding:15px 17px}.message{margin-bottom:18px}.choice{font-size:13px;padding:9px 12px}.input-status{font-size:11px}.memo{padding:14px}footer{padding:18px 22px;font-size:11px}.menu-editor{grid-template-columns:1fr;gap:12px}.menu-preview{aspect-ratio:1.5}.dialog-head h2{font-size:20px}dialog{padding:22px}.dialog-actions .send,.dialog-actions .secondary{padding:10px 12px;font-size:13px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}@media print{body>*{display:none!important}body>dialog#menuDialog[open]{display:block!important;position:static;max-width:none;width:100%;max-height:none;padding:0;box-shadow:none;border:0}#menuDialog>*{display:none!important}#menuDialog .menu-editor{display:block!important;margin:0}#menuDialog .fields{display:none}#menuDialog .menu-preview{width:148mm;min-height:100mm;aspect-ratio:auto;break-inside:avoid;padding:12mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}dialog::backdrop{display:none}@page{size:A4 landscape;margin:20mm}}
/* Conversation-first variation: original white canvas with an orange fixed header. */
[hidden]{display:none!important}body{padding-top:82px}header{position:fixed;inset:0 0 auto;z-index:30;height:82px;max-width:none;background:linear-gradient(108deg,#f69a24 0%,#ed7922 52%,#e86527 100%);border:0;padding:0 max(30px,calc((100vw - 1310px)/2));box-shadow:0 4px 20px #b6570d13}.logo{color:#fff;font-family:'Trebuchet MS',Arial,sans-serif;font-style:italic;font-weight:700}.logo span{color:#fff;font-style:normal;font-weight:500;font-size:14px;letter-spacing:.03em}.header-right .plain{color:white}.demo-tag{background:#ffffff22;border:1px solid #ffffff60;color:white;font-size:12px}main{grid-template-columns:43% 57%;align-items:start;min-height:calc(100dvh - 82px)}.host-panel{position:sticky;top:82px;align-self:start;padding-top:40px;padding-bottom:30px}.work-panel{min-height:calc(100dvh - 82px);padding-top:32px}h1{font-size:clamp(31px,3vw,43px);line-height:1.65;margin:13px 0 15px;letter-spacing:.015em}.intro .eyebrow{color:#b96824;font-weight:600;font-size:11px;letter-spacing:2px}.intro>p:last-child{font-size:14px;line-height:1.9}.portrait{height:345px;max-width:405px;margin-top:12px;overflow:hidden;border-radius:180px 180px 20px 20px}.halo{background:radial-gradient(ellipse at 55% 55%,#fff2db 0,#fff7ec 58%,white 73%);inset:0}.avatar-motion{position:absolute;inset:0 0 39px;display:flex;justify-content:center;align-items:flex-end;animation:breathing 6s ease-in-out infinite;transform-origin:50% 100%}.avatar-viewport{height:100%;width:100%;max-width:360px;overflow:hidden;position:relative}.avatar-motion.face-change{animation:face-in .4s ease-out,breathing 6s .4s ease-in-out infinite}.host-label{background:#ffffffef;border:1px solid #f0e7dc;box-shadow:0 6px 25px #9b682014;bottom:3px;width:85%;padding:11px 18px}.host-name{font-size:13px}.host-label span:last-child{font-size:12px;color:#927252}.waves{right:16px;top:52px;width:47px;height:47px;background:#ffde91}.waves i{background:#a35818}.listening .waves{background:#ffe7b5}.thinking .waves i{animation:wave .8s ease-in-out infinite alternate}.thinking .waves i:nth-child(2n){animation-delay:.3s}.motion-off .avatar-motion,.motion-off .waves i{animation:none!important}.voice-control{margin:20px 0 13px;gap:10px}.audio-toggle{padding:8px 14px;font-size:12px;border-color:#e5dcd2}.audio-toggle[aria-pressed=true]{background:#fff4e5;border-color:#eac9a2;color:#994807}.note{font-size:11px;background:#faf9f7;padding:12px 15px;line-height:1.8;margin-top:15px}.note strong{font-size:12px;font-weight:500}.note p{font-size:11px;color:#8a8177}.expression-lab{max-width:400px;margin:16px auto 0;border-top:1px solid #eee8df;padding-top:13px}.expression-lab summary{cursor:pointer;font-size:12px;color:#827665;list-style:none;display:flex;justify-content:space-between}.expression-lab summary:after{content:'＋';margin-left:auto;padding-left:8px}.expression-lab[open] summary:after{content:'−'}.expression-lab summary span{font-size:10px;color:#a79c8f;margin-left:auto;letter-spacing:.06em}.expression-buttons{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin-top:12px}.expression-buttons button{font-size:11px;background:white;border:1px solid #eee3d5;color:#8a7050;border-radius:6px;padding:7px 2px;cursor:pointer}.expression-buttons button[aria-pressed=true]{background:#fff0d7;border-color:#eeb45b;color:#87420a}.steps span{color:#9a9289}.steps b{background:#f2efeb;color:#978b7d}.steps .active{color:#a3460b}.steps .active b{background:#ec8a29;color:white}.steps .done b{color:#a56b1f;background:#fff1d9}.chat{height:320px;padding-top:23px;scrollbar-color:#dfd7cd transparent}.chat.has-proposals{height:230px}.message .bubble{background:#fff5e9;color:#524130;font-size:15px;line-height:1.95}.message.user .bubble{background:#b95113;color:#fff}.message .who{color:#8f8171;font-size:12px}.message{margin-bottom:19px}.choices{gap:8px;padding:12px 0 15px}.choice{font-size:13px;padding:9px 13px;line-height:1.6;border-radius:8px;text-align:left}.choice:hover{background:#fff8ed}.input-dock{background:linear-gradient(#fffefc,#fff);position:relative}.composer{border-color:#dfd8d0;box-shadow:0 3px 14px #29221904}.composer:focus-within{border-color:#e6a056;box-shadow:0 0 0 3px #fff3e2}.send{background:#ba4e0c;border-radius:8px;font-size:14px}.send:hover{background:#a54209}.mic{background:#fff2dc;color:#936221;font-size:12px}.input-status{color:#9a8d7d;font-size:11px;margin-bottom:15px}.memo{background:#fffdf8;border-color:#eee2cd;margin-top:4px}.memo-items span{background:#f9efd9;color:#8a724f}.memo-head .small-link{font-size:12px;padding:0;color:#af601a}.small-link:disabled{color:#b5afa6;cursor:not-allowed}.action-card{background:#faf9f6;border:1px solid #eee8df}.action-card summary{font-size:13px;font-weight:600;cursor:pointer;color:#82633e}.action-steps{font-size:13px;line-height:1.9;padding-left:20px;margin:12px 0 0}.action-steps li{margin:7px 0}.action-steps li::marker{color:#cf7929}.proposal-section{padding:18px 0 8px;border-top:1px solid #eee5d8;animation:appear .4s ease}.proposal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.proposal-head .eyebrow{font-size:10px;letter-spacing:1.5px;margin:0 0 5px;color:#b17636}.proposal-head h2{font-size:19px;letter-spacing:.01em;margin:0;line-height:1.6}.proposal-count{font-size:11px;color:#a99170;white-space:nowrap}.proposal-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.proposal-card{border:1px solid #eddfca;border-radius:13px;padding:17px 16px;background:#fff;display:flex;flex-direction:column;align-items:start;position:relative;box-shadow:0 5px 20px #a6782410;transition:transform .15s,border-color .15s}.proposal-card:hover{transform:translateY(-2px);border-color:#e4b77b}.proposal-card.featured{background:linear-gradient(145deg,#fff9ea,#fffdf8);border-color:#eec789}.proposal-top{display:flex;align-items:center;gap:9px;margin-bottom:13px}.category-icon{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:9px;background:#fff0d4;color:#b96b19}.category-icon svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.category-name{font-size:11px;font-weight:600;color:#a16b26}.proposal-card h3{font-size:16px;line-height:1.7;margin:0 0 8px;letter-spacing:.01em}.proposal-card p{font-size:12px;line-height:1.85;color:#8b7963;margin:0 0 16px}.proposal-card>button{margin-top:auto;align-self:stretch;font-size:12px;font-weight:600;background:transparent;color:#a9550b;border:0;border-top:1px solid #eee2d0;padding:12px 0 0;text-align:left;display:flex;justify-content:space-between;align-items:center}.proposal-card>button span{font-size:17px}.more-actions{width:100%;border:0;background:none;padding:15px 0 8px;font-size:12px;color:#99794f;text-align:center}.other-actions{display:flex;gap:7px;flex-wrap:wrap;padding:8px 0}.other-actions button{display:flex;align-items:center;gap:7px;border:1px solid #e9e2d8;background:white;border-radius:8px;color:#755f44;padding:8px 10px;font-size:12px}.other-actions .category-icon{width:22px;height:22px;background:transparent}.other-actions svg{width:17px;height:17px}.proposal-caption{font-size:11px;color:#9d9387;text-align:center;margin:8px 0 0}.action-dialog{width:min(860px,calc(100% - 30px));padding:30px;max-height:90dvh}.action-dialog h2{font-size:23px;line-height:1.65;max-width:680px}.action-dialog .eyebrow{color:#b8782c;font-size:11px}.action-lead{font-size:15px;line-height:1.9;color:#726454;margin:18px 0 22px}.detail-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.detail-card{padding:20px;border:1px solid #e9e3da;border-radius:12px;background:#fff}.detail-card .category-name{display:block;margin-bottom:9px}.detail-card h3{font-size:17px;line-height:1.65;margin:0 0 10px}.detail-card p{font-size:14px;color:#7b6a55;line-height:1.85;margin:0 0 10px}.detail-card ul{font-size:13px;line-height:1.9;padding-left:20px;color:#7e6a4f}.detail-card button{margin-top:8px}.detail-note{padding:15px 18px;background:#fff8e9;border-radius:10px;font-size:13px;line-height:1.8;color:#987443;margin-top:16px}.demo-footnote{font-size:11px;color:#9f968a;padding:15px 0;margin:20px 0 4px;border-top:1px solid #eee8df;line-height:1.8}.dialog-actions{padding-top:8px}.diagnosis-question{min-width:0;margin:0;padding:18px 0;border:0;border-bottom:1px solid #eee8df}.diagnosis-question legend{font-size:14px;font-weight:600;line-height:1.8;padding:12px 0 0}.diagnosis-question p{font-size:14px;font-weight:600;margin:0 0 13px}.diagnosis-options{display:flex;gap:8px;flex-wrap:wrap}.diagnosis-options label{font-size:13px;padding:9px 12px;background:#faf9f6;border:1px solid #e9e3d9;border-radius:8px;display:flex;align-items:center;gap:7px}.diagnosis-options input{accent-color:#bc5b12}.diagnosis-result{background:#fff5df;padding:18px;margin-top:20px;border-radius:12px;font-size:14px;line-height:1.9;color:#79603d}.kit-highlight{background:#fff5dc;border:1px solid #f0d79c;border-radius:14px;padding:22px;margin:20px 0}.kit-highlight h3{font-size:18px;line-height:1.75;margin:0 0 12px}.kit-highlight p{font-size:14px;line-height:1.8;color:#836642;margin:0 0 13px}.kit-items{display:flex;flex-wrap:wrap;gap:8px}.kit-items span{background:white;border:1px solid #efe0bd;padding:8px 11px;border-radius:8px;font-size:13px}.kit-items .emphasis{background:#ffda82;color:#744111;border-color:#ffce61;font-weight:600}.handoff-note{width:100%;min-height:190px;border:1px solid #e1d7c9;border-radius:12px;background:#fffdf8;padding:17px;font-size:14px;line-height:1.9;color:#695644;resize:vertical}.action-dialog .secondary{font-size:13px;border-color:#e6d8c7}.selected-path{background:#fff0da!important;border-color:#e2b365!important}.secondary[aria-pressed=true]{background:#fff0da}.helper-text{font-size:12px;color:#948776;line-height:1.8}footer{font-size:11px;color:#9e9385}
@keyframes breathing{50%{transform:translateY(3px) rotate(.35deg)}}@keyframes face-in{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(min-width:1440px){.portrait{height:365px}.host-panel{padding-top:43px}.chat{height:355px}.chat.has-proposals{height:235px}}
@media(max-width:1000px){.host-panel{padding-left:25px;padding-right:25px}.intro h1{font-size:32px}.work-panel{padding-left:25px;padding-right:25px}.proposal-cards{gap:10px}.proposal-card{padding:15px 13px}.proposal-card h3{font-size:15px}.portrait{height:315px}.expression-buttons{grid-template-columns:repeat(5,1fr)}}
@media(max-width:850px){body{padding-top:72px}header{height:72px;padding:0 24px}main{grid-template-columns:38% 62%}.host-panel{top:72px;padding:32px 20px}.intro h1{font-size:28px}.portrait{height:285px}.voice-control{flex-direction:row;gap:7px}.audio-toggle{font-size:11px;padding:7px 9px}.host-label{width:95%;padding:9px}.host-name{font-size:12px}.host-label span:last-child{font-size:11px}.expression-lab summary span{display:none}.proposal-head h2{font-size:17px}.proposal-count{font-size:10px}.work-panel{padding:28px 21px}.chat{height:335px}.chat.has-proposals{height:230px}.proposal-card p{font-size:11px}.proposal-card h3{font-size:14px}.category-name{font-size:10px}.expression-buttons button{font-size:10px}.note p{font-size:10px}}
@media(max-width:620px){body{padding-top:66px}header{height:66px;padding:0 20px}.logo span{font-size:12px;margin-left:12px}.demo-tag{font-size:10px;padding:4px 7px}.header-right{gap:5px}.header-right .plain{font-size:11px}main{display:block}.host-panel{position:relative;top:auto;padding:23px 22px 15px;background:#fffdf9;grid-template-columns:1fr 125px;min-height:180px}.intro .eyebrow{font-size:9px}.intro h1{font-size:26px!important;margin:0!important}.intro>p:last-child{font-size:12px}.portrait{height:160px;width:125px;margin:0;border-radius:0;overflow:hidden}.avatar-motion{inset:0;animation:none}.avatar-viewport{max-width:145px}.halo{inset:0;background:radial-gradient(ellipse,#fff0d3,transparent 70%)}.waves{top:5px;right:0;width:30px;height:30px}.host-label{display:none}.voice-control{justify-content:start;margin:10px 0 0;gap:7px}.audio-toggle{font-size:10px;padding:6px 9px}.expression-lab{grid-column:1/3;width:100%;margin:15px 0 0;padding-top:10px}.expression-lab summary{font-size:11px}.expression-lab summary span{display:inline;font-size:9px}.expression-buttons button{font-size:10px}.note{grid-column:1/3;max-width:none;margin:10px 0 0;padding:9px 11px;background:#f8f5ef}.note strong{font-size:10px}.note p{font-size:10px;margin-top:2px}.work-panel{min-height:0;border:0;padding:22px 20px}.chat{height:295px;padding-top:19px}.chat.has-proposals{height:215px}.proposal-head h2{font-size:17px}.proposal-cards{gap:9px}.proposal-card{padding:14px 12px;border-radius:11px}.proposal-card h3{font-size:14px}.proposal-card p{font-size:11px;margin-bottom:12px}.proposal-top{gap:6px;margin-bottom:9px}.category-icon{width:27px;height:27px}.category-icon svg{width:18px;height:18px}.proposal-card>button{font-size:11px}.proposal-count{display:none}.other-actions button{font-size:11px;padding:7px 9px}.message .bubble{font-size:14px}.choice{font-size:12px}.input-dock{position:sticky;bottom:0;z-index:5;padding-top:5px}.input-status{margin-bottom:8px;font-size:10px}.composer{padding:10px 12px}#message{min-height:44px;font-size:14px}.mic{font-size:11px}.send{font-size:13px}.memo{margin-top:12px}.action-dialog{padding:22px}.action-dialog h2{font-size:21px}.detail-cards{grid-template-columns:1fr;gap:11px}.detail-card{padding:17px}.action-lead{font-size:14px}.kit-highlight{padding:18px}.kit-highlight h3{font-size:16px}.kit-items span{font-size:12px}.diagnosis-options label{font-size:12px;padding:8px 10px}.dialog-actions .send{font-size:13px}.demo-footnote{font-size:10px}footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){.avatar-motion,.avatar-motion.face-change,.proposal-section{animation:none!important}.proposal-card{transition:none}.proposal-card:hover{transform:none}}

/* Supplied bust portraits; original PNG bytes are preserved. */
.portrait .consultant-image{display:block;width:100%;height:100%;max-width:360px;object-fit:contain;object-position:center bottom;mix-blend-mode:normal;animation:none;transform:none;position:relative}
.expression-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:620px){.portrait .consultant-image{max-width:145px}.expression-buttons{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* ---- 実装追加分（実サービス接続用の小さな部品） ---- */
a.act-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;padding:11px 16px;border-radius:11px;background:#ba4e0c;color:#fff;font-weight:700;font-size:13.5px;text-decoration:none;border:none;cursor:pointer;transition:.15s}
a.act-link:hover{opacity:.92;transform:translateY(-1px)}
.status-note{margin-top:10px;font-size:12px;color:#9a938b}
.typing-row .bubble{color:#9a938b;font-style:normal}
header .header-right a.plain{color:#fff;opacity:.9;font-size:12.5px}
header .header-right a.plain:hover{opacity:1}
/* 相談メモの構造化表示：事実／AI候補／未確認のバッジと修正ボタン */
.memo-items b{font-weight:700;color:#8a5a2b;margin-right:2px}
.memo-badge{display:inline-block;margin-left:8px;padding:1px 8px;border-radius:99px;font-size:10px;font-style:normal;font-weight:700;background:#e8f3e4;color:#3f6d2e;vertical-align:1px}
.memo-badge--ai{background:#fdeccd;color:#8a5a00}
.memo-badge--un{background:#f1efec;color:#8b847b}
.memo-edit{margin-left:8px;border:none;background:none;color:#ba4e0c;font-size:11px;cursor:pointer;text-decoration:underline;padding:0}

/* ---- 画面デザイン修正依頼（2026-09-19）対応 ---- */
/* ①見出しを1行に */
.intro h1.one-line{white-space:nowrap;font-size:clamp(22px,2.15vw,31px);line-height:1.6}
@media(max-width:850px){.intro h1.one-line{font-size:20px}}
@media(max-width:620px){.intro h1.one-line{white-space:normal;font-size:20px!important;line-height:1.55}}
/* ③toolsロゴ画像（白抜き） */
.logo.logo-img{display:flex;align-items:center;font-style:normal;letter-spacing:0}
.logo.logo-img img{height:30px;width:auto;display:block;filter:brightness(0) invert(1)}
@media(max-width:620px){.logo.logo-img img{height:24px}}
/* ⑤提案セクションの折りたたみ＋全カード同サイズ */
.proposal-toggle{display:block;width:100%;background:none;border:0;padding:0;text-align:left;font-family:inherit;cursor:pointer}
.proposal-toggle .proposal-head{margin-bottom:10px}
.proposal-toggle:hover h2{color:#a3460b}
.proposal-chevron{font-size:11px;color:#ba4e0c;margin-left:4px}
#proposalBody{padding-top:6px}
.proposal-card.featured{background:#fff;border-color:#eddfca}
.proposal-card>a{margin-top:auto;align-self:stretch;font-size:12px;font-weight:600;background:transparent;color:#a9550b;border:0;border-top:1px solid #eee2d0;padding:12px 0 0;text-align:left;display:flex;justify-content:space-between;align-items:center;text-decoration:none}
.proposal-card>a span{font-size:17px}
/* ⑧ダイアログ内カードを「toolsに聞いてみよう」(/app/)の意匠に揃える */
.action-dialog .detail-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px 18px 18px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.action-dialog .detail-card .category-name{display:inline-block;font-size:11px;font-weight:800;padding:3px 11px;border-radius:12px;margin:0 6px 12px 0;line-height:1.5;background:#eee;color:#666}
.action-dialog .detail-card .category-name.b-free{color:#2E7D32;background:#E8F5E9}
.action-dialog .detail-card .category-name.b-paid{color:#1565C0;background:#E3F2FD}
.action-dialog .detail-card .category-name.b-premium{color:#6A1B9A;background:#F3E5F5}
.action-dialog .detail-card h3{font-size:15px;font-weight:700;line-height:1.7;margin:0 0 8px;color:#222}
.action-dialog .detail-card p{font-size:13.5px;line-height:1.9;color:#222}
.action-dialog .detail-card a.act-link{display:flex;justify-content:center;width:100%;margin-top:16px;padding:13px;border:none;border-radius:10px;background:#222;color:#fff;font-size:14px;font-weight:700;text-align:center;text-decoration:none}
.action-dialog .detail-card a.act-link:hover{opacity:.92;transform:none}
.action-dialog .detail-card button.secondary{display:block;width:100%;margin-top:12px;padding:12px;border:1px solid #ddd;border-radius:10px;background:#fff;font-size:13.5px;font-weight:700}
.action-dialog .kit-highlight{background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.action-dialog .kit-highlight .category-name{display:inline-block;font-size:11px;font-weight:800;padding:3px 11px;border-radius:12px;margin:0 6px 12px 0;line-height:1.5;color:#C2185B;background:#FCE4EC}
.action-dialog .status-note{color:#666}

/* ---- /app/の回答カードと同じ意匠の提案カード（会話内・一覧共用） ---- */
.svc-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
@media(max-width:620px){.svc-cards{grid-template-columns:1fr}}
.svc-card{background:#fff;border:1px solid #eee;border-radius:14px;padding:20px 18px 18px;box-shadow:0 1px 4px rgba(0,0,0,.05);display:flex;flex-direction:column;min-width:0}
.svc-card .badge{display:inline-block;align-self:flex-start;font-size:11px;font-weight:800;padding:3px 11px;border-radius:12px;margin:0 6px 12px 0;line-height:1.5;background:#eee;color:#666}
.svc-card .b-free{color:#2E7D32;background:#E8F5E9}
.svc-card .b-paid{color:#1565C0;background:#E3F2FD}
.svc-card .b-premium{color:#6A1B9A;background:#F3E5F5}
.svc-card .b-pro{color:#4E342E;background:#EFEBE9}
.svc-card .b-bench{color:#8a5a00;background:#FFF3D6}
.svc-card .svc-illust{display:block;width:100%;max-width:176px;height:132px;object-fit:contain;margin:2px auto 10px}
.svc-card .svc-icon{width:48px;height:50px;object-fit:contain;margin:0 0 10px}
.svc-card h3{font-size:15px;font-weight:700;margin:0 0 8px;color:#222;line-height:1.7}
.svc-card p{font-size:13.5px;line-height:1.85;color:#222;margin:0 0 12px}
.svc-card .bench-label{display:inline-block;align-self:flex-start;background:#F5C518;color:#fff;font-size:11px;font-weight:800;padding:2px 10px;border-radius:10px;margin-bottom:6px}
.svc-card .act-btn{display:block;width:100%;margin-top:auto;padding:13px;border:none;border-radius:10px;background:#222;color:#fff;font-size:14px;font-weight:700;text-align:center;text-decoration:none;cursor:pointer;font-family:inherit}
.svc-card .act-btn:hover{opacity:.92}
.svc-card button.act-btn:disabled{background:#ccc;cursor:default;opacity:1}
.svc-card .sub-btn{display:block;width:100%;margin-bottom:10px;padding:11px;border:1px solid #ddd;border-radius:10px;background:#fff;color:#222;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit}
.svc-card .sub-btn:hover{border-color:#F5C518}
/* 会話バブル内にカードを敷くときの下地 */
.message .svc-cards{max-width:100%}

/* ---- 注記はポートレートのホバーで表示／入力欄は女性の下 ---- */
.portrait .hover-note{position:absolute;left:10px;right:10px;bottom:10px;z-index:6;background:rgba(255,253,249,.97);border:1px solid #eee3d0;border-radius:12px;padding:12px 15px;font-size:11px;line-height:1.8;color:#8a8177;opacity:0;visibility:hidden;transition:opacity .18s,visibility .18s;box-shadow:0 10px 30px rgba(120,70,10,.14);pointer-events:none}
.portrait:hover .hover-note,.portrait:focus-within .hover-note{opacity:1;visibility:visible}
.portrait .hover-note strong{display:block;color:#776450;font-size:12px;margin-bottom:3px}
.portrait .hover-note p{margin:0;font-size:11px}
.host-panel .input-dock{margin-top:16px}
.host-panel .composer{background:#fff}
.host-panel .input-status{margin-bottom:0}
/* スマホでは従来どおり会話の下・画面下部に固定（JSで右カラムへ戻す） */
@media(max-width:620px){
 .portrait .hover-note{display:none}
 .work-panel .input-dock{position:sticky;bottom:0;z-index:5;padding-top:5px}
}

/* ---- 音声マークが枠（角丸クリップ）で欠けないように ---- */
@media(min-width:621px){
 .portrait{overflow:visible}
 .halo{border-radius:180px 180px 20px 20px}
 .waves{z-index:7}
}

/* ---- ヘッダーを従来の約2/3の高さに ---- */
body{padding-top:56px}
header{height:56px}
.host-panel{top:56px}
main{min-height:calc(100dvh - 56px)}
.work-panel{min-height:calc(100dvh - 56px)}
.logo.logo-img img{height:22px}
@media(max-width:850px){header{height:48px}body{padding-top:48px}.host-panel{top:48px}}
@media(max-width:620px){header{height:44px}body{padding-top:44px}.logo.logo-img img{height:18px}}
/* ロゴを30pxに拡大（ヘッダー高は56pxのまま） */
.logo.logo-img img{height:30px}
@media(max-width:620px){.logo.logo-img img{height:24px}}
/* 相談メモは折りたたみ（初期は閉） */
.memo-toggle{display:flex;align-items:center;gap:10px;background:none;border:0;padding:0;font:inherit;font-size:14px;font-weight:700;color:inherit;cursor:pointer}
.memo-toggle:hover #memoChevron{color:#a3460b}
.memo-chevron{font-size:11px;font-weight:600;color:#af601a}
#memoBody{margin-top:2px}
/* ② 会話欄を常に画面の主役に：右カラムをビューポートに固定し、チップ・メモは下部に固定。
   会話（.chat）が残り全高を使う＝常におおよそ2/3以上 */
@media(min-width:621px){
 .work-panel{height:calc(100dvh - 56px);min-height:0;overflow:hidden}
 .chat{flex:1 1 auto;height:auto!important;min-height:0}
 .chat.has-proposals{height:auto!important}
 .host-panel{max-height:calc(100dvh - 56px);overflow:auto}
}
/* ステップ表示の廃止に伴い、会話欄の上余白を詰める */
@media(min-width:621px){.chat{padding-top:6px}}
/* 入口ファーストビューと同じマイクボタン */
.micb{width:40px;height:40px;border-radius:50%;border:0;background:#F5C518;color:#22201C;display:grid;place-items:center;cursor:pointer;transition:.15s;flex:0 0 40px}
.micb:hover{transform:scale(1.06)}
.micb.rec{background:#E5533C;color:#fff;animation:micPulse 1.4s ease-in-out infinite}
.micb svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@keyframes micPulse{50%{box-shadow:0 0 0 7px rgba(229,83,60,.18)}}
@media(prefers-reduced-motion:reduce){.micb.rec{animation:none}}
/* チップを入力欄の下（左カラム）へ。イラストは小さめに */
@media(min-width:621px){
 .portrait{height:240px;max-width:290px}
 .portrait .host-label{padding:8px 12px}
 .host-label .host-name{font-size:12px}
 .host-label span:last-child{font-size:11px}
 .waves{width:40px;height:40px;top:34px;right:8px}
 .host-panel .choices{padding:12px 0 0;gap:7px}
 .host-panel .choice{font-size:12.5px;padding:8px 11px}
 .host-panel .input-dock{margin-top:12px}
 .voice-control{margin:14px 0 8px}
}
/* イラストを1.5倍に戻し、入力画面はコンパクトに（約2/3） */
@media(min-width:621px){
 .portrait{height:360px;max-width:400px}
 .portrait .host-label{padding:10px 16px}
 .host-label .host-name{font-size:13px}
 .host-label span:last-child{font-size:12px}
 .waves{width:46px;height:46px;top:48px;right:14px}
 .host-panel .composer{padding:9px 12px}
 .host-panel #message{min-height:34px;font-size:14px}
 .host-panel .micb{width:34px;height:34px;flex-basis:34px}
 .host-panel .micb svg{width:16px;height:16px}
 .host-panel .send{padding:8px 16px;font-size:13px}
 .host-panel .input-status{font-size:10.5px;margin-top:6px}
 .host-panel .input-dock{margin-top:10px}
}
/* 左カラムが1画面に収まるよう余白を圧縮 */
@media(min-width:621px){
 .host-panel{padding-top:24px}
 .intro .eyebrow{margin-bottom:6px}
 .host-panel h1{margin:8px 0 8px}
 .intro>p:last-child{font-size:13px}
 .portrait{margin-top:2px}
 .voice-control{margin:8px 0 4px}
 .host-panel .choices{padding:8px 0 0}
}
