/* オンクレ計算機（/guide/keisan.html の <!--keisan-->・lib/keisan.mjs・2026-11-10）。このページだけ読む（crane.css の版を上げないため）
   SP最優先: 入力は大きく（文字16px以上＝iPhoneで拡大されない・高さ52px）、結果の数字は大きく。色は crane.css の変数 */
.kc { border: 3px solid var(--or); border-radius: 8px; background: #fff; margin: 0 0 24px; overflow: hidden; scroll-margin-top: 96px; }
.kc > .band { margin: 0; border-radius: 0; }
.kc__in { padding: 12px; }
.kc__f { display: block; margin: 0 0 10px; min-width: 0; }
.kc__l { display: block; font-size: 14px; font-weight: 700; color: #333; line-height: 1.4; margin: 0 0 4px; }
.kc select, .kc input { font: inherit; font-size: 18px; font-weight: 700; color: #222; }
.kc select { width: 100%; height: 52px; padding: 0 40px 0 12px; border: 2px solid var(--bl); border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231068b8' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 14px center; -webkit-appearance: none; appearance: none; }
.kc__inp { display: flex; align-items: center; height: 52px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 0 12px 0 0; }
.kc__inp:focus-within, .kc select:focus { outline: 3px solid var(--or); outline-offset: 1px; }
.kc__inp input { flex: 1 1 auto; min-width: 0; width: 100%; height: 100%; border: 0; background: transparent; padding: 0 6px 0 12px; text-align: right; font-size: 22px; outline: none; }
.kc__inp i { font-style: normal; font-weight: 700; font-size: 15px; color: #555; flex-shrink: 0; }
.kc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.kc__row1 { display: block; }
.kc__tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin: 4px 0 12px; }
.kc__tabs button, .kc__seg button { font: inherit; font-weight: 700; font-size: 14px; line-height: 1.3; min-height: 48px; padding: 4px 6px; border: 2px solid var(--bl); border-radius: 8px; background: #fff; color: var(--bl); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.kc__tabs button[aria-selected="true"], .kc__seg button[aria-checked="true"] { background: var(--bl); color: #fff; }
.kc__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.kc__seg button { min-height: 52px; font-size: 15px; }
.kc__hint { margin: -2px 0 10px; font-size: 13px; color: var(--mute); line-height: 1.6; }
.kc__res { background: var(--or-bg); border-radius: 8px; padding: 12px; margin: 0 0 10px; }
.kc__big { margin: 0; text-align: center; line-height: 1.3; }
.kc__big small { display: block; font-size: 14px; font-weight: 700; color: #555; margin-bottom: 4px; }
.kc__big b { display: block; font-size: 28px; font-weight: 900; color: var(--or-num, #B34D00); letter-spacing: .01em; overflow-wrap: anywhere; }
.kc__lines { list-style: none; margin: 10px 0 0; padding: 8px 0 0; border-top: 1px dashed var(--or3); font-size: 14px; line-height: 1.7; color: #444; }
.kc__lines li { margin: 0; }
.kc__lines b { color: #222; }
.kc__src { margin: 0 0 6px; font-size: 12.5px; color: var(--mute); line-height: 1.6; }
.kc__ct { margin: 14px 0 -10px; font-weight: 700; font-size: 15px; color: #333; text-align: center; }
.kc__nojs { margin: 0 12px 12px; font-size: 14px; }
.kc [hidden] { display: none !important; }
/* 早見表・1回の値段の表: アプリ名の下に台の値段を小さく */
.body .kc-wrap table td small { display: block; font-size: 12px; color: var(--mute); line-height: 1.4; }
.body .kc-wrap table td:not(:first-child), .body .kc-wrap table th:not(:first-child) { text-align: right; white-space: nowrap; }
.body .kc-wrap table td:last-child { white-space: normal; }
.body .kc-wrap table.mini:not(.stack) tr > :first-child { width: 46%; min-width: 0; }
.body ul.kc-def li b { margin-right: .5em; color: #333; }
@media (max-width: 400px) { .body .kc-wrap table { font-size: 13px; } .body .kc-wrap table th, .body .kc-wrap table td { padding: 7px 5px; } }
@media (min-width: 768px) { .kc__in { padding: 16px; } .kc__big b { font-size: 32px; } }
