body{background-color:#e1e1e1;color:#333;font:13px/1 Noto Sans JP,ヒラギノ角ゴ Pro W3,YuGothic,Yu Gothic Medium,Yu Gothic,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,ＭＳ Ｐゴシック,sans-serif;letter-spacing:.03em}@media screen and (max-width: 950px){body{font-size:16px}}header{display:flex;justify-self:center;align-items:center;width:90%}header .title{font-size:3rem;margin:5px auto 5px 0}@media screen and (max-width: 950px){header{flex-direction:column;justify-content:center;align-items:center;width:100%}header .title{font-size:2em;margin-right:0}.header-buttons{display:flex;flex-direction:row;gap:8px;justify-content:center;width:100%}header button{margin:4px 0}}.participants-header{display:flex;align-items:center}.participants-header h2{margin-right:8px}.participants-help-icon{cursor:pointer}.participant select{padding:.5em}.participant input[type=text]{width:100%}.participant input[type=number]{width:40px;padding:.5em}.participant input[type=range]{width:70%;margin:0 5px 0 0;vertical-align:middle}.sp{display:none;text-align:center;width:90%;margin:0 5px 0 0}.weight{container-type:inline-size;display:block;align-items:center}@media screen and (max-width: 950px){.participant select{width:min-content;height:33px}}@container (max-width: 230px){.participant input[type=number]{display:none}.participant input[type=range]{width:90%}.sp{display:block}.weight{width:90%}}.rule-textarea{width:90%;min-height:39px;height:auto;padding:.5em;font-size:1em;font-family:inherit;border-radius:5px;resize:none;overflow:hidden;box-sizing:border-box;line-height:1.5;vertical-align:middle;white-space:pre-wrap;word-break:break-all;overflow-wrap:break-word;border-width:2px;border-style:inset;border-color:light-dark(rgb(118,118,118),rgb(133,133,133));border-image:initial}.suggestion-list-container{position:absolute;left:0;top:110%;width:90%;background:#fff;border-radius:10px;box-shadow:0 4px 16px #3c3c3c1f,0 1.5px 4px #3c3c3c14;border:1px solid #e0e0e0;z-index:20;margin:0;padding:0;transition:box-shadow .2s}.suggestion-list{margin:0;padding:0;list-style:none}.suggestion-item{padding:12px 18px;font-size:1em;color:#333;cursor:pointer;border-bottom:1px solid #e0e0e0;background:#fff;transition:background .15s,color .15s;display:flex;align-items:center;gap:8px}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover,.suggestion-item.highlighted{background:#36d7b7;color:#fff;font-weight:600;box-shadow:0 2px 8px #36d7b714}.rules{position:relative}@media screen and (max-width: 950px){.rule-textarea{width:85%;border-width:1px;border-style:solid;border-color:light-dark(rgb(118,118,118),rgb(133,133,133))}.suggestion-list-container{width:85%}}.rules-header{display:flex;align-items:center}.rules-header h2{margin-right:8px}.rules-help-icon{cursor:pointer}.total-amount input[type=text]{width:90%;text-align:right}@media screen and (max-width: 950px){.total-amount input[type=text]{width:85%}}.exe-btn{display:block;margin:30px 8px 30px auto;width:250px}.dummy-btn{display:block;margin:30px 8px 30px auto;width:250px;opacity:34%;pointer-events:none}.execute-row{display:flex;align-items:center}.model-select{padding:6px 12px;font-size:1rem;border-radius:4px;border:1px solid #36d7b7;color:#36d7b7;background:#fff;outline:none;transition:border-color .2s;margin:30px auto 30px 8px}.model-select:focus{border-color:#1ea896}@media screen and (max-width: 950px){.exe-btn,.dummy-btn{width:200px}}.top-page table button{width:35px;border-radius:10px;line-height:35px;float:right}.top-page table{width:90%;margin:0 auto}.top-page .col-1{width:10%;padding-left:auto}.top-page .col-2{width:30%;text-align:start}.top-page .col-3{width:10%;text-align:start}.top-page .col-4{width:50%;text-align:start}@media screen and (max-width: 950px){h2{margin-top:8px;margin-bottom:8px}.top-page table{width:100%}.top-page .col-1{width:10%;min-width:46px}.top-page .col-2{width:35%}.top-page .col-3{width:52px}.top-page .col-4{width:auto}input[type=range]::-webkit-slider-thumb{width:20px;height:20px}input[type=range]::-moz-range-thumb{width:20px;height:20px}input[type=range]::-ms-thumb{width:20px;height:20px}}.result{text-align:center}.result table{width:40%;margin:0 auto;table-layout:fixed;text-align:center;border-collapse:collapse}.result tbody{font-size:1.2em}.result tbody td{padding:.2em}.result tfoot{border-top:2px solid black;font-size:1.2em}.result tfoot td{padding:.5em}.chat-botton{width:200px}@media screen and (max-width: 950px){.result table{width:90%}.result tbody,.result tfoot{font-size:1em}}@media screen and (max-width: 450px){.result button{width:200px}}.loading-page-container{display:flex;flex-direction:column;align-items:center;width:100%}.loading-title{color:#36d7b7;margin-bottom:24px}.loading{margin-bottom:32px}.loading-desc{color:#888;font-size:1rem;margin-bottom:24px}.chat-page-area{display:flex;flex-direction:column;height:82dvh;width:100%;margin:0 auto;background:#fff;border-radius:8px;box-sizing:border-box;padding:0;position:relative}.chat-messages{flex:1 1 auto;overflow-y:auto;padding:24px 16px 8px;display:flex;flex-direction:column;gap:12px}.chat-message{display:flex;width:100%}.chat-message.user{justify-content:flex-end}.chat-message.ai{justify-content:flex-start}.chat-bubble{max-width:70%;padding:12px 18px;border-radius:18px;font-size:1.1em;line-height:1.6;word-break:break-word;box-shadow:0 2px 8px #3c3c3c14;white-space:pre-line}.chat-message.user .chat-bubble{background:#36d7b7;color:#fff;border-radius:18px 18px 4px}.chat-message.ai .chat-bubble{background:#f4f4f4;color:#333;border-radius:18px 18px 18px 4px}.chat-input-row{position:relative;display:flex;align-items:flex-end;padding:16px;border-top:1px solid #e0e0e0;background:#fafafa;gap:0}.chat-input{flex:1 1 auto;min-height:42px;max-height:120px;resize:none;border-radius:8px;border:1.5px solid #36d7b7;padding:10px 48px 10px 10px;font-size:1em;font-family:inherit;outline:none;transition:border-color .2s;background:#fff;box-sizing:border-box}.chat-input:focus{border-color:#1ea896}.chat-send-btn{position:absolute;right:23px;bottom:10px;background:#36d7b7;color:#fff;border:none;border-radius:50%;width:34px;height:34px;display:flex;align-items:center;justify-content:center;font-size:1.3em;font-weight:700;cursor:pointer;transition:background .2s;box-shadow:0 2px 8px #3c3c3c14;z-index:2;padding:0}.chat-send-btn:disabled{background:#b2dfdb;color:#fff;cursor:not-allowed}.chat-back-btn{margin:18px 0 0 18px;background:none;color:#333;border:none;border-radius:100px;padding:0;font-size:1.2em;font-weight:700;cursor:pointer;transition:color .15s;outline:none;display:inline-block;text-decoration:none;width:fit-content}.chat-back-btn:hover,.chat-back-btn:focus{color:#1ea896;background:none;text-decoration:none}@media screen and (max-width: 950px){.chat-page-area{width:100%;min-height:60vh;max-width:100vw;padding:0}.chat-messages{padding:12px 4px 4px}.chat-input-row{padding:8px}.chat-input{font-size:1em;padding:10px 50px 10px 10px}.chat-send-btn{right:20px;bottom:9px;font-size:1.1em}.chat-bubble{font-size:1em;padding:10px 12px}.chat-page-area:after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:10px;background:#fafafa;border-radius:0 0 8px 8px;z-index:1}.chat-back-btn{margin:10px 0 0 15px;font-size:1em;padding:0;text-decoration:none}}.content{width:55%}@media screen and (max-width: 950px){.content{width:100%}}.ad{width:25%}@media screen and (max-width: 950px){.ad{width:100%}}.page-body{display:flex;justify-content:center}.area{background:#fff;border-radius:8px;margin:10px;padding:20px}@media screen and (max-width: 950px){.page-body{display:block}.area{margin:5px auto;padding:10px 0}}button{background:#333;color:#fff;border-radius:100px;width:130px;line-height:45px;text-align:center;font-weight:700;font-size:1rem;border:none;letter-spacing:.05em;margin:10px}button:hover{background:#4234fa;cursor:pointer}.error-message{color:red}input[type=text]{height:38px;padding:.5em;font-size:1em;border-radius:5px;box-sizing:border-box}@media screen and (max-width: 950px){button{margin:5px}.error-message{font-size:.7em}}
