.home .tool-hero{position:relative;padding-top:56px;padding-bottom:64px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}.home .tool-pill{height:38px;font-size:14px}.home .tool-pill .emo{font-size:16px}.home .tool-title{font-size:60px;max-width:900px}.home .tool-title:lang(ja),.home .tool-h2:lang(ja){word-break:auto-phrase}.home .tool-lead{margin:0;font-size:19px;line-height:1.5;color:var(--text);max-width:660px}.home .tool-card{width:100%;max-width:720px;margin-top:12px;padding:24px;text-align:left}.home .tool-state{display:none}.home .tool-card[data-state=idle] [data-show=idle],.home .tool-card[data-state=loading] [data-show=loading],.home .tool-card[data-state=result] [data-show=result],.home .tool-card[data-state=empty] [data-show=empty],.home .tool-card[data-state=error] [data-show=error],.home .tool-card[data-state=limit] [data-show=limit]{display:block}.home .tool-drop{display:flex;flex-direction:column;align-items:center;gap:14px;padding:44px 20px;border:2px dashed rgba(255,106,61,.35);border-radius:22px;background:#fff8f3;cursor:pointer;text-align:center;transition:border-color .2s,background .2s}.home .tool-drop:hover,.home .tool-drop.drag{border-color:#ff6a3d;background:#fff1e8}.home .tool-emo{font-size:52px}.home .tool-drop-title{font-weight:800;font-size:20px;max-width:420px}.home .tool-btn{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 30px;border:0;border-radius:999px;background:var(--grad);color:#fff;font:inherit;font-weight:800;font-size:17px;box-shadow:0 14px 30px #ff4d6d4d;cursor:pointer;transition:transform .25s}.home .tool-btn:hover{transform:translateY(-2px)}.home .tool-hint{font-size:13px;font-weight:600;color:var(--muted)}.home .tool-preview{position:relative;overflow:hidden;width:100%;max-width:440px;aspect-ratio:1 / 1;margin:0 auto;border-radius:20px;background:#f4ece6}.home .tool-preview img{width:100%;height:100%;object-fit:cover}.home .tool-scan{position:absolute;left:0;right:0;top:0;height:30%;background:linear-gradient(180deg,#ff7a3d00,#ff7a3d61,#ff7a3d00);animation:tool-scan 1.6s ease-in-out infinite alternate}@keyframes tool-scan{to{top:70%}}.home .tool-status{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px 0 4px;font-weight:800;font-size:17px}.home .tool-result{display:grid;grid-template-columns:180px 1fr;gap:22px;align-items:center}.home .tool-thumb{width:180px;height:180px;object-fit:cover;border-radius:20px}.home .tool-res-label{margin:0 0 6px;font-size:14px;font-weight:700;color:var(--muted)}.home .tool-kcal{font-size:56px;margin:0 0 14px}.home .tool-kcal small{font-size:22px;color:var(--ink)}.home .tool-macros{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.home .tool-macros div{display:flex;flex-direction:column;gap:4px;padding:12px 10px;border-radius:16px;background:#fff5ee;text-align:center}.home .tool-macros b{font-size:19px}.home .tool-macros span{font-size:13px;color:var(--muted);font-weight:600}.home .tool-dishes{list-style:none;margin:20px 0 0;padding:0}.home .tool-dishes li{display:grid;grid-template-columns:1fr auto;gap:2px 14px;padding:12px 2px;border-top:1px solid rgba(23,23,28,.08)}.home .tool-dish-name{font-weight:800;font-size:16px}.home .tool-dish-name small{font-weight:600;color:var(--muted);font-size:14px}.home .tool-dish-kcal{font-weight:800;font-size:16px;white-space:nowrap}.home .tool-dish-macros{grid-column:1 / -1;font-size:13px;color:var(--muted);font-weight:600}.home .tool-left{margin:14px 0 0;font-size:14px;font-weight:600;color:var(--muted);text-align:center}.home .tool-actions{display:flex;justify-content:center;margin-top:14px}.home .tool-cta{margin-top:22px;padding:22px;border-radius:22px;background:linear-gradient(160deg,#eadfff,#ffe0e8,#ffe3d3);text-align:center}.home .tool-cta p{margin:0 auto 16px;max-width:520px;font-size:15px;line-height:1.5;color:var(--text);font-weight:600}.home .tool-cta .badges,.home .tool-msg .badges{justify-content:center}.home .tool-card .tool-msg{padding:24px 8px 12px;text-align:center}.home .tool-msg .tool-emo{margin-bottom:12px}.home .tool-msg-title{font-size:28px;margin-bottom:10px}.home .tool-msg p{margin:0 auto 18px;max-width:520px;font-size:16px;line-height:1.5;color:var(--text)}.home .tool-msg .tool-msg-title{color:var(--ink)}.home .tool-msg .tool-left{margin-top:-6px}.home .tool-sec{padding-top:72px}.home .tool-h2{font-size:44px;text-align:center;margin-bottom:36px}.home .tool-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.home .tool-step{position:relative;padding:30px 28px}.home .tool-step-n{position:absolute;top:22px;right:24px;font-family:Nunito,system-ui,sans-serif;font-weight:900;font-size:40px;line-height:1;color:#ff6a3d29}.home .tool-step-emo{font-size:40px;margin-bottom:18px}.home .tool-step h3{font-size:22px;margin-bottom:10px}.home .tool-step p{margin:0;color:var(--text);line-height:1.55}.home .tool-text{max-width:900px;display:flex;flex-direction:column;gap:56px}.home .tool-text .tool-h2{margin-bottom:20px}.home .tool-text p{margin:0 0 14px;font-size:17px;line-height:1.65;color:var(--text)}.home.tool-page .download{margin-top:8px}.home .related{padding-top:24px;padding-bottom:72px}.home .related-links{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}.home .related-link{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 22px;border-radius:22px;font-weight:800;font-size:16px;line-height:1.35;text-decoration:none}.home .related-arrow{color:#ff6a3d;font-size:20px;flex:none}@media (max-width: 980px){.home .tool-hero{padding-top:32px;padding-bottom:40px;gap:16px}.home .tool-title{font-size:38px}.home .tool-lead{font-size:16.5px}.home .tool-card{padding:16px}.home .tool-drop{padding:32px 16px}.home .tool-drop-title{font-size:18px}.home .tool-result{grid-template-columns:1fr;gap:16px}.home .tool-thumb{width:100%;max-width:440px;height:auto;aspect-ratio:1 / 1;justify-self:center}.home .tool-kcal{font-size:46px}.home .tool-sec{padding-top:48px}.home .tool-h2{font-size:30px;margin-bottom:24px}.home .tool-steps{grid-template-columns:1fr;gap:14px}.home .tool-step{padding:24px 22px}.home .tool-text{gap:36px}.home .tool-text p{font-size:16px}}@media (prefers-reduced-motion: reduce){.home .tool-scan{animation:none;top:35%}}
