{"id":60755,"date":"2026-01-21T22:08:05","date_gmt":"2026-01-21T13:08:05","guid":{"rendered":"https:\/\/dark-brain.com\/?p=60755"},"modified":"2026-01-21T22:08:09","modified_gmt":"2026-01-21T13:08:09","slug":"%e3%80%90%e3%83%96%e3%83%ab%e3%82%a2%e3%82%ab%e3%80%91%e7%89%b9%e6%ae%8a%e4%bd%9c%e6%88%a6%e3%81%ae%e3%83%81%e3%82%b1%e3%83%83%e3%83%88%e5%9b%9e%e5%be%a9%e6%99%82%e9%96%93%e6%97%a9%e8%a6%8b%e3%83%84","status":"publish","type":"post","link":"https:\/\/dark-brain.com\/?p=60755","title":{"rendered":"\u3010\u30d6\u30eb\u30a2\u30ab\u3011\u7279\u6b8a\u4f5c\u6226\u306e\u30c1\u30b1\u30c3\u30c8\u56de\u5fa9\u6642\u9593\u65e9\u898b\u30c4\u30fc\u30eb"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>\u4eca\u306e\u30c1\u30b1\u30c3\u30c8\u6240\u6301\u6570\u3068\u6b21\u56de\u56de\u5fa9\u307e\u3067\u306e\u6642\u9593\u3092\u5165\u529b\u3059\u308b\u3068\u3001\u3044\u3064\u4f55\u679a\u306e\u30c1\u30b1\u30c3\u30c8\u304c\u8caf\u307e\u308b\u304b\u8868\u793a\u3057\u3066\u304f\u308c\u308b\u30c4\u30fc\u30eb\u3067\u3059<\/p>\n\n\n\n<div style=\"background-color: #f8f9fa; padding: 20px; border-radius: 8px; border: 1px solid #dee2e6; max-width: 400px; margin: auto; font-family: sans-serif;\">\n    <h3 style=\"margin-top: 0; text-align: center; font-size: 1.1em;\">\u7279\u6b8a\u4f5c\u6226\u30c1\u30b1\u30c3\u30c8\u56de\u5fa9\u4e88\u6e2c<\/h3>\n    \n    <div style=\"margin-bottom: 15px;\">\n        <label style=\"display: block; margin-bottom: 5px; font-size: 0.9em;\">\u73fe\u5728\u306e\u6240\u6301\u679a\u6570 (0-39):<\/label>\n        <input type=\"number\" id=\"currentTickets\" min=\"0\" max=\"39\" value=\"0\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px;\">\n    <\/div>\n    \n    <div style=\"margin-bottom: 15px;\">\n        <label style=\"display: block; margin-bottom: 5px; font-size: 0.9em;\">\u6b21\u306e1\u679a\u304c\u56de\u5fa9\u3059\u308b\u307e\u3067\u306e\u6b8b\u308a\u6642\u9593 (\u5206):<\/label>\n        <input type=\"number\" id=\"minutesRemaining\" min=\"1\" max=\"30\" value=\"30\" style=\"width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 4px;\">\n    <\/div>\n    \n    <button onclick=\"calculateTickets()\" style=\"width: 100%; padding: 10px; background-color: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; font-weight: bold;\">\u56de\u5fa9\u6642\u9593\u3092\u8a08\u7b97\u3059\u308b<\/button>\n\n    <div id=\"resultArea\" style=\"margin-top: 20px;\">\n        <table style=\"width: 100%; border-collapse: collapse; background: white;\">\n            <thead>\n                <tr style=\"background: #e9ecef;\">\n                    <th style=\"border: 1px solid #dee2e6; padding: 8px;\">\u4fdd\u6709\u30c1\u30b1\u30c3\u30c8(\u679a)<\/th>\n                    <th style=\"border: 1px solid #dee2e6; padding: 8px;\">\u5b8c\u4e86\u4e88\u5b9a\u6642\u523b<\/th>\n                <\/tr>\n            <\/thead>\n            <tbody id=\"ticketTableBody\">\n                <\/tbody>\n        <\/table>\n    <\/div>\n<\/div>\n\n<script>\nfunction calculateTickets() {\n    const current = parseInt(document.getElementById('currentTickets').value);\n    const remaining = parseInt(document.getElementById('minutesRemaining').value);\n    const tableBody = document.getElementById('ticketTableBody');\n    const maxTickets = 40;\n    \n    if (isNaN(current) || isNaN(remaining) || current >= maxTickets) {\n        alert(\"0\u301c39\u306e\u6570\u5024\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\");\n        return;\n    }\n\n    tableBody.innerHTML = '';\n    const now = new Date();\n    \n    \/\/ 10\u679a\u3054\u3068\u306e\u7bc0\u76ee\uff0810, 20, 30, 40\uff09\u3092\u30eb\u30fc\u30d7\n    [10, 20, 30, 40].forEach(target => {\n        if (target > current) {\n            \/\/ \u76ee\u6a19\u679a\u6570\u306b\u9054\u3059\u308b\u307e\u3067\u306e\u6b8b\u308a\u679a\u6570\n            const diff = target - current;\n            \/\/ \u6700\u521d\u306e1\u679a\u306f 'remaining' \u5206\u3001\u305d\u308c\u4ee5\u964d\u306f 30\u5206\u305a\u3064\n            const totalMinutes = remaining + (diff - 1) * 30;\n            \n            const recoveryTime = new Date(now.getTime() + totalMinutes * 60000);\n            \n            let row = tableBody.insertRow();\n            let cell1 = row.insertCell(0);\n            let cell2 = row.insertCell(1);\n            \n            \/\/ \u679a\u6570\u306e\u8868\u793a\uff08\u8d64\u592a\u5b57\uff09\n            cell1.innerHTML = `<strong><span style=\"color: red;\">${target} \u679a<\/span><\/strong>`;\n            cell1.style.border = \"1px solid #dee2e6\";\n            cell1.style.padding = \"10px\";\n            cell1.style.textAlign = \"center\";\n\n            \/\/ \u6642\u523b\u306e\u8868\u793a\n            let timeStr = recoveryTime.getHours().toString().padStart(2, '0') + \":\" + \n                          recoveryTime.getMinutes().toString().padStart(2, '0');\n            \n            \/\/ \u7fcc\u65e5\u306b\u306a\u308b\u5834\u5408\u306f\u65e5\u4ed8\u3082\u8efd\u304f\u88dc\u8db3\n            if (recoveryTime.getDate() !== now.getDate()) {\n                timeStr = `<span style=\"font-size: 0.8em; color: #666;\">\u7fcc <\/span>` + timeStr;\n            }\n\n            cell2.innerHTML = timeStr;\n            cell2.style.border = \"1px solid #dee2e6\";\n            cell2.style.padding = \"10px\";\n            cell2.style.textAlign = \"center\";\n        }\n    });\n\n    if (tableBody.innerHTML === '') {\n        tableBody.innerHTML = '<tr><td colspan=\"2\" style=\"padding:10px; text-align:center;\">\u65e2\u306b\u5168\u3066\u306e\u76ee\u6a19\u679a\u6570\u306b\u9054\u3057\u3066\u3044\u307e\u3059\u3002<\/td><\/tr>';\n    }\n}\n<\/script>\n\n\n\n<p>\u300c\u6b21\u306e1\u679a\u304c\u56de\u5fa9\u3059\u308b\u307e\u3067\u306e\u6b8b\u308a\u6642\u9593\u300d\u306f\u3001\u753b\u9762\u53f3\u4e0a\u306e\u4fdd\u6709\u30c1\u30b1\u30c3\u30c8\u306e\u3042\u305f\u308a\u3092\u30bf\u30c3\u30d7\u3059\u308b\u3068\u8868\u793a\u3055\u308c\u308b\u3002\u4e0b\u306e\u753b\u50cf\u306e\u5834\u5408\u306f13\u5206\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"566\" src=\"https:\/\/dark-brain.com\/wp-content\/uploads\/2026\/01\/20260121_125716920_iOS-1024x566.jpg\" alt=\"\" class=\"wp-image-60760\" srcset=\"https:\/\/dark-brain.com\/wp-content\/uploads\/2026\/01\/20260121_125716920_iOS-1024x566.jpg 1024w, https:\/\/dark-brain.com\/wp-content\/uploads\/2026\/01\/20260121_125716920_iOS-300x166.jpg 300w, https:\/\/dark-brain.com\/wp-content\/uploads\/2026\/01\/20260121_125716920_iOS-768x424.jpg 768w, https:\/\/dark-brain.com\/wp-content\/uploads\/2026\/01\/20260121_125716920_iOS.jpg 1048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u306e\u30c1\u30b1\u30c3\u30c8\u6240\u6301\u6570\u3068\u6b21\u56de\u56de\u5fa9\u307e\u3067\u306e\u6642\u9593\u3092 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":60758,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[221],"tags":[],"class_list":["post-60755","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-221"],"_links":{"self":[{"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/posts\/60755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dark-brain.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=60755"}],"version-history":[{"count":5,"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/posts\/60755\/revisions"}],"predecessor-version":[{"id":60762,"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/posts\/60755\/revisions\/60762"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dark-brain.com\/index.php?rest_route=\/wp\/v2\/media\/60758"}],"wp:attachment":[{"href":"https:\/\/dark-brain.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=60755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dark-brain.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=60755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dark-brain.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=60755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}